@rob.hameetman/eslint-plugin 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index-ClKXlAE4.js +6 -0
- package/bin/index-DBMWwcMn.js +1 -0
- package/bin/index-Dyjs5-vL.js +1 -0
- package/bin/index-LWhf1svj.js +202 -0
- package/bin/index.js +1 -0
- package/index.cjs +1 -5
- package/index.js +1 -1
- package/package.json +1 -1
- package/bin/plugin.min.js +0 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import{c as e,g as t}from"./index-ClKXlAE4.js";import n from"crypto";import r from"fs";import s from"module";import i from"path";import o from"perf_hooks";import a from"os";import l from"vm";import p from"url";import c from"assert";import u from"process";import d from"v8";import h from"util";import f from"tty";function m(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var y,b={exports:{}};function g(){return y||(y=1,e=b,(()=>{var t={"./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js":(e,t,n)=>{const r=n("module"),s=n("path"),i=n("fs");e.exports=function(e){return e||(e=process.cwd()),function(e){try{return i.lstatSync(e).isDirectory()}catch(e){return!1}}(e)&&(e=s.join(e,"index.js")),r.createRequire?r.createRequire(e):r.createRequireFromPath?r.createRequireFromPath(e):function(e){const t=new r.Module(e,null);return t.filename=e,t.paths=r.Module._nodeModulePaths(s.dirname(e)),t._compile("module.exports = require;",e),t.exports}(e)}},"./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive":e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id="./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive",e.exports=t},"./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js":(e,t,n)=>{var r=n("crypto");function s(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?r.createHash(t.algorithm):new c).write&&(n.write=n.update,n.end=n.update),p(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var s=n.read();return"buffer"===t.encoding?s:s.toString(t.encoding)}(e,t=a(e,t))}(t=e.exports=s).sha1=function(e){return s(e)},t.keys=function(e){return s(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},t.MD5=function(e){return s(e,{algorithm:"md5",encoding:"hex"})},t.keysMD5=function(e){return s(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var i=r.getHashes?r.getHashes().slice():["sha1","md5"];i.push("passthrough");var o=["buffer","hex","binary","base64"];function a(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var r=0;r<i.length;++r)i[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=i[r]);if(-1===i.indexOf(n.algorithm))throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+i.join(", "));if(-1===o.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+o.join(", "));return n}function l(e){return"function"==typeof e&&null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function p(e,t,n){n=n||[];var r=function(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")};return{dispatch:function(t){e.replacer&&(t=e.replacer(t));var n=typeof t;return null===t&&(n="null"),this["_"+n](t)},_object:function(t){var s,i=Object.prototype.toString.call(t),o=/\[object (.*)\]/i.exec(i);if(o=(o=o?o[1]:"unknown:["+i+"]").toLowerCase(),(s=n.indexOf(t))>=0)return this.dispatch("[CIRCULAR:"+s+"]");if(n.push(t),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return r("buffer:"),r(t);if("object"===o||"function"===o||"asyncfunction"===o){var a=Object.keys(t);e.unorderedObjects&&(a=a.sort()),!1===e.respectType||l(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter((function(t){return!e.excludeKeys(t)}))),r("object:"+a.length+":");var p=this;return a.forEach((function(n){p.dispatch(n),r(":"),e.excludeValues||p.dispatch(t[n]),r(",")}))}if(!this["_"+o]){if(e.ignoreUnknown)return r("["+o+"]");throw new Error('Unknown object type "'+o+'"')}this["_"+o](t)},_array:function(t,s){s=void 0!==s?s:!1!==e.unorderedArrays;var i=this;if(r("array:"+t.length+":"),!s||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var o=[],a=t.map((function(t){var r=new c,s=n.slice();return p(e,r,s).dispatch(t),o=o.concat(s.slice(n.length)),r.read().toString()}));return n=n.concat(o),a.sort(),this._array(a,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),l(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){r("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){r("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function c(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}t.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),p(t=a(e,t),n).dispatch(e)}},"./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js":(e,t,n)=>{e=n.nmd(e),Object.defineProperty(t,"__esModule",{value:!0}),t.addHook=function(e,t={}){let n=!1;const r=[],i=[];let p;const c=a._extensions[".js"],u=t.matcher||null,d=!1!==t.ignoreNodeModules;return p=t.extensions||t.exts||t.extension||t.ext||[".js"],Array.isArray(p)||(p=[p]),p.forEach((t=>{if("string"!=typeof t)throw new TypeError(`Invalid Extension: ${t}`);const h=a._extensions[t]||c;i[t]=a._extensions[t],r[t]=a._extensions[t]=function(t,r){let i;n||function(e,t,n,r){if("string"!=typeof e)return!1;if(-1===t.indexOf(s.default.extname(e)))return!1;const i=s.default.resolve(e);return!(r&&o.test(i)||n&&"function"==typeof n&&!n(i))}(r,p,u,d)&&(i=t._compile,t._compile=function(n){t._compile=i;const s=e(n,r);if("string"!=typeof s)throw new Error(l);return t._compile(s,r)}),h(t,r)}})),function(){n||(n=!0,p.forEach((e=>{a._extensions[e]===r[e]&&(i[e]?a._extensions[e]=i[e]:delete a._extensions[e])})))}};var r=i(n("module")),s=i(n("path"));function i(e){return e&&e.__esModule?e:{default:e}}const o=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,a=e.constructor.length>1?e.constructor:r.default,l="[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!\n--------------------\nIf you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this."},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js":(e,t,n)=>{const r=Symbol("SemVer ANY");class s{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),p("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(p("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=s;const i=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),{safeRe:o,t:a}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"),p=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),c=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),u=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js":(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!y(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&m))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,i=r?p[c.HYPHENRANGELOOSE]:p[c.HYPHENRANGE];e=e.replace(i,D(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(p[c.COMPARATORTRIM],u),a("comparator trim",e),e=e.replace(p[c.TILDETRIM],d),a("tilde trim",e),e=e.replace(p[c.CARETTRIM],h),a("caret trim",e);let l=e.split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options)));r&&(l=l.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(p[c.COMPARATORLOOSE]))))),a("range list",l);const b=new Map,g=l.map((e=>new o(e,this.options)));for(const e of g){if(y(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return s.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>g(n,t)&&e.set.some((e=>g(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const s=new(n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js")),i=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),a=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),{safeRe:p,t:c,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:h}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:m}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let s=r.pop();for(;n&&r.length;)n=r.every((e=>s.intersects(e,t))),s=r.pop();return n},E=(e,t)=>(a("comp",e,t),e=S(e,t),a("caret",e),e=x(e,t),a("tildes",e),e=_(e,t),a("xrange",e),e=w(e,t),a("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>T(e,t))).join(" "),T=(e,t)=>{const n=t.loose?p[c.TILDELOOSE]:p[c.TILDE];return e.replace(n,((t,n,r,s,i)=>{let o;return a("tilde",e,t,n,r,s,i),v(n)?o="":v(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:v(s)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(a("replaceTilde pr",i),o=`>=${n}.${r}.${s}-${i} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${s} <${n}.${+r+1}.0-0`,a("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>P(e,t))).join(" "),P=(e,t)=>{a("caret",e,t);const n=t.loose?p[c.CARETLOOSE]:p[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,s,i,o)=>{let l;return a("caret",e,t,n,s,i,o),v(n)?l="":v(s)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(i)?l="0"===n?`>=${n}.${s}.0${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${r} <${+n+1}.0.0-0`:o?(a("replaceCaret pr",o),l="0"===n?"0"===s?`>=${n}.${s}.${i}-${o} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}-${o} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i}-${o} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===s?`>=${n}.${s}.${i}${r} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i} <${+n+1}.0.0-0`),a("caret return",l),l}))},_=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>A(e,t))).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?p[c.XRANGELOOSE]:p[c.XRANGE];return e.replace(n,((n,r,s,i,o,l)=>{a("xRange",e,n,r,s,i,o,l);const p=v(s),c=p||v(i),u=c||v(o),d=u;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",p?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(i=0),o=0,">"===r?(r=">=",c?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===r&&(r="<",c?s=+s+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+s}.${i}.${o}${l}`):c?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:u&&(n=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`),a("xRange return",n),n}))},w=(e,t)=>(a("replaceStars",e,t),e.trim().replace(p[c.STAR],"")),C=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(p[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),D=e=>(t,n,r,s,i,o,a,l,p,c,u,d)=>`${n=v(r)?"":v(s)?`>=${r}.0.0${e?"-0":""}`:v(i)?`>=${r}.${s}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=v(p)?"":v(c)?`<${+p+1}.0.0-0`:v(u)?`<${p}.${+c+1}.0-0`:d?`<=${p}.${c}.${u}-${d}`:e?`<${p}.${c}.${+u+1}-0`:`<=${l}`}`.trim(),I=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==o.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),{safeRe:o,t:a}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:p}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js");class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return p(n,s)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],s=e.build[t];if(r("build compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return p(n,s)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===p(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"),i=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"),a=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js");e.exports=(e,t,n,p)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,p);case"!=":return s(e,n,p);case">":return i(e,n,p);case">=":return o(e,n,p);case"<":return a(e,n,p);case"<=":return l(e,n,p);default:throw new TypeError(`Invalid operator: ${t}`)}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"),{safeRe:i,t:o}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js");e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let s;for(;(s=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&s.index+s[0].length===n.index+n[0].length||(n=s),r.lastIndex=s.index+s[1].length+s[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE]);if(null===n)return null;const a=n[2],l=n[3]||"0",p=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",u=t.includePrerelease&&n[6]?`+${n[6]}`:"";return s(`${a}.${l}.${p}${c}${u}`,t)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t,n)=>{const s=new r(e,n),i=new r(t,n);return s.compare(i)||s.compareBuild(i)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t)=>r(e,t,!0)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");e.exports=(e,t)=>{const n=r(e,null,!0),s=r(t,null,!0),i=n.compare(s);if(0===i)return null;const o=i>0,a=o?n:s,l=o?s:n,p=!!a.prerelease.length;if(l.prerelease.length&&!p)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";const c=p?"pre":"";return n.major!==s.major?c+"major":n.minor!==s.minor?c+"minor":n.patch!==s.patch?c+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>0===r(e,t,n)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>r(e,t,n)>0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>r(e,t,n)>=0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t,n,s,i)=>{"string"==typeof n&&(i=s,s=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,s,i).version}catch(e){return null}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>r(e,t,n)<0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>r(e,t,n)<=0},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t)=>new r(e,t).major},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t)=>new r(e,t).minor},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>0!==r(e,t,n)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js");e.exports=(e,t)=>new r(e,t).patch},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>r(t,e,n)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),i=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"),a=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"),p=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"),c=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"),u=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"),d=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"),h=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"),f=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"),m=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"),y=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"),b=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"),g=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"),E=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"),v=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"),x=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"),T=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),S=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),P=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"),_=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"),A=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"),w=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"),C=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"),D=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"),I=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),O=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),N=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),j=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"),k=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"),L=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"),F=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"),R=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"),M=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"),B=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"),U=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"),$=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"),V=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"),W=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js");e.exports={parse:a,valid:l,clean:p,inc:c,diff:u,major:d,minor:h,patch:f,prerelease:m,compare:y,rcompare:b,compareLoose:g,compareBuild:E,sort:v,rsort:x,gt:T,lt:S,eq:P,neq:_,gte:A,lte:w,cmp:C,coerce:D,Comparator:I,Range:O,satisfies:N,toComparators:j,maxSatisfying:k,minSatisfying:L,minVersion:F,validRange:R,outside:M,gtr:B,ltr:U,intersects:$,simplifyRange:V,subset:W,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js":e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js":e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js":e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),s=t.test(n);return r&&s&&(e=+e,n=+n),e===n?0:r&&!s?-1:s&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js":e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js":e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js":(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"),o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"),a=(t=e.exports={}).re=[],l=t.safeRe=[],p=t.src=[],c=t.t={};let u=0;const d=[["\\s",1],["\\d",i],["[a-zA-Z0-9-]",s]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of d)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),s=u++;o(e,s,t),c[e]=s,p[s]=t,a[s]=new RegExp(t,n?"g":void 0),l[s]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),h("MAINVERSION",`(${p[c.NUMERICIDENTIFIER]})\\.(${p[c.NUMERICIDENTIFIER]})\\.(${p[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${p[c.NUMERICIDENTIFIERLOOSE]})\\.(${p[c.NUMERICIDENTIFIERLOOSE]})\\.(${p[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${p[c.NUMERICIDENTIFIER]}|${p[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${p[c.NUMERICIDENTIFIERLOOSE]}|${p[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${p[c.PRERELEASEIDENTIFIER]}(?:\\.${p[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${p[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),h("BUILD",`(?:\\+(${p[c.BUILDIDENTIFIER]}(?:\\.${p[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${p[c.MAINVERSION]}${p[c.PRERELEASE]}?${p[c.BUILD]}?`),h("FULL",`^${p[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${p[c.MAINVERSIONLOOSE]}${p[c.PRERELEASELOOSE]}?${p[c.BUILD]}?`),h("LOOSE",`^${p[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${p[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${p[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${p[c.XRANGEIDENTIFIER]})(?:\\.(${p[c.XRANGEIDENTIFIER]})(?:\\.(${p[c.XRANGEIDENTIFIER]})(?:${p[c.PRERELEASE]})?${p[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${p[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[c.XRANGEIDENTIFIERLOOSE]})(?:${p[c.PRERELEASELOOSE]})?${p[c.BUILD]}?)?)?`),h("XRANGE",`^${p[c.GTLT]}\\s*${p[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${p[c.GTLT]}\\s*${p[c.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${p[c.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",p[c.COERCEPLAIN]+`(?:${p[c.PRERELEASE]})?`+`(?:${p[c.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",p[c.COERCE],!0),h("COERCERTLFULL",p[c.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${p[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${p[c.LONETILDE]}${p[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${p[c.LONETILDE]}${p[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${p[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${p[c.LONECARET]}${p[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${p[c.LONECARET]}${p[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${p[c.GTLT]}\\s*(${p[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${p[c.GTLT]}\\s*(${p[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${p[c.GTLT]}\\s*(${p[c.LOOSEPLAIN]}|${p[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${p[c.XRANGEPLAIN]})\\s+-\\s+(${p[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${p[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");e.exports=(e,t,n)=>r(e,t,">",n)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js");e.exports=(e,t,n)=>r(e,t,"<",n)},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),i=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js");e.exports=(e,t)=>{e=new s(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!i(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!i(n,o)||(n=o)}return n&&e.test(n)?n:null}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),{ANY:i}=s,o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),a=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),l=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"),p=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"),c=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"),u=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js");e.exports=(e,t,n,d)=>{let h,f,m,y,b;switch(e=new r(e,d),t=new o(t,d),n){case">":h=l,f=c,m=p,y=">",b=">=";break;case"<":h=p,f=u,m=l,y="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let o=null,a=null;if(r.forEach((e=>{e.semver===i&&(e=new s(">=0.0.0")),o=o||e,a=a||e,h(e.semver,o.semver,d)?o=e:m(e.semver,a.semver,d)&&(a=e)})),o.operator===y||o.operator===b)return!1;if((!a.operator||a.operator===y)&&f(e,a.semver))return!1;if(a.operator===b&&m(e,a.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js");e.exports=(e,t,n)=>{const i=[];let o=null,a=null;const l=e.sort(((e,t)=>s(e,t,n)));for(const e of l)r(e,t,n)?(a=e,o||(o=e)):(a&&i.push([o,a]),a=null,o=null);o&&i.push([o,null]);const p=[];for(const[e,t]of i)e===t?p.push(e):t||e!==l[0]?t?e===l[0]?p.push(`<=${t}`):p.push(`${e} - ${t}`):p.push(`>=${e}`):p.push("*");const c=p.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return c.length<u.length?c:t}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"),s=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"),{ANY:i}=s,o=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"),a=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"),l=[new s(">=0.0.0-0")],p=[new s(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:p}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=p}const r=new Set;let s,c,h,f,m,y,b;for(const t of e)">"===t.operator||">="===t.operator?s=u(s,t,n):"<"===t.operator||"<="===t.operator?c=d(c,t,n):r.add(t.semver);if(r.size>1)return null;if(s&&c){if(h=a(s.semver,c.semver,n),h>0)return null;if(0===h&&(">="!==s.operator||"<="!==c.operator))return null}for(const e of r){if(s&&!o(e,String(s),n))return null;if(c&&!o(e,String(c),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let g=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,E=!(!s||n.includePrerelease||!s.semver.prerelease.length)&&s.semver;g&&1===g.prerelease.length&&"<"===c.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(b=b||">"===e.operator||">="===e.operator,y=y||"<"===e.operator||"<="===e.operator,s)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=u(s,e,n),f===e&&f!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(e),n))return!1;if(c)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(m=d(c,e,n),m===e&&m!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),n))return!1;if(!e.operator&&(c||s)&&0!==h)return!1}return!(s&&y&&!c&&0!==h||c&&b&&!s&&0!==h||E||g)},u=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},"./node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js":(e,t,n)=>{const r=n("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},crypto:e=>{e.exports=n},fs:e=>{e.exports=r},module:e=>{e.exports=s},path:e=>{e.exports=i}},f={};function m(e){var n=f[e];if(void 0!==n)return n.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return t[e](r,r.exports,m),r.loaded=!0,r.exports}m.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return m.d(t,{a:t}),t},m.d=(e,t)=>{for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var y={};(()=>{m.d(y,{default:()=>xr});var e=m("fs"),t=m("module");const n=o,f=a,b=l;var g=m.n(b);const E=p,v=/^[A-Za-z]:\//;function x(e=""){return e?e.replace(/\\/g,"/").replace(v,(e=>e.toUpperCase())):e}const T=/^[/\\]{2}/,S=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,P=/^[A-Za-z]:$/,_=function(...e){if(0===e.length)return".";let t;for(const n of e)n&&n.length>0&&(void 0===t?t=n:t+=`/${n}`);return void 0===t?".":function(e){if(0===e.length)return".";const t=(e=x(e)).match(T),n=A(e),r="/"===e[e.length-1];return 0===(e=function(e,t){let n="",r=0,s=-1,i=0,o=null;for(let a=0;a<=e.length;++a){if(a<e.length)o=e[a];else{if("/"===o)break;o="/"}if("/"===o){if(s===a-1||1===i);else if(2===i){if(n.length<2||2!==r||"."!==n[n.length-1]||"."!==n[n.length-2]){if(n.length>2){const e=n.lastIndexOf("/");-1===e?(n="",r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf("/")),s=a,i=0;continue}if(n.length>0){n="",r=0,s=a,i=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,i=0}else"."===o&&-1!==i?++i:i=-1}return n}(e,!n)).length?n?"/":r?"./":".":(r&&(e+="/"),P.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!A(e)?`/${e}`:e)}(t.replace(/\/\/+/g,"/"))},A=function(e){return S.test(e)},w=/.(\.[^./]+)$/,C=function(e){const t=w.exec(x(e));return t&&t[1]||""},D=function(e){const t=x(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&P.test(t[0])&&(t[0]+="/"),t.join("/")||(A(e)?"/":".")},I=function(e,t){return x(e).split("/").pop()},O=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,N=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,j=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function k(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t;!function(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}(e)}function L(e,t={}){if("string"!=typeof e)return e;const n=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const e=n.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!j.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(O.test(e)||N.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,k)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function F(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var R=m("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),M=m.n(R),B=m("./node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js");const U=new Set(["/","\\",void 0]),$=Symbol.for("pathe:normalizedAlias");function V(e){if(e[$])return e;const t=Object.fromEntries(Object.entries(e).sort((([e],[t])=>function(e,t){return t.split("/").length-e.split("/").length}(e,t))));for(const e in t)for(const n in t)n===e||e.startsWith(n)||t[e].startsWith(n)&&U.has(t[e][n.length])&&(t[e]=t[n]+t[e].slice(n.length));return Object.defineProperty(t,$,{value:!0,enumerable:!1}),t}function W(e="/"){const t=e[e.length-1];return"/"===t||"\\"===t}var K=m("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),G=m("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),q=m.n(G),H=[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],z=[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],Y="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",X={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"},J="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",Q={5:J,"5module":J+" export import",6:J+" const class extends export import super"},Z=/^in(stanceof)?$/,ee=new RegExp("["+Y+"]"),te=new RegExp("["+Y+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function ne(e,t){for(var n=65536,r=0;r<t.length;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}return!1}function re(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&ee.test(String.fromCharCode(e)):!1!==t&&ne(e,z)))}function se(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&te.test(String.fromCharCode(e)):!1!==t&&(ne(e,z)||ne(e,H)))))}var ie=function(e,t){void 0===t&&(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 oe(e,t){return new ie(e,{beforeExpr:!0,binop:t})}var ae={beforeExpr:!0},le={startsExpr:!0},pe={};function ce(e,t){return void 0===t&&(t={}),t.keyword=e,pe[e]=new ie(e,t)}var ue={num:new ie("num",le),regexp:new ie("regexp",le),string:new ie("string",le),name:new ie("name",le),privateId:new ie("privateId",le),eof:new ie("eof"),bracketL:new ie("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ie("]"),braceL:new ie("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ie("}"),parenL:new ie("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ie(")"),comma:new ie(",",ae),semi:new ie(";",ae),colon:new ie(":",ae),dot:new ie("."),question:new ie("?",ae),questionDot:new ie("?."),arrow:new ie("=>",ae),template:new ie("template"),invalidTemplate:new ie("invalidTemplate"),ellipsis:new ie("...",ae),backQuote:new ie("`",le),dollarBraceL:new ie("${",{beforeExpr:!0,startsExpr:!0}),eq:new ie("=",{beforeExpr:!0,isAssign:!0}),assign:new ie("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ie("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ie("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:oe("||",1),logicalAND:oe("&&",2),bitwiseOR:oe("|",3),bitwiseXOR:oe("^",4),bitwiseAND:oe("&",5),equality:oe("==/!=/===/!==",6),relational:oe("</>/<=/>=",7),bitShift:oe("<</>>/>>>",8),plusMin:new ie("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:oe("%",10),star:oe("*",10),slash:oe("/",10),starstar:new ie("**",{beforeExpr:!0}),coalesce:oe("??",1),_break:ce("break"),_case:ce("case",ae),_catch:ce("catch"),_continue:ce("continue"),_debugger:ce("debugger"),_default:ce("default",ae),_do:ce("do",{isLoop:!0,beforeExpr:!0}),_else:ce("else",ae),_finally:ce("finally"),_for:ce("for",{isLoop:!0}),_function:ce("function",le),_if:ce("if"),_return:ce("return",ae),_switch:ce("switch"),_throw:ce("throw",ae),_try:ce("try"),_var:ce("var"),_const:ce("const"),_while:ce("while",{isLoop:!0}),_with:ce("with"),_new:ce("new",{beforeExpr:!0,startsExpr:!0}),_this:ce("this",le),_super:ce("super",le),_class:ce("class",le),_extends:ce("extends",ae),_export:ce("export"),_import:ce("import",le),_null:ce("null",le),_true:ce("true",le),_false:ce("false",le),_in:ce("in",{beforeExpr:!0,binop:7}),_instanceof:ce("instanceof",{beforeExpr:!0,binop:7}),_typeof:ce("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:ce("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:ce("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},de=/\r\n?|\n|\u2028|\u2029/,he=new RegExp(de.source,"g");function fe(e){return 10===e||13===e||8232===e||8233===e}function me(e,t,n){void 0===n&&(n=e.length);for(var r=t;r<n;r++){var s=e.charCodeAt(r);if(fe(s))return r<n-1&&13===s&&10===e.charCodeAt(r+1)?r+2:r+1}return-1}var ye=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ge=Object.prototype,Ee=ge.hasOwnProperty,ve=ge.toString,xe=Object.hasOwn||function(e,t){return Ee.call(e,t)},Te=Array.isArray||function(e){return"[object Array]"===ve.call(e)},Se=Object.create(null);function Pe(e){return Se[e]||(Se[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function _e(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var Ae=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,we=function(e,t){this.line=e,this.column=t};we.prototype.offset=function(e){return new we(this.line,this.column+e)};var Ce=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function De(e,t){for(var n=1,r=0;;){var s=me(e,r,t);if(s<0)return new we(n,t-r);++n,r=s}}var Ie={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Oe=!1;function Ne(e,t){return 2|(e?4:0)|(t?8:0)}var je=function(e,t,n){this.options=e=function(e){var t={};for(var n in Ie)t[n]=e&&xe(e,n)?e[n]:Ie[n];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!Oe&&"object"==typeof console&&console.warn&&(Oe=!0,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):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),Te(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return Te(t.onComment)&&(t.onComment=function(e,t){return function(n,r,s,i,o,a){var l={type:n?"Block":"Line",value:r,start:s,end:i};e.locations&&(l.loc=new Ce(this,o,a)),e.ranges&&(l.range=[s,i]),t.push(l)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=Pe(Q[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var r="";!0!==e.allowReserved&&(r=X[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(r+=" await")),this.reservedWords=Pe(r);var s=(r?r+" ":"")+X.strict;this.reservedWordsStrict=Pe(s),this.reservedWordsStrictBind=Pe(s+" "+X.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(de).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=ue.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=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ke={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};je.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ke.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ke.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ke.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ke.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ke.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},ke.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ke.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ke.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},ke.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},je.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},je.parse=function(e,t){return new this(t,e).parse()},je.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},je.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(je.prototype,ke);var Le=je.prototype,Fe=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Le.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){be.lastIndex=e,e+=be.exec(this.input)[0].length;var t=Fe.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){be.lastIndex=e+t[0].length;var n=be.exec(this.input),r=n.index+n[0].length,s=this.input.charAt(r);return";"===s||"}"===s||de.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||"!"===s&&"="===this.input.charAt(r+1))}e+=t[0].length,be.lastIndex=e,e+=be.exec(this.input)[0].length,";"===this.input[e]&&e++}},Le.eat=function(e){return this.type===e&&(this.next(),!0)},Le.isContextual=function(e){return this.type===ue.name&&this.value===e&&!this.containsEsc},Le.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Le.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Le.canInsertSemicolon=function(){return this.type===ue.eof||this.type===ue.braceR||de.test(this.input.slice(this.lastTokEnd,this.start))},Le.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Le.semicolon=function(){this.eat(ue.semi)||this.insertSemicolon()||this.unexpected()},Le.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Le.expect=function(e){this.eat(e)||this.unexpected()},Le.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var Re=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Le.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?"Assigning to rvalue":"Parenthesized pattern")}},Le.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Le.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Le.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var Me=je.prototype;Me.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==ue.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,s=Object.keys(this.undefinedExports);r<s.length;r+=1){var i=s[r];this.raiseRecoverable(this.undefinedExports[i].start,"Export '"+i+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Be={kind:"loop"},Ue={kind:"switch"};Me.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;be.lastIndex=this.pos;var t=be.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(91===r||92===r)return!0;if(e)return!1;if(123===r||r>55295&&r<56320)return!0;if(re(r,!0)){for(var s=n+1;se(r=this.input.charCodeAt(s),!0);)++s;if(92===r||r>55295&&r<56320)return!0;var i=this.input.slice(n,s);if(!Z.test(i))return!0}return!1},Me.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;be.lastIndex=this.pos;var e,t=be.exec(this.input),n=this.pos+t[0].length;return!(de.test(this.input.slice(this.pos,n))||"function"!==this.input.slice(n,n+8)||n+8!==this.input.length&&(se(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},Me.parseStatement=function(e,t,n){var r,s=this.type,i=this.startNode();switch(this.isLet(e)&&(s=ue._var,r="let"),s){case ue._break:case ue._continue:return this.parseBreakContinueStatement(i,s.keyword);case ue._debugger:return this.parseDebuggerStatement(i);case ue._do:return this.parseDoStatement(i);case ue._for:return this.parseForStatement(i);case ue._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case ue._class:return e&&this.unexpected(),this.parseClass(i,!0);case ue._if:return this.parseIfStatement(i);case ue._return:return this.parseReturnStatement(i);case ue._switch:return this.parseSwitchStatement(i);case ue._throw:return this.parseThrowStatement(i);case ue._try:return this.parseTryStatement(i);case ue._const:case ue._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(i,r);case ue._while:return this.parseWhileStatement(i);case ue._with:return this.parseWithStatement(i);case ue.braceL:return this.parseBlock(!0,i);case ue.semi:return this.parseEmptyStatement(i);case ue._export:case ue._import:if(this.options.ecmaVersion>10&&s===ue._import){be.lastIndex=this.pos;var o=be.exec(this.input),a=this.pos+o[0].length,l=this.input.charCodeAt(a);if(40===l||46===l)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===ue._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var p=this.value,c=this.parseExpression();return s===ue.name&&"Identifier"===c.type&&this.eat(ue.colon)?this.parseLabeledStatement(i,p,c,e):this.parseExpressionStatement(i,c)}},Me.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(ue.semi)||this.insertSemicolon()?e.label=null:this.type!==ue.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var s=this.labels[r];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(n||"loop"===s.kind))break;if(e.label&&n)break}}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},Me.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Me.parseDoStatement=function(e){return this.next(),this.labels.push(Be),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(ue._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(ue.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Me.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Be),this.enterScope(0),this.expect(ue.parenL),this.type===ue.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===ue._var||this.type===ue._const||n){var r=this.startNode(),s=n?"let":this.value;return this.next(),this.parseVar(r,!0,s),this.finishNode(r,"VariableDeclaration"),(this.type===ue._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===ue._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var i=this.isContextual("let"),o=!1,a=new Re,l=this.parseExpression(!(t>-1)||"await",a);return this.type===ue._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===ue._in?t>-1&&this.unexpected(t):e.await=t>-1),i&&o&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,a),this.checkLValPattern(l),this.parseForIn(e,l)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,l))},Me.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,Ve|(n?0:We),!1,t)},Me.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(ue._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Me.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(ue.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Me.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(ue.braceL),this.labels.push(Ue),this.enterScope(0);for(var n=!1;this.type!==ue.braceR;)if(this.type===ue._case||this.type===ue._default){var r=this.type===ue._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(ue.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Me.parseThrowStatement=function(e){return this.next(),de.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var $e=[];Me.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(ue.parenR),e},Me.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===ue._catch){var t=this.startNode();this.next(),this.eat(ue.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(ue._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Me.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Me.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Be),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Me.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Me.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Me.parseLabeledStatement=function(e,t,n,r){for(var s=0,i=this.labels;s<i.length;s+=1)i[s].name===t&&this.raise(n.start,"Label '"+t+"' is already declared");for(var o=this.type.isLoop?"loop":this.type===ue._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var l=this.labels[a];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},Me.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Me.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(ue.braceL),e&&this.enterScope(0);this.type!==ue.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Me.parseFor=function(e,t){return e.init=t,this.expect(ue.semi),e.test=this.type===ue.semi?null:this.parseExpression(),this.expect(ue.semi),e.update=this.type===ue.parenR?null:this.parseExpression(),this.expect(ue.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Me.parseForIn=function(e,t){var n=this.type===ue._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(ue.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},Me.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var s=this.startNode();if(this.parseVarId(s,n),this.eat(ue.eq)?s.init=this.parseMaybeAssign(t):r||"const"!==n||this.type===ue._in||this.options.ecmaVersion>=6&&this.isContextual("of")?r||"Identifier"===s.id.type||t&&(this.type===ue._in||this.isContextual("of"))?s.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(ue.comma))break}return e},Me.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var Ve=1,We=2;function Ke(e,t){var n=t.key.name,r=e[n],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===s||"iset"===r&&"iget"===s||"sget"===r&&"sset"===s||"sset"===r&&"sget"===s?(e[n]="true",!1):!!r||(e[n]=s,!1)}function Ge(e,t){var n=e.computed,r=e.key;return!n&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}Me.parseFunction=function(e,t,n,r,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===ue.star&&t&We&&this.unexpected(),e.generator=this.eat(ue.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Ve&&(e.id=4&t&&this.type!==ue.name?null:this.parseIdent(),!e.id||t&We||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ne(e.async,e.generator)),t&Ve||(e.id=this.type===ue.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,s),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,t&Ve?"FunctionDeclaration":"FunctionExpression")},Me.parseFunctionParams=function(e){this.expect(ue.parenL),e.params=this.parseBindingList(ue.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Me.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),s=this.startNode(),i=!1;for(s.body=[],this.expect(ue.braceL);this.type!==ue.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(s.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind?(i&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),i=!0):o.key&&"PrivateIdentifier"===o.key.type&&Ke(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Me.parseClassElement=function(e){if(this.eat(ue.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",s=!1,i=!1,o="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(ue.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===ue.star?a=!0:r="static"}if(n.static=a,!r&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==ue.star||this.canInsertSemicolon()?r="async":i=!0),!r&&(t>=9||!i)&&this.eat(ue.star)&&(s=!0),!r&&!i&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=l:r=l)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===ue.parenL||"method"!==o||s||i){var p=!n.static&&Ge(n,"constructor"),c=p&&e;p&&"method"!==o&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=p?"constructor":o,this.parseClassMethod(n,s,i,c)}else this.parseClassField(n);return n},Me.isClassElementNameStart=function(){return this.type===ue.name||this.type===ue.privateId||this.type===ue.num||this.type===ue.string||this.type===ue.bracketL||this.type.keyword},Me.parseClassElementName=function(e){this.type===ue.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},Me.parseClassMethod=function(e,t,n,r){var s=e.key;"constructor"===e.kind?(t&&this.raise(s.start,"Constructor can't be a generator"),n&&this.raise(s.start,"Constructor can't be an async method")):e.static&&Ge(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var i=e.value=this.parseMethod(t,n,r);return"get"===e.kind&&0!==i.params.length&&this.raiseRecoverable(i.start,"getter should have no params"),"set"===e.kind&&1!==i.params.length&&this.raiseRecoverable(i.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===i.params[0].type&&this.raiseRecoverable(i.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},Me.parseClassField=function(e){if(Ge(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ge(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(ue.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},Me.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==ue.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},Me.parseClassId=function(e,t){this.type===ue.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},Me.parseClassSuper=function(e){e.superClass=this.eat(ue._extends)?this.parseExprSubscripts(null,!1):null},Me.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},Me.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,s=0===r?null:this.privateNameStack[r-1],i=0;i<n.length;++i){var o=n[i];xe(t,o.name)||(s?s.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}},Me.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==ue.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},Me.parseExport=function(e,t){if(this.next(),this.eat(ue.star))return this.parseExportAllDeclaration(e,t);if(this.eat(ue._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==ue.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var s=r[n];this.checkUnreserved(s.local),this.checkLocalExport(s.local),"Literal"===s.local.type&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Me.parseExportDeclaration=function(e){return this.parseStatement(null)},Me.parseExportDefaultDeclaration=function(){var e;if(this.type===ue._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|Ve,!1,e)}if(this.type===ue._class){var n=this.startNode();return this.parseClass(n,"nullableID")}var r=this.parseMaybeAssign();return this.semicolon(),r},Me.checkExport=function(e,t,n){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),xe(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},Me.checkPatternExport=function(e,t){var n=t.type;if("Identifier"===n)this.checkExport(e,t,t.start);else if("ObjectPattern"===n)for(var r=0,s=t.properties;r<s.length;r+=1){var i=s[r];this.checkPatternExport(e,i)}else if("ArrayPattern"===n)for(var o=0,a=t.elements;o<a.length;o+=1){var l=a[o];l&&this.checkPatternExport(e,l)}else"Property"===n?this.checkPatternExport(e,t.value):"AssignmentPattern"===n?this.checkPatternExport(e,t.left):"RestElement"===n&&this.checkPatternExport(e,t.argument)},Me.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s.id)}},Me.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},Me.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},Me.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(ue.braceL);!this.eat(ue.braceR);){if(n)n=!1;else if(this.expect(ue.comma),this.afterTrailingComma(ue.braceR))break;t.push(this.parseExportSpecifier(e))}return t},Me.parseImport=function(e){return this.next(),this.type===ue.string?(e.specifiers=$e,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===ue.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Me.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},Me.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},Me.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},Me.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===ue.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(ue.comma)))return e;if(this.type===ue.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(ue.braceL);!this.eat(ue.braceR);){if(t)t=!1;else if(this.expect(ue.comma),this.afterTrailingComma(ue.braceR))break;e.push(this.parseImportSpecifier())}return e},Me.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===ue.string){var e=this.parseLiteral(this.value);return Ae.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},Me.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Me.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var qe=je.prototype;qe.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&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",n&&this.checkPatternErrors(n,!0);for(var r=0,s=e.properties;r<s.length;r+=1){var i=s[r];this.toAssignable(i,t),"RestElement"!==i.type||"ArrayPattern"!==i.argument.type&&"ObjectPattern"!==i.argument.type||this.raise(i.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e},qe.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var s=e[r];s&&this.toAssignable(s,t)}if(n){var i=e[n-1];6===this.options.ecmaVersion&&t&&i&&"RestElement"===i.type&&"Identifier"!==i.argument.type&&this.unexpected(i.argument.start)}return e},qe.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},qe.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==ue.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},qe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case ue.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(ue.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case ue.braceL:return this.parseObj(!0)}return this.parseIdent()},qe.parseBindingList=function(e,t,n,r){for(var s=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(ue.comma),t&&this.type===ue.comma)s.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===ue.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),s.push(o),this.type===ue.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}s.push(this.parseAssignableListItem(r))}return s},qe.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},qe.parseBindingListItem=function(e){return e},qe.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(ue.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},qe.checkLValSimple=function(e,t,n){void 0===t&&(t=0);var r=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),n&&(xe(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),5!==t&&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":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}},qe.checkLValPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var r=0,s=e.properties;r<s.length;r+=1){var i=s[r];this.checkLValInnerPattern(i,t,n)}break;case"ArrayPattern":for(var o=0,a=e.elements;o<a.length;o+=1){var l=a[o];l&&this.checkLValInnerPattern(l,t,n)}break;default:this.checkLValSimple(e,t,n)}},qe.checkLValInnerPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,n);break;case"RestElement":this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var He=function(e,t,n,r,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!s},ze={b_stat:new He("{",!1),b_expr:new He("{",!0),b_tmpl:new He("${",!1),p_stat:new He("(",!1),p_expr:new He("(",!0),q_tmpl:new He("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new He("function",!1),f_expr:new He("function",!0),f_expr_gen:new He("function",!0,!1,null,!0),f_gen:new He("function",!1,!1,null,!0)},Ye=je.prototype;Ye.initialContext=function(){return[ze.b_stat]},Ye.curContext=function(){return this.context[this.context.length-1]},Ye.braceIsBlock=function(e){var t=this.curContext();return t===ze.f_expr||t===ze.f_stat||(e!==ue.colon||t!==ze.b_stat&&t!==ze.b_expr?e===ue._return||e===ue.name&&this.exprAllowed?de.test(this.input.slice(this.lastTokEnd,this.start)):e===ue._else||e===ue.semi||e===ue.eof||e===ue.parenR||e===ue.arrow||(e===ue.braceL?t===ze.b_stat:e!==ue._var&&e!==ue._const&&e!==ue.name&&!this.exprAllowed):!t.isExpr)},Ye.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},Ye.updateContext=function(e){var t,n=this.type;n.keyword&&e===ue.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Ye.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},ue.parenR.updateContext=ue.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ze.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},ue.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ze.b_stat:ze.b_expr),this.exprAllowed=!0},ue.dollarBraceL.updateContext=function(){this.context.push(ze.b_tmpl),this.exprAllowed=!0},ue.parenL.updateContext=function(e){var t=e===ue._if||e===ue._for||e===ue._with||e===ue._while;this.context.push(t?ze.p_stat:ze.p_expr),this.exprAllowed=!0},ue.incDec.updateContext=function(){},ue._function.updateContext=ue._class.updateContext=function(e){!e.beforeExpr||e===ue._else||e===ue.semi&&this.curContext()!==ze.p_stat||e===ue._return&&de.test(this.input.slice(this.lastTokEnd,this.start))||(e===ue.colon||e===ue.braceL)&&this.curContext()===ze.b_stat?this.context.push(ze.f_stat):this.context.push(ze.f_expr),this.exprAllowed=!1},ue.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},ue.backQuote.updateContext=function(){this.curContext()===ze.q_tmpl?this.context.pop():this.context.push(ze.q_tmpl),this.exprAllowed=!1},ue.star.updateContext=function(e){if(e===ue._function){var t=this.context.length-1;this.context[t]===ze.f_expr?this.context[t]=ze.f_expr_gen:this.context[t]=ze.f_gen}this.exprAllowed=!0},ue.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==ue.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Xe=je.prototype;function Je(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&Je(e.expression)}Xe.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,s=e.key;switch(s.type){case"Identifier":r=s.name;break;case"Literal":r=String(s.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===i&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];o?("init"===i?this.strict&&o.init||o.get||o.set:o.init||o[i])&&this.raiseRecoverable(s.start,"Redefinition of property"):o=t[r]={init:!1,get:!1,set:!1},o[i]=!0}}},Xe.parseExpression=function(e,t){var n=this.start,r=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===ue.comma){var i=this.startNodeAt(n,r);for(i.expressions=[s];this.eat(ue.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return s},Xe.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,s=-1,i=-1,o=-1;t?(s=t.parenthesizedAssign,i=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Re,r=!0);var a=this.start,l=this.startLoc;this.type!==ue.parenL&&this.type!==ue.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var p=this.parseMaybeConditional(e,t);if(n&&(p=n.call(this,p,a,l)),this.type.isAssign){var c=this.startNodeAt(a,l);return c.operator=this.value,this.type===ue.eq&&(p=this.toAssignable(p,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=p.start&&(t.shorthandAssign=-1),this.type===ue.eq?this.checkLValPattern(p):this.checkLValSimple(p),c.left=p,this.next(),c.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),i>-1&&(t.trailingComma=i),p},Xe.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(ue.question)){var i=this.startNodeAt(n,r);return i.test=s,i.consequent=this.parseMaybeAssign(),this.expect(ue.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return s},Xe.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===n&&"ArrowFunctionExpression"===s.type?s:this.parseExprOp(s,n,r,-1,e)},Xe.parseExprOp=function(e,t,n,r,s){var i=this.type.binop;if(null!=i&&(!s||this.type!==ue._in)&&i>r){var o=this.type===ue.logicalOR||this.type===ue.logicalAND,a=this.type===ue.coalesce;a&&(i=ue.logicalAND.binop);var l=this.value;this.next();var p=this.start,c=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),p,c,i,s),d=this.buildBinary(t,n,e,u,l,o||a);return(o&&this.type===ue.coalesce||a&&(this.type===ue.logicalOR||this.type===ue.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(d,t,n,r,s)}return e},Xe.buildBinary=function(e,t,n,r,s,i){"PrivateIdentifier"===r.type&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=n,o.operator=s,o.right=r,this.finishNode(o,i?"LogicalExpression":"BinaryExpression")},Xe.parseMaybeUnary=function(e,t,n,r){var s,i=this.start,o=this.startLoc;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(r),t=!0;else if(this.type.prefix){var a=this.startNode(),l=this.type===ue.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,l,r),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&Je(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(a,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==ue.privateId){if(s=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var p=this.startNodeAt(i,o);p.operator=this.value,p.prefix=!1,p.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(p,"UpdateExpression")}}else(r||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==ue._in&&this.unexpected();return n||!this.eat(ue.starstar)?s:t?void this.unexpected(this.lastTokStart):this.buildBinary(i,o,s,this.parseMaybeUnary(null,!1,!1,r),"**",!1)},Xe.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,s=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===s.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return s;var i=this.parseSubscripts(s,n,r,!1,t);return e&&"MemberExpression"===i.type&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1),e.trailingComma>=i.start&&(e.trailingComma=-1)),i},Xe.parseSubscripts=function(e,t,n,r,s){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,o=!1;;){var a=this.parseSubscript(e,t,n,r,i,o,s);if(a.optional&&(o=!0),a===e||"ArrowFunctionExpression"===a.type){if(o){var l=this.startNodeAt(t,n);l.expression=a,a=this.finishNode(l,"ChainExpression")}return a}e=a}},Xe.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(ue.arrow)},Xe.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)},Xe.parseSubscript=function(e,t,n,r,s,i,o){var a=this.options.ecmaVersion>=11,l=a&&this.eat(ue.questionDot);r&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(ue.bracketL);if(p||l&&this.type!==ue.parenL&&this.type!==ue.backQuote||this.eat(ue.dot)){var c=this.startNodeAt(t,n);c.object=e,p?(c.property=this.parseExpression(),this.expect(ue.bracketR)):this.type===ue.privateId&&"Super"!==e.type?c.property=this.parsePrivateIdent():c.property=this.parseIdent("never"!==this.options.allowReserved),c.computed=!!p,a&&(c.optional=l),e=this.finishNode(c,"MemberExpression")}else if(!r&&this.eat(ue.parenL)){var u=new Re,d=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(ue.parenR,this.options.ecmaVersion>=8,!1,u);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,n,m,o);this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var y=this.startNodeAt(t,n);y.callee=e,y.arguments=m,a&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===ue.backQuote){(l||i)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var b=this.startNodeAt(t,n);b.tag=e,b.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(b,"TaggedTemplateExpression")}return e},Xe.parseExprAtom=function(e,t,n){this.type===ue.slash&&this.readRegexp();var r,s=this.potentialArrowAt===this.start;switch(this.type){case ue._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type!==ue.parenL||this.allowDirectSuper||this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==ue.dot&&this.type!==ue.bracketL&&this.type!==ue.parenL&&this.unexpected(),this.finishNode(r,"Super");case ue._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case ue.name:var i=this.start,o=this.startLoc,a=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(ue._function))return this.overrideContext(ze.f_expr),this.parseFunction(this.startNodeAt(i,o),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(ue.arrow))return this.parseArrowExpression(this.startNodeAt(i,o),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===ue.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(ue.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,o),[l],!0,t)}return l;case ue.regexp:var p=this.value;return(r=this.parseLiteral(p.value)).regex={pattern:p.pattern,flags:p.flags},r;case ue.num:case ue.string:return this.parseLiteral(this.value);case ue._null:case ue._true:case ue._false:return(r=this.startNode()).value=this.type===ue._null?null:this.type===ue._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case ue.parenL:var c=this.start,u=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),u;case ue.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(ue.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case ue.braceL:return this.overrideContext(ze.b_expr),this.parseObj(!1,e);case ue._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case ue._class:return this.parseClass(this.startNode(),!1);case ue._new:return this.parseNew();case ue.backQuote:return this.parseTemplate();case ue._import:return this.options.ecmaVersion>=11?this.parseExprImport(n):this.unexpected();default:return this.parseExprAtomDefault()}},Xe.parseExprAtomDefault=function(){this.unexpected()},Xe.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===ue.parenL&&!e)return this.parseDynamicImport(t);if(this.type===ue.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name="import",t.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(t)}this.unexpected()},Xe.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(ue.parenR)){var t=this.start;this.eat(ue.comma)&&this.eat(ue.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Xe.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Xe.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Xe.parseParenExpression=function(){this.expect(ue.parenL);var e=this.parseExpression();return this.expect(ue.parenR),e},Xe.shouldParseArrow=function(e){return!this.canInsertSemicolon()},Xe.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,s=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a=this.start,l=this.startLoc,p=[],c=!0,u=!1,d=new Re,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==ue.parenR;){if(c?c=!1:this.expect(ue.comma),i&&this.afterTrailingComma(ue.parenR,!0)){u=!0;break}if(this.type===ue.ellipsis){o=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===ue.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var m=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(ue.parenR),e&&this.shouldParseArrow(p)&&this.eat(ue.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(r,s,p,t);p.length&&!u||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(d,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,p.length>1?((n=this.startNodeAt(a,l)).expressions=p,this.finishNodeAt(n,"SequenceExpression",m,y)):n=p[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(r,s);return b.expression=n,this.finishNode(b,"ParenthesizedExpression")}return n},Xe.parseParenItem=function(e){return e},Xe.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var Qe=[];Xe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===ue.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,s,!0,!1),this.eat(ue.parenL)?e.arguments=this.parseExprList(ue.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Qe,this.finishNode(e,"NewExpression")},Xe.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===ue.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===ue.backQuote,this.finishNode(n,"TemplateElement")},Xe.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===ue.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(ue.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(ue.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Xe.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===ue.name||this.type===ue.num||this.type===ue.string||this.type===ue.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===ue.star)&&!de.test(this.input.slice(this.lastTokEnd,this.start))},Xe.parseObj=function(e,t){var n=this.startNode(),r=!0,s={};for(n.properties=[],this.next();!this.eat(ue.braceR);){if(r)r=!1;else if(this.expect(ue.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(ue.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,s,t),n.properties.push(i)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Xe.parseProperty=function(e,t){var n,r,s,i,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(ue.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===ue.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(o.argument=this.parseMaybeAssign(!1,t),this.type===ue.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(s=this.start,i=this.startLoc),e||(n=this.eat(ue.star)));var a=this.containsEsc;return this.parsePropertyName(o),!e&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(ue.star),this.parsePropertyName(o)):r=!1,this.parsePropertyValue(o,e,n,r,s,i,t,a),this.finishNode(o,"Property")},Xe.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;if(e.value.params.length!==t){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},Xe.parsePropertyValue=function(e,t,n,r,s,i,o,a){(n||r)&&this.type===ue.colon&&this.unexpected(),this.eat(ue.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===ue.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r)):t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===ue.comma||this.type===ue.braceR||this.type===ue.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key)):this.type===ue.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((n||r)&&this.unexpected(),this.parseGetterSetter(e))},Xe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(ue.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(ue.bracketR),e.key;e.computed=!1}return e.key=this.type===ue.num||this.type===ue.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Xe.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Xe.parseMethod=function(e,t,n){var r=this.startNode(),s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Ne(t,r.generator)|(n?128:0)),this.expect(ue.parenL),r.params=this.parseBindingList(ue.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")},Xe.parseArrowExpression=function(e,t,n,r){var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|Ne(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Xe.parseFunctionBody=function(e,t,n,r){var s=t&&this.type!==ue.braceL,i=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!a||(o=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},Xe.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1)if("Identifier"!==n[t].type)return!1;return!0},Xe.checkParams=function(e,t){for(var n=Object.create(null),r=0,s=e.params;r<s.length;r+=1){var i=s[r];this.checkLValInnerPattern(i,1,t?null:n)}},Xe.parseExprList=function(e,t,n,r){for(var s=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(ue.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===ue.comma?o=null:this.type===ue.ellipsis?(o=this.parseSpread(r),r&&this.type===ue.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),s.push(o)}return s},Xe.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&"yield"===r&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===r&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==r&&"await"!==r||this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,n).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||"await"!==r||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))},Xe.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},Xe.parseIdentNode=function(){var e=this.startNode();return this.type===ue.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=ue.name):this.unexpected(),e},Xe.parsePrivateIdent=function(){var e=this.startNode();return this.type===ue.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},Xe.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===ue.semi||this.canInsertSemicolon()||this.type!==ue.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(ue.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Xe.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Ze=je.prototype;Ze.raise=function(e,t){var n=De(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},Ze.raiseRecoverable=Ze.raise,Ze.curPosition=function(){if(this.options.locations)return new we(this.curLine,this.pos-this.lineStart)};var et=je.prototype,tt=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};et.enterScope=function(e){this.scopeStack.push(new tt(e))},et.exitScope=function(){this.scopeStack.pop()},et.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},et.declareName=function(e,t,n){var r=!1;if(2===t){var s=this.currentScope();r=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var i=this.currentScope();r=this.treatFunctionsAsVar?i.lexical.indexOf(e)>-1:i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var a=this.scopeStack[o];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){r=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},et.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},et.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},et.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},et.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var nt=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ce(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},rt=je.prototype;function st(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}rt.startNode=function(){return new nt(this,this.start,this.startLoc)},rt.startNodeAt=function(e,t){return new nt(this,e,t)},rt.finishNode=function(e,t){return st.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},rt.finishNodeAt=function(e,t,n,r){return st.call(this,e,t,n,r)},rt.copyNode=function(e){var t=new nt(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};for(var it,ot,at="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",lt=at+" Extended_Pictographic",pt=lt+" EBase EComp EMod EPres ExtPict",ct={9:at,10:lt,11:lt,12:pt,13:pt,14:pt},ut={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},dt="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",ht="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",ft=ht+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",mt=ft+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",yt=mt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",bt=yt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",gt={9:ht,10:ft,11:mt,12:yt,13:bt,14:bt+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Et={},vt=0,xt=[9,10,11,12,13,14];vt<xt.length;vt+=1)ot=void 0,(ot=Et[it=xt[vt]]={binary:Pe(ct[it]+" "+dt),binaryOfStrings:Pe(ut[it]),nonBinary:{General_Category:Pe(dt),Script:Pe(gt[it])}}).nonBinary.Script_Extensions=ot.nonBinary.Script,ot.nonBinary.gc=ot.nonBinary.General_Category,ot.nonBinary.sc=ot.nonBinary.Script,ot.nonBinary.scx=ot.nonBinary.Script_Extensions;var Tt=je.prototype,St=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Et[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Pt(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function _t(e){return e>=65&&e<=90||e>=97&&e<=122}function At(e){return _t(e)||95===e}function wt(e){return At(e)||Ct(e)}function Ct(e){return e>=48&&e<=57}function Dt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function It(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ot(e){return e>=48&&e<=55}St.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("v"),s=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)},St.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},St.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var s=n.charCodeAt(e);if(!t&&!this.switchU||s<=55295||s>=57344||e+1>=r)return s;var i=n.charCodeAt(e+1);return i>=56320&&i<=57343?(s<<10)+i-56613888:s},St.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var s,i=n.charCodeAt(e);return!t&&!this.switchU||i<=55295||i>=57344||e+1>=r||(s=n.charCodeAt(e+1))<56320||s>57343?e+1:e+2},St.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},St.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},St.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},St.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},St.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var n=this.pos,r=0,s=e;r<s.length;r+=1){var i=s[r],o=this.at(n,t);if(-1===o||o!==i)return!1;n=this.nextIndex(n,t)}return this.pos=n,!0},Tt.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,s=!1,i=0;i<n.length;i++){var o=n.charAt(i);-1===t.indexOf(o)&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(o,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===o&&(r=!0),"v"===o&&(s=!0)}this.options.ecmaVersion>=15&&r&&s&&this.raise(e.start,"Invalid regular expression flag")},Tt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Tt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];-1===e.groupNames.indexOf(r)&&e.raise("Invalid named capture referenced")}},Tt.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Tt.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Tt.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},Tt.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Tt.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Tt.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Tt.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return-1!==s&&s<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1},Tt.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Tt.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Tt.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Tt.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Tt.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)},Tt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Tt.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Pt(t)&&(e.lastIntValue=t,e.advance(),!0)},Tt.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!Pt(n);)e.advance();return e.pos!==t},Tt.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},Tt.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Tt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Tt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=_e(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=_e(e.lastIntValue);return!0}return!1},Tt.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return re(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Tt.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return se(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Tt.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Tt.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Tt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Tt.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Tt.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Tt.regexp_eatZero=function(e){return 48===e.current()&&!Ct(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Tt.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Tt.regexp_eatControlLetter=function(e){var t=e.current();return!!_t(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Tt.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n,r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(i-55296)+(a-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(n=e.lastIntValue)>=0&&n<=1114111)return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1},Tt.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},Tt.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!0}return!1},Tt.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),1;var n=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((n=80===t)||112===t)){var r;if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return n&&2===r&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return 0},Tt.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return 0},Tt.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){xe(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},Tt.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},Tt.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";At(t=e.current());)e.lastStringValue+=_e(t),e.advance();return""!==e.lastStringValue},Tt.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";wt(t=e.current());)e.lastStringValue+=_e(t),e.advance();return""!==e.lastStringValue},Tt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Tt.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===n&&e.raise("Negated character class may contain strings"),!0}return!1},Tt.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},Tt.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},Tt.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Ot(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Tt.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Tt.regexp_classSetExpression=function(e){var t,n=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(n=2);for(var r=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(n=1):e.raise("Invalid character in character class");if(r!==e.pos)return n;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return n}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return n;2===t&&(n=2)}},Tt.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return-1!==n&&-1!==r&&n>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},Tt.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},Tt.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&2===r&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},Tt.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise("Invalid escape");e.pos=t}return null},Tt.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},Tt.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},Tt.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e)&&(e.eat(98)?(e.lastIntValue=8,0):(e.pos=t,1)));var n=e.current();return!(n<0||n===e.lookahead()&&function(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}(n)||function(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}(n)||(e.advance(),e.lastIntValue=n,0))},Tt.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!function(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}(t)&&(e.lastIntValue=t,e.advance(),!0)},Tt.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Ct(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},Tt.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Tt.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ct(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Tt.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Dt(n=e.current());)e.lastIntValue=16*e.lastIntValue+It(n),e.advance();return e.pos!==t},Tt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Tt.regexp_eatOctalDigit=function(e){var t=e.current();return Ot(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Tt.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var s=e.current();if(!Dt(s))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+It(s),e.advance()}return!0};var Nt=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ce(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},jt=je.prototype;function kt(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}jt.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Nt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},jt.getToken=function(){return this.next(),new Nt(this)},"undefined"!=typeof Symbol&&(jt[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===ue.eof,value:t}}}}),jt.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(ue.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},jt.readToken=function(e){return re(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},jt.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},jt.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(var r=void 0,s=t;(r=me(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},jt.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!fe(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},jt.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&ye.test(String.fromCharCode(e))))break e;++this.pos}}},jt.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},jt.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(ue.ellipsis)):(++this.pos,this.finishToken(ue.dot))},jt.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(ue.assign,2):this.finishOp(ue.slash,1)},jt.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?ue.star:ue.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=ue.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(ue.assign,n+1):this.finishOp(r,n)},jt.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(ue.assign,3):this.finishOp(124===e?ue.logicalOR:ue.logicalAND,2):61===t?this.finishOp(ue.assign,2):this.finishOp(124===e?ue.bitwiseOR:ue.bitwiseAND,1)},jt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(ue.assign,2):this.finishOp(ue.bitwiseXOR,1)},jt.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!de.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(ue.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(ue.assign,2):this.finishOp(ue.plusMin,1)},jt.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(ue.assign,n+1):this.finishOp(ue.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(ue.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},jt.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(ue.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(ue.arrow)):this.finishOp(61===e?ue.eq:ue.prefix,1)},jt.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(ue.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(ue.assign,3):this.finishOp(ue.coalesce,2)}return this.finishOp(ue.question,1)},jt.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,re(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(ue.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+_e(e)+"'")},jt.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(ue.parenL);case 41:return++this.pos,this.finishToken(ue.parenR);case 59:return++this.pos,this.finishToken(ue.semi);case 44:return++this.pos,this.finishToken(ue.comma);case 91:return++this.pos,this.finishToken(ue.bracketL);case 93:return++this.pos,this.finishToken(ue.bracketR);case 123:return++this.pos,this.finishToken(ue.braceL);case 125:return++this.pos,this.finishToken(ue.braceR);case 58:return++this.pos,this.finishToken(ue.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(ue.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(!1);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(ue.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+_e(e)+"'")},jt.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},jt.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(de.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var s=this.input.slice(n,this.pos);++this.pos;var i=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(i);var a=this.regexpState||(this.regexpState=new St(this));a.reset(n,s,o),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(s,o)}catch(e){}return this.finishToken(ue.regexp,{pattern:s,flags:o,value:l})},jt.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,s=n&&48===this.input.charCodeAt(this.pos),i=this.pos,o=0,a=0,l=0,p=null==t?1/0:t;l<p;++l,++this.pos){var c=this.input.charCodeAt(this.pos),u=void 0;if(r&&95===c)s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=c;else{if((u=c>=97?c-97+10:c>=65?c-65+10:c>=48&&c<=57?c-48:1/0)>=e)break;a=c,o=o*e+u}}return r&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===i||null!=t&&this.pos-i!==t?null:o},jt.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=kt(this.input.slice(t,this.pos)),++this.pos):re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ue.num,n)},jt.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var s=kt(this.input.slice(t,this.pos));return++this.pos,re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ue.num,s)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i,o=(i=this.input.slice(t,this.pos),n?parseInt(i,8):parseFloat(i.replace(/_/g,"")));return this.finishToken(ue.num,o)},jt.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},jt.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(fe(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(ue.string,t)};var Lt={};jt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Lt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},jt.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Lt;this.raise(e,t)},jt.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==ue.template&&this.type!==ue.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(ue.template,e)):36===n?(this.pos+=2,this.finishToken(ue.dollarBraceL)):(++this.pos,this.finishToken(ue.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(fe(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},jt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(ue.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},jt.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return _e(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);return s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return fe(t)?"":String.fromCharCode(t)}},jt.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},jt.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(se(s,r))this.pos+=s<=65535?1:2;else{if(92!==s)break;this.containsEsc=!0,e+=this.input.slice(n,this.pos);var i=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?re:se)(o,r)||this.invalidStringToken(i,"Invalid Unicode escape"),e+=_e(o),n=this.pos}t=!1}return e+this.input.slice(n,this.pos)},jt.readWord=function(){var e=this.readWord1(),t=ue.name;return this.keywords.test(e)&&(t=pe[e]),this.finishToken(t,e)},je.acorn={Parser:je,version:"8.11.3",defaultOptions:Ie,Position:we,SourceLocation:Ce,getLineInfo:De,Node:nt,TokenType:ie,tokTypes:ue,keywordTypes:pe,TokContext:He,tokContexts:ze,isIdentifierChar:se,isIdentifierStart:re,Token:Nt,isNewLine:fe,lineBreak:de,lineBreakG:he,nonASCIIwhitespace:ye};const Ft=s,Rt=r,Mt=/^\.?\//;function Bt(e="",t){return e.endsWith("/")?e:e+"/"}function Ut(e,...t){let n=e||"";for(const e of t.filter((e=>function(e){return e&&"/"!==e}(e))))if(n){const t=e.replace(Mt,"");n=Bt(n)+t}else n=e;return n}const $t=p,Vt=c,Wt=u,Kt=i,Gt=d,qt=h,Ht=new Set(Ft.builtinModules);function zt(e){return e.replace(/\\/g,"/")}const Yt={}.hasOwnProperty,Xt=/^([A-Z][a-z\d]*)+$/,Jt=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Qt={};function Zt(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const en=new Map;let tn;function nn(e,t,n){return en.set(e,t),r=n,s=e,function(...e){const t=Error.stackTraceLimit;rn()&&(Error.stackTraceLimit=0);const n=new r;rn()&&(Error.stackTraceLimit=t);const i=function(e,t,n){const r=en.get(e);if(Vt(void 0!==r,"expected `message` to be found"),"function"==typeof r)return Vt(r.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${r.length}).`),Reflect.apply(r,n,t);const s=/%[dfijoOs]/g;let i=0;for(;null!==s.exec(r);)i++;return Vt(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),0===t.length?r:(t.unshift(r),Reflect.apply(qt.format,null,t))}(s,e,n);return Object.defineProperties(n,{message:{value:i,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${s}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),sn(n),n.code=s,n};var r,s}function rn(){try{if(Gt.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):Yt.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}Qt.ERR_INVALID_ARG_TYPE=nn("ERR_INVALID_ARG_TYPE",((e,t,n)=>{Vt("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let r="The ";if(e.endsWith(" argument"))r+=`${e} `;else{const t=e.includes(".")?"property":"argument";r+=`"${e}" ${t} `}r+="must be ";const s=[],i=[],o=[];for(const e of t)Vt("string"==typeof e,"All expected entries have to be of type string"),Jt.has(e)?s.push(e.toLowerCase()):null===Xt.exec(e)?(Vt("object"!==e,'The value "object" should be written as "Object"'),o.push(e)):i.push(e);if(i.length>0){const e=s.indexOf("object");-1!==e&&(s.slice(e,1),i.push("Object"))}return s.length>0&&(r+=`${s.length>1?"one of type":"of type"} ${Zt(s,"or")}`,(i.length>0||o.length>0)&&(r+=" or ")),i.length>0&&(r+=`an instance of ${Zt(i,"or")}`,o.length>0&&(r+=" or ")),o.length>0&&(o.length>1?r+=`one of ${Zt(o,"or")}`:(o[0].toLowerCase()!==o[0]&&(r+="an "),r+=`${o[0]}`)),r+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,qt.inspect)(e,{depth:-1})}`;let t=(0,qt.inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}(n)}`,r}),TypeError),Qt.ERR_INVALID_MODULE_SPECIFIER=nn("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),Qt.ERR_INVALID_PACKAGE_CONFIG=nn("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),Qt.ERR_INVALID_PACKAGE_TARGET=nn("ERR_INVALID_PACKAGE_TARGET",((e,t,n,r=!1,s=void 0)=>{const i="string"==typeof n&&!r&&n.length>0&&!n.startsWith("./");return"."===t?(Vt(!1===r),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${r?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}),Error),Qt.ERR_MODULE_NOT_FOUND=nn("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),Qt.ERR_NETWORK_IMPORT_DISALLOWED=nn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Qt.ERR_PACKAGE_IMPORT_NOT_DEFINED=nn("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),Qt.ERR_PACKAGE_PATH_NOT_EXPORTED=nn("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),Qt.ERR_UNSUPPORTED_DIR_IMPORT=nn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Qt.ERR_UNSUPPORTED_RESOLVE_REQUEST=nn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Qt.ERR_UNKNOWN_FILE_EXTENSION=nn("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),Qt.ERR_INVALID_ARG_VALUE=nn("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let r=(0,qt.inspect)(t);return r.length>128&&(r=`${r.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${r}`}),TypeError);const sn=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=rn();return t&&(tn=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=tn),e})),on={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:an}=Qt,ln=new Map;function pn(e,{base:t,specifier:n}){const r=ln.get(e);if(r)return r;let s;try{s=Rt.readFileSync(Kt.toNamespacedPath(e),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const i={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==s){let r;try{r=JSON.parse(s)}catch(r){const s=r,i=new an(e,(t?`"${n}" from `:"")+(0,$t.fileURLToPath)(t||n),s.message);throw i.cause=s,i}i.exists=!0,on.call(r,"name")&&"string"==typeof r.name&&(i.name=r.name),on.call(r,"main")&&"string"==typeof r.main&&(i.main=r.main),on.call(r,"exports")&&(i.exports=r.exports),on.call(r,"imports")&&(i.imports=r.imports),!on.call(r,"type")||"commonjs"!==r.type&&"module"!==r.type||(i.type=r.type)}return ln.set(e,i),i}function cn(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){const n=pn((0,$t.fileURLToPath)(t),{specifier:e});if(n.exists)return n;const r=t;if(t=new URL("../package.json",t),t.pathname===r.pathname)break}return{pjsonPath:(0,$t.fileURLToPath)(t),exists:!1,type:"none"}}function un(e){return cn(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:dn}=Qt,hn={}.hasOwnProperty,fn={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},mn={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const r=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===r){const t=un(e);return"none"!==t?t:"commonjs"}if(""===r){const t=un(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const s=fn[r];if(s)return s;if(n)return;const i=(0,$t.fileURLToPath)(e);throw new dn(r,i)},"http:":yn,"https:":yn,"node:":()=>"builtin"};function yn(){}const bn=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:gn,ERR_INVALID_MODULE_SPECIFIER:En,ERR_INVALID_PACKAGE_CONFIG:vn,ERR_INVALID_PACKAGE_TARGET:xn,ERR_MODULE_NOT_FOUND:Tn,ERR_PACKAGE_IMPORT_NOT_DEFINED:Sn,ERR_PACKAGE_PATH_NOT_EXPORTED:Pn,ERR_UNSUPPORTED_DIR_IMPORT:_n,ERR_UNSUPPORTED_RESOLVE_REQUEST:An}=Qt,wn={}.hasOwnProperty,Cn=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Dn=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,In=/^\.|%|\\/,On=/\*/g,Nn=/%2f|%5c/i,jn=new Set,kn=/[/\\]{2}/;function Ln(e,t,n,r,s,i,o){if(Wt.noDeprecation)return;const a=(0,$t.fileURLToPath)(r),l=null!==kn.exec(o?e:t);Wt.emitWarning(`Use of deprecated ${l?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${a}${i?` imported from ${(0,$t.fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function Fn(e,t,n,r){if(Wt.noDeprecation)return;const s=function(e,t){const n=e.protocol;return hn.call(mn,n)&&mn[n](e,t,!0)||null}(e,{parentURL:n.href});if("module"!==s)return;const i=(0,$t.fileURLToPath)(e.href),o=(0,$t.fileURLToPath)(new $t.URL(".",t)),a=(0,$t.fileURLToPath)(n);r?Kt.resolve(o,r)!==i&&Wt.emitWarning(`Package ${o} has a "main" field set to "${r}", excluding the full filename and extension to the resolved file at "${i.slice(o.length)}", imported from ${a}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):Wt.emitWarning(`No "main" or "exports" field defined in the package.json for ${o} resolving the main entry point "${i.slice(o.length)}", imported from ${a}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Rn(e){try{return(0,Rt.statSync)(e)}catch{}}function Mn(e){const t=(0,Rt.statSync)(e,{throwIfNoEntry:!1}),n=t?t.isFile():void 0;return null!=n&&n}function Bn(e,t,n){let r;if(void 0!==t.main){if(r=new $t.URL(t.main,e),Mn(r))return r;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;for(;++i<s.length&&(r=new $t.URL(s[i],e),!Mn(r));)r=void 0;if(r)return Fn(r,e,n,t.main),r}const s=["./index.js","./index.json","./index.node"];let i=-1;for(;++i<s.length&&(r=new $t.URL(s[i],e),!Mn(r));)r=void 0;if(r)return Fn(r,e,n,t.main),r;throw new Tn((0,$t.fileURLToPath)(new $t.URL(".",e)),(0,$t.fileURLToPath)(n))}function Un(e,t,n){return new Pn((0,$t.fileURLToPath)(new $t.URL(".",t)),e,n&&(0,$t.fileURLToPath)(n))}function $n(e,t,n,r,s){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new xn((0,$t.fileURLToPath)(new $t.URL(".",n)),e,t,r,s&&(0,$t.fileURLToPath)(s))}function Vn(e){const t=Number(e);return`${t}`===e&&t>=0&&t<4294967295}function Wn(e,t,n,r,s,i,o,a,l){if("string"==typeof t)return function(e,t,n,r,s,i,o,a,l){if(""!==t&&!i&&"/"!==e[e.length-1])throw $n(n,e,r,o,s);if(!e.startsWith("./")){if(o&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new $t.URL(e),n=!0}catch{}if(!n)return Hn(i?bn.call(On,e,(()=>t)):e+t,r,l)}throw $n(n,e,r,o,s)}if(null!==Cn.exec(e.slice(2))){if(null!==Dn.exec(e.slice(2)))throw $n(n,e,r,o,s);if(!a){const a=i?n.replace("*",(()=>t)):n+t;Ln(i?bn.call(On,e,(()=>t)):e,a,n,r,o,s,!0)}}const p=new $t.URL(e,r),c=p.pathname,u=new $t.URL(".",r).pathname;if(!c.startsWith(u))throw $n(n,e,r,o,s);if(""===t)return p;if(null!==Cn.exec(t)){const l=i?n.replace("*",(()=>t)):n+t;null===Dn.exec(t)?a||Ln(i?bn.call(On,e,(()=>t)):e,l,n,r,o,s,!1):function(e,t,n,r,s){const i=`request is not a valid match in pattern "${t}" for the "${r?"imports":"exports"}" resolution of ${(0,$t.fileURLToPath)(n)}`;throw new En(e,i,s&&(0,$t.fileURLToPath)(s))}(l,n,r,o,s)}return i?new $t.URL(bn.call(On,p.href,(()=>t))):new $t.URL(t,p)}(t,n,r,e,s,i,o,a,l);if(Array.isArray(t)){const p=t;if(0===p.length)return null;let c,u=-1;for(;++u<p.length;){const t=p[u];let d;try{d=Wn(e,t,n,r,s,i,o,a,l)}catch(e){if(c=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;c=null}}if(null==c)return null;throw c}if("object"==typeof t&&null!==t){const p=Object.getOwnPropertyNames(t);let c=-1;for(;++c<p.length;)if(Vn(p[c]))throw new vn((0,$t.fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.');for(c=-1;++c<p.length;){const u=p[c];if("default"===u||l&&l.has(u)){const p=Wn(e,t[u],n,r,s,i,o,a,l);if(void 0===p)continue;return p}}return null}if(null===t)return null;throw $n(r,t,e,o,s)}function Kn(e,t,n){if(Wt.noDeprecation)return;const r=(0,$t.fileURLToPath)(t);jn.has(r+"|"+e)||(jn.add(r+"|"+e),Wt.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${r}${n?` imported from ${(0,$t.fileURLToPath)(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Gn(e,t,n,r,s){let i=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const r=Object.getOwnPropertyNames(e);let s=!1,i=0,o=-1;for(;++o<r.length;){const e=r[o],a=""===e||"."!==e[0];if(0==i++)s=a;else if(s!==a)throw new vn((0,$t.fileURLToPath)(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return s}(i,e,r)&&(i={".":i}),wn.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){const n=Wn(e,i[t],"",t,r,!1,!1,!1,s);if(null==n)throw Un(t,e,r);return n}let o="",a="";const l=Object.getOwnPropertyNames(i);let p=-1;for(;++p<l.length;){const n=l[p],s=n.indexOf("*");if(-1!==s&&t.startsWith(n.slice(0,s))){t.endsWith("/")&&Kn(t,e,r);const i=n.slice(s+1);t.length>=n.length&&t.endsWith(i)&&1===qn(o,n)&&n.lastIndexOf("*")===s&&(o=n,a=t.slice(s,t.length-i.length))}}if(o){const n=Wn(e,i[o],a,o,r,!0,!1,t.endsWith("/"),s);if(null==n)throw Un(t,e,r);return n}throw Un(t,e,r)}function qn(e,t){const n=e.indexOf("*"),r=t.indexOf("*"),s=-1===n?e.length:n+1,i=-1===r?t.length:r+1;return s>i?-1:i>s||-1===n?1:-1===r||e.length>t.length?-1:t.length>e.length?1:0}function Hn(e,t,n){if(Ft.builtinModules.includes(e))return new $t.URL("node:"+e);const{packageName:r,packageSubpath:s,isScoped:i}=function(e,t){let n=e.indexOf("/"),r=!0,s=!1;"@"===e[0]&&(s=!0,-1===n||0===e.length?r=!1:n=e.indexOf("/",n+1));const i=-1===n?e:e.slice(0,n);if(null!==In.exec(i)&&(r=!1),!r)throw new En(e,"is not a valid package name",(0,$t.fileURLToPath)(t));return{packageName:i,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:s}}(e,t),o=cn(t);if(o.exists){const e=(0,$t.pathToFileURL)(o.pjsonPath);if(o.name===r&&void 0!==o.exports&&null!==o.exports)return Gn(e,s,o,t,n)}let a,l=new $t.URL("./node_modules/"+r+"/package.json",t),p=(0,$t.fileURLToPath)(l);do{const o=Rn(p.slice(0,-13));if(!o||!o.isDirectory()){a=p,l=new $t.URL((i?"../../../../node_modules/":"../../../node_modules/")+r+"/package.json",l),p=(0,$t.fileURLToPath)(l);continue}const c=pn(p,{base:t,specifier:e});return void 0!==c.exports&&null!==c.exports?Gn(l,s,c,t,n):"."===s?Bn(l,c,t):new $t.URL(s,l)}while(p.length!==a.length);throw new Tn(r,(0,$t.fileURLToPath)(t),!1)}function zn(e,t,n,r){const s=t.protocol,i="data:"===s||"http:"===s||"https:"===s;let o;if(function(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}(e))try{o=new $t.URL(e,t)}catch(n){const r=new An(e,t);throw r.cause=n,r}else if("file:"===s&&"#"===e[0])o=function(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/"))throw new En(e,"is not a valid internal imports specifier name",(0,$t.fileURLToPath)(t));let r;const s=cn(t);if(s.exists){r=(0,$t.pathToFileURL)(s.pjsonPath);const i=s.imports;if(i)if(wn.call(i,e)&&!e.includes("*")){const s=Wn(r,i[e],"",e,t,!1,!0,!1,n);if(null!=s)return s}else{let s="",o="";const a=Object.getOwnPropertyNames(i);let l=-1;for(;++l<a.length;){const t=a[l],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const r=t.slice(n+1);e.length>=t.length&&e.endsWith(r)&&1===qn(s,t)&&t.lastIndexOf("*")===n&&(s=t,o=e.slice(n,e.length-r.length))}}if(s){const e=Wn(r,i[s],o,s,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new Sn(e,t&&(0,$t.fileURLToPath)(new $t.URL(".",t)),(0,$t.fileURLToPath)(n))}(e,r,t)}(e,t,n);else try{o=new $t.URL(e)}catch(r){if(i&&!Ft.builtinModules.includes(e)){const n=new An(e,t);throw n.cause=r,n}o=Hn(e,t,n)}return Vt(void 0!==o,"expected to be defined"),"file:"!==o.protocol?o:function(e,t,n){if(null!==Nn.exec(e.pathname))throw new En(e.pathname,'must not include encoded "/" or "\\" characters',(0,$t.fileURLToPath)(t));let r;try{r=(0,$t.fileURLToPath)(e)}catch(n){const r=n;throw Object.defineProperty(r,"input",{value:String(e)}),Object.defineProperty(r,"module",{value:String(t)}),r}const s=Rn(r.endsWith("/")?r.slice(-1):r);if(s&&s.isDirectory()){const n=new _n(r,(0,$t.fileURLToPath)(t));throw n.url=String(e),n}if(!s||!s.isFile()){const n=new Tn(r||e.pathname,t&&(0,$t.fileURLToPath)(t),!0);throw n.url=String(e),n}{const t=(0,Rt.realpathSync)(r),{search:n,hash:s}=e;(e=(0,$t.pathToFileURL)(t+(r.endsWith(Kt.sep)?"/":""))).search=n,e.hash=s}return e}(o,t)}function Yn(e){return"string"!=typeof e||e.startsWith("file://")?zt((0,$t.fileURLToPath)(e)):zt(e)}function Xn(e){return(0,$t.pathToFileURL)(Yn(e)).toString()}const Jn=new Set(["node","import"]),Qn=[".mjs",".cjs",".js",".json"],Zn=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function er(e,t,n){try{return zn(e,t,n)}catch(e){if(!Zn.has(e?.code))throw e}}function tr(e,t){return function(e,t={}){if("string"!=typeof e){if(!(e instanceof URL))throw new TypeError("input must be a `string` or `URL`");e=Yn(e)}if(/(node|data|http|https):/.test(e))return e;if(Ht.has(e))return"node:"+e;if(e.startsWith("file://")&&(e=Yn(e)),A(e))try{if((0,Rt.statSync)(e).isFile())return Xn(e)}catch(e){if("ENOENT"!==e?.code)throw e}const n=t.conditions?new Set(t.conditions):Jn,r=(Array.isArray(t.url)?t.url:[t.url]).filter(Boolean).map((e=>new URL(function(e){return"string"!=typeof e&&(e=e.toString()),/(node|data|http|https|file):/.test(e)?e:Ht.has(e)?"node:"+e:"file://"+encodeURI(zt(e))}(e.toString()))));0===r.length&&r.push(new URL(Xn(process.cwd())));const s=[...r];for(const e of r)"file:"===e.protocol&&s.push(new URL("./",e),new URL(Ut(e.pathname,"_index.js"),e),new URL("node_modules",e));let i;for(const r of s){if(i=er(e,r,n),i)break;for(const s of["","/index"]){for(const o of t.extensions||Qn)if(i=er(e+s+o,r,n),i)break;if(i)break}if(i)break}if(!i){const t=new Error(`Cannot find module ${e} imported from ${s.join(", ")}`);throw t.code="ERR_MODULE_NOT_FOUND",t}return Xn(i)}(e,t)}function nr(e,t){return Yn(tr(e,t))}const rr=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,sr=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;var ir=m("crypto");function or(e,t=8){return(0,ir.createHash)("md5").update(e).digest("hex").slice(0,t)}var ar=function(e,t,n,r){return new(n||(n=Promise))((function(t,s){function i(e){try{a(r.next(e))}catch(e){s(e)}}function o(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){var r;e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,o)}a((r=r.apply(e,[])).next())}))};const lr=L(process.env.JITI_DEBUG),pr=L(process.env.JITI_CACHE),cr=L(process.env.JITI_ESM_RESOLVE),ur=L(process.env.JITI_REQUIRE_CACHE),dr=L(process.env.JITI_SOURCE_MAPS),hr=L(process.env.JITI_ALIAS),fr=L(process.env.JITI_TRANSFORM_MODULES),mr=L(process.env.JITI_NATIVE_MODULES),yr=L(process.env.JITI_EXPERIMENTAL_BUN),br="win32"===(0,f.platform)(),gr={debug:lr,cache:void 0===pr||!!pr,requireCache:void 0===ur||!!ur,sourceMaps:void 0!==dr&&!!dr,interopDefault:!1,esmResolve:cr||!1,cacheVersion:"7",legacy:(0,B.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:hr,nativeModules:mr||[],transformModules:fr||[],experimentalBun:void 0===yr?!!process.versions.bun:!!yr},Er=/\.(c|m)?j(sx?)$/,vr=/\.(c|m)?t(sx?)$/;function xr(r,s={},i,o){(s=Object.assign(Object.assign({},gr),s)).legacy&&(s.cacheVersion+="-legacy"),s.transformOptions&&(s.cacheVersion+="-"+q()(s.transformOptions));const a=s.alias&&Object.keys(s.alias).length>0?V(s.alias||{}):null,l=["typescript","jiti",...s.nativeModules||[]],p=[...s.transformModules||[]],c=new RegExp(`node_modules/(${l.map((e=>F(e))).join("|")})/`),u=new RegExp(`node_modules/(${p.map((e=>F(e))).join("|")})/`);function d(...e){s.debug&&console.log("[jiti]",...e)}if(r||(r=process.cwd()),function(t){try{return(0,e.lstatSync)(t).isDirectory()}catch(e){return!1}}(r)&&(r=_(r,"index.js")),!0===s.cache&&(s.cache=function(){let e=(0,f.tmpdir)();if(process.env.TMPDIR&&e===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){const t=process.env.TMPDIR;delete process.env.TMPDIR,e=(0,f.tmpdir)(),process.env.TMPDIR=t}return _(e,"node-jiti")}()),s.cache)try{if((0,e.mkdirSync)(s.cache,{recursive:!0}),!function(t){try{return(0,e.accessSync)(t,e.constants.W_OK),!0}catch(e){return!1}}(s.cache))throw new Error("directory is not writable")}catch(e){d("Error creating cache directory at ",s.cache,e),s.cache=!1}const h=M()(br?r.replace(/\//g,"\\"):r),m=(e,t)=>{try{return h.resolve(e,t)}catch(e){}},y=(0,E.pathToFileURL)(r),b=[...s.extensions].filter((e=>".js"!==e)),v=(e,t)=>{let n,r;if(a&&(e=function(e,t){const n=x(e);t=V(t);for(const[e,r]of Object.entries(t)){if(!n.startsWith(e))continue;const t=W(e)?e.slice(0,-1):e;if(W(n[t.length]))return _(r,n.slice(e.length))}return n}(e,a)),s.esmResolve){const t=[["node","require"],["node","import"]];for(const i of t){try{n=nr(e,{url:y,conditions:i,extensions:s.extensions})}catch(e){r=e}if(n)return n}}try{return h.resolve(e,t)}catch(e){r=e}for(const r of b){if(n=m(e+r,t)||m(e+"/index"+r,t),n)return n;if(vr.test((null==i?void 0:i.filename)||"")&&(n=m(e.replace(Er,".$1t$2"),t),n))return n}throw r};function T(t){let n=function(t,n,r){if(!s.cache||!t)return r();const i=` /* v${s.cacheVersion}-${or(n,16)} */`,o=I(D(t))+"-"+I(t),a=_(s.cache,o+"."+or(t)+".js");if((0,e.existsSync)(a)){const n=(0,e.readFileSync)(a,"utf8");if(n.endsWith(i))return d("[cache hit]",t,"~>",a),n}d("[cache miss]",t);const l=r();return l.includes("__JITI_ERROR__")||(0,e.writeFileSync)(a,l+i,"utf8"),l}(t.filename,t.source,(()=>{var e;const n=s.transform(Object.assign(Object.assign(Object.assign({legacy:s.legacy},s.transformOptions),{babel:Object.assign(Object.assign({},s.sourceMaps?{sourceFileName:t.filename,sourceMaps:"inline"}:{}),null===(e=s.transformOptions)||void 0===e?void 0:e.babel)}),t));return n.error&&s.debug&&d(n.error),n.code}));return n.startsWith("#!")&&(n="// "+n),n}function S(e){return s.interopDefault?function(e,t={}){if(null===(n=e)||"object"!=typeof n||!("default"in e))return e;var n;const r=e.default;if(null==r)return e;const s=typeof r;if("object"!==s&&("function"!==s||t.preferNamespace))return t.preferNamespace?e:r;for(const t in e)try{t in r||Object.defineProperty(r,t,{enumerable:"default"!==t,configurable:"default"!==t,get:()=>e[t]})}catch{}return r}(e):e}function P(n,r){var a,l;const p=o||{};if(n.startsWith("node:")?n=n.slice(5):n.startsWith("file:")&&(n=(0,E.fileURLToPath)(n)),t.builtinModules.includes(n)||".pnp.js"===n)return h(n);if(s.experimentalBun&&!s.transformOptions)try{d(`[bun] [native] ${n}`);const e=h(n);return!1===s.requireCache&&delete h.cache[n],S(e)}catch(e){d(`[bun] Using fallback for ${n} because of an error:`,e)}const u=v(n),f=C(u);if(".json"===f){d("[json]",u);const e=h(n);return Object.defineProperty(e,"default",{value:e}),e}return f&&!s.extensions.includes(f)?(d("[unknown]",u),h(n)):c.test(u)?(d("[native]",u),h(n)):!p[u]||!0!==p[u].loaded&&!1!==(null==i?void 0:i.loaded)?s.requireCache&&h.cache[u]?S(null===(l=h.cache[u])||void 0===l?void 0:l.exports):A((0,e.readFileSync)(u,"utf8"),{id:n,filename:u,ext:f,cache:p}):S(null===(a=p[u])||void 0===a?void 0:a.exports)}function A(r,a={}){var l;const p=a.id||(a.filename?I(a.filename):`_jitiEval.${a.ext||".js"}`),c=a.filename||v(p),f=a.ext||C(c),m=a.cache||o||{},y=".ts"===f||".mts"===f||".cts"===f,b=".mjs"===f||".js"===f&&"module"===(null===(l=function(t){for(;t&&"."!==t&&"/"!==t;){t=_(t,"..");try{const n=(0,e.readFileSync)(_(t,"package.json"),"utf8");try{return JSON.parse(n)}catch(e){}break}catch(e){}}}(c))||void 0===l?void 0:l.type),E=!(".cjs"===f)&&(y||b||u.test(c)||function(e,t={}){return t.stripComments&&(e=e.replace(sr,"")),rr.test(e)}(r)||s.legacy&&r.match(/\?\.|\?\?/)),x=n.performance.now();if(E)r=T({filename:c,source:r,ts:y}),d("[transpile]"+(b?" [esm]":""),c,`(${Math.round(1e3*(n.performance.now()-x))/1e3}ms)`);else try{return d("[native]",c),S(h(p))}catch(e){d("Native require error:",e),d("[fallback]",c),r=T({filename:c,source:r,ts:y})}const A=new t.Module(c);let w;A.filename=c,i&&(A.parent=i,Array.isArray(i.children)&&!i.children.includes(A)&&i.children.push(A)),A.require=xr(c,s,A,m),A.path=D(c),A.paths=t.Module._nodeModulePaths(A.path),m[c]=A,s.requireCache&&(h.cache[c]=A);try{w=g().runInThisContext(t.Module.wrap(r),{filename:c,lineOffset:0,displayErrors:!1})}catch(e){s.requireCache&&delete h.cache[c],s.onError(e)}try{w(A.exports,A.require,A,A.filename,D(A.filename))}catch(e){s.requireCache&&delete h.cache[c],s.onError(e)}if(A.exports&&A.exports.__JITI_ERROR__){const{filename:e,line:t,column:n,code:r,message:i}=A.exports.__JITI_ERROR__,o=new Error(`${r}: ${i} \n ${e}:${t}:${n}`);Error.captureStackTrace(o,P),s.onError(o)}return A.loaded=!0,S(A.exports)}return v.paths=h.resolve.paths,P.resolve=v,P.cache=s.requireCache?h.cache:{},P.extensions=h.extensions,P.main=h.main,P.transform=T,P.register=function(){return(0,K.addHook)(((e,t)=>P.transform({source:e,filename:t,ts:!!/\.[cm]?ts$/.test(t)})),{exts:s.extensions})},P.evalModule=A,P.import=(e,t)=>ar(this,void 0,void 0,(function*(){return yield P(e)})),P}})(),e.exports=y.default})()),b.exports;var e}var E,v={exports:{}};function x(){return E||(E=1,t=v,(()=>{var n={"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(e,t,n){e.exports=function(e,t){const n=s("",-1,-1,"",null,!1),r=[];function s(e,t,n,r,s,i){return{source:e,line:t,column:n,name:r,content:s,ignore:i}}function i(e,t,n,r,s){return{map:e,sources:t,source:n,content:r,ignore:s}}function o(e,t){return i(e,t,"",null,!1)}function a(t,r,i,o){if(!t.map)return s(t.source,r,i,o,t.content,t.ignore);const l=e.traceSegment(t.map,r,i);return null==l?null:1===l.length?n:a(t.sources[l[1]],l[2],l[3],5===l.length?t.map.names[l[4]]:o)}function l(t,n){const r=function(e){return Array.isArray(e)?e:[e]}(t).map((t=>new e.TraceMap(t,""))),s=r.pop();for(let e=0;e<r.length;e++)if(r[e].sources.length>1)throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`);let i=p(s,n,"",0);for(let e=r.length-1;e>=0;e--)i=o(r[e],[i]);return i}function p(t,n,s,a){const{resolvedSources:l,sourcesContent:c,ignoreList:u}=t,d=a+1;return o(t,l.map(((t,o)=>{const a={importer:s,depth:d,source:t||"",content:void 0,ignore:void 0},l=n(a.source,a),{source:h,content:f,ignore:m}=a;return l?p(new e.TraceMap(l,h),n,h,d):function(e,t,n){return i(null,r,e,t,n)}(h,void 0!==f?f:c?c[o]:null,void 0!==m?m:!!u&&u.includes(o))})))}class c{constructor(e,n){const r=n.decodedMappings?t.toDecodedMap(e):t.toEncodedMap(e);this.version=r.version,this.file=r.file,this.mappings=r.mappings,this.names=r.names,this.ignoreList=r.ignoreList,this.sourceRoot=r.sourceRoot,this.sources=r.sources,n.excludeContent||(this.sourcesContent=r.sourcesContent)}toString(){return JSON.stringify(this)}}return function(r,s,i){const o="object"==typeof i?i:{excludeContent:!!i,decodedMappings:!1},p=l(r,s);return new c(function(r){const s=new t.GenMapping({file:r.map.file}),{sources:i,map:o}=r,l=o.names,p=e.decodedMappings(o);for(let e=0;e<p.length;e++){const r=p[e];for(let o=0;o<r.length;o++){const p=r[o],c=p[0];let u=n;if(1!==p.length&&(u=a(i[p[1]],p[2],p[3],5===p.length?l[p[4]]:""),null==u))continue;const{column:d,line:h,name:f,content:m,source:y,ignore:b}=u;t.maybeAddSegment(s,e,c,y,h,d,f),y&&null!=m&&t.setSourceContent(s,y,m),b&&t.setIgnore(s,y,!0)}}return s}(p),o)}}(n("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),n("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive":e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id="./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive",e.exports=t},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive":e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id="./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive",e.exports=t},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((e=>(e.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}})));t.default=r},"./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js":(e,t,n)=>{t.A=void 0;var r=(0,n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((e=>(e.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(e,t){t.plugins.push("exportNamespaceFrom")}})));t.A=r},"./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js":(e,t,n)=>{t.A=void 0;var r=(0,n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((e=>(e.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,t){t.plugins.push("nullishCoalescingOperator")}})));t.A=r},"./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js":(e,t,n)=>{t.A=void 0;var r=(0,n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((e=>(e.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(e,t){t.plugins.push("optionalChaining")}})));t.A=r},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(e,t,n){!function(e,t,n,r){const s=0,i=1,o=2,a=3,l=4,p=-1;class c{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new t.SetArray}}function u(e){const{_mappings:t,_sources:n,_sourcesContent:r,_names:s,_ignoreList:i}=e;return function(e){const{length:t}=e;let n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:s.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:i.array}}function d(e,n,r,c,u,d,f,m,y){const{_mappings:b,_sources:g,_sourcesContent:E,_names:v}=n,x=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(b,r),T=function(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][s]);n=r--);return n}(x,c);if(!u){if(e&&function(e,t){return 0===t||1===e[t-1].length}(x,T))return;return h(x,T,[c])}const S=t.put(g,u),P=m?t.put(v,m):p;if(S===E.length&&(E[S]=null!=y?y:null),!e||!function(e,t,n,r,s,c){if(0===t)return!1;const u=e[t-1];return 1!==u.length&&n===u[i]&&r===u[o]&&s===u[a]&&c===(5===u.length?u[l]:p)}(x,T,S,d,f,P))return h(x,T,m?[c,S,d,f,P]:[c,S,d,f])}function h(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function f(e,n){for(let r=0;r<n.length;r++)t.put(e,n[r])}function m(e,t,n){const{generated:r,source:s,original:i,name:o,content:a}=n;return s?d(e,t,r.line-1,r.column,s,i.line-1,i.column,o,a):d(e,t,r.line-1,r.column,null,null,null,null,null)}e.GenMapping=c,e.addMapping=function(e,t){return m(!1,e,t)},e.addSegment=function(e,t,n,r,s,i,o,a){return d(!1,e,t,n,r,s,i,o,a)},e.allMappings=function(e){const t=[],{_mappings:n,_sources:r,_names:p}=e;for(let e=0;e<n.length;e++){const c=n[e];for(let n=0;n<c.length;n++){const u=c[n],d={line:e+1,column:u[s]};let h,f,m;1!==u.length&&(h=r.array[u[i]],f={line:u[o]+1,column:u[a]},5===u.length&&(m=p.array[u[l]])),t.push({generated:d,source:h,original:f,name:m})}}return t},e.fromMap=function(e){const t=new r.TraceMap(e),n=new c({file:t.file,sourceRoot:t.sourceRoot});return f(n._names,t.names),f(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),n._mappings=r.decodedMappings(t),t.ignoreList&&f(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>m(!0,e,t),e.maybeAddSegment=(e,t,n,r,s,i,o,a)=>d(!0,e,t,n,r,s,i,o,a),e.setIgnore=function(e,n,r=!0){const{_sources:s,_sourcesContent:i,_ignoreList:o}=e,a=t.put(s,n);a===i.length&&(i[a]=null),r?t.put(o,a):t.remove(o,a)},e.setSourceContent=function(e,n,r){const{_sources:s,_sourcesContent:i}=e;i[t.put(s,n)]=r},e.toDecodedMap=u,e.toEncodedMap=function(e){const t=u(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),n("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),n("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(e){e.exports=function(){const e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function s(e){return/^[.?#]/.test(e)}function i(e){const n=t.exec(e);return o(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function o(e,t,n,r,s,i,o){return{scheme:e,user:t,host:n,port:r,path:s,query:i,hash:o,type:7}}function a(t){if(function(e){return e.startsWith("//")}(t)){const e=i("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){const e=i("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(function(e){return e.startsWith("file:")}(t))return function(e){const t=n.exec(e),s=t[2];return o("file:","",t[1]||"","",r(s)?s:"/"+s,t[3]||"",t[4]||"")}(t);if(function(t){return e.test(t)}(t))return i(t);const s=i("http://foo.com/"+t);return s.scheme="",s.host="",s.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,s}function l(e,t){const n=t<=4,r=e.path.split("/");let s=1,i=0,o=!1;for(let e=1;e<r.length;e++){const t=r[e];t?(o=!1,"."!==t&&(".."!==t?(r[s++]=t,i++):i?(o=!0,i--,s--):n&&(r[s++]=t))):o=!0}let a="";for(let e=1;e<s;e++)a+="/"+r[e];(!a||o&&!a.endsWith("/.."))&&(a+="/"),e.path=a}return function(e,t){if(!e&&!t)return"";const n=a(e);let r=n.type;if(t&&7!==r){const e=a(t),s=e.type;switch(r){case 1:n.hash=e.hash;case 2:n.query=e.query;case 3:case 4:!function(e,t){l(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case 5:n.user=e.user,n.host=e.host,n.port=e.port;case 6:n.scheme=e.scheme}s>r&&(r=s)}l(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const r=n.path.slice(1);return r?s(t||e)&&!s(r)?"./"+r+i:r+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}}()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(e,t){!function(e){function t(e,t){return e._indexes[t]}e.SetArray=class{constructor(){this._indexes={__proto__:null},this.array=[]}},e.get=t,e.pop=function(e){const{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,n){const r=t(e,n);if(void 0!==r)return r;const{array:s,_indexes:i}=e,o=s.push(n);return i[n]=o-1},e.remove=function(e,n){const r=t(e,n);if(void 0===r)return;const{array:s,_indexes:i}=e;for(let e=r+1;e<s.length;e++){const t=s[e];s[e-1]=t,i[t]--}i[n]=void 0,s.pop()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(e,t){!function(e){const t=",".charCodeAt(0),n=";".charCodeAt(0),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),i=new Uint8Array(128);for(let e=0;e<64;e++){const t=r.charCodeAt(e);s[e]=t,i[t]=e}const o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};function a(e,t){const n=e.indexOf(";",t);return-1===n?e.length:n}function l(e,t,n,r){let s=0,o=0,a=0;do{const n=e.charCodeAt(t++);a=i[n],s|=(31&a)<<o,o+=5}while(32&a);const l=1&s;return s>>>=1,l&&(s=-2147483648|-s),n[r]+=s,t}function p(e,n,r){return!(n>=r)&&e.charCodeAt(n)!==t}function c(e){e.sort(u)}function u(e,t){return e[0]-t[0]}function d(e,t,n,r,i){const o=r[i];let a=o-n[i];n[i]=o,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),e[t++]=s[n]}while(a>0);return t}e.decode=function(e){const t=new Int32Array(5),n=[];let r=0;do{const s=a(e,r),i=[];let o=!0,u=0;t[0]=0;for(let n=r;n<s;n++){let r;n=l(e,n,t,0);const a=t[0];a<u&&(o=!1),u=a,p(e,n,s)?(n=l(e,n,t,1),n=l(e,n,t,2),n=l(e,n,t,3),p(e,n,s)?(n=l(e,n,t,4),r=[a,t[1],t[2],t[3],t[4]]):r=[a,t[1],t[2],t[3]]):r=[a],i.push(r)}o||c(i),n.push(i),r=s+1}while(r<=e.length);return n},e.encode=function(e){const r=new Int32Array(5),s=16384,i=16348,a=new Uint8Array(s),l=a.subarray(0,i);let p=0,c="";for(let u=0;u<e.length;u++){const h=e[u];if(u>0&&(p===s&&(c+=o.decode(a),p=0),a[p++]=n),0!==h.length){r[0]=0;for(let e=0;e<h.length;e++){const n=h[e];p>i&&(c+=o.decode(l),a.copyWithin(0,i,p),p-=i),e>0&&(a[p++]=t),p=d(a,p,r,n,0),1!==n.length&&(p=d(a,p,r,n,1),p=d(a,p,r,n,2),p=d(a,p,r,n,3),4!==n.length&&(p=d(a,p,r,n,4)))}}}return c+o.decode(a.subarray(0,p))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(e,t,n){!function(e,t,n){function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}const s=0,i=1,o=2,a=3,l=4,p=1,c=2;function u(e,t){for(let n=t;n<e.length;n++)if(!d(e[n]))return n;return e.length}function d(e){for(let t=1;t<e.length;t++)if(e[t][s]<e[t-1][s])return!1;return!0}function h(e,t){return t||(e=e.slice()),e.sort(f)}function f(e,t){return e[s]-t[s]}let m=!1;function y(e,t,n){for(let r=n+1;r<e.length&&e[r][s]===t;n=r++);return n}function b(e,t,n){for(let r=n-1;r>=0&&e[r][s]===t;n=r--);return n}function g(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function E(e,t,n,r){const{lastKey:i,lastNeedle:o,lastIndex:a}=n;let l=0,p=e.length-1;if(r===i){if(t===o)return m=-1!==a&&e[a][s]===t,a;t>=o?l=-1===a?0:a:p=a}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){const i=n+(r-n>>1),o=e[i][s]-t;if(0===o)return m=!0,i;o<0?n=i+1:r=i-1}return m=!1,n-1}(e,t,l,p)}function v(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function x(){return{__proto__:null}}function T(e){return"string"==typeof e?JSON.parse(e):e}function S(e,t,n,r,s,i,o,a,l,p,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:d,offset:h}=u[e];let f=p,m=c;if(e+1<u.length){const t=u[e+1].offset;f=Math.min(p,a+t.line),f===p?m=Math.min(c,l+t.column):f<p&&(m=l+t.column)}P(d,t,n,r,s,i,o,a+h.line,l+h.column,f,m)}}function P(e,t,n,r,p,c,u,d,h,f,m){const y=T(e);if("sections"in y)return S(...arguments);const b=new O(y,t),g=r.length,E=c.length,v=j(b),{resolvedSources:x,sourcesContent:P,ignoreList:w}=b;if(_(r,x),_(c,b.names),P)_(p,P);else for(let e=0;e<x.length;e++)p.push(null);if(w)for(let e=0;e<w.length;e++)u.push(w[e]+g);for(let e=0;e<v.length;e++){const t=d+e;if(t>f)return;const r=A(n,t),p=0===e?h:0,c=v[e];for(let e=0;e<c.length;e++){const n=c[e],u=p+n[s];if(t===f&&u>=m)return;if(1===n.length){r.push([u]);continue}const d=g+n[i],h=n[o],y=n[a];r.push(4===n.length?[u,d,h,y]:[u,d,h,y,E+n[l]])}}}function _(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function A(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}const w="`line` must be greater than 0 (lines start at line 1)",C="`column` must be greater than or equal to 0 (columns start at column 0)",D=-1,I=1;class O{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const s=n?JSON.parse(e):e,{version:i,file:o,names:a,sourceRoot:l,sources:p,sourcesContent:c}=s;this.version=i,this.file=o,this.names=a||[],this.sourceRoot=l,this.sources=p,this.sourcesContent=c,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;const d=r(l||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=p.map((e=>r(e||"",d)));const{mappings:f}=s;"string"==typeof f?(this._encoded=f,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const n=u(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=u(e,r+1))e[r]=h(e[r],t);return e}(f,n)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function N(e){var n,r;return null!==(n=(r=e)._encoded)&&void 0!==n?n:r._encoded=t.encode(e._decoded)}function j(e){var n;return(n=e)._decoded||(n._decoded=t.decode(e._encoded))}function k(e,t){const{sources:n,resolvedSources:r}=e;let s=n.indexOf(t);return-1===s&&(s=r.indexOf(t)),s}function L(e,t){const n=new O(F(e,[]),t);return n._decoded=e.mappings,n}function F(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function R(e,t,n,r){return{source:e,line:t,column:n,name:r}}function M(e,t){return{line:e,column:t}}function B(e,t,n,r,s){let i=E(e,r,t,n);return m?i=(s===D?y:b)(e,r,i):s===D&&i++,-1===i||i===e.length?-1:i}function U(e,t,n,r,l,u){var d;if(--n<0)throw new Error(w);if(r<0)throw new Error(C);const{sources:h,resolvedSources:f}=e;let T=h.indexOf(t);if(-1===T&&(T=f.indexOf(t)),-1===T)return u?[]:M(null,null);const S=((d=e)._bySources||(d._bySources=function(e,t){const n=t.map(x);for(let r=0;r<e.length;r++){const l=e[r];for(let e=0;e<l.length;e++){const p=l[e];if(1===p.length)continue;const c=p[i],u=p[o],d=p[a],h=n[c],f=h[u]||(h[u]=[]),m=t[c];let b=y(f,d,E(f,d,m,u));m.lastIndex=++b,v(f,b,[d,r,p[s]])}}return n}(j(e),e._bySourceMemos=h.map(g))))[T][n];if(null==S)return u?[]:M(null,null);const P=e._bySourceMemos[T];if(u)return function(e,t,n,r,i){let o=B(e,t,n,r,I);if(m||i!==D||o++,-1===o||o===e.length)return[];const a=m?r:e[o][s];m||(o=b(e,a,o));const l=y(e,a,o),u=[];for(;o<=l;o++){const t=e[o];u.push(M(t[p]+1,t[c]))}return u}(S,P,n,r,l);const _=B(S,P,n,r,l);if(-1===_)return M(null,null);const A=S[_];return M(A[p]+1,A[c])}e.AnyMap=function(e,t){const n=T(e);if(!("sections"in n))return new O(n,t);const r=[],s=[],i=[],o=[],a=[];return S(n,t,r,s,i,o,a,0,0,1/0,1/0),L({version:3,file:n.file,names:o,sources:s,sourcesContent:i,mappings:r,ignoreList:a})},e.GREATEST_LOWER_BOUND=I,e.LEAST_UPPER_BOUND=D,e.TraceMap=O,e.allGeneratedPositionsFor=function(e,t){const{source:n,line:r,column:s,bias:i}=t;return U(e,n,r,s,i||D,!0)},e.decodedMap=function(e){return F(e,j(e))},e.decodedMappings=j,e.eachMapping=function(e,t){const n=j(e),{names:r,resolvedSources:s}=e;for(let e=0;e<n.length;e++){const i=n[e];for(let n=0;n<i.length;n++){const o=i[n],a=e+1,l=o[0];let p=null,c=null,u=null,d=null;1!==o.length&&(p=s[o[1]],c=o[2]+1,u=o[3]),5===o.length&&(d=r[o[4]]),t({generatedLine:a,generatedColumn:l,source:p,originalLine:c,originalColumn:u,name:d})}}},e.encodedMap=function(e){return F(e,N(e))},e.encodedMappings=N,e.generatedPositionFor=function(e,t){const{source:n,line:r,column:s,bias:i}=t;return U(e,n,r,s,i||I,!1)},e.isIgnored=function(e,t){const{ignoreList:n}=e;if(null==n)return!1;const r=k(e,t);return-1!==r&&n.includes(r)},e.originalPositionFor=function(e,t){let{line:n,column:r,bias:s}=t;if(n--,n<0)throw new Error(w);if(r<0)throw new Error(C);const p=j(e);if(n>=p.length)return R(null,null,null,null);const c=p[n],u=B(c,e._decodedMemo,n,r,s||I);if(-1===u)return R(null,null,null,null);const d=c[u];if(1===d.length)return R(null,null,null,null);const{names:h,resolvedSources:f}=e;return R(f[d[i]],d[o]+1,d[a],5===d.length?h[d[l]]:null)},e.presortedDecodedMap=L,e.sourceContentFor=function(e,t){const{sourcesContent:n}=e;if(null==n)return null;const r=k(e,t);return-1===r?null:n[r]},e.traceSegment=function(e,t,n){const r=j(e);if(t>=r.length)return null;const s=r[t],i=B(s,e._decodedMemo,t,n,I);return-1===i?null:s[i]}}(t,n("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),n("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"))},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.createDynamicImportTransform)(e);return{manipulateOptions:function(e,t){t.plugins.push("dynamicImport")},visitor:{Import:function(e){t(this,e)}}}};var r=n("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");e.exports=t.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(e,t)=>{function n(e,t){var n=t.arguments,r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,s=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(s)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(n,1)[0];return e.isStringLiteral(r)||e.isTemplateLiteral(r)?(e.removeComments(r),r):e.templateLiteral([e.templateElement({raw:"",cooked:""}),e.templateElement({raw:"",cooked:""},!0)],n)}Object.defineProperty(t,"__esModule",{value:!0}),t.getImportSource=n,t.createDynamicImportTransform=function(e){var t=e.template,r=e.types,s={static:{interop:t("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:t("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:t("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:t("Promise.resolve(SOURCE).then(s => require(s))")}},i="function"==typeof WeakSet&&new WeakSet;return function(e,t){if(i){if(i.has(t))return;i.add(t)}var o,a=n(r,t.parent),l=(o=a,r.isStringLiteral(o)||r.isTemplateLiteral(o)&&0===o.expressions.length?s.static:s.dynamic),p=e.opts.noInterop?l.noInterop({SOURCE:a}):l.interop({SOURCE:a,INTEROP:e.addHelper("interopRequireWildcard")});t.parentPath.replaceWith(p)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(e,t,n)=>{var r=n("path");function s(e){switch(e.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}e.exports=function(e){var t=e.types,n=function(e,n){return function(r){var s=t.callExpression(e.expression,[t.Identifier(r),t.Identifier("undefined"),t.NumericLiteral(n.key)]),i=t.logicalExpression("||",s,t.Identifier(r)),o=t.assignmentExpression("=",t.Identifier(r),i);return t.expressionStatement(o)}},i=function(e,n){return function(r,s){var i=t.callExpression(e.expression,[t.Identifier("".concat(r,".prototype")),t.StringLiteral(s),t.NumericLiteral(n.key)]);return t.expressionStatement(i)}};return{visitor:{Program:function(e,t){var n=(0,r.extname)(t.file.opts.filename);".ts"!==n&&".tsx"!==n||function(){var t=Object.create(null);e.node.body.filter((function(e){var t=e.type,n=e.declaration;switch(t){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return n&&"ClassDeclaration"===n.type;default:return!1}})).map((function(e){return"ClassDeclaration"===e.type?e:e.declaration})).forEach((function(e){e.body.body.forEach((function(e){(e.params||[]).forEach((function(e){(e.decorators||[]).forEach((function(e){e.expression.callee?t[e.expression.callee.name]=e:t[e.expression.name]=e}))}))}))}));var n=!0,r=!1,i=void 0;try{for(var o,a=e.get("body")[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;if("ImportDeclaration"===l.node.type){if(0===l.node.specifiers.length)continue;var p=!0,c=!1,u=void 0;try{for(var d,h=function(){var e=d.value,n=l.scope.getBinding(e.local.name);n.referencePaths.length?n.referencePaths.reduce((function(e,t){return e||s(t)}),!1)&&Object.keys(t).forEach((function(r){var s=t[r];(s.expression.arguments||[]).forEach((function(t){t.name===e.local.name&&n.referencePaths.push({parent:s.expression})}))})):t[e.local.name]&&n.referencePaths.push({parent:t[e.local.name]})},f=l.node.specifiers[Symbol.iterator]();!(p=(d=f.next()).done);p=!0)h()}catch(e){c=!0,u=e}finally{try{p||null==f.return||f.return()}finally{if(c)throw u}}}}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}}()},Function:function(e){var r="";e.node.id?r=e.node.id.name:e.node.key&&(r=e.node.key.name),(e.get("params")||[]).slice().forEach((function(s){var o=s.node.decorators||[],a=o.length;if(o.slice().forEach((function(t){if("ClassMethod"===e.type){var o,a=e.parentPath.parentPath,l=e.findParent((function(e){return"ClassDeclaration"===e.type}));if(l?o=l.node.id.name:(a.insertAfter(null),o=function(e){var t=e.findParent((function(e){return"AssignmentExpression"===e.node.type}));return"SequenceExpression"===t.node.right.type?t.node.right.expressions[1].name:"ClassExpression"===t.node.right.type?t.node.left.name:null}(e)),"constructor"===r){var p=n(t,s)(o);a.insertAfter(p)}else{var c=i(t,s)(o,r);a.insertAfter(c)}}else{var u=e.findParent((function(e){return"VariableDeclarator"===e.node.type})).node.id.name;if(r===u){var d=n(t,s)(u);"body"===e.parentKey?e.insertAfter(d):e.findParent((function(e){return"body"===e.parentKey})).insertAfter(d)}else{var h=e.findParent((function(e){return"CallExpression"===e.node.type})),f=i(t,s)(u,r);h.insertAfter(f)}}})),a){var l=function(e){switch(e.node.type){case"ObjectPattern":return t.ObjectPattern(e.node.properties);case"AssignmentPattern":return t.AssignmentPattern(e.node.left,e.node.right);case"TSParameterProperty":return t.Identifier(e.node.parameter.name);default:return t.Identifier(e.node.name)}}(s);s.replaceWith(l)}}))}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metadataVisitor=function(e,t){const n=t.node,o=e.node;switch(n.type){case"ClassMethod":const t="constructor"===n.kind?o.decorators:n.decorators;if(!t||0===t.length)return;t.push(i("design:type",r.types.identifier("Function"))),t.push(i("design:paramtypes",r.types.arrayExpression(n.params.map((t=>(0,s.serializeType)(e,t))))));break;case"ClassProperty":if(!n.decorators||0===n.decorators.length)return;if(!n.typeAnnotation||"TSTypeAnnotation"!==n.typeAnnotation.type)return;n.decorators.push(i("design:type",(0,s.serializeType)(e,n)))}};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function i(e,t){return r.types.decorator(r.types.callExpression(r.types.memberExpression(r.types.identifier("Reflect"),r.types.identifier("metadata")),[r.types.stringLiteral(e),t]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.serializeType=function(e,t){const n=i(t);if(null==n)return s();if(!n.typeAnnotation||"TSTypeAnnotation"!==n.typeAnnotation.type)return s();const r=n.typeAnnotation.typeAnnotation;return p(e.node.id?e.node.id.name:"",r)},t.isClassType=a;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");function s(){return r.types.unaryExpression("void",r.types.numericLiteral(0))}function i(e){return null==e?null:"ClassProperty"===e.type||"Identifier"===e.type||"ObjectPattern"===e.type?e:"AssignmentPattern"===e.type&&"Identifier"===e.left.type?e.left:"TSParameterProperty"===e.type?i(e.parameter):null}function o(e,t){const n=l(t.typeName);return a(e,n)?r.types.identifier("Object"):r.types.conditionalExpression(r.types.binaryExpression("===",r.types.unaryExpression("typeof",n),r.types.stringLiteral("undefined")),r.types.identifier("Object"),r.types.cloneDeep(n))}function a(e,t){switch(t.type){case"Identifier":return t.name===e;case"MemberExpression":return a(e,t.object);default:throw new Error(`The property expression at ${t.start} is not valid as a Type to be used in Reflect.metadata`)}}function l(e){return"Identifier"===e.type?r.types.identifier(e.name):r.types.memberExpression(l(e.left),e.right)}function p(e,t){if(void 0===t)return r.types.identifier("Object");switch(t.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return s();case"TSParenthesizedType":return p(e,t.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return r.types.identifier("Function");case"TSArrayType":case"TSTupleType":return r.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return r.types.identifier("Boolean");case"TSStringKeyword":return r.types.identifier("String");case"TSObjectKeyword":return r.types.identifier("Object");case"TSLiteralType":switch(t.literal.type){case"StringLiteral":return r.types.identifier("String");case"NumericLiteral":return r.types.identifier("Number");case"BooleanLiteral":return r.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+t.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return r.types.identifier("Number");case"TSSymbolKeyword":return r.types.identifier("Symbol");case"TSTypeReference":return o(e,t);case"TSIntersectionType":case"TSUnionType":return c(e,t.types);case"TSConditionalType":return c(e,[t.trueType,t.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return r.types.identifier("Object")}function c(e,t){let n;for(let s of t){for(;"TSParenthesizedType"===s.type;)s=s.typeAnnotation;if("TSNeverKeyword"===s.type)continue;if("TSNullKeyword"===s.type||"TSUndefinedKeyword"===s.type)continue;const t=p(e,s);if(r.types.isIdentifier(t)&&"Object"===t.name)return t;if(n){if(!r.types.isIdentifier(n)||!r.types.isIdentifier(t)||n.name!==t.name)return r.types.identifier("Object")}else n=t}return n||s()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parameterVisitor=function(e,t){if("ClassMethod"!==t.type)return;if("ClassMethod"!==t.node.type)return;if("Identifier"!==t.node.key.type)return;const n=t;(n.get("params")||[]).slice().forEach((function(t){let r;null!=("Identifier"===t.node.type||"ObjectPattern"===t.node.type?t.node:"TSParameterProperty"===t.node.type&&"Identifier"===t.node.parameter.type?t.node.parameter:null)&&((t.node.decorators||[]).slice().forEach((function(i){"constructor"===n.node.kind?(r=s(t.key,i.expression,!0),e.node.decorators||(e.node.decorators=[]),e.node.decorators.push(r)):(r=s(t.key,i.expression,!1),n.node.decorators||(n.node.decorators=[]),n.node.decorators.push(r))})),r&&(t.node.decorators=null))}))};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");function s(e,t,n=!1){return r.types.decorator(r.types.functionExpression(null,[r.types.identifier("target"),r.types.identifier("key")],r.types.blockStatement([r.types.returnStatement(r.types.callExpression(t,[r.types.identifier("target"),r.types.identifier(n?"undefined":"key"),r.types.numericLiteral(e)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),i=n("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),o=(0,r.declare)((e=>(e.assertVersion(7),{visitor:{Program(e){e.traverse({ClassDeclaration(e){for(const t of e.get("body").get("body"))"ClassMethod"!==t.type&&"ClassProperty"!==t.type||((0,s.parameterVisitor)(e,t),(0,i.metadataVisitor)(e,t));e.parentPath.scope.crawl()}})}}})));t.default=o},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(e,t)=>{var n;function r(e,t){(t=t||{}).hasComment&&(e=function(e){return e.split(",").pop()}(e)),"base64"===t.encoding?e=n(e):"uri"===t.encoding&&(e=decodeURIComponent(e)),(t.isJSON||t.encoding)&&(e=JSON.parse(e)),this.sourcemap=e}function s(e){return new r(e,{isJSON:!0})}Object.defineProperty(t,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(t,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),n="undefined"!=typeof Buffer?"function"==typeof Buffer.from?function(e){return Buffer.from(e,"base64").toString()}:function(e){if("number"==typeof value)throw new TypeError("The value to decode must not be of type number.");return new Buffer(e,"base64").toString()}:function(e){return decodeURIComponent(escape(atob(e)))},r.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)},"undefined"!=typeof Buffer?"function"==typeof Buffer.from?r.prototype.toBase64=function(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}:r.prototype.toBase64=function(){var e=this.toJSON();if("number"==typeof e)throw new TypeError("The json to encode must not be of type number.");return new Buffer(e,"utf8").toString("base64")}:r.prototype.toBase64=function(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))},r.prototype.toURI=function(){var e=this.toJSON();return encodeURIComponent(e)},r.prototype.toComment=function(e){var t,n,r;return null!=e&&"uri"===e.encoding?(t="",n=this.toURI()):(t=";base64",n=this.toBase64()),r="sourceMappingURL=data:application/json;charset=utf-8"+t+","+n,null!=e&&e.multiline?"/*# "+r+" */":"//# "+r},r.prototype.toObject=function(){return JSON.parse(this.toJSON())},r.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)},r.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this},r.prototype.getProperty=function(e){return this.sourcemap[e]},t.fromObject=function(e){return new r(e)},t.fromJSON=function(e){return new r(e,{isJSON:!0})},t.fromURI=function(e){return new r(e,{encoding:"uri"})},t.fromBase64=function(e){return new r(e,{encoding:"base64"})},t.fromComment=function(e){var n;return new r(e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(n=t.commentRegex.exec(e))&&n[4]||"uri",hasComment:!0})},t.fromMapFileComment=function(e,n){if("string"==typeof n)throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=function(e,n){var r=t.mapFileCommentRegex.exec(e),s=r[1]||r[2];try{return null!=(e=n(s))&&"function"==typeof e.catch?e.catch(i):e}catch(e){i(e)}function i(e){throw new Error("An error occurred while trying to read the map file at "+s+"\n"+e.stack)}}(e,n);return null!=r&&"function"==typeof r.then?r.then(s):s(r)},t.fromSource=function(e){var n=e.match(t.commentRegex);return n?t.fromComment(n.pop()):null},t.fromMapFileSource=function(e,n){if("string"==typeof n)throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=e.match(t.mapFileCommentRegex);return r?t.fromMapFileComment(r.pop(),n):null},t.removeComments=function(e){return e.replace(t.commentRegex,"")},t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")},t.generateMapFileComment=function(e,t){var n="sourceMappingURL="+e;return t&&t.multiline?"/*# "+n+" */":"//# "+n}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js":(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js")(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js":(e,t,n)=>{e.exports=function(e){function t(e){let n,s,i,o=null;function a(...e){if(!a.enabled)return;const r=a,s=Number(new Date),i=s-(n||s);r.diff=i,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";o++;const i=t.formatters[s];if("function"==typeof i){const t=e[o];n=i.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(s!==t.namespaces&&(s=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n<s;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n("./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js":(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js"):e.exports=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js":(e,t,n)=>{const r=n("tty"),s=n("util");t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(s.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:s}=this;if(s){const t=this.color,s="[3"+(t<8?t:"8;5;"+t),i=` ${s};1m${r} [0m`;n[0]=i+n[0].split("\n").join("\n"+i),n.push(s+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)},t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js")(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":e=>{const t=Symbol.for("gensync:v1:start"),n=Symbol.for("gensync:v1:suspend"),r="GENSYNC_EXPECTED_START",s="GENSYNC_EXPECTED_SUSPEND",i="GENSYNC_OPTIONS_ERROR";function o(e,t,n,r){if(typeof n===e||r&&void 0===n)return;let s;throw s=r?`Expected opts.${t} to be either a ${e}, or undefined.`:`Expected opts.${t} to be a ${e}.`,a(s,i)}function a(e,t){return Object.assign(new Error(e),{code:t})}function l({name:e,arity:r,sync:s,async:i}){return f(e,r,(function*(...e){const r=yield t;if(!r)return s.call(this,e);let o;try{i.call(this,e,(e=>{o||(o={value:e},r())}),(e=>{o||(o={err:e},r())}))}catch(e){o={err:e},r()}if(yield n,o.hasOwnProperty("err"))throw o.err;return o.value}))}function p(e){let t;for(;!({value:t}=e.next()).done;)u(t,e);return t}function c(e,t,n){!function r(){try{let n;for(;!({value:n}=e.next()).done;){u(n,e);let t=!0,s=!1;const i=e.next((()=>{t?s=!0:r()}));if(t=!1,d(i,e),!s)return}return t(n)}catch(e){return n(e)}}()}function u(e,n){e!==t&&h(n,a(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function d({value:e,done:t},r){(t||e!==n)&&h(r,a(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function h(e,t){throw e.throw&&e.throw(t),t}function f(e,t,n){if("string"==typeof e){const t=Object.getOwnPropertyDescriptor(n,"name");t&&!t.configurable||Object.defineProperty(n,"name",Object.assign(t||{},{configurable:!0,value:e}))}if("number"==typeof t){const e=Object.getOwnPropertyDescriptor(n,"length");e&&!e.configurable||Object.defineProperty(n,"length",Object.assign(e||{},{configurable:!0,value:t}))}return n}e.exports=Object.assign((function(e){let t=e;return t="function"!=typeof e?function({name:e,arity:t,sync:n,async:r,errback:s}){if(o("string","name",e,!0),o("number","arity",t,!0),o("function","sync",n),o("function","async",r,!0),o("function","errback",s,!0),r&&s)throw a("Expected one of either opts.async or opts.errback, but got _both_.",i);if("string"!=typeof e){let t;s&&s.name&&"errback"!==s.name&&(t=s.name),r&&r.name&&"async"!==r.name&&(t=r.name.replace(/Async$/,"")),n&&n.name&&"sync"!==n.name&&(t=n.name.replace(/Sync$/,"")),"string"==typeof t&&(e=t)}return"number"!=typeof t&&(t=n.length),l({name:e,arity:t,sync:function(e){return n.apply(this,e)},async:function(e,t,i){r?r.apply(this,e).then(t,i):s?s.call(this,...e,((e,n)=>{null==e?t(n):i(e)})):t(n.apply(this,e))}})}(e):function(e){return f(e.name,e.length,(function(...t){return e.apply(this,t)}))}(e),Object.assign(t,function(e){return{sync:function(...t){return p(e.apply(this,t))},async:function(...t){return new Promise(((n,r)=>{c(e.apply(this,t),n,r)}))},errback:function(...t){const n=t.pop();if("function"!=typeof n)throw a("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let r;try{r=e.apply(this,t)}catch(e){return void n(e)}c(r,(e=>n(void 0,e)),(e=>n(e)))}}}(t))}),{all:l({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map((e=>p(e)))},async:function(e,t,n){const r=Array.from(e[0]);if(0===r.length)return void Promise.resolve().then((()=>t([])));let s=0;const i=r.map((()=>{}));r.forEach(((e,r)=>{c(e,(e=>{i[r]=e,s+=1,s===i.length&&t(i)}),n)}))}}),race:l({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(0===t.length)throw a("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return p(t[0])},async:function(e,t,n){const r=Array.from(e[0]);if(0===r.length)throw a("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(const e of r)c(e,t,n)}})})},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js":(e,t,n)=>{e.exports=n("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json")},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":e=>{e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),s=t.indexOf("--");return-1!==r&&(-1===s||r<s)}},"./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js":e=>{const t={},n=t.hasOwnProperty,r=(e,t)=>{for(const r in e)n.call(e,r)&&t(r,e[r])},s=t.toString,i=Array.isArray,o=Buffer.isBuffer,a={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},l=/["'\\\b\f\n\r\t]/,p=/[0-9]/,c=/[ !#-&\(-\[\]-_a-~]/,u=(e,t)=>{const n=()=>{v=E,++t.indentLevel,E=t.indent.repeat(t.indentLevel)},d={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},h=t&&t.json;var f,m;h&&(d.quotes="double",d.wrap=!0),f=d,"single"!=(t=(m=t)?(r(m,((e,t)=>{f[e]=t})),f):f).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const y="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",b=t.compact,g=t.lowercaseHex;let E=t.indent.repeat(t.indentLevel),v="";const x=t.__inline1__,T=t.__inline2__,S=b?"":"\n";let P,_=!0;const A="binary"==t.numbers,w="octal"==t.numbers,C="decimal"==t.numbers,D="hexadecimal"==t.numbers;if(h&&e&&(e=>"function"==typeof e)(e.toJSON)&&(e=e.toJSON()),!(e=>"string"==typeof e||"[object String]"==s.call(e))(e)){if((e=>"[object Map]"==s.call(e))(e))return 0==e.size?"new Map()":(b||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+u(Array.from(e),t)+")");if((e=>"[object Set]"==s.call(e))(e))return 0==e.size?"new Set()":"new Set("+u(Array.from(e),t)+")";if(o(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+u(Array.from(e),t)+")";if(i(e))return P=[],t.wrap=!0,x&&(t.__inline1__=!1,t.__inline2__=!0),T||n(),((e,t)=>{const n=e.length;let r=-1;for(;++r<n;)t(e[r])})(e,(e=>{_=!1,T&&(t.__inline2__=!1),P.push((b||T?"":E)+u(e,t))})),_?"[]":T?"["+P.join(", ")+"]":"["+S+P.join(","+S)+S+(b?"":v)+"]";if(!(e=>"number"==typeof e||"[object Number]"==s.call(e))(e))return(e=>"[object Object]"==s.call(e))(e)?(P=[],t.wrap=!0,n(),r(e,((e,n)=>{_=!1,P.push((b?"":E)+u(e,t)+":"+(b?"":" ")+u(n,t))})),_?"{}":"{"+S+P.join(","+S)+S+(b?"":v)+"}"):h?JSON.stringify(e)||"null":String(e);if(h)return JSON.stringify(e);if(C)return String(e);if(D){let t=e.toString(16);return g||(t=t.toUpperCase()),"0x"+t}if(A)return"0b"+e.toString(2);if(w)return"0o"+e.toString(8)}const I=e;let O=-1;const N=I.length;for(P="";++O<N;){const e=I.charAt(O);if(t.es6){const e=I.charCodeAt(O);if(e>=55296&&e<=56319&&N>O+1){const t=I.charCodeAt(O+1);if(t>=56320&&t<=57343){let n=(1024*(e-55296)+t-56320+65536).toString(16);g||(n=n.toUpperCase()),P+="\\u{"+n+"}",++O;continue}}}if(!t.escapeEverything){if(c.test(e)){P+=e;continue}if('"'==e){P+=y==e?'\\"':e;continue}if("`"==e){P+=y==e?"\\`":e;continue}if("'"==e){P+=y==e?"\\'":e;continue}}if("\0"==e&&!h&&!p.test(I.charAt(O+1))){P+="\\0";continue}if(l.test(e)){P+=a[e];continue}const n=e.charCodeAt(0);if(t.minimal&&8232!=n&&8233!=n){P+=e;continue}let r=n.toString(16);g||(r=r.toUpperCase());const s=r.length>2||h,i="\\"+(s?"u":"x")+("0000"+r).slice(s?-4:-2);P+=i}return t.wrap&&(P=y+P+y),"`"==y&&(P=P.replace(/\$\{/g,"\\${")),t.isScriptContext?P.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,h?"\\u003C!--":"\\x3C!--"):P};u.version="2.5.2",e.exports=u},"./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js":e=>{var t=1e3,n=60*t,r=60*n,s=24*r,i=7*s;function o(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,a){a=a||{};var l,p,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(l=e,(p=Math.abs(l))>=s?o(l,p,s,"day"):p>=r?o(l,p,r,"hour"):p>=n?o(l,p,n,"minute"):p>=t?o(l,p,t,"second"):l+" ms"):function(e){var i=Math.abs(e);return i>=s?Math.round(e/s)+"d":i>=r?Math.round(e/r)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(e,t)=>{var n;t=e.exports=y,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=256,s=Number.MAX_SAFE_INTEGER||9007199254740991,i=r-6,o=t.re=[],a=t.safeRe=[],l=t.src=[],p=t.tokens={},c=0;function u(e){p[e]=c++}var d=[["\\s",1],["\\d",r],["[a-zA-Z0-9-]",i]];function h(e){for(var t=0;t<d.length;t++){var n=d[t][0],r=d[t][1];e=e.split(n+"*").join(n+"{0,"+r+"}").split(n+"+").join(n+"{1,"+r+"}")}return e}u("NUMERICIDENTIFIER"),l[p.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),l[p.NUMERICIDENTIFIERLOOSE]="\\d+",u("NONNUMERICIDENTIFIER"),l[p.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),l[p.MAINVERSION]="("+l[p.NUMERICIDENTIFIER]+")\\.("+l[p.NUMERICIDENTIFIER]+")\\.("+l[p.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),l[p.MAINVERSIONLOOSE]="("+l[p.NUMERICIDENTIFIERLOOSE]+")\\.("+l[p.NUMERICIDENTIFIERLOOSE]+")\\.("+l[p.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),l[p.PRERELEASEIDENTIFIER]="(?:"+l[p.NUMERICIDENTIFIER]+"|"+l[p.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),l[p.PRERELEASEIDENTIFIERLOOSE]="(?:"+l[p.NUMERICIDENTIFIERLOOSE]+"|"+l[p.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),l[p.PRERELEASE]="(?:-("+l[p.PRERELEASEIDENTIFIER]+"(?:\\."+l[p.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),l[p.PRERELEASELOOSE]="(?:-?("+l[p.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+l[p.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),l[p.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",u("BUILD"),l[p.BUILD]="(?:\\+("+l[p.BUILDIDENTIFIER]+"(?:\\."+l[p.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),l[p.FULLPLAIN]="v?"+l[p.MAINVERSION]+l[p.PRERELEASE]+"?"+l[p.BUILD]+"?",l[p.FULL]="^"+l[p.FULLPLAIN]+"$",u("LOOSEPLAIN"),l[p.LOOSEPLAIN]="[v=\\s]*"+l[p.MAINVERSIONLOOSE]+l[p.PRERELEASELOOSE]+"?"+l[p.BUILD]+"?",u("LOOSE"),l[p.LOOSE]="^"+l[p.LOOSEPLAIN]+"$",u("GTLT"),l[p.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),l[p.XRANGEIDENTIFIERLOOSE]=l[p.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),l[p.XRANGEIDENTIFIER]=l[p.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),l[p.XRANGEPLAIN]="[v=\\s]*("+l[p.XRANGEIDENTIFIER]+")(?:\\.("+l[p.XRANGEIDENTIFIER]+")(?:\\.("+l[p.XRANGEIDENTIFIER]+")(?:"+l[p.PRERELEASE]+")?"+l[p.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),l[p.XRANGEPLAINLOOSE]="[v=\\s]*("+l[p.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+l[p.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+l[p.XRANGEIDENTIFIERLOOSE]+")(?:"+l[p.PRERELEASELOOSE]+")?"+l[p.BUILD]+"?)?)?",u("XRANGE"),l[p.XRANGE]="^"+l[p.GTLT]+"\\s*"+l[p.XRANGEPLAIN]+"$",u("XRANGELOOSE"),l[p.XRANGELOOSE]="^"+l[p.GTLT]+"\\s*"+l[p.XRANGEPLAINLOOSE]+"$",u("COERCE"),l[p.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),o[p.COERCERTL]=new RegExp(l[p.COERCE],"g"),a[p.COERCERTL]=new RegExp(h(l[p.COERCE]),"g"),u("LONETILDE"),l[p.LONETILDE]="(?:~>?)",u("TILDETRIM"),l[p.TILDETRIM]="(\\s*)"+l[p.LONETILDE]+"\\s+",o[p.TILDETRIM]=new RegExp(l[p.TILDETRIM],"g"),a[p.TILDETRIM]=new RegExp(h(l[p.TILDETRIM]),"g"),u("TILDE"),l[p.TILDE]="^"+l[p.LONETILDE]+l[p.XRANGEPLAIN]+"$",u("TILDELOOSE"),l[p.TILDELOOSE]="^"+l[p.LONETILDE]+l[p.XRANGEPLAINLOOSE]+"$",u("LONECARET"),l[p.LONECARET]="(?:\\^)",u("CARETTRIM"),l[p.CARETTRIM]="(\\s*)"+l[p.LONECARET]+"\\s+",o[p.CARETTRIM]=new RegExp(l[p.CARETTRIM],"g"),a[p.CARETTRIM]=new RegExp(h(l[p.CARETTRIM]),"g"),u("CARET"),l[p.CARET]="^"+l[p.LONECARET]+l[p.XRANGEPLAIN]+"$",u("CARETLOOSE"),l[p.CARETLOOSE]="^"+l[p.LONECARET]+l[p.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),l[p.COMPARATORLOOSE]="^"+l[p.GTLT]+"\\s*("+l[p.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),l[p.COMPARATOR]="^"+l[p.GTLT]+"\\s*("+l[p.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),l[p.COMPARATORTRIM]="(\\s*)"+l[p.GTLT]+"\\s*("+l[p.LOOSEPLAIN]+"|"+l[p.XRANGEPLAIN]+")",o[p.COMPARATORTRIM]=new RegExp(l[p.COMPARATORTRIM],"g"),a[p.COMPARATORTRIM]=new RegExp(h(l[p.COMPARATORTRIM]),"g"),u("HYPHENRANGE"),l[p.HYPHENRANGE]="^\\s*("+l[p.XRANGEPLAIN]+")\\s+-\\s+("+l[p.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),l[p.HYPHENRANGELOOSE]="^\\s*("+l[p.XRANGEPLAINLOOSE]+")\\s+-\\s+("+l[p.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),l[p.STAR]="(<|>)?=?\\s*\\*";for(var f=0;f<c;f++)n(f,l[f]),o[f]||(o[f]=new RegExp(l[f]),a[f]=new RegExp(h(l[f])));function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof y)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?a[p.LOOSE]:a[p.FULL]).test(e))return null;try{return new y(e,t)}catch(e){return null}}function y(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof y){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof y))return new y(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var i=e.trim().match(t.loose?a[p.LOOSE]:a[p.FULL]);if(!i)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}t.parse=m,t.valid=function(e,t){var n=m(e,t);return n?n.version:null},t.clean=function(e,t){var n=m(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=y,y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},y.prototype.toString=function(){return this.version},y.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof y||(e=new y(e,this.options)),this.compareMain(e)||this.comparePre(e)},y.prototype.compareMain=function(e){return e instanceof y||(e=new y(e,this.options)),g(this.major,e.major)||g(this.minor,e.minor)||g(this.patch,e.patch)},y.prototype.comparePre=function(e){if(e instanceof y||(e=new y(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],s=e.prerelease[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return g(r,s)}while(++t)},y.prototype.compareBuild=function(e){e instanceof y||(e=new y(e,this.options));var t=0;do{var r=this.build[t],s=e.build[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return g(r,s)}while(++t)},y.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new y(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(T(e,t))return null;var n=m(e),r=m(t),s="";if(n.prerelease.length||r.prerelease.length){s="pre";var i="prerelease"}for(var o in n)if(("major"===o||"minor"===o||"patch"===o)&&n[o]!==r[o])return s+o;return i},t.compareIdentifiers=g;var b=/^[0-9]+$/;function g(e,t){var n=b.test(e),r=b.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function E(e,t,n){return new y(e,n).compare(new y(t,n))}function v(e,t,n){return E(e,t,n)>0}function x(e,t,n){return E(e,t,n)<0}function T(e,t,n){return 0===E(e,t,n)}function S(e,t,n){return 0!==E(e,t,n)}function P(e,t,n){return E(e,t,n)>=0}function _(e,t,n){return E(e,t,n)<=0}function A(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return T(e,n,r);case"!=":return S(e,n,r);case">":return v(e,n,r);case">=":return P(e,n,r);case"<":return x(e,n,r);case"<=":return _(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);e=e.trim().split(/\s+/).join(" "),n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===C?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return g(t,e)},t.major=function(e,t){return new y(e,t).major},t.minor=function(e,t){return new y(e,t).minor},t.patch=function(e,t){return new y(e,t).patch},t.compare=E,t.compareLoose=function(e,t){return E(e,t,!0)},t.compareBuild=function(e,t,n){var r=new y(e,n),s=new y(t,n);return r.compare(s)||r.compareBuild(s)},t.rcompare=function(e,t,n){return E(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=v,t.lt=x,t.eq=T,t.neq=S,t.gte=P,t.lte=_,t.cmp=A,t.Comparator=w;var C={};function D(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof D)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new D(e.raw,t);if(e instanceof w)return new D(e.value,t);if(!(this instanceof D))return new D(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function I(e,t){for(var n=!0,r=e.slice(),s=r.pop();n&&r.length;)n=r.every((function(e){return s.intersects(e,t)})),s=r.pop();return n}function O(e){return!e||"x"===e.toLowerCase()||"*"===e}function N(e,t,n,r,s,i,o,a,l,p,c,u,d){return((t=O(n)?"":O(r)?">="+n+".0.0":O(s)?">="+n+"."+r+".0":">="+t)+" "+(a=O(l)?"":O(p)?"<"+(+l+1)+".0.0":O(c)?"<"+l+"."+(+p+1)+".0":u?"<="+l+"."+p+"."+c+"-"+u:"<="+a)).trim()}function j(e,t,r){for(var s=0;s<e.length;s++)if(!e[s].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(s=0;s<e.length;s++)if(n(e[s].semver),e[s].semver!==C&&e[s].semver.prerelease.length>0){var i=e[s].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function k(e,t,n){try{t=new D(t,n)}catch(e){return!1}return t.test(e)}function L(e,t,n,r){var s,i,o,a,l;switch(e=new y(e,r),t=new D(t,r),n){case">":s=v,i=_,o=x,a=">",l=">=";break;case"<":s=x,i=P,o=v,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(k(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var c=t.set[p],u=null,d=null;if(c.forEach((function(e){e.semver===C&&(e=new w(">=0.0.0")),u=u||e,d=d||e,s(e.semver,u.semver,r)?u=e:o(e.semver,d.semver,r)&&(d=e)})),u.operator===a||u.operator===l)return!1;if((!d.operator||d.operator===a)&&i(e,d.semver))return!1;if(d.operator===l&&o(e,d.semver))return!1}return!0}w.prototype.parse=function(e){var t=this.options.loose?a[p.COMPARATORLOOSE]:a[p.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new y(n[2],this.options.loose):this.semver=C},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)return!0;if("string"==typeof e)try{e=new y(e,this.options)}catch(e){return!1}return A(e,this.operator,this.semver,this.options)},w.prototype.intersects=function(e,t){if(!(e instanceof w))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new D(e.value,t),k(this.value,n,t));if(""===e.operator)return""===e.value||(n=new D(this.value,t),k(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=A(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=A(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||s||i&&o||a||l},t.Range=D,D.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},D.prototype.toString=function(){return this.range},D.prototype.parseRange=function(e){var t=this.options.loose,r=t?a[p.HYPHENRANGELOOSE]:a[p.HYPHENRANGE];e=e.replace(r,N),n("hyphen replace",e),e=e.replace(a[p.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,a[p.COMPARATORTRIM]),e=(e=(e=e.replace(a[p.TILDETRIM],"$1~")).replace(a[p.CARETTRIM],"$1^")).split(/\s+/).join(" ");var s=t?a[p.COMPARATORLOOSE]:a[p.COMPARATOR],i=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?a[p.CARETLOOSE]:a[p.CARET];return e.replace(r,(function(t,r,s,i,o){var a;return n("caret",e,t,r,s,i,o),O(r)?a="":O(s)?a=">="+r+".0.0 <"+(+r+1)+".0.0":O(i)?a="0"===r?">="+r+"."+s+".0 <"+r+"."+(+s+1)+".0":">="+r+"."+s+".0 <"+(+r+1)+".0.0":o?(n("replaceCaret pr",o),a="0"===r?"0"===s?">="+r+"."+s+"."+i+"-"+o+" <"+r+"."+s+"."+(+i+1):">="+r+"."+s+"."+i+"-"+o+" <"+r+"."+(+s+1)+".0":">="+r+"."+s+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===s?">="+r+"."+s+"."+i+" <"+r+"."+s+"."+(+i+1):">="+r+"."+s+"."+i+" <"+r+"."+(+s+1)+".0":">="+r+"."+s+"."+i+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?a[p.TILDELOOSE]:a[p.TILDE];return e.replace(r,(function(t,r,s,i,o){var a;return n("tilde",e,t,r,s,i,o),O(r)?a="":O(s)?a=">="+r+".0.0 <"+(+r+1)+".0.0":O(i)?a=">="+r+"."+s+".0 <"+r+"."+(+s+1)+".0":o?(n("replaceTilde pr",o),a=">="+r+"."+s+"."+i+"-"+o+" <"+r+"."+(+s+1)+".0"):a=">="+r+"."+s+"."+i+" <"+r+"."+(+s+1)+".0",n("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?a[p.XRANGELOOSE]:a[p.XRANGE];return e.replace(r,(function(r,s,i,o,a,l){n("xRange",e,r,s,i,o,a,l);var p=O(i),c=p||O(o),u=c||O(a),d=u;return"="===s&&d&&(s=""),l=t.includePrerelease?"-0":"",p?r=">"===s||"<"===s?"<0.0.0-0":"*":s&&d?(c&&(o=0),a=0,">"===s?(s=">=",c?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===s&&(s="<",c?i=+i+1:o=+o+1),r=s+i+"."+o+"."+a+l):c?r=">="+i+".0.0"+l+" <"+(+i+1)+".0.0"+l:u&&(r=">="+i+"."+o+".0"+l+" <"+i+"."+(+o+1)+".0"+l),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(a[p.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter((function(e){return!!e.match(s)}))),i.map((function(e){return new w(e,this.options)}),this)},D.prototype.intersects=function(e,t){if(!(e instanceof D))throw new TypeError("a Range is required");return this.set.some((function(n){return I(n,t)&&e.set.some((function(e){return I(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new D(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},D.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new y(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(j(this.set[t],e,this.options))return!0;return!1},t.satisfies=k,t.maxSatisfying=function(e,t,n){var r=null,s=null;try{var i=new D(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&-1!==s.compare(e)||(s=new y(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,s=null;try{var i=new D(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&1!==s.compare(e)||(s=new y(r=e,n)))})),r},t.minVersion=function(e,t){e=new D(e,t);var n=new y("0.0.0");if(e.test(n))return n;if(n=new y("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new y(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!v(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new D(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return L(e,t,"<",n)},t.gtr=function(e,t,n){return L(e,t,">",n)},t.outside=L,t.prerelease=function(e,t){var n=m(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new D(e,n),t=new D(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof y)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=a[p.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),a[p.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;a[p.COERCERTL].lastIndex=-1}else n=e.match(a[p.COERCE]);return null===n?null:m(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(e,t,n)=>{const r=n("os"),s=n("tty"),i=n("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:o}=process;let a;function l(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const n=a||0;if("dumb"===o.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?a=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=1),"FORCE_COLOR"in o&&(a="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return l(p(e,e&&e.isTTY))},stdout:l(p(!0,s.isatty(1))),stderr:l(p(!0,s.isatty(2)))}},"./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js":e=>{let t=null;function n(e){if(null!==t&&(t.property,1)){const e=t;return t=n.prototype=null,e}return t=n.prototype=null==e?Object.create(null):e,new n}n(),e.exports=function(e){return n(e)}},"./stubs/babel-codeframe.js":(e,t,n)=>{function r(){return""}n.r(t),n.d(t,{codeFrameColumns:()=>r})},"./stubs/helper-compilation-targets.js":(e,t,n)=>{function r(){return{}}n.r(t),n.d(t,{default:()=>r})},assert:e=>{e.exports=c},fs:e=>{e.exports=r},module:e=>{e.exports=s},os:e=>{e.exports=a},path:e=>{e.exports=i},process:e=>{e.exports=u},tty:e=>{e.exports=f},url:e=>{e.exports=p},util:e=>{e.exports=h},v8:e=>{e.exports=d},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.assertSimpleType=f,t.makeStrongCache=p,t.makeStrongCacheSync=function(e){return o(p(e))},t.makeWeakCache=l,t.makeWeakCacheSync=function(e){return o(l(e))};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js");const o=e=>r()(e).sync;function*a(){return!0}function l(e){return c(WeakMap,e)}function p(e){return c(Map,e)}function c(e,t){const n=new e,r=new e,o=new e;return function*(e,a){const l=yield*(0,s.isAsync)(),p=l?r:n,c=yield*function*(e,t,n,r,i){const o=yield*u(t,r,i);if(o.valid)return o;if(e){const e=yield*u(n,r,i);if(e.valid)return{valid:!0,value:yield*(0,s.waitFor)(e.value.promise)}}return{valid:!1,value:null}}(l,p,o,e,a);if(c.valid)return c.value;const f=new h(a),y=t(e,f);let b,g;return g=(0,i.isIterableIterator)(y)?yield*(0,s.onFirstPause)(y,(()=>{b=function(e,t,n){const r=new m;return d(t,e,n,r),r}(f,o,e)})):y,d(p,f,e,g),b&&(o.delete(e),b.release(g)),g}}function*u(e,t,n){const r=e.get(t);if(r)for(const{value:e,valid:t}of r)if(yield*t(n))return{valid:!0,value:e};return{valid:!1,value:null}}function d(e,t,n,r){t.configured()||t.forever();let s=e.get(n);switch(t.deactivate(),t.mode()){case"forever":s=[{value:r,valid:a}],e.set(n,s);break;case"invalidate":s=[{value:r,valid:t.validator()}],e.set(n,s);break;case"valid":s?s.push({value:r,valid:t.validator()}):(s=[{value:r,valid:t.validator()}],e.set(n,s))}}class h{constructor(e){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=e}simple(){return function(e){function t(t){if("boolean"!=typeof t)return e.using((()=>f(t())));t?e.forever():e.never()}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=t=>e.using((()=>f(t()))),t.invalidate=t=>e.invalidate((()=>f(t()))),t}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(e){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;const t=e(this._data),n=(0,s.maybeAsync)(e,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,s.isThenable)(t)?t.then((e=>(this._pairs.push([e,n]),e))):(this._pairs.push([t,n]),t)}invalidate(e){return this._invalidate=!0,this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[n,r]of e)if(n!==(yield*r(t)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function f(e){if((0,s.isThenable)(e))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(null!=e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e)throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return e}class m{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise((e=>{this._resolve=e}))}release(e){this.released=!0,this._resolve(e)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}function s(){const e=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.buildPresetChain=function*(e,t){const n=yield*f(e,t);return n?{plugins:B(n.plugins),presets:B(n.presets),options:n.options.map((e=>M(e))),files:new Set}:null},t.buildPresetChainWalker=void 0,t.buildRootChain=function*(e,t){let n,s;const i=new a.ConfigPrinter,l=yield*T({options:e,dirname:t.cwd},t,void 0,i);if(!l)return null;const p=yield*i.output();let u;"string"==typeof e.configFile?u=yield*(0,c.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):!1!==e.configFile&&(u=yield*(0,c.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:d,babelrcRoots:h}=e,f=t.cwd;const m=R(),y=new a.ConfigPrinter;if(u){const e=E(u),r=yield*P(e,t,void 0,y);if(!r)return null;n=yield*y.output(),void 0===d&&(d=e.options.babelrc),void 0===h&&(f=e.dirname,h=e.options.babelrcRoots),L(m,r)}let b,g,x=!1;const S=R();if((!0===d||void 0===d)&&"string"==typeof t.filename){const e=yield*(0,c.findPackageData)(t.filename);if(e&&function(e,t,n,s){if("boolean"==typeof n)return n;const i=e.root;if(void 0===n)return-1!==t.directories.indexOf(i);let a=n;return Array.isArray(a)||(a=[a]),a=a.map((e=>"string"==typeof e?r().resolve(s,e):e)),1===a.length&&a[0]===i?-1!==t.directories.indexOf(i):a.some((n=>("string"==typeof n&&(n=(0,o.default)(n,s)),t.directories.some((t=>G(n,s,t,e))))))}(t,e,h,f)){if(({ignore:b,config:g}=yield*(0,c.findRelativeConfig)(e,t.envName,t.caller)),b&&S.files.add(b.filepath),b&&W(t,b.ignore,null,b.dirname)&&(x=!0),g&&!x){const e=v(g),n=new a.ConfigPrinter,r=yield*P(e,t,void 0,n);r?(s=yield*n.output(),L(S,r)):x=!0}g&&x&&S.files.add(g.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[n,s,p].filter((e=>!!e)).join("\n\n")+"\n-----End Babel configs-----");const _=L(L(L(R(),m),S),l);return{plugins:x?[]:B(_.plugins),presets:x?[]:B(_.presets),options:x?[]:_.options.map((e=>M(e))),fileHandling:x?"ignored":"transpile",ignore:b||void 0,babelrc:g||void 0,config:u||void 0,files:_.files}};var i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/printer.js"),l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),u=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),d=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js");const h=s()("babel:config:config-chain"),f=t.buildPresetChainWalker=j({root:e=>m(e),env:(e,t)=>y(e)(t),overrides:(e,t)=>b(e)(t),overridesEnv:(e,t,n)=>g(e)(t)(n),createLogger:()=>()=>{}}),m=(0,u.makeWeakCacheSync)((e=>D(e,e.alias,d.createUncachedDescriptors))),y=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>I(e,e.alias,d.createUncachedDescriptors,t))))),b=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>O(e,e.alias,d.createUncachedDescriptors,t))))),g=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>(0,u.makeStrongCacheSync)((n=>N(e,e.alias,d.createUncachedDescriptors,t,n))))))),E=(0,u.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,i.validate)("configfile",e.options,e.filepath)}))),v=(0,u.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,i.validate)("babelrcfile",e.options,e.filepath)}))),x=(0,u.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,i.validate)("extendsfile",e.options,e.filepath)}))),T=j({root:e=>D(e,"base",d.createCachedDescriptors),env:(e,t)=>I(e,"base",d.createCachedDescriptors,t),overrides:(e,t)=>O(e,"base",d.createCachedDescriptors,t),overridesEnv:(e,t,n)=>N(e,"base",d.createCachedDescriptors,t,n),createLogger:(e,t,n)=>function(e,t,n){var r;return n?n.configure(t.showConfig,a.ChainFormatter.Programmatic,{callerName:null==(r=t.caller)?void 0:r.name}):()=>{}}(0,t,n)}),S=j({root:e=>_(e),env:(e,t)=>A(e)(t),overrides:(e,t)=>w(e)(t),overridesEnv:(e,t,n)=>C(e)(t)(n),createLogger:(e,t,n)=>function(e,t,n){return n?n.configure(t.showConfig,a.ChainFormatter.Config,{filepath:e}):()=>{}}(e.filepath,t,n)});function*P(e,t,n,r){const s=yield*S(e,t,n,r);return null==s||s.files.add(e.filepath),s}const _=(0,u.makeWeakCacheSync)((e=>D(e,e.filepath,d.createUncachedDescriptors))),A=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>I(e,e.filepath,d.createUncachedDescriptors,t))))),w=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>O(e,e.filepath,d.createUncachedDescriptors,t))))),C=(0,u.makeWeakCacheSync)((e=>(0,u.makeStrongCacheSync)((t=>(0,u.makeStrongCacheSync)((n=>N(e,e.filepath,d.createUncachedDescriptors,t,n)))))));function D({dirname:e,options:t},n,r){return r(e,t,n)}function I({dirname:e,options:t},n,r,s){var i;const o=null==(i=t.env)?void 0:i[s];return o?r(e,o,`${n}.env["${s}"]`):null}function O({dirname:e,options:t},n,r,s){var i;const o=null==(i=t.overrides)?void 0:i[s];if(!o)throw new Error("Assertion failure - missing override");return r(e,o,`${n}.overrides[${s}]`)}function N({dirname:e,options:t},n,r,s,i){var o,a;const l=null==(o=t.overrides)?void 0:o[s];if(!l)throw new Error("Assertion failure - missing override");const p=null==(a=l.env)?void 0:a[i];return p?r(e,p,`${n}.overrides[${s}].env["${i}"]`):null}function j({root:e,env:t,overrides:n,overridesEnv:r,createLogger:s}){return function*(i,o,a=new Set,l){const{dirname:p}=i,c=[],u=e(i);if(U(u,p,o,i.filepath)){c.push({config:u,envName:void 0,index:void 0});const e=t(i,o.envName);e&&U(e,p,o,i.filepath)&&c.push({config:e,envName:o.envName,index:void 0}),(u.options.overrides||[]).forEach(((e,t)=>{const s=n(i,t);if(U(s,p,o,i.filepath)){c.push({config:s,index:t,envName:void 0});const e=r(i,t,o.envName);e&&U(e,p,o,i.filepath)&&c.push({config:e,index:t,envName:o.envName})}}))}if(c.some((({config:{options:{ignore:e,only:t}}})=>W(o,e,t,p))))return null;const d=R(),h=s(i,o,l);for(const{config:e,index:t,envName:n}of c){if(!(yield*k(d,e.options,p,o,a,l)))return null;h(e,t,n),yield*F(d,e)}return d}}function*k(e,t,n,r,s,i){if(void 0===t.extends)return!0;const o=yield*(0,c.loadConfig)(t.extends,n,r.envName,r.caller);if(s.has(o))throw new Error(`Configuration cycle detected loading ${o.filepath}.\nFile already loaded following the config chain:\n`+Array.from(s,(e=>` - ${e.filepath}`)).join("\n"));s.add(o);const a=yield*P(x(o),r,s,i);return s.delete(o),!!a&&(L(e,a),!0)}function L(e,t){e.options.push(...t.options),e.plugins.push(...t.plugins),e.presets.push(...t.presets);for(const n of t.files)e.files.add(n);return e}function*F(e,{options:t,plugins:n,presets:r}){return e.options.push(t),e.plugins.push(...yield*n()),e.presets.push(...yield*r()),e}function R(){return{options:[],presets:[],plugins:[],files:new Set}}function M(e){const t=Object.assign({},e);return delete t.extends,delete t.env,delete t.overrides,delete t.plugins,delete t.presets,delete t.passPerPreset,delete t.ignore,delete t.only,delete t.test,delete t.include,delete t.exclude,hasOwnProperty.call(t,"sourceMap")&&(t.sourceMaps=t.sourceMap,delete t.sourceMap),t}function B(e){const t=new Map,n=[];for(const r of e)if("function"==typeof r.value){const e=r.value;let s=t.get(e);s||(s=new Map,t.set(e,s));let i=s.get(r.name);i?i.value=r:(i={value:r},n.push(i),r.ownPass||s.set(r.name,i))}else n.push({value:r});return n.reduce(((e,t)=>(e.push(t.value),e)),[])}function U({options:e},t,n,r){return(void 0===e.test||$(n,e.test,t,r))&&(void 0===e.include||$(n,e.include,t,r))&&(void 0===e.exclude||!$(n,e.exclude,t,r))}function $(e,t,n,r){return K(e,Array.isArray(t)?t:[t],n,r)}function V(e,t){return t instanceof RegExp?String(t):t}function W(e,t,n,r){if(t&&K(e,t,r)){var s;const n=`No config is applied to "${null!=(s=e.filename)?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,V)}\` from "${r}"`;return h(n),e.showConfig&&console.log(n),!0}if(n&&!K(e,n,r)){var i;const t=`No config is applied to "${null!=(i=e.filename)?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(n,V)}\` from "${r}"`;return h(t),e.showConfig&&console.log(t),!0}return!1}function K(e,t,n,r){return t.some((t=>G(t,n,e.filename,e,r)))}function G(e,t,n,r,s){if("function"==typeof e)return!!(0,l.endHiddenCallStack)(e)(n,{dirname:t,envName:r.envName,caller:r.caller});if("string"!=typeof n)throw new p.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",s);return"string"==typeof e&&(e=(0,o.default)(e,t)),e.test(n)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createCachedDescriptors=function(e,t,n){const{plugins:r,presets:s,passPerPreset:i}=t;return{options:c(t,e),plugins:r?()=>f(r,e)(n):()=>p([]),presets:s?()=>d(s,e)(n)(!!i):()=>p([])}},t.createDescriptor=v,t.createUncachedDescriptors=function(e,t,n){return{options:c(t,e),plugins:(0,s.once)((()=>g(t.plugins||[],e,n))),presets:(0,s.once)((()=>b(t.presets||[],e,n,!!t.passPerPreset)))}};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/functional.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js");function*p(e){return e}function c(e,t){return"string"==typeof e.browserslistConfigFile&&(e.browserslistConfigFile=(0,l.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}const u=new WeakMap,d=(0,a.makeWeakCacheSync)(((e,t)=>{const n=t.using((e=>e));return(0,a.makeStrongCacheSync)((t=>(0,a.makeStrongCache)((function*(r){return(yield*b(e,n,t,r)).map((e=>y(u,e)))}))))})),h=new WeakMap,f=(0,a.makeWeakCacheSync)(((e,t)=>{const n=t.using((e=>e));return(0,a.makeStrongCache)((function*(t){return(yield*g(e,n,t)).map((e=>y(h,e)))}))})),m={};function y(e,t){const{value:n,options:r=m}=t;if(!1===r)return t;let s=e.get(n);s||(s=new WeakMap,e.set(n,s));let i=s.get(r);if(i||(i=[],s.set(r,i)),-1===i.indexOf(t)){const e=i.filter((e=>{return r=t,(n=e).name===r.name&&n.value===r.value&&n.options===r.options&&n.dirname===r.dirname&&n.alias===r.alias&&n.ownPass===r.ownPass&&(null==(s=n.file)?void 0:s.request)===(null==(i=r.file)?void 0:i.request)&&(null==(o=n.file)?void 0:o.resolved)===(null==(a=r.file)?void 0:a.resolved);var n,r,s,i,o,a}));if(e.length>0)return e[0];i.push(t)}return t}function*b(e,t,n,r){return yield*E("preset",e,t,n,r)}function*g(e,t,n){return yield*E("plugin",e,t,n)}function*E(e,t,n,s,i){const o=yield*r().all(t.map(((t,r)=>v(t,n,{type:e,alias:`${s}$${r}`,ownPass:!!i}))));return function(e){const t=new Map;for(const n of e){if("function"!=typeof n.value)continue;let r=t.get(n.value);if(r||(r=new Set,t.set(n.value,r)),r.has(n.name)){const t=e.filter((e=>e.value===n.value));throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(t,null,2)}`].join("\n"))}r.add(n.name)}}(o),o}function*v(e,t,{type:n,alias:r,ownPass:s}){const a=(0,o.getItemDescriptor)(e);if(a)return a;let l,p,c,u=e;Array.isArray(u)&&(3===u.length?[u,p,l]=u:[u,p]=u);let d=null;if("string"==typeof u){if("string"!=typeof n)throw new Error("To resolve a string-based item, the type of item must be given");const e="plugin"===n?i.loadPlugin:i.loadPreset,r=u;({filepath:d,value:u}=yield*e(u,t)),c={request:r,resolved:d}}if(!u)throw new Error(`Unexpected falsy value: ${String(u)}`);if("object"==typeof u&&u.__esModule){if(!u.default)throw new Error("Must export a default export when using ES6 modules.");u=u.default}if("object"!=typeof u&&"function"!=typeof u)throw new Error(`Unsupported format: ${typeof u}. Expected an object or a function.`);if(null!==d&&"object"==typeof u&&u)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${d}`);return{name:l,alias:d||r,value:u,options:p,dirname:t,ownPass:s,file:c}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/configuration.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return r=function(){return e},e}function s(){const e=n("fs");return s=function(){return e},e}function i(){const e=n("path");return i=function(){return e},e}function o(){const e=n("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return o=function(){return e},e}function a(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONFIG_FILENAMES=void 0,t.findConfigUpwards=function(e){let t=e;for(;;){for(const e of b)if(s().existsSync(i().join(t,e)))return t;const e=i().dirname(t);if(t===e)break;t=e}return null},t.findRelativeConfig=function*(e,t,n){let r=null,s=null;const o=i().dirname(e.filepath);for(const l of e.directories){var a;if(r||(r=yield*_(g,l,t,n,(null==(a=e.pkg)?void 0:a.dirname)===l?T(e.pkg):null)),!s){const e=i().join(l,E);s=yield*P(e),s&&y("Found ignore %o from %o.",s.filepath,o)}}return{config:r,ignore:s}},t.findRootConfig=function(e,t,n){return _(b,e,t,n)},t.loadConfig=function*(e,t,r,s){const i=(l="8.9",a=(a=process.versions.node).split("."),l=l.split("."),+a[0]>+l[0]||a[0]==l[0]&&+a[1]>=+l[1]?n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(e,{paths:[t]},r=n("module"))=>{let s=r._findPath(e,r._nodeModulePaths(t).concat(t));if(s)return s;throw s=new Error(`Cannot resolve module '${e}'`),s.code="MODULE_NOT_FOUND",s})(e,{paths:[t]}),o=yield*A(i,r,s);var a,l;if(!o)throw new h.default("Config file contains no configuration data",i);return y("Loaded config %o from %o.",e,t),o},t.resolveShowConfigPath=function*(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(null!=t){const n=i().resolve(e,t);if(!(yield*f.stat(n)).isFile())throw new Error(`${n}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return n}return null};var l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js"),u=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js"),d=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js"),h=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),f=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js"),m=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");const y=r()("babel:config:loading:files:configuration"),b=t.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"],g=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],E=".babelignore",v=(0,l.makeWeakCache)((function*(e,t){return yield*[],{options:(0,m.endHiddenCallStack)(e)((0,p.makeConfigAPI)(t)),cacheNeedsConfiguration:!t.configured()}})),x=new WeakMap,T=(0,l.makeWeakCacheSync)((e=>{const t=e.options.babel;if(void 0===t)return null;if("object"!=typeof t||Array.isArray(t)||null===t)throw new h.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}})),S=(0,c.makeStaticFileCache)(((e,t)=>{let n;try{n=o().parse(t)}catch(t){throw new h.default(`Error while parsing config - ${t.message}`,e)}if(!n)throw new h.default("No config detected",e);if("object"!=typeof n)throw new h.default("Config returned typeof "+typeof n,e);if(Array.isArray(n))throw new h.default("Expected config object but found array",e);return delete n.$schema,{filepath:e,dirname:i().dirname(e),options:n}})),P=(0,c.makeStaticFileCache)(((e,t)=>{const n=i().dirname(e),r=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const t of r)if("!"===t[0])throw new h.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:i().dirname(e),ignore:r.map((e=>(0,d.default)(e,n)))}}));function*_(e,t,n,r,s=null){const o=(yield*a().all(e.map((e=>A(i().join(t,e),n,r))))).reduce(((e,n)=>{if(n&&e)throw new h.default(`Multiple configuration files found. Please remove one:\n - ${i().basename(e.filepath)}\n - ${n.filepath}\nfrom ${t}`);return n||e}),s);return o&&y("Found configuration %o from %o.",o.filepath,t),o}function A(e,t,n){switch(i().extname(e)){case".js":case".cjs":case".mjs":case".cts":return function*(e,t){if(!s().existsSync(e))return null;let n=yield*(0,u.default)(e,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."),r=!1;if("function"==typeof n&&({options:n,cacheNeedsConfiguration:r}=yield*v(n,t)),!n||"object"!=typeof n||Array.isArray(n))throw new h.default("Configuration should be an exported JavaScript object.",e);if("function"==typeof n.then)throw null==n.catch||n.catch((()=>{})),new h.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",e);return r&&function(e){throw new h.default('Caching was left unconfigured. Babel\'s plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don\'t call this function again.\n api.cache(true);\n\n // Don\'t cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};',e)}(e),function(e,t){let n=x.get(e);n||x.set(e,n=new Map);let r=n.get(t);return r||(r={filepath:t,dirname:i().dirname(t),options:e},n.set(t,r)),r}(n,e)}(e,{envName:t,caller:n});default:return S(e)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/import.cjs":(e,t,n)=>{e.exports=function(e){return n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files lazy recursive")(e)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return s.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(t,"findConfigUpwards",{enumerable:!0,get:function(){return s.findConfigUpwards}}),Object.defineProperty(t,"findPackageData",{enumerable:!0,get:function(){return r.findPackageData}}),Object.defineProperty(t,"findRelativeConfig",{enumerable:!0,get:function(){return s.findRelativeConfig}}),Object.defineProperty(t,"findRootConfig",{enumerable:!0,get:function(){return s.findRootConfig}}),Object.defineProperty(t,"loadConfig",{enumerable:!0,get:function(){return s.loadConfig}}),Object.defineProperty(t,"loadPlugin",{enumerable:!0,get:function(){return i.loadPlugin}}),Object.defineProperty(t,"loadPreset",{enumerable:!0,get:function(){return i.loadPreset}}),Object.defineProperty(t,"resolvePlugin",{enumerable:!0,get:function(){return i.resolvePlugin}}),Object.defineProperty(t,"resolvePreset",{enumerable:!0,get:function(){return i.resolvePreset}}),Object.defineProperty(t,"resolveShowConfigPath",{enumerable:!0,get:function(){return s.resolveShowConfigPath}});var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/package.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/configuration.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,t){switch(s().extname(e)){case".cjs":return m(e,arguments[2]);case".mjs":break;case".cts":return function(e){const t=".cts",r=!!(n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"]);let i;if(!r){const a={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:s().basename(e),presets:[[E(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};i=function(e,s){if(i&&s.endsWith(t))try{return e._compile((0,c.transformFileSync)(s,Object.assign({},a,{filename:s})).code,s)}catch(e){if(!r){const e=n("./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/package.json");o().lt(e.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw e}return n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"](e,s)},n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[t]=i}try{return m(e)}finally{r||(n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[t]===i&&delete n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").extensions[t],i=void 0)}}(e);default:try{return m(e,arguments[2])}catch(e){if("ERR_REQUIRE_ESM"!==e.code)throw e}}if(yield*(0,r.isAsync)())return yield*(0,r.waitFor)(y(e));throw new p.default(t,e)},t.supportsESM=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js");function s(){const e=n("path");return s=function(){return e},e}function i(){const e=n("url");return i=function(){return e},e}function o(){const e=n("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return o=function(){return e},e}function a(){const e=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return a=function(){return e},e}var l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js");function u(e,t,n,r,s,i,o){try{var a=e[i](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,s)}const d=a()("babel:config:loading:files:module-types");try{var h=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/import.cjs")}catch(e){}t.supportsESM=o().satisfies(process.versions.node,"^12.17 || >=13.2");const f=new Set;function m(e){if(f.has(e))return d("Auto-ignoring usage of config %o.",e),{};let t;try{f.add(e),t=(0,l.endHiddenCallStack)(n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive"))(e)}finally{f.delete(e)}var r;return null!=(r=t)&&r.__esModule?t.default||(arguments[1]?t:void 0):t}const y=(0,l.endHiddenCallStack)((b=function*(e){const t=(0,i().pathToFileURL)(e).toString();if(!h)throw new p.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e);return(yield h(t)).default},g=function(){var e=this,t=arguments;return new Promise((function(n,r){var s=b.apply(e,t);function i(e){u(s,n,r,i,o,"next",e)}function o(e){u(s,n,r,i,o,"throw",e)}i(void 0)}))},function(e){return g.apply(this,arguments)}));var b,g;function E(e){try{return n("./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/lib/index.js")}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;let n="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(n+='\nIf you are using Yarn Plug\'n\'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n'),new p.default(n,e)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/package.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.findPackageData=function*(e){let t=null;const n=[];let s=!0,i=r().dirname(e);for(;!t&&"node_modules"!==r().basename(i);){n.push(i),t=yield*a(r().join(i,o));const e=r().dirname(i);if(i===e){s=!1;break}i=e}return{filepath:e,directories:n,pkg:t,isPackage:s}};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");const o="package.json",a=(0,s.makeStaticFileCache)(((e,t)=>{let n;try{n=JSON.parse(t)}catch(t){throw new i.default(`Error while parsing JSON - ${t.message}`,e)}if(!n)throw new Error(`${e}: No config detected`);if("object"!=typeof n)throw new i.default("Config returned typeof "+typeof n,e);if(Array.isArray(n))throw new i.default("Expected config object but found array",e);return{filepath:e,dirname:r().dirname(e),options:n}}))},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/plugins.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return r=function(){return e},e}function s(){const e=n("path");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.loadPlugin=function*(e,t){const n=E(e,t,yield*(0,i.isAsync)()),r=yield*C("plugin",n);return c("Loaded plugin %o from %o.",e,t),{filepath:n,value:r}},t.loadPreset=function*(e,t){const n=v(e,t,yield*(0,i.isAsync)()),r=yield*C("preset",n);return c("Loaded preset %o from %o.",e,t),{filepath:n,value:r}},t.resolvePreset=t.resolvePlugin=void 0;var i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/module-types.js");function a(){const e=n("url");return a=function(){return e},e}var l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function p(){const e=n("fs");return p=function(){return e},e}const c=r()("babel:config:loading:files:plugins"),u=/^module:/,d=/^(?!@|module:|[^/]+\/|babel-plugin-)/,h=/^(?!@|module:|[^/]+\/|babel-preset-)/,f=/^(@babel\/)(?!plugin-|[^/]+\/)/,m=/^(@babel\/)(?!preset-|[^/]+\/)/,y=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,b=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,g=/^(@(?!babel$)[^/]+)$/,E=t.resolvePlugin=A.bind(null,"plugin"),v=t.resolvePreset=A.bind(null,"preset");function x(e,t){if(s().isAbsolute(t))return t;const n="preset"===e;return t.replace(n?h:d,`babel-${e}-`).replace(n?m:f,`$1${e}-`).replace(n?b:y,`$1babel-${e}-`).replace(g,`$1/babel-${e}`).replace(u,"")}function*T(e,t){const n=x(e,t),{error:r,value:s}=yield n;if(!r)return s;if("MODULE_NOT_FOUND"!==r.code)throw r;n===t||(yield t).error||(r.message+=`\n- If you want to resolve "${t}", use "module:${t}"`),(yield x(e,"@babel/"+t)).error||(r.message+=`\n- Did you mean "@babel/${t}"?`);const i="preset"===e?"plugin":"preset";if((yield x(i,t)).error||(r.message+=`\n- Did you accidentally pass a ${i} as a ${e}?`),"plugin"===e){const e=n.replace("-proposal-","-transform-");e===n||(yield e).error||(r.message+=`\n- Did you mean "${e}"?`)}throw r.message+="\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n",r}function S(e,t){try{return t?{error:null,value:(r=process.versions.node,s="8.9",r=r.split("."),s=s.split("."),+r[0]>+s[0]||r[0]==s[0]&&+r[1]>=+s[1]?n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve:(e,{paths:[t]},r=n("module"))=>{let s=r._findPath(e,r._nodeModulePaths(t).concat(t));if(s)return s;throw s=new Error(`Cannot resolve module '${e}'`),s.code="MODULE_NOT_FOUND",s})(e,{paths:[t]})}:{error:null,value:n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files sync recursive").resolve(e)}}catch(e){return{error:e,value:null}}var r,s}function P(e,t){try{return{error:null,value:(0,l.resolve)(e,t)}}catch(e){return{error:e,value:null}}}function _(e,t,n){const r=T(e,t);let s=r.next();for(;!s.done;)s=r.next(S(s.value,n));return s.value}function A(e,t,n,r){if(!o.supportsESM||!r)return _(e,t,n);try{const r=function(e,t,n){const r=(0,a().pathToFileURL)(s().join(n,"./babel-virtual-resolve-base.js")).href,i=T(e,t);let o=i.next();for(;!o.done;)o=i.next(P(o.value,r));return(0,a().fileURLToPath)(o.value)}(e,t,n);if(!(0,p().existsSync)(r))throw Object.assign(new Error(`Could not resolve "${t}" in file ${n}.`),{type:"MODULE_NOT_FOUND"});return r}catch(r){try{return _(e,t,n)}catch(e){if("MODULE_NOT_FOUND"===r.type)throw r;if("MODULE_NOT_FOUND"===e.type)throw e;throw r}}}var w=new Set;function*C(e,t){if(!(yield*(0,i.isAsync)())&&w.has(t))throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return w.add(t),yield*(0,o.default)(t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously.`,!0)}catch(e){throw e.message=`[BABEL]: ${e.message} (While processing: ${t})`,e}finally{w.delete(t)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/utils.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeStaticFileCache=function(e){return(0,r.makeStrongCache)((function*(t,n){const r=n.invalidate((()=>function(e){if(!i().existsSync(e))return null;try{return+i().statSync(e).mtime}catch(e){if("ENOENT"!==e.code&&"ENOTDIR"!==e.code)throw e}return null}(t)));return null===r?null:e(t,yield*s.readFile(t,"utf8"))}))};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js");function i(){const e=n("fs");return i=function(){return e},e}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/full.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js"),l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function u(){const e=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return u=function(){return e},e}var d=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js"),h=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),f=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/plugins.js"),m=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js"),y=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js"),b=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");function g(e,t){return function*(n,r){try{return yield*t(n,r)}catch(t){var s;throw/^\[BABEL\]/.test(t.message)||(t.message=`[BABEL] ${null!=(s=e.filename)?s:"unknown file"}: ${t.message}`),t}}}t.default=r()((function*(e){var t;const n=yield*(0,y.default)(e);if(!n)return null;const{options:r,context:s,fileHandling:o}=n;if("ignored"===o)return null;const a={},{plugins:p,presets:u}=r;if(!p||!u)throw new Error("Assertion failure - plugins and presets exist");const d=Object.assign({},s,{targets:r.targets}),f=e=>{const t=(0,l.getItemDescriptor)(e);if(!t)throw new Error("Assertion failure - must be config item");return t},m=u.map(f),b=p.map(f),E=[[]],v=[],x=[],T=yield*g(s,(function*e(t,n){const r=[];for(let e=0;e<t.length;e++){const i=t[e];if(!1!==i.options){try{var s=yield*C(i,d)}catch(n){throw"BABEL_UNKNOWN_OPTION"===n.code&&(0,h.checkNoUnwrappedItemOptionPairs)(t,e,"preset",n),n}x.push(s.externalDependencies),i.ownPass?r.push({preset:s.chain,pass:[]}):r.unshift({preset:s.chain,pass:n})}}if(r.length>0){E.splice(1,0,...r.map((e=>e.pass)).filter((e=>e!==n)));for(const{preset:t,pass:n}of r){if(!t)return!0;if(n.push(...t.plugins),yield*e(t.presets,n))return!0;t.options.forEach((e=>{(0,i.mergeOptions)(a,e)}))}}}))(m,E[0]);if(T)return null;const P=a;(0,i.mergeOptions)(P,r);const _=Object.assign({},d,{assumptions:null!=(t=P.assumptions)?t:{}});return yield*g(s,(function*(){E[0].unshift(...b);for(const t of E){const n=[];v.push(n);for(let r=0;r<t.length;r++){const s=t[r];if(!1!==s.options){try{var e=yield*S(s,_)}catch(e){throw"BABEL_UNKNOWN_PLUGIN_PROPERTY"===e.code&&(0,h.checkNoUnwrappedItemOptionPairs)(t,r,"plugin",e),e}n.push(e),x.push(e.externalDependencies)}}}}))(),P.plugins=v[0],P.presets=v.slice(1).filter((e=>e.length>0)).map((e=>({plugins:e}))),P.passPerPreset=P.presets.length>0,{options:P,passes:v,externalDependencies:(0,c.finalize)(x)}}));const E=e=>(0,d.makeWeakCache)((function*({value:t,options:n,dirname:r,alias:i},a){if(!1===n)throw new Error("Assertion failure");n=n||{};const l=[];let p=t;if("function"==typeof t){const c=(0,s.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),u=Object.assign({},o,e(a,l));try{p=yield*c(u,n,r)}catch(e){throw i&&(e.message+=` (While processing: ${JSON.stringify(i)})`),e}}if(!p||"object"!=typeof p)throw new Error("Plugin/Preset did not return an object.");if((0,s.isThenable)(p))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(i)})`);if(l.length>0&&(!a.configured()||"forever"===a.mode())){let e=`A plugin/preset has external untracked dependencies (${l[0]}), but the cache `;throw a.configured()?e+=" has been configured to never be invalidated. ":e+="has not been configured to be invalidated when the external dependencies change. ",e+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n(While processing: ${JSON.stringify(i)})`,new Error(e)}return{value:p,options:n,dirname:r,alias:i,externalDependencies:(0,c.finalize)(l)}})),v=E(m.makePluginAPI),x=E(m.makePresetAPI),T=(0,d.makeWeakCache)((function*({value:e,options:t,dirname:n,alias:r,externalDependencies:i},o){const l=(0,f.validatePluginObject)(e),p=Object.assign({},l);if(p.visitor&&(p.visitor=u().default.explode(Object.assign({},p.visitor))),p.inherits){const e={name:void 0,alias:`${r}$inherits`,value:p.inherits,options:t,dirname:n},a=yield*(0,s.forwardAsync)(S,(t=>o.invalidate((n=>t(e,n)))));p.pre=D(a.pre,p.pre),p.post=D(a.post,p.post),p.manipulateOptions=D(a.manipulateOptions,p.manipulateOptions),p.visitor=u().default.visitors.merge([a.visitor||{},p.visitor||{}]),a.externalDependencies.length>0&&(i=0===i.length?a.externalDependencies:(0,c.finalize)([i,a.externalDependencies]))}return new a.default(p,t,r,i)}));function*S(e,t){if(e.value instanceof a.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*T(yield*v(e,t),t)}const P=e=>e&&"function"!=typeof e,_=(e,t)=>{if(P(e.test)||P(e.include)||P(e.exclude)){const e=t.name?`"${t.name}"`:"/* your preset */";throw new b.default([`Preset ${e} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${e}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join("\n"))}},A=(e,t,n)=>{if(!t.filename){var r;const{options:t}=e;_(t,n),null==(r=t.overrides)||r.forEach((e=>_(e,n)))}},w=(0,d.makeWeakCacheSync)((({value:e,dirname:t,alias:n,externalDependencies:r})=>({options:(0,h.validate)("preset",e),alias:n,dirname:t,externalDependencies:r})));function*C(e,t){const n=w(yield*x(e,t));return A(n,t,e),{chain:yield*(0,p.buildPresetChain)(n,t),externalDependencies:n.externalDependencies}}function D(e,t){const n=[e,t].filter(Boolean);return n.length<=1?n[0]:function(...e){for(const t of n)t.apply(this,e)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/config-api.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigAPI=o,t.makePluginAPI=function(e,t){return Object.assign({},a(e,t),{assumption:t=>e.using((e=>e.assumptions[t]))})},t.makePresetAPI=a;var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/caching.js");function o(e){return{version:s.version,cache:e.simple(),env:t=>e.using((e=>void 0===t?e.envName:"function"==typeof t?(0,i.assertSimpleType)(t(e.envName)):(Array.isArray(t)?t:[t]).some((t=>{if("string"!=typeof t)throw new Error("Unexpected non-string value");return t===e.envName})))),async:()=>!1,caller:t=>e.using((e=>(0,i.assertSimpleType)(t(e.caller)))),assertVersion:l}}function a(e,t){return Object.assign({},o(e),{targets:()=>JSON.parse(e.using((e=>JSON.stringify(e.targets)))),addExternalDependency:e=>{t.push(e)}})}function l(e){if("number"==typeof e){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if("string"!=typeof e)throw new Error("Expected string or integer value.");if("*"===e||r().satisfies(s.version,e))return;const t=Error.stackTraceLimit;"number"==typeof t&&t<25&&(Error.stackTraceLimit=25);const n=new Error(`Requires Babel "${e}", but was loaded with "${s.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw"number"==typeof t&&(Error.stackTraceLimit=t),Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:s.version,range:e})}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=function(e){return Object.freeze(e)},t.flattenToSet=function(e){const t=new Set,n=[e];for(;n.length>0;)for(const e of n.pop())Array.isArray(e)?n.push(e):t.add(e);return t}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=function(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigItem=function(e,t,n){if(void 0!==n)(0,a.beginHiddenCallStack)(d.errback)(e,t,n);else{if("function"!=typeof t)return h(e,t);(0,a.beginHiddenCallStack)(d.errback)(e,void 0,n)}},t.createConfigItemAsync=function(...e){return(0,a.beginHiddenCallStack)(d.async)(...e)},t.createConfigItemSync=h,Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s.default}}),t.loadOptions=function(e,t){if(void 0!==t)(0,a.beginHiddenCallStack)(c.errback)(e,t);else{if("function"!=typeof e)return u(e);(0,a.beginHiddenCallStack)(c.errback)(void 0,e)}},t.loadOptionsAsync=function(...e){return(0,a.beginHiddenCallStack)(c.async)(...e)},t.loadOptionsSync=u,t.loadPartialConfig=function(e,t){if(void 0!==t)(0,a.beginHiddenCallStack)(l.errback)(e,t);else{if("function"!=typeof e)return p(e);(0,a.beginHiddenCallStack)(l.errback)(void 0,e)}},t.loadPartialConfigAsync=function(...e){return(0,a.beginHiddenCallStack)(l.async)(...e)},t.loadPartialConfigSync=p;var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/full.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");const l=r()(i.loadPartialConfig);function p(...e){return(0,a.beginHiddenCallStack)(l.sync)(...e)}const c=r()((function*(e){var t;const n=yield*(0,s.default)(e);return null!=(t=null==n?void 0:n.options)?t:null}));function u(...e){return(0,a.beginHiddenCallStack)(c.sync)(...e)}const d=r()(o.createConfigItem);function h(...e){return(0,a.beginHiddenCallStack)(d.sync)(...e)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigItem=function*(e,{dirname:t=".",type:n}={}){return i(yield*(0,s.createDescriptor)(e,r().resolve(t),{type:n,alias:"programmatic item"}))},t.createItemFromDescriptor=i,t.getItemDescriptor=function(e){if(null!=e&&e[o])return e._descriptor};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-descriptors.js");function i(e){return new a(e)}const o=Symbol.for("@babel/core@7 - ConfigItem");class a{constructor(e){this._descriptor=void 0,this[o]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=e,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,o,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(a.prototype)},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/partial.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=h,t.loadPartialConfig=function*(e){let t=!1;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var n=e;({showIgnoredFiles:t}=n),e=function(e,t){if(null==e)return{};var n,r,s={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(s[n]=e[n]);return s}(n,d)}const r=yield*h(e);if(!r)return null;const{options:i,babelrc:o,ignore:a,config:l,fileHandling:p,files:c}=r;return"ignored"!==p||t?((i.plugins||[]).forEach((e=>{if(e.value instanceof s.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")})),new f(i,o?o.filepath:void 0,a?a.filepath:void 0,l?l.filepath:void 0,p,c)):null};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/item.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/config-chain.js"),l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),u=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js");const d=["showIgnoredFiles"];function*h(e){if(null!=e&&("object"!=typeof e||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");const t=e?(0,p.validate)("arguments",e):{},{envName:n=(0,l.getEnv)(),cwd:s=".",root:d=".",rootMode:h="root",caller:f,cloneInputAst:m=!0}=t,y=r().resolve(s),b=function(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return null===t?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(null!==t)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".\nOne of the following config files must be in the directory tree: "${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(r().resolve(y,d),h),g="string"==typeof t.filename?r().resolve(s,t.filename):void 0,E={filename:g,cwd:y,root:b,envName:n,caller:f,showConfig:(yield*(0,c.resolveShowConfigPath)(y))===g},v=yield*(0,a.buildRootChain)(t,E);if(!v)return null;const x={assumptions:{}};return v.options.forEach((e=>{(0,i.mergeOptions)(x,e)})),{options:Object.assign({},x,{targets:(0,u.resolveTargets)(x,b),cloneInputAst:m,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:E.envName,cwd:E.cwd,root:E.root,rootMode:"root",filename:"string"==typeof E.filename?E.filename:void 0,plugins:v.plugins.map((e=>(0,o.createItemFromDescriptor)(e))),presets:v.presets.map((e=>(0,o.createItemFromDescriptor)(e)))}),context:E,fileHandling:v.fileHandling,ignore:v.ignore,babelrc:v.babelrc,config:v.config,files:v.files}}class f{constructor(e,t,n,r,s,i){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=e,this.babelignore=n,this.babelrc=t,this.config=r,this.fileHandling=s,this.files=i,Object.freeze(this)}hasFilesystemConfig(){return void 0!==this.babelrc||void 0!==this.config}}Object.freeze(f.prototype)},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/pattern-to-regex.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=r().resolve(t,e).split(r().sep);return new RegExp(["^",...n.map(((e,t)=>{const r=t===n.length-1;return"**"===e?r?c:p:"*"===e?r?l:a:0===e.indexOf("*.")?o+u(e.slice(1))+(r?i:s):u(e)+(r?i:s)}))].join(""))};const s=`\\${r().sep}`,i=`(?:${s}|$)`,o=`[^${s}]+`,a=`(?:${o}${s})`,l=`(?:${o}${i})`,p=`${a}*?`,c=`${a}*?${l}?`;function u(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");t.default=class{constructor(e,t,n,s=(0,r.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=e.name||n,this.manipulateOptions=e.manipulateOptions,this.post=e.post,this.pre=e.pre,this.visitor=e.visitor||{},this.parserOverride=e.parserOverride,this.generatorOverride=e.generatorOverride,this.options=t,this.externalDependencies=s}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/printer.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigPrinter=t.ChainFormatter=void 0;const s=t.ChainFormatter={Programmatic:0,Config:1},i={title(e,t,n){let r="";return e===s.Programmatic?(r="programmatic options",t&&(r+=" from "+t)):r="config "+n,r},loc(e,t){let n="";return null!=e&&(n+=`.overrides[${e}]`),null!=t&&(n+=`.env["${t}"]`),n},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides,delete t.env;const n=[...yield*e.plugins()];n.length&&(t.plugins=n.map((e=>o(e))));const r=[...yield*e.presets()];return r.length&&(t.presets=[...r].map((e=>o(e)))),JSON.stringify(t,void 0,2)}};function o(e){var t;let n=null==(t=e.file)?void 0:t.request;return null==n&&("object"==typeof e.value?n=e.value:"function"==typeof e.value&&(n=`[Function: ${e.value.toString().slice(0,50)} ... ]`)),null==n&&(n="[Unknown]"),void 0===e.options?n:null==e.name?[n,e.options]:[n,e.options,e.name]}class a{constructor(){this._stack=[]}configure(e,t,{callerName:n,filepath:r}){return e?(e,s,i)=>{this._stack.push({type:t,callerName:n,filepath:r,content:e,index:s,envName:i})}:()=>{}}static*format(e){let t=i.title(e.type,e.callerName,e.filepath);const n=i.loc(e.index,e.envName);return n&&(t+=` ${n}`),`${t}\n${yield*i.optionsAndDescriptors(e.content)}`}*output(){return 0===this._stack.length?"":(yield*r().all(this._stack.map((e=>a.format(e))))).join("\n\n")}}t.ConfigPrinter=a},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/resolve-targets.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}function s(){const e=n("./stubs/helper-compilation-targets.js");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveBrowserslistConfigFile=function(e,t){return r().resolve(t,e)},t.resolveTargets=function(e,t){const n=e.targets;let r;"string"==typeof n||Array.isArray(n)?r={browsers:n}:n&&(r="esmodules"in n?Object.assign({},n,{esmodules:"intersect"}):n);const{browserslistConfigFile:i}=e;let o,a=!1;return"string"==typeof i?o=i:a=!1===i,(0,s().default)(r,{ignoreBrowserslistConfig:a,configFile:o,configPath:t,browserslistEnv:e.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/util.js":(e,t)=>{function n(e,t){for(const n of Object.keys(t)){const r=t[n];void 0!==r&&(e[n]=r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.isIterableIterator=function(e){return!!e&&"function"==typeof e.next&&"function"==typeof e[Symbol.iterator]},t.mergeOptions=function(e,t){for(const r of Object.keys(t))if("parserOpts"!==r&&"generatorOpts"!==r&&"assumptions"!==r||!t[r]){const n=t[r];void 0!==n&&(e[r]=n)}else{const s=t[r];n(e[r]||(e[r]={}),s)}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js":(e,t,n)=>{function r(){const e=n("./stubs/helper-compilation-targets.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.access=o,t.assertArray=p,t.assertAssumptions=function(e,t){if(void 0===t)return;if("object"!=typeof t||null===t)throw new Error(`${i(e)} must be an object or undefined.`);let n=e;do{n=n.parent}while("root"!==n.type);const r="preset"===n.source;for(const n of Object.keys(t)){const a=o(e,n);if(!s.assumptionsNames.has(n))throw new Error(`${i(a)} is not a supported assumption.`);if("boolean"!=typeof t[n])throw new Error(`${i(a)} must be a boolean.`);if(r&&!1===t[n])throw new Error(`${i(a)} cannot be set to 'false' inside presets.`)}return t},t.assertBabelrcSearch=function(e,t){if(void 0===t||"boolean"==typeof t)return t;if(Array.isArray(t))t.forEach(((t,n)=>{if(!c(t))throw new Error(`${i(o(e,n))} must be a string/Function/RegExp.`)}));else if(!c(t))throw new Error(`${i(e)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(t)}`);return t},t.assertBoolean=a,t.assertCallerMetadata=function(e,t){const n=l(e,t);if(n){if("string"!=typeof n.name)throw new Error(`${i(e)} set but does not contain "name" property string`);for(const t of Object.keys(n)){const r=o(e,t),s=n[t];if(null!=s&&"boolean"!=typeof s&&"string"!=typeof s&&"number"!=typeof s)throw new Error(`${i(r)} must be null, undefined, a boolean, a string, or a number.`)}}return t},t.assertCompact=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"auto"!==t)throw new Error(`${i(e)} must be a boolean, "auto", or undefined`);return t},t.assertConfigApplicableTest=function(e,t){if(void 0===t)return t;if(Array.isArray(t))t.forEach(((t,n)=>{if(!c(t))throw new Error(`${i(o(e,n))} must be a string/Function/RegExp.`)}));else if(!c(t))throw new Error(`${i(e)} must be a string/Function/RegExp, or an array of those`);return t},t.assertConfigFileSearch=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"string"!=typeof t)throw new Error(`${i(e)} must be a undefined, a boolean, a string, got ${JSON.stringify(t)}`);return t},t.assertFunction=function(e,t){if(void 0!==t&&"function"!=typeof t)throw new Error(`${i(e)} must be a function, or undefined`);return t},t.assertIgnoreList=function(e,t){const n=p(e,t);return null==n||n.forEach(((t,n)=>function(e,t){if("string"!=typeof t&&"function"!=typeof t&&!(t instanceof RegExp))throw new Error(`${i(e)} must be an array of string/Function/RegExp values, or undefined`);return t}(o(e,n),t))),n},t.assertInputSourceMap=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&("object"!=typeof t||!t))throw new Error(`${i(e)} must be a boolean, object, or undefined`);return t},t.assertObject=l,t.assertPluginList=function(e,t){const n=p(e,t);return n&&n.forEach(((t,n)=>function(e,t){if(Array.isArray(t)){if(0===t.length)throw new Error(`${i(e)} must include an object`);if(t.length>3)throw new Error(`${i(e)} may only be a two-tuple or three-tuple`);if(u(o(e,0),t[0]),t.length>1){const n=t[1];if(void 0!==n&&!1!==n&&("object"!=typeof n||Array.isArray(n)||null===n))throw new Error(`${i(o(e,1))} must be an object, false, or undefined`)}if(3===t.length){const n=t[2];if(void 0!==n&&"string"!=typeof n)throw new Error(`${i(o(e,2))} must be a string, or undefined`)}}else u(e,t);return t}(o(e,n),t))),n},t.assertRootMode=function(e,t){if(void 0!==t&&"root"!==t&&"upward"!==t&&"upward-optional"!==t)throw new Error(`${i(e)} must be a "root", "upward", "upward-optional" or undefined`);return t},t.assertSourceMaps=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"inline"!==t&&"both"!==t)throw new Error(`${i(e)} must be a boolean, "inline", "both", or undefined`);return t},t.assertSourceType=function(e,t){if(void 0!==t&&"module"!==t&&"script"!==t&&"unambiguous"!==t)throw new Error(`${i(e)} must be "module", "script", "unambiguous", or undefined`);return t},t.assertString=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new Error(`${i(e)} must be a string, or undefined`);return t},t.assertTargets=function(e,t){if((0,r().isBrowsersQueryValid)(t))return t;if("object"!=typeof t||!t||Array.isArray(t))throw new Error(`${i(e)} must be a string, an array of strings or an object`);const n=o(e,"browsers"),s=o(e,"esmodules");d(n,t.browsers),a(s,t.esmodules);for(const n of Object.keys(t)){const s=t[n],l=o(e,n);if("esmodules"===n)a(l,s);else if("browsers"===n)d(l,s);else{if(!hasOwnProperty.call(r().TargetNames,n)){const e=Object.keys(r().TargetNames).join(", ");throw new Error(`${i(l)} is not a valid target. Supported targets are ${e}`)}h(l,s)}}return t},t.msg=i;var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js");function i(e){switch(e.type){case"root":return"";case"env":return`${i(e.parent)}.env["${e.name}"]`;case"overrides":return`${i(e.parent)}.overrides[${e.index}]`;case"option":return`${i(e.parent)}.${e.name}`;case"access":return`${i(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function o(e,t){return{type:"access",name:t,parent:e}}function a(e,t){if(void 0!==t&&"boolean"!=typeof t)throw new Error(`${i(e)} must be a boolean, or undefined`);return t}function l(e,t){if(void 0!==t&&("object"!=typeof t||Array.isArray(t)||!t))throw new Error(`${i(e)} must be an object, or undefined`);return t}function p(e,t){if(null!=t&&!Array.isArray(t))throw new Error(`${i(e)} must be an array, or undefined`);return t}function c(e){return"string"==typeof e||"function"==typeof e||e instanceof RegExp}function u(e,t){if(("object"!=typeof t||!t)&&"string"!=typeof t&&"function"!=typeof t)throw new Error(`${i(e)} must be a string, object, function`);return t}function d(e,t){if(void 0!==t&&!(0,r().isBrowsersQueryValid)(t))throw new Error(`${i(e)} must be undefined, a string or an array of strings`)}function h(e,t){if(("number"!=typeof t||Math.round(t)!==t)&&"string"!=typeof t)throw new Error(`${i(e)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/options.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.assumptionsNames=void 0,t.checkNoUnwrappedItemOptionPairs=function(e,t,n,r){if(0===t)return;const s=e[t-1],i=e[t];s.file&&void 0===s.options&&"object"==typeof i.value&&(r.message+=`\n- Maybe you meant to use\n"${n}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,void 0,2)}]\n]\nTo be a valid ${n}, its name and options should be wrapped in a pair of brackets`)},t.validate=function(e,t,n){try{return u({type:"root",source:e},t)}catch(e){const t=new i.default(e.message,n);throw e.code&&(t.code=e.code),t}};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/removed.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js");const o={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString},a={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch},l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString},p={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:function(e,t){if("env"===e.parent.type)throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`);const n=e.parent,r=(0,s.assertObject)(e,t);if(r)for(const t of Object.keys(r)){const i=(0,s.assertObject)((0,s.access)(e,t),r[t]);i&&u({type:"env",name:t,parent:n},i)}return r},overrides:function(e,t){if("env"===e.parent.type)throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`);if("overrides"===e.parent.type)throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`);const n=e.parent,r=(0,s.assertArray)(e,t);if(r)for(const[t,i]of r.entries()){const r=(0,s.access)(e,t),o=(0,s.assertObject)(r,i);if(!o)throw new Error(`${(0,s.msg)(r)} must be an object`);u({type:"overrides",index:t,parent:n},o)}return r},test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};function c(e){return"root"===e.type?e.source:c(e.parent)}function u(e,t){const n=c(e);return function(e){if(hasOwnProperty.call(e,"sourceMap")&&hasOwnProperty.call(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(t),Object.keys(t).forEach((r=>{const i={type:"option",name:r,parent:e};if("preset"===n&&l[r])throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`);if("arguments"!==n&&o[r])throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`);if("arguments"!==n&&"configfile"!==n&&a[r]){if("babelrcfile"===n||"extendsfile"===n)throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`);throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}(p[r]||l[r]||a[r]||o[r]||d)(i,t[r])})),t}function d(e){const t=e.name;if(r.default[t]){const{message:n,version:i=5}=r.default[t];throw new Error(`Using removed Babel ${i} option: ${(0,s.msg)(e)} - ${n}`)}{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw t.code="BABEL_UNKNOWN_OPTION",t}}Object.assign(p,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString}),t.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"])},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/plugins.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validatePluginObject=function(e){const t={type:"root",source:"plugin"};return Object.keys(e).forEach((n=>{const r=s[n];if(!r){const e=new Error(`.${n} is not a valid Plugin property`);throw e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",e}r({type:"option",name:n,parent:t},e[n])})),e};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/option-assertions.js");const s={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:function(e,t){const n=(0,r.assertObject)(e,t);if(n&&(Object.keys(n).forEach((e=>{"_exploded"!==e&&"_verified"!==e&&function(e,t){if(t&&"object"==typeof t)Object.keys(t).forEach((t=>{if("enter"!==t&&"exit"!==t)throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}));else if("function"!=typeof t)throw new Error(`.visitor["${e}"] must be a function`)}(e,n[e])})),n.enter||n.exit))throw new Error(`${(0,r.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return n},parserOverride:r.assertFunction,generatorOverride:r.assertFunction}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/validation/removed.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/config-error.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class s extends Error{constructor(e,t){super(e),(0,r.expectedError)(this),t&&(0,r.injectVirtualStackFrame)(this,t)}}t.default=s},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.beginHiddenCallStack=function(e){return s?Object.defineProperty((function(...t){return p(),e(...t)}),"name",{value:o}):e},t.endHiddenCallStack=function(e){return s?Object.defineProperty((function(...t){return e(...t)}),"name",{value:i}):e},t.expectedError=function(e){if(s)return a.add(e),e},t.injectVirtualStackFrame=function(e,t){if(!s)return;let n=l.get(e);return n||l.set(e,n=[]),n.push(function(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}(t)),e};const r=Function.call.bind(Error.prototype.toString),s=!!Error.captureStackTrace&&!0===(null==(n=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))?void 0:n.writable),i="startHiding - secret - don't use this - v1",o="stopHiding - secret - don't use this - v1",a=new WeakSet,l=new WeakMap;function p(){p=()=>{};const{prepareStackTrace:e=c}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(t,n){let r=[],s=a.has(t)?"hiding":"unknown";for(let e=0;e<n.length;e++){const a=n[e].getFunctionName();if(a===i)s="hiding";else if(a===o){if("hiding"===s)s="showing",l.has(t)&&r.unshift(...l.get(t));else if("unknown"===s){r=n;break}}else"hiding"!==s&&r.push(n[e])}return e(t,r)}}function c(e,t){return 0===t.length?r(e):`${r(e)}\n at ${t.join("\n at ")}`}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}function s(e,t,n,r,s,i,o){try{var a=e[i](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,s)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)}))}}Object.defineProperty(t,"__esModule",{value:!0}),t.forwardAsync=function(e,t){const n=r()(e);return a((e=>{const r=n[e];return t(r)}))},t.isAsync=void 0,t.isThenable=c,t.maybeAsync=function(e,t){return r()({sync(...n){const r=e.apply(this,n);if(c(r))throw new Error(t);return r},async(...t){return Promise.resolve(e.apply(this,t))}})},t.waitFor=t.onFirstPause=void 0;const o=r()((function*(e){return yield*e}));t.isAsync=r()({sync:()=>!1,errback:e=>e(null,!0)});const a=r()({sync:e=>e("sync"),async:(l=i((function*(e){return e("async")})),function(e){return l.apply(this,arguments)})});var l,p;function c(e){return!(!e||"object"!=typeof e&&"function"!=typeof e||!e.then||"function"!=typeof e.then)}t.onFirstPause=r()({name:"onFirstPause",arity:2,sync:function(e){return o.sync(e)},errback:function(e,t,n){let r=!1;o.errback(e,((e,t)=>{r=!0,n(e,t)})),r||t()}}),t.waitFor=r()({sync:e=>e,async:(p=i((function*(e){return e})),function(e){return p.apply(this,arguments)})})},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js":(e,t,n)=>{function r(){const e=n("fs");return r=function(){return e},e}function s(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.stat=t.readFile=void 0,t.readFile=s()({sync:r().readFileSync,errback:r().readFile}),t.stat=s()({sync:r().statSync,errback:r().stat})},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/functional.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.once=function(e){let t,n,s=!1;return function*(){if(!t){if(n)return s=!0,yield*(0,r.waitFor)(n);if(yield*(0,r.isAsync)()){let r,i;n=new Promise(((e,t)=>{r=e,i=t}));try{t={ok:!0,value:yield*e()},n=null,s&&r(t.value)}catch(e){t={ok:!1,value:e},n=null,s&&i(e)}}else try{t={ok:!0,value:yield*e()}}catch(e){t={ok:!1,value:e}}}if(t.ok)return t.value;throw t.value}};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(t,"File",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"buildExternalHelpers",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createConfigItem",{enumerable:!0,get:function(){return u.createConfigItem}}),Object.defineProperty(t,"createConfigItemAsync",{enumerable:!0,get:function(){return u.createConfigItemAsync}}),Object.defineProperty(t,"createConfigItemSync",{enumerable:!0,get:function(){return u.createConfigItemSync}}),Object.defineProperty(t,"getEnv",{enumerable:!0,get:function(){return o.getEnv}}),Object.defineProperty(t,"loadOptions",{enumerable:!0,get:function(){return u.loadOptions}}),Object.defineProperty(t,"loadOptionsAsync",{enumerable:!0,get:function(){return u.loadOptionsAsync}}),Object.defineProperty(t,"loadOptionsSync",{enumerable:!0,get:function(){return u.loadOptionsSync}}),Object.defineProperty(t,"loadPartialConfig",{enumerable:!0,get:function(){return u.loadPartialConfig}}),Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:!0,get:function(){return u.loadPartialConfigAsync}}),Object.defineProperty(t,"loadPartialConfigSync",{enumerable:!0,get:function(){return u.loadPartialConfigSync}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"parseAsync",{enumerable:!0,get:function(){return m.parseAsync}}),Object.defineProperty(t,"parseSync",{enumerable:!0,get:function(){return m.parseSync}}),Object.defineProperty(t,"resolvePlugin",{enumerable:!0,get:function(){return i.resolvePlugin}}),Object.defineProperty(t,"resolvePreset",{enumerable:!0,get:function(){return i.resolvePreset}}),Object.defineProperty(t,"template",{enumerable:!0,get:function(){return c().default}}),Object.defineProperty(t,"tokTypes",{enumerable:!0,get:function(){return l().tokTypes}}),Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return d.transform}}),Object.defineProperty(t,"transformAsync",{enumerable:!0,get:function(){return d.transformAsync}}),Object.defineProperty(t,"transformFile",{enumerable:!0,get:function(){return h.transformFile}}),Object.defineProperty(t,"transformFileAsync",{enumerable:!0,get:function(){return h.transformFileAsync}}),Object.defineProperty(t,"transformFileSync",{enumerable:!0,get:function(){return h.transformFileSync}}),Object.defineProperty(t,"transformFromAst",{enumerable:!0,get:function(){return f.transformFromAst}}),Object.defineProperty(t,"transformFromAstAsync",{enumerable:!0,get:function(){return f.transformFromAstAsync}}),Object.defineProperty(t,"transformFromAstSync",{enumerable:!0,get:function(){return f.transformFromAstSync}}),Object.defineProperty(t,"transformSync",{enumerable:!0,get:function(){return d.transformSync}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return p().default}}),t.version=t.types=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/tools/build-external-helpers.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/files/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/environment.js");function a(){const e=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return a=function(){return e},e}function l(){const e=n("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js");return l=function(){return e},e}function p(){const e=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return p=function(){return e},e}function c(){const e=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");return c=function(){return e},e}Object.defineProperty(t,"types",{enumerable:!0,get:function(){return a()}});var u=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),d=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform.js"),h=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js"),f=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-ast.js"),m=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parse.js");n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),t.version="7.24.7",t.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),t.OptionManager=class{init(e){return(0,u.loadOptionsSync)(e)}},t.Plugin=function(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parse.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,t.parseAsync=function(...e){return(0,a.beginHiddenCallStack)(l.async)(...e)},t.parseSync=function(...e){return(0,a.beginHiddenCallStack)(l.sync)(...e)};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");const l=r()((function*(e,t){const n=yield*(0,s.default)(t);return null===n?null:yield*(0,i.default)(n.passes,(0,o.default)(n),e)}));t.parse=function(e,t,n){if("function"==typeof t&&(n=t,t=void 0),void 0===n)return(0,a.beginHiddenCallStack)(l.sync)(e,t);(0,a.beginHiddenCallStack)(l.errback)(e,t,n)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js");return r=function(){return e},e}function s(){const e=n("./stubs/babel-codeframe.js");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,{parserOpts:t,highlightCode:n=!0,filename:o="unknown"},a){try{const n=[];for(const s of e)for(const e of s){const{parserOverride:s}=e;if(s){const e=s(a,t,r().parse);void 0!==e&&n.push(e)}}if(0===n.length)return(0,r().parse)(a,t);if(1===n.length){if(yield*[],"function"==typeof n[0].then)throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return n[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"===e.code&&(e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.");const{loc:t,missingPlugin:r}=e;if(t){const l=(0,s().codeFrameColumns)(a,{start:{line:t.line,column:t.column+1}},{highlightCode:n});e.message=r?`${o}: `+(0,i.default)(r[0],t,l,o):`${o}: ${e.message}\n\n`+l,e.code="BABEL_PARSE_ERROR"}throw e}};var i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,s,i){let o=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):\n\n`+s;const a=n[e];if(a){const{syntax:e,transform:t}=a;if(e){const n=r(e);o+=t?`\n\nAdd ${r(t)} to the '${t.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${n} to the 'plugins' section to enable parsing.`:`\n\nAdd ${n} to the 'plugins' section of your Babel config to enable parsing.`}}return o+=`\n\nIf you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.\nYou can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:\n\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${"unknown"===i?"<name of the input file>":i} <your build command>\nSee https://babeljs.io/docs/configuration#print-effective-configs for more info.\n`,o};const n={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(n,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});const r=({name:e,url:t})=>`${e} (${t})`},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/tools/build-external-helpers.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js");return r=function(){return e},e}function s(){const e=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js");return s=function(){return e},e}function i(){const e=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");return i=function(){return e},e}function o(){const e=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="global"){let n;const r={global:w,module:C,umd:D,var:I}[t];if(!r)throw new Error(`Unsupported output type ${t}`);return n=r(e),(0,s().default)(n).code};const{arrayExpression:a,assignmentExpression:l,binaryExpression:p,blockStatement:c,callExpression:u,cloneNode:d,conditionalExpression:h,exportNamedDeclaration:f,exportSpecifier:m,expressionStatement:y,functionExpression:b,identifier:g,memberExpression:E,objectExpression:v,program:x,stringLiteral:T,unaryExpression:S,variableDeclaration:P,variableDeclarator:_}=o(),A=e=>i().default.statement`
|
|
2
|
+
(function (root, factory) {
|
|
3
|
+
if (typeof define === "function" && define.amd) {
|
|
4
|
+
define(AMD_ARGUMENTS, factory);
|
|
5
|
+
} else if (typeof exports === "object") {
|
|
6
|
+
factory(COMMON_ARGUMENTS);
|
|
7
|
+
} else {
|
|
8
|
+
factory(BROWSER_ARGUMENTS);
|
|
9
|
+
}
|
|
10
|
+
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
11
|
+
FACTORY_BODY
|
|
12
|
+
});
|
|
13
|
+
`(e);function w(e){const t=g("babelHelpers"),n=[],r=b(null,[g("global")],c(n)),s=x([y(u(r,[h(p("===",S("typeof",g("global")),T("undefined")),g("self"),g("global"))]))]);return n.push(P("var",[_(t,l("=",E(g("global"),t),v([])))])),O(n,t,e),s}function C(e){const t=[],n=O(t,null,e);return t.unshift(f(null,Object.keys(n).map((e=>m(d(n[e]),g(e)))))),x(t,[],"module")}function D(e){const t=g("babelHelpers"),n=[];return n.push(P("var",[_(t,g("global"))])),O(n,t,e),x([A({FACTORY_PARAMETERS:g("global"),BROWSER_ARGUMENTS:l("=",E(g("root"),t),v([])),COMMON_ARGUMENTS:g("exports"),AMD_ARGUMENTS:a([T("exports")]),FACTORY_BODY:n,UMD_ROOT:g("this")})])}function I(e){const t=g("babelHelpers"),n=[];n.push(P("var",[_(t,v([]))]));const r=x(n);return O(n,t,e),n.push(y(t)),r}function O(e,t,n){const s=e=>t?E(t,g(e)):g(`_${e}`),i={};return r().list.forEach((function(o){if(n&&n.indexOf(o)<0)return;const a=i[o]=s(o),{nodes:p}=r().get(o,s,t?null:`_${o}`,[],t?(e,t,n)=>{n((e=>l("=",a,e))),e.body.push(y(l("=",a,g(t))))}:null);e.push(...p)})),i}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-ast.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transformFromAst=void 0,t.transformFromAstAsync=function(...e){return(0,o.beginHiddenCallStack)(a.async)(...e)},t.transformFromAstSync=function(...e){return(0,o.beginHiddenCallStack)(a.sync)(...e)};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");const a=r()((function*(e,t,n){const r=yield*(0,s.default)(n);if(null===r)return null;if(!e)throw new Error("No AST given");return yield*(0,i.run)(r,t,e)}));t.transformFromAst=function(e,t,n,r){let s,i;if("function"==typeof n?(i=n,s=void 0):(s=n,i=r),void 0===i)return(0,o.beginHiddenCallStack)(a.sync)(e,t,s);(0,o.beginHiddenCallStack)(a.errback)(e,t,s,i)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform-file.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transformFile=function(...e){a.errback(...e)},t.transformFileAsync=function(...e){return a.async(...e)},t.transformFileSync=function(...e){return a.sync(...e)};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/gensync-utils/fs.js");const a=r()((function*(e,t){const n=Object.assign({},t,{filename:e}),r=yield*(0,s.default)(n);if(null===r)return null;const a=yield*o.readFile(e,"utf8");return yield*(0,i.run)(r,a)}))},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transform.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transform=void 0,t.transformAsync=function(...e){return(0,o.beginHiddenCallStack)(a.async)(...e)},t.transformSync=function(...e){return(0,o.beginHiddenCallStack)(a.sync)(...e)};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/index.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");const a=r()((function*(e,t){const n=yield*(0,s.default)(t);return null===n?null:yield*(0,i.run)(n,e)}));t.transform=function(e,t,n){let r,s;if("function"==typeof t?(s=t,r=void 0):(r=t,s=n),void 0===s)return(0,o.beginHiddenCallStack)(a.sync)(e,r);(0,o.beginHiddenCallStack)(a.errback)(e,r,s)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return i||(i=new s.default(Object.assign({},o,{visitor:r().default.explode(o.visitor)}),{})),i};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/plugin.js");let i;const o={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){e.body=a(e.body)}},SwitchCase:{exit({node:e}){e.consequent=a(e.consequent)}}}};function a(e){let t=Math.pow(2,30)-1,n=!1;for(let r=0;r<e.length;r++){const s=l(e[r]);if(s>t){n=!0;break}t=s}return n?function(e){const t=Object.create(null);for(let n=0;n<e.length;n++){const r=e[n],s=l(r);(t[s]||(t[s]=[])).push(r)}const n=Object.keys(t).map((e=>+e)).sort(((e,t)=>t-e));let r=0;for(const s of n){const n=t[s];for(const t of n)e[r++]=t}return e}(e.slice()):e}function l(e){const t=null==e?void 0:e._blockHoist;return null==t?1:!0===t?2:t}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js");return r=function(){return e},e}function s(){const e=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return s=function(){return e},e}function i(){const e=n("./stubs/babel-codeframe.js");return i=function(){return e},e}function o(){const e=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return o=function(){return e},e}function a(){const e=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");return a=function(){return e},e}function l(){const e=n("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const{cloneNode:p,interpreterDirective:c}=o(),u={enter(e,t){const n=e.node.loc;n&&(t.loc=n,e.stop())}};class d{constructor(e,{code:t,ast:n,inputMap:r}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=e,this.code=t,this.ast=n,this.inputMap=r,this.path=s().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){e?this.path.get("interpreter").replaceWith(c(e)):this.path.get("interpreter").remove()}set(e,t){if("helpersNamespace"===e)throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,a().getModuleName)(this.opts,this.opts)}availableHelper(e,t){let n;try{n=r().minVersion(e)}catch(e){if("BABEL_HELPER_UNKNOWN"!==e.code)throw e;return!1}return"string"!=typeof t||(l().valid(t)&&(t=`^${t}`),!l().intersects(`<${n}`,t)&&!l().intersects(">=8.0.0",t))}addHelper(e){const t=this.declarations[e];if(t)return p(t);const n=this.get("helperGenerator");if(n){const t=n(e);if(t)return t}r().minVersion(e);const s=this.declarations[e]=this.scope.generateUidIdentifier(e),i={};for(const t of r().getDependencies(e))i[t]=this.addHelper(t);const{nodes:o,globals:a}=r().get(e,(e=>i[e]),s.name,Object.keys(this.scope.getAllBindings()));a.forEach((e=>{this.path.scope.hasBinding(e,!0)&&this.path.scope.rename(e)})),o.forEach((e=>{e._compact=!0}));const l=this.path.unshiftContainer("body",o);for(const e of l)e.isVariableDeclaration()&&this.scope.registerDeclaration(e);return s}buildCodeFrameError(e,t,n=SyntaxError){let r=null==e?void 0:e.loc;if(!r&&e){const n={loc:null};(0,s().default)(e,u,this.scope,n),r=n.loc;let i="This is an error on an internal node. Probably an internal error.";r&&(i+=" Location has been estimated."),t+=` (${i})`}if(r){const{highlightCode:e=!0}=this.opts;t+="\n"+(0,i().codeFrameColumns)(this.code,{start:{line:r.start.line,column:r.start.column+1},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column+1}:void 0},{highlightCode:e})}return new n(t)}}t.default=d,d.prototype.addImport=function(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")},d.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/generate.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return r=function(){return e},e}function s(){const e=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js");return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{opts:n,ast:o,code:a,inputMap:l}=t,{generatorOpts:p}=n;p.inputSourceMap=null==l?void 0:l.toObject();const c=[];for(const t of e)for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(o,p,a,s().default);void 0!==e&&c.push(e)}}let u;if(0===c.length)u=(0,s().default)(o,p,a);else{if(1!==c.length)throw new Error("More than one plugin attempted to override codegen.");if(u=c[0],"function"==typeof u.then)throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:d,decodedMap:h=u.map}=u;return u.__mergedMap?h=Object.assign({},u.map):h&&(h=l?(0,i.default)(l.toObject(),h,p.sourceFileName):u.map),"inline"!==n.sourceMaps&&"both"!==n.sourceMaps||(d+="\n"+r().fromObject(h).toComment()),"inline"===n.sourceMaps&&(h=null),{outputCode:d,outputMap:h}};var i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/merge-map.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return r=function(){return e},e}function s(e){return Object.assign({},e,{sourceRoot:null})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const i=n.replace(/\\/g,"/");let o=!1;const a=r()(s(t),((t,n)=>t!==i||o?null:(o=!0,n.source="",s(e))));return"string"==typeof e.sourceRoot&&(a.sourceRoot=e.sourceRoot),Object.assign({},a)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/index.js":(e,t,n)=>{function r(){const e=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.run=function*(e,t,n){const u=yield*(0,a.default)(e.passes,(0,o.default)(e),t,n),d=u.opts;try{yield*function*(e,t){for(const n of t){const t=[],o=[],a=[];for(const r of n.concat([(0,i.default)()])){const n=new s.default(e,r.key,r.options);t.push([r,n]),o.push(n),a.push(r.visitor)}for(const[n,r]of t){const t=n.pre;if(t){const n=t.call(r,e);if(yield*[],c(n))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}const l=r().default.visitors.merge(a,o,e.opts.wrapPluginVisitorMethod);(0,r().default)(e.ast,l,e.scope);for(const[n,r]of t){const t=n.post;if(t){const n=t.call(r,e);if(yield*[],c(n))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(u,e.passes)}catch(e){var h;throw e.message=`${null!=(h=d.filename)?h:"unknown file"}: ${e.message}`,e.code||(e.code="BABEL_TRANSFORM_ERROR"),e}let f,m;try{!1!==d.code&&({outputCode:f,outputMap:m}=(0,l.default)(e.passes,u))}catch(e){var y;throw e.message=`${null!=(y=d.filename)?y:"unknown file"}: ${e.message}`,e.code||(e.code="BABEL_GENERATE_ERROR"),e}return{metadata:u.metadata,options:d,ast:!0===d.ast?u.ast:null,code:void 0===f?null:f,map:void 0===m?null:m,sourceType:u.ast.program.sourceType,externalDependencies:(0,p.flattenToSet)(e.externalDependencies)}};var s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/plugin-pass.js"),i=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js"),a=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-file.js"),l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/generate.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/config/helpers/deep-array.js");function c(e){return!(!e||"object"!=typeof e&&"function"!=typeof e||!e.then||"function"!=typeof e.then)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-file.js":(e,t,n)=>{function r(){const e=n("fs");return r=function(){return e},e}function s(){const e=n("path");return s=function(){return e},e}function i(){const e=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js");return i=function(){return e},e}function o(){const e=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");return o=function(){return e},e}function a(){const e=n("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,t,n,i){if(n=`${n||""}`,i){if("Program"===i.type)i=u(i,[],[]);else if("File"!==i.type)throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(i=(0,c.default)(i))}else i=yield*(0,p.default)(e,t,n);let o=null;if(!1!==t.inputSourceMap){if("object"==typeof t.inputSourceMap&&(o=a().fromObject(t.inputSourceMap)),!o){const e=b(f,i);if(e)try{o=a().fromComment("//"+e)}catch(e){h("discarding unknown inline input sourcemap")}}if(!o){const e=b(m,i);if("string"==typeof t.filename&&e)try{const n=m.exec(e),i=r().readFileSync(s().resolve(s().dirname(t.filename),n[1]),"utf8");o=a().fromJSON(i)}catch(e){h("discarding unknown file input sourcemap",e)}else e&&h("discarding un-loadable file input sourcemap")}}return new l.default(t,{code:n,ast:i,inputMap:o})};var l=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/file/file.js"),p=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/parser/index.js"),c=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js");const{file:u,traverseFast:d}=o(),h=i()("babel:transform:file"),f=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,m=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function y(e,t,n){return t&&(t=t.filter((({value:t})=>!e.test(t)||(n=t,!1)))),[t,n]}function b(e,t){let n=null;return d(t,(t=>{[t.leadingComments,n]=y(e,t.leadingComments,n),[t.innerComments,n]=y(e,t.innerComments,n),[t.trailingComments,n]=y(e,t.trailingComments,n)})),n}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/normalize-opts.js":(e,t,n)=>{function r(){const e=n("path");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{filename:t,cwd:n,filenameRelative:s=("string"==typeof t?r().relative(n,t):"unknown"),sourceType:i="module",inputSourceMap:o,sourceMaps:a=!!o,sourceRoot:l=e.options.moduleRoot,sourceFileName:p=r().basename(s),comments:c=!0,compact:u="auto"}=e.options,d=e.options,h=Object.assign({},d,{parserOpts:Object.assign({sourceType:".mjs"===r().extname(s)?"module":i,sourceFileName:t,plugins:[]},d.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:d.auxiliaryCommentBefore,auxiliaryCommentAfter:d.auxiliaryCommentAfter,retainLines:d.retainLines,comments:c,shouldPrintComment:d.shouldPrintComment,compact:u,minified:d.minified,sourceMaps:a,sourceRoot:l,sourceFileName:p},d.generatorOpts)});for(const t of e.passes)for(const e of t)e.manipulateOptions&&e.manipulateOptions(h,h.parserOpts);return h}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/plugin-pass.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n{constructor(e,t,n){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=t,this.file=e,this.opts=n||{},this.cwd=e.opts.cwd,this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}buildCodeFrameError(e,t,n){return this.file.buildCodeFrameError(e,t,n)}}t.default=n,n.prototype.getModuleName=function(){return this.file.getModuleName()},n.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(e,t)=>{function n(e,t){if(null!==e){if(t.has(e))return t.get(e);let r;if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let s=0;s<e.length;s++)r[s]="object"!=typeof e[s]?e[s]:n(e[s],t)}else{r={},t.set(e,r);const s=Object.keys(e);for(let i=0;i<s.length;i++){const o=s[i];r[o]="object"!=typeof e[o]?e[o]:n(e[o],t)}}return r}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"!=typeof e?e:n(e,new Map)}},"./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(e,t,n)=>{function r(){const e=n("assert");return r=function(){return e},e}function s(){const e=function(e,t){if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(!0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n("fs"));return s=function(){return e},e}function i(){const e=n("process");return i=function(){return e},e}function o(){const e=n("url");return o=function(){return e},e}function a(){const e=n("path");return a=function(){return e},e}function l(){const e=n("module");return l=function(){return e},e}function p(){const e=n("v8");return p=function(){return e},e}function c(){const e=n("util");return c=function(){return e},e}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.moduleResolve=me,t.resolve=function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(e,t={}){const{parentURL:n}=t;let s,i,a;if(r()(void 0!==n,"expected `parentURL` to be defined"),function(e){var t;if(void 0!==e&&"string"!=typeof e&&(t=e,!Boolean(t&&"object"==typeof t&&"href"in t&&"string"==typeof t.href&&"protocol"in t&&"string"==typeof t.protocol&&t.href&&t.protocol)))throw new m.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}(n),n)try{s=new(o().URL)(n)}catch(e){}try{if(i=fe(e)?new(o().URL)(e,s):new(o().URL)(e),a=i.protocol,"data:"===a)return{url:i.href,format:null}}catch(e){}const p=function(e,t,n){if(n){const r=n.protocol;if("http:"===r||"https:"===r){if(fe(e)){const r=null==t?void 0:t.protocol;if(r&&"https:"!==r&&"http:"!==r)throw new M(e,n,"remote imports cannot import from a local location.");return{url:(null==t?void 0:t.href)||""}}if(l().builtinModules.includes(e))throw new M(e,n,"remote imports cannot import from a local location.");throw new M(e,n,"only relative and absolute specifiers are supported.")}}}(e,i,s);if(p)return p;if(void 0===a&&i&&(a=i.protocol),"node:"===a)return{url:e};if(i&&"node:"===i.protocol)return{url:e};const c=function(e){if(void 0!==e&&e!==L){if(!Array.isArray(e))throw new k("conditions",e,"expected an array");return new Set(e)}return F}(t.conditions),u=me(e,new(o().URL)(n),c,!1);return{url:u.href,format:j(u,{parentURL:n})}}(e,{parentURL:t}).url}catch(e){const t=e;if(("ERR_UNSUPPORTED_DIR_IMPORT"===t.code||"ERR_MODULE_NOT_FOUND"===t.code)&&"string"==typeof t.url)return t.url;throw e}};const d={}.hasOwnProperty,h=/^([A-Z][a-z\d]*)+$/,f=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),m={};function y(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const b=new Map;let g;function E(e,t,n){return b.set(e,t),s=n,i=e,function(...e){const t=Error.stackTraceLimit;v()&&(Error.stackTraceLimit=0);const n=new s;v()&&(Error.stackTraceLimit=t);const o=function(e,t,n){const s=b.get(e);if(r()(void 0!==s,"expected `message` to be found"),"function"==typeof s)return r()(s.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s.length}).`),Reflect.apply(s,n,t);const i=/%[dfijoOs]/g;let o=0;for(;null!==i.exec(s);)o++;return r()(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),0===t.length?s:(t.unshift(s),Reflect.apply(c().format,null,t))}(i,e,n);return Object.defineProperties(n,{message:{value:o,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${i}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),x(n),n.code=i,n};var s,i}function v(){try{if(p().startupSnapshot.isBuildingSnapshot())return!1}catch(e){}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):d.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}m.ERR_INVALID_ARG_TYPE=E("ERR_INVALID_ARG_TYPE",((e,t,n)=>{r()("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let s="The ";if(e.endsWith(" argument"))s+=`${e} `;else{const t=e.includes(".")?"property":"argument";s+=`"${e}" ${t} `}s+="must be ";const i=[],o=[],a=[];for(const e of t)r()("string"==typeof e,"All expected entries have to be of type string"),f.has(e)?i.push(e.toLowerCase()):null===h.exec(e)?(r()("object"!==e,'The value "object" should be written as "Object"'),a.push(e)):o.push(e);if(o.length>0){const e=i.indexOf("object");-1!==e&&(i.slice(e,1),o.push("Object"))}return i.length>0&&(s+=`${i.length>1?"one of type":"of type"} ${y(i,"or")}`,(o.length>0||a.length>0)&&(s+=" or ")),o.length>0&&(s+=`an instance of ${y(o,"or")}`,a.length>0&&(s+=" or ")),a.length>0&&(a.length>1?s+=`one of ${y(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(s+="an "),s+=`${a[0]}`)),s+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,c().inspect)(e,{depth:-1})}`;let t=(0,c().inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}(n)}`,s}),TypeError),m.ERR_INVALID_MODULE_SPECIFIER=E("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),m.ERR_INVALID_PACKAGE_CONFIG=E("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),m.ERR_INVALID_PACKAGE_TARGET=E("ERR_INVALID_PACKAGE_TARGET",((e,t,n,s=!1,i=void 0)=>{const o="string"==typeof n&&!s&&n.length>0&&!n.startsWith("./");return"."===t?(r()(!1===s),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${s?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`}),Error),m.ERR_MODULE_NOT_FOUND=E("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),m.ERR_NETWORK_IMPORT_DISALLOWED=E("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),m.ERR_PACKAGE_IMPORT_NOT_DEFINED=E("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),m.ERR_PACKAGE_PATH_NOT_EXPORTED=E("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),m.ERR_UNSUPPORTED_DIR_IMPORT=E("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),m.ERR_UNSUPPORTED_RESOLVE_REQUEST=E("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),m.ERR_UNKNOWN_FILE_EXTENSION=E("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),m.ERR_INVALID_ARG_VALUE=E("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let r=(0,c().inspect)(t);return r.length>128&&(r=`${r.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${r}`}),TypeError);const x=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=v();return t&&(g=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=g),e})),T={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:S}=m,P=new Map;function _(e,{base:t,specifier:n}){const r=P.get(e);if(r)return r;let i;try{i=s().default.readFileSync(a().toNamespacedPath(e),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const l={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==i){let r;try{r=JSON.parse(i)}catch(r){const s=r,i=new S(e,(t?`"${n}" from `:"")+(0,o().fileURLToPath)(t||n),s.message);throw i.cause=s,i}l.exists=!0,T.call(r,"name")&&"string"==typeof r.name&&(l.name=r.name),T.call(r,"main")&&"string"==typeof r.main&&(l.main=r.main),T.call(r,"exports")&&(l.exports=r.exports),T.call(r,"imports")&&(l.imports=r.imports),!T.call(r,"type")||"commonjs"!==r.type&&"module"!==r.type||(l.type=r.type)}return P.set(e,l),l}function A(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){const n=_((0,o().fileURLToPath)(t),{specifier:e});if(n.exists)return n;const r=t;if(t=new URL("../package.json",t),t.pathname===r.pathname)break}return{pjsonPath:(0,o().fileURLToPath)(t),exists:!1,type:"none"}}function w(e){return A(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:C}=m,D={}.hasOwnProperty,I={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},O={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const r=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===r){const t=w(e);return"none"!==t?t:"commonjs"}if(""===r){const t=w(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const s=I[r];if(s)return s;if(n)return;const i=(0,o().fileURLToPath)(e);throw new C(r,i)},"http:":N,"https:":N,"node:":()=>"builtin"};function N(){}function j(e,t){const n=e.protocol;return D.call(O,n)&&O[n](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:k}=m,L=Object.freeze(["node","import"]),F=new Set(L),R=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:M,ERR_INVALID_MODULE_SPECIFIER:B,ERR_INVALID_PACKAGE_CONFIG:U,ERR_INVALID_PACKAGE_TARGET:$,ERR_MODULE_NOT_FOUND:V,ERR_PACKAGE_IMPORT_NOT_DEFINED:W,ERR_PACKAGE_PATH_NOT_EXPORTED:K,ERR_UNSUPPORTED_DIR_IMPORT:G,ERR_UNSUPPORTED_RESOLVE_REQUEST:q}=m,H={}.hasOwnProperty,z=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Y=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,X=/^\.|%|\\/,J=/\*/g,Q=/%2f|%5c/i,Z=new Set,ee=/[/\\]{2}/;function te(e,t,n,r,s,a,l){if(i().noDeprecation)return;const p=(0,o().fileURLToPath)(r),c=null!==ee.exec(l?e:t);i().emitWarning(`Use of deprecated ${c?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${p}${a?` imported from ${(0,o().fileURLToPath)(a)}`:""}.`,"DeprecationWarning","DEP0166")}function ne(e,t,n,r){if(i().noDeprecation)return;if("module"!==j(e,{parentURL:n.href}))return;const s=(0,o().fileURLToPath)(e.href),l=(0,o().fileURLToPath)(new(o().URL)(".",t)),p=(0,o().fileURLToPath)(n);r?a().resolve(l,r)!==s&&i().emitWarning(`Package ${l} has a "main" field set to "${r}", excluding the full filename and extension to the resolved file at "${s.slice(l.length)}", imported from ${p}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):i().emitWarning(`No "main" or "exports" field defined in the package.json for ${l} resolving the main entry point "${s.slice(l.length)}", imported from ${p}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function re(e){try{return(0,s().statSync)(e)}catch(e){}}function se(e){const t=(0,s().statSync)(e,{throwIfNoEntry:!1}),n=t?t.isFile():void 0;return null!=n&&n}function ie(e,t,n){let r;if(void 0!==t.main){if(r=new(o().URL)(t.main,e),se(r))return r;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;for(;++i<s.length&&(r=new(o().URL)(s[i],e),!se(r));)r=void 0;if(r)return ne(r,e,n,t.main),r}const s=["./index.js","./index.json","./index.node"];let i=-1;for(;++i<s.length&&(r=new(o().URL)(s[i],e),!se(r));)r=void 0;if(r)return ne(r,e,n,t.main),r;throw new V((0,o().fileURLToPath)(new(o().URL)(".",e)),(0,o().fileURLToPath)(n))}function oe(e,t,n){return new K((0,o().fileURLToPath)(new(o().URL)(".",t)),e,n&&(0,o().fileURLToPath)(n))}function ae(e,t,n,r,s){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new $((0,o().fileURLToPath)(new(o().URL)(".",n)),e,t,r,s&&(0,o().fileURLToPath)(s))}function le(e){const t=Number(e);return`${t}`===e&&t>=0&&t<4294967295}function pe(e,t,n,r,s,i,a,l,p){if("string"==typeof t)return function(e,t,n,r,s,i,a,l,p){if(""!==t&&!i&&"/"!==e[e.length-1])throw ae(n,e,r,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new(o().URL)(e),n=!0}catch(e){}if(!n)return he(i?R.call(J,e,(()=>t)):e+t,r,p)}throw ae(n,e,r,a,s)}if(null!==z.exec(e.slice(2))){if(null!==Y.exec(e.slice(2)))throw ae(n,e,r,a,s);if(!l){const o=i?n.replace("*",(()=>t)):n+t;te(i?R.call(J,e,(()=>t)):e,o,n,r,a,s,!0)}}const c=new(o().URL)(e,r),u=c.pathname,d=new(o().URL)(".",r).pathname;if(!u.startsWith(d))throw ae(n,e,r,a,s);if(""===t)return c;if(null!==z.exec(t)){const p=i?n.replace("*",(()=>t)):n+t;null===Y.exec(t)?l||te(i?R.call(J,e,(()=>t)):e,p,n,r,a,s,!1):function(e,t,n,r,s){const i=`request is not a valid match in pattern "${t}" for the "${r?"imports":"exports"}" resolution of ${(0,o().fileURLToPath)(n)}`;throw new B(e,i,s&&(0,o().fileURLToPath)(s))}(p,n,r,a,s)}return i?new(o().URL)(R.call(J,c.href,(()=>t))):new(o().URL)(t,c)}(t,n,r,e,s,i,a,l,p);if(Array.isArray(t)){const o=t;if(0===o.length)return null;let c,u=-1;for(;++u<o.length;){const t=o[u];let d;try{d=pe(e,t,n,r,s,i,a,l,p)}catch(e){if(c=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;c=null}}if(null==c)return null;throw c}if("object"==typeof t&&null!==t){const c=Object.getOwnPropertyNames(t);let u=-1;for(;++u<c.length;)if(le(c[u]))throw new U((0,o().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.');for(u=-1;++u<c.length;){const o=c[u];if("default"===o||p&&p.has(o)){const c=pe(e,t[o],n,r,s,i,a,l,p);if(void 0===c)continue;return c}}return null}if(null===t)return null;throw ae(r,t,e,a,s)}function ce(e,t,n){if(i().noDeprecation)return;const r=(0,o().fileURLToPath)(t);Z.has(r+"|"+e)||(Z.add(r+"|"+e),i().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${r}${n?` imported from ${(0,o().fileURLToPath)(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function ue(e,t,n,r,s){let i=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const r=Object.getOwnPropertyNames(e);let s=!1,i=0,a=-1;for(;++a<r.length;){const e=r[a],l=""===e||"."!==e[0];if(0==i++)s=l;else if(s!==l)throw new U((0,o().fileURLToPath)(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return s}(i,e,r)&&(i={".":i}),H.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){const n=pe(e,i[t],"",t,r,!1,!1,!1,s);if(null==n)throw oe(t,e,r);return n}let a="",l="";const p=Object.getOwnPropertyNames(i);let c=-1;for(;++c<p.length;){const n=p[c],s=n.indexOf("*");if(-1!==s&&t.startsWith(n.slice(0,s))){t.endsWith("/")&&ce(t,e,r);const i=n.slice(s+1);t.length>=n.length&&t.endsWith(i)&&1===de(a,n)&&n.lastIndexOf("*")===s&&(a=n,l=t.slice(s,t.length-i.length))}}if(a){const n=pe(e,i[a],l,a,r,!0,!1,t.endsWith("/"),s);if(null==n)throw oe(t,e,r);return n}throw oe(t,e,r)}function de(e,t){const n=e.indexOf("*"),r=t.indexOf("*"),s=-1===n?e.length:n+1,i=-1===r?t.length:r+1;return s>i?-1:i>s||-1===n?1:-1===r||e.length>t.length?-1:t.length>e.length?1:0}function he(e,t,n){if(l().builtinModules.includes(e))return new(o().URL)("node:"+e);const{packageName:r,packageSubpath:s,isScoped:i}=function(e,t){let n=e.indexOf("/"),r=!0,s=!1;"@"===e[0]&&(s=!0,-1===n||0===e.length?r=!1:n=e.indexOf("/",n+1));const i=-1===n?e:e.slice(0,n);if(null!==X.exec(i)&&(r=!1),!r)throw new B(e,"is not a valid package name",(0,o().fileURLToPath)(t));return{packageName:i,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:s}}(e,t),a=A(t);if(a.exists){const e=(0,o().pathToFileURL)(a.pjsonPath);if(a.name===r&&void 0!==a.exports&&null!==a.exports)return ue(e,s,a,t,n)}let p,c=new(o().URL)("./node_modules/"+r+"/package.json",t),u=(0,o().fileURLToPath)(c);do{const a=re(u.slice(0,-13));if(!a||!a.isDirectory()){p=u,c=new(o().URL)((i?"../../../../node_modules/":"../../../node_modules/")+r+"/package.json",c),u=(0,o().fileURLToPath)(c);continue}const l=_(u,{base:t,specifier:e});return void 0!==l.exports&&null!==l.exports?ue(c,s,l,t,n):"."===s?ie(c,l,t):new(o().URL)(s,c)}while(u.length!==p.length);throw new V(r,(0,o().fileURLToPath)(t),!1)}function fe(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function me(e,t,n,i){const p=t.protocol,c="data:"===p||"http:"===p||"https:"===p;let u;if(fe(e))try{u=new(o().URL)(e,t)}catch(n){const r=new q(e,t);throw r.cause=n,r}else if("file:"===p&&"#"===e[0])u=function(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/"))throw new B(e,"is not a valid internal imports specifier name",(0,o().fileURLToPath)(t));let r;const s=A(t);if(s.exists){r=(0,o().pathToFileURL)(s.pjsonPath);const i=s.imports;if(i)if(H.call(i,e)&&!e.includes("*")){const s=pe(r,i[e],"",e,t,!1,!0,!1,n);if(null!=s)return s}else{let s="",o="";const a=Object.getOwnPropertyNames(i);let l=-1;for(;++l<a.length;){const t=a[l],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const r=t.slice(n+1);e.length>=t.length&&e.endsWith(r)&&1===de(s,t)&&t.lastIndexOf("*")===n&&(s=t,o=e.slice(n,e.length-r.length))}}if(s){const e=pe(r,i[s],o,s,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new W(e,t&&(0,o().fileURLToPath)(new(o().URL)(".",t)),(0,o().fileURLToPath)(n))}(e,r,t)}(e,t,n);else try{u=new(o().URL)(e)}catch(r){if(c&&!l().builtinModules.includes(e)){const n=new q(e,t);throw n.cause=r,n}u=he(e,t,n)}return r()(void 0!==u,"expected to be defined"),"file:"!==u.protocol?u:function(e,t,n){if(null!==Q.exec(e.pathname))throw new B(e.pathname,'must not include encoded "/" or "\\" characters',(0,o().fileURLToPath)(t));let r;try{r=(0,o().fileURLToPath)(e)}catch(n){const r=n;throw Object.defineProperty(r,"input",{value:String(e)}),Object.defineProperty(r,"module",{value:String(t)}),r}const i=re(r.endsWith("/")?r.slice(-1):r);if(i&&i.isDirectory()){const n=new G(r,(0,o().fileURLToPath)(t));throw n.url=String(e),n}if(!i||!i.isFile()){const n=new V(r||e.pathname,t&&(0,o().fileURLToPath)(t),!0);throw n.url=String(e),n}if(!n){const t=(0,s().realpathSync)(r),{search:n,hash:i}=e;(e=(0,o().pathToFileURL)(t+(r.endsWith(a().sep)?"/":""))).search=n,e.hash=i}return e}(u,t,i)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/buffer.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,r,s){const i=this._queueCursor;i===this._queue.length&&this._allocQueue();const o=this._queue[i];o.char=e,o.repeat=t,o.line=n,o.column=r,o.filename=s,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const n=e?e.get():null;return t.map=n,n},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){const e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){const r=e.length,s=this._position;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map)return void(s.column+=r);const{column:i,identifierName:o,identifierNamePos:a,filename:l}=t;let p=t.line;null==o&&null==a||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let c=e.indexOf("\n"),u=0;for(0!==c&&this._mark(p,i,o,a,l);-1!==c;)s.line++,s.column=0,u=c+1,u<r&&void 0!==p&&this._mark(++p,0,null,null,l),c=e.indexOf("\n",u);s.column+=r-u}_mark(e,t,n,r,s){var i;null==(i=this._map)||i.mark(this._position,e,t,n,r,s)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){const e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);const n=e.identifierName,r=this._sourcePosition;n&&(this._canMarkIdName=!1,r.identifierName=n),t(),n&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}withSource(e,t,n){this._map&&this.source(e,t),n()}_normalizePosition(e,t,n){const r=t[e],s=this._sourcePosition;r&&(s.line=r.line,s.column=Math.max(r.column+n,0),s.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let n=-1,r=0;for(let s=0;s<t;s++){const t=e[s];10===t.char&&(n=r),r+=t.repeat}return-1===n?this._position.column+r:r-1-n}getCurrentLine(){let e=0;const t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/base.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:t}),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)},t.Directive=function(e){this.print(e.value,e),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:s}=e;if(r.test(s)){if(n.test(s))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${s}'`)}else this.token(`"${s}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter,e),this.print(e.program,e)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t}),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e)};const n=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/classes.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators,e);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()},t.ClassBody=function(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))},t.ClassExpression=t.ClassDeclaration=function(e,t){(s(t)||i(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()},t.ClassProperty=function(e){var t;this.printJoin(e.decorators,e);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))},t._classMethodHead=function(e){var t;this.printJoin(e.decorators,e);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isExportDefaultDeclaration:s,isExportNamedDeclaration:i}=r},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/expressions.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e,t){const n=this.inForStatementInitCounter&&"in"===e.operator&&!s.needsParens(e,t);n&&this.tokenChar(40),this.print(e.left,e),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):this.token(e.operator),this.space(),this.print(e.right,e),n&&this.tokenChar(41)},t.AssignmentPattern=function(e){this.print(e.left,e),e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t.BindExpression=function(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)},t.CallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test,e),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent,e),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate,e)},t.Decorator=function(e){this.tokenChar(64);const{expression:t}=e;!function(e){return"ParenthesizedExpression"!==e.type&&!p("CallExpression"===e.type?e.callee:e)}(t)?this.print(t,e):(this.tokenChar(40),this.print(t,e),this.tokenChar(41)),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body,e)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.print(e.expression,e),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object,e),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;o(e.property)&&"number"==typeof e.property.value&&(t=!0),t?(this.tokenChar(91),this.print(e.property,e),this.tokenChar(93)):(this.tokenChar(46),this.print(e.property,e))},t.MetaProperty=function(e){this.print(e.meta,e),this.tokenChar(46),this.print(e.property,e)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t,e),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){this.word("new"),this.space(),this.print(e.callee,e),(!this.format.minified||0!==e.arguments.length||e.optional||i(t,{callee:e})||a(t)||l(t))&&(this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?."),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e))},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeParameters,e),e.optional&&this.token("?."),this.print(e.typeArguments,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object,e),!t&&a(r))throw new TypeError("Got a MemberExpression for MemberExpression property");o(r)&&"number"==typeof r.value&&(t=!0),n&&this.token("?."),t?(this.tokenChar(91),this.print(r,e),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r,e))},t.ParenthesizedExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id,e)},t.SequenceExpression=function(e){this.printList(e.expressions,e)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument,e)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.printTerminatorless(e.argument,e,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument,e))):e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js");const{isCallExpression:i,isLiteral:o,isMemberExpression:a,isNewExpression:l}=r;function p(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&p(e.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/flow.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,e,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){o(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),s.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),u.call(this,e)},t.DeclareFunction=function(e,t){o(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),e.predicate&&(this.space(),this.print(e.predicate,e)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation,e)},t.DeclareOpaqueType=function(e,t){o(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){o(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value,e),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;l(this,"boolean",t),p(this,e)},t.EnumBooleanMember=function(e){c(this,e)},t.EnumDeclaration=function(e){const{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t,e),this.print(n,e)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t,e),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;l(this,"number",t),p(this,e)},t.EnumNumberMember=function(e){c(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;l(this,"string",t),p(this,e)},t.EnumStringMember=function(e){c(this,e)},t.EnumSymbolBody=function(e){l(this,"symbol",!0),p(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters,e),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation,e),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params,e),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest,e)),this.tokenChar(41);const n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType,e)},t.FunctionTypeParam=function(e){this.print(e.name,e),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation,e)},t.IndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,e,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),this.space(),this.print(e.body,e)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:d})},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation,e)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value,e)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id,e),this.tokenChar(58),this.space()),this.print(e.key,e),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value,e)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id,e),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value,e)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space()),this._variance(e),this.print(e.key,e),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value,e)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument,e)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype,e)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype,e)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType,e),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.tokenChar(46),this.print(e.id,e)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types,e),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e),this.semicolon()},t.TypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params,e,{}),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:h})},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,n,r;this.print(e.id,e),this.print(e.typeParameters,e),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),"DeclareClass"===e.type&&(null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e))),this.space(),this.print(e.body,e)},t._variance=function(e){var t;const n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js"),i=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js");const{isDeclareExportDeclaration:o,isStatement:a}=r;function l(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function p(e,t){const{members:n}=t;e.token("{"),e.indent(),e.newline();for(const r of n)e.print(r,t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function c(e,t){const{id:n,init:r}=t;e.print(n,t),e.space(),e.token("="),e.space(),e.print(r,t),e.token(",")}function u(e){if(e.declaration){const t=e.declaration;this.print(t,e),a(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers,e),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}function d(){this.space(),this.tokenChar(38),this.space()}function h(){this.space(),this.tokenChar(124),this.space()}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var i=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var o=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js");Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var c=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/base.js");Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}))},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/jsx.js":(e,t)=>{function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name,e),e.value&&(this.tokenChar(61),this.print(e.value,e))},t.JSXClosingElement=function(e){this.token("</"),this.print(e.name,e),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t,e),!t.selfClosing){this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingElement,e)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression,e),this.tokenChar(125)},t.JSXFragment=function(e){this.print(e.openingFragment,e),this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingFragment,e)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object,e),this.tokenChar(46),this.print(e.property,e)},t.JSXNamespacedName=function(e){this.print(e.namespace,e),this.tokenChar(58),this.print(e.name,e)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name,e),this.print(e.typeParameters,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:n})),e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument,e),this.tokenChar(125)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression,e),this.tokenChar(125)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/methods.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){let n;e.async&&(this.word("async",!0),this.space()),this.format.retainLines||1!==e.params.length||!s(n=e.params[0])||function(e,t){var n,r;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(n=t.leadingComments)&&n.length||null!=(r=t.trailingComments)&&r.length)}(e,n)?this._params(e,void 0,t):this.print(n,e,!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)},t._functionHead=function(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),e.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),e.id&&this.print(e.id,e),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,n=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(n,e),this.tokenChar(93)):this.print(n,e),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)},t._parameters=function(e,t){const n=e.length;for(let r=0;r<n;r++)this._param(e[r],t),r<e.length-1&&(this.tokenChar(44),this.space())},t._params=function(e,t,n){this.print(e.typeParameters,e);const r=i.call(this,t,n);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);const s="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,s),this._noLineTerminator=s},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isIdentifier:s}=r;function i(e,t){let n,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var s,i;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(i=r.loc)?void 0:i.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var a;n={pos:null==(a=r.loc)?void 0:a.start,name:r.value}}return n}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/modules.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()},t.ExportDefaultDeclaration=function(e){u(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();const t=e.declaration;this.print(t,e),p(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported,e)},t.ExportNamedDeclaration=function(e){if(u(this,e),this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t,e),p(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const r=e.specifiers.slice(0);let s=!1;for(;;){const t=r[0];if(!i(t)&&!o(t))break;s=!0,this.print(r.shift(),e),r.length&&(this.tokenChar(44),this.space())}var t,n;(r.length||!r.length&&!s)&&(this.tokenChar(123),r.length&&(this.space(),this.printList(r,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const s=e.specifiers.slice(0),i=!!s.length;for(;i;){const t=s[0];if(!a(t)&&!l(t))break;this.print(s.shift(),e),s.length&&(this.tokenChar(44),this.space())}s.length?(this.tokenChar(123),this.space(),this.printList(s,e),this.space(),this.tokenChar(125)):r&&!i&&(this.tokenChar(123),this.tokenChar(125)),(i||r)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e)),this.tokenChar(41)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))},t._printAttributes=function(e){const{importAttributesKeyword:t}=this.format,{attributes:n,assertions:r}=e;!n||t||c||(c=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const s="assert"===t||!t&&r;this.word(s?"assert":"with"),this.space(),s||"with"===t?(this.tokenChar(123),this.space(),this.printList(n||r,e),this.space(),this.tokenChar(125)):this.printList(n||r,e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isClassDeclaration:s,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:o,isImportDefaultSpecifier:a,isImportNamespaceSpecifier:l,isStatement:p}=r;let c=!1;function u(e,t){s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/statements.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),c(this,e.label,e,!0)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.tokenChar(41),this.space()),this.print(e.body,e)},t.ContinueStatement=function(e){this.word("continue"),c(this,e.label,e,!0)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.tokenChar(59),e.test&&(this.space(),this.print(e.test,e)),this.tokenChar(59),e.update&&(this.space(),this.print(e.update,e)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.space();const t=e.alternate&&o(l(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))},t.LabeledStatement=function(e){this.print(e.label,e),this.tokenChar(58),this.space(),this.print(e.body,e)},t.ReturnStatement=function(e){this.word("return"),c(this,e.argument,e,!1)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant,e),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,e,{indent:!0,addNewlines(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1}}),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),c(this,e.argument,e,!1)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());const{kind:n}=e;this.word(n,"using"===n||"await using"===n),this.space();let r=!1;if(!s(t))for(const t of e.declarations)t.init&&(r=!0);if(this.printList(e.declarations,e,{separator:r?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),s(t))if(i(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object,e),this.tokenChar(41),this.printBlock(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isFor:s,isForStatement:i,isIfStatement:o,isStatement:a}=r;function l(e){const{body:t}=e;return!1===a(t)?e:l(t)}function p(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(e.left,e),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right,e),this.tokenChar(41),this.printBlock(e)}function c(e,t,n,r){t&&(e.space(),e.printTerminatorless(t,n,r)),e.semicolon()}t.ForInStatement=p,t.ForOfStatement=p},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/template-literals.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)},t.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){const t=e.quasis;let n="`";for(let r=0;r<t.length;r++)n+=t[r].value.raw,r+1<t.length&&(this.token(n+"${",!0),this.print(e.expressions[r],e),n="}");this.token(n+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/types.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,n=t.length;this.tokenChar(91);for(let r=0;r<t.length;r++){const s=t[r];s?(r>0&&this.space(),this.print(s,e),r<n-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.DecimalLiteral=function(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),n=this.format.jsescOption,r=e.value,i=r+"";n.numbers?this.number(s(r,n),r):null==t?this.number(i,r):this.format.minified?this.number(t.length<i.length?t:i,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.tokenChar(123),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators,e),e.computed)this.tokenChar(91),this.print(e.key,e),this.tokenChar(93);else{if(i(e.value)&&o(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&o(e.key)&&o(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value,e)},t.PipelineBareFunction=function(e){this.print(e.callee,e)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression,e)},t.RecordExpression=function(e){const t=e.properties;let n,r;if("bar"===this.format.recordAndTupleSyntaxType)n="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);n="#{",r="}"}this.token(n),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument,e)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const n=s(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!a.has(e)){const t=JSON.stringify(e),n=Array.from(a,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,n=t.length;let r,s;if("bar"===this.format.recordAndTupleSyntaxType)r="[|",s="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);r="#[",s="]"}this.token(r);for(let r=0;r<t.length;r++){const s=t[r];s&&(r>0&&this.space(),this.print(s,e),r<n-1&&this.tokenChar(44))}this.token(s)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js");const{isAssignmentPattern:i,isIdentifier:o}=r,a=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/typescript.js":(e,t)=>{function n(e,t,n){if(e.token("{"),t.length){e.indent(),e.newline();for(const r of t)e.print(r,n),e.newline();e.dedent()}e.rightBrace(n)}function r(e,t,n){e.printJoin(t.types,t,{separator(){this.space(),this.token(n),this.space()}})}function s(e,t){!0!==t&&e.token(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,e,!0),this.token("[]")},t.TSSatisfiesExpression=t.TSAsExpression=function(e){var t;const{type:n,expression:r,typeAnnotation:s}=e,i=!(null==(t=r.trailingComments)||!t.length);this.print(r,e,!0,void 0,i),this.space(),this.word("TSAsExpression"===n?"as":"satisfies"),this.space(),this.print(s,e)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.tokenChar(59)},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.tokenChar(59)},t.TSEnumDeclaration=function(e){const{declare:t,const:r,id:s,members:i}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(s,e),this.space(),n(this,i,e)},t.TSEnumMember=function(e){const{id:t,initializer:n}=e;this.print(t,e),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n,e)),this.tokenChar(44)},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression,e),this.tokenChar(59)},t.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{isExport:t,id:n,moduleReference:r}=e;t&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(n,e),this.space(),this.tokenChar(61),this.space(),this.print(r,e),this.tokenChar(59)},t.TSImportType=function(e){const{argument:t,qualifier:n,typeParameters:r}=e;this.word("import"),this.tokenChar(40),this.print(t,e),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n,e)),r&&this.print(r,e)},t.TSIndexSignature=function(e){const{readonly:t,static:n}=e;n&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,e),this.tokenChar(93),this.print(e.typeAnnotation,e),this.tokenChar(59)},t.TSIndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},t.TSInterfaceDeclaration=function(e){const{declare:t,id:n,typeParameters:r,extends:s,body:i}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(n,e),this.print(r,e),null!=s&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s,e)),this.space(),this.print(i,e)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal,e)},t.TSMappedType=function(e){const{nameType:t,optional:n,readonly:r,typeParameter:i,typeAnnotation:o}=e;this.tokenChar(123),this.space(),r&&(s(this,r),this.word("readonly"),this.space()),this.tokenChar(91),this.word(i.name),this.space(),this.word("in"),this.space(),this.print(i.constraint,i),t&&(this.space(),this.word("as"),this.space(),this.print(t,e)),this.tokenChar(93),n&&(s(this,n),this.tokenChar(63)),o&&(this.tokenChar(58),this.space(),this.print(o,e)),this.space(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSModuleBlock=function(e){n(this,e.body,e)},t.TSModuleDeclaration=function(e){const{declare:t,id:n}=e;if(t&&(this.word("declare"),this.space()),e.global||(this.word("Identifier"===n.type?"namespace":"module"),this.space()),this.print(n,e),!e.body)return void this.tokenChar(59);let r=e.body;for(;"TSModuleDeclaration"===r.type;)this.tokenChar(46),this.print(r.id,r),r=r.body;this.space(),this.print(r,e)},t.TSNamedTupleMember=function(e){this.print(e.label,e),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType,e)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression,e),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation,e),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),this.tokenChar(59)},t.TSQualifiedName=function(e){this.print(e.left,e),this.tokenChar(46),this.print(e.right,e)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation,e)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,e),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:n,typeParameters:r,typeAnnotation:s}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(n,e),this.print(r,e),this.space(),this.tokenChar(61),this.space(),this.print(s,e),this.tokenChar(59)},t.TSTypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation,e)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t,e),this.tokenChar(62),this.space(),this.print(n,e)},t.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)},t.TSTypeParameter=function(e){e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60),this.printList(e.params,e,{}),"ArrowFunctionExpression"===t.type&&1===e.params.length&&this.tokenChar(44),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters,e)},t.TSTypeReference=function(e){this.print(e.typeName,e,!0),this.print(e.typeParameters,e,!0)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;t&&e.declare&&(this.word("declare"),this.space()),e.accessibility&&(this.word(e.accessibility),this.space()),e.static&&(this.word("static"),this.space()),e.override&&(this.word("override"),this.space()),e.abstract&&(this.word("abstract"),this.space()),t&&e.readonly&&(this.word("readonly"),this.space())},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(n,e),this.tokenChar(41),this.space(),this.token("=>"),this.space();const r=e.typeAnnotation;this.print(r.typeAnnotation,e)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key,e),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(n,e),this.tokenChar(41);const r=e.typeAnnotation;this.print(r,e)},t.tsPrintTypeLiteralOrInterfaceBody=function(e,t){n(this,e,t)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={},n){const o=i(n,t),a=t.sourceMaps?new r.default(t,n):null;return new s.default(o,a).generate(e)};var r=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/source-map.js"),s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/printer.js");function i(e,t){const n={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var r;n.decoratorsBeforeExport=t.decoratorsBeforeExport,n.jsescOption.json=t.jsonCompatibleStrings,n.recordAndTupleSyntaxType=null!=(r=t.recordAndTupleSyntaxType)?r:"hash",n.minified?(n.compact=!0,n.shouldPrintComment=n.shouldPrintComment||(()=>n.comments)):n.shouldPrintComment=n.shouldPrintComment||(e=>n.comments||e.includes("@license")||e.includes("@preserve")),"auto"===n.compact&&(n.compact="string"==typeof e&&e.length>5e5,n.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),n.compact&&(n.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:s,auxiliaryCommentAfter:i,shouldPrintComment:o}=n;return s&&!o(s)&&(n.auxiliaryCommentBefore=void 0),i&&!o(i)&&(n.auxiliaryCommentAfter=void 0),n}t.CodeGenerator=class{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=i(n,t),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new s.default(this._format,this._map).generate(this._ast)}}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,n){var r;return!!t&&(!(!c(t)||t.callee!==e||!f(e))||(null==(r=d.get(e.type))?void 0:r(e,t,n)))},t.needsWhitespace=m,t.needsWhitespaceAfter=function(e,t){return m(e,t,2)},t.needsWhitespaceBefore=function(e,t){return m(e,t,1)};var r=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/whitespace.js"),s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/parentheses.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{FLIPPED_ALIAS_KEYS:o,isCallExpression:a,isExpressionStatement:l,isMemberExpression:p,isNewExpression:c}=i;function u(e){const t=new Map;function n(e,n){const r=t.get(e);t.set(e,r?function(e,t,s){var i;return null!=(i=r(e,t,s))?i:n(e,t,s)}:n)}for(const t of Object.keys(e)){const r=o[t];if(r)for(const s of r)n(s,e[t]);else n(t,e[t])}return t}const d=u(s),h=u(r.nodes);function f(e){return!!a(e)||p(e)&&f(e.object)}function m(e,t,n){var r;if(!e)return!1;l(e)&&(e=e.expression);const s=null==(r=h.get(e.type))?void 0:r(e,t);return"number"==typeof s&&!!(s&n)}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/parentheses.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return l(t)||v(e,t)},t.AssignmentExpression=function(e,t){return!!d(e.left)||v(e,t)},t.Binary=function(e,t){const n=t.type;if("**"===e.operator&&"BinaryExpression"===n&&"**"===t.operator)return t.left===e;if(b(e,t))return!0;if(g(e,t)||"UnaryExpression"===n||"SpreadElement"===n||"AwaitExpression"===n)return!0;if("BinaryExpression"===n||"LogicalExpression"===n){const r=m.get(t.operator),s=m.get(e.operator);if(r===s&&t.right===e&&"LogicalExpression"!==n||r>s)return!0}},t.BinaryExpression=function(e,t){if("in"===e.operator){const e=t.type;return"VariableDeclarator"===e||"ForStatement"===e||"ForInStatement"===e||"ForOfStatement"===e}return!1},t.ClassExpression=function(e,t,n){return x(n,5)},t.ConditionalExpression=v,t.DoExpression=function(e,t,n){return!e.async&&x(n,1)},t.FunctionExpression=function(e,t,n){return x(n,5)},t.FunctionTypeAnnotation=function(e,t,n){if(n.length<3)return;const r=t.type;return"UnionTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"TypeAnnotation"===r&&i(n[n.length-3])},t.Identifier=function(e,t,n){var r;const s=t.type;if(null!=(r=e.extra)&&r.parenthesized&&"AssignmentExpression"===s&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}return"let"===e.name?x(n,u(t,{object:e,computed:!0})||h(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&p(t)&&e===t.left},t.LogicalExpression=function(e,t){const n=t.type;if(y(n))return!0;if("LogicalExpression"!==n)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,n){return x(n,3)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return a(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const n=t.type;return!("ForStatement"===n||"ThrowStatement"===n||"ReturnStatement"===n||"IfStatement"===n&&t.test===e||"WhileStatement"===n&&t.test===e||"ForInStatement"===n&&t.right===e||"SwitchStatement"===n&&t.discriminant===e||"ExpressionStatement"===n&&t.expression===e)},t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSOptionalType"===n},t.TSInstantiationExpression=function(e,t){const n=t.type;return("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n||"TSInstantiationExpression"===n)&&!!t.typeParameters},t.TSIntersectionType=t.TSUnionType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSOptionalType"===n||"TSIntersectionType"===n||"TSUnionType"===n||"TSRestType"===n},t.UnaryLike=E,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const n=t.type;return"ArrayTypeAnnotation"===n||"NullableTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"UnionTypeAnnotation"===n},t.UpdateExpression=function(e,t){return g(e,t)||b(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const n=t.type;return"BinaryExpression"===n||"LogicalExpression"===n||"UnaryExpression"===n||"SpreadElement"===n||g(e,t)||"AwaitExpression"===n&&f(e)||"ConditionalExpression"===n&&e===t.test||b(e,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isArrayTypeAnnotation:s,isArrowFunctionExpression:i,isBinaryExpression:o,isCallExpression:a,isExportDeclaration:l,isForOfStatement:p,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:d,isOptionalMemberExpression:h,isYieldExpression:f}=r,m=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function y(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const b=(e,t)=>{const n=t.type;return("ClassDeclaration"===n||"ClassExpression"===n)&&t.superClass===e},g=(e,t)=>{const n=t.type;return("MemberExpression"===n||"OptionalMemberExpression"===n)&&t.object===e||("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n)&&t.callee===e||"TaggedTemplateExpression"===n&&t.tag===e||"TSNonNullExpression"===n};function E(e,t){return g(e,t)||o(t)&&"**"===t.operator&&t.left===e||b(e,t)}function v(e,t){const n=t.type;return!!("UnaryExpression"===n||"SpreadElement"===n||"BinaryExpression"===n||"LogicalExpression"===n||"ConditionalExpression"===n&&t.test===e||"AwaitExpression"===n||y(n))||E(e,t)}function x(e,t){const n=1&t,r=2&t,s=4&t,i=8&t,o=16&t,a=32&t;let l=e.length-1;if(l<=0)return;let p=e[l];l--;let c=e[l];for(;l>=0;){const t=c.type;if(n&&"ExpressionStatement"===t&&c.expression===p||s&&"ExportDefaultDeclaration"===t&&p===c.declaration||r&&"ArrowFunctionExpression"===t&&c.body===p||i&&"ForStatement"===t&&c.init===p||o&&"ForInStatement"===t&&c.left===p||a&&"ForOfStatement"===t&&c.left===p)return!0;if(!(l>0&&(g(p,c)&&"NewExpression"!==t||"SequenceExpression"===t&&c.expressions[0]===p||"UpdateExpression"===t&&!c.prefix||"ConditionalExpression"===t&&c.test===p||("BinaryExpression"===t||"LogicalExpression"===t)&&c.left===p||"AssignmentExpression"===t&&c.left===p)))return!1;p=c,l--,c=e[l]}return!1}},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/whitespace.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:i,isAssignmentExpression:o,isBinary:a,isBlockStatement:l,isCallExpression:p,isFunction:c,isIdentifier:u,isLiteral:d,isMemberExpression:h,isObjectExpression:f,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:b}=r;function g(e,t){return e?(h(e)||y(e)?(g(e.object,t),e.computed&&g(e.property,t)):a(e)||o(e)?(g(e.left,t),g(e.right,t)):p(e)||m(e)?(t.hasCall=!0,g(e.callee,t)):c(e)?t.hasFunction=!0:u(e)&&(t.hasHelper=t.hasHelper||e.callee&&v(e.callee)),t):t}function E(e){return g(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function v(e){return!!e&&(h(e)?v(e.object)||v(e.property):u(e)?"require"===e.name||95===e.name.charCodeAt(0):p(e)?v(e.callee):!(!a(e)&&!o(e))&&(u(e.left)&&v(e.left)||v(e.right)))}function x(e){return d(e)||f(e)||i(e)||u(e)||h(e)}const T=t.nodes={AssignmentExpression(e){const t=E(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(c(e.left)||c(e.right))return 2},Literal(e){if(b(e)&&"use strict"===e.value)return 2},CallExpression(e){if(c(e.callee)||v(e))return 3},OptionalCallExpression(e){if(c(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const n=e.declarations[t];let r=v(n.id)&&!x(n.init);if(!r&&n.init){const e=E(n.init);r=v(n.init)&&e.hasCall||e.hasFunction}if(r)return 3}},IfStatement(e){if(l(e.consequent))return 3}};T.ObjectProperty=T.ObjectTypeProperty=T.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},T.ObjectTypeCallProperty=function(e,t){var n;if(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))return 1},T.ObjectTypeIndexer=function(e,t){var n,r;if(!(t.indexers[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length))return 1},T.ObjectTypeInternalSlot=function(e,t){var n,r,s;if(!(t.internalSlots[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length||null!=(s=t.indexers)&&s.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(s[e]||[]).forEach((function(e){const n=t?3:0;T[e]=()=>n}))}))},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/printer.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/buffer.js"),s=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/node/index.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),o=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/generators/index.js");const{isFunction:a,isStatement:l,isClassBody:p,isTSInterfaceBody:c,isTSEnumDeclaration:u}=i,d=/e/i,h=/\.0+$/,f=/[\n\r\u2028\u2029]/,m=/[\n\r\u2028\u2029]|\*\//,{needsParens:y}=s;class b{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=e,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new r.default(t,e.indent.style[0])}generate(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(e=!1){this._maybeAddAuxComment(),e?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){if(!this.format.compact)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e,t=!1){this._maybePrintInnerComments(),(this._endsWithWord||47===e.charCodeAt(0)&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!d.test(e)&&!h.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1){this._maybePrintInnerComments();const n=this.getLastChar(),r=e.charCodeAt(0);(33===n&&("--"===e||61===r)||43===r&&43===n||45===r&&45===n||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();(43===e&&43===t||45===e&&45===t||46===e&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}withSource(e,t,n){t?(this._catchUp(e,t),this._buf.withSource(e,t,n)):n()}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,t){this._maybeAddParen(e),this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}_maybeAddParenChar(e){const t=this._parenPushNewlineState;t&&32!==e&&(10===e?(this.tokenChar(40),this.indent(),t.printed=!0):this._parenPushNewlineState=null)}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;const n=e.length;let r;for(r=0;r<n&&32===e.charCodeAt(r);r++)continue;if(r===n)return;const s=e.charCodeAt(r);if(10!==s){if(47!==s||r+1===n)return void(this._parenPushNewlineState=null);const t=e.charCodeAt(r+1);if(42===t)return;if(47!==t)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),t.printed=!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){var n;if(!this.format.retainLines)return;const r=null==t||null==(n=t[e])?void 0:n.line;if(null!=r){const e=r-this._buf.getCurrentLine();for(let t=0;t<e;t++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,t,n){if(n)this._noLineTerminator=!0,this.print(e,t);else{const n={printed:!1};this._parenPushNewlineState=n,this.print(e,t),n.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(e,t,n,r,s){var i,o;if(!e)return;this._endsWithInnerRaw=!1;const a=e.type,l=this.format,p=l.concise;e._compact&&(l.concise=!0);const c=this[a];if(void 0===c)throw new ReferenceError(`unknown node of type ${JSON.stringify(a)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);const u=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!u);const d=null==(i=e.extra)?void 0:i.parenthesized;let h=s||d&&l.retainFunctionParens&&"FunctionExpression"===a||y(e,t,this._printStack);if(!h&&d&&null!=(o=e.leadingComments)&&o.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==t?void 0:t.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(t.callee!==e)break;default:h=!0}h&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(e,t);const f="Program"===a||"File"===a?null:e.loc;this.exactSource(f,c.bind(this,e,t)),h?(this._printTrailingComments(e,t),this.tokenChar(41),this._noLineTerminator=n):n&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,t)):this._printTrailingComments(e,t,r),this._printStack.pop(),l.concise=p,this._insideAux=u,this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n={}){if(null==e||!e.length)return;let{indent:r}=n;if(null==r&&this.format.retainLines){var s;const t=null==(s=e[0].loc)?void 0:s.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();const i={addNewlines:n.addNewlines,nextNodeStartLine:0},o=n.separator?n.separator.bind(this):null,a=e.length;for(let r=0;r<a;r++){const s=e[r];var l;if(s&&(n.statement&&this._printNewline(0===r,i),this.print(s,t,void 0,n.trailingCommentsLineOffset||0),null==n.iterator||n.iterator(s,r),r<a-1&&(null==o||o()),n.statement))if(null!=(l=s.trailingComments)&&l.length||(this._lastCommentLine=0),r+1===a)this.newline(1);else{var p;const t=e[r+1];i.nextNodeStartLine=(null==(p=t.loc)?void 0:p.start.line)||0,this._printNewline(!0,i)}}r&&this.dedent()}printAndIndentOnComments(e,t){const n=e.leadingComments&&e.leadingComments.length>0;n&&this.indent(),this.print(e,t),n&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t,e)}_printTrailingComments(e,t,n){const{innerComments:r,trailingComments:s}=e;null!=r&&r.length&&this._printComments(2,r,e,t,n),null!=s&&s.length&&this._printComments(2,s,e,t,n)}_printLeadingComments(e,t){const n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){const e=this._printStack[this._printStack.length-1],t=e.innerComments;if(null==t||!t.length)return;const n=this.endsWith(32),r=this._indentInnerComments,s=this._printedComments.size;r&&this.indent(),this._printComments(1,t,e),n&&s!==this._printedComments.size&&this.space(),r&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n={}){n.statement=!0,null!=n.indent||(n.indent=!1),this.printJoin(e,t,n)}printList(e,t,n={}){null==n.separator&&(n.separator=g),this.printJoin(e,t,n)}_printNewline(e,t){const n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,s=this._lastCommentLine;if(r>0&&s>0){const e=r-s;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e){return e.ignore||this._printedComments.has(e)?0:this._noLineTerminator&&m.test(e.value)?2:(this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0)}_printComment(e,t){const n=this._noLineTerminator,r="CommentBlock"===e.type,s=r&&1!==t&&!this._noLineTerminator;s&&this._buf.hasContent()&&2!==t&&this.newline(1);const i=this.getLastChar();let o;if(91!==i&&123!==i&&this.space(),r){const{_parenPushNewlineState:t}=this;if(!1===(null==t?void 0:t.printed)&&f.test(e.value)&&(this.tokenChar(40),this.indent(),t.printed=!0),o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var a;const t=null==(a=e.loc)?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");o=o.replace(e,"\n")}if(this.format.concise)o=o.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),o=o.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else o=n?`/*${e.value}*/`:`//${e.value}`;this.endsWith(47)&&this._space(),this.source("start",e.loc),this._append(o,r),r||n||this.newline(1,!0),s&&3!==t&&this.newline(1)}_printComments(e,t,n,r,s=0){const i=n.loc,o=t.length;let d=!!i;const h=d?i.start.line:0,m=d?i.end.line:0;let y=0,b=0;const g=this._noLineTerminator?function(){}:this.newline.bind(this);for(let i=0;i<o;i++){const E=t[i],v=this._shouldPrintComment(E);if(2===v){d=!1;break}if(d&&E.loc&&1===v){const t=E.loc.start.line,n=E.loc.end.line;if(0===e){let e=0;0===i?!this._buf.hasContent()||"CommentLine"!==E.type&&t===n||(e=b=1):e=t-y,y=n,g(e),this._printComment(E,1),i+1===o&&(g(Math.max(h-y,b)),y=h)}else if(1===e){const e=t-(0===i?h:y);y=n,g(e),this._printComment(E,1),i+1===o&&(g(Math.min(1,m-y)),y=m)}else{const e=t-(0===i?m-s:y);y=n,g(e),this._printComment(E,1)}}else{if(d=!1,1!==v)continue;if(1===o){const t=E.loc?E.loc.start.line===E.loc.end.line:!f.test(E.value),s=t&&!l(n)&&!p(r)&&!c(r)&&!u(r);0===e?this._printComment(E,s&&"ObjectExpression"!==n.type||t&&a(r,{body:n})?1:0):s&&2===e?this._printComment(E,1):this._printComment(E,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(E,0):this._printComment(E,0===i?2:i===o-1?3:0)}}2===e&&d&&y&&(this._lastCommentLine=y)}}function g(){this.tokenChar(44),this.space()}Object.assign(b.prototype,o),b.prototype.Noop=function(){},t.default=b},"./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/source-map.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),s=n("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");t.default=class{constructor(e,t){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const i=this._map=new r.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new s.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var o;(0,r.setSourceContent)(i,t[e],null==(o=this._inputMap.sourcesContent)?void 0:o[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,r.setSourceContent)(i,e.replace(/\\/g,"/"),t[e])}else(0,r.setSourceContent)(i,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(e,t,n,i,o,a){var l;let p;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(p=(0,s.originalPositionFor)(this._inputMap,{line:t,column:n}),!p.name&&o){const e=(0,s.originalPositionFor)(this._inputMap,o);e.name&&(i=e.name)}}else p={source:(null==a?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,r.maybeAddMapping)(this._map,{name:i,generated:e,source:null==(l=p)?void 0:l.source,original:p})}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.node||e;o(t)||s(t,"leading",i)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{addComment:s}=r,i="#__PURE__",o=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildDecoratedClass=function(e,t,n,o){const{node:c,scope:u}=t,d=u.generateUidIdentifier("initialize"),h=c.id&&t.isDeclaration(),f=t.isInStrictMode(),{superClass:m}=c;let y;c.type="ClassDeclaration",c.id||(c.id=r.types.cloneNode(e)),m&&(y=u.generateUidIdentifierBasedOnNode(c.superClass,"super"),c.superClass=y);const b=l(c),g=r.types.arrayExpression(n.filter((e=>!e.node.abstract&&"TSIndexSignature"!==e.node.type)).map((e=>function(e,t,n,o){const c=o.isClassMethod();if(o.isPrivate())throw o.buildCodeFrameError(`Private ${c?"methods":"fields"} in decorated classes are not supported yet.`);if("ClassAccessorProperty"===o.node.type)throw o.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if("StaticBlock"===o.node.type)throw o.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');const{node:u,scope:d}=o;o.isTSDeclareMethod()||new s.default({methodPath:o,objectRef:t,superRef:n,file:e,refToPreserve:t}).replace();const h=[a("kind",r.types.stringLiteral(r.types.isClassMethod(u)?u.kind:"field")),a("decorators",l(u)),a("static",u.static&&r.types.booleanLiteral(!0)),a("key",p(u))].filter(Boolean);if(r.types.isClassMethod(u)){const e=u.computed?null:u.key,t=r.types.toExpression(u);h.push(a("value",(0,i.default)({node:t,id:e,scope:d})||t))}else r.types.isClassProperty(u)&&u.value?h.push((f=r.template.statements.ast`return ${u.value}`,r.types.objectMethod("method",r.types.identifier("value"),[],r.types.blockStatement(f)))):h.push(a("value",d.buildUndefinedNode()));var f;return o.remove(),r.types.objectExpression(h)}(o,c.id,y,e)))),E=r.template.expression.ast`
|
|
14
|
+
${function(e){return e.addHelper("decorate")}(o)}(
|
|
15
|
+
${b||r.types.nullLiteral()},
|
|
16
|
+
function (${d}, ${m?r.types.cloneNode(y):null}) {
|
|
17
|
+
${c}
|
|
18
|
+
return { F: ${r.types.cloneNode(c.id)}, d: ${g} };
|
|
19
|
+
},
|
|
20
|
+
${m}
|
|
21
|
+
)
|
|
22
|
+
`;f||E.arguments[1].body.directives.push(r.types.directive(r.types.directiveLiteral("use strict")));let v=E,x="arguments.1.body.body.0";return h&&(v=r.template.statement.ast`let ${e} = ${E}`,x="declarations.0.init."+x),{instanceNodes:[r.template.statement.ast`
|
|
23
|
+
${r.types.cloneNode(d)}(this)
|
|
24
|
+
`],wrapClass:e=>(e.replaceWith(v),e.get(x))}},t.hasDecorators=function(e){return o(e)||e.body.body.some(o)},t.hasOwnDecorators=o;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js");function o(e){var t;return!(null==(t=e.decorators)||!t.length)}function a(e,t){return t?r.types.objectProperty(r.types.identifier(e),t):null}function l(e){let t;return e.decorators&&e.decorators.length>0&&(t=r.types.arrayExpression(e.decorators.map((e=>e.expression)))),e.decorators=void 0,t}function p(e){return e.computed?e.key:r.types.isIdentifier(e.key)?r.types.stringLiteral(e.key.name):r.types.stringLiteral(String(e.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({assertVersion:e,assumption:t},{loose:n},S,W){var q,H;e("2023-11"===S||"2023-05"===S||"2023-01"===S?"^7.21.0":"2021-12"===S?"^7.16.0":"^7.19.0");const z=new WeakSet,Y=null!=(q=t("constantSuper"))?q:n,X=null!=(H=t("ignoreFunctionLength"))?H:n,J=function(e,t){function n(e,t,n){switch(t.type){case"StringLiteral":return r.types.stringLiteral(t.value);case"NumericLiteral":case"BigIntLiteral":{const n=t.value+"";return e.get("key").replaceWith(r.types.stringLiteral(n)),r.types.stringLiteral(n)}default:{const s=e.scope.maybeGenerateMemoised(t);return e.get("key").replaceWith(r.types.assignmentExpression("=",s,R(n,t))),r.types.cloneNode(s)}}}return{VariableDeclarator(n,r){const s=n.node.id;if("Identifier"===s.type){const i=(0,o.skipTransparentExprWrappers)(n.get("init"));if(e(i)){const e=s.name;t(i,r,e)}}},AssignmentExpression(n,r){const s=n.node.left;if("Identifier"===s.type){const i=(0,o.skipTransparentExprWrappers)(n.get("right"));if(e(i))switch(n.node.operator){case"=":case"&&=":case"||=":case"??=":t(i,r,s.name)}}},AssignmentPattern(n,r){const s=n.node.left;if("Identifier"===s.type){const i=(0,o.skipTransparentExprWrappers)(n.get("right"));if(e(i)){const e=s.name;t(i,r,e)}}},ObjectExpression(s,i){for(const a of s.get("properties")){if(!a.isObjectProperty())continue;const{node:s}=a,l=s.key,p=(0,o.skipTransparentExprWrappers)(a.get("value"));if(e(p))if(s.computed){const e=n(a,l,i);t(p,i,e)}else if(!$(l))if("Identifier"===l.type)t(p,i,l.name);else{const e=r.types.stringLiteral(l.value+"");t(p,i,e)}}},ClassPrivateProperty(n,s){const{node:i}=n,a=(0,o.skipTransparentExprWrappers)(n.get("value"));if(e(a)){const e=r.types.stringLiteral("#"+i.key.id.name);t(a,s,e)}},ClassAccessorProperty(s,i){const{node:a}=s,l=a.key,p=(0,o.skipTransparentExprWrappers)(s.get("value"));if(e(p))if(a.computed){const e=n(s,l,i);t(p,i,e)}else if("Identifier"===l.type)t(p,i,l.name);else if("PrivateName"===l.type){const e=r.types.stringLiteral("#"+l.id.name);t(p,i,e)}else{const e=r.types.stringLiteral(l.value+"");t(p,i,e)}},ClassProperty(s,i){const{node:a}=s,l=a.key,p=(0,o.skipTransparentExprWrappers)(s.get("value"));if(e(p))if(a.computed){const e=n(s,l,i);t(p,i,e)}else if("Identifier"===l.type)t(p,i,l.name);else{const e=r.types.stringLiteral(l.value+"");t(p,i,e)}}}}(K,Q);function Q(e,t,n){var i;if(z.has(e))return;const{node:o}=e;null!=n||(n=null==(i=o.id)?void 0:i.name);const $=function(e,t,n,i,o,S,$){var W,K;const q=e.get("body.body"),H=e.node.decorators;let z=!1,Y=!1,X=!1;const J=function(e){let t;return()=>(t||(t=function(e){const t=[],n=new Set;return e.traverse({PrivateName(e){n.add(e.node.id.name)}}),()=>{let e;do{p(t),e=String.fromCharCode(...t)}while(n.has(e));return r.types.privateName(r.types.identifier(e))}}(e)),t())}(e),Q=[],Z=e.scope.parent,ee=(e,t,n)=>{const s=G(Z,t);return n.push(r.types.assignmentExpression("=",s,e)),r.types.cloneNode(s)};let te,ne;const re=null==(W=e.node.id)?void 0:W.name,se="object"==typeof o?o:void 0,ie=e=>{try{return r.types.traverseFast(e,(e=>{if(r.types.isThisExpression(e)||r.types.isSuper(e)||r.types.isYieldExpression(e)||r.types.isAwaitExpression(e)||r.types.isIdentifier(e,{name:"arguments"})||re&&r.types.isIdentifier(e,{name:re})||r.types.isMetaProperty(e)&&"import"!==e.meta.name)throw null})),!1}catch(e){return!0}},oe=[];for(const n of q){if(!j(n))continue;const s=n.node;if(!s.static&&r.types.isPrivateName(s.key)&&oe.push(s.key.id.name),V(s)){switch(s.type){case"ClassProperty":S.ClassProperty(n,t);break;case"ClassPrivateProperty":S.ClassPrivateProperty(n,t);break;case"ClassAccessorProperty":if(S.ClassAccessorProperty(n,t),"2023-11"===$)break;default:s.static?null!=ne||(ne=G(Z,"initStatic")):null!=te||(te=G(Z,"initProto"))}z=!0,X||(X=s.decorators.some(ie))}else if("ClassAccessorProperty"===s.type){S.ClassAccessorProperty(n,t);const{key:i,value:a,static:p,computed:h}=s,f=J(),m=c(f,a,p),y=n.get("key"),[b]=n.replaceWith(m);let g,E;h&&!y.isConstantExpression()?(g=(0,l.memoiseComputedKey)(R(t,i),Z,Z.generateUid("computedKey")),E=r.types.cloneNode(g.left)):(g=r.types.cloneNode(i),E=r.types.cloneNode(i)),u(e,o),d(e.node.id,b,g,E,f,h,p,$)}"computed"in n.node&&n.node.computed&&(Y||(Y=!Z.isStatic(n.node.key)))}if(!H&&!z)return e.node.id||"string"!=typeof o||(e.node.id=r.types.identifier(o)),void(se&&e.node.body.body.unshift(v([F(t,se)])));const ae=[];let le;const pe=new Set;let ce,ue,de=null;function he(e){let t=!1,n=!1;const s=[];for(const i of e){const{expression:e}=i;let o;"2023-11"!==$&&"2023-05"!==$||!r.types.isMemberExpression(e)||(r.types.isSuper(e.object)?o=r.types.thisExpression():Z.isStatic(e.object)?o=r.types.cloneNode(e.object):(null!=de||(de=G(Z,"obj")),o=r.types.assignmentExpression("=",r.types.cloneNode(de),e.object),e.object=r.types.cloneNode(de))),s.push(o),t||(t=!Z.isStatic(e)),n||(n=ie(i))}return{hasSideEffects:t,usesFnContext:n,decoratorsThis:s}}const fe=Y||X||"2023-11"!==$;let me,ye,be=!1,ge=0,Ee=[],ve=[];if(H){ce=G(Z,"initClass"),be=e.isClassDeclaration(),({id:ue,path:e}=function(e,t){const n=e.node.id,s=e.scope;if("ClassDeclaration"===e.type){const t=n.name,i=s.generateUidIdentifierBasedOnNode(n),o=r.types.identifier(t);return s.rename(t,i.name),e.get("id").replaceWith(o),{id:r.types.cloneNode(i),path:e}}{let i;n?(t=n.name,i=G(s.parent,t),s.rename(t,i.name)):i=G(s.parent,"string"==typeof t?t:"decorated_class");const o=r.types.classExpression("string"==typeof t?r.types.identifier(t):null,e.node.superClass,e.node.body),[a]=e.replaceWith(r.types.sequenceExpression([o,i]));return{id:r.types.cloneNode(i),path:a.get("expressions.0")}}}(e,o)),e.node.decorators=null;const t=H.some(B),{hasSideEffects:n,usesFnContext:s,decoratorsThis:i}=he(H),{haveThis:a,decs:p}=I(H,i,$);if(ge=a?1:0,Ee=p,(s||n&&fe||t)&&(me=ee(r.types.arrayExpression(Ee),"classDecs",Q)),!z)for(const t of e.get("body.body")){const{node:e}=t;if("computed"in e&&e.computed)if(t.isClassProperty({static:!0})){if(!t.get("key").isConstantExpression()){const t=e.key,n=(0,l.memoiseComputedKey)(t,Z,Z.generateUid("computedKey"));null!=n&&(e.key=r.types.cloneNode(n.left),ve.push(n))}}else ve.length>0&&(y(ve,t),ve=[])}}else u(e,o),ue=r.types.cloneNode(e.node.id);let xe=!1,Te=[],Se=[];if(z){if(te){const e=r.types.callExpression(r.types.cloneNode(te),[r.types.thisExpression()]);Te.push(e)}for(const i of q){if(!j(i)){Se.length>0&&i.isStaticBlock()&&(Pe=Se,i.unshiftContainer("body",r.types.expressionStatement(k(Pe))),Se=[]);continue}const{node:a}=i,p=a.decorators,f=!(null==p||!p.length),g="computed"in a&&a.computed;let E,v,S="computedKey";if("PrivateName"===a.key.type?S=a.key.id.name:g||"Identifier"!==a.key.type||(S=a.key.name),f){const{hasSideEffects:e,usesFnContext:t,decoratorsThis:n}=he(p),{decs:s,haveThis:i}=I(p,n,$);v=i,E=1===s.length?s[0]:r.types.arrayExpression(s),(t||e&&fe)&&(E=ee(E,S+"Decs",ve))}if(g&&!i.get("key").isConstantExpression()){const e=a.key,n=(0,l.memoiseComputedKey)(f?R(t,e):e,Z,Z.generateUid("computedKey"));null!=n&&(H&&i.isClassProperty({static:!0})?(a.key=r.types.cloneNode(n.left),ve.push(n)):a.key=n)}const{key:A,static:w}=a,C="PrivateName"===A.type,F=D(i);let M;if(C&&!w&&(f&&(xe=!0),!r.types.isClassPrivateProperty(a)&&ye||(ye=A)),i.isClassMethod({kind:"constructor"})&&(le=i),f){let a,l;if(l=g?m(i.get("key")):"PrivateName"===A.type?r.types.stringLiteral(A.id.name):"Identifier"===A.type?r.types.stringLiteral(A.name):r.types.cloneNode(A),F===T){const{value:t}=i.node,n="2023-11"===$&&w?[]:[r.types.thisExpression()];t&&n.push(r.types.cloneNode(t));const s=J(),l=G(Z,`init_${S}`),p=c(s,r.types.callExpression(r.types.cloneNode(l),n),w),[f]=i.replaceWith(p);if(C){a=h(s,$);const e=G(Z,`get_${S}`),t=G(Z,`set_${S}`);O($,f,A,e,t,w),M=[l,e,t]}else u(e,o),d(e.node.id,f,r.types.cloneNode(A),r.types.isAssignmentExpression(A)?r.types.cloneNode(A.left):r.types.cloneNode(A),s,g,w,$),M=[l]}else if(F===x){const e=G(Z,`init_${S}`),t=i.get("value"),n="2023-11"===$&&w?[]:[r.types.thisExpression()];t.node&&n.push(t.node),t.replaceWith(r.types.callExpression(r.types.cloneNode(e),n)),M=[e],C&&(a=h(A,$))}else if(C){const o=G(Z,`call_${S}`);if(M=[o],new s.default({constantSuper:n,methodPath:i,objectRef:ue,superRef:e.node.superClass,file:t.file,refToPreserve:ue}).replace(),a=[L(i.node)],F===P||F===_)N(i,r.types.cloneNode(A),r.types.cloneNode(o),w);else{const t=i.node;e.node.body.body.unshift(r.types.classPrivateProperty(A,r.types.cloneNode(o),[],t.static)),pe.add(A.id.name),i.remove()}}ae.push({kind:F,decoratorsArray:E,decoratorsHaveThis:v,name:l,isStatic:w,privateMethods:a,locals:M}),i.node&&(i.node.decorators=null)}if(g&&ve.length>0&&(H&&i.isClassProperty({static:!0})||(y(ve,F===T?i.getNextSibling():i),ve=[])),Te.length>0&&!w&&(F===x||F===T)&&(b(Te,i),Te=[]),Se.length>0&&w&&(F===x||F===T)&&(b(Se,i),Se=[]),f&&"2023-11"===$&&(F===x||F===T)){const e=G(Z,`init_extra_${S}`);M.push(e);const t=r.types.callExpression(r.types.cloneNode(e),w?[]:[r.types.thisExpression()]);w?Se.push(t):Te.push(t)}}}var Pe;if(ve.length>0){const t=e.get("body.body");let n;for(let e=t.length-1;e>=0;e--){const s=t[e],i=s.node;if(i.computed){if(H&&r.types.isClassProperty(i,{static:!0}))continue;n=s;break}}null!=n&&(function(e,t){const n=t.get("key"),s=f(n);if(s.isConstantExpression())y(e,t);else{const i=n.scope.parent,o=(0,l.memoiseComputedKey)(s.node,i,i.generateUid("computedKey"));if(o){const t=[...e,r.types.cloneNode(o.left)],n=s.parentPath;n.isSequenceExpression()?n.pushContainer("expressions",t):s.replaceWith(k([r.types.cloneNode(o),...t]))}else y(e,t)}}(ve,n),ve=[])}if(Te.length>0){const t=!!e.node.superClass;le?t?function(e,t,n){t.traverse({CallExpression:{exit(t){if(!t.get("callee").isSuper())return;const s=[t.node,...e.map((e=>r.types.cloneNode(e)))];t.isCompletionRecord()&&s.push(r.types.thisExpression()),t.replaceWith(function(e,t){if(t){if(e.length>=2&&g(e[1],t)){const n=r.types.callExpression(r.types.cloneNode(t),[e[0]]);e.splice(0,2,n)}e.length>=2&&r.types.isThisExpression(e[e.length-1])&&g(e[e.length-2],t)&&e.splice(e.length-1,1)}return k(e)}(s,n)),t.skip()}},ClassMethod(e){"constructor"===e.node.kind&&e.skip()}})}(Te,le,te):function(e,t){t.node.body.body.unshift(r.types.expressionStatement(k(e)))}(Te,le):e.node.body.body.unshift(E(Te,t)),Te=[]}Se.length>0&&(e.node.body.body.push(v(Se)),Se=[]);const _e=[...(Ce=ae).filter((e=>e.isStatic&&e.kind>=T&&e.kind<=_)),...Ce.filter((e=>!e.isStatic&&e.kind>=T&&e.kind<=_)),...Ce.filter((e=>e.isStatic&&e.kind===x)),...Ce.filter((e=>!e.isStatic&&e.kind===x))],Ae=function(e,t){return r.types.arrayExpression(e.map((e=>{let n=e.kind;return e.isStatic&&(n+="2023-11"===t||"2023-05"===t?w:A),e.decoratorsHaveThis&&(n+=C),r.types.arrayExpression([e.decoratorsArray,r.types.numericLiteral(n),e.name,...e.privateMethods||[]])})))}("2023-11"===$?ae:_e,$),we=function(e){const t=[];for(const n of e){const{locals:e}=n;Array.isArray(e)?t.push(...e):void 0!==e&&t.push(e)}return t}(_e);var Ce;te&&we.push(te),ne&&we.push(ne);const De=[];let Ie=!1;const Oe=ce&&r.types.callExpression(r.types.cloneNode(ce),[]);let Ne=e;const je=e.node,ke=[];if(H){De.push(ue,ce);const o=[];if(e.get("body.body").forEach((a=>{if(a.isStaticBlock()){if(U(a,oe)){const e=ee((l=a.node,r.types.functionExpression(null,[],r.types.blockStatement(l.body))),"staticBlock",ke);Se.push(r.types.callExpression(r.types.memberExpression(e,r.types.identifier("call")),[r.types.thisExpression()]))}else Se.push(function(e){return r.types.callExpression(r.types.arrowFunctionExpression([],r.types.blockStatement(e.body)),[])}(a.node));a.remove()}else{var l;if((a.isClassProperty()||a.isClassPrivateProperty())&&a.node.static){const e=a.get("value");if(U(e,oe)){const t=ee(function(e){return r.types.functionExpression(null,[],r.types.blockStatement([r.types.returnStatement(e)]))}(e.node),"fieldValue",ke);e.replaceWith(r.types.callExpression(r.types.memberExpression(t,r.types.identifier("call")),[r.types.thisExpression()]))}Se.length>0&&(b(Se,a),Se=[]),a.node.static=!1,o.push(a.node),a.remove()}else if(a.isClassPrivateMethod({static:!0})){if(U(a,oe)){new s.default({constantSuper:n,methodPath:a,objectRef:ue,superRef:e.node.superClass,file:t.file,refToPreserve:ue}).replace();const o=ee(L(a.node),a.get("key.id").node.name,ke);i?(a.node.params=[r.types.restElement(r.types.identifier("arg"))],a.node.body=r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.memberExpression(o,r.types.identifier("apply")),[r.types.thisExpression(),r.types.identifier("arg")]))])):(a.node.params=a.node.params.map(((e,t)=>r.types.isRestElement(e)?r.types.restElement(r.types.identifier("arg")):r.types.identifier("_"+t))),a.node.body=r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.memberExpression(o,r.types.identifier("apply")),[r.types.thisExpression(),r.types.identifier("arguments")]))]))}a.node.static=!1,o.push(a.node),a.remove()}}})),o.length>0||Se.length>0){const n=r.template.expression.ast`
|
|
25
|
+
class extends ${t.addHelper("identity")} {}
|
|
26
|
+
`;n.body.body=[r.types.classProperty(r.types.toExpression(je),void 0,void 0,void 0,!0,!0),...o];const s=[],i=r.types.newExpression(n,[]);Se.length>0&&s.push(...Se),Oe&&(Ie=!0,s.push(Oe)),s.length>0?(s.unshift(r.types.callExpression(r.types.super(),[r.types.cloneNode(ue)])),n.body.body.push(E(s,!1))):i.arguments.push(r.types.cloneNode(ue));const[a]=e.replaceWith(i);Ne=a.get("callee").get("body").get("body.0.key")}}!Ie&&Oe&&e.node.body.body.push(r.types.staticBlock([r.types.expressionStatement(Oe)]));let{superClass:Le}=je;if(Le&&("2023-11"===$||"2023-05"===$)){const t=e.scope.maybeGenerateMemoised(Le);t&&(je.superClass=r.types.assignmentExpression("=",t,Le),Le=t)}const Fe=r.types.staticBlock([]);je.body.body.unshift(Fe);const Re=Fe.body;if(ve.length>0){const e=Ne.get("body.body");let t;for(const n of e)if((n.isClassProperty()||n.isClassMethod())&&"constructor"!==n.node.kind){t=n;break}null!=t?(function(e){const{node:t}=e;t.computed=!0,r.types.isIdentifier(t.key)&&(t.key=r.types.stringLiteral(t.key.name))}(t),y(ve,t)):(je.body.body.unshift(r.types.classProperty(r.types.sequenceExpression([...ve,r.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),Re.push(r.types.expressionStatement(r.types.unaryExpression("delete",r.types.memberExpression(r.types.thisExpression(),r.types.identifier("_")))))),ve=[]}if(Re.push(r.types.expressionStatement(function(e,t,n,s,i,o,a,l,p,c){let u,d;const h=[a?F(p,a):r.types.thisExpression(),s,n];return"2023-11"!==c&&h.splice(1,2,n,s),"2021-12"===c||"2022-03"===c&&!p.availableHelper("applyDecs2203R")?(u=r.types.arrayPattern([...e,...t]),d=r.types.callExpression(p.addHelper("2021-12"===c?"applyDecs":"applyDecs2203"),h),r.types.assignmentExpression("=",u,d)):("2022-03"===c?d=r.types.callExpression(p.addHelper("applyDecs2203R"),h):"2023-01"===c?(o&&h.push(M(o)),d=r.types.callExpression(p.addHelper("applyDecs2301"),h)):"2023-05"===c&&((o||l||0!==i.value)&&h.push(i),o?h.push(M(o)):l&&h.push(r.types.unaryExpression("void",r.types.numericLiteral(0))),l&&h.push(l),d=r.types.callExpression(p.addHelper("applyDecs2305"),h)),"2023-11"===c&&((o||l||0!==i.value)&&h.push(i),o?h.push(M(o)):l&&h.push(r.types.unaryExpression("void",r.types.numericLiteral(0))),l&&h.push(l),d=r.types.callExpression(p.addHelper("applyDecs2311"),h)),e.length>0?t.length>0?u=r.types.objectPattern([r.types.objectProperty(r.types.identifier("e"),r.types.arrayPattern(e)),r.types.objectProperty(r.types.identifier("c"),r.types.arrayPattern(t))]):(u=r.types.arrayPattern(e),d=r.types.memberExpression(d,r.types.identifier("e"),!1,!1)):(u=r.types.arrayPattern(t),d=r.types.memberExpression(d,r.types.identifier("c"),!1,!1)),r.types.assignmentExpression("=",u,d))}(we,De,Ae,null!=(K=me)?K:r.types.arrayExpression(Ee),r.types.numericLiteral(ge),xe?ye:null,se,r.types.cloneNode(Le),t,$))),ne&&Re.push(r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(ne),[r.types.thisExpression()]))),ke.length>0&&Re.push(...ke.map((e=>r.types.expressionStatement(e)))),e.insertBefore(Q.map((e=>r.types.expressionStatement(e)))),be)if(Z.getBinding(ue.name).constantViolations.length){const t=Z.generateUidIdentifier("t"+ue.name),n=ue;e.replaceWithMultiple([r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(n)),r.types.variableDeclarator(t)]),r.types.blockStatement([r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(ue))]),e.node,r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(t),r.types.cloneNode(ue)))]),r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(n),r.types.cloneNode(t)))])}else e.insertBefore(r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(ue))]));return pe.size>0&&function(e,t){const n=(0,a.privateNameVisitorFactory)({PrivateName(e,t){if(!t.privateNamesMap.has(e.node.id.name))return;const n=e.parentPath,r=n.parentPath;if("AssignmentExpression"===r.node.type&&r.node.left===n.node||"UpdateExpression"===r.node.type||"RestElement"===r.node.type||"ArrayPattern"===r.node.type||"ObjectProperty"===r.node.type&&r.node.value===n.node&&"ObjectPattern"===r.parentPath.type||"ForOfStatement"===r.node.type&&r.node.left===n.node)throw e.buildCodeFrameError(`Decorated private methods are read-only, but "#${e.node.id.name}" is updated via this expression.`)}}),r=new Map;for(const e of t)r.set(e,null);e.traverse(n,{privateNamesMap:r})}(e,pe),e.scope.crawl(),e}(e,t,Y,X,n,J,S);$?z.add($):z.add(e)}return{name:"proposal-decorators",inherits:W,visitor:Object.assign({ExportDefaultDeclaration(e,t){const{declaration:n}=e.node;if("ClassDeclaration"===(null==n?void 0:n.type)&&V(n)){const s=!n.id,o=(0,i.default)(e);s&&Q(o,t,r.types.stringLiteral("default"))}},ExportNamedDeclaration(e){const{declaration:t}=e.node;"ClassDeclaration"===(null==t?void 0:t.type)&&V(t)&&(0,i.default)(e)},Class(e,t){Q(e,t,void 0)}},J)}};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),a=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),l=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function p(e,t=e.length-1){if(-1===t)return void e.unshift(65);const n=e[t];90===n?e[t]=97:122===n?(e[t]=65,p(e,t-1)):e[t]=n+1}function c(e,t,n){return"PrivateName"===e.type?r.types.classPrivateProperty(e,t,void 0,n):r.types.classProperty(e,t,void 0,void 0,n)}function u(e,t){e.node.id||(e.node.id="string"==typeof t?r.types.identifier(t):e.scope.generateUidIdentifier("Class"))}function d(e,t,n,s,i,o,a,l){const p="2023-11"!==l&&"2023-05"!==l||!a?r.types.thisExpression():e,c=r.types.blockStatement([r.types.returnStatement(r.types.memberExpression(r.types.cloneNode(p),r.types.cloneNode(i)))]),u=r.types.blockStatement([r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(r.types.cloneNode(p),r.types.cloneNode(i)),r.types.identifier("v")))]);let d,h;"PrivateName"===n.type?(d=r.types.classPrivateMethod("get",n,[],c,a),h=r.types.classPrivateMethod("set",s,[r.types.identifier("v")],u,a)):(d=r.types.classMethod("get",n,[],c,o,a),h=r.types.classMethod("set",s,[r.types.identifier("v")],u,o,a)),t.insertAfter(h),t.insertAfter(d)}function h(e,t){return"2023-11"!==t&&"2023-05"!==t&&"2023-01"!==t?[r.template.expression.ast`
|
|
27
|
+
function () {
|
|
28
|
+
return this.${r.types.cloneNode(e)};
|
|
29
|
+
}
|
|
30
|
+
`,r.template.expression.ast`
|
|
31
|
+
function (value) {
|
|
32
|
+
this.${r.types.cloneNode(e)} = value;
|
|
33
|
+
}
|
|
34
|
+
`]:[r.template.expression.ast`
|
|
35
|
+
o => o.${r.types.cloneNode(e)}
|
|
36
|
+
`,r.template.expression.ast`
|
|
37
|
+
(o, v) => o.${r.types.cloneNode(e)} = v
|
|
38
|
+
`]}function f(e){if((e=(0,o.skipTransparentExprWrappers)(e)).isSequenceExpression()){const t=e.get("expressions");return f(t[t.length-1])}return e}function m(e){const t=f(e);if(t.isConstantExpression())return r.types.cloneNode(e.node);if(t.isIdentifier()&&e.scope.hasUid(t.node.name))return r.types.cloneNode(e.node);if(t.isAssignmentExpression()&&t.get("left").isIdentifier())return r.types.cloneNode(t.node.left);throw new Error(`Internal Error: the computed key ${e.toString()} has not yet been memoised.`)}function y(e,t){const n=t.get("key");n.isSequenceExpression()?e.push(...n.node.expressions):e.push(n.node),n.replaceWith(k(e))}function b(e,t){const n=t.get("value");n.node?e.push(n.node):e.length>0&&(e[e.length-1]=r.types.unaryExpression("void",e[e.length-1])),n.replaceWith(k(e))}function g(e,t){return r.types.isCallExpression(e)&&r.types.isIdentifier(e.callee,{name:t.name})}function E(e,t){const n=[r.types.expressionStatement(k(e))];return t&&n.unshift(r.types.expressionStatement(r.types.callExpression(r.types.super(),[r.types.spreadElement(r.types.identifier("args"))]))),r.types.classMethod("constructor",r.types.identifier("constructor"),t?[r.types.restElement(r.types.identifier("args"))]:[],r.types.blockStatement(n))}function v(e){return r.types.staticBlock([r.types.expressionStatement(k(e))])}const x=0,T=1,S=2,P=3,_=4,A=5,w=8,C=16;function D(e){switch(e.node.type){case"ClassProperty":case"ClassPrivateProperty":return x;case"ClassAccessorProperty":return T;case"ClassMethod":case"ClassPrivateMethod":return"get"===e.node.kind?P:"set"===e.node.kind?_:S}}function I(e,t,n){const s=e.length,i=t.some(Boolean),o=[];for(let a=0;a<s;a++)"2023-11"!==n&&"2023-05"!==n||!i||o.push(t[a]||r.types.unaryExpression("void",r.types.numericLiteral(0))),o.push(e[a].expression);return{haveThis:i,decs:o}}function O(e,t,n,s,i,o){t.insertAfter(r.types.classPrivateMethod("get",r.types.cloneNode(n),[],r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.cloneNode(s),"2023-11"===e&&o?[]:[r.types.thisExpression()]))]),o)),t.insertAfter(r.types.classPrivateMethod("set",r.types.cloneNode(n),[r.types.identifier("v")],r.types.blockStatement([r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(i),"2023-11"===e&&o?[r.types.identifier("v")]:[r.types.thisExpression(),r.types.identifier("v")]))]),o))}function N(e,t,n,s){let i,o;"set"===e.node.kind?(i=[r.types.identifier("v")],o=[r.types.expressionStatement(r.types.callExpression(n,[r.types.thisExpression(),r.types.identifier("v")]))]):(i=[],o=[r.types.returnStatement(r.types.callExpression(n,[r.types.thisExpression()]))]),e.replaceWith(r.types.classPrivateMethod(e.node.kind,r.types.cloneNode(t),i,r.types.blockStatement(o),s))}function j(e){const{type:t}=e;return"TSDeclareMethod"!==t&&"TSIndexSignature"!==t&&"StaticBlock"!==t}function k(e){return 0===e.length?r.types.unaryExpression("void",r.types.numericLiteral(0)):1===e.length?e[0]:r.types.sequenceExpression(e)}function L(e){const{params:t,body:n,generator:s,async:i}=e;return r.types.functionExpression(void 0,t,n,s,i)}function F(e,t){return r.types.callExpression(e.addHelper("setFunctionName"),[r.types.thisExpression(),t])}function R(e,t){return r.types.callExpression(e.addHelper("toPropertyKey"),[t])}function M(e){return r.types.arrowFunctionExpression([r.types.identifier("_")],r.types.binaryExpression("in",r.types.cloneNode(e),r.types.identifier("_")))}function B(e){try{return r.types.traverseFast(e,(e=>{if(r.types.isPrivateName(e))throw null})),!1}catch(e){return!0}}function U(e,t){let n=!1;if(t.length>0){const r=(0,a.privateNameVisitorFactory)({PrivateName(e,t){t.privateNamesMap.has(e.node.id.name)&&(n=!0,e.stop())}}),s=new Map;for(const e of t)s.set(e,null);e.traverse(r,{privateNamesMap:s})}return n}function $(e){return"Identifier"===e.type?"__proto__"===e.name:"__proto__"===e.value}function V(e){return e.decorators&&e.decorators.length>0}function W(e){switch(e.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return V(e);default:return!1}}function K(e){return e.isClassExpression({id:null})&&(V(t=e.node)||t.body.body.some(W));var t}function G(e,t){const n=e.generateUidIdentifier(t);return e.push({id:n,kind:"let"}),r.types.cloneNode(n)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FEATURES=void 0,t.enableFeature=function(e,t,n){let r;u(e,t)&&!p(e,t)||(e.set(o,e.get(o)|t),"#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"===n?(h(e,t,!0),e.set(l,e.get(l)|t)):"#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"===n?(h(e,t,!1),e.set(l,e.get(l)|t)):h(e,t,n));for(const[t,n]of i){if(!u(e,t))continue;if(p(e,t))continue;const i=d(e,t);if(r===!i)throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).\n\n"+c(e));r=i;var s=n}if(void 0!==r)for(const[t,n]of i)u(e,t)&&d(e,t)!==r&&(h(e,t,r),console.warn(`Though the "loose" option was set to "${!r}" in your @babel/preset-env config, it will not be used for ${n} since the "loose" mode option was set to "${r}" for ${s}.\nThe "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding\n\t["${n}", { "loose": ${r} }]\nto the "plugins" section of your Babel config.\n\n`+c(e)))},t.isLoose=d,t.shouldTransform=function(e,t){let n=null,i=null,o=null,a=null,l=null;(0,r.hasOwnDecorators)(e.node)&&(n=e.get("decorators.0"));for(const t of e.get("body.body"))!n&&(0,r.hasOwnDecorators)(t.node)&&(n=t.get("decorators.0")),!i&&t.isClassProperty()&&(i=t),!o&&t.isClassPrivateProperty()&&(o=t),!a&&null!=t.isClassPrivateMethod&&t.isClassPrivateMethod()&&(a=t),!l&&null!=t.isStaticBlock&&t.isStaticBlock()&&(l=t);if(n&&o)throw o.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(n&&a)throw a.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(n&&!u(t,s.decorators))throw e.buildCodeFrameError('Decorators are not enabled.\nIf you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:\n\t["@babel/plugin-proposal-decorators", { "version": "legacy" }]\n\t["@babel/plugin-transform-class-properties", { "loose": true }]');if(a&&!u(t,s.privateMethods))throw a.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((i||o)&&!u(t,s.fields)&&!u(t,s.privateMethods))throw e.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(l&&!u(t,s.staticBlocks))throw e.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(n||a||l)||!(!i&&!o||!u(t,s.fields))};var r=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js");const s=t.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),i=new Map([[s.fields,"@babel/plugin-transform-class-properties"],[s.privateMethods,"@babel/plugin-transform-private-methods"],[s.privateIn,"@babel/plugin-transform-private-property-in-object"]]),o="@babel/plugin-class-features/featuresKey",a="@babel/plugin-class-features/looseKey";var l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",p=function(e,t){return!!(e.get(l)&t)};function c(e){let{filename:t}=e.opts;return t&&"unknown"!==t||(t="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.\nYou can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:\n\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${t} <your build command>\nSee https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function u(e,t){return!!(e.get(o)&t)}function d(e,t){return!!(e.get(a)&t)}function h(e,t,n){n?e.set(a,e.get(a)|t):e.set(a,e.get(a)&~t),e.set(l,e.get(l)&~t)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildCheckInRHS=m,t.buildFieldsInitNodes=function(e,t,n,i,o,a,l,p,d,h){var f;let m,y=0;const b=[],g=[];let E=!1;const v=[];let x=null;const T=r.types.isIdentifier(t)?()=>t:()=>(null!=m||(m=n[0].scope.generateUidIdentifierBasedOnNode(t)),m),j=null!=(f=e)?f:n[0].scope.generateUidIdentifier((null==h?void 0:h.name)||"Class");null!=e||(e=r.types.cloneNode(h));for(const t of n){t.isClassProperty()&&c.assertFieldTransformed(t);const n=!(null!=r.types.isStaticBlock&&r.types.isStaticBlock(t.node))&&t.node.static,f=!n,m=t.isPrivate(),x=!m,k=t.isProperty(),M=!k,B=null==t.isStaticBlock?void 0:t.isStaticBlock();switch(n&&(y|=1),(n||M&&m||B)&&(new s.default({methodPath:t,constantSuper:d,file:o,refToPreserve:h,getSuperRef:T,getObjectRef:()=>(y|=2,n||B?j:r.types.memberExpression(j,r.types.identifier("prototype")))}).replace(),L(t,j,h)&&(y|=2)),E=!1,!0){case B:{const e=t.node.body;1===e.length&&r.types.isExpressionStatement(e[0])?b.push(R(e[0],t)):b.push(r.types.inheritsComments(r.template.statement.ast`(() => { ${e} })()`,t.node));break}case n&&m&&k&&l:b.push(S(r.types.cloneNode(e),t,i));break;case n&&m&&k&&!l:u(o)?b.push(_(t,i,p)):b.push(A(t,i));break;case n&&x&&k&&a:if(!F(t.node)){b.push(D(r.types.cloneNode(e),t));break}case n&&x&&k&&!a:b.push(I(r.types.cloneNode(e),t,o));break;case f&&m&&k&&l:g.push(S(r.types.thisExpression(),t,i));break;case f&&m&&k&&!l:g.push(P(r.types.thisExpression(),t,i,o));break;case f&&m&&M&&l:g.unshift(w(r.types.thisExpression(),t,i)),v.push(N(o,t,i,l));break;case f&&m&&M&&!l:g.unshift(C(r.types.thisExpression(),t,i,o)),v.push(N(o,t,i,l));break;case n&&m&&M&&!l:u(o)||b.unshift(A(t,i)),v.push(N(o,t,i,l));break;case n&&m&&M&&l:b.unshift(O(r.types.cloneNode(e),t,0,i)),v.push(N(o,t,i,l));break;case f&&x&&k&&a:g.push(D(r.types.thisExpression(),t));break;case f&&x&&k&&!a:E=!0,g.push(I(r.types.thisExpression(),t,o));break;default:throw new Error("Unreachable.")}}return 2&y&&null!=h&&(x=r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(j),r.types.cloneNode(h)))),{staticNodes:b.filter(Boolean),instanceNodes:g.filter(Boolean),lastInstanceNodeReturnsThis:E,pureStaticNodes:v.filter(Boolean),classBindingNode:x,wrapClass(t){for(const e of n)e.node.leadingComments=null,e.remove();return m&&(t.scope.push({id:r.types.cloneNode(m)}),t.set("superClass",r.types.assignmentExpression("=",m,t.node.superClass))),0!==y&&(t.isClassExpression()?(t.scope.push({id:e}),t.replaceWith(r.types.assignmentExpression("=",r.types.cloneNode(e),t.node))):(null==h&&(t.node.id=e),null!=x&&t.scope.push({id:j}))),t}}},t.buildPrivateNamesMap=function(e,t,n,s){const i=new Map;let o;for(const a of n)if(a.isPrivate()){const{name:n}=a.node.key.id;let l=i.get(n);if(!l){const r=!a.isProperty(),p=a.node.static;let c,d=!1;!t&&u(s)&&r&&!p?(d=!!o,null!=o||(o=a.scope.generateUidIdentifier(`${e}_brand`)),c=o):c=a.scope.generateUidIdentifier(n),l={id:c,static:p,method:r,initAdded:d},i.set(n,l)}if(a.isClassPrivateMethod())if("get"===a.node.kind){const{body:e}=a.node.body;let t;1===e.length&&r.types.isReturnStatement(t=e[0])&&r.types.isCallExpression(t=t.argument)&&1===t.arguments.length&&r.types.isThisExpression(t.arguments[0])&&r.types.isIdentifier(t=t.callee)?(l.getId=r.types.cloneNode(t),l.getterDeclared=!0):l.getId=a.scope.generateUidIdentifier(`get_${n}`)}else if("set"===a.node.kind){const{params:e}=a.node,{body:t}=a.node.body;let s;1===t.length&&r.types.isExpressionStatement(s=t[0])&&r.types.isCallExpression(s=s.expression)&&2===s.arguments.length&&r.types.isThisExpression(s.arguments[0])&&r.types.isIdentifier(s.arguments[1],{name:e[0].name})&&r.types.isIdentifier(s=s.callee)?(l.setId=r.types.cloneNode(s),l.setterDeclared=!0):l.setId=a.scope.generateUidIdentifier(`set_${n}`)}else"method"===a.node.kind&&(l.methodId=a.scope.generateUidIdentifier(n));i.set(n,l)}return i},t.buildPrivateNamesNodes=function(e,t,n,s){const i=[],o=new Set;for(const[a,p]of e){const{static:e,method:c,getId:d,setId:h}=p,f=d||h,m=r.types.cloneNode(p.id);let y;if(t)y=r.types.callExpression(s.addHelper("classPrivateFieldLooseKey"),[r.types.stringLiteral(a)]);else if(n)y=r.types.callExpression(r.types.identifier("Symbol"),[r.types.stringLiteral(a)]);else if(!e){if(o.has(m.name))continue;o.add(m.name),y=r.types.newExpression(r.types.identifier(!c||f&&!u(s)?"WeakMap":"WeakSet"),[])}y&&(n||(0,l.default)(y),i.push(r.template.statement.ast`var ${m} = ${y}`))}return i},t.privateNameVisitorFactory=d,t.transformPrivateNamesUsage=function(e,t,n,{privateFieldsAsProperties:r,noUninitializedPrivateFieldAccess:s,noDocumentAll:i,innerBinding:a},l){if(!n.size)return;const p=t.get("body"),c=r?T:x;(0,o.default)(p,h,Object.assign({privateNamesMap:n,classRef:e,file:l},c,{noDocumentAll:i,noUninitializedPrivateFieldAccess:s,innerBinding:a})),p.traverse(y,{privateNamesMap:n,classRef:e,file:l,privateFieldsAsProperties:r,innerBinding:a})};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),a=n("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),l=n("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),p=n("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),c=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),u=e=>e.availableHelper("classPrivateFieldGet2");function d(e){const t=r.traverse.visitors.merge([Object.assign({},e),i.default]),n=Object.assign({},e,{Class(e){const{privateNamesMap:r}=this,s=e.get("body.body"),i=new Map(r),o=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t),o.push(t)}o.length&&(e.get("body").traverse(t,Object.assign({},this,{redeclared:o})),e.traverse(n,Object.assign({},this,{privateNamesMap:i})),e.skipKey("body"))}});return n}const h=d({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:n,redeclared:r}=this,{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s}))return;const{name:o}=s.id;n.has(o)&&(null!=r&&r.includes(o)||this.handle(i,t))}});function f(e,t,n){for(;null!=(r=t)&&r.hasBinding(e)&&!t.bindingIdentifierEquals(e,n);){var r;t.rename(e),t=t.parent}}function m(e,t,n){return n||null==t.availableHelper||!t.availableHelper("checkInRHS")?e:r.types.callExpression(t.addHelper("checkInRHS"),[e])}const y=d({BinaryExpression(e,{file:t}){const{operator:n,left:s,right:i}=e.node;if("in"!==n)return;if(!r.types.isPrivateName(s))return;const{privateFieldsAsProperties:o,privateNamesMap:a,redeclared:l}=this,{name:p}=s.id;if(!a.has(p))return;if(null!=l&&l.includes(p))return;if(f(this.classRef.name,e.scope,this.innerBinding),o){const{id:n}=a.get(p);return void e.replaceWith(r.template.expression.ast`
|
|
39
|
+
Object.prototype.hasOwnProperty.call(${m(i,t)}, ${r.types.cloneNode(n)})
|
|
40
|
+
`)}const{id:c,static:u}=a.get(p);u?e.replaceWith(r.template.expression.ast`${m(i,t)} === ${r.types.cloneNode(this.classRef)}`):e.replaceWith(r.template.expression.ast`${r.types.cloneNode(c)}.has(${m(i,t)})`)}});function b(e,t){return r.types.callExpression(e.addHelper("readOnlyError"),[r.types.stringLiteral(`#${t}`)])}function g(e,t){return e.availableHelper("writeOnlyError")?r.types.callExpression(e.addHelper("writeOnlyError"),[r.types.stringLiteral(`#${t}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),r.types.buildUndefinedNode())}function E(e,t){return t?e:r.types.memberExpression(e,r.types.identifier("_"))}function v(e){return function(t){return r.types.inherits(e.apply(this,arguments),t.node)}}const x={memoise(e,t){const{scope:n}=e,{object:r}=e.node,s=n.maybeGenerateMemoised(r);s&&this.memoiser.set(r,s,t)},receiver(e){const{object:t}=e.node;return this.memoiser.has(t)?r.types.cloneNode(this.memoiser.get(t)):r.types.cloneNode(t)},get:v((function(e){const{classRef:t,privateNamesMap:n,file:s,innerBinding:i,noUninitializedPrivateFieldAccess:o}=this,a=e.node.property,{name:l}=a.id,{id:p,static:c,method:d,methodId:h,getId:m,setId:y}=n.get(l),b=m||y,v=e=>r.types.inherits(r.types.cloneNode(e),a);if(c){if(f(t.name,e.scope,i),!u(s)){const n=d&&!b?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return r.types.callExpression(s.addHelper(n),[this.receiver(e),r.types.cloneNode(t),v(p)])}const n=this.receiver(e),a=r.types.isIdentifier(n)&&n.name===t.name;if(!d)return E(a?v(p):r.types.callExpression(s.addHelper("assertClassBrand"),[r.types.cloneNode(t),n,v(p)]),o);if(m)return a?r.types.callExpression(v(m),[n]):r.types.callExpression(s.addHelper("classPrivateGetter"),[r.types.cloneNode(t),n,v(m)]);if(y){const e=r.types.buildUndefinedNode();return a?e:r.types.sequenceExpression([r.types.callExpression(s.addHelper("assertClassBrand"),[r.types.cloneNode(t),n]),e])}return a?v(p):r.types.callExpression(s.addHelper("assertClassBrand"),[r.types.cloneNode(t),n,v(p)])}return d?b?m?u(s)?r.types.callExpression(s.addHelper("classPrivateGetter"),[r.types.cloneNode(p),this.receiver(e),v(m)]):r.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),v(p)]):r.types.sequenceExpression([this.receiver(e),g(s,l)]):u(s)?r.types.callExpression(s.addHelper("assertClassBrand"),[r.types.cloneNode(p),this.receiver(e),v(h)]):r.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),r.types.cloneNode(p),v(h)]):u(s)?r.types.callExpression(s.addHelper("classPrivateFieldGet2"),[v(p),this.receiver(e)]):r.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),v(p)])})),boundGet(e){return this.memoise(e,1),r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[this.receiver(e)])},set:v((function(e,t){const{classRef:n,privateNamesMap:s,file:i,noUninitializedPrivateFieldAccess:o}=this,a=e.node.property,{name:l}=a.id,{id:p,static:c,method:d,setId:h,getId:f}=s.get(l),m=f||h,y=e=>r.types.inherits(r.types.cloneNode(e),a);if(c){if(!u(i)){const s=d&&!m?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return r.types.callExpression(i.addHelper(s),[this.receiver(e),r.types.cloneNode(n),y(p),t])}const s=this.receiver(e),a=r.types.isIdentifier(s)&&s.name===n.name;if(d&&!h){const e=b(i,l);return a?r.types.sequenceExpression([t,e]):r.types.sequenceExpression([t,r.types.callExpression(i.addHelper("assertClassBrand"),[r.types.cloneNode(n),s]),b(i,l)])}return h?a?r.types.callExpression(r.types.cloneNode(h),[s,t]):r.types.callExpression(i.addHelper("classPrivateSetter"),[r.types.cloneNode(n),y(h),s,t]):r.types.assignmentExpression("=",E(y(p),o),a?t:r.types.callExpression(i.addHelper("assertClassBrand"),[r.types.cloneNode(n),s,t]))}return d?h?u(i)?r.types.callExpression(i.addHelper("classPrivateSetter"),[r.types.cloneNode(p),y(h),this.receiver(e),t]):r.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),y(p),t]):r.types.sequenceExpression([this.receiver(e),t,b(i,l)]):u(i)?r.types.callExpression(i.addHelper("classPrivateFieldSet2"),[y(p),this.receiver(e),t]):r.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),y(p),t])})),destructureSet(e){const{classRef:t,privateNamesMap:n,file:s,noUninitializedPrivateFieldAccess:i}=this,o=e.node.property,{name:a}=o.id,{id:l,static:p,method:c,setId:d}=n.get(a),h=e=>r.types.inherits(r.types.cloneNode(e),o);if(!u(s)){if(p){try{var f=s.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return r.types.memberExpression(r.types.callExpression(f,[this.receiver(e),r.types.cloneNode(t),h(l)]),r.types.identifier("value"))}return r.types.memberExpression(r.types.callExpression(s.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),h(l)]),r.types.identifier("value"))}if(c&&!d)return r.types.memberExpression(r.types.sequenceExpression([e.node.object,b(s,a)]),r.types.identifier("_"));if(p&&!c){const t=this.get(e);if(!i||!r.types.isCallExpression(t))return t;const n=t.arguments.pop();return t.arguments.push(r.template.expression.ast`(_) => ${n} = _`),r.types.memberExpression(r.types.callExpression(s.addHelper("toSetter"),[t]),r.types.identifier("_"))}const m=this.set(e,r.types.identifier("_"));if(!r.types.isCallExpression(m)||!r.types.isIdentifier(m.arguments[m.arguments.length-1],{name:"_"}))throw e.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let y;return y=r.types.isMemberExpression(m.callee,{computed:!1})&&r.types.isIdentifier(m.callee.property)&&"call"===m.callee.property.name?[m.callee.object,r.types.arrayExpression(m.arguments.slice(1,-1)),m.arguments[0]]:[m.callee,r.types.arrayExpression(m.arguments.slice(0,-1))],r.types.memberExpression(r.types.callExpression(s.addHelper("toSetter"),y),r.types.identifier("_"))},call(e,t){return this.memoise(e,1),(0,a.default)(this.get(e),this.receiver(e),t,!1)},optionalCall(e,t){return this.memoise(e,1),(0,a.default)(this.get(e),this.receiver(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},T={get(e){const{privateNamesMap:t,file:n}=this,{object:s}=e.node,{name:i}=e.node.property.id;return r.template.expression`BASE(REF, PROP)[PROP]`({BASE:n.addHelper("classPrivateFieldLooseBase"),REF:r.types.cloneNode(s),PROP:r.types.cloneNode(t.get(i).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return r.types.callExpression(r.types.memberExpression(this.get(e),r.types.identifier("bind")),[r.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return r.types.callExpression(this.get(e),t)},optionalCall(e,t){return r.types.optionalCallExpression(this.get(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function S(e,t,n){const{id:s}=n.get(t.node.key.id.name),i=t.node.value||t.scope.buildUndefinedNode();return R(r.template.statement.ast`
|
|
41
|
+
Object.defineProperty(${e}, ${r.types.cloneNode(s)}, {
|
|
42
|
+
// configurable is false by default
|
|
43
|
+
// enumerable is false by default
|
|
44
|
+
writable: true,
|
|
45
|
+
value: ${i}
|
|
46
|
+
});
|
|
47
|
+
`,t)}function P(e,t,n,s){const{id:i}=n.get(t.node.key.id.name),o=t.node.value||t.scope.buildUndefinedNode();if(!s.availableHelper("classPrivateFieldInitSpec"))return R(r.template.statement.ast`${r.types.cloneNode(i)}.set(${e}, {
|
|
48
|
+
// configurable is always false for private elements
|
|
49
|
+
// enumerable is always false for private elements
|
|
50
|
+
writable: true,
|
|
51
|
+
value: ${o},
|
|
52
|
+
})`,t);const a=s.addHelper("classPrivateFieldInitSpec");return M(R(r.types.expressionStatement(r.types.callExpression(a,[r.types.thisExpression(),M(r.types.cloneNode(i),t.node.key),u(s)?o:r.template.expression.ast`{ writable: true, value: ${o} }`])),t),t.node)}function _(e,t,n){const s=t.get(e.node.key.id.name),i=n?e.node.value:r.template.expression.ast`{
|
|
53
|
+
_: ${e.node.value||r.types.buildUndefinedNode()}
|
|
54
|
+
}`;return R(r.types.variableDeclaration("var",[r.types.variableDeclarator(r.types.cloneNode(s.id),i)]),e)}var A=function(e,t){const n=t.get(e.node.key.id.name),{id:s,getId:i,setId:o,initAdded:a}=n,l=i||o;if(!e.isProperty()&&(a||!l))return;if(l)return t.set(e.node.key.id.name,Object.assign({},n,{initAdded:!0})),R(r.template.statement.ast`
|
|
55
|
+
var ${r.types.cloneNode(s)} = {
|
|
56
|
+
// configurable is false by default
|
|
57
|
+
// enumerable is false by default
|
|
58
|
+
// writable is false by default
|
|
59
|
+
get: ${i?i.name:e.scope.buildUndefinedNode()},
|
|
60
|
+
set: ${o?o.name:e.scope.buildUndefinedNode()}
|
|
61
|
+
}
|
|
62
|
+
`,e);const p=e.node.value||e.scope.buildUndefinedNode();return R(r.template.statement.ast`
|
|
63
|
+
var ${r.types.cloneNode(s)} = {
|
|
64
|
+
// configurable is false by default
|
|
65
|
+
// enumerable is false by default
|
|
66
|
+
writable: true,
|
|
67
|
+
value: ${p}
|
|
68
|
+
};
|
|
69
|
+
`,e)};function w(e,t,n){const s=n.get(t.node.key.id.name),{methodId:i,id:o,getId:a,setId:l,initAdded:p}=s;if(!p)return i?R(r.template.statement.ast`
|
|
70
|
+
Object.defineProperty(${e}, ${o}, {
|
|
71
|
+
// configurable is false by default
|
|
72
|
+
// enumerable is false by default
|
|
73
|
+
// writable is false by default
|
|
74
|
+
value: ${i.name}
|
|
75
|
+
});
|
|
76
|
+
`,t):a||l?(n.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),R(r.template.statement.ast`
|
|
77
|
+
Object.defineProperty(${e}, ${o}, {
|
|
78
|
+
// configurable is false by default
|
|
79
|
+
// enumerable is false by default
|
|
80
|
+
// writable is false by default
|
|
81
|
+
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
82
|
+
set: ${l?l.name:t.scope.buildUndefinedNode()}
|
|
83
|
+
});
|
|
84
|
+
`,t)):void 0}function C(e,t,n,s){const i=n.get(t.node.key.id.name);if(!i.initAdded)return u(s)||!i.getId&&!i.setId?function(e,t,n,s){const i=n.get(t.node.key.id.name),{id:o}=i;if(!s.availableHelper("classPrivateMethodInitSpec"))return R(r.template.statement.ast`${o}.add(${e})`,t);const a=s.addHelper("classPrivateMethodInitSpec");return R(r.template.statement.ast`${a}(
|
|
85
|
+
${r.types.thisExpression()},
|
|
86
|
+
${r.types.cloneNode(o)}
|
|
87
|
+
)`,t)}(e,t,n,s):function(e,t,n,s){const i=n.get(t.node.key.id.name),{id:o,getId:a,setId:l}=i;if(n.set(t.node.key.id.name,Object.assign({},i,{initAdded:!0})),!s.availableHelper("classPrivateFieldInitSpec"))return R(r.template.statement.ast`
|
|
88
|
+
${o}.set(${e}, {
|
|
89
|
+
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
90
|
+
set: ${l?l.name:t.scope.buildUndefinedNode()}
|
|
91
|
+
});
|
|
92
|
+
`,t);const p=s.addHelper("classPrivateFieldInitSpec");return M(R(r.template.statement.ast`${p}(
|
|
93
|
+
${r.types.thisExpression()},
|
|
94
|
+
${r.types.cloneNode(o)},
|
|
95
|
+
{
|
|
96
|
+
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
97
|
+
set: ${l?l.name:t.scope.buildUndefinedNode()}
|
|
98
|
+
},
|
|
99
|
+
)`,t),t.node)}(e,t,n,s)}function D(e,t){const{key:n,computed:s}=t.node,i=t.node.value||t.scope.buildUndefinedNode();return R(r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(e,n,s||r.types.isLiteral(n)),i)),t)}function I(e,t,n){const{key:s,computed:i}=t.node,o=t.node.value||t.scope.buildUndefinedNode();return R(r.types.expressionStatement(r.types.callExpression(n.addHelper("defineProperty"),[e,i||r.types.isLiteral(s)?s:r.types.stringLiteral(s.name),o])),t)}function O(e,t,n,s){const i=s.get(t.node.key.id.name),{id:o,methodId:a,getId:l,setId:p,initAdded:c}=i;if(!c)return l||p?(s.set(t.node.key.id.name,Object.assign({},i,{initAdded:!0})),R(r.template.statement.ast`
|
|
100
|
+
Object.defineProperty(${e}, ${o}, {
|
|
101
|
+
// configurable is false by default
|
|
102
|
+
// enumerable is false by default
|
|
103
|
+
// writable is false by default
|
|
104
|
+
get: ${l?l.name:t.scope.buildUndefinedNode()},
|
|
105
|
+
set: ${p?p.name:t.scope.buildUndefinedNode()}
|
|
106
|
+
})
|
|
107
|
+
`,t)):R(r.template.statement.ast`
|
|
108
|
+
Object.defineProperty(${e}, ${o}, {
|
|
109
|
+
// configurable is false by default
|
|
110
|
+
// enumerable is false by default
|
|
111
|
+
// writable is false by default
|
|
112
|
+
value: ${a.name}
|
|
113
|
+
});
|
|
114
|
+
`,t)}function N(e,t,n,s=!1){const i=n.get(t.node.key.id.name),{id:o,methodId:a,getId:l,setId:p,getterDeclared:c,setterDeclared:d,static:h}=i,{params:f,body:m,generator:y,async:b}=t.node,g=l&&0===f.length,E=p&&f.length>0;if(g&&c||E&&d)return n.set(t.node.key.id.name,Object.assign({},i,{initAdded:!0})),null;if(u(e)&&(g||E)&&!s){const e=t.get("body").scope,n=e.generateUidIdentifier("this"),s={thisRef:n,argumentsPath:[]};if(t.traverse(j,s),s.argumentsPath.length){const t=e.generateUidIdentifier("arguments");e.push({id:t,init:r.template.expression.ast`[].slice.call(arguments, 1)`});for(const e of s.argumentsPath)e.replaceWith(r.types.cloneNode(t))}f.unshift(r.types.cloneNode(n))}let v=a;return g?(n.set(t.node.key.id.name,Object.assign({},i,{getterDeclared:!0,initAdded:!0})),v=l):E?(n.set(t.node.key.id.name,Object.assign({},i,{setterDeclared:!0,initAdded:!0})),v=p):h&&!s&&(v=o),R(r.types.functionDeclaration(r.types.cloneNode(v),f,m,y,b),t)}const j=r.traverse.visitors.merge([{Identifier(e,t){t.argumentsPath&&"arguments"===e.node.name&&t.argumentsPath.push(e)},UnaryExpression(e){const{node:t}=e;if("delete"===t.operator){const n=(0,p.skipTransparentExprWrapperNodes)(t.argument);r.types.isThisExpression(n)&&e.replaceWith(r.types.booleanLiteral(!0))}},ThisExpression(e,t){t.needsClassRef=!0,e.replaceWith(r.types.cloneNode(t.thisRef))},MetaProperty(e){const{node:t,scope:n}=e;"new"===t.meta.name&&"target"===t.property.name&&e.replaceWith(n.buildUndefinedNode())}},i.default]),k={ReferencedIdentifier(e,t){e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)&&(t.needsClassRef=!0,e.node.name=t.thisRef.name)}};function L(e,t,n){var r;const s={thisRef:t,needsClassRef:!1,innerBinding:n};return e.isMethod()||e.traverse(j,s),null!=n&&null!=(r=s.thisRef)&&r.name&&s.thisRef.name!==n.name&&e.traverse(k,s),s.needsClassRef}function F({key:e,computed:t}){return"Identifier"===e.type?!t&&("name"===e.name||"length"===e.name):"StringLiteral"===e.type&&("name"===e.value||"length"===e.value)}function R(e,t){return r.types.inheritLeadingComments(e,t.node),r.types.inheritInnerComments(e,t.node),e}function M(e,t){return e.start=t.start,e.end=t.end,e.loc=t.loc,e}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FEATURES",{enumerable:!0,get:function(){return u.FEATURES}}),Object.defineProperty(t,"buildCheckInRHS",{enumerable:!0,get:function(){return l.buildCheckInRHS}}),t.createClassFeaturePlugin=function({name:e,feature:t,loose:n,manipulateOptions:f,api:m,inherits:y,decoratorVersion:b}){var g;if(t&u.FEATURES.decorators&&("2023-11"===b||"2023-05"===b||"2023-01"===b||"2022-03"===b||"2021-12"===b))return(0,o.default)(m,{loose:n},b,y);null!=m||(m={assumption:()=>{}});const E=m.assumption("setPublicClassFields"),v=m.assumption("privateFieldsAsSymbols"),x=m.assumption("privateFieldsAsProperties"),T=null!=(g=m.assumption("noUninitializedPrivateFieldAccess"))&&g,S=m.assumption("constantSuper"),P=m.assumption("noDocumentAll");if(x&&v)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');const _=x||v;if(!0===n){const t=[];void 0!==E&&t.push('"setPublicClassFields"'),void 0!==x&&t.push('"privateFieldsAsProperties"'),void 0!==v&&t.push('"privateFieldsAsSymbols"'),0!==t.length&&console.warn(`[${e}]: You are using the "loose: true" option and you are explicitly setting a value for the ${t.join(" and ")} assumption${t.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:\n\t"assumptions": {\n\t\t"setPublicClassFields": true,\n\t\t"privateFieldsAsSymbols": true\n\t}`)}return{name:e,manipulateOptions:f,inherits:y,pre(e){(0,u.enableFeature)(e,t,n),"number"!=typeof e.get(h)&&e.get(h)&&!a.lt(e.get(h),"7.24.7")||e.set(h,"7.24.7")},visitor:{Class(e,{file:n}){var i;if("7.24.7"!==n.get(h))return;if(!(0,u.shouldTransform)(e,n))return;const o=e.isClassDeclaration();o&&(0,d.assertFieldTransformed)(e);const a=(0,u.isLoose)(n,t);let f;const m=(0,p.hasDecorators)(e.node),y=[],b=[],g=[],A=new Set,w=e.get("body");for(const e of w.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed&&g.push(e),e.isPrivate()){const{name:t}=e.node.key.id,n=`get ${t}`,r=`set ${t}`;if(e.isClassPrivateMethod()){if("get"===e.node.kind){if(A.has(n)||A.has(t)&&!A.has(r))throw e.buildCodeFrameError("Duplicate private field");A.add(n).add(t)}else if("set"===e.node.kind){if(A.has(r)||A.has(t)&&!A.has(n))throw e.buildCodeFrameError("Duplicate private field");A.add(r).add(t)}}else{if(A.has(t)&&!A.has(n)&&!A.has(r)||A.has(t)&&(A.has(n)||A.has(r)))throw e.buildCodeFrameError("Duplicate private field");A.add(t)}}e.isClassMethod({kind:"constructor"})?f=e:(b.push(e),(e.isProperty()||e.isPrivate()||null!=e.isStaticBlock&&e.isStaticBlock())&&y.push(e))}if(!y.length&&!m)return;const C=e.node.id;let D;C&&o||((0,s.default)(e),D=e.scope.generateUidIdentifier((null==C?void 0:C.name)||"Class"));const I=null!=(i=D)?i:r.types.cloneNode(C),O=(0,l.buildPrivateNamesMap)(I.name,null!=_?_:a,y,n),N=(0,l.buildPrivateNamesNodes)(O,null!=x?x:a,null!=v&&v,n);let j,k,L,F,R,M,B;(0,l.transformPrivateNamesUsage)(I,e,O,{privateFieldsAsProperties:null!=_?_:a,noUninitializedPrivateFieldAccess:T,noDocumentAll:P,innerBinding:C},n),m?(k=R=j=[],({instanceNodes:L,wrapClass:B}=(0,p.buildDecoratedClass)(I,e,b,n))):(j=(0,c.extractComputedKeys)(e,g,n),({staticNodes:k,pureStaticNodes:R,instanceNodes:L,lastInstanceNodeReturnsThis:F,classBindingNode:M,wrapClass:B}=(0,l.buildFieldsInitNodes)(D,e.node.superClass,y,O,n,null!=E?E:a,null!=_?_:a,T,null!=S?S:a,C))),L.length>0&&(0,c.injectInitialization)(e,f,L,((e,t)=>{if(!m)for(const n of y)null!=r.types.isStaticBlock&&r.types.isStaticBlock(n.node)||n.node.static||n.traverse(e,t)}),F);const U=B(e);U.insertBefore([...N,...j]),k.length>0&&U.insertAfter(k),R.length>0&&U.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R),null!=M&&o&&U.insertAfter(M)},ExportDefaultDeclaration(e,{file:t}){{if("7.24.7"!==t.get(h))return;const n=e.get("declaration");n.isClassDeclaration()&&(0,p.hasDecorators)(n.node)&&(n.node.id?(0,i.default)(e):n.node.type="ClassExpression")}}}}},Object.defineProperty(t,"enableFeature",{enumerable:!0,get:function(){return u.enableFeature}}),Object.defineProperty(t,"injectInitialization",{enumerable:!0,get:function(){return c.injectInitialization}});var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),a=n("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),l=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),p=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),c=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),u=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),d=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");const h="@babel/plugin-class-features/version"},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractComputedKeys=function(e,t,n){const{scope:s}=e,i=[],o={classBinding:e.node.id&&s.getBinding(e.node.id.name),file:n};for(const e of t){const t=e.get("key");t.isReferencedIdentifier()?a(t,o):t.traverse(l,o);const n=e.node;if(!t.isConstantExpression()){const e=p(t.node,s,s.generateUidBasedOnNode(t.node));e&&(i.push(r.types.expressionStatement(e)),n.key=r.types.cloneNode(e.left))}}return i},t.injectInitialization=function(e,t,n,s,a){if(!n.length)return;const l=!!e.node.superClass;if(!t){const n=r.types.classMethod("constructor",r.types.identifier("constructor"),[],r.types.blockStatement([]));l&&(n.params=[r.types.restElement(r.types.identifier("args"))],n.body.body.push(r.template.statement.ast`super(...args)`)),[t]=e.get("body").unshiftContainer("body",n)}if(s&&s(o,{scope:t.scope}),l){const e=[];t.traverse(i,e);let s=!0;for(const t of e)if(s?s=!1:n=n.map((e=>r.types.cloneNode(e))),t.parentPath.isExpressionStatement())t.insertAfter(n);else{const e=[t.node,...n.map((e=>r.types.toExpression(e)))];a||e.push(r.types.thisExpression()),t.replaceWith(r.types.sequenceExpression(e))}}else t.get("body").unshiftContainer("body",n)},t.memoiseComputedKey=p;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js");const i=r.traverse.visitors.merge([{Super(e){const{node:t,parentPath:n}=e;n.isCallExpression({callee:t})&&this.push(n)}},s.default]),o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){t.hasOwnBinding(e.node.name)&&(t.rename(e.node.name),e.skip())}};function a(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const n=t.file.addHelper("classNameTDZError"),s=r.types.callExpression(n,[r.types.stringLiteral(e.node.name)]);e.replaceWith(r.types.sequenceExpression([s,e.node])),e.skip()}}const l={ReferencedIdentifier:a};function p(e,t,n){if(!r.types.isIdentifier(e)||!t.hasUid(e.name)){if(r.types.isAssignmentExpression(e,{operator:"="})&&r.types.isIdentifier(e.left)&&t.hasUid(e.left.name))return r.types.cloneNode(e);{const s=r.types.identifier(n);return t.push({id:s,kind:"let"}),r.types.assignmentExpression("=",r.types.cloneNode(s),e)}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.assertFieldTransformed=function(e){if(e.node.declare)throw e.buildCodeFrameError("TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.\nIf you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:\n - @babel/plugin-transform-class-properties\n - @babel/plugin-transform-private-methods\n - @babel/plugin-proposal-decorators")}},"./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js":(e,t)=>{function n(e){const{context:t,node:n}=e;if(n.computed&&t.maybeQueue(e.get("key")),n.decorators)for(const n of e.get("decorators"))t.maybeQueue(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.requeueComputedKeyAndDecorators=n,t.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};const r={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&n(e))},Property(e){e.isObjectProperty()||(e.skip(),n(e))}};t.default=r},"./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({node:e,parent:t,scope:n,id:r},s=!1,P=!1){if(e.id)return;if(!m(t)&&!f(t,{kind:"method"})||t.computed&&!d(t.key)){if(E(t)){if(r=t.id,u(r)&&!s){const t=n.parent.getBinding(r.name);if(t&&t.constant&&n.getBinding(r.name)===t)return e.id=o(r),void(e.id[i]=!0)}}else if(l(t,{operator:"="}))r=t.left;else if(!r)return}else r=t.key;let _;if(r&&d(r)?_=function(e){return h(e)?"null":y(e)?`_${e.pattern}_${e.flags}`:g(e)?e.quasis.map((e=>e.value.raw)).join(""):void 0!==e.value?e.value+"":""}(r):r&&u(r)&&(_=r.name),void 0===_)return;if(!P&&c(e)&&/[\uD800-\uDFFF]/.test(_))return;_=v(_);const A=a(_);return A[i]=!0,function(e,t,n,r){if(e.selfReference){if(!r.hasBinding(n.name)||r.hasGlobal(n.name)){if(!c(t))return;let e=x;t.generator&&(e=T);const s=e({FUNCTION:t,FUNCTION_ID:n,FUNCTION_KEY:r.generateUidIdentifier(n.name)}).expression,i=s.callee.body.body[0].params;for(let e=0,n=function(e){const t=e.params.findIndex((e=>p(e)||b(e)));return-1===t?e.params.length:t}(t);e<n;e++)i.push(r.generateUidIdentifier("x"));return s}r.rename(n.name)}t.id=n,r.getProgramParent().references[n.name]=!0}(function(e,t,n){const r={selfAssignment:!1,selfReference:!1,outerDeclar:n.getBindingIdentifier(t),name:t},s=n.getOwnBinding(t);return s?"param"===s.kind&&(r.selfReference=!0):(r.outerDeclar||n.hasGlobal(t))&&n.traverse(e,S,r),r}(e,_,n),e,A,n)||e};var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{NOT_LOCAL_BINDING:i,cloneNode:o,identifier:a,isAssignmentExpression:l,isAssignmentPattern:p,isFunction:c,isIdentifier:u,isLiteral:d,isNullLiteral:h,isObjectMethod:f,isObjectProperty:m,isRegExpLiteral:y,isRestElement:b,isTemplateLiteral:g,isVariableDeclarator:E,toBindingIdentifierName:v}=s,x=r.default.statement("\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),T=r.default.statement("\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),S={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name===t.name&&e.scope.getBindingIdentifier(t.name)===t.outerDeclar&&(t.selfReference=!0,e.stop())}}},"./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n="var"){e.traverse(a,{kind:n,emit:t})};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{assignmentExpression:s,expressionStatement:i,identifier:o}=r,a={Scope(e,t){"let"===t.kind&&e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const n=[],r=e.get("declarations");let a;for(const e of r){a=e.node.id,e.node.init&&n.push(i(s("=",e.node.id,e.node.init)));for(const n of Object.keys(e.getBindingIdentifiers()))t.emit(o(n),n,null!==e.node.init)}e.parentPath.isFor({left:e.node})?e.replaceWith(a):e.replaceWithMultiple(n)}}},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}(n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"));function s(e){const t=e,{node:n,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if("&&"===e||"||"===e||"??"===e&&n===t)return s(r)}if(r.isSequenceExpression()){const{expressions:e}=r.node;return e[e.length-1]!==n||s(r)}return r.isConditional({test:n})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:n})}const{LOGICAL_OPERATORS:i,arrowFunctionExpression:o,assignmentExpression:a,binaryExpression:l,booleanLiteral:p,callExpression:c,cloneNode:u,conditionalExpression:d,identifier:h,isMemberExpression:f,isOptionalCallExpression:m,isOptionalMemberExpression:y,isUpdateExpression:b,logicalExpression:g,memberExpression:E,nullLiteral:v,optionalCallExpression:x,optionalMemberExpression:T,sequenceExpression:S,updateExpression:P}=r;class _{constructor(){this._map=void 0,this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e),{value:n}=t;return t.count--,0===t.count?a("=",n,e):n}set(e,t,n){return this._map.set(e,{count:n,value:t})}}function A(e,t){const{node:n}=e;if(y(n))return E(t,n.property,n.computed);if(e.isOptionalCallExpression()){const n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){const r=n.node.object,s=e.scope.maybeGenerateMemoised(r);return n.get("object").replaceWith(a("=",s,r)),c(E(t,h("call")),[s,...e.node.arguments])}return c(t,e.node.arguments)}return e.node}const w={memoise(){},handle(e,t){const{node:n,parent:r,parentPath:i,scope:E}=e;if(e.isOptionalMemberExpression()){if(function(e){for(;e&&!e.isProgram();){const{parentPath:t,container:n,listKey:r}=e,s=t.node;if(r){if(n!==s[r])return!0}else if(n!==s)return!0;e=t}return!1}(e))return;const b=e.find((({node:t,parent:n})=>y(n)?n.optional||n.object!==t:!m(n)||t!==e.node&&n.optional||n.callee!==t));if(E.path.isPattern())return void b.replaceWith(c(o([],b.node),[]));const S=s(b),P=b.parentPath;if(P.isUpdateExpression({argument:n}))throw e.buildCodeFrameError("can't handle update expression");const _=P.isAssignmentExpression({left:b.node}),w=P.isUnaryExpression({operator:"delete"});if(w&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName())throw e.buildCodeFrameError("can't delete a private class element");let D=e;for(;;)if(D.isOptionalMemberExpression()){if(D.node.optional)break;D=D.get("object")}else{if(!D.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${D.node.type}`);if(D.node.optional)break;D=D.get("callee")}const I=D.isOptionalMemberExpression()?D.node.object:D.node.callee,O=E.maybeGenerateMemoised(I),N=null!=O?O:I,j=i.isOptionalCallExpression({callee:n}),k=e=>j,L=i.isCallExpression({callee:n});D.replaceWith(A(D,N)),k()?r.optional?i.replaceWith(this.optionalCall(e,r.arguments)):i.replaceWith(this.call(e,r.arguments)):L?e.replaceWith(this.boundGet(e)):this.delete&&i.isUnaryExpression({operator:"delete"})?i.replaceWith(this.delete(e)):i.isAssignmentExpression()?C(this,e,i):e.replaceWith(this.get(e));let F,R=e.node;for(let t=e;t!==b;){const e=t.parentPath;if(e===b&&k()&&r.optional){R=e.node;break}R=A(e,R),t=e}const M=b.parentPath;if(f(R)&&M.isOptionalCallExpression({callee:b.node,optional:!0})){const{object:t}=R;F=e.scope.maybeGenerateMemoised(t),F&&(R.object=a("=",F,t))}let B=b;(w||_)&&(B=M,R=M.node);const U=O?a("=",u(N),u(I)):u(N);if(S){let e;e=t?l("!=",U,v()):g("&&",l("!==",U,v()),l("!==",u(N),E.buildUndefinedNode())),B.replaceWith(g("&&",e,R))}else{let e;e=t?l("==",U,v()):g("||",l("===",U,v()),l("===",u(N),E.buildUndefinedNode())),B.replaceWith(d(e,w?p(!0):E.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(x(T(e.callee,h("call"),!1,!0),[u(F),...e.arguments],!1))}}else{if(b(r,{argument:n})){if(this.simpleSet)return void e.replaceWith(this.simpleSet(e));const{operator:t,prefix:s}=r;this.memoise(e,2);const o=E.generateUidIdentifierBasedOnNode(n);E.push({id:o});const l=[a("=",u(o),this.get(e))];if(s){l.push(P(t,u(o),s));const n=S(l);return void i.replaceWith(this.set(e,n))}{const r=E.generateUidIdentifierBasedOnNode(n);E.push({id:r}),l.push(a("=",u(r),P(t,u(o),s)),u(o));const p=S(l);return void i.replaceWith(S([this.set(e,p),u(r)]))}}if(i.isAssignmentExpression({left:n}))C(this,e,i);else{if(!i.isCallExpression({callee:n}))return i.isOptionalCallExpression({callee:n})?E.path.isPattern()?void i.replaceWith(c(o([],i.node),[])):void i.replaceWith(this.optionalCall(e,i.node.arguments)):void(this.delete&&i.isUnaryExpression({operator:"delete"})?i.replaceWith(this.delete(e)):i.isForXStatement({left:n})||i.isObjectProperty({value:n})&&i.parentPath.isObjectPattern()||i.isAssignmentPattern({left:n})&&i.parentPath.isObjectProperty({value:r})&&i.parentPath.parentPath.isObjectPattern()||i.isArrayPattern()||i.isAssignmentPattern({left:n})&&i.parentPath.isArrayPattern()||i.isRestElement()?e.replaceWith(this.destructureSet(e)):i.isTaggedTemplateExpression()?e.replaceWith(this.boundGet(e)):e.replaceWith(this.get(e)));i.replaceWith(this.call(e,i.node.arguments))}}}};function C(e,t,n){if(e.simpleSet)return void t.replaceWith(e.simpleSet(t));const{operator:r,right:s}=n.node;if("="===r)n.replaceWith(e.set(t,s));else{const o=r.slice(0,-1);i.includes(o)?(e.memoise(t,1),n.replaceWith(g(o,e.get(t),e.set(t,s)))):(e.memoise(t,2),n.replaceWith(e.set(t,l(o,e.get(t),s))))}}t.default=function(e,t,n){e.traverse(t,Object.assign({},w,n,{memoiser:new _}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-builder.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("assert"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{callExpression:i,cloneNode:o,expressionStatement:a,identifier:l,importDeclaration:p,importDefaultSpecifier:c,importNamespaceSpecifier:u,importSpecifier:d,memberExpression:h,stringLiteral:f,variableDeclaration:m,variableDeclarator:y}=s;t.default=class{constructor(e,t,n){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=t,this._hub=n,this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(p([],f(this._importedSource))),this}require(){return this._statements.push(a(i(l("require"),[f(this._importedSource)]))),this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e),n=this._statements[this._statements.length-1];return r("ImportDeclaration"===n.type),r(0===n.specifiers.length),n.specifiers=[u(t)],this._resultName=o(t),this}default(e){const t=this._scope.generateUidIdentifier(e),n=this._statements[this._statements.length-1];return r("ImportDeclaration"===n.type),r(0===n.specifiers.length),n.specifiers=[c(t)],this._resultName=o(t),this}named(e,t){if("default"===t)return this.default(e);const n=this._scope.generateUidIdentifier(e),s=this._statements[this._statements.length-1];return r("ImportDeclaration"===s.type),r(0===s.specifiers.length),s.specifiers=[d(n,l(t))],this._resultName=o(n),this}var(e){const t=this._scope.generateUidIdentifier(e);let n=this._statements[this._statements.length-1];return"ExpressionStatement"!==n.type&&(r(this._resultName),n=a(this._resultName),this._statements.push(n)),this._statements[this._statements.length-1]=m("var",[y(t,n.expression)]),this._resultName=o(t),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];return"ExpressionStatement"===t.type?t.expression=i(e,[t.expression]):"VariableDeclaration"===t.type?(r(1===t.declarations.length),t.declarations[0].init=i(e,[t.declarations[0].init])):r.fail("Unexpected type."),this}prop(e){const t=this._statements[this._statements.length-1];return"ExpressionStatement"===t.type?t.expression=h(t.expression,l(e)):"VariableDeclaration"===t.type?(r(1===t.declarations.length),t.declarations[0].init=h(t.declarations[0].init,l(e))):r.fail("Unexpected type:"+t.type),this}read(e){this._resultName=h(this._resultName,l(e))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-injector.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("assert"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-builder.js"),o=n("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js");const{identifier:a,importSpecifier:l,numericLiteral:p,sequenceExpression:c,isImportDeclaration:u}=s;function d(e){return"type"!==e.importKind&&"typeof"!==e.importKind}function h(e){return 1===e.specifiers.length&&"ImportNamespaceSpecifier"===e.specifiers[0].type||2===e.specifiers.length&&"ImportNamespaceSpecifier"===e.specifiers[1].type}function f(e){return e.specifiers.length>0&&"ImportDefaultSpecifier"===e.specifiers[0].type}function m(e,t){return e.specifiers.length?!t.specifiers.length||!h(e)&&!h(t)&&(f(t)&&(f(e)?t.specifiers[0]=l(t.specifiers[0].local,a("default")):e.specifiers.unshift(t.specifiers.shift())),e.specifiers.push(...t.specifiers),!0):(e.specifiers=t.specifiers,!0)}t.default=class{constructor(e,t,n){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};const r=e.find((e=>e.isProgram()));this._programPath=r,this._programScope=r.scope,this._hub=r.hub,this._defaultOpts=this._applyDefaults(t,n,!0)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,n){return r("string"==typeof e),this._generateImport(this._applyDefaults(t,n),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),void 0)}_applyDefaults(e,t,n=!1){let s;return"string"==typeof e?s=Object.assign({},this._defaultOpts,{importedSource:e},t):(r(!t,"Unexpected secondary arguments."),s=Object.assign({},this._defaultOpts,e)),!n&&t&&(void 0!==t.nameHint&&(s.nameHint=t.nameHint),void 0!==t.blockHoist&&(s.blockHoist=t.blockHoist)),s}_generateImport(e,t){const n="default"===t,r=!!t&&!n,s=null===t,{importedSource:a,importedType:l,importedInterop:u,importingInterop:d,ensureLiveReference:h,ensureNoContext:f,nameHint:m,importPosition:y,blockHoist:b}=e;let g=m||t;const E=(0,o.default)(this._programPath),v=E&&"node"===d,x=E&&"babel"===d;if("after"===y&&!E)throw new Error('"importPosition": "after" is only supported in modules');const T=new i.default(a,this._programScope,this._hub);if("es6"===l){if(!v&&!x)throw new Error("Cannot import an ES6 module from CommonJS");T.import(),s?T.namespace(m||a):(n||r)&&T.named(g,t)}else{if("commonjs"!==l)throw new Error(`Unexpected interopType "${l}"`);if("babel"===u)if(v){g="default"!==g?g:a;const e=`${a}$es6Default`;T.import(),s?T.default(e).var(g||a).wildcardInterop():n?h?T.default(e).var(g||a).defaultInterop().read("default"):T.default(e).var(g).defaultInterop().prop(t):r&&T.default(e).read(t)}else x?(T.import(),s?T.namespace(g||a):(n||r)&&T.named(g,t)):(T.require(),s?T.var(g||a).wildcardInterop():(n||r)&&h?n?(g="default"!==g?g:a,T.var(g).read(t),T.defaultInterop()):T.var(a).read(t):n?T.var(g).defaultInterop().prop(t):r&&T.var(g).prop(t));else if("compiled"===u)v?(T.import(),s?T.default(g||a):(n||r)&&T.default(a).read(g)):x?(T.import(),s?T.namespace(g||a):(n||r)&&T.named(g,t)):(T.require(),s?T.var(g||a):(n||r)&&(h?T.var(a).read(g):T.prop(t).var(g)));else{if("uncompiled"!==u)throw new Error(`Unknown importedInterop "${u}".`);if(n&&h)throw new Error("No live reference for commonjs default");v?(T.import(),s?T.default(g||a):n?T.default(g):r&&T.default(a).read(g)):x?(T.import(),s?T.default(g||a):n?T.default(g):r&&T.named(g,t)):(T.require(),s?T.var(g||a):n?T.var(g):r&&(h?T.var(a).read(g):T.var(g).prop(t)))}}const{statements:S,resultName:P}=T.done();return this._insertStatements(S,y,b),(n||r)&&f&&"Identifier"!==P.type?c([p(0),P]):P}_insertStatements(e,t="before",n=3){if("after"===t){if(this._insertStatementsAfter(e))return}else if(this._insertStatementsBefore(e,n))return;this._programPath.unshiftContainer("body",e)}_insertStatementsBefore(e,t){if(1===e.length&&u(e[0])&&d(e[0])){const t=this._programPath.get("body").find((e=>e.isImportDeclaration()&&d(e.node)));if((null==t?void 0:t.node.source.value)===e[0].source.value&&m(t.node,e[0]))return!0}e.forEach((e=>{e._blockHoist=t}));const n=this._programPath.get("body").find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));return!!n&&(n.insertBefore(e),!0)}_insertStatementsAfter(e){const t=new Set(e),n=new Map;for(const t of e)if(u(t)&&d(t)){const e=t.source.value;n.has(e)||n.set(e,[]),n.get(e).push(t)}let r=null;for(const e of this._programPath.get("body"))if(e.isImportDeclaration()&&d(e.node)){r=e;const s=e.node.source.value,i=n.get(s);if(!i)continue;for(const n of i)t.has(n)&&m(e.node,n)&&t.delete(n)}return 0===t.size||(r&&r.insertAfter(Array.from(t)),!!r)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),t.addDefault=function(e,t,n){return new r.default(e).addDefault(t,n)},t.addNamed=function(e,t,n,s){return new r.default(e).addNamed(t,n,s)},t.addNamespace=function(e,t,n){return new r.default(e).addNamespace(t,n)},t.addSideEffect=function(e,t,n){return new r.default(e).addSideEffect(t,n)},Object.defineProperty(t,"isModule",{enumerable:!0,get:function(){return s.default}});var r=n("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/import-injector.js"),s=n("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/is-module.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"module"===e.node.sourceType}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildDynamicImport=function(e,t,n,s){const i=r.types.isCallExpression(e)?e.arguments[0]:e.source;if(r.types.isStringLiteral(i)||r.types.isTemplateLiteral(i)&&0===i.quasis.length)return t?r.template.expression.ast`
|
|
115
|
+
Promise.resolve().then(() => ${s(i)})
|
|
116
|
+
`:s(i);const o=r.types.isTemplateLiteral(i)?r.types.identifier("specifier"):r.types.templateLiteral([r.types.templateElement({raw:""}),r.types.templateElement({raw:""})],[r.types.identifier("specifier")]);return t?r.template.expression.ast`
|
|
117
|
+
(specifier =>
|
|
118
|
+
new Promise(r => r(${o}))
|
|
119
|
+
.then(s => ${s(r.types.identifier("s"))})
|
|
120
|
+
)(${i})
|
|
121
|
+
`:n?r.template.expression.ast`
|
|
122
|
+
(specifier =>
|
|
123
|
+
new Promise(r => r(${s(o)}))
|
|
124
|
+
)(${i})
|
|
125
|
+
`:r.template.expression.ast`
|
|
126
|
+
(specifier => ${s(o)})(${i})
|
|
127
|
+
`};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");t.getDynamicImportSource=function(e){const[t]=e.arguments;return r.types.isStringLiteral(t)||r.types.isTemplateLiteral(t)?t:r.template.expression.ast`\`\${${t}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;{const e=n;t.default=n=function(t,n){var r,s,i,o;return e(t,{moduleId:null!=(r=n.moduleId)?r:t.moduleId,moduleIds:null!=(s=n.moduleIds)?s:t.moduleIds,getModuleId:null!=(i=n.getModuleId)?i:t.getModuleId,moduleRoot:null!=(o=n.moduleRoot)?o:t.moduleRoot})}}function n(e,t){const{filename:n,filenameRelative:r=n,sourceRoot:s=t.moduleRoot}=e,{moduleId:i,moduleIds:o=!!i,getModuleId:a,moduleRoot:l=s}=t;if(!o)return null;if(null!=i&&!a)return i;let p=null!=l?l+"/":"";if(r){const e=null!=s?new RegExp("^"+s+"/?"):"";p+=r.replace(e,"").replace(/\.(\w*?)$/,"")}return p=p.replace(/\\/g,"/"),a&&a(p)||p}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"buildDynamicImport",{enumerable:!0,get:function(){return c.buildDynamicImport}}),t.buildNamespaceInitStatements=function(e,t,n=!1,r=p.wrapReference){var i;const o=[],a=g(t.name);for(const e of t.importsNamespace)e!==t.name&&o.push(s.template.statement`var NAME = SOURCE;`({NAME:e,SOURCE:f(a)}));const l=null!=(i=r(a,t.wrap))?i:a;n&&o.push(...A(e,t,!0,r));for(const n of t.reexportNamespace)o.push((s.types.isIdentifier(l)?s.template.statement`EXPORTS.NAME = NAMESPACE;`:s.template.statement`
|
|
128
|
+
Object.defineProperty(EXPORTS, "NAME", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function() {
|
|
131
|
+
return NAMESPACE;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
`)({EXPORTS:e.exportName,NAME:n,NAMESPACE:f(l)}));if(t.reexportAll){const r=function(e,t,n){return(n?s.template.statement`
|
|
135
|
+
Object.keys(NAMESPACE).forEach(function(key) {
|
|
136
|
+
if (key === "default" || key === "__esModule") return;
|
|
137
|
+
VERIFY_NAME_LIST;
|
|
138
|
+
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
139
|
+
|
|
140
|
+
EXPORTS[key] = NAMESPACE[key];
|
|
141
|
+
});
|
|
142
|
+
`:s.template.statement`
|
|
143
|
+
Object.keys(NAMESPACE).forEach(function(key) {
|
|
144
|
+
if (key === "default" || key === "__esModule") return;
|
|
145
|
+
VERIFY_NAME_LIST;
|
|
146
|
+
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
147
|
+
|
|
148
|
+
Object.defineProperty(EXPORTS, key, {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function() {
|
|
151
|
+
return NAMESPACE[key];
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
`)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?s.template`
|
|
156
|
+
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
157
|
+
`({EXPORTS_LIST:e.exportNameListName}):null})}(e,f(l),n);r.loc=t.reexportAll.loc,o.push(r)}return o},t.ensureStatementsHoisted=function(e){e.forEach((e=>{e._blockHoist=3}))},Object.defineProperty(t,"getModuleName",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"hasExports",{enumerable:!0,get:function(){return l.hasExports}}),Object.defineProperty(t,"isModule",{enumerable:!0,get:function(){return i.isModule}}),Object.defineProperty(t,"isSideEffectImport",{enumerable:!0,get:function(){return l.isSideEffectImport}}),t.rewriteModuleStatementsAndPrepareHeader=function(e,{exportName:t,strict:n,allowTopLevelThis:c,strictMode:u,noInterop:d,importInterop:h=(d?"none":"babel"),lazy:f,getWrapperPayload:b=p.toGetWrapperPayload(null!=f&&f),wrapReference:E=p.wrapReference,esNamespaceOnly:v,filename:x,constantReexports:_=arguments[1].loose,enumerableModuleMeta:w=arguments[1].loose,noIncompleteNsImportDetection:D}){(0,l.validateImportInteropOption)(h),r((0,i.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";const I=(0,l.default)(e,t,{importInterop:h,initializeReexports:_,getWrapperPayload:b,esNamespaceOnly:v,filename:x});if(c||(0,o.default)(e),(0,a.default)(e,I,E),!1!==u){const t=e.node.directives.some((e=>"use strict"===e.value.value));t||e.unshiftContainer("directives",m(y("use strict")))}const O=[];(0,l.hasExports)(I)&&!n&&O.push(function(e,t=!1){return(t?s.template.statement`
|
|
158
|
+
EXPORTS.__esModule = true;
|
|
159
|
+
`:s.template.statement`
|
|
160
|
+
Object.defineProperty(EXPORTS, "__esModule", {
|
|
161
|
+
value: true,
|
|
162
|
+
});
|
|
163
|
+
`)({EXPORTS:e.exportName})}(I,w));const N=function(e,t){const n=Object.create(null);for(const e of t.local.values())for(const t of e.names)n[t]=!0;let r=!1;for(const e of t.source.values()){for(const t of e.reexports.keys())n[t]=!0;for(const t of e.reexportNamespace)n[t]=!0;r=r||!!e.reexportAll}if(!r||0===Object.keys(n).length)return null;const s=e.scope.generateUidIdentifier("exportNames");return delete n.default,{name:s.name,statement:S("var",[P(s,T(n))])}}(e,I);return N&&(I.exportNameListName=N.name,O.push(N.statement)),O.push(...function(e,t,n,r=!1,s=!1){const i=[];for(const[e,n]of t.local)if("import"===n.kind);else if("hoisted"===n.kind)i.push([n.names[0],C(t,n.names,g(e))]);else if(!s)for(const e of n.names)i.push([e,null]);for(const e of t.source.values()){if(!r){const r=A(t,e,!1,n),s=[...e.reexports.keys()];for(let e=0;e<r.length;e++)i.push([s[e],r[e]])}if(!s)for(const t of e.reexportNamespace)i.push([t,null])}i.sort((([e],[t])=>e<t?-1:t<e?1:0));const o=[];if(s)for(const[,e]of i)o.push(e);else{const n=100;for(let r=0;r<i.length;r+=n){let s=[];for(let a=0;a<n&&r+a<i.length;a++){const[n,l]=i[r+a];null!==l?(s.length>0&&(o.push(C(t,s,e.scope.buildUndefinedNode())),s=[]),o.push(l)):s.push(n)}s.length>0&&o.push(C(t,s,e.scope.buildUndefinedNode()))}}return o}(e,I,E,_,D)),{meta:I,headers:O}},Object.defineProperty(t,"rewriteThis",{enumerable:!0,get:function(){return o.default}}),t.wrapInterop=function(e,t,n){if("none"===n)return null;if("node-namespace"===n)return h(e.hub.addHelper("interopRequireWildcard"),[t,d(!0)]);if("node-default"===n)return null;let r;if("default"===n)r="interopRequireDefault";else{if("namespace"!==n)throw new Error(`Unknown interop: ${n}`);r="interopRequireWildcard"}return h(e.hub.addHelper(r),[t])};var r=n("assert"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-module-imports@7.24.7/node_modules/@babel/helper-module-imports/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),a=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),l=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),p=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),c=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),u=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");const{booleanLiteral:d,callExpression:h,cloneNode:f,directive:m,directiveLiteral:y,expressionStatement:b,identifier:g,isIdentifier:E,memberExpression:v,stringLiteral:x,valueToNode:T,variableDeclaration:S,variableDeclarator:P}=s.types;t.getDynamicImportSource=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;const _={constant:s.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:s.template.statement`
|
|
164
|
+
Object.defineProperty(EXPORTS, "EXPORT_NAME", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function() {
|
|
167
|
+
return NAMESPACE_IMPORT;
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
`};function A(e,t,n,r){var s;let i=g(t.name);i=null!=(s=r(i,t.wrap))?s:i;const{stringSpecifiers:o}=e;return Array.from(t.reexports,(([r,s])=>{let a=f(i);"default"===s&&"node-default"===t.interop||(a=o.has(s)?v(a,x(s),!0):v(a,g(s)));const l={EXPORTS:e.exportName,EXPORT_NAME:r,NAMESPACE_IMPORT:a};return n||E(a)?o.has(r)?_.constantComputed(l):_.constant(l):_.spec(l)}))}const w={computed:s.template.expression`EXPORTS["NAME"] = VALUE`,default:s.template.expression`EXPORTS.NAME = VALUE`,define:s.template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`};function C(e,t,n){const{stringSpecifiers:r,exportName:s}=e;return b(t.reduce(((e,t)=>{const n={EXPORTS:s,NAME:t,VALUE:e};return"__proto__"===t?w.define(n):r.has(t)?w.computed(n):w.default(n)}),n))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toGetWrapperPayload=function(e){return(t,n)=>{if(!1===e)return null;if((0,s.isSideEffectImport)(n)||n.reexportAll)return null;if(!0===e)return/\./.test(t)?null:"lazy";if(Array.isArray(e))return-1===e.indexOf(t)?null:"lazy";if("function"==typeof e)return e(t)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}},t.wrapReference=function(e,t){return"lazy"===t?r.types.callExpression(e,[]):null};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js")},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,{importInterop:n,initializeReexports:s=!1,getWrapperPayload:o,esNamespaceOnly:c=!1,filename:u}){t||(t=e.scope.generateUidIdentifier("exports").name);const d=new Set;!function(e){e.get("body").forEach((e=>{e.isExportDefaultDeclaration()&&(0,i.default)(e)}))}(e);const{local:h,sources:f,hasExports:m}=function(e,{getWrapperPayload:t,initializeReexports:n},s){const i=function(e,t,n){const r=new Map;e.get("body").forEach((e=>{let n;if(e.isImportDeclaration())n="import";else{if(e.isExportDefaultDeclaration()&&(e=e.get("declaration")),e.isExportNamedDeclaration())if(e.node.declaration)e=e.get("declaration");else if(t&&e.node.source&&e.get("source").isStringLiteral())return void e.get("specifiers").forEach((e=>{p(e),r.set(e.get("local").node.name,"block")}));if(e.isFunctionDeclaration())n="hoisted";else if(e.isClassDeclaration())n="block";else if(e.isVariableDeclaration({kind:"var"}))n="var";else{if(!e.isVariableDeclaration())return;n="block"}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{r.set(e,n)}))}));const s=new Map,i=e=>{const t=e.node.name;let n=s.get(t);if(!n){const i=r.get(t);if(void 0===i)throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`);n={names:[],kind:i},s.set(t,n)}return n};return e.get("body").forEach((e=>{if(!e.isExportNamedDeclaration()||!t&&e.node.source){if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(!t.isFunctionDeclaration()&&!t.isClassDeclaration())throw t.buildCodeFrameError("Unexpected default expression export.");i(t.get("id")).names.push("default")}}else if(e.node.declaration){const t=e.get("declaration"),n=t.getOuterBindingIdentifierPaths();Object.keys(n).forEach((e=>{if("__esModule"===e)throw t.buildCodeFrameError('Illegal export "__esModule".');i(n[e]).names.push(e)}))}else e.get("specifiers").forEach((e=>{const t=e.get("local"),r=e.get("exported"),s=i(t),o=l(r,n);if("__esModule"===o)throw r.buildCodeFrameError('Illegal export "__esModule".');s.names.push(o)}))})),s}(e,n,s),o=new Map,a=new Map,c=(t,n)=>{const s=t.value;let i=a.get(s);return i?o.get(s).push(n):(i={name:e.scope.generateUidIdentifier((0,r.basename)(s,(0,r.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return"lazy"===this.wrap},referenced:!1},a.set(s,i),o.set(s,[n])),i};let u=!1;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=c(e.node.source,e.node);t.loc||(t.loc=e.node.loc),e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const n=e.get("local").node.name;t.imports.set(n,"default");const r=i.get(n);r&&(i.delete(n),r.names.forEach((e=>{t.reexports.set(e,"default")})),t.referenced=!0)}else if(e.isImportNamespaceSpecifier()){const n=e.get("local").node.name;t.importsNamespace.add(n);const r=i.get(n);r&&(i.delete(n),r.names.forEach((e=>{t.reexportNamespace.add(e)})),t.referenced=!0)}else if(e.isImportSpecifier()){const n=l(e.get("imported"),s),r=e.get("local").node.name;t.imports.set(r,n);const o=i.get(r);o&&(i.delete(r),o.names.forEach((e=>{t.reexports.set(e,n)})),t.referenced=!0)}}))}else if(e.isExportAllDeclaration()){u=!0;const t=c(e.node.source,e.node);t.loc||(t.loc=e.node.loc),t.reexportAll={loc:e.node.loc},t.referenced=!0}else if(e.isExportNamedDeclaration()&&e.node.source){u=!0;const t=c(e.node.source,e.node);t.loc||(t.loc=e.node.loc),e.get("specifiers").forEach((e=>{p(e);const n=l(e.get("local"),s),r=l(e.get("exported"),s);if(t.reexports.set(r,n),t.referenced=!0,"__esModule"===r)throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}))}else(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration())&&(u=!0)}));for(const e of a.values()){let t=!1,n=!1;e.importsNamespace.size>0&&(t=!0,n=!0),e.reexportAll&&(n=!0);for(const r of e.imports.values())"default"===r?t=!0:n=!0;for(const r of e.reexports.values())"default"===r?t=!0:n=!0;t&&n?e.interop="namespace":t&&(e.interop="default")}if(t)for(const[e,n]of a)n.wrap=t(e,n,o.get(e));return{hasExports:u,local:i,sources:a}}(e,{initializeReexports:s,getWrapperPayload:o},d);!function(e){e.get("body").forEach((e=>{if(e.isImportDeclaration())e.remove();else if(e.isExportNamedDeclaration())e.node.declaration?(e.node.declaration._blockHoist=e.node._blockHoist,e.replaceWith(e.node.declaration)):e.remove();else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(!t.isFunctionDeclaration()&&!t.isClassDeclaration())throw t.buildCodeFrameError("Unexpected default expression export.");t._blockHoist=e.node._blockHoist,e.replaceWith(t)}else e.isExportAllDeclaration()&&e.remove()}))}(e);for(const[e,t]of f){const{importsNamespace:r,imports:s}=t;if(r.size>0&&0===s.size){const[e]=r;t.name=e}const i=a(n,e,u);"none"===i?t.interop="none":"node"===i&&"namespace"===t.interop?t.interop="node-namespace":"node"===i&&"default"===t.interop?t.interop="node-default":c&&"namespace"===t.interop&&(t.interop="default")}return{exportName:t,exportNameListName:null,hasExports:m,local:h,source:f,stringSpecifiers:d}},t.hasExports=function(e){return e.hasExports},t.isSideEffectImport=function(e){return 0===e.imports.size&&0===e.importsNamespace.size&&0===e.reexports.size&&0===e.reexportNamespace.size&&!e.reexportAll},t.validateImportInteropOption=o;var r=n("path"),s=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js");function o(e){if("function"!=typeof e&&"none"!==e&&"babel"!==e&&"node"!==e)throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`);return e}function a(e,t,n){return"function"==typeof e?o(e(t,n)):e}function l(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){const n=e.node.value;return(0,s.isIdentifierName)(n)||t.add(n),n}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}function p(e){if(!e.isExportSpecifier())throw e.isExportNamespaceSpecifier()?e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):e.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const r=new Map,s=new Map,o=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports)r.set(t,[e,s,null]);for(const t of n.importsNamespace)r.set(t,[e,null,t])}for(const[e,n]of t.local){let t=s.get(e);t||(t=[],s.set(e,t)),t.push(...n.names)}const a={metadata:t,requeueInParent:o,scope:e.scope,exported:s};e.traverse(_,a);const l=new Set([...Array.from(r.keys()),...Array.from(s.keys())]);(0,i.default)(e,l,!1);const p={seen:new WeakSet,metadata:t,requeueInParent:o,scope:e.scope,imported:r,exported:s,buildImportReference([e,r,s],i){const o=t.source.get(e);var a;if(o.referenced=!0,s)return o.wrap&&(i=null!=(a=n(i,o.wrap))?a:i),i;let l=c(o.name);var p;if(o.wrap&&(l=null!=(p=n(l,o.wrap))?p:l),"default"===r&&"node-default"===o.interop)return l;const u=t.stringSpecifiers.has(r);return E(l,u?T(r):c(r),u)}};e.traverse(C,p)};var r=n("assert"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js");const{assignmentExpression:o,cloneNode:a,expressionStatement:l,getOuterBindingIdentifiers:p,identifier:c,isArrowFunctionExpression:u,isClassExpression:d,isFunctionExpression:h,isIdentifier:f,isMemberExpression:m,isVariableDeclaration:y,jsxIdentifier:b,jsxMemberExpression:g,memberExpression:E,numericLiteral:v,sequenceExpression:x,stringLiteral:T,variableDeclaration:S,variableDeclarator:P}=s.types,_={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:n,metadata:r}=this,{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const i=s.name,o=n.get(i)||[];if(o.length>0){const n=l(A(r,o,c(i),e.scope));n._blockHoist=e.node._blockHoist,t(e.insertAfter(n)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:n,metadata:r}=this,s="var"===e.node.kind;for(const i of e.get("declarations")){const{id:o}=i.node;let{init:a}=i.node;if(!f(o)||!n.has(o.name)||u(a)||h(a)&&!a.id||d(a)&&!a.id){for(const s of Object.keys(i.getOuterBindingIdentifiers()))if(n.has(s)){const i=l(A(r,n.get(s),c(s),e.scope));i._blockHoist=e.node._blockHoist,t(e.insertAfter(i)[0])}}else{if(!a){if(s)continue;a=e.scope.buildUndefinedNode()}i.node.init=A(r,n.get(o.name),a,e.scope),t(i.get("init"))}}}},A=(e,t,n,r)=>{const s=e.exportName;for(let e=r;null!=e;e=e.parent)e.hasOwnBinding(s)&&e.rename(s);return(t||[]).reduce(((t,n)=>{const{stringSpecifiers:r}=e,i=r.has(n);return o("=",E(c(s),i?T(n):c(n),i),t)}),n)},w=e=>s.template.expression.ast`
|
|
171
|
+
(function() {
|
|
172
|
+
throw new Error('"' + '${e}' + '" is read-only.');
|
|
173
|
+
})()
|
|
174
|
+
`,C={ReferencedIdentifier(e){const{seen:t,buildImportReference:n,scope:r,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name,a=s.get(o);if(a){if(function(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return"type"===e.parentPath.parent.exportKind;default:if(e.parentPath.isStatement()||e.parentPath.isExpression())return!1}}while(e=e.parentPath)}(e))throw e.buildCodeFrameError(`Cannot transform the imported binding "${o}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);const t=e.scope.getBinding(o);if(r.getBinding(o)!==t)return;const s=n(a,e.node);if(s.loc=e.node.loc,(e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&m(s))e.replaceWith(x([v(0),s]));else if(e.isJSXIdentifier()&&m(s)){const{object:t,property:n}=s;e.replaceWith(g(b(t.name),b(n.name)))}else e.replaceWith(s);i(e),e.skip()}},UpdateExpression(e){const{scope:t,seen:n,imported:r,exported:s,requeueInParent:i,buildImportReference:l}=this;if(n.has(e.node))return;n.add(e.node);const p=e.get("argument");if(p.isMemberExpression())return;const u=e.node;if(p.isIdentifier()){const n=p.node.name;if(t.getBinding(n)!==e.scope.getBinding(n))return;const i=s.get(n),d=r.get(n);if((null==i?void 0:i.length)>0||d)if(d)e.replaceWith(o(u.operator[0]+"=",l(d,p.node),w(n)));else if(u.prefix)e.replaceWith(A(this.metadata,i,a(u),e.scope));else{const r=t.generateDeclaredUidIdentifier(n);e.replaceWith(x([o("=",a(r),a(u)),A(this.metadata,i,c(n),e.scope),a(r)]))}}i(e),e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:n,imported:s,exported:i,requeueInParent:o,buildImportReference:a}=this;if(n.has(e.node))return;n.add(e.node);const p=e.get("left");if(!p.isMemberExpression())if(p.isIdentifier()){const n=p.node.name;if(t.getBinding(n)!==e.scope.getBinding(n))return;const l=i.get(n),c=s.get(n);if((null==l?void 0:l.length)>0||c){r("="===e.node.operator,"Path was not simplified");const t=e.node;c&&(t.left=a(c,p.node),t.right=x([t.right,w(n)])),e.replaceWith(A(this.metadata,l,t,e.scope)),o(e)}}else{const n=p.getOuterBindingIdentifiers(),r=Object.keys(n).filter((n=>t.getBinding(n)===e.scope.getBinding(n))),a=r.find((e=>s.has(e)));a&&(e.node.right=x([e.node.right,w(a)]));const u=[];if(r.forEach((t=>{const n=i.get(t)||[];n.length>0&&u.push(A(this.metadata,n,c(t),e.scope))})),u.length>0){let t=x(u);e.parentPath.isExpressionStatement()&&(t=l(t),t._blockHoist=e.parentPath.node._blockHoist),o(e.insertAfter(t)[0])}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:n}=e,{left:r}=n,{exported:s,imported:i,scope:c}=this;if(!y(r)){let n,u=!1;const d=e.get("body").scope;for(const e of Object.keys(p(r)))c.getBinding(e)===t.getBinding(e)&&(s.has(e)&&(u=!0,d.hasOwnBinding(e)&&d.rename(e)),i.has(e)&&!n&&(n=e));if(!u&&!n)return;e.ensureBlock();const h=e.get("body"),f=t.generateUidIdentifierBasedOnNode(r);e.get("left").replaceWith(S("let",[P(a(f))])),t.registerDeclaration(e.get("left")),u&&h.unshiftContainer("body",l(o("=",r,f))),n&&h.unshiftContainer("body",l(w(n)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,s.traverse)(e.node,Object.assign({},a,{noScope:!0}))};var r=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");const{numericLiteral:i,unaryExpression:o}=s.types,a=s.traverse.visitors.merge([r.default,{ThisExpression(e){e.replaceWith(o("void",i(0),!0))}}])},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){return 1===n.length&&a(n[0])&&o(n[0].argument,{name:"arguments"})?r?p(c(e,i("apply"),!1,!0),[t,n[0].argument],!1):s(l(e,i("apply")),[t,n[0].argument]):r?p(c(e,i("call"),!1,!0),[t,...n],!1):s(l(e,i("call")),[t,...n])};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{callExpression:s,identifier:i,isIdentifier:o,isSpreadElement:a,memberExpression:l,optionalCallExpression:p,optionalMemberExpression:c}=r},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.declare=r,t.declarePreset=void 0;const n={assertVersion:e=>t=>{!function(e,t){if("number"==typeof e){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if("string"!=typeof e)throw new Error("Expected string or integer value.");const n=Error.stackTraceLimit;let r;throw"number"==typeof n&&n<25&&(Error.stackTraceLimit=25),r="7."===t.slice(0,2)?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${e}", but was loaded with "${t}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),"number"==typeof n&&(Error.stackTraceLimit=n),Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}(t,e.version)}};function r(e){return(t,r,i)=>{var o;let a;for(const e of Object.keys(n))t[e]||(null!=a||(a=s(t)),a[e]=n[e](a));return e(null!=(o=a)?o:t,r||{},i)}}function s(e){let t=null;return"string"==typeof e.version&&/^7\./.test(e.version)&&(t=Object.getPrototypeOf(e),!t||hasOwnProperty.call(t,"version")&&hasOwnProperty.call(t,"transform")&&hasOwnProperty.call(t,"template")&&hasOwnProperty.call(t,"types")||(t=null)),Object.assign({},t,e)}Object.assign(n,{targets:()=>()=>({}),assumption:()=>()=>{}}),t.declarePreset=r},"./node_modules/.pnpm/@babel+helper-replace-supers@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-replace-supers/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.24.7/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.24.7/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");const{assignmentExpression:a,booleanLiteral:l,callExpression:p,cloneNode:c,identifier:u,memberExpression:d,sequenceExpression:h,stringLiteral:f,thisExpression:m}=o.types;{const e=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js");t.environmentVisitor=e.default,t.skipAllButComputedKey=e.skipAllButComputedKey}function y(e,t,n,r){e=c(e);const s=t||r?e:d(e,u("prototype"));return p(n.addHelper("getPrototypeOf"),[s])}const b=o.traverse.visitors.merge([r.default,{Super(e,t){const{node:n,parentPath:r}=e;r.isMemberExpression({object:n})&&t.handle(r)}}]),g=o.traverse.visitors.merge([r.default,{Scopable(e,{refName:t}){const n=e.scope.getOwnBinding(t);n&&n.identifier.name===t&&e.scope.rename(t)}}]),E={memoise(e,t){const{scope:n,node:r}=e,{computed:s,property:i}=r;if(!s)return;const o=n.maybeGenerateMemoised(i);o&&this.memoiser.set(i,o,t)},prop(e){const{computed:t,property:n}=e.node;return this.memoiser.has(n)?c(this.memoiser.get(n)):t?c(n):f(n.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const n=y(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("get"),[t.needAccessFirst?h([t.this,n]):n,this.prop(e),t.this])},_getThisRefs(){return{needAccessFirst:this.isDerivedConstructor,this:m()}},set(e,t){const n=this._getThisRefs(),r=y(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("set"),[n.needAccessFirst?h([n.this,r]):r,this.prop(e),t,n.this,l(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(e,t){const n=this._getThisRefs();return(0,i.default)(this._get(e,n),c(n.this),t,!1)},optionalCall(e,t){const n=this._getThisRefs();return(0,i.default)(this._get(e,n),c(n.this),t,!0)},delete(e){return e.node.computed?h([p(this.file.addHelper("toPropertyKey"),[c(e.node.property)]),o.template.expression.ast`
|
|
175
|
+
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
176
|
+
`]):o.template.expression.ast`
|
|
177
|
+
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
178
|
+
`}},v=Object.assign({},E,{prop(e){const{property:t}=e.node;return this.memoiser.has(t)?c(this.memoiser.get(t)):c(t)},get(e){const{isStatic:t,getSuperRef:n}=this,{computed:r}=e.node,s=this.prop(e);let i;var o,a;return i=t?null!=(o=n())?o:d(u("Function"),u("prototype")):d(null!=(a=n())?a:u("Object"),u("prototype")),d(i,s,r)},set(e,t){const{computed:n}=e.node,r=this.prop(e);return a("=",d(m(),r,n),t)},destructureSet(e){const{computed:t}=e.node,n=this.prop(e);return d(m(),n,t)},call(e,t){return(0,i.default)(this.get(e),m(),t,!1)},optionalCall(e,t){return(0,i.default)(this.get(e),m(),t,!0)}});t.default=class{constructor(e){var t;const n=e.methodPath;this.methodPath=n,this.isDerivedConstructor=n.isClassMethod({kind:"constructor"})&&!!e.superRef,this.isStatic=n.isObjectMethod()||n.node.static||(null==n.isStaticBlock?void 0:n.isStaticBlock()),this.isPrivateMethod=n.isPrivate()&&n.isMethod(),this.file=e.file,this.constantSuper=null!=(t=e.constantSuper)?t:e.isLoose,this.opts=e}getObjectRef(){return c(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?c(this.opts.superRef):this.opts.getSuperRef?c(this.opts.getSuperRef()):void 0}replace(){const{methodPath:e}=this;this.opts.refToPreserve&&e.traverse(g,{refName:this.opts.refToPreserve.name});const t=this.constantSuper?v:E;b.shouldSkip=t=>{if(t.parentPath===e&&("decorators"===t.parentKey||"key"===t.parentKey))return!0},(0,s.default)(e,b,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:t.get},t))}}},"./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;e.traverse(h,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:null==(n=arguments[2])||n})};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{LOGICAL_OPERATORS:s,assignmentExpression:i,binaryExpression:o,cloneNode:a,identifier:l,logicalExpression:p,numericLiteral:c,sequenceExpression:u,unaryExpression:d}=r,h={AssignmentExpression:{exit(e){const{scope:t,seen:n,bindingNames:r}=this;if("="===e.node.operator)return;if(n.has(e.node))return;n.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const c=l.node.name;if(!r.has(c))return;if(t.getBinding(c)!==e.scope.getBinding(c))return;const u=e.node.operator.slice(0,-1);s.includes(u)?e.replaceWith(p(u,e.node.left,i("=",a(e.node.left),e.node.right))):(e.node.right=o(u,a(e.node.left),e.node.right),e.node.operator="=")}}};h.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:t,bindingNames:n}=this,r=e.get("argument");if(!r.isIdentifier())return;const s=r.node.name;if(n.has(s)&&t.getBinding(s)===e.scope.getBinding(s))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t="++"===e.node.operator?"+=":"-=";e.replaceWith(i(t,r.node,c(1)))}else if(e.node.prefix)e.replaceWith(i("=",l(s),o(e.node.operator[0],d("+",r.node),c(1))));else{const t=e.scope.generateUidIdentifierBasedOnNode(r.node,"old"),n=t.name;e.scope.push({id:t});const s=o(e.node.operator[0],l(n),c(1));e.replaceWith(u([i("=",l(n),d("+",r.node)),i("=",a(r.node),s),l(n)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTransparentExprWrapper=c,t.skipTransparentExprWrapperNodes=function(e){for(;c(e);)e=e.expression;return e},t.skipTransparentExprWrappers=function(e){for(;c(e.node);)e=e.get("expression");return e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isParenthesizedExpression:s,isTSAsExpression:i,isTSNonNullExpression:o,isTSSatisfiesExpression:a,isTSTypeAssertion:l,isTypeCastExpression:p}=r;function c(e){return i(e)||a(e)||l(e)||o(e)||p(e)||s(e)}},"./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){const t=e.get("declaration"),n=t.isFunctionDeclaration()||t.isClassDeclaration(),r=t.isFunctionExpression()||t.isClassExpression(),c=t.isScope()?t.scope.parent:t.scope;let u=t.node.id,d=!1;u?r&&c.hasBinding(u.name)&&(d=!0,u=c.generateUidIdentifier(u.name)):(d=!0,u=c.generateUidIdentifier("default"),(n||r)&&(t.node.id=s(u)));const h=n?t.node:l("var",[p(s(u),t.node)]),f=i(null,[o(s(u),a("default"))]);return e.insertAfter(f),e.replaceWith(h),d&&c.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const t=e.get("declaration"),n=t.getOuterBindingIdentifiers(),r=Object.keys(n).map((e=>o(a(e),a(e)))),c=i(null,r);return e.insertAfter(c),e.replaceWith(t.node),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{cloneNode:s,exportNamedDeclaration:i,exportSpecifier:o,identifier:a,variableDeclaration:l,variableDeclarator:p}=r},"./node_modules/.pnpm/@babel+helper-string-parser@7.24.7/node_modules/@babel/helper-string-parser/lib/index.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.readCodePoint=p,t.readInt=l,t.readStringContents=function(e,t,n,r,s,a){const l=n,p=r,c=s;let u="",d=null,h=n;const{length:f}=t;for(;;){if(n>=f){a.unterminated(l,p,c),u+=t.slice(h,n);break}const m=t.charCodeAt(n);if(i(e,m,t,n)){u+=t.slice(h,n);break}if(92===m){u+=t.slice(h,n);const i=o(t,n,r,s,"template"===e,a);null!==i.ch||d?u+=i.ch:d={pos:n,lineStart:r,curLine:s},({pos:n,lineStart:r,curLine:s}=i),h=n}else 8232===m||8233===m?(++s,r=++n):10===m||13===m?"template"===e?(u+=t.slice(h,n)+"\n",++n,13===m&&10===t.charCodeAt(n)&&++n,++s,h=r=n):a.unterminated(l,p,c):++n}return{pos:n,str:u,firstInvalidLoc:d,lineStart:r,curLine:s,containsInvalid:!!d}};var n=function(e){return e>=48&&e<=57};const r={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},s={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function i(e,t,n,r){return"template"===e?96===t||36===t&&123===n.charCodeAt(r+1):t===("double"===e?34:39)}function o(e,t,n,r,s,i){const o=!s;t++;const l=e=>({pos:t,ch:e,lineStart:n,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return l("\n");case 114:return l("\r");case 120:{let s;return({code:s,pos:t}=a(e,t,n,r,2,!1,o,i)),l(null===s?null:String.fromCharCode(s))}case 117:{let s;return({code:s,pos:t}=p(e,t,n,r,o,i)),l(null===s?null:String.fromCodePoint(s))}case 116:return l("\t");case 98:return l("\b");case 118:return l("\v");case 102:return l("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:n=t,++r;case 8232:case 8233:return l("");case 56:case 57:if(s)return l(null);i.strictNumericEscape(t-1,n,r);default:if(c>=48&&c<=55){const o=t-1;let a=e.slice(o,t+2).match(/^[0-7]+/)[0],p=parseInt(a,8);p>255&&(a=a.slice(0,-1),p=parseInt(a,8)),t+=a.length-1;const c=e.charCodeAt(t);if("0"!==a||56===c||57===c){if(s)return l(null);i.strictNumericEscape(o,n,r)}return l(String.fromCharCode(p))}return l(String.fromCharCode(c))}}function a(e,t,n,r,s,i,o,a){const p=t;let c;return({n:c,pos:t}=l(e,t,n,r,16,s,i,!1,a,!o)),null===c&&(o?a.invalidEscapeSequence(p,n,r):t=p-1),{code:c,pos:t}}function l(e,t,i,o,a,l,p,c,u,d){const h=t,f=16===a?r.hex:r.decBinOct,m=16===a?s.hex:10===a?s.dec:8===a?s.oct:s.bin;let y=!1,b=0;for(let r=0,s=null==l?1/0:l;r<s;++r){const r=e.charCodeAt(t);let s;if(95!==r||"bail"===c){if(s=r>=97?r-97+10:r>=65?r-65+10:n(r)?r-48:1/0,s>=a){if(s<=9&&d)return{n:null,pos:t};if(s<=9&&u.invalidDigit(t,i,o,a))s=0;else{if(!p)break;s=0,y=!0}}++t,b=b*a+s}else{const n=e.charCodeAt(t-1),r=e.charCodeAt(t+1);if(c){if(Number.isNaN(r)||!m(r)||f.has(n)||f.has(r)){if(d)return{n:null,pos:t};u.unexpectedNumericSeparator(t,i,o)}}else{if(d)return{n:null,pos:t};u.numericSeparatorInEscapeSequence(t,i,o)}++t}}return t===h||null!=l&&t-h!==l||y?{n:null,pos:t}:{n:b,pos:t}}function p(e,t,n,r,s,i){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=a(e,t,n,r,e.indexOf("}",t)-t,!0,s,i)),++t,null!==o&&o>1114111){if(!s)return{code:null,pos:t};i.invalidCodePoint(t,n,r)}}else({code:o,pos:t}=a(e,t,n,r,4,!1,s,i));return{code:o,pos:t}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){const t=e.charCodeAt(++n);56320==(64512&t)&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!p(r))return!1}else if(!c(r))return!1}return!t},t.isIdentifierStart=p;let n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+n+"]"),i=new RegExp("["+n+r+"]");n=r=null;const o=[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],a=[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];function l(e,t){let n=65536;for(let r=0,s=t.length;r<s;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function p(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):l(e,o)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,o)||l(e,a))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return s.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return s.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return s.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return s.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return s.isStrictReservedWord}});var r=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),s=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return n.has(e)},t.isReservedWord=i,t.isStrictBindOnlyReservedWord=a,t.isStrictBindReservedWord=function(e,t){return o(e,t)||a(e)},t.isStrictReservedWord=o;const n=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),r=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),s=new Set(["eval","arguments"]);function i(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return i(e,t)||r.has(e)}function a(e){return s.has(e)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.findSuggestion=function(e,t){const r=t.map((t=>function(e,t){let r,s,i=[],o=[];const a=e.length,l=t.length;if(!a)return l;if(!l)return a;for(s=0;s<=l;s++)i[s]=s;for(r=1;r<=a;r++){for(o=[r],s=1;s<=l;s++)o[s]=e[r-1]===t[s-1]?i[s-1]:n(i[s-1],i[s],o[s-1])+1;i=o}return o[l]}(t,e)));return t[r.indexOf(n(...r))]};const{min:n}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionValidator",{enumerable:!0,get:function(){return r.OptionValidator}}),Object.defineProperty(t,"findSuggestion",{enumerable:!0,get:function(){return s.findSuggestion}});var r=n("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/validator.js"),s=n("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/validator.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionValidator=void 0;var r=n("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");t.OptionValidator=class{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const n=Object.keys(t);for(const t of Object.keys(e))if(!n.includes(t))throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,r.findSuggestion)(t,n)}'?`))}validateBooleanOption(e,t,n){return void 0===t?n:(this.invariant("boolean"==typeof t,`'${e}' option must be a boolean.`),t)}validateStringOption(e,t,n){return void 0===t?n:(this.invariant("string"==typeof t,`'${e}' option must be a string.`),t)}invariant(e,t){if(!e)throw new Error(this.formatMessage(t))}formatMessage(e){return`${this.descriptor}: ${e}`}}},"./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/helpers-generated.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");function s(e,t,n){return Object.freeze({minVersion:e,ast:()=>r.default.program.ast(t,{preserveComments:!0}),metadata:n})}const i=t.default={__proto__:null,OverloadYield:s("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:s("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(i,e,a),a=null),a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:s("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:s("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:s("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:s("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:s("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:s("7.0.0-beta.0","function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}",{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:s("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:s("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:s("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:s("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:s("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:s("7.20.5",'function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}',{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:s("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:s("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:s("7.0.0-beta.0","function _classNameTDZError(e){throw new ReferenceError('Class \"'+e+'\" cannot be referenced in computed property keys.')}",{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:s("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:s("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:s("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:s("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:s("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:s("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:s("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:s("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:s("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:s("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:s("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:s("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:s("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:s("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:s("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError(\'An element descriptor\\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "\'+r+\'"\');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError(\'An element descriptor\\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "\'+i+\'"\');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError(\'A class descriptor\\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "\'+r+\'"\');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can\'t have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can\'t be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can\'t be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected \'"+r+"\' to be a function");return t}',{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:s("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:s("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:s("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:s("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:s("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:s("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:s("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:s("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:s("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:s("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:s("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:s("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:s("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:s("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:s("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:s("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:s("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:s("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:s("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:s("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:s("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:s("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:s("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:s("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:s("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:s("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:s("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:s("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:s("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:s("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:s("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:s("7.18.0",'function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}',{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:s("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:s("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:s("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:s("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:s("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:s("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),taggedTemplateLiteral:s("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:s("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:s("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:s("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:s("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:s("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:s("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:s("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:s("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:s("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:s("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:s("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:s("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,n){var e=Error();return e.name="SuppressedError",e.error=r,e.suppressed=n,e},n={},e=[];function using(r,n){if(null!=n){if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==o&&(o=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof o)throw new TypeError("Property [Symbol.dispose] is not a function.");e.push({v:n,d:o,a:r})}else r&&e.push({d:n,a:r});return n}return{e:n,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o=this.e;function next(){for(;r=e.pop();)try{var r,t=r.d&&r.d.call(r.v);if(r.a)return Promise.resolve(t).then(next,err)}catch(r){return err(r)}if(o!==n)throw o}function err(e){return o=o!==n?new r(e,o):e,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:s("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:s("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:s("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:s("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(i,{AwaitValue:s("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:s("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:s("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:s("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:s("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:s("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:s("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:s("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:s("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:s("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:s("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:s("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:s("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:s("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:s("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:s("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:s("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:s("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:s("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:s("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:s("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:s("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:s("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:s("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:s("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},"./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.get=c,t.getDependencies=function(e){return p(e).getDependencies()},t.list=void 0,t.minVersion=function(e){return p(e).minVersion};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helpers@7.24.7/node_modules/@babel/helpers/lib/helpers-generated.js");const{cloneNode:i,identifier:o}=r;function a(e,t,n){try{const r=t.split(".");let s=r.shift();for(;r.length>0;)e=e[s],s=r.shift();if(!(arguments.length>2))return e[s];e[s]=n}catch(e){throw e.message+=` (when accessing ${t})`,e}}const l=Object.create(null);function p(e){if(!l[e]){const t=s.default[e];if(!t)throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e});l[e]={minVersion:t.minVersion,build(e,n,r,s){const l=t.ast();return function(e,t,n,r,s,l){const{locals:p,dependencies:c,exportBindingAssignments:u,exportName:d}=t,h=new Set(r||[]);n&&h.add(n);for(const[t,r]of(Object.entries||(e=>Object.keys(e).map((t=>[t,e[t]]))))(p)){let s=t;if(n&&t===d)s=n;else for(;h.has(s);)s="_"+s;if(s!==t)for(const t of r)a(e,t,o(s))}for(const[t,n]of(Object.entries||(e=>Object.keys(e).map((t=>[t,e[t]]))))(c)){const r="function"==typeof s&&s(t)||o(t);for(const t of n)a(e,t,i(r))}null==l||l(e,d,(t=>{u.forEach((n=>a(e,n,t(a(e,n)))))}))}(l,t.metadata,n,r,e,s),{nodes:l.body,globals:t.metadata.globals}},getDependencies:()=>Object.keys(t.metadata.dependencies)}}return l[e]}function c(e,t,n,r,s){if("object"==typeof n){const e=n;n="Identifier"===(null==e?void 0:e.type)?e.name:void 0}return p(e).build(t,n,r,s)}t.ensure=e=>{p(e)},t.list=Object.keys(s.default).map((e=>e.replace(/^_/,""))),t.default=c},"./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js":(e,t)=>{function n(e,t){if(null==e)return{};var n,r,s={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(s[n]=e[n]);return s}Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,t,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=n}}class s{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function i(e,t){const{line:n,column:s,index:i}=e;return new r(n,s+t,i+t)}const o="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var a={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:o},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:o}};const l={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},p=e=>"UpdateExpression"===e.type?l.UpdateExpression[`${e.prefix}`]:l[e.type];var c={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:e})=>`'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${1===e?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${p(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${p(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${p(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};const u=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var d={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${p({type:e})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const h=["toMessage"],f=["message"];function m(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:n})}function y(e){let{toMessage:t}=e,s=n(e,h);return function e(n,i){const o=new SyntaxError;return Object.assign(o,s,{loc:n,pos:n.index}),"missingPlugin"in i&&Object.assign(o,{missingPlugin:i.missingPlugin}),m(o,"clone",(function(t={}){var s;const{line:o,column:a,index:l}=null!=(s=t.loc)?s:n;return e(new r(o,a,l),Object.assign({},i,t.details))})),m(o,"details",i),Object.defineProperty(o,"message",{configurable:!0,get(){const e=`${t(i)} (${n.line}:${n.column})`;return this.message=e,e},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),o}}function b(e,t){if(Array.isArray(e))return t=>b(t,e[0]);const r={};for(const s of Object.keys(e)){const i=e[s],o="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:a}=o,l=n(o,f),p="string"==typeof a?()=>a:a;r[s]=y(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:p},t?{syntaxPlugin:t}:{},l))}return r}const g=Object.assign({},b(a),b(c),b({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),b`pipelineOperator`(d)),{defineProperty:E}=Object,v=(e,t)=>E(e,t,{enumerable:!1,value:e[t]});function x(e){return e.loc.start&&v(e.loc.start,"index"),e.loc.end&&v(e.loc.end,"index"),e}class T{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const S={brace:new T("{"),j_oTag:new T("<tag"),j_cTag:new T("</tag"),j_expr:new T("<tag>...</tag>",!0)};S.template=new T("`",!0);class P{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const _=new Map;function A(e,t={}){t.keyword=e;const n=L(e,t);return _.set(e,n),n}function w(e,t){return L(e,{beforeExpr:!0,binop:t})}let C=-1;const D=[],I=[],O=[],N=[],j=[],k=[];function L(e,t={}){var n,r,s,i;return++C,I.push(e),O.push(null!=(n=t.binop)?n:-1),N.push(null!=(r=t.beforeExpr)&&r),j.push(null!=(s=t.startsExpr)&&s),k.push(null!=(i=t.prefix)&&i),D.push(new P(e,t)),C}function F(e,t={}){var n,r,s,i;return++C,_.set(e,C),I.push(e),O.push(null!=(n=t.binop)?n:-1),N.push(null!=(r=t.beforeExpr)&&r),j.push(null!=(s=t.startsExpr)&&s),k.push(null!=(i=t.prefix)&&i),D.push(new P("name",t)),C}const R={bracketL:L("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:L("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:L("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:L("]"),bracketBarR:L("|]"),braceL:L("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:L("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:L("#{",{beforeExpr:!0,startsExpr:!0}),braceR:L("}"),braceBarR:L("|}"),parenL:L("(",{beforeExpr:!0,startsExpr:!0}),parenR:L(")"),comma:L(",",{beforeExpr:!0}),semi:L(";",{beforeExpr:!0}),colon:L(":",{beforeExpr:!0}),doubleColon:L("::",{beforeExpr:!0}),dot:L("."),question:L("?",{beforeExpr:!0}),questionDot:L("?."),arrow:L("=>",{beforeExpr:!0}),template:L("template"),ellipsis:L("...",{beforeExpr:!0}),backQuote:L("`",{startsExpr:!0}),dollarBraceL:L("${",{beforeExpr:!0,startsExpr:!0}),templateTail:L("...`",{startsExpr:!0}),templateNonTail:L("...${",{beforeExpr:!0,startsExpr:!0}),at:L("@"),hash:L("#",{startsExpr:!0}),interpreterDirective:L("#!..."),eq:L("=",{beforeExpr:!0,isAssign:!0}),assign:L("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:L("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:L("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:L("_=",{beforeExpr:!0,isAssign:!0}),incDec:L("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:L("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:L("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:L("^^",{startsExpr:!0}),doubleAt:L("@@",{startsExpr:!0}),pipeline:w("|>",0),nullishCoalescing:w("??",1),logicalOR:w("||",1),logicalAND:w("&&",2),bitwiseOR:w("|",3),bitwiseXOR:w("^",4),bitwiseAND:w("&",5),equality:w("==/!=/===/!==",6),lt:w("</>/<=/>=",7),gt:w("</>/<=/>=",7),relational:w("</>/<=/>=",7),bitShift:w("<</>>/>>>",8),bitShiftL:w("<</>>/>>>",8),bitShiftR:w("<</>>/>>>",8),plusMin:L("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:L("%",{binop:10,startsExpr:!0}),star:L("*",{binop:10}),slash:w("/",10),exponent:L("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:!0,binop:7}),_instanceof:A("instanceof",{beforeExpr:!0,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:!0}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:!0}),_else:A("else",{beforeExpr:!0}),_finally:A("finally"),_function:A("function",{startsExpr:!0}),_if:A("if"),_return:A("return",{beforeExpr:!0}),_switch:A("switch"),_throw:A("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:!0,startsExpr:!0}),_this:A("this",{startsExpr:!0}),_super:A("super",{startsExpr:!0}),_class:A("class",{startsExpr:!0}),_extends:A("extends",{beforeExpr:!0}),_export:A("export"),_import:A("import",{startsExpr:!0}),_null:A("null",{startsExpr:!0}),_true:A("true",{startsExpr:!0}),_false:A("false",{startsExpr:!0}),_typeof:A("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:A("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:A("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:A("do",{isLoop:!0,beforeExpr:!0}),_for:A("for",{isLoop:!0}),_while:A("while",{isLoop:!0}),_as:F("as",{startsExpr:!0}),_assert:F("assert",{startsExpr:!0}),_async:F("async",{startsExpr:!0}),_await:F("await",{startsExpr:!0}),_defer:F("defer",{startsExpr:!0}),_from:F("from",{startsExpr:!0}),_get:F("get",{startsExpr:!0}),_let:F("let",{startsExpr:!0}),_meta:F("meta",{startsExpr:!0}),_of:F("of",{startsExpr:!0}),_sent:F("sent",{startsExpr:!0}),_set:F("set",{startsExpr:!0}),_source:F("source",{startsExpr:!0}),_static:F("static",{startsExpr:!0}),_using:F("using",{startsExpr:!0}),_yield:F("yield",{startsExpr:!0}),_asserts:F("asserts",{startsExpr:!0}),_checks:F("checks",{startsExpr:!0}),_exports:F("exports",{startsExpr:!0}),_global:F("global",{startsExpr:!0}),_implements:F("implements",{startsExpr:!0}),_intrinsic:F("intrinsic",{startsExpr:!0}),_infer:F("infer",{startsExpr:!0}),_is:F("is",{startsExpr:!0}),_mixins:F("mixins",{startsExpr:!0}),_proto:F("proto",{startsExpr:!0}),_require:F("require",{startsExpr:!0}),_satisfies:F("satisfies",{startsExpr:!0}),_keyof:F("keyof",{startsExpr:!0}),_readonly:F("readonly",{startsExpr:!0}),_unique:F("unique",{startsExpr:!0}),_abstract:F("abstract",{startsExpr:!0}),_declare:F("declare",{startsExpr:!0}),_enum:F("enum",{startsExpr:!0}),_module:F("module",{startsExpr:!0}),_namespace:F("namespace",{startsExpr:!0}),_interface:F("interface",{startsExpr:!0}),_type:F("type",{startsExpr:!0}),_opaque:F("opaque",{startsExpr:!0}),name:L("name",{startsExpr:!0}),string:L("string",{startsExpr:!0}),num:L("num",{startsExpr:!0}),bigint:L("bigint",{startsExpr:!0}),decimal:L("decimal",{startsExpr:!0}),regexp:L("regexp",{startsExpr:!0}),privateName:L("#name",{startsExpr:!0}),eof:L("eof"),jsxName:L("jsxName"),jsxText:L("jsxText",{beforeExpr:!0}),jsxTagStart:L("jsxTagStart",{startsExpr:!0}),jsxTagEnd:L("jsxTagEnd"),placeholder:L("%%",{startsExpr:!0})};function M(e){return e>=93&&e<=132}function B(e){return e>=58&&e<=132}function U(e){return e>=58&&e<=136}function $(e){return j[e]}function V(e){return e>=129&&e<=131}function W(e){return e>=58&&e<=92}function K(e){return I[e]}function G(e){return O[e]}function q(e){return e>=24&&e<=25}function H(e){return D[e]}D[8].updateContext=e=>{e.pop()},D[5].updateContext=D[7].updateContext=D[23].updateContext=e=>{e.push(S.brace)},D[22].updateContext=e=>{e[e.length-1]===S.template?e.pop():e.push(S.template)},D[142].updateContext=e=>{e.push(S.j_expr,S.j_oTag)};let z="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Y="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const X=new RegExp("["+z+"]"),J=new RegExp("["+z+Y+"]");z=Y=null;const Q=[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],Z=[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];function ee(e,t){let n=65536;for(let r=0,s=t.length;r<s;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function te(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&X.test(String.fromCharCode(e)):ee(e,Q)))}function ne(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&J.test(String.fromCharCode(e)):ee(e,Q)||ee(e,Z))))}const re=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),se=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),ie=new Set(["eval","arguments"]);function oe(e,t){return t&&"await"===e||"enum"===e}function ae(e,t){return oe(e,t)||se.has(e)}function le(e){return ie.has(e)}function pe(e,t){return ae(e,t)||le(e)}const ce=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class ue{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}}class de{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&!(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ue(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,n){let r=this.currentScope();if(8&t||16&t){this.checkRedeclarationInScope(r,e,t,n);let s=r.names.get(e)||0;16&t?s|=4:(r.firstLexicalName||(r.firstLexicalName=e),s|=2),r.names.set(e,s),8&t&&this.maybeExportDefined(r,e)}else if(4&t)for(let s=this.scopeStack.length-1;s>=0&&(r=this.scopeStack[s],this.checkRedeclarationInScope(r,e,t,n),r.names.set(e,1|(r.names.get(e)||0)),this.maybeExportDefined(r,e),!(387&r.flags));--s);this.parser.inModule&&1&r.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,n,r){this.isRedeclaredInScope(e,t,n)&&this.parser.raise(g.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,n){if(!(1&n))return!1;if(8&n)return e.names.has(t);const r=e.names.get(t);return 16&n?(2&r)>0||!this.treatFunctionsAsVarInScope(e)&&(1&r)>0:(2&r)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&r)>0}checkLocalExport(e){const{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}}class he extends ue{constructor(...e){super(...e),this.declareFunctions=new Set}}class fe extends de{createScope(e){return new he(e)}declareName(e,t,n){const r=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e),void r.declareFunctions.add(e);super.declareName(e,t,n)}isRedeclaredInScope(e,t,n){if(super.isRedeclaredInScope(e,t,n))return!0;if(2048&n&&!e.declareFunctions.has(t)){const n=e.names.get(t);return(4&n)>0||(2&n)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class me{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,n]=e;if(!this.hasPlugin(t))return!1;const r=this.plugins.get(t);for(const e of Object.keys(n))if((null==r?void 0:r[e])!==n[e])return!1;return!0}}getPluginOption(e,t){var n;return null==(n=this.plugins.get(e))?void 0:n[t]}}function ye(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function be(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function ge(e,t,n){let r=null,s=t.length;for(;null===r&&s>0;)r=t[--s];null===r||r.start>n.start?be(e,n.comments):ye(r,n.comments)}class Ee extends me{addComment(e){this.filename&&(e.loc.filename=this.filename);const{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){const{commentStack:t}=this.state,n=t.length;if(0===n)return;let r=n-1;const s=t[r];s.start===e.end&&(s.leadingNode=e,r--);const{start:i}=e;for(;r>=0;r--){const n=t[r],s=n.end;if(!(s>i)){s===i&&(n.trailingNode=e);break}n.containingNode=e,this.finalizeComment(n),t.splice(r,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&ye(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:n,start:r}=e;if(44===this.input.charCodeAt(r-1))switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ge(n,n.properties,e);break;case"CallExpression":case"OptionalCallExpression":ge(n,n.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ge(n,n.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ge(n,n.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":ge(n,n.specifiers,e);break;default:be(n,t)}else be(n,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:n}=t;if(0===n)return;const r=t[n-1];r.leadingNode===e&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(e){const{commentStack:t}=this.state,{length:n}=t;0!==n&&(t[n-1].trailingNode===e?t[n-1].trailingNode=null:n>=2&&t[n-2].trailingNode===e&&(t[n-2].trailingNode=null))}takeSurroundingComments(e,t,n){const{commentStack:r}=this.state,s=r.length;if(0===s)return;let i=s-1;for(;i>=0;i--){const s=r[i],o=s.end;if(s.start===n)s.leadingNode=e;else if(o===t)s.trailingNode=e;else if(o<t)break}}}const ve=/\r\n?|[\n\u2028\u2029]/,xe=new RegExp(ve.source,"g");function Te(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Se=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Pe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,_e=new RegExp("(?=("+Pe.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Ae(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class we{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[S.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:t,startLine:n,startColumn:s}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=n,this.lineStart=-s,this.startLoc=this.endLoc=new r(n,s,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}curPosition(){return new r(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const e=new we;return e.flags=this.flags,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var Ce=function(e){return e>=48&&e<=57};const De={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ie={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Oe(e,t,n,r,s,i){const o=n,a=r,l=s;let p="",c=null,u=n;const{length:d}=t;for(;;){if(n>=d){i.unterminated(o,a,l),p+=t.slice(u,n);break}const h=t.charCodeAt(n);if(Ne(e,h,t,n)){p+=t.slice(u,n);break}if(92===h){p+=t.slice(u,n);const o=je(t,n,r,s,"template"===e,i);null!==o.ch||c?p+=o.ch:c={pos:n,lineStart:r,curLine:s},({pos:n,lineStart:r,curLine:s}=o),u=n}else 8232===h||8233===h?(++s,r=++n):10===h||13===h?"template"===e?(p+=t.slice(u,n)+"\n",++n,13===h&&10===t.charCodeAt(n)&&++n,++s,u=r=n):i.unterminated(o,a,l):++n}return{pos:n,str:p,firstInvalidLoc:c,lineStart:r,curLine:s,containsInvalid:!!c}}function Ne(e,t,n,r){return"template"===e?96===t||36===t&&123===n.charCodeAt(r+1):t===("double"===e?34:39)}function je(e,t,n,r,s,i){const o=!s;t++;const a=e=>({pos:t,ch:e,lineStart:n,curLine:r}),l=e.charCodeAt(t++);switch(l){case 110:return a("\n");case 114:return a("\r");case 120:{let s;return({code:s,pos:t}=ke(e,t,n,r,2,!1,o,i)),a(null===s?null:String.fromCharCode(s))}case 117:{let s;return({code:s,pos:t}=Fe(e,t,n,r,o,i)),a(null===s?null:String.fromCodePoint(s))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:n=t,++r;case 8232:case 8233:return a("");case 56:case 57:if(s)return a(null);i.strictNumericEscape(t-1,n,r);default:if(l>=48&&l<=55){const o=t-1;let l=e.slice(o,t+2).match(/^[0-7]+/)[0],p=parseInt(l,8);p>255&&(l=l.slice(0,-1),p=parseInt(l,8)),t+=l.length-1;const c=e.charCodeAt(t);if("0"!==l||56===c||57===c){if(s)return a(null);i.strictNumericEscape(o,n,r)}return a(String.fromCharCode(p))}return a(String.fromCharCode(l))}}function ke(e,t,n,r,s,i,o,a){const l=t;let p;return({n:p,pos:t}=Le(e,t,n,r,16,s,i,!1,a,!o)),null===p&&(o?a.invalidEscapeSequence(l,n,r):t=l-1),{code:p,pos:t}}function Le(e,t,n,r,s,i,o,a,l,p){const c=t,u=16===s?De.hex:De.decBinOct,d=16===s?Ie.hex:10===s?Ie.dec:8===s?Ie.oct:Ie.bin;let h=!1,f=0;for(let c=0,m=null==i?1/0:i;c<m;++c){const i=e.charCodeAt(t);let c;if(95!==i||"bail"===a){if(c=i>=97?i-97+10:i>=65?i-65+10:Ce(i)?i-48:1/0,c>=s){if(c<=9&&p)return{n:null,pos:t};if(c<=9&&l.invalidDigit(t,n,r,s))c=0;else{if(!o)break;c=0,h=!0}}++t,f=f*s+c}else{const s=e.charCodeAt(t-1),i=e.charCodeAt(t+1);if(a){if(Number.isNaN(i)||!d(i)||u.has(s)||u.has(i)){if(p)return{n:null,pos:t};l.unexpectedNumericSeparator(t,n,r)}}else{if(p)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,n,r)}++t}}return t===c||null!=i&&t-c!==i||h?{n:null,pos:t}:{n:f,pos:t}}function Fe(e,t,n,r,s,i){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=ke(e,t,n,r,e.indexOf("}",t)-t,!0,s,i)),++t,null!==o&&o>1114111){if(!s)return{code:null,pos:t};i.invalidCodePoint(t,n,r)}}else({code:o,pos:t}=ke(e,t,n,r,4,!1,s,i));return{code:o,pos:t}}function Re(e,t,n){return new r(n,e-t,e)}const Me=new Set([103,109,115,105,121,117,100,118]);class Be{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new s(e.startLoc,e.endLoc)}}class Ue extends Ee{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,n,r)=>!!this.options.errorRecovery&&(this.raise(g.InvalidDigit,Re(e,t,n),{radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,n)=>{this.recordStrictModeErrors(g.StrictNumericEscape,Re(e,t,n))},unterminated:(e,t,n)=>{throw this.raise(g.UnterminatedString,Re(e-1,t,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(e,t,n)=>{throw this.raise(g.UnterminatedTemplate,Re(e,t,n))}}),this.state=new we,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Be(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Se.lastIndex=e,Se.test(this.input)?Se.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return Pe.lastIndex=e,Pe.test(this.input)?Pe.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const n=this.input.charCodeAt(e);56320==(64512&n)&&(t=65536+((1023&t)<<10)+(1023&n))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((([e,t])=>this.raise(e,t))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const n=this.state.pos,r=this.input.indexOf(e,n+2);if(-1===r)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+e.length,xe.lastIndex=n+2;xe.test(this.input)&&xe.lastIndex<=r;)++this.state.curLine,this.state.lineStart=xe.lastIndex;if(this.isLookahead)return;const i={type:"CommentBlock",value:this.input.slice(n+2,r),start:n,end:r+e.length,loc:new s(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){const t=this.state.pos;let n;this.isLookahead||(n=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Te(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const i=this.state.pos,o={type:"CommentLine",value:this.input.slice(t+e,i),start:t,end:i,loc:new s(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(Ae(n))++this.state.pos;else if(45===n&&!this.inModule&&this.options.annexB){const n=this.state.pos;if(45!==this.input.charCodeAt(n+1)||62!==this.input.charCodeAt(n+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}else{if(60!==n||this.inModule||!this.options.annexB)break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}}if(t.length>0){const n={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const n=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(n)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else te(t)?(++this.state.pos,this.finishToken(138,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!Te(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const n=this.input.slice(t+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(e){let t=42===e?55:54,n=1,r=this.input.charCodeAt(this.state.pos+1);42===e&&42===r&&(n++,r=this.input.charCodeAt(this.state.pos+2),t=57),61!==r||this.state.inType||(n++,t=37===e?33:30),this.finishOp(t,n)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(te(e))return void this.readWord(e)}throw this.raise(g.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){const n=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,n)}readRegexp(){const e=this.state.startLoc,t=this.state.start+1;let n,r,{pos:s}=this.state;for(;;++s){if(s>=this.length)throw this.raise(g.UnterminatedRegExp,i(e,1));const t=this.input.charCodeAt(s);if(Te(t))throw this.raise(g.UnterminatedRegExp,i(e,1));if(n)n=!1;else{if(91===t)r=!0;else if(93===t&&r)r=!1;else if(47===t&&!r)break;n=92===t}}const o=this.input.slice(t,s);++s;let a="";const l=()=>i(e,s+2-t);for(;s<this.length;){const e=this.codePointAtPos(s),t=String.fromCharCode(e);if(Me.has(e))118===e?a.includes("u")&&this.raise(g.IncompatibleRegExpUVFlags,l()):117===e&&a.includes("v")&&this.raise(g.IncompatibleRegExpUVFlags,l()),a.includes(t)&&this.raise(g.DuplicateRegExpFlags,l());else{if(!ne(e)&&92!==e)break;this.raise(g.MalformedRegExpFlags,l())}++s,a+=t}this.state.pos=s,this.finishToken(137,{pattern:o,flags:a})}readInt(e,t,n=!1,r=!0){const{n:s,pos:i}=Le(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,n,r,this.errorHandlers_readInt,!1);return this.state.pos=i,s}readRadixNumber(e){const t=this.state.curPosition();let n=!1;this.state.pos+=2;const r=this.readInt(e);null==r&&this.raise(g.InvalidDigit,i(t,2),{radix:e});const s=this.input.charCodeAt(this.state.pos);if(110===s)++this.state.pos,n=!0;else if(109===s)throw this.raise(g.InvalidDecimal,t);if(te(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(n){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,e)}else this.finishToken(134,r)}readNumber(e){const t=this.state.pos,n=this.state.curPosition();let r=!1,s=!1,o=!1,a=!1,l=!1;e||null!==this.readInt(10)||this.raise(g.InvalidNumber,this.state.curPosition());const p=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(p){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,n),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(g.ZeroDigitNumericSeparator,i(n,t))}l=p&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||l||(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||l||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(g.InvalidOrMissingExponent,n),r=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((r||p)&&this.raise(g.InvalidBigIntLiteral,n),++this.state.pos,s=!0),109===c&&(this.expectPlugin("decimal",this.state.curPosition()),(a||p)&&this.raise(g.InvalidDecimal,n),++this.state.pos,o=!0),te(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s)return void this.finishToken(135,u);if(o)return void this.finishToken(136,u);const d=l?parseInt(u,8):parseFloat(u);this.finishToken(134,d)}readCodePoint(e){const{code:t,pos:n}=Fe(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=n,t}readString(e){const{str:t,pos:n,curLine:r,lineStart:s}=Oe(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=r,this.finishToken(133,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:n,pos:s,curLine:i,lineStart:o}=Oe("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=o,this.state.curLine=i,n&&(this.state.firstInvalidTemplateEscapePos=new r(n.curLine,n.pos-n.lineStart,n.pos)),96===this.input.codePointAt(s)?this.finishToken(24,n?null:e+t+"`"):(this.state.pos++,this.finishToken(25,n?null:e+t+"${"))}recordStrictModeErrors(e,t){const n=t.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,t):this.state.strictErrors.set(n,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="";const n=this.state.pos;let r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(ne(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);const e=this.state.curPosition(),s=this.state.pos===n?te:ne;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(g.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(s(i)||this.raise(g.EscapedCharNotAnIdentifier,e),t+=String.fromCodePoint(i)),r=this.state.pos}}}return t+this.input.slice(r,this.state.pos)}readWord(e){const t=this.readWord1(e),n=_.get(t);void 0!==n?this.finishToken(n,K(n)):this.finishToken(132,t)}checkKeywordEscapes(){const{type:e}=this.state;W(e)&&this.state.containsEsc&&this.raise(g.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:K(e)})}raise(e,t,n={}){const s=e(t instanceof r?t:t.loc.start,n);if(!this.options.errorRecovery)throw s;return this.isLookahead||this.state.errors.push(s),s}raiseOverwrite(e,t,n={}){const s=t instanceof r?t:t.loc.start,i=s.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.loc.index===i)return o[t]=e(s,n);if(r.loc.index<i)break}return this.raise(e,t,n)}updateContext(e){}unexpected(e,t){throw this.raise(g.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?K(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(g.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,n,r)=>{this.raise(e,Re(t,n,r))}}}class $e{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Ve{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new $e)}exit(){const e=this.stack.pop(),t=this.current();for(const[n,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(n)||t.undefinedPrivateNames.set(n,r):this.parser.raise(g.InvalidPrivateFieldResolution,r,{identifierName:n})}declarePrivateName(e,t,n){const{privateNames:r,loneAccessors:s,undefinedPrivateNames:i}=this.current();let o=r.has(e);if(3&t){const n=o&&s.get(e);n?(o=(3&n)==(3&t)||(4&n)!=(4&t),o||s.delete(e)):o||s.set(e,t)}o&&this.parser.raise(g.PrivateNameRedeclaration,n,{identifierName:e}),r.add(e),i.delete(e)}usePrivateName(e,t){let n;for(n of this.stack)if(n.privateNames.has(e))return;n?n.undefinedPrivateNames.set(e,t):this.parser.raise(g.InvalidPrivateFieldResolution,t,{identifierName:e})}}class We{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Ke extends We{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){const n=t.index;this.declarationErrors.set(n,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Ge{constructor(e){this.parser=void 0,this.stack=[new We],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const n=t.loc.start,{stack:r}=this;let s=r.length-1,i=r[s];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,n),i=r[--s]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){const{stack:n}=this,r=n[n.length-1],s=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){const{stack:t}=this;let n=t.length-1,r=t[n];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(g.AwaitBindingIdentifier,e),r=t[--n]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,n])=>{this.parser.raise(t,n);let r=e.length-2,s=e[r];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n.index),s=e[--r]}))}}function qe(){return new We}class He{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function ze(e,t){return(e?2:0)|(t?1:0)}class Ye extends Ue{addExtra(e,t,n,r=!0){if(!e)return;const s=e.extra=e.extra||{};r?s[t]=n:Object.defineProperty(s,t,{enumerable:r,value:n})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const n=e+t.length;if(this.input.slice(e,n)===t){const e=this.input.charCodeAt(n);return!(ne(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ve.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return _e.lastIndex=this.state.end,_e.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(g.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const n={node:null};try{const r=e(((e=null)=>{throw n.node=e,n}));if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssignLoc:n,doubleProtoLoc:r,privateKeyLoc:s,optionalParametersLoc:i}=e;if(!t)return!!(n||r||i||s);null!=n&&this.raise(g.InvalidCoverInitializedName,n),null!=r&&this.raise(g.DuplicateProto,r),null!=s&&this.raise(g.UnexpectedPrivateField,s),null!=i&&this.unexpected(i)}isLiteralPropertyName(){return U(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const s=this.scope,i=this.getScopeHandler();this.scope=new i(this,e);const o=this.prodParam;this.prodParam=new He;const a=this.classScope;this.classScope=new Ve(this);const l=this.expressionScope;return this.expressionScope=new Ge(this),()=>{this.state.labels=t,this.exportedIdentifiers=n,this.inModule=r,this.scope=s,this.prodParam=o,this.classScope=a,this.expressionScope=l}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class Xe{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Je{constructor(e,t,n){this.type="",this.start=t,this.end=0,this.loc=new s(n),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const Qe=Je.prototype;function Ze(e){const{type:t,start:n,end:r,loc:s,range:i,extra:o,name:a}=e,l=Object.create(Qe);return l.type=t,l.start=n,l.end=r,l.loc=s,l.range=i,l.extra=o,l.name=a,"Placeholder"===t&&(l.expectedNode=e.expectedNode),l}Qe.__clone=function(){const e=new Je(void 0,this.start,this.loc.start),t=Object.keys(this);for(let n=0,r=t.length;n<r;n++){const r=t[n];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e};class et extends Ye{startNode(){const e=this.state.startLoc;return new Je(this,e.index,e)}startNodeAt(e){return new Je(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,n){return e.type=t,e.end=n.index,e.loc.end=n,this.options.ranges&&(e.range[1]=n.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}}const tt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),nt=b`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:n})=>`Enum \`${e}\` has type \`${n}\`, so the initializer of \`${t}\` needs to be a ${n} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:n})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${n}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function rt(e){return"type"===e.importKind||"typeof"===e.importKind}const st={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},it=/\*?\s*@((?:no)?flow)\b/,ot={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},at=b`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function lt(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function pt(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return pt(e.object)+"."+pt(e.property);throw new Error("Node had unexpected type: "+e.type)}class ct extends ue{constructor(...e){super(...e),this.tsNames=new Map}}class ut extends de{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new ct(e)}enter(e){256===e&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return 256===e&&this.importsStack.pop(),e}hasImport(e,t){const n=this.importsStack.length;if(this.importsStack[n-1].has(e))return!0;if(!t&&n>1)for(let t=0;t<n-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,n){if(4096&t)return this.hasImport(e,!0)&&this.parser.raise(g.VarRedeclaration,n,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const r=this.currentScope();let s=r.tsNames.get(e)||0;if(1024&t)return this.maybeExportDefined(r,e),void r.tsNames.set(e,16|s);super.declareName(e,t,n),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,n),this.maybeExportDefined(r,e)),s|=1),256&t&&(s|=2),512&t&&(s|=4),128&t&&(s|=8),s&&r.tsNames.set(e,s)}isRedeclaredInScope(e,t,n){const r=e.tsNames.get(t);return(2&r)>0?!(256&n)||!!(512&n)!=(4&r)>0:128&n&&(8&r)>0?!!(2&e.names.get(t))&&!!(1&n):!!(2&n&&(1&r)>0)||super.isRedeclaredInScope(e,t,n)}checkLocalExport(e){const{name:t}=e;if(!this.hasImport(t)){for(let e=this.scopeStack.length-1;e>=0;e--){const n=this.scopeStack[e].tsNames.get(t);if((1&n)>0||(16&n)>0)return}super.checkLocalExport(e)}}}const dt=e=>"ParenthesizedExpression"===e.type?dt(e.expression):e;class ht extends et{toAssignable(e,t=!1){var n,r;let s;switch(("ParenthesizedExpression"===e.type||null!=(n=e.extra)&&n.parenthesized)&&(s=dt(e),t?"Identifier"===s.type?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,e):"MemberExpression"===s.type||this.isOptionalMemberExpression(s)||this.raise(g.InvalidParenthesizedAssignment,e):this.raise(g.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let n=0,r=e.properties.length,s=r-1;n<r;n++){var i;const r=e.properties[n],o=n===s;this.toAssignableObjectExpressionProp(r,o,t),o&&"RestElement"===r.type&&null!=(i=e.extra)&&i.trailingCommaLoc&&this.raise(g.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(g.MissingEqInAssignment,e.left.loc.end),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(s,t)}}toAssignableObjectExpressionProp(e,t,n){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?g.PatternHasAccessor:g.PatternHasMethod,e.key);else if("SpreadElement"===e.type){e.type="RestElement";const r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,n),t||this.raise(g.RestTrailingComma,e)}else this.toAssignable(e,n)}toAssignableList(e,t,n){const r=e.length-1;for(let s=0;s<=r;s++){const i=e[s];if(i){if("SpreadElement"===i.type){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,n)}else this.toAssignable(i,n);"RestElement"===i.type&&(s<r?this.raise(g.RestTrailingComma,i):t&&this.raise(g.RestTrailingComma,t))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,n)=>"ObjectMethod"!==e.type&&(n===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,n){const r=1&n,s=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),r&&this.match(12))s.push(null);else{if(this.eat(e))break;if(this.match(21)){if(s.push(this.parseAssignableListItemTypes(this.parseRestBinding(),n)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());s.push(this.parseAssignableListItem(n,e))}}return s}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const{type:e,startLoc:t}=this.state;if(21===e)return this.parseBindingRestProperty(this.startNode());const n=this.startNode();return 138===e?(this.expectPlugin("destructuringPrivate",t),this.classScope.usePrivateName(this.state.value,t),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,t,!1,!1,!0,!1)}parseAssignableListItem(e,t){const n=this.parseMaybeDefault();this.parseAssignableListItemTypes(n,e);const r=this.parseMaybeDefault(n.loc.start,n);return t.length&&(n.decorators=t),r}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var n;if(null!=e||(e=this.state.startLoc),t=null!=(n=t)?n:this.parseBindingAtom(),!this.eat(29))return t;const r=this.startNodeAt(e);return r.left=t,r.right=this.parseMaybeAssignAllowIn(),this.finishNode(r,"AssignmentPattern")}isValidLVal(e,t,n){return r={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},s=e,hasOwnProperty.call(r,s)&&r[s];var r,s}isOptionalMemberExpression(e){return"OptionalMemberExpression"===e.type}checkLVal(e,{in:t,binding:n=64,checkClashes:r=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:i=!1}){var o;const a=e.type;if(this.isObjectMethod(e))return;const l=this.isOptionalMemberExpression(e);if(l||"MemberExpression"===a)return l&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(g.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==n&&this.raise(g.InvalidPropertyBindingPattern,e));if("Identifier"===a){this.checkIdentifier(e,n,s);const{name:t}=e;return void(r&&(r.has(t)?this.raise(g.ParamDupe,e):r.add(t)))}const p=this.isValidLVal(a,!(i||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===t.type,n);if(!0===p)return;if(!1===p){const r=64===n?g.InvalidLhs:g.InvalidLhsBinding;return void this.raise(r,e,{ancestor:t})}const[c,u]=Array.isArray(p)?p:[p,"ParenthesizedExpression"===a],d="ArrayPattern"===a||"ObjectPattern"===a?{type:a}:t;for(const t of[].concat(e[c]))t&&this.checkLVal(t,{in:d,binding:n,checkClashes:r,strictModeChanged:s,hasParenthesizedAncestor:u})}checkIdentifier(e,t,n=!1){this.state.strict&&(n?pe(e.name,this.inModule):le(e.name))&&(64===t?this.raise(g.StrictEvalArguments,e,{referenceName:e.name}):this.raise(g.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(g.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(g.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?g.RestTrailingComma:g.ElementAfterRest,this.state.startLoc),!0)}}function ft(e){if(!e)throw new Error("Assert fail")}const mt=b`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function yt(e){return"private"===e||"public"===e||"protected"===e}function bt(e){return"in"===e||"out"===e}function gt(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:n}=e;return(!t||"StringLiteral"===n.type||!("TemplateLiteral"!==n.type||n.expressions.length>0))&&xt(e.object)}function Et(e,t){var n;const{type:r}=e;if(null!=(n=e.extra)&&n.parenthesized)return!1;if(t){if("Literal"===r){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!(!vt(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:n,argument:r}=e;if("-"===n&&vt(r,t))return!0}return!1}(e,t))||"TemplateLiteral"===r&&0===e.expressions.length||!!gt(e)}function vt(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function xt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&xt(e.object)}const Tt=b`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function St(e,t){const[n,r]="string"==typeof t?[t,{}]:t,s=Object.keys(r),i=0===s.length;return e.some((e=>{if("string"==typeof e)return i&&e===n;{const[t,i]=e;if(t!==n)return!1;for(const e of s)if(i[e]!==r[e])return!1;return!0}}))}function Pt(e,t,n){const r=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return r&&Array.isArray(r)&&r.length>1?r[1][n]:null}const _t=["minimal","fsharp","hack","smart"],At=["^^","@@","^","%","#"],wt={estree:e=>class extends e{parse(){const e=x(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(x)),e}parseRegExpLiteral({pattern:e,flags:t}){let n=null;try{n=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(n);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const n=this.estreeParseLiteral(t);return n.bigint=String(n.value||e),n}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;const n=e;return n.type="ExpressionStatement",n.expression=t,n.directive=t.extra.rawValue,delete t.extra,n}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,n,r,s){super.parseBlockBody(e,t,n,r,s);const i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,n,r,s,i){this.parseMethod(t,n,r,s,i,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const n=super.parseLiteral(e,t);return n.raw=n.extra.raw,delete n.extra,n}parseFunctionBody(e,t,n=!1){super.parseFunctionBody(e,t,n),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,n,r,s,i,o=!1){let a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,n,r,s,i,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===i&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return"Literal"===e.type?"constructor"===e.value:super.nameIsConstructor(e)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,n,r,s){const i=super.parseObjectMethod(e,t,n,r,s);return i&&(i.type="Property","method"===i.kind&&(i.kind="init"),i.shorthand=!1),i}parseObjectProperty(e,t,n,r){const s=super.parseObjectProperty(e,t,n,r);return s&&(s.kind="init",s.type="Property"),s}isValidLVal(e,t,n){return"Property"===e?"value":super.isValidLVal(e,t,n)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){const{key:n,value:r}=e;this.isPrivateName(n)&&this.classScope.usePrivateName(this.getPrivateNameSV(n),n.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,n){"Property"!==e.type||"get"!==e.kind&&"set"!==e.kind?"Property"===e.type&&e.method?this.raise(g.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,n):this.raise(g.PatternHasAccessor,e.key)}finishCallExpression(e,t){const n=super.finishCallExpression(e,t);var r,s;return"Import"===n.callee.type&&(n.type="ImportExpression",n.source=n.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(n.options=null!=(r=n.arguments[1])?r:null,n.attributes=null!=(s=n.arguments[1])?s:null),delete n.arguments,delete n.callee),n}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const n=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(r.type="ExportAllDeclaration",r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var s;const{declaration:e}=r;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(s=e.decorators)?void 0:s.length)>0&&e.start===r.start&&this.resetStartLocation(r,n)}}return r}parseSubscript(e,t,n,r){const s=super.parseSubscript(e,t,n,r);if(r.optionalChainMember){if("OptionalMemberExpression"!==s.type&&"OptionalCallExpression"!==s.type||(s.type=s.type.substring(8)),r.stop){const e=this.startNodeAtNode(s);return e.expression=s,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==s.type&&"CallExpression"!==s.type||(s.optional=!1);return s}isOptionalMemberExpression(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)}finishNodeAt(e,t,n){return x(super.finishNodeAt(e,t,n))}resetStartLocation(e,t){super.resetStartLocation(e,t),x(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),x(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(at.UnterminatedJsxContent,this.state.startLoc);const n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:return this.state.pos===this.state.start?void(60===n&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(n)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(141,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Te(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let n;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,n=e?"\n":"\r\n"):n=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,n}jsxReadString(e){let t="",n=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):Te(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}t+=this.input.slice(n,this.state.pos++),this.finishToken(133,t)}jsxReadEntity(){const e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);const t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,n=!1;for(;t++<10&&this.state.pos<this.length&&!(n=59===this.codePointAtPos(this.state.pos));)++this.state.pos;if(n){const t=this.input.slice(e,this.state.pos),n=ot[t];if(++this.state.pos,n)return n}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(ne(e)||45===e);this.finishToken(140,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(140)?e.name=this.state.value:W(this.state.type)?e.name=K(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const n=this.startNodeAt(e);return n.namespace=t,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const n=this.startNodeAt(e);n.object=t,n.property=this.jsxParseIdentifier(),t=this.finishNode(n,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(S.brace),this.next(),e=this.jsxParseExpressionContainer(e,S.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(at.AttributeIsEmpty,e),e;case 142:case 133:return this.parseExprAtom();default:throw this.raise(at.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(S.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(S.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(S.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(143);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(143),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(143)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(143),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),n=[],r=this.jsxParseOpeningElementAt(e);let s=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 142:if(e=this.state.startLoc,this.next(),this.eat(56)){s=this.jsxParseClosingElementAt(e);break e}n.push(this.jsxParseElementAt(e));break;case 141:n.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const e=this.startNode();this.setContext(S.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,S.j_expr));break}default:this.unexpected()}lt(r)&&!lt(s)&&null!==s?this.raise(at.MissingClosingTagFragment,s):!lt(r)&<(s)?this.raise(at.MissingClosingTagElement,s,{openingTagName:pt(r.name)}):lt(r)||lt(s)||pt(s.name)!==pt(r.name)&&this.raise(at.MissingClosingTagElement,s,{openingTagName:pt(r.name)})}if(lt(r)?(t.openingFragment=r,t.closingFragment=s):(t.openingElement=r,t.closingElement=s),t.children=n,this.match(47))throw this.raise(at.UnwrappedAdjacentJSXElements,this.state.startLoc);return lt(r)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(142)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==S.j_expr){if(t===S.j_oTag||t===S.j_cTag){if(te(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(143);if((34===e||39===e)&&t===S.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(142);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:n}=this.state;if(56===n&&142===e)t.splice(-2,2,S.j_cTag),this.state.canStartJSXElement=!1;else if(142===n)t.push(S.j_oTag);else if(143===n){const n=t[t.length-1];n===S.j_oTag&&56===e||n===S.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===S.j_expr):(this.setContext(S.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=N[n]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return fe}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){133!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=it.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const n=this.flowParseType();return this.state.inType=t,n}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(nt.UnexpectedSpaceBetweenModuloChecks,t),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,n=null;return this.match(54)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(n=this.flowParsePredicate())),[t,n]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),n=this.startNode(),r=this.startNode();this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(10);const s=this.flowParseFunctionTypeParams();return n.params=s.params,n.rest=s.rest,n.this=s._this,this.expect(11),[n.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(n,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(nt.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(133)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),n=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(nt.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(e)):(this.expectContextual(125,nt.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),n.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,s=!1;return n.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(s&&this.raise(nt.DuplicateDeclareModuleExports,e),"ES"===r&&this.raise(nt.AmbiguousDeclareModuleKind,e),r="CommonJS",s=!0):("CommonJS"===r&&this.raise(nt.AmbiguousDeclareModuleKind,e),r="ES")})),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){const e=this.state.value;throw this.raise(nt.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:st[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(nt.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,n){tt.has(e)&&this.raise(n?nt.AssignReservedType:nt.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance(),s=this.flowParseTypeAnnotatableIdentifier();return n.name=s.name,n.variance=r,n.bound=s.typeAnnotation,this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(nt.MissingTypeParamDefault,t),this.finishNode(n,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let n=!1;do{const e=this.flowParseTypeParameter(n);t.params.push(e),e.default&&(n=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const n=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=n,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,n){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:n,allowProto:r,allowInexact:s}){const i=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,l;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let p=!1;for(t&&this.match(6)?(this.expect(6),a=9,l=!0):(this.expect(5),a=8,l=!1),o.exact=l;!this.match(a);){let t=!1,i=null,a=null;const c=this.startNode();if(r&&this.isContextual(118)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const u=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(u&&this.unexpected(u.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))):o.indexers.push(this.flowParseObjectTypeIndexer(c,t,u));else if(this.match(10)||this.match(47))null!=i&&this.unexpected(i),u&&this.unexpected(u.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(c,t));else{let e="init";(this.isContextual(99)||this.isContextual(104))&&U(this.lookahead().type)&&(e=this.state.value,this.next());const r=this.flowParseObjectTypeProperty(c,t,i,u,e,n,null!=s?s:!l);null===r?(p=!0,a=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(nt.UnexpectedExplicitInexactInObject,a)}this.expect(a),n&&(o.inexact=p);const c=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,c}flowParseObjectTypeProperty(e,t,n,r,s,i,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(nt.InexactInsideExact,this.state.lastTokStartLoc):this.raise(nt.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(nt.InexactVariance,r),null):(i||this.raise(nt.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=n&&this.unexpected(n),r&&this.raise(nt.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=n,e.kind=s;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=n&&this.unexpected(n),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==s&&"set"!==s||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(nt.ThisParamBannedInConstructor,e.value.this)):("init"!==s&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,n=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?nt.GetterMayNotHaveThisParam:nt.SetterMayNotHaveThisParam,e.value.this),n!==t&&this.raise("get"===e.kind?g.BadGetterArity:g.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(g.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let n=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=n,t.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(t,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t){const n=this.startNodeAt(e);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,n=!1,r=null;const s=this.startNode(),i=this.lookahead(),o=78===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(nt.ThisParamMustBeFirst,s),t=this.parseIdentifier(o),this.eat(17)&&(n=!0,o&&this.raise(nt.ThisParamMayNotBeOptional,s)),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),s.name=t,s.optional=n,s.typeAnnotation=r,this.finishNode(s,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,n=null;for(this.match(78)&&(n=this.flowParseFunctionTypeParam(!0),n.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:n}}flowIdentToTypeAnnotation(e,t,n){switch(n.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,n)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let n,r,s=!1;const i=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=i,r;case 47:{const e=this.startNode();return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),n=this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,"FunctionTypeAnnotation")}case 10:{const e=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(M(this.state.type)||this.match(78)){const e=this.lookahead().type;s=17!==e&&14!==e}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=i,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return n=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),e.params=n.params,e.rest=n.rest,e.this=n._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(nt.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(W(this.state.type)){const e=K(this.state.type);return this.next(),super.createIdentifier(t,e)}if(M(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const r=this.startNodeAt(e),s=this.eat(18);n=n||s,this.expect(0),!s&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),n?(r.optional=s,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(132===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t,n=!1){t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,n))):super.parseFunctionBody(e,!1,n)}parseFunctionBodyAndFinish(e,t,n=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,n)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(B(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,n){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||M(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(M(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){const{type:e}=this.state;return V(e)||this.shouldParseEnums()&&126===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return V(e)||this.shouldParseEnums()&&126===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(n),e}this.expect(17);const r=this.state.clone(),s=this.state.noArrowAt,i=this.startNodeAt(t);let{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[l,p]=this.getArrowLikeExpressions(o);if(a||p.length>0){const e=[...s];if(p.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<p.length;t++)e.push(p[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[l,p]=this.getArrowLikeExpressions(o)}a&&l.length>1&&this.raise(nt.AmbiguousConditionalArrow,r.startLoc),a&&1===l.length&&(this.state=r,e.push(l[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(14),i.test=e,i.consequent=o,i.alternate=this.forwardNoArrowParamsConversionAt(i,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(i,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const n=[e],r=[];for(;0!==n.length;){const e=n.pop();"ArrowFunctionExpression"===e.type&&"BlockStatement"!==e.body.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),n.push(e.body)):"ConditionalExpression"===e.type&&(n.push(e.consequent),n.push(e.alternate))}return t?(r.forEach((e=>this.finishArrowValidation(e))),[r,[]]):function(e,t){const n=[],r=[];for(let s=0;s<e.length;s++)(t(e[s])?n:r).push(e[s]);return[n,r]}(r,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let n;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),n=t(),this.state.noArrowParamsConversionAt.pop()):n=t(),n}parseParenItem(e,t){const n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){const e=this.startNodeAt(t);return e.expression=n,e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,"TypeCastExpression")}return n}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(131)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(126)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(130)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state,n=super.maybeParseExportNamespaceSpecifier(e);return n&&"type"===e.exportKind&&this.unexpected(t),n}parseClassId(e,t,n){super.parseClassId(e,t,n),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,n){const{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,n),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(nt.DeclareClassElement,r):t.value&&this.raise(nt.DeclareClassFieldInitializer,t.value))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t,n){return 64===e&&64===t&&te(n)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){const n=e[t];"TypeCastExpression"===(null==n?void 0:n.type)&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var n;const s=e[r];!s||"TypeCastExpression"!==s.type||null!=(n=s.extra)&&n.parenthesized||!(e.length>1)&&t||this.raise(nt.TypeCastInPattern,s.typeAnnotation)}return e}parseArrayLike(e,t,n,r){const s=super.parseArrayLike(e,t,n,r);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(s.elements),s}isValidLVal(e,t,n){return"TypeCastExpression"===e||super.isValidLVal(e,t,n)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,n,r,s,i){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,n,r,s,i),t.params&&s){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(nt.ThisParamBannedInConstructor,t)}else if("MethodDefinition"===t.type&&s&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(nt.ThisParamBannedInConstructor,t)}}pushClassPrivateMethod(e,t,n,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,n,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const n=t[0];this.isThisParam(n)&&"get"===e.kind?this.raise(nt.GetterMayNotHaveThisParam,n):this.isThisParam(n)&&this.raise(nt.SetterMayNotHaveThisParam,n)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,n,r,s,i,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!i&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const l=super.parseObjPropValue(e,t,n,r,s,i,o);return a&&((l.value||l).typeParameters=a),l}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(nt.PatternIsOptional,e),this.isThisParam(e)&&this.raise(nt.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(nt.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(nt.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const n=super.parseMaybeDefault(e,t);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(nt.TypeBeforeInitializer,n.typeAnnotation),n}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(nt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,n){t.local=rt(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const t=this.lookaheadCharCode();return 123===t||42===t}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){if(super.applyImportPhase(e,t,n,r),t){if(!n&&this.match(65))return;e.exportKind="type"===n?n:"value"}else"type"===n&&this.match(55)&&this.unexpected(),e.importKind="type"===n||"typeof"===n?n:"value"}parseImportSpecifier(e,t,n,r,s){const i=e.imported;let o=null;"Identifier"===i.type&&("type"===i.name?o="type":"typeof"===i.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===o||B(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=Ze(t))}else{if(null!==o&&B(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(g.ImportBindingIsString,e,{importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Ze(e.imported))}const l=rt(e);return n&&l&&this.raise(nt.ImportTypeShorthandOnlyInPureImport,e),(n||l)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||n||l||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const n=e.kind;"get"!==n&&"set"!==n&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var n;let r,s=null;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(s=this.state.clone(),r=this.tryParse((()=>super.parseMaybeAssign(e,t)),s),!r.error)return r.node;const{context:n}=this.state,i=n[n.length-1];i!==S.j_oTag&&i!==S.j_expr||n.pop()}if(null!=(n=r)&&n.error||this.match(47)){var i,o;let n;s=s||this.state.clone();const a=this.tryParse((r=>{var s;n=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(n,(()=>{const r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,n),r}));null!=(s=i.extra)&&s.parenthesized&&r();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&r(),o.typeParameters=n,this.resetStartLocationFromNode(o,n),i}),s);let l=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(nt.UnexpectedTypeParameterBeforeAsyncArrowFunction,n),a.node;l=a.node}if(null!=(i=r)&&i.node)return this.state=r.failState,r.node;if(l)return this.state=a.failState,l;if(null!=(o=r)&&o.thrown)throw r.error;if(a.thrown)throw a.error;throw this.raise(nt.UnexpectedTokenAfterTypeParameter,n)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,n,r=!0){if(!n||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(nt.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,n,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,n){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();const n=this.startNodeAt(t);n.callee=e,n.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const r=this.state.clone(),s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),r);if(!s.error&&!s.aborted)return s.node;const i=this.tryParse((()=>super.parseSubscripts(e,t,n)),r);if(i.node&&!i.error)return i.node;if(s.node)return this.state=s.failState,s.node;if(i.node)return this.state=i.failState,i.node;throw s.error||i.error}return super.parseSubscripts(e,t,n)}parseSubscript(e,t,n,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,n)return r.stop=!0,e;this.next();const s=this.startNodeAt(t);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&this.match(47)){const n=this.startNodeAt(t);n.callee=e;const s=this.tryParse((()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=super.parseCallExpressionArguments(11,!1),r.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,r.optionalChainMember))));if(s.node)return s.error&&(this.state=s.failState),s.node}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const n=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(nt.UnterminatedFlowComment,this.state.curPosition()),n}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(nt.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const n=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===n&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===n&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:n}){this.raise(nt.EnumBooleanMemberNotInitialized,e,{memberName:n,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?nt.EnumInvalidMemberInitializerSymbolType:nt.EnumInvalidMemberInitializerPrimaryType:nt.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(nt.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(nt.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const n=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:n.loc.start,value:n}:{type:"invalid",loc:e}}case 133:{const n=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:n.loc.start,value:n}:{type:"invalid",loc:e}}case 85:case 86:{const n=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:n.loc.start,value:n}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,n){const{explicitType:r}=t;null!==r&&r!==n&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const n=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}const i=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),l=o.name;if(""===l)continue;/^[a-z]/.test(l)&&this.raise(nt.EnumInvalidMemberName,o,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),n.has(l)&&this.raise(nt.EnumDuplicateMemberName,o,{memberName:l,enumName:e}),n.add(l);const p={enumName:e,explicitType:t,memberName:l};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,p,"boolean"),i.init=a.value,r.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,p,"number"),i.init=a.value,r.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,p,"string"),i.init=a.value,r.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,p);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,p);break;default:r.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:n}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:n});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:n});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!M(this.state.type))throw this.raise(nt.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(nt.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const n=t.name,r=t.loc.start,s=this.flowEnumParseExplicitType({enumName:n});this.expect(5);const{members:i,hasUnknownMembers:o}=this.flowEnumMembers({enumName:n,explicitType:s});switch(e.hasUnknownMembers=o,s){case"boolean":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=i.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const s=i.booleanMembers.length,o=i.numberMembers.length,a=i.stringMembers.length,l=i.defaultedMembers.length;if(s||o||a||l){if(s||o){if(!o&&!a&&s>=l){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!s&&!a&&o>=l){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:n,memberName:e.id.name});return e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(nt.EnumInconsistentMemberValues,r,{enumName:n}),t()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:n}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:mt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:mt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:mt.InvalidModifierOnTypeParameter})}getScopeHandler(){return ut}tsIsIdentifier(){return M(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!M(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;const n=this.state.value;if(-1!==e.indexOf(n)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:n,errorTemplate:r=mt.InvalidModifierOnTypeMember},s){const i=(e,t,n,r)=>{t===n&&s[r]&&this.raise(mt.InvalidModifiersOrder,e,{orderedModifiers:[n,r]})},o=(e,t,n,r)=>{(s[n]&&t===r||s[r]&&t===n)&&this.raise(mt.IncompatibleModifiers,e,{modifiers:[n,r]})};for(;;){const{startLoc:a}=this.state,l=this.tsParseModifier(e.concat(null!=t?t:[]),n);if(!l)break;yt(l)?s.accessibility?this.raise(mt.DuplicateAccessibilityModifier,a,{modifier:l}):(i(a,l,l,"override"),i(a,l,l,"static"),i(a,l,l,"readonly"),s.accessibility=l):bt(l)?(s[l]&&this.raise(mt.DuplicateModifier,a,{modifier:l}),s[l]=!0,i(a,l,"in","out")):(hasOwnProperty.call(s,l)?this.raise(mt.DuplicateModifier,a,{modifier:l}):(i(a,l,"static","readonly"),i(a,l,"static","override"),i(a,l,"override","readonly"),i(a,l,"abstract","override"),o(a,l,"declare","override"),o(a,l,"static","abstract")),s[l]=!0),null!=t&&t.includes(l)&&this.raise(r,a,{modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){const n=[];for(;!this.tsIsListTerminator(e);)n.push(t());return n}tsParseDelimitedList(e,t,n){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,n))}tsParseDelimitedListWorker(e,t,n,r){const s=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const r=t();if(null==r)return;if(s.push(r),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(n&&this.expect(12))}i=this.state.lastTokStartLoc.index}return r&&(r.value=i),s}tsParseBracketedList(e,t,n,r,s){r||(n?this.expect(0):this.expect(47));const i=this.tsParseDelimitedList(e,t,s);return n?this.expect(3):this.expect(48),i}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(mt.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let t=this.parseIdentifier(e);for(;this.eat(16);){const n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(e),t=this.finishNode(n,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const t=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const n={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,n),0===t.params.length&&this.raise(mt.EmptyTypeParameters,t),-1!==n.value&&this.addExtra(t,"trailingComma",n.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const n=19===e;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(n||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;"AssignmentPattern"!==e&&"TSParameterProperty"!==e||this.raise(mt.UnsupportedSignatureParameterKind,t,{type:e})}return e}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!M(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const n=e;if(this.match(10)||this.match(47)){t&&this.raise(mt.ReadonlyForMethodSignature,e);const r=n;r.kind&&this.match(47)&&this.raise(mt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();const s="parameters",i="typeAnnotation";if("get"===r.kind)r[s].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(r[s][0])&&this.raise(mt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===r.kind){if(1!==r[s].length)this.raise(g.BadSetterArity,this.state.curPosition());else{const e=r[s][0];this.isThisParam(e)&&this.raise(mt.AccesorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===e.type&&e.optional&&this.raise(mt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===e.type&&this.raise(mt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}r[i]&&this.raise(mt.SetAccesorCannotHaveReturnType,r[i])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}{const e=n;t&&(e.readonly=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach((e=>{const{type:n}=e;!t||"TSRestType"===n||"TSOptionalType"===n||"TSNamedTupleMember"===n&&e.optional||this.raise(mt.OptionalTypeBeforeRequired,e),t||(t="TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n)})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,t=this.eat(21);let n,r,s,i;const o=B(this.state.type)?this.lookaheadCharCode():null;if(58===o)n=!0,s=!1,r=this.parseIdentifier(!0),this.expect(14),i=this.tsParseType();else if(63===o){s=!0;const e=this.state.startLoc,t=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(n=!0,r=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),i=this.tsParseType()):(n=!1,i=o,this.expect(17))}else i=this.tsParseType(),s=this.eat(17),n=this.eat(14);if(n){let e;r?(e=this.startNodeAtNode(r),e.optional=s,e.label=r,e.elementType=i,this.eat(17)&&(e.optional=!0,this.raise(mt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAtNode(i),e.optional=s,this.raise(mt.InvalidTupleMemberLabel,i),e.label=i,e.elementType=this.tsParseType()),i=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(i);e.typeAnnotation=i,i=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=i,i=this.finishNode(t,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const n=this.startNode();return"TSConstructorType"===e&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,n))),this.finishNode(n,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 134!==t.type&&135!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(M(e)||88===e||84===e){const t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(mt.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=121&&e<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,n){const r=this.startNode(),s=this.eat(n),i=[];do{i.push(t())}while(this.eat(n));return 1!==i.length||s?(r.types=i,this.finishNode(r,e)):i[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(M(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch(e){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const n=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(n.parameterName=e,n.asserts=!0,n.typeAnnotation=null,e=this.finishNode(n,"TSTypePredicate")):(this.resetStartLocationFromNode(e,n),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s)return r?(n.parameterName=this.parseIdentifier(),n.asserts=r,n.typeAnnotation=null,t.typeAnnotation=this.finishNode(n,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return n.parameterName=s,n.typeAnnotation=i,n.asserts=r,t.typeAnnotation=this.finishNode(n,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(109!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!M(this.state.type)&&!this.match(78)||(e&&this.raise(g.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){ft(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(mt.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc,n=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return n.length||this.raise(mt.EmptyHeritageClauseType,t,{token:e}),n}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),M(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(mt.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(n,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType((()=>(this.expect(e),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.global=!0,e.id=this.parseIdentifier()):this.match(133)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,n){e.isExport=n||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(mt.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),n=e();return this.state=t,n}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),n=e();if(void 0!==n&&!1!==n)return n;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,n=this.state.type;return this.isContextual(100)&&(n=74,t="let"),this.tsInAmbientContext((()=>{switch(n){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));case 129:{const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(M(n))return this.tsParseDeclaration(e,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,n){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);return t&&(t.declare=!0),t}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const n=e;return n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,n)}}tsParseDeclaration(e,t,n,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(n)&&(this.match(80)||M(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case"module":if(this.tsCheckLineTerminator(n)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(M(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(n)&&M(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(n)&&M(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const n=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,n?super.parseArrowExpression(n,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length?this.raise(mt.EmptyTypeArguments,e):this.state.inType||this.curContext()!==S.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=124&&e<=130;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const n=this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);const s=r.accessibility,i=r.override,o=r.readonly;4&e||!(s||o||i)||this.raise(mt.UnexpectedParameterModifier,n);const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);const l=this.parseMaybeDefault(a.loc.start,a);if(s||o||i){const e=this.startNodeAt(n);return t.length&&(e.decorators=t),s&&(e.accessibility=s),o&&(e.readonly=o),i&&(e.override=i),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(mt.UnsupportedParameterPropertyKind,e),e.parameter=l,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),l}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(mt.PatternIsOptional,t)}setArrowFunctionParameters(e,t,n){super.setArrowFunctionParameters(e,t,n),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,n=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(mt.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,n):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,n))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(mt.UnexpectedTypeAnnotation,e.typeAnnotation)}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,n,r){const s=super.parseArrayLike(e,t,n,r);return"ArrayExpression"===s.type&&this.tsCheckForInvalidTypeCasts(s.elements),s}parseSubscript(e,t,n,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const n=this.startNodeAt(t);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let s=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return r.stop=!0,e;r.optionalChainMember=s=!0,this.next()}if(this.match(47)||this.match(51)){let i;const o=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(s&&!this.match(10))return void(i=this.state.curPosition());if(q(this.state.type)){const n=super.parseTaggedTemplateExpression(e,t,r);return n.typeParameters=o,n}if(!n&&this.eat(10)){const n=this.startNodeAt(t);return n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,r.optionalChainMember&&(n.optional=s),this.finishCallExpression(n,r.optionalChainMember)}const a=this.state.type;if(48===a||52===a||10!==a&&$(a)&&!this.hasPrecedingLineBreak())return;const l=this.startNodeAt(t);return l.expression=e,l.typeParameters=o,this.finishNode(l,"TSInstantiationExpression")}));if(i&&this.unexpected(i,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(mt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),o}return super.parseSubscript(e,t,n,r)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:n}=e;"TSInstantiationExpression"!==n.type||null!=(t=n.extra)&&t.parenthesized||(e.typeParameters=n.typeParameters,e.callee=n.expression)}parseExprOp(e,t,n){let r;if(G(58)>n&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(r&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(s,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(s,t,n)}return super.parseExprOp(e,t,n)}checkReservedWord(e,t,n,r){this.state.isAmbientContext||super.checkReservedWord(e,t,n,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(mt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const t=this.lookaheadCharCode();return e?123===t||42===t:61!==t}return!e&&this.isContextual(87)}applyImportPhase(e,t,n,r){super.applyImportPhase(e,t,n,r),t?e.exportKind="type"===n?"type":"value":e.importKind="type"===n||"typeof"===n?n:"value"}parseImport(e){if(this.match(133))return e.importKind="value",super.parseImport(e);let t;if(M(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const n=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,n);t=super.parseImportSpecifiersAndAfter(e,n)}else t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(mt.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){this.next();const t=e;let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(t,!1):t.importKind="value",this.tsParseImportEqualsDeclaration(t,n,!0)}if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,n=!1){const{isAmbientContext:r}=this.state,s=super.parseVarStatement(e,t,n||r);if(!r)return s;for(const{id:e,init:n}of s.declarations)n&&("const"!==t||e.typeAnnotation?this.raise(mt.InitializerNotAllowedInAmbientContext,n):Et(n,this.hasPlugin("estree"))||this.raise(mt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,n));return s}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>yt(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&123===this.lookaheadCharCode()}parseClassMember(e,t,n){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:mt.InvalidModifierOnTypeParameterPositions},t);const s=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(mt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,n,!!t.static)};t.declare?this.tsInAmbientContext(s):s()}parseClassMemberWithIsStatic(e,t,n,r){const s=this.tsTryParseIndexSignature(t);if(s)return e.body.push(s),t.abstract&&this.raise(mt.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(mt.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(mt.IndexSignatureHasDeclare,t),void(t.override&&this.raise(mt.IndexSignatureHasOverride,t));!this.state.inAbstractClass&&t.abstract&&this.raise(mt.NonAbstractClassHasAbstractMethod,t),t.override&&(n.hadSuperClass||this.raise(mt.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,n,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(mt.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(mt.ClassMethodHasDeclare,e)}parseExpressionStatement(e,t,n){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,n):void 0)||super.parseExpressionStatement(e,t,n)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,n);const r=this.tryParse((()=>super.parseConditional(e,t)));return r.node?(r.error&&(this.state=r.failState),r.node):(r.error&&super.setOptionalParametersError(n,r.error),e)}parseParenItem(e,t){const n=super.parseParenItem(e,t);if(this.eat(17)&&(n.optional=!0,this.resetEndLocation(e)),this.match(14)){const n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.startLoc,n=this.eatContextual(125);if(n&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(mt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const r=M(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||n)&&(e.exportKind="type"),n&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,n,r){if((!t||n)&&this.isContextual(113))return;super.parseClassId(e,t,n,e.declare?1024:8331);const s=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);s&&(e.typeParameters=s)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(mt.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:t}=e;this.raise(mt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(mt.PrivateElementHasAbstract,e),e.accessibility&&this.raise(mt.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(mt.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,n,r,s,i){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&s&&this.raise(mt.ConstructorHasTypeParameters,o);const{declare:a=!1,kind:l}=t;!a||"get"!==l&&"set"!==l||this.raise(mt.DeclareAccessor,t,{kind:l}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,n,r,s,i)}pushClassPrivateMethod(e,t,n,r){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(t.typeParameters=s),super.pushClassPrivateMethod(e,t,n,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||hasOwnProperty.call(e.value,"body"))&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,n,r,s,i,o){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,n,r,s,i,o)}parseFunctionParams(e,t){const n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(e.typeParameters=n),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const n=this.tsTryParseTypeAnnotation();n&&(e.id.typeAnnotation=n,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var n,r,s,i,o;let a,l,p,c;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(a=this.state.clone(),l=this.tryParse((()=>super.parseMaybeAssign(e,t)),a),!l.error)return l.node;const{context:n}=this.state,r=n[n.length-1];r!==S.j_oTag&&r!==S.j_expr||n.pop()}if(!(null!=(n=l)&&n.error||this.match(47)))return super.parseMaybeAssign(e,t);a&&a!==this.state||(a=this.state.clone());const u=this.tryParse((n=>{var r,s;c=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized)&&n(),0!==(null==(s=c)?void 0:s.params.length)&&this.resetStartLocationFromNode(i,c),i.typeParameters=c,i}),a);if(!u.error&&!u.aborted)return c&&this.reportReservedArrowTypeParam(c),u.node;if(!l&&(ft(!this.hasPlugin("jsx")),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),a),!p.error))return p.node;if(null!=(r=l)&&r.node)return this.state=l.failState,l.node;if(u.node)return this.state=u.failState,c&&this.reportReservedArrowTypeParam(c),u.node;if(null!=(s=p)&&s.node)return this.state=p.failState,p.node;throw(null==(i=l)?void 0:i.error)||u.error||(null==(o=p)?void 0:o.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(mt.ReservedArrowTypeParam,e)}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);const n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(mt.UnexpectedTypeCastInParameter,e):this.raise(mt.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,n){return r={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(64!==n||!t)&&["expression",!0],TSSatisfiesExpression:(64!==n||!t)&&["expression",!0],TSTypeAssertion:(64!==n||!t)&&["expression",!0]},s=e,hasOwnProperty.call(r,s)&&r[s]||super.isValidLVal(e,t,n);var r,s}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const n=super.parseMaybeDecoratorArguments(e);return n.typeParameters=t,n}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){const n=super.parseMaybeDefault(e,t);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(mt.TypeAnnotationAfterAssign,n.typeAnnotation),n}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,n){for(let t=0;t<e.length;t++){const n=e[t];"TSTypeCastExpression"===(null==n?void 0:n.type)&&(e[t]=this.typeCastToParameter(n))}super.toAssignableList(e,t,n)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,n){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,n)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(mt.NonClassMethodPropertyHasAbstractModifer,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,n,r,s,i,o){const a=super.parseMethod(e,t,n,r,s,i,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){const{key:e}=a;this.raise(mt.AbstractMethodHasImplementation,a,{methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,n,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,n),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,n,r))}parseImportSpecifier(e,t,n,r,s){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,n),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,n,r,n?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,n){const r=t?"imported":"local",s=t?"local":"exported";let i,o=e[r],a=!1,l=!0;const p=o.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const n=this.parseIdentifier();B(this.state.type)?(a=!0,o=e,i=t?this.parseIdentifier():this.parseModuleExportName(),l=!1):(i=n,l=!1)}else B(this.state.type)?(l=!1,i=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else B(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&n&&this.raise(t?mt.TypeModifierIsUsedInTypeImports:mt.TypeModifierIsUsedInTypeExports,p),e[r]=o,e[s]=i,e[t?"importKind":"exportKind"]=a?"type":"value",l&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=Ze(e[r])),t&&this.checkIdentifier(e[s],a?4098:4096)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),M(this.state.type)){const e=this.parseIdentifierName(),n=this.createIdentifier(t,e);if(n.type="V8IntrinsicIdentifier",this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(144)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let n=e;return n.expectedNode&&n.type||(n=this.finishNode(n,"Placeholder")),n.expectedNode=t,n}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(144,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,n,r){void 0!==e&&super.checkReservedWord(e,t,n,r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,n){return"Placeholder"===e||super.isValidLVal(e,t,n)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!!super.chStartsBindingIdentifier(e,t)||144===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var n;if("Placeholder"!==t.type||null!=(n=t.extra)&&n.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const n=e;return n.label=this.finishPlaceholder(t,"Identifier"),this.next(),n.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(n,"LabeledStatement")}this.semicolon();const r=e;return r.name=t.name,this.finishPlaceholder(r,"Statement")}parseBlock(e,t,n){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,n)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,n){const r=t?"ClassDeclaration":"ClassExpression";this.next();const s=this.state.strict,i=this.parsePlaceholder("Identifier");if(i){if(!(this.match(81)||this.match(144)||this.match(5))){if(n||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,r);throw this.raise(Tt.ClassNameIsRequired,this.state.startLoc)}e.id=i}else this.parseClassId(e,t,n);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,s),this.finishNode(e,r)}parseExport(e,t){const n=this.parsePlaceholder("Identifier");if(!n)return super.parseExport(e,t);const r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(n,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const s=this.startNode();return s.exported=n,r.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(r,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(144),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var n;return!(null==(n=e.specifiers)||!n.length)||super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishNode(n,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Tt.UnexpectedSpace,this.state.lastTokEndLoc)}}},Ct=Object.keys(wt),Dt={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class It extends ht{checkProto(e,t,n,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const s=e.key;if("__proto__"===("Identifier"===s.type?s.name:s.value)){if(t)return void this.raise(g.RecordNoProto,s);n.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=s.loc.start):this.raise(g.DuplicateProto,s)),n.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t);for(r.expressions=[n];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var n;e.optionalParametersLoc=null!=(n=null==t?void 0:t.loc)?n:this.state.startLoc}parseMaybeAssign(e,t){const n=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n)),e}let r;e?r=!1:(e=new Xe,r=!0);const{type:s}=this.state;(10===s||M(s))&&(this.state.potentialArrowAt=this.state.start);let i=this.parseMaybeConditional(e);if(t&&(i=t.call(this,i,n)),(o=this.state.type)>=29&&o<=33){const t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(i,!0),t.left=i;const r=n.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=i;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(i,{in:this.finishNode(t,"AssignmentExpression")}),t}var o;return r&&this.checkExpressionErrors(e,!0),i}parseMaybeConditional(e){const t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,n)?r:this.parseConditional(r,t,e)}parseConditional(e,t,n){if(this.eat(17)){const n=this.startNodeAt(t);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,n)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,n){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(n>=G(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if((s=r)>=39&&s<=59&&(this.prodParam.hasIn||!this.match(58))){let s=G(r);if(s>n){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e,i.operator=this.state.value;const o=41===r||42===r,a=40===r;if(a&&(s=G(42)),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);i.right=this.parseExprOpRightExpr(r,s);const l=this.finishNode(i,o||a?"LogicalExpression":"BinaryExpression"),p=this.state.type;if(a&&(41===p||42===p)||o&&40===p)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(l,t,n)}}var s;return e}parseExprOpRightExpr(e,t){const n=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(g.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),n)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,57===e?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,n=this.parseMaybeAssign();return!u.has(n.type)||null!=(e=n.extra)&&e.parenthesized||this.raise(g.PipeUnparenthesizedBody,t,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,t),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){const n=this.state.startLoc,r=this.isContextual(96);if(r&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(n);return t||this.checkExponentialAfterUnary(e),e}const s=this.match(34),i=this.startNode();if(o=this.state.type,k[o]){i.operator=this.state.value,i.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const n=this.match(89);if(this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&n){const e=i.argument;"Identifier"===e.type?this.raise(g.StrictDelete,i):this.hasPropertyAsPrivateName(e)&&this.raise(g.DeletePrivateField,i)}if(!s)return t||this.checkExponentialAfterUnary(i),this.finishNode(i,"UnaryExpression")}var o;const a=this.parseUpdate(i,s,e);if(r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?$(e):$(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,n),this.parseAwait(n)}return a}parseUpdate(e,t,n){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const r=this.state.startLoc;let s=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return s;for(;34===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=s,this.next(),this.checkLVal(s,{in:s=this.finishNode(e,"UpdateExpression")})}return s}parseExprSubscripts(e){const t=this.state.startLoc,n=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,n)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,n){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,n,r),r.maybeAsyncArrow=!1}while(!r.stop);return e}parseSubscript(e,t,n,r){const{type:s}=this.state;if(!n&&15===s)return this.parseBind(e,t,n,r);if(q(s))return this.parseTaggedTemplateExpression(e,t,r);let i=!1;if(18===s){if(n&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i);{const n=this.eat(0);return n||i||this.eat(16)?this.parseMember(e,t,r,n,i):(r.stop=!0,e)}}parseMember(e,t,n,r,s){const i=this.startNodeAt(t);return i.object=e,i.computed=r,r?(i.property=this.parseExpression(),this.expect(3)):this.match(138)?("Super"===e.type&&this.raise(g.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),n.optionalChainMember?(i.optional=s,this.finishNode(i,"OptionalMemberExpression")):this.finishNode(i,"MemberExpression")}parseBind(e,t,n,r){const s=this.startNodeAt(t);return s.object=e,this.next(),s.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(s,"BindExpression"),t,n)}parseCoverCallAndAsyncArrowHead(e,t,n,r){const s=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t);o.callee=e;const{maybeAsyncArrow:a,optionalChainMember:l}=n;a&&(this.expressionScope.enter(new Ke(2)),i=new Xe),l&&(o.optional=r),o.arguments=r?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,i);let p=this.finishCallExpression(o,l);return a&&this.shouldParseAsyncArrow()&&!r?(n.stop=!0,this.checkDestructuringPrivate(i),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),p=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),p)):(a&&(this.checkExpressionErrors(i,!0),this.expressionScope.exit()),this.toReferencedArguments(p)),this.state.maybeInArrowParameters=s,p}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,n){const r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,t),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),0===e.arguments.length||e.arguments.length>2)this.raise(g.ImportCallArity,e,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(g.ImportCallSpreadArgument,t);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,n,r,s){const i=[];let o=!0;const a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(g.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(!1,s,n))}return this.state.inFSharpPipelineDirectBody=a,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var n;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(n=t.extra)?void 0:n.trailingCommaLoc),t.innerComments&&be(e,t.innerComments),t.callee.trailingComments&&be(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,n=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):this.match(10)?this.options.createImportExpressions?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(g.UnsupportedBind,e)}case 138:return this.raise(g.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());te(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(M(r)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,n=this.parseIdentifier();if(!t&&"async"===n.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(M(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(90===e)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=i(this.state.endLoc,-1),this.parseTopicReference(n);this.unexpected()}parseTopicReference(e){const t=this.startNode(),n=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,n,e,r)}finishTopicReference(e,t,n,r){if(this.testTopicReferenceConfiguration(n,t,r)){const r="smart"===n?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===n?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,r)}throw this.raise(g.PipeTopicUnconfiguredToken,t,{token:K(r)})}testTopicReferenceConfiguration(e,t,n){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(n)}]);case"smart":return 27===n;default:throw this.raise(g.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(ze(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const n=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(g.UnexpectedSuper,e):this.raise(g.SuperNotAllowed,e),this.match(10)||this.match(0)||this.match(16)||this.raise(g.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(i(this.state.startLoc,1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(t,n),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,n){e.meta=t;const r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||r)&&this.raise(g.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:n}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const t=this.isContextual(105);if(t||this.unexpected(),this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,n){return this.addExtra(n,"rawValue",e),this.addExtra(n,"raw",this.input.slice(n.start,this.state.end)),n.value=e,this.next(),this.finishNode(n,t)}parseLiteral(e,t){const n=this.startNode();return this.parseLiteralAtNode(e,t,n)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let n;this.next(),this.expressionScope.enter(new Ke(1));const r=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const i=this.state.startLoc,o=[],a=new Xe;let l,p,c=!0;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===a.optionalParametersLoc?null:a.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(l=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(a,this.parseParenItem))}const u=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=s;let d=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(d=this.parseArrow(d))?(this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(d,o,!1),d):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),l&&this.unexpected(l),this.checkExpressionErrors(a,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(i),n.expressions=o,this.finishNode(n,"SequenceExpression"),this.resetEndLocation(n,u)):n=o[0],this.wrapParenthesis(t,n))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const n=this.startNodeAt(e);return n.expression=t,this.finishNode(n,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const n=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(g.UnexpectedNewTarget,n),n}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){const t=this.match(83),n=this.parseNoCallExpr();e.callee=n,!t||"Import"!==n.type&&"ImportExpression"!==n.type||this.raise(g.ImportCallNotNewExpression,n)}parseTemplateElement(e){const{start:t,startLoc:n,end:r,value:s}=this.state,o=t+1,a=this.startNodeAt(i(n,1));null===s&&(e||this.raise(g.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));const l=this.match(24),p=l?-1:-2,c=r+p;a.value={raw:this.input.slice(o,c).replace(/\r\n?/g,"\n"),cooked:null===s?null:s.slice(1,p)},a.tail=l,this.next();const u=this.finishNode(a,"TemplateElement");return this.resetEndLocation(u,i(this.state.lastTokEndLoc,p)),u}parseTemplate(e){const t=this.startNode();let n=this.parseTemplateElement(e);const r=[n],s=[];for(;!n.tail;)s.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(n=this.parseTemplateElement(e));return t.expressions=s,t.quasis=r,this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,n,r){n&&this.expectPlugin("recordAndTuple");const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=Object.create(null);let o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let s;t?s=this.parseBindingProperty():(s=this.parsePropertyDefinition(r),this.checkProto(s,n,i,r)),n&&!this.isObjectProperty(s)&&"SpreadElement"!==s.type&&this.raise(g.InvalidRecordProperty,s),s.shorthand&&this.addExtra(s,"shorthand",!0),a.properties.push(s)}this.next(),this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";return t?l="ObjectPattern":n&&(l="RecordExpression"),this.finishNode(a,l)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());const n=this.startNode();let r,s=!1,i=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);const a=this.state.containsEsc;if(this.parsePropertyName(n,e),!o&&!a&&this.maybeAsyncOrAccessorProp(n)){const{key:e}=n,t=e.name;"async"!==t||this.hasPrecedingLineBreak()||(s=!0,this.resetPreviousNodeTrailingComments(e),o=this.eat(55),this.parsePropertyName(n)),"get"!==t&&"set"!==t||(i=!0,this.resetPreviousNodeTrailingComments(e),n.kind=t,this.match(55)&&(o=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:t}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,r,o,s,!1,i,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const n=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==n&&this.raise("get"===e.kind?g.BadGetterArity:g.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(g.BadSetterRestParameter,e)}parseObjectMethod(e,t,n,r,s){if(s){const n=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(n),n}if(n||t||this.match(10))return r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,n,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,n,r){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,Ze(e.key));else if(this.match(29)){const n=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=n):this.raise(g.InvalidCoverInitializedName,n),e.value=this.parseMaybeDefault(t,Ze(e.key))}else e.value=Ze(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,n,r,s,i,o){const a=this.parseObjectMethod(e,n,r,s,i)||this.parseObjectProperty(e,t,s,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:n,value:r}=this.state;let s;if(B(n))s=this.parseIdentifier(!0);else switch(n){case 134:s=this.parseNumericLiteral(r);break;case 133:s=this.parseStringLiteral(r);break;case 135:s=this.parseBigIntLiteral(r);break;case 136:s=this.parseDecimalLiteral(r);break;case 138:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(g.UnexpectedPrivateField,e),s=this.parsePrivateName();break}default:this.unexpected()}e.key=s,138!==n&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,n,r,s,i,o=!1){this.initFunction(e,n),e.generator=t,this.scope.enter(18|(o?64:0)|(s?32:0)),this.prodParam.enter(ze(n,e.generator)),this.parseFunctionParams(e,r);const a=this.parseFunctionBodyAndFinish(e,i,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,n,r){n&&this.expectPlugin("recordAndTuple");const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!n,r,i),this.state.inFSharpPipelineDirectBody=s,this.finishNode(i,n?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,n,r){this.scope.enter(6);let s=ze(n,!1);!this.match(5)&&this.prodParam.hasIn&&(s|=8),this.prodParam.enter(s),this.initFunction(e,n);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=i,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,n){this.toAssignableList(t,n,!1),e.params=t}parseFunctionBodyAndFinish(e,t,n=!1){return this.parseFunctionBody(e,!1,n),this.finishNode(e,t)}parseFunctionBody(e,t,n=!1){const r=t&&!this.match(5);if(this.expressionScope.enter(qe()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const r=this.state.strict,s=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(s=>{const i=!this.isSimpleParamList(e.params);s&&i&&this.raise(g.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);const o=!r&&this.state.strict;this.checkParams(e,!(this.state.strict||t||n||i),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,n=e.length;t<n;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,n,r=!0){const s=!t&&new Set,i={type:"FormalParameters"};for(const t of e.params)this.checkLVal(t,{in:i,binding:5,checkClashes:s,strictModeChanged:r})}parseExprList(e,t,n,r){const s=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}s.push(this.parseExprListItem(t,n))}return s}parseExprListItem(e,t,n){let r;if(this.match(12))e||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),r=null;else if(this.match(21)){const e=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const e=this.startNode();this.next(),r=this.finishNode(e,"ArgumentPlaceholder")}else r=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return r}parseIdentifier(e){const t=this.startNode(),n=this.parseIdentifierName(e);return this.createIdentifier(t,n)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:n,type:r}=this.state;B(r)?t=this.state.value:this.unexpected();const s=r<=92;return e?s&&this.replaceToken(132):this.checkReservedWord(t,n,s,!1),this.next(),t}checkReservedWord(e,t,n,r){if(!(e.length>10)&&function(e){return ce.has(e)}(e))if(n&&function(e){return re.has(e)}(e))this.raise(g.UnexpectedKeyword,t,{keyword:e});else if((this.state.strict?r?pe:ae:oe)(e,this.inModule))this.raise(g.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(g.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(g.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(g.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(g.ArgumentsInClass,t)}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,t),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||q(e)||102===e&&!this.state.containsEsc||137===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(g.YieldInParameter,e),this.next();let t=!1,n=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:n=this.parseMaybeAssign()}return e.delegate=t,e.argument=n,this.finishNode(e,"YieldExpression")}parseImportCall(e){return this.next(),e.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(g.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const n=this.startNodeAt(t);return n.callee=e,this.finishNode(n,"PipelineBareFunction")}{const n=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,e)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=n,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const n=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{n()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Ot={kind:1},Nt={kind:2},jt=/[\uD800-\uDFFF]/u,kt=/in(?:stanceof)?/y;class Lt extends It{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.comments,this.options.tokens&&(e.tokens=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],{type:s}=r;if("number"==typeof s){if(138===s){const{loc:t,start:s,value:o,end:a}=r,l=s+1,p=i(t.start,1);e.splice(n,1,new Be({type:H(27),value:"#",start:s,end:l,startLoc:t.start,endLoc:p}),new Be({type:H(132),value:o,start:l,end:a,startLoc:p,endLoc:t.end})),n++;continue}if(q(s)){const{loc:o,start:a,value:l,end:p}=r,c=a+1,u=i(o.start,1);let d,h,f,m,y;d=96===t.charCodeAt(a)?new Be({type:H(22),value:"`",start:a,end:c,startLoc:o.start,endLoc:u}):new Be({type:H(8),value:"}",start:a,end:c,startLoc:o.start,endLoc:u}),24===s?(f=p-1,m=i(o.end,-1),h=null===l?null:l.slice(1,-1),y=new Be({type:H(22),value:"`",start:f,end:p,startLoc:m,endLoc:o.end})):(f=p-2,m=i(o.end,-2),h=null===l?null:l.slice(1,-2),y=new Be({type:H(23),value:"${",start:f,end:p,startLoc:m,endLoc:o.end})),e.splice(n,1,d,new Be({type:H(20),value:h,start:c,end:f,startLoc:u,endLoc:m}),y),n+=2;continue}r.type=H(s)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=139,n=this.options.sourceType){if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[e,t]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,t,{localName:e});let r;return r=139===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",i(this.state.startLoc,-1)),r}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const n=t.value,r=n.value,s=this.input.slice(n.start,n.end),i=n.value=s.slice(1,-1);return this.addExtra(n,"raw",s),this.addExtra(n,"rawValue",i),this.addExtra(n,"expressionValue",r),n.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(te(e)){if(kt.lastIndex=t,kt.test(this.input)){const e=this.codePointAtPos(kt.lastIndex);if(!ne(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifier(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const{type:e,containsEsc:t}=this.lookahead();return!(102===e&&!t)&&(M(e)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const n=this.state.type,r=this.startNode(),s=!!(2&e),i=!!(4&e),o=1&e;switch(n){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return i||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!s&&i);case 80:return s||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?s||this.raise(g.UnexpectedLexicalDeclaration,r):this.raise(g.AwaitUsingNotInAsyncContext,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,this.state.startLoc):s||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!s&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:s||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||o||this.raise(g.UnexpectedImportExport,this.state.startLoc),this.next(),83===n?(e=this.parseImport(r),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(r,t),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return s||this.raise(g.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!s&&i)}const a=this.state.value,l=this.parseExpression();return M(n)&&"Identifier"===l.type&&this.eat(14)?this.parseLabeledStatement(r,a,l,e):this.parseExpressionStatement(r,l,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(g.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,n){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),n&&this.resetStartLocationFromNode(n,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let n;if(this.match(10)){const t=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(t,n);const r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(n),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==n&&this.raise(g.DecoratorArgumentsOutsideParentheses,r)}else{for(n=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=n,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(n)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let n;for(n=0;n<this.state.labels.length;++n){const r=this.state.labels[n];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(t||1===r.kind))break;if(e.label&&t)break}}if(n===this.state.labels.length){const n=t?"BreakStatement":"ContinueStatement";this.raise(g.IllegalBreakContinue,e,{type:n})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(Ot),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Ot);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);const n=this.isContextual(100);{const r=this.isContextual(96)&&this.startsAwaitUsing(),s=r||this.isContextual(107)&&this.startsUsingForOf(),i=n&&this.hasFollowingBindingAtom()||s;if(this.match(74)||this.match(75)||i){const n=this.startNode();let i;r?(i="await using",this.isAwaitAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):i=this.state.value,this.next(),this.parseVar(n,!0,i);const o=this.finishNode(n,"VariableDeclaration"),a=this.match(58);return a&&s&&this.raise(g.ForInUsing,o),(a||this.isContextual(102))&&1===o.declarations.length?this.parseForIn(e,o,t):(null!==t&&this.unexpected(t),this.parseFor(e,o))}}const r=this.isContextual(95),s=new Xe,i=this.parseExpression(!0,s),o=this.isContextual(102);if(o&&(n&&this.raise(g.ForOfLet,i),null===t&&r&&"Identifier"===i.type&&this.raise(g.ForOfAsync,i)),o||this.match(58)){this.checkDestructuringPrivate(s),this.toAssignable(i,!0);const n=o?"ForOfStatement":"ForInStatement";return this.checkLVal(i,{in:{type:n}}),this.parseForIn(e,i,t)}return this.checkExpressionErrors(s,!0),null!==t&&this.unexpected(t),this.parseFor(e,i)}parseFunctionStatement(e,t,n){return this.next(),this.parseFunction(e,1|(n?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(g.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let n;this.expect(5),this.state.labels.push(Nt),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){const r=this.match(61);n&&this.finishNode(n,"SwitchCase"),t.push(n=this.startNode()),n.consequent=[],this.next(),r?n.test=this.parseExpression():(e&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(g.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,n=!1){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Ot),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(g.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,n,r){for(const e of this.state.labels)e.name===t&&this.raise(g.LabelRedeclaration,n,{labelName:t});const s=(i=this.state.type)>=90&&i<=92?1:this.match(71)?2:null;var i;for(let t=this.state.labels.length-1;t>=0;t--){const n=this.state.labels[t];if(n.statementStart!==e.start)break;n.statementStart=this.state.start,n.kind=s}return this.state.labels.push({name:t,kind:s,statementStart:this.state.start}),e.body=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,n){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,n){const r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,n),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,n,r,s){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,n,r,s)}parseBlockOrModuleBlockBody(e,t,n,r,s){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(r);){const r=n?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(r)}null==s||s.call(this,o),i||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,n){const r=this.match(58);return this.next(),r?null!==n&&this.unexpected(n):e.await=null!==n,"VariableDeclaration"!==t.type||null==t.declarations[0].init||r&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(g.ForInOfLoopInitializer,t,{type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(g.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,n,r=!1){const s=e.declarations=[];for(e.kind=n;;){const e=this.startNode();if(this.parseVarId(e,n),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||r||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==n&&"using"!==n&&"await using"!==n||this.match(58)||this.isContextual(102)||this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:n}):this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),s.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){const n=this.parseBindingAtom();this.checkLVal(n,{in:{type:"VariableDeclarator"},binding:"var"===t?5:8201}),e.id=n}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const n=2&t,r=!!(1&t),s=r&&!(4&t),i=!!(8&t);this.initFunction(e,i),this.match(55)&&(n&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(s));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ze(i,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),r&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||M(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new We(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,n){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();const n={hadConstructor:!1,hadSuperClass:e};let r=[];const s=this.startNode();if(s.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(s,e,n),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(g.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),r.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const n=this.parseIdentifier(!0);if(this.isClassMethod()){const r=t;return r.kind="method",r.computed=!1,r.key=n,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){const r=t;return r.computed=!1,r.key=n,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(e,t,n){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,n,r)}parseClassMemberWithIsStatic(e,t,n,r){const s=t,i=t,o=t,a=t,l=t,p=s,c=s;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){p.kind="method";const t=this.match(138);return this.parseClassElementName(p),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(s)&&this.raise(g.ConstructorIsGenerator,s.key),void this.pushClassMethod(e,s,!0,!1,!1,!1))}const u=!this.state.containsEsc&&M(this.state.type),d=this.parseClassElementName(t),h=u?d.name:null,f=this.isPrivateName(d),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(p.kind="method",f)return void this.pushClassPrivateMethod(e,i,!1,!1);const r=this.isNonstaticConstructor(s);let o=!1;r&&(s.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,d),r&&this.hasPlugin("typescript")&&t.override&&this.raise(g.OverrideOnConstructor,d),n.hadConstructor=!0,o=n.hadSuperClass),this.pushClassMethod(e,s,!1,!1,r,o)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if("async"!==h||this.isLineTerminator())if("get"!==h&&"set"!==h||this.match(55)&&this.isLineTerminator())if("accessor"!==h||this.isLineTerminator())this.isLineTerminator()?f?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);const t=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(e,l,t)}else{this.resetPreviousNodeTrailingComments(d),p.kind=h;const t=this.match(138);this.parseClassElementName(s),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(s)&&this.raise(g.ConstructorIsAccessor,s.key),this.pushClassMethod(e,s,!1,!1,!1,!1)),this.checkGetterSetterParams(s)}else{this.resetPreviousNodeTrailingComments(d);const t=this.eat(55);c.optional&&this.unexpected(m),p.kind="method";const n=this.match(138);this.parseClassElementName(p),this.parsePostMemberNameModifiers(c),n?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(s)&&this.raise(g.ConstructorIsAsync,s.key),this.pushClassMethod(e,s,t,!0,!1,!1))}}parseClassElementName(e){const{type:t,value:n}=this.state;if(132!==t&&133!==t||!e.static||"prototype"!==n||this.raise(g.StaticPrototype,this.state.startLoc),138===t){"constructor"===n&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){var n;this.scope.enter(208);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),null!=(n=t.decorators)&&n.length&&this.raise(g.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(g.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const n=this.parseClassPrivateProperty(t);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassAccessorProperty(e,t,n){n||t.computed||!this.nameIsConstructor(t.key)||this.raise(g.ConstructorClassField,t.key);const r=this.parseClassAccessorProperty(t);e.body.push(r),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,n,r,s,i){e.body.push(this.parseMethod(t,n,r,s,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,n,r){const s=this.parseMethod(t,n,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(s);const i="get"===s.kind?s.static?6:2:"set"===s.kind?s.static?5:1:0;this.declareClassPrivateMethodInScope(s,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(qe()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,n,r=8331){if(M(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!n&&t)throw this.raise(g.MissingClassName,this.state.startLoc);e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const n=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,n),s=!r||this.eat(12),i=s&&this.eatExportStar(e),o=i&&this.maybeParseExportNamespaceSpecifier(e),a=s&&(!o||this.eat(12)),l=r||i;if(i&&!o){if(r&&this.unexpected(),t)throw this.raise(g.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}const p=this.maybeParseExportNamedSpecifiers(e);let c;if(r&&s&&!i&&!p&&this.unexpected(null,5),o&&a&&this.unexpected(null,98),l||p){if(c=!1,t)throw this.raise(g.UnsupportedDecoratorExport,e);this.parseExportFrom(e,l)}else c=this.maybeParseExportDeclaration(e);if(l||p||c){var u;const n=e;if(this.checkExport(n,!0,!1,!!n.source),"ClassDeclaration"===(null==(u=n.declaration)?void 0:u.type))this.maybeTakeDecorators(t,n.declaration,n);else if(t)throw this.raise(g.UnsupportedDecoratorExport,e);return this.finishNode(n,"ExportNamedDeclaration")}if(this.eat(65)){const n=e,r=this.parseExportDefaultExpression();if(n.declaration=r,"ClassDeclaration"===r.type)this.maybeTakeDecorators(t,r,n);else if(t)throw this.raise(g.UnsupportedDecoratorExport,e);return this.checkExport(n,!0,!0),this.finishNode(n,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);const n=t||this.parseIdentifier(!0),r=this.startNodeAtNode(n);return r.exported=n,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);const n=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),n.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(n,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){const t=e;t.specifiers||(t.specifiers=[]);const n="type"===t.exportKind;return t.specifiers.push(...this.parseExportSpecifiers(n)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(g.UnsupportedDefaultExport,this.state.startLoc);const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(M(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(M(e)&&98!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),n=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||M(this.state.type)&&n)return!0;if(this.match(65)&&n){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(g.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,n,r){var s;if(t)if(n){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(g.ExportDefaultFromAsIdentifier,t)}}else if(null!=(s=e.specifiers)&&s.length)for(const t of e.specifiers){const{exported:e}=t,n="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,n),!r&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(g.ExportBindingIsString,t,{localName:e.value,exportName:n}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration){const t=e.declaration;if("FunctionDeclaration"===t.type||"ClassDeclaration"===t.type){const{id:n}=t;if(!n)throw new Error("Assertion failure");this.checkDuplicateExports(e,n.name)}else if("VariableDeclaration"===t.type)for(const e of t.declarations)this.checkDeclaration(e.id)}}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(g.DuplicateDefaultExport,e):this.raise(g.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),s=this.match(133),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,s,e,r))}return t}parseExportSpecifier(e,t,n,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=function(e){const{type:t,start:n,end:r,loc:s,range:i,extra:o}=e;if("Placeholder"===t)return function(e){return Ze(e)}(e);const a=Object.create(Qe);return a.type=t,a.start=n,a.end=r,a.loc=s,a.range=i,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}(e.local):e.exported||(e.exported=Ze(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(jt);return t&&this.raise(g.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value)))}checkImportReflection(e){const{specifiers:t}=e,n=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==n&&this.raise(g.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==n&&this.raise(g.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;"ImportDefaultSpecifier"!==n&&this.raise(g.ImportReflectionNotBinding,t[0].loc.start),(null==(r=e.assertions)?void 0:r.length)>0&&this.raise(g.ImportReflectionHasAssertion,t[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){const e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(g.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(e,t,n,r){t||("module"===n?(this.expectPlugin("importReflection",r),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===n?(this.expectPlugin("sourcePhaseImports",r),e.phase="source"):"defer"===n?(this.expectPlugin("deferredImportEvaluation",r),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;const n=this.parseIdentifier(!0),{type:r}=this.state;return(B(r)?98!==r||102===this.lookaheadCharCode():12!==r)?(this.resetPreviousIdentifierLeadingComments(n),this.applyImportPhase(e,t,n.name,n.loc.start),null):(this.applyImportPhase(e,t,null),n)}isPrecedingIdImportPhase(e){const{type:t}=this.state;return M(t)?98!==t||102===this.lookaheadCharCode():12!==t}parseImport(e){return this.match(133)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const n=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=n&&this.maybeParseStarImportSpecifier(e);return n&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,n){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}finishImportSpecifier(e,t,n=8201){return this.checkLVal(e.local,{in:{type:t},binding:n}),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);const e=[],t=new Set;do{if(this.match(8))break;const n=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(133)?n.key=this.parseStringLiteral(r):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){const e=[],t=new Set;do{const n=this.startNode();if(n.key=this.parseIdentifier(!0),"type"!==n.key.name&&this.raise(g.ModuleAttributeDifferentFromType,n.key),t.has(n.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t,n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?t=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),t=this.parseImportAttributes()),n=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(!0!==this.getPluginOption("importAttributes","deprecatedAssertSyntax")&&this.raise(g.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(e,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),t=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))t=[];else{if(!this.hasPlugin("moduleAttributes"))return;t=[]}!n&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){const n=this.startNodeAtNode(t);return n.local=t,e.specifiers.push(this.finishImportSpecifier(n,"ImportDefaultSpecifier")),!0}return!!B(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const n=this.startNode(),r=this.match(133),s=this.isContextual(130);n.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(n,r,"type"===e.importKind||"typeof"===e.importKind,s,void 0);e.specifiers.push(i)}}parseImportSpecifier(e,t,n,r,s){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:n}=e;if(t)throw this.raise(g.ImportBindingIsString,e,{importName:n.value});this.checkReservedWord(n.name,e.loc.start,!0,!0),e.local||(e.local=Ze(n))}return this.finishImportSpecifier(e,"ImportSpecifier",s)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class Ft extends Lt{constructor(e,t){super(e=function(e){if(null==e)return Object.assign({},Dt);if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const r of Object.keys(Dt)){var n;t[r]=null!=(n=e[r])?n:Dt[r]}return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const n of e){const[e,r]=Array.isArray(n)?n:[n,{}];t.has(e)||t.set(e,r||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return de}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e.comments.length=this.state.commentsLen,e}}const Rt=function(e){const t={};for(const n of Object.keys(e))t[n]=H(e[n]);return t}(R);function Mt(e,t){let n=Ft;return null!=e&&e.plugins&&(function(e){if(St(e,"decorators")){if(St(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Pt(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const n=Pt(e,"decorators","allowCallParenthesized");if(null!=n&&"boolean"!=typeof n)throw new Error("'allowCallParenthesized' must be a boolean.")}if(St(e,"flow")&&St(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(St(e,"placeholders")&&St(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(St(e,"pipelineOperator")){const t=Pt(e,"pipelineOperator","proposal");if(!_t.includes(t)){const e=_t.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const n=["recordAndTuple",{syntaxType:"hash"}],r=St(e,n);if("hack"===t){if(St(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(St(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=Pt(e,"pipelineOperator","topicToken");if(!At.includes(t)){const e=At.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(n)}\`.`)}else if("smart"===t&&r)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(n)}\`.`)}if(St(e,"moduleAttributes")){if(St(e,"importAssertions")||St(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if("may-2020"!==Pt(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(St(e,"importAssertions")&&St(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(St(e,"recordAndTuple")){const t=Pt(e,"recordAndTuple","syntaxType");if(null!=t){const e=["hash","bar"];if(!e.includes(t))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+e.map((e=>`'${e}'`)).join(", "))}}if(St(e,"asyncDoExpressions")&&!St(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(St(e,"optionalChainingAssign")&&"2023-07"!==Pt(e,"optionalChainingAssign","version"))throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(e.plugins),n=function(e){const t=Ct.filter((t=>St(e,t))),n=t.join("/");let r=Bt[n];if(!r){r=Ft;for(const e of t)r=wt[e](r);Bt[n]=r}return r}(e.plugins)),new n(e,t)}const Bt={};t.parse=function(e,t){var n;if("unambiguous"!==(null==(n=t)?void 0:n.sourceType))return Mt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const n=Mt(t,e),r=n.parse();if(n.sawUnambiguousESM)return r;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",Mt(t,e).parse()}catch(e){}else r.program.sourceType="script";return r}catch(n){try{return t.sourceType="script",Mt(t,e).parse()}catch(e){}throw n}},t.parseExpression=function(e,t){const n=Mt(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()},t.tokTypes=Rt},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),o=n("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");t.default=(0,r.declare)(((e,t)=>{e.assertVersion(7);var{legacy:n}=t;const{version:r}=t;if(n||"legacy"===r)return{name:"proposal-decorators",inherits:s.default,visitor:o.default};if(r&&"2018-09"!==r&&"2021-12"!==r&&"2022-03"!==r&&"2023-01"!==r&&"2023-05"!==r&&"2023-11"!==r)throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return e.assertVersion("^7.0.2"),(0,i.createClassFeaturePlugin)({name:"proposal-decorators",api:e,feature:i.FEATURES.decorators,inherits:s.default,decoratorVersion:r})}))},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");const s=r.template.statement("\n DECORATOR(CLASS_REF = INNER) || CLASS_REF;\n"),i=(0,r.template)("\n CLASS_REF.prototype;\n"),o=(0,r.template)("\n Object.getOwnPropertyDescriptor(TARGET, PROPERTY);\n"),a=(0,r.template)("\n (TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {\n enumerable: true,\n configurable: true,\n writable: true,\n initializer: function(){\n return TEMP;\n }\n })\n"),l=new WeakSet;function p(e){const t=(e.isClass()?[e,...e.get("body.body")]:e.get("properties")).reduce(((e,t)=>e.concat(t.node.decorators||[])),[]).filter((e=>!r.types.isIdentifier(e.expression)));if(0!==t.length)return r.types.sequenceExpression(t.map((t=>{const n=t.expression,s=t.expression=e.scope.generateDeclaredUidIdentifier("dec");return r.types.assignmentExpression("=",s,n)})).concat([e.node]))}function c(e){var t;return!(null==(t=e.decorators)||!t.length)}function u(e){return e.some((e=>{var t;return null==(t=e.decorators)?void 0:t.length}))}function d(e,t,n){const s=e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj"),p=n.reduce((function(n,p){let c=[];if(null!=p.decorators&&(c=p.decorators,p.decorators=null),0===c.length)return n;if(p.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");const u=r.types.isLiteral(p.key)?p.key:r.types.stringLiteral(p.key.name),d=e.isClass()&&!p.static?i({CLASS_REF:s}).expression:s;if(r.types.isClassProperty(p,{static:!1})){const s=e.scope.generateDeclaredUidIdentifier("descriptor"),i=p.value?r.types.functionExpression(null,[],r.types.blockStatement([r.types.returnStatement(p.value)])):r.types.nullLiteral();p.value=r.types.callExpression(t.addHelper("initializerWarningHelper"),[s,r.types.thisExpression()]),l.add(p.value),n.push(r.types.assignmentExpression("=",r.types.cloneNode(s),r.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[r.types.cloneNode(d),r.types.cloneNode(u),r.types.arrayExpression(c.map((e=>r.types.cloneNode(e.expression)))),r.types.objectExpression([r.types.objectProperty(r.types.identifier("configurable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("enumerable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("writable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("initializer"),i)])])))}else n.push(r.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[r.types.cloneNode(d),r.types.cloneNode(u),r.types.arrayExpression(c.map((e=>r.types.cloneNode(e.expression)))),r.types.isObjectProperty(p)||r.types.isClassProperty(p,{static:!0})?a({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:r.types.cloneNode(d),PROPERTY:r.types.cloneNode(u)}).expression:o({TARGET:r.types.cloneNode(d),PROPERTY:r.types.cloneNode(u)}).expression,r.types.cloneNode(d)]));return n}),[]);return r.types.sequenceExpression([r.types.assignmentExpression("=",r.types.cloneNode(s),e.node),r.types.sequenceExpression(p),r.types.cloneNode(s)])}function h({node:e,scope:t}){if(!c(e)&&!u(e.body.body))return;const n=e.id?r.types.cloneNode(e.id):t.generateUidIdentifier("class");return r.types.variableDeclaration("let",[r.types.variableDeclarator(n,r.types.toExpression(e))])}const f={ExportDefaultDeclaration(e){const t=e.get("declaration");if(!t.isClassDeclaration())return;const n=h(t);if(n){const[s]=e.replaceWithMultiple([n,r.types.exportNamedDeclaration(null,[r.types.exportSpecifier(r.types.cloneNode(n.declarations[0].id),r.types.identifier("default"))])]);t.node.id||e.scope.registerDeclaration(s)}},ClassDeclaration(e){const t=h(e);if(t){const[n]=e.replaceWith(t),r=n.get("declarations.0"),s=r.node.id,i=e.scope.getOwnBinding(s.name);i.identifier=s,i.path=r}},ClassExpression(e,t){const n=p(e)||function(e){if(!c(e.node))return;const t=e.node.decorators||[];e.node.decorators=null;const n=e.scope.generateDeclaredUidIdentifier("class");return t.map((e=>e.expression)).reverse().reduce((function(e,t){return s({CLASS_REF:r.types.cloneNode(n),DECORATOR:r.types.cloneNode(t),INNER:e}).expression}),e.node)}(e)||function(e,t){if(u(e.node.body.body))return d(e,t,e.node.body.body)}(e,t);n&&e.replaceWith(n)},ObjectExpression(e,t){const n=p(e)||function(e,t){if(u(e.node.properties))return d(e,t,e.node.properties.filter((e=>"SpreadElement"!==e.type)))}(e,t);n&&e.replaceWith(n)},AssignmentExpression(e,t){l.has(e.node.right)&&e.replaceWith(r.types.callExpression(t.addHelper("initializerDefineProperty"),[r.types.cloneNode(e.get("left.object").node),r.types.stringLiteral(e.get("left.property").node.name||e.get("left.property").node.value),r.types.cloneNode(e.get("right.arguments")[0].node),r.types.cloneNode(e.get("right.arguments")[1].node)]))},CallExpression(e,t){3===e.node.arguments.length&&l.has(e.node.arguments[2])&&e.node.callee.name===t.addHelper("defineProperty").name&&e.replaceWith(r.types.callExpression(t.addHelper("initializerDefineProperty"),[r.types.cloneNode(e.get("arguments")[0].node),r.types.cloneNode(e.get("arguments")[1].node),r.types.cloneNode(e.get("arguments.2.arguments")[0].node),r.types.cloneNode(e.get("arguments.2.arguments")[1].node)]))}};t.default=f},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");t.default=(0,r.declare)(((e,t)=>{e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:n}=t;{const{legacy:e}=t;if(void 0!==e){if("boolean"!=typeof e)throw new Error(".legacy must be a boolean.");if(void 0!==n)throw new Error("You can either use the .legacy or the .version option, not both.")}if(void 0===n)n=e?"legacy":"2018-09";else if("2023-11"!==n&&"2023-05"!==n&&"2023-01"!==n&&"2022-03"!==n&&"2021-12"!==n&&"2018-09"!==n&&"legacy"!==n)throw new Error("Unsupported decorators version: "+n);var{decoratorsBeforeExport:r}=t;if(void 0===r){if("2021-12"===n||"2022-03"===n)r=!1;else if("2018-09"===n)throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if("legacy"===n||"2022-03"===n||"2023-01"===n)throw new Error(`'decoratorsBeforeExport' can't be used with ${n} decorators.`);if("boolean"!=typeof r)throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:e},t){"legacy"===n?t.plugins.push("decorators-legacy"):"2023-01"===n||"2023-05"===n||"2023-11"===n?t.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):"2022-03"===n?t.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):"2021-12"===n?(t.plugins.push(["decorators",{decoratorsBeforeExport:r}],"decoratorAutoAccessors"),e.decoratorsBeforeExport=r):"2018-09"===n&&(t.plugins.push(["decorators",{decoratorsBeforeExport:r}]),e.decoratorsBeforeExport=r)}}}))},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");t.default=(0,r.declare)((e=>(e.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(e,t){t.plugins.push("importAssertions")}})))},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js");t.default=(0,r.declare)((e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(e,t){t.plugins.some((e=>"typescript"===(Array.isArray(e)?e[0]:e)))||t.plugins.push("jsx")}})))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=function(e,t){const n=[];e.forEach(((e,r)=>{(Array.isArray(e)?e[0]:e)===t&&n.unshift(r)}));for(const t of n)e.splice(t,1)};t.default=(0,r.declare)(((e,t)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:n,dts:r}=t;var{isTSX:i}=t;return{name:"syntax-typescript",manipulateOptions(e,t){{const{plugins:e}=t;s(e,"flow"),s(e,"jsx"),e.push("objectRestSpread","classProperties"),i&&e.push("jsx")}t.plugins.push(["typescript",{disallowAmbiguousJSXLike:n,dts:r}])}}}))},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");t.default=(0,r.declare)((e=>(e.assertVersion(7),{name:"transform-export-namespace-from",inherits:"8"===e.version[0]?void 0:n("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").A,visitor:{ExportNamedDeclaration(e){var t;const{node:n,scope:r}=e,{specifiers:i}=n,o=s.types.isExportDefaultSpecifier(i[0])?1:0;if(!s.types.isExportNamespaceSpecifier(i[o]))return;const a=[];1===o&&a.push(s.types.exportNamedDeclaration(null,[i.shift()],n.source));const l=i.shift(),{exported:p}=l,c=r.generateUidIdentifier(null!=(t=p.name)?t:p.value);a.push(s.types.importDeclaration([s.types.importNamespaceSpecifier(c)],s.types.cloneNode(n.source)),s.types.exportNamedDeclaration(null,[s.types.exportSpecifier(s.types.cloneNode(c),p)])),n.specifiers.length>=1&&a.push(n);const[u]=e.replaceWithMultiple(a);e.scope.registerDeclaration(u)}}})))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.transformDynamicImport=function(e,t,n){const r=t?i:o;e.replaceWith((0,s.buildDynamicImport)(e.node,!0,!1,(e=>r(e,n))))};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");const i=e=>r.template.expression.ast`require(${e})`,o=(e,t)=>r.types.callExpression(t.addHelper("interopRequireWildcard"),[i(e)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defineCommonJSHook=function(e,t){let r=e.get(n);r||e.set(n,r=[]),r.push(t)},t.makeInvokers=function(e){const t=e.get(n);return{getWrapperPayload:(...e)=>r(t,(t=>null==t.getWrapperPayload?void 0:t.getWrapperPayload(...e))),wrapReference:(...e)=>r(t,(t=>null==t.wrapReference?void 0:t.wrapReference(...e))),buildRequireWrapper:(...e)=>r(t,(t=>null==t.buildRequireWrapper?void 0:t.buildRequireWrapper(...e)))}};const n="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function r(e,t){if(e)for(const n of e){const e=t(n);if(null!=e)return e}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,Object.defineProperty(t,"defineCommonJSHook",{enumerable:!0,get:function(){return p.defineCommonJSHook}});var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-simple-access@7.24.7/node_modules/@babel/helper-simple-access/lib/index.js"),o=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),a=n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),l=n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),p=n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");t.default=(0,r.declare)(((e,t)=>{var n,r,c;e.assertVersion(7);const{strictNamespace:u=!1,mjsStrictNamespace:d=u,allowTopLevelThis:h,strict:f,strictMode:m,noInterop:y,importInterop:b,lazy:g=!1,allowCommonJSExports:E=!0,loose:v=!1}=t,x=null!=(n=e.assumption("constantReexports"))?n:v,T=null!=(r=e.assumption("enumerableModuleMeta"))?r:v,S=null!=(c=e.assumption("noIncompleteNsImportDetection"))&&c;if(!("boolean"==typeof g||"function"==typeof g||Array.isArray(g)&&g.every((e=>"string"==typeof e))))throw new Error(".lazy must be a boolean, array of strings, or a function");if("boolean"!=typeof u)throw new Error(".strictNamespace must be a boolean, or undefined");if("boolean"!=typeof d)throw new Error(".mjsStrictNamespace must be a boolean, or undefined");const P=e=>o.template.expression.ast`
|
|
179
|
+
(function(){
|
|
180
|
+
throw new Error(
|
|
181
|
+
"The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." +
|
|
182
|
+
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
183
|
+
"Babel config for this file.");
|
|
184
|
+
})()
|
|
185
|
+
`,_={ReferencedIdentifier(e){const t=e.node.name;if("module"!==t&&"exports"!==t)return;const n=e.scope.getBinding(t);this.scope.getBinding(t)!==n||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})||e.replaceWith(P(t))},UpdateExpression(e){const t=e.get("argument");if(!t.isIdentifier())return;const n=t.node.name;if("module"!==n&&"exports"!==n)return;const r=e.scope.getBinding(n);this.scope.getBinding(n)===r&&e.replaceWith(o.types.assignmentExpression(e.node.operator[0]+"=",t.node,P(n)))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const n=t.node.name;if("module"!==n&&"exports"!==n)return;const r=e.scope.getBinding(n);if(this.scope.getBinding(n)!==r)return;const s=e.get("right");s.replaceWith(o.types.sequenceExpression([s.node,P(n)]))}else if(t.isPattern()){const n=t.getOuterBindingIdentifiers(),r=Object.keys(n).filter((t=>("module"===t||"exports"===t)&&this.scope.getBinding(t)===e.scope.getBinding(t)))[0];if(r){const t=e.get("right");t.replaceWith(o.types.sequenceExpression([t.node,P(r)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),g&&(0,p.defineCommonJSHook)(this.file,(0,l.lazyImportsHook)(g))},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(e.isCallExpression()&&!o.types.isImport(e.node.callee))return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);(0,a.transformDynamicImport)(e,y,this.file)},Program:{exit(e,n){if(!(0,s.isModule)(e))return;e.scope.rename("exports"),e.scope.rename("module"),e.scope.rename("require"),e.scope.rename("__filename"),e.scope.rename("__dirname"),E||((0,i.default)(e,new Set(["module","exports"]),!1),e.traverse(_,{scope:e.scope}));let r=(0,s.getModuleName)(this.file.opts,t);r&&(r=o.types.stringLiteral(r));const a=(0,p.makeInvokers)(this.file),{meta:l,headers:c}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:x,enumerableModuleMeta:T,strict:f,strictMode:m,allowTopLevelThis:h,noInterop:y,importInterop:b,wrapReference:a.wrapReference,getWrapperPayload:a.getWrapperPayload,esNamespaceOnly:"string"==typeof n.filename&&/\.mjs$/.test(n.filename)?d:u,noIncompleteNsImportDetection:S,filename:this.file.opts.filename});for(const[t,n]of l.source){const r=o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(t)]);let i;if((0,s.isSideEffectImport)(n)){if(g&&"function"===n.wrap)throw new Error("Assertion failure");i=o.types.expressionStatement(r)}else{const t=(0,s.wrapInterop)(e,r,n.interop)||r;if(n.wrap){const e=a.buildRequireWrapper(n.name,t,n.wrap,n.referenced);if(!1===e)continue;i=e}null!=i||(i=o.template.statement.ast`
|
|
186
|
+
var ${n.name} = ${t};
|
|
187
|
+
`)}i.loc=n.loc,c.push(i),c.push(...(0,s.buildNamespaceInitStatements)(l,n,x,a.wrapReference))}(0,s.ensureStatementsHoisted)(c),e.unshiftContainer("body",c),e.get("body").forEach((e=>{-1!==c.indexOf(e.node)&&e.isVariableDeclaration()&&e.scope.registerDeclaration(e)}))}}}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.lazyImportsHook=void 0;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-module-transforms@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-module-transforms/lib/index.js");t.lazyImportsHook=e=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.24.7",getWrapperPayload:(t,n)=>(0,s.isSideEffectImport)(n)||n.reexportAll?null:!0===e?/\./.test(t)?null:"lazy/function":Array.isArray(e)?-1===e.indexOf(t)?null:"lazy/function":"function"==typeof e?e(t)?"lazy/function":null:void 0,buildRequireWrapper(e,t,n,s){if("lazy/function"===n)return!!s&&r.template.statement.ast`
|
|
188
|
+
function ${e}() {
|
|
189
|
+
const data = ${t};
|
|
190
|
+
${e} = function(){ return data; };
|
|
191
|
+
return data;
|
|
192
|
+
}
|
|
193
|
+
`},wrapReference(e,t){if("lazy/function"===t)return r.types.callExpression(e,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js");t.default=(0,r.declare)(((e,{loose:t=!1})=>{var r;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");const i=null!=(r=e.assumption("noDocumentAll"))?r:t;return{name:"transform-nullish-coalescing-operator",inherits:"8"===e.version[0]?void 0:n("./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js").A,visitor:{LogicalExpression(e){const{node:t,scope:n}=e;if("??"!==t.operator)return;let r,o;if(n.isStatic(t.left))r=t.left,o=s.types.cloneNode(t.left);else{if(n.path.isPattern())return void e.replaceWith(s.template.statement.ast`(() => ${e.node})()`);r=n.generateUidIdentifierBasedOnNode(t.left),n.push({id:s.types.cloneNode(r)}),o=s.types.assignmentExpression("=",r,t.left)}e.replaceWith(s.types.conditionalExpression(i?s.types.binaryExpression("!=",o,s.types.nullLiteral()):s.types.logicalExpression("&&",s.types.binaryExpression("!==",o,s.types.nullLiteral()),s.types.binaryExpression("!==",s.types.cloneNode(r),n.buildUndefinedNode())),s.types.cloneNode(r),t.right))}}}}))},"./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.24.7/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");function o(e){const t=a(e),{node:n,parentPath:r}=t;if(r.isLogicalExpression()){const{operator:e,right:t}=r.node;if("&&"===e||"||"===e||"??"===e&&n===t)return o(r)}if(r.isSequenceExpression()){const{expressions:e}=r.node;return e[e.length-1]!==n||o(r)}return r.isConditional({test:n})||r.isUnaryExpression({operator:"!"})||r.isLoop({test:n})}function a(e){let t=e;return e.findParent((e=>{if(!i.isTransparentExprWrapper(e.node))return!0;t=e})),t}const l=e=>e[e.length-1];function p(e){return e=i.skipTransparentExprWrapperNodes(e),s.types.isIdentifier(e)||s.types.isSuper(e)||s.types.isMemberExpression(e)&&!e.computed&&p(e.object)}const c=s.template.expression("%%check%% === null || %%ref%% === void 0"),u=s.template.expression("%%check%% == null"),d=s.template.expression("%%check%% !== null && %%ref%% !== void 0"),h=s.template.expression("%%check%% != null");function f(e,{pureGetters:t,noDocumentAll:n},r,o,a){const{scope:f}=e;if(f.path.isPattern()&&function(e){let t=e;const{scope:n}=e;for(;t.isOptionalMemberExpression()||t.isOptionalCallExpression();){const{node:e}=t,r=i.skipTransparentExprWrappers(t.isOptionalMemberExpression()?t.get("object"):t.get("callee"));if(e.optional)return!n.isStatic(r.node);t=r}}(e))return void r.replaceWith(s.template.expression.ast`(() => ${r.node})()`);const m=[];let y=e;for(;y.isOptionalMemberExpression()||y.isOptionalCallExpression();){const{node:e}=y;e.optional&&m.push(e),y.isOptionalMemberExpression()?(y.node.type="MemberExpression",y=i.skipTransparentExprWrappers(y.get("object"))):y.isOptionalCallExpression()&&(y.node.type="CallExpression",y=i.skipTransparentExprWrappers(y.get("callee")))}if(0===m.length)return;const b=[];let g;for(let e=m.length-1;e>=0;e--){const n=m[e],r=s.types.isCallExpression(n),o=r?n.callee:n.object,a=i.skipTransparentExprWrapperNodes(o);let l,c;if(r&&s.types.isIdentifier(a,{name:"eval"})?(c=l=a,n.callee=s.types.sequenceExpression([s.types.numericLiteral(0),l])):t&&r&&p(a)?c=l=n.callee:f.isStatic(a)?c=l=o:(g&&!r||(g=f.generateUidIdentifierBasedOnNode(a),f.push({id:s.types.cloneNode(g)})),l=g,c=s.types.assignmentExpression("=",s.types.cloneNode(g),o),r?n.callee=l:n.object=l),r&&s.types.isMemberExpression(a))if(t&&p(a))n.callee=o;else{const{object:e}=a;let t;if(s.types.isSuper(e))t=s.types.thisExpression();else{const n=f.maybeGenerateMemoised(e);n?(t=n,a.object=s.types.assignmentExpression("=",n,e)):t=e}n.arguments.unshift(s.types.cloneNode(t)),n.callee=s.types.memberExpression(n.callee,s.types.identifier("call"))}const u={check:s.types.cloneNode(c),ref:s.types.cloneNode(l)};Object.defineProperty(u,"ref",{enumerable:!1}),b.push(u)}let E=r.node;a&&(E=a(E));const v=s.types.isBooleanLiteral(o),x=v&&!1===o.value,T=!v&&s.types.isUnaryExpression(o,{operator:"void"}),S=s.types.isExpressionStatement(r.parent)&&!r.isCompletionRecord()||s.types.isSequenceExpression(r.parent)&&l(r.parent.expressions)!==r.node,P=x?n?h:d:n?u:c,_=x?"&&":"||",A=b.map(P).reduce(((e,t)=>s.types.logicalExpression(_,e,t)));r.replaceWith(v||T&&S?s.types.logicalExpression(_,A,E):s.types.conditionalExpression(A,o,E))}function m(e,t){const{scope:n}=e,r=a(e),{parentPath:l}=r;if(l.isUnaryExpression({operator:"delete"}))f(e,t,l,s.types.booleanLiteral(!0));else{let a;l.isCallExpression({callee:r.node})&&e.isOptionalMemberExpression()&&(a=e=>{var r;const o=i.skipTransparentExprWrapperNodes(e.object);let a;return t.pureGetters&&p(o)||(a=n.maybeGenerateMemoised(o),a&&(e.object=s.types.assignmentExpression("=",a,o))),s.types.callExpression(s.types.memberExpression(e,s.types.identifier("bind")),[s.types.cloneNode(null!=(r=a)?r:o)])}),f(e,t,e,o(r)?s.types.booleanLiteral(!1):n.buildUndefinedNode(),a)}}var y=r.declare(((e,t)=>{var r,s;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");const{loose:i=!1}=t,o=null!=(r=e.assumption("noDocumentAll"))?r:i,a=null!=(s=e.assumption("pureGetters"))?s:i;return{name:"transform-optional-chaining",inherits:"8"===e.version[0]?void 0:n("./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js").A,visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){m(e,{noDocumentAll:o,pureGetters:a})}}}}));t.default=y,t.transform=m,t.transformOptionalChain=f},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{name:n}=e.node.id,s=e.parentPath.isExportNamedDeclaration();let i=s;!i&&t.isProgram(e.parent)&&(i=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&"type"!==e.exportKind&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&"type"!==e.exportKind&&e.local.name===n)))));const{enumValues:o}=(0,r.translateEnumValues)(e,t);if(i){const r=t.objectExpression(o.map((([e,n])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),n))));return void(e.scope.hasOwnBinding(n)?(s?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,r]))):(e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,r)])),e.scope.registerDeclaration(e)))}const a=new Map(o);e.scope.path.traverse({Scope(e){e.scope.hasOwnBinding(n)&&e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:n}))return;let r;if(e.node.computed){if(!t.isStringLiteral(e.node.property))return;r=e.node.property.value}else{if(!t.isIdentifier(e.node.property))return;r=e.node.property.name}a.has(r)&&e.replaceWith(t.cloneNode(a.get(r)))}}),e.remove()};var r=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js")},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{node:n,parentPath:r}=e;if(n.declare)return void e.remove();const s=n.id.name,{fill:l,data:p,isPure:u}=function(e,t,n){const{enumValues:r,data:s,isPure:i}=h(e,t),o=r.map((([e,r])=>c(t.isStringLiteral(r),{ENUM:t.cloneNode(n),NAME:e,VALUE:r})));return{fill:{ID:t.cloneNode(n),ASSIGNMENTS:o},data:s,isPure:i}}(e,t,n.id);switch(r.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{const c=t.isProgram(e.parent),d=function e(t){return t.isExportDeclaration()?e(t.parentPath):!!t.getData(s)||(t.setData(s,!0),!1)}(r);let h=t.objectExpression([]);(d||c)&&(h=t.logicalExpression("||",t.cloneNode(l.ID),h));const f=a(Object.assign({},l,{INIT:h}));u&&(0,i.default)(f),d?(r.isExportDeclaration()?r:e).replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(n.id),f))):e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(c?"var":"let",[t.variableDeclarator(n.id,f)]))[0]),o.set(e.scope.getBindingIdentifier(s),p);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}},t.translateEnumValues=h;var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("assert"),i=n("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.24.7/node_modules/@babel/helper-annotate-as-pure/lib/index.js");const o=new WeakMap,a=r.template.expression("\n (function (ID) {\n ASSIGNMENTS;\n return ID;\n })(INIT)\n "),l=(0,r.template)('\n ENUM["NAME"] = VALUE;\n'),p=(0,r.template)('\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n'),c=(e,t)=>(e?l:p)(t);function u(e,t){const{seen:n,path:r,t:s}=t,i=e.node.name;n.has(i)&&!e.scope.hasOwnBinding(i)&&(e.replaceWith(s.memberExpression(s.cloneNode(r.node.id),s.cloneNode(e.node))),e.skip())}const d={ReferencedIdentifier:u};function h(e,t){var n;const r=e.scope.getBindingIdentifier(e.node.id.name),i=null!=(n=o.get(r))?n:new Map;let a,l=-1,p=!0;const c=e.get("members").map((n=>{const r=n.node,o=t.isIdentifier(r.id)?r.id.name:r.id.value,c=n.get("initializer");let h;if(r.initializer)l=f(c,i),void 0!==l?(i.set(o,l),s("number"==typeof l||"string"==typeof l),h=l===1/0||Number.isNaN(l)?t.identifier(String(l)):l===-1/0?t.unaryExpression("-",t.identifier("Infinity")):t.valueToNode(l)):(p&&(p=c.isPure()),c.isReferencedIdentifier()?u(c,{t:t,seen:i,path:e}):c.traverse(d,{t:t,seen:i,path:e}),h=c.node,i.set(o,void 0));else if("number"==typeof l)l+=1,h=t.numericLiteral(l),i.set(o,l);else{if("string"==typeof l)throw e.buildCodeFrameError("Enum member must have initializer.");{const n=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(a),!0);h=t.binaryExpression("+",t.numericLiteral(1),n),i.set(o,void 0)}}return a=o,[o,h]}));return{isPure:p,data:i,enumValues:c}}function f(e,t,n=new Set){return function e(r){const i=r.node;switch(i.type){case"MemberExpression":case"Identifier":return s(r,t,n);case"StringLiteral":case"NumericLiteral":return i.value;case"UnaryExpression":return function(t){const n=e(t.get("argument"));if(void 0!==n)switch(t.node.operator){case"+":return n;case"-":return-n;case"~":return~n;default:return}}(r);case"BinaryExpression":return function(t){const n=e(t.get("left"));if(void 0===n)return;const r=e(t.get("right"));if(void 0!==r)switch(t.node.operator){case"|":return n|r;case"&":return n&r;case">>":return n>>r;case">>>":return n>>>r;case"<<":return n<<r;case"^":return n^r;case"*":return n*r;case"/":return n/r;case"+":return n+r;case"-":return n-r;case"%":return n%r;case"**":return Math.pow(n,r);default:return}}(r);case"ParenthesizedExpression":return e(r.get("expression"));case"TemplateLiteral":{if(1===i.quasis.length)return i.quasis[0].value.cooked;const e=r.get("expressions"),o=i.quasis;let a="";for(let r=0;r<o.length;r++)if(a+=o[r].value.cooked,r+1<o.length){const i=s(e[r],t,n);if(void 0===i)return;a+=i}return a}default:return}}(e);function s(e,t,n){if(e.isMemberExpression()){const t=e.node,n=t.object,s=t.property;if(!r.types.isIdentifier(n)||(t.computed?!r.types.isStringLiteral(s):!r.types.isIdentifier(s)))return;const i=e.scope.getBindingIdentifier(n.name),a=o.get(i);if(!a)return;return a.get(s.computed?s.value:s.name)}if(e.isIdentifier()){const r=e.node.name;if(["Infinity","NaN"].includes(r))return Number(r);let s=null==t?void 0:t.get(r);if(void 0!==s)return s;if(n.has(e.node))return;return n.add(e.node),s=f(e.resolve(),t,n),null==t||t.set(r,s),s}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GLOBAL_TYPES=void 0,t.isGlobalType=function({scope:e},t){return!(e.hasBinding(t)||!n.get(e).has(t)&&(console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\nas a JavaScript value binding, and "@babel/plugin-transform-typescript"\nnever encountered it as a TypeScript type declaration.\nIt will be treated as a JavaScript value.\n\nThis problem is likely caused by another plugin injecting\n"${t}" without registering it in the scope tracker. If you are the author\n of that plugin, please use "scope.registerDeclaration(declarationPath)".`),1))},t.registerGlobalType=function(e,t){n.get(e).add(t)};const n=t.GLOBAL_TYPES=new WeakMap},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.24.7_@babel+core@7.24.7/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),o=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),a=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),l=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),p=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function c(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return"TSImportEqualsDeclaration"!==e.parentPath.findParent((e=>"TSQualifiedName"!==e.type)).type;case"ExportSpecifier":return"type"===e.parent.exportKind||"type"===e.parentPath.parent.exportKind;default:return!1}}const u=new WeakMap,d=new WeakSet;function h(e){const t=e.getBindingIdentifiers();for(const n of Object.keys(t)){const r=e.scope.getBinding(n);r&&r.identifier===t[n]&&r.scope.removeBinding(n)}e.opts.noScope=!0,e.remove(),e.opts.noScope=!1}function f(e,t,n,r,s=""){if("commonjs"!==t.file.get("@babel/plugin-transform-modules-*"))throw e.buildCodeFrameError(`\`${n}\` is only supported when compiling modules to CommonJS.\nPlease consider using \`${r}\`${s}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}t.default=(0,r.declare)(((e,t)=>{const{types:n,template:r}=e;e.assertVersion(7);const m=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/,{allowNamespaces:y=!0,jsxPragma:b="React.createElement",jsxPragmaFrag:g="React.Fragment",onlyRemoveTypeImports:E=!1,optimizeConstEnums:v=!1}=t;var{allowDeclareFields:x=!1}=t;const T={field(e){const{node:t}=e;if(!x&&t.declare)throw e.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(t.declare){if(t.value)throw e.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");t.decorators||e.remove()}else if(t.definite){if(t.value)throw e.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");x||t.decorators||n.isClassPrivateProperty(t)||e.remove()}else t.abstract?e.remove():x||t.value||t.decorators||n.isClassPrivateProperty(t)||e.remove();t.accessibility&&(t.accessibility=null),t.abstract&&(t.abstract=null),t.readonly&&(t.readonly=null),t.optional&&(t.optional=null),t.typeAnnotation&&(t.typeAnnotation=null),t.definite&&(t.definite=null),t.declare&&(t.declare=null),t.override&&(t.override=null)},method({node:e}){e.accessibility&&(e.accessibility=null),e.abstract&&(e.abstract=null),e.optional&&(e.optional=null),e.override&&(e.override=null)},constructor(e,t){e.node.accessibility&&(e.node.accessibility=null);const s=[],{scope:o}=e;for(const t of e.get("params")){const e=t.node;if("TSParameterProperty"===e.type){const i=e.parameter;if(d.has(i))continue;let a;if(d.add(i),n.isIdentifier(i))a=i;else{if(!n.isAssignmentPattern(i)||!n.isIdentifier(i.left))throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.");a=i.left}s.push(r.statement.ast`
|
|
194
|
+
this.${n.cloneNode(a)} = ${n.cloneNode(a)}
|
|
195
|
+
`),t.replaceWith(t.get("parameter")),o.registerBinding("param",t)}}(0,i.injectInitialization)(t,e,s)}};return{name:"transform-typescript",inherits:s.default,visitor:{Pattern:P,Identifier:P,RestElement:P,Program:{enter(e,t){const{file:n}=t;let r=null,s=null;const i=e.scope;if(l.GLOBAL_TYPES.has(i)||l.GLOBAL_TYPES.set(i,new Set),n.ast.comments)for(const e of n.ast.comments){const t=m.exec(e.value);t&&(t[1]?s=t[2]:r=t[2])}let o=r||b;o&&([o]=o.split("."));let a=s||g;a&&([a]=a.split("."));for(let n of e.get("body"))if(n.isImportDeclaration()){if(u.has(t.file.ast.program)||u.set(t.file.ast.program,!0),"type"===n.node.importKind){for(const e of n.node.specifiers)(0,l.registerGlobalType)(i,e.local.name);n.remove();continue}const r=new Set,s=n.node.specifiers.length,p=()=>s>0&&s===r.size;for(const e of n.node.specifiers)if("ImportSpecifier"===e.type&&"type"===e.importKind){(0,l.registerGlobalType)(i,e.local.name);const t=n.scope.getBinding(e.local.name);t&&r.add(t.path)}if(E)u.set(e.node,!1);else{if(0===n.node.specifiers.length){u.set(e.node,!1);continue}for(const t of n.node.specifiers){const s=n.scope.getBinding(t.local.name);s&&!r.has(s.path)&&(_({binding:s,programPath:e,pragmaImportName:o,pragmaFragImportName:a})?r.add(s.path):u.set(e.node,!1))}}if(p()&&!E)n.remove();else for(const e of r)e.remove()}else if(n.isExportDeclaration()&&(n=n.get("declaration")),n.isVariableDeclaration({declare:!0}))for(const e of Object.keys(n.getBindingIdentifiers()))(0,l.registerGlobalType)(i,e);else(n.isTSTypeAliasDeclaration()||n.isTSDeclareFunction()&&n.get("id").isIdentifier()||n.isTSInterfaceDeclaration()||n.isClassDeclaration({declare:!0})||n.isTSEnumDeclaration({declare:!0})||n.isTSModuleDeclaration({declare:!0})&&n.get("id").isIdentifier())&&(0,l.registerGlobalType)(i,n.node.id.name)},exit(e){"module"===e.node.sourceType&&u.get(e.node)&&e.pushContainer("body",n.exportNamedDeclaration())}},ExportNamedDeclaration(e,t){if(u.has(t.file.ast.program)||u.set(t.file.ast.program,!0),"type"!==e.node.exportKind)if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>"ExportSpecifier"===e.type&&"type"===e.exportKind)))e.remove();else if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>n.isExportSpecifier(t)&&(0,l.isGlobalType)(e,t.local.name))))e.remove();else{if(n.isTSModuleDeclaration(e.node.declaration)){const t=e.node.declaration,{id:r}=t;if(n.isIdentifier(r))if(e.scope.hasOwnBinding(r.name))e.replaceWith(t);else{const[s]=e.replaceWithMultiple([n.exportNamedDeclaration(n.variableDeclaration("let",[n.variableDeclarator(n.cloneNode(r))])),t]);e.scope.registerDeclaration(s)}}u.set(t.file.ast.program,!1)}else e.remove()},ExportAllDeclaration(e){"type"===e.node.exportKind&&e.remove()},ExportSpecifier(e){(!e.parent.source&&(0,l.isGlobalType)(e,e.node.local.name)||"type"===e.node.exportKind)&&e.remove()},ExportDefaultDeclaration(e,t){u.has(t.file.ast.program)||u.set(t.file.ast.program,!0),n.isIdentifier(e.node.declaration)&&(0,l.isGlobalType)(e,e.node.declaration.name)?e.remove():u.set(t.file.ast.program,!1)},TSDeclareFunction(e){h(e)},TSDeclareMethod(e){h(e)},VariableDeclaration(e){e.node.declare&&h(e)},VariableDeclarator({node:e}){e.definite&&(e.definite=null)},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;t.declare&&h(e)},Class(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.superTypeParameters&&(t.superTypeParameters=null),t.implements&&(t.implements=null),t.abstract&&(t.abstract=null),e.get("body.body").forEach((t=>{t.isClassMethod()||t.isClassPrivateMethod()?"constructor"===t.node.kind?T.constructor(t,e):T.method(t):(t.isClassProperty()||t.isClassPrivateProperty()||t.isClassAccessorProperty())&&T.field(t)}))},Function(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.returnType&&(t.returnType=null);const r=t.params;r.length>0&&n.isIdentifier(r[0],{name:"this"})&&r.shift()},TSModuleDeclaration(e){(0,p.default)(e,y)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){v&&e.node.const?(0,o.default)(e,n):(0,a.default)(e,n)},TSImportEqualsDeclaration(e,t){const{id:r,moduleReference:s}=e.node;let i,o;n.isTSExternalModuleReference(s)?(f(e,t,`import ${r.name} = require(...);`,`import ${r.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),i=n.callExpression(n.identifier("require"),[s.expression]),o="const"):(i=S(s),o="var"),e.replaceWith(n.variableDeclaration(o,[n.variableDeclarator(r,i)])),e.scope.registerDeclaration(e)},TSExportAssignment(e,t){f(e,t,"export = <value>;","export default <value>;"),e.replaceWith(r.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},["TSAsExpression"+(n.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](e){let{node:t}=e;do{t=t.expression}while(n.isTSAsExpression(t)||null!=n.isTSSatisfiesExpression&&n.isTSSatisfiesExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function S(e){return n.isTSQualifiedName(e)?n.memberExpression(S(e.left),e.right):e}function P({node:e}){e.typeAnnotation&&(e.typeAnnotation=null),n.isIdentifier(e)&&e.optional&&(e.optional=null)}function _({binding:e,programPath:t,pragmaImportName:n,pragmaFragImportName:r}){for(const t of e.referencePaths)if(!c(t))return!1;if(e.identifier.name!==n&&e.identifier.name!==r)return!0;let s=!1;return t.traverse({"JSXElement|JSXFragment"(e){s=!0,e.stop()}}),!s}}))},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.node.declare||"StringLiteral"===e.node.id.type)return void e.remove();if(!t)throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");const n=e.node.id.name,o=p(e,r.types.cloneNode(e.node,!0));if(null===o){const t=e.findParent((e=>e.isProgram()));(0,s.registerGlobalType)(t.scope,n),e.remove()}else e.scope.hasOwnBinding(n)?e.replaceWith(o):e.scope.registerDeclaration(e.replaceWithMultiple([i(n),o])[0])};var r=n("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),s=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/global-types.js");function i(e){return r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.identifier(e))])}function o(e,t){return r.types.memberExpression(r.types.identifier(e),r.types.identifier(t))}function a(e,t,n){if("const"!==e.kind)throw n.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");const{declarations:s}=e;if(s.every((e=>r.types.isIdentifier(e.id)))){for(const e of s)e.init=r.types.assignmentExpression("=",o(t,e.id.name),e.init);return[e]}const i=r.types.getBindingIdentifiers(e),a=[];for(const e in i)a.push(r.types.assignmentExpression("=",o(t,e),r.types.cloneNode(i[e])));return[e,r.types.expressionStatement(r.types.sequenceExpression(a))]}function l(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function p(e,t,n){const s=new Set,c=t.id;r.types.assertIdentifier(c);const u=e.scope.generateUid(c.name),d=r.types.isTSModuleBlock(t.body)?t.body.body:[r.types.exportNamedDeclaration(t.body)];let h=!0;for(let t=0;t<d.length;t++){const n=d[t];switch(n.type){case"TSModuleDeclaration":{if(!r.types.isIdentifier(n.id))throw l(e,n);const o=p(e,n);if(null!==o){h=!1;const e=n.id.name;s.has(e)?d[t]=o:(s.add(e),d.splice(t++,1,i(e),o))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":h=!1,s.add(n.id.name);continue;case"VariableDeclaration":h=!1;for(const e in r.types.getBindingIdentifiers(n))s.add(e);continue;default:h&&(h=r.types.isTypeScript(n));continue;case"ExportNamedDeclaration":}if(!("declare"in n.declaration)||!n.declaration.declare)switch(n.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{h=!1;const e=n.declaration.id.name;s.add(e),d.splice(t++,1,n.declaration,r.types.expressionStatement(r.types.assignmentExpression("=",o(u,e),r.types.identifier(e))));break}case"VariableDeclaration":{h=!1;const r=a(n.declaration,u,e.hub);d.splice(t,r.length,...r),t+=r.length-1;break}case"TSModuleDeclaration":{if(!r.types.isIdentifier(n.declaration.id))throw l(e,n.declaration);const o=p(e,n.declaration,r.types.identifier(u));if(null!==o){h=!1;const e=n.declaration.id.name;s.has(e)?d[t]=o:(s.add(e),d.splice(t++,1,i(e),o))}else d.splice(t,1),t--}}}if(h)return null;let f=r.types.objectExpression([]);if(n){const e=r.types.memberExpression(n,c);f=r.template.expression.ast`
|
|
196
|
+
${r.types.cloneNode(e)} ||
|
|
197
|
+
(${r.types.cloneNode(e)} = ${f})
|
|
198
|
+
`}return r.template.statement.ast`
|
|
199
|
+
(function (${r.types.identifier(u)}) {
|
|
200
|
+
${d}
|
|
201
|
+
})(${c} || (${r.types.cloneNode(c)} = ${f}));
|
|
202
|
+
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/.pnpm/@babel+helper-plugin-utils@7.24.7/node_modules/@babel/helper-plugin-utils/lib/index.js"),s=n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js");n("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var i=n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-validator-option@7.24.7/node_modules/@babel/helper-validator-option/lib/index.js");function a(e){return e&&e.__esModule?e:{default:e}}var l=a(s),p=a(i);const c=new o.OptionValidator("@babel/preset-typescript");var u=r.declare((function({types:e}){return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({node:t}){const{source:n}=t;"value"===(e.isImportDeclaration(t)?t.importKind:t.exportKind)&&n&&/[\\/]/.test(n.value)&&(n.value=n.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js"))}}}})),d=r.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:n,ignoreExtensions:r,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:o,jsxPragma:a,jsxPragmaFrag:d,onlyRemoveTypeImports:h,optimizeConstEnums:f,rewriteImportExtensions:m}=function(e={}){let{allowNamespaces:t=!0,jsxPragma:n,onlyRemoveTypeImports:r}=e;const s=c.validateStringOption("jsxPragmaFrag",e.jsxPragmaFrag,"React.Fragment");var i=c.validateBooleanOption("allExtensions",e.allExtensions,!1),o=c.validateBooleanOption("isTSX",e.isTSX,!1);o&&c.invariant(i,"isTSX:true requires allExtensions:true");const a=c.validateBooleanOption("ignoreExtensions",e.ignoreExtensions,!1),l=c.validateBooleanOption("disallowAmbiguousJSXLike",e.disallowAmbiguousJSXLike,!1);l&&c.invariant(i,"disallowAmbiguousJSXLike:true requires allExtensions:true");const p={ignoreExtensions:a,allowNamespaces:t,disallowAmbiguousJSXLike:l,jsxPragma:n,jsxPragmaFrag:s,onlyRemoveTypeImports:r,optimizeConstEnums:c.validateBooleanOption("optimizeConstEnums",e.optimizeConstEnums,!1),rewriteImportExtensions:c.validateBooleanOption("rewriteImportExtensions",e.rewriteImportExtensions,!1)};return p.allExtensions=i,p.isTSX=o,p}(t),y=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:e,jsxPragma:a,jsxPragmaFrag:d,onlyRemoveTypeImports:h,optimizeConstEnums:f}),b=(e,t)=>[[l.default,Object.assign({isTSX:e},y(t))]];return{plugins:m?[u]:[],overrides:n||r?[{plugins:b(o,i)}]:[{test:/\.ts$/,plugins:b(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:b(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[p.default,{allowTopLevelThis:!0}],[l.default,y(!0)]]},{test:/\.tsx$/,plugins:b(!0,!1)}]}}));t.default=d},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/builder.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=new WeakMap,p=new WeakMap,c=n||(0,r.validate)(null);return Object.assign(((n,...o)=>{if("string"==typeof n){if(o.length>1)throw new Error("Unexpected extra params.");return a((0,s.default)(t,n,(0,r.merge)(c,(0,r.validate)(o[0]))))}if(Array.isArray(n)){let e=l.get(n);return e||(e=(0,i.default)(t,n,c),l.set(n,e)),a(e(o))}if("object"==typeof n&&n){if(o.length>0)throw new Error("Unexpected extra params.");return e(t,(0,r.merge)(c,(0,r.validate)(n)))}throw new Error("Unexpected template param "+typeof n)}),{ast:(e,...n)=>{if("string"==typeof e){if(n.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(t,e,(0,r.merge)((0,r.merge)(c,(0,r.validate)(n[0])),o))()}if(Array.isArray(e)){let s=p.get(e);return s||(s=(0,i.default)(t,e,(0,r.merge)(c,o)),p.set(e,s)),s(n)()}throw new Error("Unexpected template param "+typeof e)}})};var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),s=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/string.js"),i=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/literal.js");const o=(0,r.validate)({placeholderPattern:!1});function a(e){let t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return n=>{try{return e(n)}catch(e){throw e.stack+=`\n =============\n${t}`,e}}}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/formatters.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{assertExpressionStatement:s}=r;function i(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}t.smart=i((e=>e.length>1?e:e[0])),t.statements=i((e=>e)),t.statement=i((e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));const o=t.expression={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===o.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return s(t),t.expression}};t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/formatters.js"),s=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/builder.js");const i=t.smart=(0,s.default)(r.smart),o=t.statement=(0,s.default)(r.statement),a=t.statements=(0,s.default)(r.statements),l=t.expression=(0,s.default)(r.expression),p=t.program=(0,s.default)(r.program);t.default=Object.assign(i.bind(void 0),{smart:i,statement:o,statements:a,expression:l,program:p,ast:i.ast})},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/literal.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{metadata:o,names:a}=function(e,t,n){let r="BABEL_TPL$";const i=t.join("");do{r="$$"+r}while(i.includes(r));const{names:o,code:a}=function(e,t){const n=[];let r=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;n.push(i),r+=i+e[s]}return{names:n,code:r}}(t,r);return{metadata:(0,s.default)(e,e.code(a),{parser:n.parser,placeholderWhitelist:new Set(o.concat(n.placeholderWhitelist?Array.from(n.placeholderWhitelist):[])),placeholderPattern:n.placeholderPattern,preserveComments:n.preserveComments,syntacticPlaceholders:n.syntacticPlaceholders}),names:o}}(e,t,n);return t=>{const n={};return t.forEach(((e,t)=>{n[a[t]]=e})),t=>{const s=(0,r.normalizeReplacements)(t);return s&&Object.keys(s).forEach((e=>{if(hasOwnProperty.call(n,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,i.default)(o,s?Object.assign(s,n):n))}}};var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),s=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js"),i=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:n=e.placeholderWhitelist,placeholderPattern:r=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:r,preserveComments:s,syntacticPlaceholders:i}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,n)=>(e["$"+n]=t,e)),{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:o}=t,a=function(e,t){if(null==e)return{};var n,r,s={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(s[n]=e[n]);return s}(t,n);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=s&&!(s instanceof RegExp)&&!1!==s)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=i&&"boolean"!=typeof i)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=o&&"boolean"!=typeof o)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===o&&(null!=r||null!=s))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:null==s?void 0:s,preserveComments:null==i?void 0:i,syntacticPlaceholders:null==o?void 0:o}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}=n,p=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders"),t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:r});try{return(0,s.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,i.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,l);m(p,{preserveComments:a}),e.validate(p);const c={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:o,syntacticPlaceholders:l};return y(p,g,c),Object.assign({ast:p},c.syntactic.placeholders.length?c.syntactic:c.legacy)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"),i=n("./stubs/babel-codeframe.js");const{isCallExpression:o,isExpressionStatement:a,isFunction:l,isIdentifier:p,isJSXIdentifier:c,isNewExpression:u,isPlaceholder:d,isStatement:h,isStringLiteral:f,removePropertiesDeep:m,traverse:y}=r,b=/^[_$A-Z0-9]+$/;function g(e,t,n){var r;let s,i=n.syntactic.placeholders.length>0;if(d(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");s=e.name.name,i=!0}else{if(i||n.syntacticPlaceholders)return;if(p(e)||c(e))s=e.name;else{if(!f(e))return;s=e.value}}if(i&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(i||!1!==n.placeholderPattern&&(n.placeholderPattern||b).test(s)||null!=(r=n.placeholderWhitelist)&&r.has(s)))return;t=t.slice();const{node:m,key:y}=t[t.length-1];let g;f(e)||d(e,{expectedNode:"StringLiteral"})?g="string":u(m)&&"arguments"===y||o(m)&&"arguments"===y||l(m)&&"params"===y?g="param":a(m)&&!d(e)?(g="statement",t=t.slice(0,-1)):g=h(e)&&d(e)?"statement":"other";const{placeholders:E,placeholderNames:v}=i?n.syntactic:n.legacy;E.push({name:s,type:g,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:r,index:s}=t[e];n=void 0===s?n[r]:n[r][s]}const{key:r,index:s}=t[t.length-1];return{parent:n,key:r,index:s}}(e,t),isDuplicate:v.has(s)}),v.add(s)}},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=i(e.ast);return t&&(e.placeholders.forEach((e=>{if(!hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)}))),e.placeholders.slice().reverse().forEach((e=>{try{!function(e,t,n){e.isDuplicate&&(Array.isArray(n)?n=n.map((e=>i(e))):"object"==typeof n&&(n=i(n)));const{parent:r,key:h,index:f}=e.resolve(t);if("string"===e.type){if("string"==typeof n&&(n=u(n)),!n||!c(n))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===f?n?Array.isArray(n)?n=s(n):"string"==typeof n?n=a(l(n)):p(n)||(n=a(n)):n=o():n&&!Array.isArray(n)&&("string"==typeof n&&(n=l(n)),p(n)||(n=a(n)));else if("param"===e.type){if("string"==typeof n&&(n=l(n)),void 0===f)throw new Error("Assertion failure.")}else if("string"==typeof n&&(n=l(n)),Array.isArray(n))throw new Error("Cannot replace single expression with an array.");if(void 0===f)d(r,h,n),r[h]=n;else{const t=r[h].slice();"statement"===e.type||"param"===e.type?null==n?t.splice(f,1):Array.isArray(n)?t.splice(f,1,...n):t[f]=n:t[f]=n,d(r,h,t),r[h]=t}}(e,n,t&&t[e.name]||null)}catch(t){throw t.message=`@babel/template placeholder "${e.name}": ${t.message}`,t}})),n};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{blockStatement:s,cloneNode:i,emptyStatement:o,expressionStatement:a,identifier:l,isStatement:p,isStringLiteral:c,stringLiteral:u,validate:d}=r},"./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/string.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let o;return t=e.code(t),a=>{const l=(0,r.normalizeReplacements)(a);return o||(o=(0,s.default)(e,t,n)),e.unwrap((0,i.default)(o,l))}};var r=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/options.js"),s=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/parse.js"),i=n("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){s(),i()},t.clearPath=s,t.clearScope=i,t.getCachedPaths=function(e,t){var r;return null==(r=n.get(o))?void 0:r.get(t)},t.getOrCreateCachedPaths=function(e,t){let r=n.get(o);r||n.set(o,r=new WeakMap);let s=r.get(t);return s||r.set(t,s=new Map),s},t.scope=t.path=void 0;let n=t.path=new WeakMap,r=t.scope=new WeakMap;function s(){t.path=n=new WeakMap}function i(){t.scope=r=new WeakMap}const o=Object.freeze({})},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/context.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{VISITOR_KEYS:i}=s;t.default=class{constructor(e,t,n,r){this.queue=null,this.priorityQueue=null,this.parentPath=r,this.scope=e,this.state=n,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const n=i[e.type];if(null==n||!n.length)return!1;for(const t of n)if(e[t])return!0;return!1}create(e,t,n,s){return r.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:s})}maybeQueue(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,n){if(0===e.length)return!1;const r=[];for(let s=0;s<e.length;s++){const i=e[s];i&&this.shouldVisit(i)&&r.push(this.create(t,e,s,n))}return this.visitQueue(r)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=new WeakSet;let n=!1,r=0;for(;r<e.length;){const s=e[r];if(r++,s.resync(),0!==s.contexts.length&&s.contexts[s.contexts.length-1]===this||s.pushContext(this),null===s.key)continue;const{node:i}=s;if(!t.has(i)){if(i&&t.add(i),s.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(let t=0;t<r;t++)e[t].popContext();return this.queue=null,n}visit(e,t){const n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/hub.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0;var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");t.visitors=r;var s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),o=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),a=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),l=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js"),p=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/hub.js");const{VISITOR_KEYS:c,removeProperties:u,traverseFast:d}=s;function h(e,t={},n,s,i,a){if(e){if(!t.noScope&&!n&&"Program"!==e.type&&"File"!==e.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);if(!i&&a)throw new Error("visitSelf can only be used when providing a NodePath.");c[e.type]&&(r.explode(t),(0,o.traverseNode)(e,t,n,s,i,null,a))}}function f(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}t.default=h,h.visitors=r,h.verify=r.verify,h.explode=r.explode,h.cheap=function(e,t){d(e,t)},h.node=function(e,t,n,r,s,i){(0,o.traverseNode)(e,t,n,r,s,i)},h.clearNode=function(e,t){u(e,t)},h.removeProperties=function(e,t){return d(e,h.clearNode,t),e},h.hasType=function(e,t,n){if(null!=n&&n.includes(e.type))return!1;if(e.type===t)return!0;const r={has:!1,type:t};return h(e,{noScope:!0,denylist:n,enter:f},null,r),r.has},h.cache=i},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/ancestry.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let n,r,s=1/0;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<s&&(s=t.length),t})),o=i[0];e:for(let e=0;e<s;e++){const t=o[e];for(const n of i)if(n[e]!==t)break e;n=e,r=t}if(r)return t?t(r,n,i):r;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,n){let r;const i=s[e.type];for(const e of n){const n=e[t+1];r?(n.listKey&&r.listKey===n.listKey&&n.key<r.key||i.indexOf(r.parentKey)>i.indexOf(n.parentKey))&&(r=n):r=n}return r}))},t.getFunctionParent=function(){return this.findParent((e=>e.isFunction()))},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){for(const n of e)if(t.node.type===n)return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((t=>t===e))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{VISITOR_KEYS:s}=r},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/comments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,n){s(this.node,e,t,n)},t.addComments=function(e,t){i(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,n=e.leadingComments;if(!t&&!n)return;const r=this.getSibling(this.key-1),s=this.getSibling(this.key+1),i=Boolean(r.node),a=Boolean(s.node);i&&(n&&r.addComments("trailing",o(n,r.node.trailingComments)),t&&!a&&r.addComments("trailing",t)),a&&(t&&s.addComments("leading",o(t,s.node.leadingComments)),n&&!i&&s.addComments("leading",n))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{addComment:s,addComments:i}=r;function o(e,t){if(null==t||!t.length)return e;const n=new Set(t);return e.filter((e=>!n.has(e)))}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/context.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._call=function(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const n=t.call(this.state,this,this.state);if(n&&"object"==typeof n&&"function"==typeof n.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this._traverseFlags>0)return!0}return!1},t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},t._resyncKey=function(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void this.setKey(e)}else for(const e of Object.keys(this.container))if(this.container[e]===this.node)return void this.setKey(e);this.key=null}},t._resyncList=function(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)},t._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||this._markRemoved()},t.call=function(e){const t=this.opts;return this.debug(e),!(!this.node||!this._call(t[e]))||!!this.node&&this._call(null==(n=t[this.node.type])?void 0:n[e]);var n},t.isBlacklisted=t.isDenylisted=function(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1},t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const n of t)n.maybeQueue(e)},t.resync=function(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())},t.setContext=function(e){return null!=this.skipKeys&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),this.setScope(),this},t.setKey=function(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type},t.setScope=function(){var e,t;if(null!=(e=this.opts)&&e.noScope)return;let n,r=this.parentPath;for((("key"===this.key||"decorators"===this.listKey)&&r.isMethod()||"discriminant"===this.key&&r.isSwitchStatement())&&(r=r.parentPath);r&&!n;){var s;if(null!=(s=r.opts)&&s.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),null==(t=this.scope)||t.init()},t.setup=function(e,t,n,r){this.listKey=n,this.container=t,this.parentPath=e||this.parentPath,this.setKey(r)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={}),this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;const n=this.context;return this.shouldSkip||this.call("enter")?(this.debug("Skip..."),this.shouldStop):(i(this,n),this.debug("Recursing into..."),this.shouldStop=(0,r.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),i(this,n),this.call("exit"),this.shouldStop)};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js");function i(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/conversion.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:n=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");const{thisBinding:r,fnPath:s}=j(this,n,e,t);if(s.ensureBlock(),s.node.type="FunctionExpression",!n){const e=r?null:s.scope.generateUidIdentifier("arrowCheckId");return e&&s.parentPath.scope.push({id:e,init:T([])}),s.get("body").unshiftContainer("body",h(u(this.hub.addHelper("newArrowCheck"),[D(),f(e?e.name:r)]))),s.replaceWith(u(E((0,i.default)(this,!0)||s.node,f("bind")),[e?f(e.name):D()])),s.get("callee.object")}return s},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const n=[];let r,s,i="body";e.isStatement()?(s="body",r=0,n.push(e.node)):(i+=".body.0",this.isFunction()?(r="argument",n.push(P(e.node))):(r="expression",n.push(h(e.node)))),this.node.body=c(n);const o=this.get(i);return e.setup(o,s?o.node[s]:o.node,s,r),this.node},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}return this.node.computed||m(e)&&(e=w(e.name)),e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");j(this)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-function-name@7.24.7/node_modules/@babel/helper-function-name/lib/index.js"),o=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");const{arrowFunctionExpression:a,assignmentExpression:l,binaryExpression:p,blockStatement:c,callExpression:u,conditionalExpression:d,expressionStatement:h,identifier:f,isIdentifier:m,jsxIdentifier:y,logicalExpression:b,LOGICAL_OPERATORS:g,memberExpression:E,metaProperty:v,numericLiteral:x,objectExpression:T,restElement:S,returnStatement:P,sequenceExpression:_,spreadElement:A,stringLiteral:w,super:C,thisExpression:D,toExpression:I,unaryExpression:O}=r;t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};const N=(0,o.merge)([{CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}},s.default]);function j(e,t=!0,n=!0,r=!0){let s,i=e.findParent((e=>e.isArrowFunctionExpression()?(null!=s||(s=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})));const o=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty())if(s)i=s;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(u(a([],I(e.node)),[])),i=e.get("callee"),e=i.get("body")}const{thisPaths:c,argumentsPaths:h,newTargetPaths:m,superProps:T,superCalls:P}=function(e){const t=[],n=[],r=[],s=[],i=[];return e.traverse(R,{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:s,superCalls:i}),{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:s,superCalls:i}}(e);if(o&&P.length>0){if(!n)throw P[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!r)throw P[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");const e=[];i.traverse(N,{allSuperCalls:e});const t=function(e){return F(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return a([S(t)],u(C(),[A(f(t.name))]))}))}(i);e.forEach((e=>{const n=f(t);n.loc=e.node.callee.loc,e.get("callee").replaceWith(n)}))}if(h.length>0){const e=F(i,"arguments",(()=>{const e=()=>f("arguments");return i.scope.path.isProgram()?d(p("===",O("typeof",e()),w("undefined")),i.scope.buildUndefinedNode(),e()):e()}));h.forEach((t=>{const n=f(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(m.length>0){const e=F(i,"newtarget",(()=>v(f("new"),f("target"))));m.forEach((t=>{const n=f(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(T.length>0){if(!n)throw T[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");T.reduce(((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const n=e.parentPath,r=n.node.operator.slice(0,-1),s=n.node.right,i=function(e){return g.includes(e)}(r);if(e.node.computed){const o=e.scope.generateDeclaredUidIdentifier("tmp"),a=e.node.object,p=e.node.property;n.get("left").replaceWith(E(a,l("=",o,p),!0)),n.get("right").replaceWith(t(i?"=":r,E(a,f(o.name),!0),s))}else{const o=e.node.object,a=e.node.property;n.get("left").replaceWith(E(o,a)),n.get("right").replaceWith(t(i?"=":r,E(o,f(a.name)),s))}return i?n.replaceWith(b(r,n.node.left,n.node.right)):n.node.operator="=",[n.get("left"),n.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),r=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,s=[l("=",n,E(e.node.object,r?l("=",r,e.node.property):e.node.property,e.node.computed)),l("=",E(e.node.object,r?f(r.name):e.node.property,e.node.computed),p(e.parentPath.node.operator[0],f(n.name),x(1)))];return e.parentPath.node.prefix||s.push(f(n.name)),t.replaceWith(_(s)),[t.get("expressions.0.right"),t.get("expressions.1.left")]}return[e];function t(e,t,n){return"="===e?l("=",t,n):p(e,t,n)}}(t))),[]).forEach((e=>{const t=e.node.computed?"":e.get("property").node.name,n=e.parentPath,r=n.isAssignmentExpression({left:e.node}),s=n.isCallExpression({callee:e.node}),o=n.isTaggedTemplateExpression({tag:e.node}),p=function(e,t,n){return F(e,`superprop_${t?"set":"get"}:${n||""}`,(()=>{const r=[];let s;if(n)s=E(C(),f(n));else{const t=e.scope.generateUidIdentifier("prop");r.unshift(t),s=E(C(),f(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");r.push(t),s=l("=",s,f(t.name))}return a(r,s)}))}(i,r,t),d=[];if(e.node.computed&&d.push(e.get("property").node),r){const e=n.node.right;d.push(e)}const h=u(f(p),d);s?(n.unshiftContainer("arguments",D()),e.replaceWith(E(h,f("call"))),c.push(n.get("arguments.0"))):r?n.replaceWith(h):o?(e.replaceWith(u(E(h,f("bind"),!1),[D()])),c.push(e.get("arguments.0"))):e.replaceWith(h)}))}let j;return(c.length>0||!t)&&(j=function(e,t){return F(e,"this",(n=>{if(!t||!k(e))return D();e.traverse(L,{supers:new WeakSet,thisBinding:n})}))}(i,o),(t||o&&k(i))&&(c.forEach((e=>{const t=e.isJSX()?y(j):f(j);t.loc=e.node.loc,e.replaceWith(t)})),t||(j=null))),{thisBinding:j,fnPath:e}}function k(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const L=(0,o.merge)([{CallExpression(e,{supers:t,thisBinding:n}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",f(n),f("this"))])))}},s.default]);function F(e,t,n){const r="binding:"+t;let s=e.getData(r);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name,e.setData(r,s),e.scope.push({id:i,init:n(s)})}return s}const R=(0,o.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}},s.default])},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/evaluation.js":(t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=p(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}},n.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const r=["Number","String","Math"],s=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],i=["random"];function o(e){return r.includes(e)}function a(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}const l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function p(t,n){const{node:r}=t,{seen:u}=n;if(u.has(r)){const e=u.get(r);return e.resolved?e.value:void a(t,n)}{const d={resolved:!1};u.set(r,d);const h=function(t,n){if(n.confident){if(t.isSequenceExpression()){const e=t.get("expressions");return p(e[e.length-1],n)}if(t.isStringLiteral()||t.isNumericLiteral()||t.isBooleanLiteral())return t.node.value;if(t.isNullLiteral())return null;if(t.isTemplateLiteral())return c(t,t.node.quasis,n);if(t.isTaggedTemplateExpression()&&t.get("tag").isMemberExpression()){const e=t.get("tag.object"),{node:{name:r}}=e,s=t.get("tag.property");if(e.isIdentifier()&&"String"===r&&!t.scope.getBinding(r)&&s.isIdentifier()&&"raw"===s.node.name)return c(t,t.node.quasi.quasis,n,!0)}if(t.isConditionalExpression()){const e=p(t.get("test"),n);if(!n.confident)return;return p(e?t.get("consequent"):t.get("alternate"),n)}if(t.isExpressionWrapper())return p(t.get("expression"),n);if(t.isMemberExpression()&&!t.parentPath.isCallExpression({callee:t.node})){const e=t.get("property"),r=t.get("object");if(r.isLiteral()){const s=r.node.value,i=typeof s;let o=null;if(t.node.computed){if(o=p(e,n),!n.confident)return}else e.isIdentifier()&&(o=e.node.name);if(!("number"!==i&&"string"!==i||null==o||"number"!=typeof o&&"string"!=typeof o))return s[o]}}if(t.isReferencedIdentifier()){const e=t.scope.getBinding(t.node.name);if(e){if(e.constantViolations.length>0||t.node.start<e.path.node.end)return void a(e.path,n);if(e.hasValue)return e.value}const r=t.node.name;if(l.has(r))return e?void a(e.path,n):l.get(r);const s=t.resolve();return s===t?void a(t,n):p(s,n)}if(t.isUnaryExpression({prefix:!0})){if("void"===t.node.operator)return;const e=t.get("argument");if("typeof"===t.node.operator&&(e.isFunction()||e.isClass()))return"function";const r=p(e,n);if(!n.confident)return;switch(t.node.operator){case"!":return!r;case"+":return+r;case"-":return-r;case"~":return~r;case"typeof":return typeof r}}if(t.isArrayExpression()){const e=[],r=t.get("elements");for(const t of r){const r=t.evaluate();if(!r.confident)return void a(r.deopt,n);e.push(r.value)}return e}if(t.isObjectExpression()){const e={},r=t.get("properties");for(const t of r){if(t.isObjectMethod()||t.isSpreadElement())return void a(t,n);const r=t.get("key");let s;if(t.node.computed){if(s=r.evaluate(),!s.confident)return void a(s.deopt,n);s=s.value}else s=r.isIdentifier()?r.node.name:r.node.value;let i=t.get("value").evaluate();if(!i.confident)return void a(i.deopt,n);i=i.value,e[s]=i}return e}if(t.isLogicalExpression()){const e=n.confident,r=p(t.get("left"),n),s=n.confident;n.confident=e;const i=p(t.get("right"),n),o=n.confident;switch(t.node.operator){case"||":if(n.confident=s&&(!!r||o),!n.confident)return;return r||i;case"&&":if(n.confident=s&&(!r||o),!n.confident)return;return r&&i;case"??":if(n.confident=s&&(null!=r||o),!n.confident)return;return null!=r?r:i}}if(t.isBinaryExpression()){const e=p(t.get("left"),n);if(!n.confident)return;const r=p(t.get("right"),n);if(!n.confident)return;switch(t.node.operator){case"-":return e-r;case"+":return e+r;case"/":return e/r;case"*":return e*r;case"%":return e%r;case"**":return Math.pow(e,r);case"<":return e<r;case">":return e>r;case"<=":return e<=r;case">=":return e>=r;case"==":return e==r;case"!=":return e!=r;case"===":return e===r;case"!==":return e!==r;case"|":return e|r;case"&":return e&r;case"^":return e^r;case"<<":return e<<r;case">>":return e>>r;case">>>":return e>>>r}}if(t.isCallExpression()){const r=t.get("callee");let a,l;if(r.isIdentifier()&&!t.scope.getBinding(r.node.name)&&(o(r.node.name)||function(e){return s.includes(e)}(r.node.name))&&(l=e[r.node.name]),r.isMemberExpression()){const t=r.get("object"),n=r.get("property");if(t.isIdentifier()&&n.isIdentifier()&&o(t.node.name)&&!function(e){return i.includes(e)}(n.node.name)){a=e[t.node.name];const r=n.node.name;hasOwnProperty.call(a,r)&&(l=a[r])}if(t.isLiteral()&&n.isIdentifier()){const e=typeof t.node.value;"string"!==e&&"number"!==e||(a=t.node.value,l=a[n.node.name])}}if(l){const e=t.get("arguments").map((e=>p(e,n)));if(!n.confident)return;return l.apply(a,e)}}a(t,n)}}(t,n);return n.confident&&(d.resolved=!0,d.value=h),h}}function c(e,t,n,r=!1){let s="",i=0;const o=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!n.confident)break;s+=r?e.value.raw:e.value.cooked;const t=o[i++];t&&(s+=String(p(t,n)))}if(n.confident)return s}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/family.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=function(e,t){const n=this.node,s=n[e];return Array.isArray(s)?s.map(((i,o)=>r.default.get({listKey:e,parentPath:this,parent:n,container:s,key:o}).setContext(t))):r.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)},t._getPattern=function(e,t){let n=this;for(const r of e)n="."===r?n.parentPath:Array.isArray(n)?n[r]:n.get(r,t);return n},t.get=function(e,t=!0){!0===t&&(t=this.context);const n=e.split(".");return 1===n.length?this._getKey(e,t):this._getPattern(n,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(++e);return n},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(--e);return n},t.getBindingIdentifierPaths=function(e=!1,t=!1){const n=[this],r=Object.create(null);for(;n.length;){const s=n.shift();if(!s)continue;if(!s.node)continue;const o=i.keys[s.node.type];if(s.isIdentifier())e?(r[s.node.name]=r[s.node.name]||[]).push(s):r[s.node.name]=s;else if(s.isExportDeclaration()){const e=s.get("declaration");e.isDeclaration()&&n.push(e)}else{if(t){if(s.isFunctionDeclaration()){n.push(s.get("id"));continue}if(s.isFunctionExpression())continue}if(o)for(let e=0;e<o.length;e++){const t=o[e],r=s.get(t);Array.isArray(r)?n.push(...r):r.node&&n.push(r)}}}return r},t.getBindingIdentifiers=function(e){return i(this.node,e)},t.getCompletionRecords=function(){return m(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((e=>e.path))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return o(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return r.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{getBindingIdentifiers:i,getOuterBindingIdentifiers:o,numericLiteral:a,unaryExpression:l}=s,p=0,c=1;function u(e,t,n){return e&&t.push(...m(e,n)),t}function d(e){e.forEach((e=>{e.type=c}))}function h(e,t){e.forEach((e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(l("void",a(0))):e.path.remove())}))}function f(e,t){const n=[];if(t.canHaveBreak){let r=[];for(let s=0;s<e.length;s++){const i=e[s],o=Object.assign({},t,{inCaseClause:!1});i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?o.shouldPopulateBreak=!0:o.shouldPopulateBreak=!1;const a=m(i,o);if(a.length>0&&a.every((e=>e.type===c))){r.length>0&&a.every((e=>e.path.isBreakStatement({label:null})))?(d(r),n.push(...r),r.some((e=>e.path.isDeclaration()))&&(n.push(...a),h(a,!0)),h(a,!1)):(n.push(...a),t.shouldPopulateBreak||h(a,!0));break}if(s===e.length-1)n.push(...a);else{r=[];for(let e=0;e<a.length;e++){const t=a[e];t.type===c&&n.push(t),t.type===p&&r.push(t)}}}}else if(e.length)for(let r=e.length-1;r>=0;r--){const s=m(e[r],t);if(s.length>1||1===s.length&&!s[0].path.isVariableDeclaration()){n.push(...s);break}}return n}function m(e,t){let n=[];if(e.isIfStatement())n=u(e.get("consequent"),n,t),n=u(e.get("alternate"),n,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return u(e.get("body"),n,t);if(e.isProgram()||e.isBlockStatement())return f(e.get("body"),t);if(e.isFunction())return m(e.get("body"),t);if(e.isTryStatement())n=u(e.get("block"),n,t),n=u(e.get("handler"),n,t);else{if(e.isCatchClause())return u(e.get("body"),n,t);if(e.isSwitchStatement())return function(e,t,n){let r=[];for(let s=0;s<e.length;s++){const i=m(e[s],n),o=[],a=[];for(const e of i)e.type===p&&o.push(e),e.type===c&&a.push(e);o.length&&(r=o),t.push(...a)}return t.push(...r),t}(e.get("cases"),n,t);if(e.isSwitchCase())return f(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?n.push(function(e){return{type:c,path:e}}(e)):n.push(function(e){return{type:p,path:e}}(e))}}return n}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),s=n("./node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),o=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js"),a=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),l=a,p=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),c=n("./node_modules/.pnpm/@babel+generator@7.24.7/node_modules/@babel/generator/lib/index.js"),u=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/ancestry.js"),d=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/index.js"),h=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/replacement.js"),f=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/evaluation.js"),m=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/conversion.js"),y=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/introspection.js"),b=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/context.js"),g=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/removal.js"),E=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/modification.js"),v=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/family.js"),x=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/comments.js"),T=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");const{validate:S}=a,P=s("babel"),_=(t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4,t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:n,parent:r,container:s,listKey:i,key:o}){if(!t&&n&&(t=n.hub),!r)throw new Error("To get a node path the parent needs to exist");const a=s[o],l=p.getOrCreateCachedPaths(t,r);let c=l.get(a);return c||(c=new e(t,r),a&&l.set(a,c)),c.setup(n,s,i,o),c}getScope(e){return this.isScope()?new o.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let n=this.data[e];return void 0===n&&void 0!==t&&(n=this.data[e]=t),n}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){S(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;t.inList&&(n=`${t.listKey}[${n}]`),e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){P.enabled&&P(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,c.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),A={findParent:u.findParent,find:u.find,getFunctionParent:u.getFunctionParent,getStatementParent:u.getStatementParent,getEarliestCommonAncestorFrom:u.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:u.getDeepestCommonAncestorFrom,getAncestry:u.getAncestry,isAncestor:u.isAncestor,isDescendant:u.isDescendant,inType:u.inType,getTypeAnnotation:d.getTypeAnnotation,_getTypeAnnotation:d._getTypeAnnotation,isBaseType:d.isBaseType,couldBeBaseType:d.couldBeBaseType,baseTypeStrictlyMatches:d.baseTypeStrictlyMatches,isGenericType:d.isGenericType,replaceWithMultiple:h.replaceWithMultiple,replaceWithSourceString:h.replaceWithSourceString,replaceWith:h.replaceWith,_replaceWith:h._replaceWith,replaceExpressionWithStatements:h.replaceExpressionWithStatements,replaceInline:h.replaceInline,evaluateTruthy:f.evaluateTruthy,evaluate:f.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,matchesPattern:y.matchesPattern,has:y.has,isStatic:y.isStatic,is:y.is,isnt:y.isnt,equals:y.equals,isNodeType:y.isNodeType,canHaveVariableDeclarationOrExpression:y.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:y.canSwapBetweenExpressionAndStatement,isCompletionRecord:y.isCompletionRecord,isStatementOrBlock:y.isStatementOrBlock,referencesImport:y.referencesImport,getSource:y.getSource,willIMaybeExecuteBefore:y.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:y._guessExecutionStatusRelativeTo,resolve:y.resolve,_resolve:y._resolve,isConstantExpression:y.isConstantExpression,isInStrictMode:y.isInStrictMode,call:b.call,_call:b._call,isDenylisted:b.isDenylisted,isBlacklisted:b.isBlacklisted,visit:b.visit,skip:b.skip,skipKey:b.skipKey,stop:b.stop,setScope:b.setScope,setContext:b.setContext,resync:b.resync,_resyncParent:b._resyncParent,_resyncKey:b._resyncKey,_resyncList:b._resyncList,_resyncRemoved:b._resyncRemoved,popContext:b.popContext,pushContext:b.pushContext,setup:b.setup,setKey:b.setKey,requeue:b.requeue,_getQueueContexts:b._getQueueContexts,remove:g.remove,_removeFromScope:g._removeFromScope,_callRemovalHooks:g._callRemovalHooks,_remove:g._remove,_markRemoved:g._markRemoved,_assertUnremoved:g._assertUnremoved,insertBefore:E.insertBefore,_containerInsert:E._containerInsert,_containerInsertBefore:E._containerInsertBefore,_containerInsertAfter:E._containerInsertAfter,insertAfter:E.insertAfter,updateSiblingKeys:E.updateSiblingKeys,_verifyNodeList:E._verifyNodeList,unshiftContainer:E.unshiftContainer,pushContainer:E.pushContainer,hoist:E.hoist,getOpposite:v.getOpposite,getCompletionRecords:v.getCompletionRecords,getSibling:v.getSibling,getPrevSibling:v.getPrevSibling,getNextSibling:v.getNextSibling,getAllNextSiblings:v.getAllNextSiblings,getAllPrevSiblings:v.getAllPrevSiblings,get:v.get,_getKey:v._getKey,_getPattern:v._getPattern,getBindingIdentifiers:v.getBindingIdentifiers,getOuterBindingIdentifiers:v.getOuterBindingIdentifiers,getBindingIdentifierPaths:v.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:v.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:x.shareCommentsWithSiblings,addComment:x.addComment,addComments:x.addComments};Object.assign(_.prototype,A),_.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],_.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo;for(const e of l.TYPES){const t=`is${e}`,n=l[t];_.prototype[t]=function(e){return n(this.node,e)},_.prototype[`assert${e}`]=function(t){if(!n(this.node,t))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(_.prototype,T);for(const e of Object.keys(r))"_"!==e[0]&&(l.TYPES.includes(e)||l.TYPES.push(e))},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=function(){const e=this.node;if(e){if(e.typeAnnotation)return e.typeAnnotation;if(!_.has(e)){_.add(e);try{var t;let n=r[e.type];if(n)return n.call(this,e);if(n=r[this.parentPath.type],null!=(t=n)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{_.delete(e)}}}else if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?S():"left"===e.key&&t.isForOfStatement()?i():P()}},t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),n=e.getTypeAnnotation();return!(o(t)||!c(t))&&n.type===t.type},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(o(t))return!0;if(x(t)){for(const n of t.types)if(o(n)||A(e,n,!0))return!0;return!1}return A(e,t,!0)},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||(e=this._getTypeAnnotation()||i(),(v(e)||b(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return A(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();return!("Array"!==e||!(y(t)||a(t)||E(t)))||u(t)&&d(t.id,{name:e})||g(t)&&d(t.typeName,{name:e})};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferers.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{anyTypeAnnotation:i,isAnyTypeAnnotation:o,isArrayTypeAnnotation:a,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:p,isFlowBaseAnnotation:c,isGenericTypeAnnotation:u,isIdentifier:d,isMixedTypeAnnotation:h,isNumberTypeAnnotation:f,isStringTypeAnnotation:m,isTSArrayType:y,isTSTypeAnnotation:b,isTSTypeReference:g,isTupleTypeAnnotation:E,isTypeAnnotation:v,isUnionTypeAnnotation:x,isVoidTypeAnnotation:T,stringTypeAnnotation:S,voidTypeAnnotation:P}=s,_=new WeakSet;function A(e,t,n){if("string"===e)return m(t);if("number"===e)return f(t);if("boolean"===e)return l(t);if("any"===e)return o(t);if("mixed"===e)return h(t);if("empty"===e)return p(t);if("void"===e)return T(t);if(n)return!1;throw new Error(`Unknown base type ${e}`)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,n){const r=[],i=[];let o=p(e,t,i);const a=u(e,t,n);if(a){const t=p(e,a.ifStatement);o=o.filter((e=>t.indexOf(e)<0)),r.push(a.typeAnnotation)}if(o.length){o.push(...i);for(const e of o)r.push(e.getTypeAnnotation())}if(r.length)return(0,s.createUnionType)(r)}(t,this,e.name):"undefined"===e.name?l():"NaN"===e.name||"Infinity"===e.name?a():void e.name};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js");const{BOOLEAN_NUMBER_BINARY_OPERATORS:i,createTypeAnnotationBasedOnTypeof:o,numberTypeAnnotation:a,voidTypeAnnotation:l}=r;function p(e,t,n){const r=e.constantViolations.slice();return r.unshift(e.path),r.filter((e=>{const r=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return n&&"unknown"===r&&n.push(e),"before"===r}))}function c(e,t){const n=t.node.operator,r=t.get("right").resolve(),s=t.get("left").resolve();let l,p,c;if(s.isIdentifier({name:e})?l=r:r.isIdentifier({name:e})&&(l=s),l)return"==="===n?l.getTypeAnnotation():i.indexOf(n)>=0?a():void 0;if("==="!==n&&"=="!==n)return;if(s.isUnaryExpression({operator:"typeof"})?(p=s,c=r):r.isUnaryExpression({operator:"typeof"})&&(p=r,c=s),!p)return;if(!p.get("argument").isIdentifier({name:e}))return;if(c=c.resolve(),!c.isLiteral())return;const u=c.node.value;return"string"==typeof u?o(u):void 0}function u(e,t,n){const r=function(e,t,n){let r;for(;r=t.parentPath;){if(r.isIfStatement()||r.isConditionalExpression()){if("test"===t.key)return;return r}if(r.isFunction()&&r.parentPath.scope.getBinding(n)!==e)return;t=r}}(e,t,n);if(!r)return;const i=[r.get("test")],o=[];for(let e=0;e<i.length;e++){const t=i[e];if(t.isLogicalExpression())"&&"===t.node.operator&&(i.push(t.get("left")),i.push(t.get("right")));else if(t.isBinaryExpression()){const e=c(n,t);e&&o.push(e)}}return o.length?{typeAnnotation:(0,s.createUnionType)(o),ifStatement:r}:u(e,r,n)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferers.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=A,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(l.indexOf(t)>=0)return g();if(o.indexOf(t)>=0)return h();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?g():t.isBaseType("string")||e.isBaseType("string")?E():x([E(),g()])}},t.BooleanLiteral=function(){return h()},t.CallExpression=function(){const{callee:e}=this.node;return D(e)?d(E()):C(e)||I(e)||S(e,{name:"Array"})?d(u()):O(e)?d(v([E(),u()])):N(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,i.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return m(y("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return s.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,i.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return m(e.callee)},t.NullLiteral=function(){return b()},t.NumericLiteral=function(){return g()},t.ObjectExpression=function(){return m(y("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return m(y("RegExp"))},t.RestElement=w,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return E()},t.TSAsExpression=_,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return N(this.get("tag"))},t.TemplateLiteral=function(){return E()},t.TypeCastExpression=P,t.UnaryExpression=function(e){const t=e.operator;return"void"===t?T():p.indexOf(t)>=0?g():c.indexOf(t)>=0?E():a.indexOf(t)>=0?h():void 0},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return g()},t.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js");const{BOOLEAN_BINARY_OPERATORS:o,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:p,STRING_UNARY_OPERATORS:c,anyTypeAnnotation:u,arrayTypeAnnotation:d,booleanTypeAnnotation:h,buildMatchMemberExpression:f,genericTypeAnnotation:m,identifier:y,nullLiteralTypeAnnotation:b,numberTypeAnnotation:g,stringTypeAnnotation:E,tupleTypeAnnotation:v,unionTypeAnnotation:x,voidTypeAnnotation:T,isIdentifier:S}=r;function P(e){return e.typeAnnotation}function _(e){return e.typeAnnotation}function A(){return m(y("Array"))}function w(){return A()}P.validParent=!0,_.validParent=!0,w.validParent=!0;const C=f("Array.from"),D=f("Object.keys"),I=f("Object.values"),O=f("Object.entries");function N(e){if((e=e.resolve()).isFunction()){const{node:t}=e;if(t.async)return t.generator?m(y("AsyncIterator")):m(y("Promise"));if(t.generator)return m(y("Iterator"));if(e.node.returnType)return e.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/inference/util.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every((e=>a(e)))?s?s(e):o(e):e.every((e=>l(e)))&&i?i(e):void 0};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{createFlowUnionType:s,createTSUnionType:i,createUnionTypeAnnotation:o,isFlowType:a,isTSType:l}=r},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/introspection.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return g(this,e,new Map)},t._resolve=function(e,t){if(!(t&&t.indexOf(this)>=0))if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){const r=n.path.resolve(e,t);if(this.find((e=>e.node===r.node)))return;return r}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!p(n))return;const r=n.value,s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const n=s.get("properties");for(const s of n){if(!s.isProperty())continue;const n=s.get("key");let i=s.isnt("computed")&&n.isIdentifier({name:r});if(i=i||n.isLiteral({value:r}),i)return s.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+r)){const n=s.get("elements")[r];if(n)return n.resolve(e,t)}}}},t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?o(e):!!this.isBlockStatement()&&a(e))},t.equals=function(e,t){return this.node[e]===t},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.has=h,t.is=void 0,t.isCompletionRecord=function(e){let t=this,n=!0;do{const{type:r,container:s}=t;if(!n&&(t.isFunction()||"StaticBlock"===r))return!!e;if(n=!1,Array.isArray(s)&&t.key!==s.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((e=>e.isConstantExpression())));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){const{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral()},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(const e of t.directives)if("use strict"===e.value.value)return!0}))},t.isNodeType=function(e){return u(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!o(this.container)&&s.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.isnt=function(e){return!this.has(e)},t.matchesPattern=function(e,t){return d(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?c(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}const n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;const r=n.path,s=r.parentPath;return!(!s.isImportDeclaration()||s.node.source.value!==e||t&&(!r.isImportDefaultSpecifier()||"default"!==t)&&(!r.isImportNamespaceSpecifier()||"*"!==t)&&(!r.isImportSpecifier()||!l(r.node.imported,{name:t})))},t.resolve=function(e,t){return this._resolve(e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{STATEMENT_OR_BLOCK_KEYS:s,VISITOR_KEYS:i,isBlockStatement:o,isExpression:a,isIdentifier:l,isLiteral:p,isStringLiteral:c,isType:u,matchesPattern:d}=r;function h(e){var t;const n=null==(t=this.node)?void 0:t[e];return n&&Array.isArray(n)?!!n.length:!!n}function f(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function m(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function y(e,t){for(let n=0;n<t;n++){const t=e[n];if(m(t.parent.type,t.parentKey))return!0}return!1}t.is=h;const b=Symbol();function g(e,t,n){const r={this:f(e),target:f(t)};if(r.target.node!==r.this.node)return function(e,t,n){let r,s=n.get(e.node);if(s){if(r=s.get(t.node))return r===b?"unknown":r}else n.set(e.node,s=new Map);s.set(t.node,b);const i=function(e,t,n){if(!t.isFunctionDeclaration())return"before"===g(e,t,n)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";const r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";const s=r.referencePaths;let i;for(const r of s){if(r.find((e=>e.node===t.node)))continue;if("callee"!==r.key||!r.parentPath.isCallExpression())return"unknown";const s=g(e,r,n);if(i&&i!==s)return"unknown";i=s}return i}(e,t,n);return s.set(t.node,i),i}(e,r.target,n);const s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.indexOf(e)>=0)return"after";if(s.this.indexOf(t)>=0)return"before";let o;const a={target:0,this:0};for(;!o&&a.this<s.this.length;){const e=s.this[a.this];a.target=s.target.indexOf(e),a.target>=0?o=e:a.this++}if(!o)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(y(s.this,a.this-1)||y(s.target,a.target-1))return"unknown";const l={this:s.this[a.this-1],target:s.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";const p=i[o.type],c=p.indexOf(l.this.parentKey);return p.indexOf(l.target.parentKey)>c?"before":"after"}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/hoister.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),s=r;const{react:i}=r,{cloneNode:o,jsxExpressionContainer:a,variableDeclaration:l,variableDeclarator:p}=s,c={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(n){for(const r of n.constantViolations)if(r.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop();n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const n of Object.keys(this.bindings)){if(!t.hasOwnBinding(n))continue;const r=this.bindings[n];if("param"!==r.kind&&"params"!==r.path.parentKey&&this.getAttachmentParentForPath(r.path).key>=e.key){this.attachAfter=!0,e=r.path;for(const t of r.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1}run(){if(this.path.traverse(c,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const n=p(t,this.path.node),r=this.attachAfter?"insertAfter":"insertBefore",[s]=e[r]([e.isVariableDeclarator()?n:l("var",[n])]),i=this.path.parentPath;return i.isJSXElement()&&this.path.container===i.node.children&&(t=a(t)),this.path.replaceWith(o(t)),e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){const{node:e,parent:t}=this,n=this.parentPath.parent;return u(e)&&s(e,t,n)},t.isBlockScoped=function(){return i(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():a(this.node)},t.isFlow=function(){const{node:e}=this;return!(!l(e)&&(d(e)?"type"!==e.importKind&&"typeof"!==e.importKind:o(e)?"type"!==e.exportKind:!h(e)||"type"!==e.importKind&&"typeof"!==e.importKind))},t.isForAwaitStatement=function(){return P(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return g(this.node,this.parent)},t.isReferencedIdentifier=function(e){const{node:t,parent:n}=this;if(!u(t,e)&&!m(n,e)){if(!f(t,e))return!1;if(_(t.name))return!1}return g(t,n,this.parentPath.parent)},t.isReferencedMemberExpression=function(){const{node:e,parent:t}=this;return y(e)&&g(e,t)},t.isRestProperty=function(){var e;return b(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return E(this.node,this.parent)},t.isSpreadProperty=function(){var e;return b(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){const{node:e,parent:t}=this;if(v(e)){if(T(e)){if(c(t,{left:e}))return!1;if(p(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return x(this.node)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{isBinding:s,isBlockScoped:i,isExportDeclaration:o,isExpression:a,isFlow:l,isForStatement:p,isForXStatement:c,isIdentifier:u,isImportDeclaration:d,isImportSpecifier:h,isJSXIdentifier:f,isJSXMemberExpression:m,isMemberExpression:y,isRestElement:b,isReferenced:g,isScope:E,isStatement:v,isVar:x,isVariableDeclaration:T,react:S,isForOfStatement:P}=r,{isCompatTag:_}=S;t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/modification.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=function(e,t){this.updateSiblingKeys(e,t.length);const n=[];this.container.splice(e,0,...t);for(let s=0;s<t.length;s++){var r;const t=e+s,i=this.getSibling(t);n.push(i),null!=(r=this.context)&&r.queue&&i.pushContext(this.context)}const s=this._getQueueContexts();for(const e of n){e.setScope(),e.debug("Inserted.");for(const t of s)t.maybeQueue(e,!0)}return n},t._containerInsertAfter=function(e){return this._containerInsert(this.key+1,e)},t._containerInsertBefore=function(e){return this._containerInsert(this.key,e)},t._verifyNodeList=function(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t];let r;if(n?"object"!=typeof n?r="contains a non-object node":n.type?n instanceof i.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){const e=Array.isArray(n)?"array":typeof n;throw new Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e},t.hoist=function(e=this.scope){return new s.default(this,e).run()},t.insertAfter=function(e){if(this._assertUnremoved(),this.isSequenceExpression())return T(this.get("expressions")).insertAfter(e);const t=this._verifyNodeList(e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||y(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertAfter(t.map((e=>b(e)?h(e):e)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&"init"===this.key){const e=this;if(e.node){const r=e.node;let{scope:s}=this;if(s.path.isPattern())return l(r),e.replaceWith(u(a([],r),[])),e.get("callee.body").insertAfter(t),[e];if(S(e))t.unshift(r);else if(m(r)&&v(r.callee))t.unshift(r),t.push(x());else if(function(e,t){if(!f(e)||!g(e.left))return!1;const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}(r,s))t.unshift(r),t.push(d(r.left));else if(s.isPure(r,!0))t.push(r);else{n.isMethod({computed:!0,key:r})&&(s=s.parent);const e=s.generateDeclaredUidIdentifier();t.unshift(h(p("=",d(e),r))),t.push(h(d(e)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return this._containerInsertAfter(t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(c(n?[e]:[])),this.pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){this._assertUnremoved();const t=this._verifyNodeList(e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||y(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return this._containerInsertBefore(t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(c(n?[e]:[])),this.unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){this._assertUnremoved();const n=this._verifyNodeList(t),r=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:r,listKey:e,key:r.length}).setContext(this.context).replaceWithMultiple(n)},t.unshiftContainer=function(e,t){return this._assertUnremoved(),t=this._verifyNodeList(t),i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context)._containerInsertBefore(t)},t.updateSiblingKeys=function(e,t){if(!this.parent)return;const n=(0,r.getCachedPaths)(this.hub,this.parent)||[];for(const[,r]of n)"number"==typeof r.key&&r.key>=e&&(r.key+=t)};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/hoister.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{arrowFunctionExpression:a,assertExpression:l,assignmentExpression:p,blockStatement:c,callExpression:u,cloneNode:d,expressionStatement:h,isAssignmentExpression:f,isCallExpression:m,isExportNamedDeclaration:y,isExpression:b,isIdentifier:g,isSequenceExpression:E,isSuper:v,thisExpression:x}=o,T=e=>e[e.length-1];function S(e){return E(e.parent)&&(T(e.parent.expressions)!==e.node||S(e.parentPath))}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/removal.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")},t._callRemovalHooks=function(){if(this.parentPath)for(const e of r.hooks)if(e(this,this.parentPath))return!0},t._markRemoved=function(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED,this.parent&&(0,s.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null},t._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},t._removeFromScope=function(){const e=a(this.node,!1,!1,!0);Object.keys(e).forEach((e=>this.scope.removeBinding(e)))},t.remove=function(){var e;this._assertUnremoved(),this.resync(),null!=(e=this.opts)&&e.noScope||this._removeFromScope(),this._callRemovalHooks()||(this.shareCommentsWithSiblings(),this._remove()),this._markRemoved()};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{getBindingIdentifiers:a}=o},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/replacement.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=function(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?F(this.parent,this.key,[e]):F(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,o.getCachedPaths)(this.hub,this.parent))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e},t.replaceExpressionWithStatements=function(e){this.resync();const t=[],n=M(e,t);if(n){for(const e of t)this.scope.push({id:e});return this.replaceWith(n)[0].get("expressions")}const r=this.getFunctionParent(),i=null==r?void 0:r.is("async"),o=null==r?void 0:r.is("generator"),a=u([],f(e));this.replaceWith(y(a,[]));const l=this.get("callee");(0,p.default)(l.get("body"),(e=>{this.scope.push({id:e})}),"var");const m=this.get("callee").getCompletionRecords();for(const e of m){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let n=t.getData("expressionReplacementReturnUid");n?n=x(n.name):(n=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",k(b(n))),t.setData("expressionReplacementReturnUid",n)),e.get("expression").replaceWith(d("=",b(n),e.node.expression))}else e.replaceWith(k(e.node.expression))}l.arrowFunctionToExpression();const g=l,E=i&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",c),v=o&&s.default.hasType(this.get("callee.body").node,"YieldExpression",c);return E&&(g.set("async",!0),v||this.replaceWith(h(this.node))),v&&(g.set("generator",!0),this.replaceWith(R(this.node,!0))),g.get("body.body")},t.replaceInline=function(e){if(this.resync(),Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof i.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!I(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let n="";if(this.isNodeType("Statement")&&w(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=E(t),n="expression")),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const r=this.node;return r&&(P(t,r),j(r)),this._replaceWith(t),this.type=t.type,this.setScope(),this.requeue(),[n?this.get(n):this]},t.replaceWithMultiple=function(e){var t;this.resync(),e=this._verifyNodeList(e),T(e[0],this.node),S(e[e.length-1],this.node),null==(t=(0,o.getCachedPaths)(this.hub,this.parent))||t.delete(this.node),this.node=this.container[this.key]=null;const n=this.insertAfter(e);return this.node?this.requeue():this.remove(),n},t.replaceWithSourceString=function(e){let t;this.resync();try{e=`(${e})`,t=(0,a.parse)(e)}catch(t){const n=t.loc;throw n&&(t.message+=" - make sure this is an expression.\n"+(0,r.codeFrameColumns)(e,{start:{line:n.line,column:n.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}const n=t.program.body[0].expression;return s.default.removeProperties(n),this.replaceWith(n)};var r=n("./stubs/babel-codeframe.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/index.js"),o=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),a=n("./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/lib/index.js"),l=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),p=n("./node_modules/.pnpm/@babel+helper-hoist-variables@7.24.7/node_modules/@babel/helper-hoist-variables/lib/index.js");const{FUNCTION_TYPES:c,arrowFunctionExpression:u,assignmentExpression:d,awaitExpression:h,blockStatement:f,buildUndefinedNode:m,callExpression:y,cloneNode:b,conditionalExpression:g,expressionStatement:E,getBindingIdentifiers:v,identifier:x,inheritLeadingComments:T,inheritTrailingComments:S,inheritsComments:P,isBlockStatement:_,isEmptyStatement:A,isExpression:w,isExpressionStatement:C,isIfStatement:D,isProgram:I,isStatement:O,isVariableDeclaration:N,removeComments:j,returnStatement:k,sequenceExpression:L,validate:F,yieldExpression:R}=l;function M(e,t){const n=[];let r=!0;for(const s of e)if(A(s)||(r=!1),w(s))n.push(s);else if(C(s))n.push(s.expression);else if(N(s)){if("var"!==s.kind)return;for(const e of s.declarations){const r=v(e);for(const e of Object.keys(r))t.push(b(r[e]));e.init&&n.push(d("=",e.id,e.init))}r=!0}else if(D(s)){const e=s.consequent?M([s.consequent],t):m(),r=s.alternate?M([s.alternate],t):m();if(!e||!r)return;n.push(g(s.test,e,r))}else if(_(s)){const e=M(s.body,t);if(!e)return;n.push(e)}else{if(!A(s))return;0===e.indexOf(s)&&(r=!0)}return r&&n.push(m()),1===n.length?n[0]:L(n)}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/binding.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({identifier:e,scope:t,path:n,kind:r}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=n,this.kind=r,"var"!==r&&"hoisted"!==r||!function(e){for(let{parentPath:t,key:n}=e;t;({parentPath:t,key:n}=t)){if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===n)return!0}return!1}(n)||this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)}reference(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/index.js"),i=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/binding.js"),o=n("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js"),a=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),l=a,p=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/cache.js"),c=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");const{NOT_LOCAL_BINDING:u,callExpression:d,cloneNode:h,getBindingIdentifiers:f,identifier:m,isArrayExpression:y,isBinary:b,isCallExpression:g,isClass:E,isClassBody:v,isClassDeclaration:x,isExportAllDeclaration:T,isExportDefaultDeclaration:S,isExportNamedDeclaration:P,isFunctionDeclaration:_,isIdentifier:A,isImportDeclaration:w,isLiteral:C,isMemberExpression:D,isMethod:I,isModuleSpecifier:O,isNullLiteral:N,isObjectExpression:j,isProperty:k,isPureish:L,isRegExpLiteral:F,isSuper:R,isTaggedTemplateExpression:M,isTemplateLiteral:B,isThisExpression:U,isUnaryExpression:$,isVariableDeclaration:V,matchesPattern:W,memberExpression:K,numericLiteral:G,toIdentifier:q,variableDeclaration:H,variableDeclarator:z,isRecordExpression:Y,isTupleExpression:X,isObjectProperty:J,isTopicReference:Q,isMetaProperty:Z,isPrivateName:ee,isExportDeclaration:te,buildUndefinedNode:ne}=a;function re(e,t){switch(null==e?void 0:e.type){default:var n;if(w(e)||te(e))if((T(e)||P(e)||w(e))&&e.source)re(e.source,t);else if((P(e)||w(e))&&null!=(n=e.specifiers)&&n.length)for(const n of e.specifiers)re(n,t);else(S(e)||P(e))&&e.declaration&&re(e.declaration,t);else O(e)?re(e.local,t):!C(e)||N(e)||F(e)||B(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":re(e.object,t),re(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":re(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties)re(n,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":re(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":re(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),re(e.argument,t);break;case"AwaitExpression":t.push("await"),re(e.argument,t);break;case"AssignmentExpression":re(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":re(e.id,t);break;case"ParenthesizedExpression":re(e.expression,t);break;case"MetaProperty":re(e.meta,t),re(e.property,t);break;case"JSXElement":re(e.openingElement,t);break;case"JSXOpeningElement":re(e.name,t);break;case"JSXFragment":re(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":re(e.namespace,t),re(e.name,t)}}const se={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",t)}},Declaration(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const n=e.get("left");if(n.isPattern()||n.isIdentifier())t.constantViolations.push(e);else if(n.isVar()){const{scope:t}=e;(t.getFunctionParent()||t.getProgramParent()).registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(T(t))return;const r=t.declaration;if(x(r)||_(r)){const t=r.id;if(!t)return;const s=n.getBinding(t.name);null==s||s.reference(e)}else if(V(r))for(const t of r.declarations)for(const r of Object.keys(f(t))){const t=n.getBinding(r);null==t||t.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id.name;e.scope.bindings[t]=e.scope.parent.getBinding(t)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t)e.scope.registerBinding("param",n);e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[u]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.has("id")&&!e.get("id").node[u]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}};let ie=0;class oe{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,n=p.scope.get(t);if((null==n?void 0:n.path)===e)return n;p.scope.set(t,this),this.uid=ie++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1}get parent(){var e;let t,n=this.path;do{var r;const e="key"===n.key||"decorators"===n.listKey;n=n.parentPath,e&&n.isMethod()&&(n=n.parentPath),null!=(r=n)&&r.isScope()&&(t=n)}while(n&&!t);return null==(e=t)?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,n){(0,s.default)(e,t,this,n,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),h(t)}generateUidIdentifier(e){return m(this.generateUid(e))}generateUid(e="temp"){let t;e=q(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let n=1;do{t=this._generateUid(e,n),n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const r=this.getProgramParent();return r.references[t]=!0,r.uids[t]=!0,t}_generateUid(e,t){let n=e;return t>1&&(n+=t),`_${n}`}generateUidBasedOnNode(e,t){const n=[];re(e,n);let r=n.join("$");return r=r.replace(/^_/,"")||t||"ref",this.generateUid(r.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return m(this.generateUidBasedOnNode(e,t))}isStatic(e){if(U(e)||R(e)||Q(e))return!0;if(A(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),h(n))}}checkBlockScopedCollisions(e,t,n,r){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(r,`Duplicate declaration "${n}"`,TypeError)}rename(e,t){const n=this.getBinding(e);n&&(t||(t=this.generateUidIdentifier(e).name),new r.default(n,e,t).rename(arguments[2]))}_renameFromMap(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const n=t.bindings[e];console.log(" -",e,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,n){if(A(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(y(e))return e;if(A(e,{name:"arguments"}))return d(K(K(K(m("Array"),m("prototype")),m("slice")),m("call")),[e]);let r;const s=[e];return!0===t?r="toConsumableArray":"number"==typeof t?(s.push(G(t)),r="slicedToArray"):r="toArray",n&&(s.unshift(this.hub.addHelper(r)),r="maybeArrayLike"),d(this.hub.addHelper(r),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations"),{kind:n}=e.node;for(const e of t)this.registerBinding("using"===n||"await using"===n?"const":n,e)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t="type"===e.node.importKind||"typeof"===e.node.importKind,n=e.get("specifiers");for(const e of n){const n=t||e.isImportSpecifier()&&("type"===e.node.importKind||"typeof"===e.node.importKind);this.registerBinding(n?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return ne()}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){var n;null==(n=this.getBinding(r))||n.reassign(e)}}registerBinding(e,t,n=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const n=t.get("declarations");for(const t of n)this.registerBinding(e,t);return}const r=this.getProgramParent(),s=t.getOuterBindingIdentifiers(!0);for(const t of Object.keys(s)){r.references[t]=!0;for(const r of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===r)continue;this.checkBlockScopedCollisions(s,e,t,r)}s?s.reassign(n):this.bindings[t]=new i.default({identifier:r,scope:this,path:n,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(A(e)){const n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(U(e)||Z(e)||Q(e)||ee(e))return!0;var n,r,s;if(E(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t);if(v(e)){for(const n of e.body)if(!this.isPure(n,t))return!1;return!0}if(b(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(y(e)||X(e)){for(const n of e.elements)if(null!==n&&!this.isPure(n,t))return!1;return!0}if(j(e)||Y(e)){for(const n of e.properties)if(!this.isPure(n,t))return!1;return!0}if(I(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(r=e.decorators)?void 0:r.length)>0);if(k(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(s=e.decorators)?void 0:s.length)>0||(J(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if($(e))return this.isPure(e.argument,t);if(B(e)){for(const n of e.expressions)if(!this.isPure(n,t))return!1;return!0}return M(e)?W(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):D(e)?!e.computed&&A(e.object)&&"Symbol"===e.object.name&&A(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):g(e)?W(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&l.isStringLiteral(e.arguments[0]):L(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(null!=n)return n}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const n={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&(0,c.isExplodedVisitor)(se)){for(const t of se.enter)t.call(n,e,n);const t=se[e.type];if(t)for(const r of t.enter)r.call(n,e,n)}e.traverse(se,n),this.crawling=!1;for(const e of n.assignments){const n=e.getBindingIdentifiers();for(const r of Object.keys(n))e.scope.getBinding(r)||t.addGlobal(n[r]);e.scope.registerConstantViolation(e)}for(const e of n.references){const n=e.scope.getBinding(e.node.name);n?n.reference(e):t.addGlobal(e.node)}for(const e of n.constantViolations)e.scope.registerConstantViolation(e)}push(e){let t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);const{init:n,unique:r,kind:s="var",id:i}=e;if(!n&&!r&&("var"===s||"let"===s)&&t.isFunction()&&!t.node.name&&g(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&A(i))return t.pushContainer("params",i),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const o=null==e._blockHoist?2:e._blockHoist,a=`declaration:${s}:${o}`;let l=!r&&t.getData(a);if(!l){const e=H(s,[]);e._blockHoist=o,[l]=t.unshiftContainer("body",[e]),r||t.setData(a,l)}const p=z(i,n),c=l.node.declarations.push(p);t.scope.registerBinding(s,l.get("declarations")[c-1])}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const n of Object.keys(t.bindings))n in e==0&&(e[n]=t.bindings[n]);t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const r of Object.keys(e.bindings)){const s=e.bindings[r];s.kind===n&&(t[r]=s)}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,n=this;do{const s=n.getOwnBinding(e);var r;if(s){if(null==(r=t)||!r.isPattern()||"param"===s.kind||"local"===s.kind)return s}else if(!s&&"arguments"===e&&n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;t=n.path}while(n=n.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){var n,r,s;return!(!e||!this.hasOwnBinding(e)&&("boolean"==typeof t&&(t={noGlobals:t}),!this.parentHasBinding(e,t)&&(null!=(n=t)&&n.noUids||!this.hasUid(e))&&(null!=(r=t)&&r.noGlobals||!oe.globals.includes(e))&&(null!=(s=t)&&s.noGlobals||!oe.contextVariables.includes(e))))}parentHasBinding(e,t){var n;return null==(n=this.parent)?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);let n=this;do{n.uids[e]&&(n.uids[e]=!1)}while(n=n.parent)}}t.default=oe,oe.globals=Object.keys(o.builtin),oe.contextVariables=["arguments","undefined","Infinity","NaN"]},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.24.7/node_modules/@babel/helper-split-export-declaration/lib/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js"),i=n("./node_modules/.pnpm/@babel+helper-environment-visitor@7.24.7/node_modules/@babel/helper-environment-visitor/lib/index.js"),o=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js"),a=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js");const l={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(0,i.requeueComputedKeyAndDecorators)(e))},ObjectProperty({node:e,scope:t},n){const{name:r}=e.key;var s;!e.shorthand||r!==n.oldName&&r!==n.newName||t.getBindingIdentifier(r)!==n.binding.identifier||(e.shorthand=!1,null!=(s=e.extra)&&s.shorthand&&(e.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.getOuterBindingIdentifiers();for(const e in n)e===t.oldName&&(n[e].name=t.newName)}};t.default=class{constructor(e,t,n){this.newName=n,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(s.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||(0,r.default)(t)}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:n}=this,{scope:r,path:s}=e,i=s.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));i&&i.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(i);const p=arguments[0]||r.block;(0,o.traverseNode)(p,(0,a.explode)(l),r,this,r.path,{discriminant:!0}),arguments[0]||(r.removeOwnBinding(t),r.bindings[n]=e,this.binding.identifier.name=n),i&&(this.maybeConvertFromClassFunctionDeclaration(s),this.maybeConvertFromClassFunctionExpression(s))}}},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/traverse-node.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,n,s,o,a,l){const p=i[e.type];if(!p)return!1;const c=new r.default(n,t,s,o);if(l)return(null==a||!a[o.parentKey])&&c.visitQueue([o]);for(const t of p)if((null==a||!a[t])&&c.visit(e,t))return!0;return!1};var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/context.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{VISITOR_KEYS:i}=s},"./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/visitors.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.explode=d,t.isExplodedVisitor=u,t.merge=function(e,t=[],n){const r={};for(let s=0;s<e.length;s++){const i=d(e[s]),o=t[s];let a=i;(o||n)&&(a=m(a,o,n)),E(r,a);for(const e of Object.keys(i)){if(g(e))continue;let t=i[e];(o||n)&&(t=m(t,o,n)),E(r[e]||(r[e]={}),t)}}return r},t.verify=h;var r=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),s=n("./node_modules/.pnpm/@babel+traverse@7.24.7/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js");const{DEPRECATED_KEYS:o,DEPRECATED_ALIASES:a,FLIPPED_ALIAS_KEYS:l,TYPES:p,__internal__deprecationWarning:c}=i;function u(e){return null==e?void 0:e._exploded}function d(e){if(u(e))return e;e._exploded=!0;for(const t of Object.keys(e)){if(g(t))continue;const n=t.split("|");if(1===n.length)continue;const r=e[t];delete e[t];for(const t of n)e[t]=r}h(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(g(t))continue;const n=e[t];"function"==typeof n&&(e[t]={enter:n})}}(e),y(e);for(const t of Object.keys(e)){if(g(t))continue;if(!(t in r))continue;const n=e[t];for(const e of Object.keys(n))n[e]=b(t,n[e]);delete e[t];const s=r[t];if(null!==s)for(const t of s)e[t]?E(e[t],n):e[t]=n;else E(e,n)}for(const t of Object.keys(e)){if(g(t))continue;let n=l[t];if(t in o){const e=o[t];c(t,e,"Visitor "),n=[e]}else if(t in a){const e=a[t];c(t,e,"Visitor "),n=l[e]}if(!n)continue;const r=e[t];delete e[t];for(const t of n){const n=e[t];n?E(n,r):e[t]=Object.assign({},r)}}for(const t of Object.keys(e))g(t)||y(e[t]);return e}function h(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t of Object.keys(e)){if("enter"!==t&&"exit"!==t||f(t,e[t]),g(t))continue;if(p.indexOf(t)<0)throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`);const n=e[t];if("object"==typeof n)for(const e of Object.keys(n)){if("enter"!==e&&"exit"!==e)throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`);f(`${t}.${e}`,n[e])}}e._verified=!0}}function f(e,t){const n=[].concat(t);for(const t of n)if("function"!=typeof t)throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}function m(e,t,n){const r={};for(const s of["enter","exit"]){let i=e[s];Array.isArray(i)&&(i=i.map((function(e){let r=e;return t&&(r=function(n){e.call(t,n,t)}),n&&(r=n(null==t?void 0:t.key,s,r)),r!==e&&(r.toString=()=>e.toString()),r})),r[s]=i)}return r}function y(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function b(e,t){const n=s[`is${e}`],r=function(e){if(n.call(e))return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function g(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e}function E(e,t){for(const n of["enter","exit"])t[n]&&(e[n]=[].concat(e[n]||[],t[n]))}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/assertNode.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,r.default)(e)){var t;const n=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${n}"`)}};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/generated/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){i("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){i("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){i("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){i("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){i("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){i("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){i("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){i("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){i("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){i("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){i("BigIntLiteral",e,t)},t.assertBinary=function(e,t){i("Binary",e,t)},t.assertBinaryExpression=function(e,t){i("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){i("BindExpression",e,t)},t.assertBlock=function(e,t){i("Block",e,t)},t.assertBlockParent=function(e,t){i("BlockParent",e,t)},t.assertBlockStatement=function(e,t){i("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){i("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){i("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){i("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){i("BreakStatement",e,t)},t.assertCallExpression=function(e,t){i("CallExpression",e,t)},t.assertCatchClause=function(e,t){i("CatchClause",e,t)},t.assertClass=function(e,t){i("Class",e,t)},t.assertClassAccessorProperty=function(e,t){i("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){i("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){i("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){i("ClassExpression",e,t)},t.assertClassImplements=function(e,t){i("ClassImplements",e,t)},t.assertClassMethod=function(e,t){i("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){i("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){i("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){i("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){i("CompletionStatement",e,t)},t.assertConditional=function(e,t){i("Conditional",e,t)},t.assertConditionalExpression=function(e,t){i("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){i("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){i("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){i("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){i("Declaration",e,t)},t.assertDeclareClass=function(e,t){i("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){i("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){i("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){i("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){i("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){i("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){i("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){i("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){i("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){i("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){i("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){i("Decorator",e,t)},t.assertDirective=function(e,t){i("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){i("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){i("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){i("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){i("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){i("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){i("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){i("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){i("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){i("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){i("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){i("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){i("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){i("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){i("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){i("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){i("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){i("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){i("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){i("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){i("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){i("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){i("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){i("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){i("ExportSpecifier",e,t)},t.assertExpression=function(e,t){i("Expression",e,t)},t.assertExpressionStatement=function(e,t){i("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){i("ExpressionWrapper",e,t)},t.assertFile=function(e,t){i("File",e,t)},t.assertFlow=function(e,t){i("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){i("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){i("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){i("FlowPredicate",e,t)},t.assertFlowType=function(e,t){i("FlowType",e,t)},t.assertFor=function(e,t){i("For",e,t)},t.assertForInStatement=function(e,t){i("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){i("ForOfStatement",e,t)},t.assertForStatement=function(e,t){i("ForStatement",e,t)},t.assertForXStatement=function(e,t){i("ForXStatement",e,t)},t.assertFunction=function(e,t){i("Function",e,t)},t.assertFunctionDeclaration=function(e,t){i("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){i("FunctionExpression",e,t)},t.assertFunctionParent=function(e,t){i("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){i("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){i("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){i("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){i("Identifier",e,t)},t.assertIfStatement=function(e,t){i("IfStatement",e,t)},t.assertImmutable=function(e,t){i("Immutable",e,t)},t.assertImport=function(e,t){i("Import",e,t)},t.assertImportAttribute=function(e,t){i("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){i("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){i("ImportDefaultSpecifier",e,t)},t.assertImportExpression=function(e,t){i("ImportExpression",e,t)},t.assertImportNamespaceSpecifier=function(e,t){i("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){i("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){i("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){i("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){i("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){i("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){i("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){i("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){i("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){i("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){i("JSX",e,t)},t.assertJSXAttribute=function(e,t){i("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){i("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){i("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){i("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){i("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){i("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){i("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){i("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){i("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){i("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){i("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){i("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){i("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){i("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){i("JSXText",e,t)},t.assertLVal=function(e,t){i("LVal",e,t)},t.assertLabeledStatement=function(e,t){i("LabeledStatement",e,t)},t.assertLiteral=function(e,t){i("Literal",e,t)},t.assertLogicalExpression=function(e,t){i("LogicalExpression",e,t)},t.assertLoop=function(e,t){i("Loop",e,t)},t.assertMemberExpression=function(e,t){i("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){i("MetaProperty",e,t)},t.assertMethod=function(e,t){i("Method",e,t)},t.assertMiscellaneous=function(e,t){i("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){i("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,s.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),i("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){i("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){i("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){i("NewExpression",e,t)},t.assertNoop=function(e,t){i("Noop",e,t)},t.assertNullLiteral=function(e,t){i("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){i("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){i("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,s.default)("assertNumberLiteral","assertNumericLiteral"),i("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){i("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){i("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){i("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){i("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){i("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){i("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){i("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){i("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){i("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){i("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){i("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){i("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){i("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){i("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){i("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){i("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){i("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){i("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){i("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){i("Pattern",e,t)},t.assertPatternLike=function(e,t){i("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){i("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){i("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){i("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){i("Placeholder",e,t)},t.assertPrivate=function(e,t){i("Private",e,t)},t.assertPrivateName=function(e,t){i("PrivateName",e,t)},t.assertProgram=function(e,t){i("Program",e,t)},t.assertProperty=function(e,t){i("Property",e,t)},t.assertPureish=function(e,t){i("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){i("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){i("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){i("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,s.default)("assertRegexLiteral","assertRegExpLiteral"),i("RegexLiteral",e,t)},t.assertRestElement=function(e,t){i("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,s.default)("assertRestProperty","assertRestElement"),i("RestProperty",e,t)},t.assertReturnStatement=function(e,t){i("ReturnStatement",e,t)},t.assertScopable=function(e,t){i("Scopable",e,t)},t.assertSequenceExpression=function(e,t){i("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){i("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,s.default)("assertSpreadProperty","assertSpreadElement"),i("SpreadProperty",e,t)},t.assertStandardized=function(e,t){i("Standardized",e,t)},t.assertStatement=function(e,t){i("Statement",e,t)},t.assertStaticBlock=function(e,t){i("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){i("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){i("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){i("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){i("Super",e,t)},t.assertSwitchCase=function(e,t){i("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){i("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){i("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){i("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){i("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){i("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){i("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){i("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){i("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){i("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){i("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){i("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){i("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){i("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){i("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){i("TSEntityName",e,t)},t.assertTSEnumDeclaration=function(e,t){i("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){i("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){i("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){i("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){i("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){i("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){i("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){i("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){i("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){i("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){i("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){i("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){i("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){i("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){i("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){i("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){i("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){i("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){i("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){i("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){i("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){i("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){i("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){i("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){i("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){i("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){i("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){i("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){i("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){i("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){i("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){i("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){i("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){i("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){i("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){i("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){i("TSSymbolKeyword",e,t)},t.assertTSThisType=function(e,t){i("TSThisType",e,t)},t.assertTSTupleType=function(e,t){i("TSTupleType",e,t)},t.assertTSType=function(e,t){i("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){i("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){i("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){i("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){i("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){i("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){i("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){i("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){i("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){i("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){i("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){i("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){i("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){i("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){i("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){i("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){i("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){i("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){i("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){i("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){i("Terminatorless",e,t)},t.assertThisExpression=function(e,t){i("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){i("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){i("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){i("TopicReference",e,t)},t.assertTryStatement=function(e,t){i("TryStatement",e,t)},t.assertTupleExpression=function(e,t){i("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){i("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){i("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){i("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){i("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){i("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){i("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){i("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){i("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){i("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){i("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){i("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){i("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){i("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){i("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){i("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){i("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){i("VariableDeclarator",e,t)},t.assertVariance=function(e,t){i("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t){i("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){i("While",e,t)},t.assertWhileStatement=function(e,t){i("WhileStatement",e,t)},t.assertWithStatement=function(e,t){i("WithStatement",e,t)},t.assertYieldExpression=function(e,t){i("YieldExpression",e,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function i(e,t,n){if(!(0,r.default)(e,t,n))throw new Error(`Expected type "${e}" with option ${JSON.stringify(n)}, but instead got "${t.type}".`)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e);return 1===t.length?t[0]:(0,r.unionTypeAnnotation)(t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");t.default=function(e){switch(e){case"string":return(0,r.stringTypeAnnotation)();case"number":return(0,r.numberTypeAnnotation)();case"undefined":return(0,r.voidTypeAnnotation)();case"boolean":return(0,r.booleanTypeAnnotation)();case"function":return(0,r.genericTypeAnnotation)((0,r.identifier)("Function"));case"object":return(0,r.genericTypeAnnotation)((0,r.identifier)("Object"));case"symbol":return(0,r.genericTypeAnnotation)((0,r.identifier)("Symbol"));case"bigint":return(0,r.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(e=[]){return(0,r.default)({type:"ArrayExpression",elements:e})},t.arrayPattern=function(e){return(0,r.default)({type:"ArrayPattern",elements:e})},t.arrayTypeAnnotation=function(e){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:e})},t.arrowFunctionExpression=function(e,t,n=!1){return(0,r.default)({type:"ArrowFunctionExpression",params:e,body:t,async:n,expression:null})},t.assignmentExpression=function(e,t,n){return(0,r.default)({type:"AssignmentExpression",operator:e,left:t,right:n})},t.assignmentPattern=function(e,t){return(0,r.default)({type:"AssignmentPattern",left:e,right:t})},t.awaitExpression=function(e){return(0,r.default)({type:"AwaitExpression",argument:e})},t.bigIntLiteral=function(e){return(0,r.default)({type:"BigIntLiteral",value:e})},t.binaryExpression=function(e,t,n){return(0,r.default)({type:"BinaryExpression",operator:e,left:t,right:n})},t.bindExpression=function(e,t){return(0,r.default)({type:"BindExpression",object:e,callee:t})},t.blockStatement=function(e,t=[]){return(0,r.default)({type:"BlockStatement",body:e,directives:t})},t.booleanLiteral=function(e){return(0,r.default)({type:"BooleanLiteral",value:e})},t.booleanLiteralTypeAnnotation=function(e){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:e})},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(e=null){return(0,r.default)({type:"BreakStatement",label:e})},t.callExpression=function(e,t){return(0,r.default)({type:"CallExpression",callee:e,arguments:t})},t.catchClause=function(e=null,t){return(0,r.default)({type:"CatchClause",param:e,body:t})},t.classAccessorProperty=function(e,t=null,n=null,s=null,i=!1,o=!1){return(0,r.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:n,decorators:s,computed:i,static:o})},t.classBody=function(e){return(0,r.default)({type:"ClassBody",body:e})},t.classDeclaration=function(e=null,t=null,n,s=null){return(0,r.default)({type:"ClassDeclaration",id:e,superClass:t,body:n,decorators:s})},t.classExpression=function(e=null,t=null,n,s=null){return(0,r.default)({type:"ClassExpression",id:e,superClass:t,body:n,decorators:s})},t.classImplements=function(e,t=null){return(0,r.default)({type:"ClassImplements",id:e,typeParameters:t})},t.classMethod=function(e="method",t,n,s,i=!1,o=!1,a=!1,l=!1){return(0,r.default)({type:"ClassMethod",kind:e,key:t,params:n,body:s,computed:i,static:o,generator:a,async:l})},t.classPrivateMethod=function(e="method",t,n,s,i=!1){return(0,r.default)({type:"ClassPrivateMethod",kind:e,key:t,params:n,body:s,static:i})},t.classPrivateProperty=function(e,t=null,n=null,s=!1){return(0,r.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:n,static:s})},t.classProperty=function(e,t=null,n=null,s=null,i=!1,o=!1){return(0,r.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:n,decorators:s,computed:i,static:o})},t.conditionalExpression=function(e,t,n){return(0,r.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:n})},t.continueStatement=function(e=null){return(0,r.default)({type:"ContinueStatement",label:e})},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){return(0,r.default)({type:"DecimalLiteral",value:e})},t.declareClass=function(e,t=null,n=null,s){return(0,r.default)({type:"DeclareClass",id:e,typeParameters:t,extends:n,body:s})},t.declareExportAllDeclaration=function(e){return(0,r.default)({type:"DeclareExportAllDeclaration",source:e})},t.declareExportDeclaration=function(e=null,t=null,n=null){return(0,r.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:n})},t.declareFunction=function(e){return(0,r.default)({type:"DeclareFunction",id:e})},t.declareInterface=function(e,t=null,n=null,s){return(0,r.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:n,body:s})},t.declareModule=function(e,t,n=null){return(0,r.default)({type:"DeclareModule",id:e,body:t,kind:n})},t.declareModuleExports=function(e){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:e})},t.declareOpaqueType=function(e,t=null,n=null){return(0,r.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:n})},t.declareTypeAlias=function(e,t=null,n){return(0,r.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:n})},t.declareVariable=function(e){return(0,r.default)({type:"DeclareVariable",id:e})},t.declaredPredicate=function(e){return(0,r.default)({type:"DeclaredPredicate",value:e})},t.decorator=function(e){return(0,r.default)({type:"Decorator",expression:e})},t.directive=function(e){return(0,r.default)({type:"Directive",value:e})},t.directiveLiteral=function(e){return(0,r.default)({type:"DirectiveLiteral",value:e})},t.doExpression=function(e,t=!1){return(0,r.default)({type:"DoExpression",body:e,async:t})},t.doWhileStatement=function(e,t){return(0,r.default)({type:"DoWhileStatement",test:e,body:t})},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){return(0,r.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumBooleanMember=function(e){return(0,r.default)({type:"EnumBooleanMember",id:e,init:null})},t.enumDeclaration=function(e,t){return(0,r.default)({type:"EnumDeclaration",id:e,body:t})},t.enumDefaultedMember=function(e){return(0,r.default)({type:"EnumDefaultedMember",id:e})},t.enumNumberBody=function(e){return(0,r.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumNumberMember=function(e,t){return(0,r.default)({type:"EnumNumberMember",id:e,init:t})},t.enumStringBody=function(e){return(0,r.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumStringMember=function(e,t){return(0,r.default)({type:"EnumStringMember",id:e,init:t})},t.enumSymbolBody=function(e){return(0,r.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){return(0,r.default)({type:"ExportAllDeclaration",source:e})},t.exportDefaultDeclaration=function(e){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:e})},t.exportDefaultSpecifier=function(e){return(0,r.default)({type:"ExportDefaultSpecifier",exported:e})},t.exportNamedDeclaration=function(e=null,t=[],n=null){return(0,r.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:n})},t.exportNamespaceSpecifier=function(e){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:e})},t.exportSpecifier=function(e,t){return(0,r.default)({type:"ExportSpecifier",local:e,exported:t})},t.expressionStatement=function(e){return(0,r.default)({type:"ExpressionStatement",expression:e})},t.file=function(e,t=null,n=null){return(0,r.default)({type:"File",program:e,comments:t,tokens:n})},t.forInStatement=function(e,t,n){return(0,r.default)({type:"ForInStatement",left:e,right:t,body:n})},t.forOfStatement=function(e,t,n,s=!1){return(0,r.default)({type:"ForOfStatement",left:e,right:t,body:n,await:s})},t.forStatement=function(e=null,t=null,n=null,s){return(0,r.default)({type:"ForStatement",init:e,test:t,update:n,body:s})},t.functionDeclaration=function(e=null,t,n,s=!1,i=!1){return(0,r.default)({type:"FunctionDeclaration",id:e,params:t,body:n,generator:s,async:i})},t.functionExpression=function(e=null,t,n,s=!1,i=!1){return(0,r.default)({type:"FunctionExpression",id:e,params:t,body:n,generator:s,async:i})},t.functionTypeAnnotation=function(e=null,t,n=null,s){return(0,r.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:n,returnType:s})},t.functionTypeParam=function(e=null,t){return(0,r.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})},t.genericTypeAnnotation=function(e,t=null){return(0,r.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})},t.identifier=function(e){return(0,r.default)({type:"Identifier",name:e})},t.ifStatement=function(e,t,n=null){return(0,r.default)({type:"IfStatement",test:e,consequent:t,alternate:n})},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){return(0,r.default)({type:"ImportAttribute",key:e,value:t})},t.importDeclaration=function(e,t){return(0,r.default)({type:"ImportDeclaration",specifiers:e,source:t})},t.importDefaultSpecifier=function(e){return(0,r.default)({type:"ImportDefaultSpecifier",local:e})},t.importExpression=function(e,t=null){return(0,r.default)({type:"ImportExpression",source:e,options:t})},t.importNamespaceSpecifier=function(e){return(0,r.default)({type:"ImportNamespaceSpecifier",local:e})},t.importSpecifier=function(e,t){return(0,r.default)({type:"ImportSpecifier",local:e,imported:t})},t.indexedAccessType=function(e,t){return(0,r.default)({type:"IndexedAccessType",objectType:e,indexType:t})},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e,t=null,n=null,s){return(0,r.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:n,body:s})},t.interfaceExtends=function(e,t=null){return(0,r.default)({type:"InterfaceExtends",id:e,typeParameters:t})},t.interfaceTypeAnnotation=function(e=null,t){return(0,r.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})},t.interpreterDirective=function(e){return(0,r.default)({type:"InterpreterDirective",value:e})},t.intersectionTypeAnnotation=function(e){return(0,r.default)({type:"IntersectionTypeAnnotation",types:e})},t.jSXAttribute=t.jsxAttribute=function(e,t=null){return(0,r.default)({type:"JSXAttribute",name:e,value:t})},t.jSXClosingElement=t.jsxClosingElement=function(e){return(0,r.default)({type:"JSXClosingElement",name:e})},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e,t=null,n,s=null){return(0,r.default)({type:"JSXElement",openingElement:e,closingElement:t,children:n,selfClosing:s})},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){return(0,r.default)({type:"JSXExpressionContainer",expression:e})},t.jSXFragment=t.jsxFragment=function(e,t,n){return(0,r.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:n})},t.jSXIdentifier=t.jsxIdentifier=function(e){return(0,r.default)({type:"JSXIdentifier",name:e})},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){return(0,r.default)({type:"JSXMemberExpression",object:e,property:t})},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){return(0,r.default)({type:"JSXNamespacedName",namespace:e,name:t})},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,n=!1){return(0,r.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:n})},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){return(0,r.default)({type:"JSXSpreadAttribute",argument:e})},t.jSXSpreadChild=t.jsxSpreadChild=function(e){return(0,r.default)({type:"JSXSpreadChild",expression:e})},t.jSXText=t.jsxText=function(e){return(0,r.default)({type:"JSXText",value:e})},t.labeledStatement=function(e,t){return(0,r.default)({type:"LabeledStatement",label:e,body:t})},t.logicalExpression=function(e,t,n){return(0,r.default)({type:"LogicalExpression",operator:e,left:t,right:n})},t.memberExpression=function(e,t,n=!1,s=null){return(0,r.default)({type:"MemberExpression",object:e,property:t,computed:n,optional:s})},t.metaProperty=function(e,t){return(0,r.default)({type:"MetaProperty",meta:e,property:t})},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){return(0,r.default)({type:"ModuleExpression",body:e})},t.newExpression=function(e,t){return(0,r.default)({type:"NewExpression",callee:e,arguments:t})},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:e})},t.numberLiteral=function(e){return(0,s.default)("NumberLiteral","NumericLiteral","The node type "),i(e)},t.numberLiteralTypeAnnotation=function(e){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:e})},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=i,t.objectExpression=function(e){return(0,r.default)({type:"ObjectExpression",properties:e})},t.objectMethod=function(e="method",t,n,s,i=!1,o=!1,a=!1){return(0,r.default)({type:"ObjectMethod",kind:e,key:t,params:n,body:s,computed:i,generator:o,async:a})},t.objectPattern=function(e){return(0,r.default)({type:"ObjectPattern",properties:e})},t.objectProperty=function(e,t,n=!1,s=!1,i=null){return(0,r.default)({type:"ObjectProperty",key:e,value:t,computed:n,shorthand:s,decorators:i})},t.objectTypeAnnotation=function(e,t=[],n=[],s=[],i=!1){return(0,r.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:n,internalSlots:s,exact:i})},t.objectTypeCallProperty=function(e){return(0,r.default)({type:"ObjectTypeCallProperty",value:e,static:null})},t.objectTypeIndexer=function(e=null,t,n,s=null){return(0,r.default)({type:"ObjectTypeIndexer",id:e,key:t,value:n,variance:s,static:null})},t.objectTypeInternalSlot=function(e,t,n,s,i){return(0,r.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:n,static:s,method:i})},t.objectTypeProperty=function(e,t,n=null){return(0,r.default)({type:"ObjectTypeProperty",key:e,value:t,variance:n,kind:null,method:null,optional:null,proto:null,static:null})},t.objectTypeSpreadProperty=function(e){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:e})},t.opaqueType=function(e,t=null,n=null,s){return(0,r.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:n,impltype:s})},t.optionalCallExpression=function(e,t,n){return(0,r.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:n})},t.optionalIndexedAccessType=function(e,t){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})},t.optionalMemberExpression=function(e,t,n=!1,s){return(0,r.default)({type:"OptionalMemberExpression",object:e,property:t,computed:n,optional:s})},t.parenthesizedExpression=function(e){return(0,r.default)({type:"ParenthesizedExpression",expression:e})},t.pipelineBareFunction=function(e){return(0,r.default)({type:"PipelineBareFunction",callee:e})},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){return(0,r.default)({type:"PipelineTopicExpression",expression:e})},t.placeholder=function(e,t){return(0,r.default)({type:"Placeholder",expectedNode:e,name:t})},t.privateName=function(e){return(0,r.default)({type:"PrivateName",id:e})},t.program=function(e,t=[],n="script",s=null){return(0,r.default)({type:"Program",body:e,directives:t,sourceType:n,interpreter:s})},t.qualifiedTypeIdentifier=function(e,t){return(0,r.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})},t.recordExpression=function(e){return(0,r.default)({type:"RecordExpression",properties:e})},t.regExpLiteral=o,t.regexLiteral=function(e,t=""){return(0,s.default)("RegexLiteral","RegExpLiteral","The node type "),o(e,t)},t.restElement=a,t.restProperty=function(e){return(0,s.default)("RestProperty","RestElement","The node type "),a(e)},t.returnStatement=function(e=null){return(0,r.default)({type:"ReturnStatement",argument:e})},t.sequenceExpression=function(e){return(0,r.default)({type:"SequenceExpression",expressions:e})},t.spreadElement=l,t.spreadProperty=function(e){return(0,s.default)("SpreadProperty","SpreadElement","The node type "),l(e)},t.staticBlock=function(e){return(0,r.default)({type:"StaticBlock",body:e})},t.stringLiteral=function(e){return(0,r.default)({type:"StringLiteral",value:e})},t.stringLiteralTypeAnnotation=function(e){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:e})},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(e=null,t){return(0,r.default)({type:"SwitchCase",test:e,consequent:t})},t.switchStatement=function(e,t){return(0,r.default)({type:"SwitchStatement",discriminant:e,cases:t})},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){return(0,r.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})},t.templateElement=function(e,t=!1){return(0,r.default)({type:"TemplateElement",value:e,tail:t})},t.templateLiteral=function(e,t){return(0,r.default)({type:"TemplateLiteral",quasis:e,expressions:t})},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){return(0,r.default)({type:"ThrowStatement",argument:e})},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e,t=null,n=null){return(0,r.default)({type:"TryStatement",block:e,handler:t,finalizer:n})},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){return(0,r.default)({type:"TSArrayType",elementType:e})},t.tSAsExpression=t.tsAsExpression=function(e,t){return(0,r.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e=null,t,n=null){return(0,r.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSConditionalType=t.tsConditionalType=function(e,t,n,s){return(0,r.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:n,falseType:s})},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e=null,t,n=null){return(0,r.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSConstructorType=t.tsConstructorType=function(e=null,t,n=null){return(0,r.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSDeclareFunction=t.tsDeclareFunction=function(e=null,t=null,n,s=null){return(0,r.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:n,returnType:s})},t.tSDeclareMethod=t.tsDeclareMethod=function(e=null,t,n=null,s,i=null){return(0,r.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:n,params:s,returnType:i})},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){return(0,r.default)({type:"TSEnumDeclaration",id:e,members:t})},t.tSEnumMember=t.tsEnumMember=function(e,t=null){return(0,r.default)({type:"TSEnumMember",id:e,initializer:t})},t.tSExportAssignment=t.tsExportAssignment=function(e){return(0,r.default)({type:"TSExportAssignment",expression:e})},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t=null){return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){return(0,r.default)({type:"TSExternalModuleReference",expression:e})},t.tSFunctionType=t.tsFunctionType=function(e=null,t,n=null){return(0,r.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){return(0,r.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})},t.tSImportType=t.tsImportType=function(e,t=null,n=null){return(0,r.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:n})},t.tSIndexSignature=t.tsIndexSignature=function(e,t=null){return(0,r.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){return(0,r.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})},t.tSInferType=t.tsInferType=function(e){return(0,r.default)({type:"TSInferType",typeParameter:e})},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e,t=null){return(0,r.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})},t.tSInterfaceBody=t.tsInterfaceBody=function(e){return(0,r.default)({type:"TSInterfaceBody",body:e})},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t=null,n=null,s){return(0,r.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:n,body:s})},t.tSIntersectionType=t.tsIntersectionType=function(e){return(0,r.default)({type:"TSIntersectionType",types:e})},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){return(0,r.default)({type:"TSLiteralType",literal:e})},t.tSMappedType=t.tsMappedType=function(e,t=null,n=null){return(0,r.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:n})},t.tSMethodSignature=t.tsMethodSignature=function(e,t=null,n,s=null){return(0,r.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:n,typeAnnotation:s,kind:null})},t.tSModuleBlock=t.tsModuleBlock=function(e){return(0,r.default)({type:"TSModuleBlock",body:e})},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){return(0,r.default)({type:"TSModuleDeclaration",id:e,body:t})},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,n=!1){return(0,r.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:n})},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:e})},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){return(0,r.default)({type:"TSNonNullExpression",expression:e})},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){return(0,r.default)({type:"TSOptionalType",typeAnnotation:e})},t.tSParameterProperty=t.tsParameterProperty=function(e){return(0,r.default)({type:"TSParameterProperty",parameter:e})},t.tSParenthesizedType=t.tsParenthesizedType=function(e){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:e})},t.tSPropertySignature=t.tsPropertySignature=function(e,t=null){return(0,r.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,kind:null})},t.tSQualifiedName=t.tsQualifiedName=function(e,t){return(0,r.default)({type:"TSQualifiedName",left:e,right:t})},t.tSRestType=t.tsRestType=function(e){return(0,r.default)({type:"TSRestType",typeAnnotation:e})},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){return(0,r.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){return(0,r.default)({type:"TSTupleType",elementTypes:e})},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t=null,n){return(0,r.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:n})},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:e})},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})},t.tSTypeLiteral=t.tsTypeLiteral=function(e){return(0,r.default)({type:"TSTypeLiteral",members:e})},t.tSTypeOperator=t.tsTypeOperator=function(e){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})},t.tSTypeParameter=t.tsTypeParameter=function(e=null,t=null,n){return(0,r.default)({type:"TSTypeParameter",constraint:e,default:t,name:n})},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){return(0,r.default)({type:"TSTypeParameterDeclaration",params:e})},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){return(0,r.default)({type:"TSTypeParameterInstantiation",params:e})},t.tSTypePredicate=t.tsTypePredicate=function(e,t=null,n=null){return(0,r.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:n})},t.tSTypeQuery=t.tsTypeQuery=function(e,t=null){return(0,r.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})},t.tSTypeReference=t.tsTypeReference=function(e,t=null){return(0,r.default)({type:"TSTypeReference",typeName:e,typeParameters:t})},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){return(0,r.default)({type:"TSUnionType",types:e})},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(e=[]){return(0,r.default)({type:"TupleExpression",elements:e})},t.tupleTypeAnnotation=function(e){return(0,r.default)({type:"TupleTypeAnnotation",types:e})},t.typeAlias=function(e,t=null,n){return(0,r.default)({type:"TypeAlias",id:e,typeParameters:t,right:n})},t.typeAnnotation=function(e){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:e})},t.typeCastExpression=function(e,t){return(0,r.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})},t.typeParameter=function(e=null,t=null,n=null){return(0,r.default)({type:"TypeParameter",bound:e,default:t,variance:n,name:null})},t.typeParameterDeclaration=function(e){return(0,r.default)({type:"TypeParameterDeclaration",params:e})},t.typeParameterInstantiation=function(e){return(0,r.default)({type:"TypeParameterInstantiation",params:e})},t.typeofTypeAnnotation=function(e){return(0,r.default)({type:"TypeofTypeAnnotation",argument:e})},t.unaryExpression=function(e,t,n=!0){return(0,r.default)({type:"UnaryExpression",operator:e,argument:t,prefix:n})},t.unionTypeAnnotation=function(e){return(0,r.default)({type:"UnionTypeAnnotation",types:e})},t.updateExpression=function(e,t,n=!1){return(0,r.default)({type:"UpdateExpression",operator:e,argument:t,prefix:n})},t.v8IntrinsicIdentifier=function(e){return(0,r.default)({type:"V8IntrinsicIdentifier",name:e})},t.variableDeclaration=function(e,t){return(0,r.default)({type:"VariableDeclaration",kind:e,declarations:t})},t.variableDeclarator=function(e,t=null){return(0,r.default)({type:"VariableDeclarator",id:e,init:t})},t.variance=function(e){return(0,r.default)({type:"Variance",kind:e})},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){return(0,r.default)({type:"WhileStatement",test:e,body:t})},t.withStatement=function(e,t){return(0,r.default)({type:"WithStatement",object:e,body:t})},t.yieldExpression=function(e=null,t=!1){return(0,r.default)({type:"YieldExpression",argument:e,delegate:t})};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/validateNode.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function i(e){return(0,r.default)({type:"NumericLiteral",value:e})}function o(e,t=""){return(0,r.default)({type:"RegExpLiteral",pattern:e,flags:t})}function a(e){return(0,r.default)({type:"RestElement",argument:e})}function l(e){return(0,r.default)({type:"SpreadElement",argument:e})}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/uppercase.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:!0,get:function(){return r.anyTypeAnnotation}}),Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:!0,get:function(){return r.argumentPlaceholder}}),Object.defineProperty(t,"ArrayExpression",{enumerable:!0,get:function(){return r.arrayExpression}}),Object.defineProperty(t,"ArrayPattern",{enumerable:!0,get:function(){return r.arrayPattern}}),Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return r.arrayTypeAnnotation}}),Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:!0,get:function(){return r.arrowFunctionExpression}}),Object.defineProperty(t,"AssignmentExpression",{enumerable:!0,get:function(){return r.assignmentExpression}}),Object.defineProperty(t,"AssignmentPattern",{enumerable:!0,get:function(){return r.assignmentPattern}}),Object.defineProperty(t,"AwaitExpression",{enumerable:!0,get:function(){return r.awaitExpression}}),Object.defineProperty(t,"BigIntLiteral",{enumerable:!0,get:function(){return r.bigIntLiteral}}),Object.defineProperty(t,"BinaryExpression",{enumerable:!0,get:function(){return r.binaryExpression}}),Object.defineProperty(t,"BindExpression",{enumerable:!0,get:function(){return r.bindExpression}}),Object.defineProperty(t,"BlockStatement",{enumerable:!0,get:function(){return r.blockStatement}}),Object.defineProperty(t,"BooleanLiteral",{enumerable:!0,get:function(){return r.booleanLiteral}}),Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return r.booleanTypeAnnotation}}),Object.defineProperty(t,"BreakStatement",{enumerable:!0,get:function(){return r.breakStatement}}),Object.defineProperty(t,"CallExpression",{enumerable:!0,get:function(){return r.callExpression}}),Object.defineProperty(t,"CatchClause",{enumerable:!0,get:function(){return r.catchClause}}),Object.defineProperty(t,"ClassAccessorProperty",{enumerable:!0,get:function(){return r.classAccessorProperty}}),Object.defineProperty(t,"ClassBody",{enumerable:!0,get:function(){return r.classBody}}),Object.defineProperty(t,"ClassDeclaration",{enumerable:!0,get:function(){return r.classDeclaration}}),Object.defineProperty(t,"ClassExpression",{enumerable:!0,get:function(){return r.classExpression}}),Object.defineProperty(t,"ClassImplements",{enumerable:!0,get:function(){return r.classImplements}}),Object.defineProperty(t,"ClassMethod",{enumerable:!0,get:function(){return r.classMethod}}),Object.defineProperty(t,"ClassPrivateMethod",{enumerable:!0,get:function(){return r.classPrivateMethod}}),Object.defineProperty(t,"ClassPrivateProperty",{enumerable:!0,get:function(){return r.classPrivateProperty}}),Object.defineProperty(t,"ClassProperty",{enumerable:!0,get:function(){return r.classProperty}}),Object.defineProperty(t,"ConditionalExpression",{enumerable:!0,get:function(){return r.conditionalExpression}}),Object.defineProperty(t,"ContinueStatement",{enumerable:!0,get:function(){return r.continueStatement}}),Object.defineProperty(t,"DebuggerStatement",{enumerable:!0,get:function(){return r.debuggerStatement}}),Object.defineProperty(t,"DecimalLiteral",{enumerable:!0,get:function(){return r.decimalLiteral}}),Object.defineProperty(t,"DeclareClass",{enumerable:!0,get:function(){return r.declareClass}}),Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return r.declareExportAllDeclaration}}),Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:!0,get:function(){return r.declareExportDeclaration}}),Object.defineProperty(t,"DeclareFunction",{enumerable:!0,get:function(){return r.declareFunction}}),Object.defineProperty(t,"DeclareInterface",{enumerable:!0,get:function(){return r.declareInterface}}),Object.defineProperty(t,"DeclareModule",{enumerable:!0,get:function(){return r.declareModule}}),Object.defineProperty(t,"DeclareModuleExports",{enumerable:!0,get:function(){return r.declareModuleExports}}),Object.defineProperty(t,"DeclareOpaqueType",{enumerable:!0,get:function(){return r.declareOpaqueType}}),Object.defineProperty(t,"DeclareTypeAlias",{enumerable:!0,get:function(){return r.declareTypeAlias}}),Object.defineProperty(t,"DeclareVariable",{enumerable:!0,get:function(){return r.declareVariable}}),Object.defineProperty(t,"DeclaredPredicate",{enumerable:!0,get:function(){return r.declaredPredicate}}),Object.defineProperty(t,"Decorator",{enumerable:!0,get:function(){return r.decorator}}),Object.defineProperty(t,"Directive",{enumerable:!0,get:function(){return r.directive}}),Object.defineProperty(t,"DirectiveLiteral",{enumerable:!0,get:function(){return r.directiveLiteral}}),Object.defineProperty(t,"DoExpression",{enumerable:!0,get:function(){return r.doExpression}}),Object.defineProperty(t,"DoWhileStatement",{enumerable:!0,get:function(){return r.doWhileStatement}}),Object.defineProperty(t,"EmptyStatement",{enumerable:!0,get:function(){return r.emptyStatement}}),Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return r.emptyTypeAnnotation}}),Object.defineProperty(t,"EnumBooleanBody",{enumerable:!0,get:function(){return r.enumBooleanBody}}),Object.defineProperty(t,"EnumBooleanMember",{enumerable:!0,get:function(){return r.enumBooleanMember}}),Object.defineProperty(t,"EnumDeclaration",{enumerable:!0,get:function(){return r.enumDeclaration}}),Object.defineProperty(t,"EnumDefaultedMember",{enumerable:!0,get:function(){return r.enumDefaultedMember}}),Object.defineProperty(t,"EnumNumberBody",{enumerable:!0,get:function(){return r.enumNumberBody}}),Object.defineProperty(t,"EnumNumberMember",{enumerable:!0,get:function(){return r.enumNumberMember}}),Object.defineProperty(t,"EnumStringBody",{enumerable:!0,get:function(){return r.enumStringBody}}),Object.defineProperty(t,"EnumStringMember",{enumerable:!0,get:function(){return r.enumStringMember}}),Object.defineProperty(t,"EnumSymbolBody",{enumerable:!0,get:function(){return r.enumSymbolBody}}),Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return r.existsTypeAnnotation}}),Object.defineProperty(t,"ExportAllDeclaration",{enumerable:!0,get:function(){return r.exportAllDeclaration}}),Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return r.exportDefaultDeclaration}}),Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return r.exportDefaultSpecifier}}),Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:!0,get:function(){return r.exportNamedDeclaration}}),Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return r.exportNamespaceSpecifier}}),Object.defineProperty(t,"ExportSpecifier",{enumerable:!0,get:function(){return r.exportSpecifier}}),Object.defineProperty(t,"ExpressionStatement",{enumerable:!0,get:function(){return r.expressionStatement}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return r.file}}),Object.defineProperty(t,"ForInStatement",{enumerable:!0,get:function(){return r.forInStatement}}),Object.defineProperty(t,"ForOfStatement",{enumerable:!0,get:function(){return r.forOfStatement}}),Object.defineProperty(t,"ForStatement",{enumerable:!0,get:function(){return r.forStatement}}),Object.defineProperty(t,"FunctionDeclaration",{enumerable:!0,get:function(){return r.functionDeclaration}}),Object.defineProperty(t,"FunctionExpression",{enumerable:!0,get:function(){return r.functionExpression}}),Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return r.functionTypeAnnotation}}),Object.defineProperty(t,"FunctionTypeParam",{enumerable:!0,get:function(){return r.functionTypeParam}}),Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:!0,get:function(){return r.genericTypeAnnotation}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return r.identifier}}),Object.defineProperty(t,"IfStatement",{enumerable:!0,get:function(){return r.ifStatement}}),Object.defineProperty(t,"Import",{enumerable:!0,get:function(){return r.import}}),Object.defineProperty(t,"ImportAttribute",{enumerable:!0,get:function(){return r.importAttribute}}),Object.defineProperty(t,"ImportDeclaration",{enumerable:!0,get:function(){return r.importDeclaration}}),Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return r.importDefaultSpecifier}}),Object.defineProperty(t,"ImportExpression",{enumerable:!0,get:function(){return r.importExpression}}),Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return r.importNamespaceSpecifier}}),Object.defineProperty(t,"ImportSpecifier",{enumerable:!0,get:function(){return r.importSpecifier}}),Object.defineProperty(t,"IndexedAccessType",{enumerable:!0,get:function(){return r.indexedAccessType}}),Object.defineProperty(t,"InferredPredicate",{enumerable:!0,get:function(){return r.inferredPredicate}}),Object.defineProperty(t,"InterfaceDeclaration",{enumerable:!0,get:function(){return r.interfaceDeclaration}}),Object.defineProperty(t,"InterfaceExtends",{enumerable:!0,get:function(){return r.interfaceExtends}}),Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return r.interfaceTypeAnnotation}}),Object.defineProperty(t,"InterpreterDirective",{enumerable:!0,get:function(){return r.interpreterDirective}}),Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return r.intersectionTypeAnnotation}}),Object.defineProperty(t,"JSXAttribute",{enumerable:!0,get:function(){return r.jsxAttribute}}),Object.defineProperty(t,"JSXClosingElement",{enumerable:!0,get:function(){return r.jsxClosingElement}}),Object.defineProperty(t,"JSXClosingFragment",{enumerable:!0,get:function(){return r.jsxClosingFragment}}),Object.defineProperty(t,"JSXElement",{enumerable:!0,get:function(){return r.jsxElement}}),Object.defineProperty(t,"JSXEmptyExpression",{enumerable:!0,get:function(){return r.jsxEmptyExpression}}),Object.defineProperty(t,"JSXExpressionContainer",{enumerable:!0,get:function(){return r.jsxExpressionContainer}}),Object.defineProperty(t,"JSXFragment",{enumerable:!0,get:function(){return r.jsxFragment}}),Object.defineProperty(t,"JSXIdentifier",{enumerable:!0,get:function(){return r.jsxIdentifier}}),Object.defineProperty(t,"JSXMemberExpression",{enumerable:!0,get:function(){return r.jsxMemberExpression}}),Object.defineProperty(t,"JSXNamespacedName",{enumerable:!0,get:function(){return r.jsxNamespacedName}}),Object.defineProperty(t,"JSXOpeningElement",{enumerable:!0,get:function(){return r.jsxOpeningElement}}),Object.defineProperty(t,"JSXOpeningFragment",{enumerable:!0,get:function(){return r.jsxOpeningFragment}}),Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:!0,get:function(){return r.jsxSpreadAttribute}}),Object.defineProperty(t,"JSXSpreadChild",{enumerable:!0,get:function(){return r.jsxSpreadChild}}),Object.defineProperty(t,"JSXText",{enumerable:!0,get:function(){return r.jsxText}}),Object.defineProperty(t,"LabeledStatement",{enumerable:!0,get:function(){return r.labeledStatement}}),Object.defineProperty(t,"LogicalExpression",{enumerable:!0,get:function(){return r.logicalExpression}}),Object.defineProperty(t,"MemberExpression",{enumerable:!0,get:function(){return r.memberExpression}}),Object.defineProperty(t,"MetaProperty",{enumerable:!0,get:function(){return r.metaProperty}}),Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:!0,get:function(){return r.mixedTypeAnnotation}}),Object.defineProperty(t,"ModuleExpression",{enumerable:!0,get:function(){return r.moduleExpression}}),Object.defineProperty(t,"NewExpression",{enumerable:!0,get:function(){return r.newExpression}}),Object.defineProperty(t,"Noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"NullLiteral",{enumerable:!0,get:function(){return r.nullLiteral}}),Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.nullLiteralTypeAnnotation}}),Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:!0,get:function(){return r.nullableTypeAnnotation}}),Object.defineProperty(t,"NumberLiteral",{enumerable:!0,get:function(){return r.numberLiteral}}),Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.numberLiteralTypeAnnotation}}),Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:!0,get:function(){return r.numberTypeAnnotation}}),Object.defineProperty(t,"NumericLiteral",{enumerable:!0,get:function(){return r.numericLiteral}}),Object.defineProperty(t,"ObjectExpression",{enumerable:!0,get:function(){return r.objectExpression}}),Object.defineProperty(t,"ObjectMethod",{enumerable:!0,get:function(){return r.objectMethod}}),Object.defineProperty(t,"ObjectPattern",{enumerable:!0,get:function(){return r.objectPattern}}),Object.defineProperty(t,"ObjectProperty",{enumerable:!0,get:function(){return r.objectProperty}}),Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return r.objectTypeAnnotation}}),Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return r.objectTypeCallProperty}}),Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:!0,get:function(){return r.objectTypeIndexer}}),Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return r.objectTypeInternalSlot}}),Object.defineProperty(t,"ObjectTypeProperty",{enumerable:!0,get:function(){return r.objectTypeProperty}}),Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return r.objectTypeSpreadProperty}}),Object.defineProperty(t,"OpaqueType",{enumerable:!0,get:function(){return r.opaqueType}}),Object.defineProperty(t,"OptionalCallExpression",{enumerable:!0,get:function(){return r.optionalCallExpression}}),Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return r.optionalIndexedAccessType}}),Object.defineProperty(t,"OptionalMemberExpression",{enumerable:!0,get:function(){return r.optionalMemberExpression}}),Object.defineProperty(t,"ParenthesizedExpression",{enumerable:!0,get:function(){return r.parenthesizedExpression}}),Object.defineProperty(t,"PipelineBareFunction",{enumerable:!0,get:function(){return r.pipelineBareFunction}}),Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return r.pipelinePrimaryTopicReference}}),Object.defineProperty(t,"PipelineTopicExpression",{enumerable:!0,get:function(){return r.pipelineTopicExpression}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return r.placeholder}}),Object.defineProperty(t,"PrivateName",{enumerable:!0,get:function(){return r.privateName}}),Object.defineProperty(t,"Program",{enumerable:!0,get:function(){return r.program}}),Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return r.qualifiedTypeIdentifier}}),Object.defineProperty(t,"RecordExpression",{enumerable:!0,get:function(){return r.recordExpression}}),Object.defineProperty(t,"RegExpLiteral",{enumerable:!0,get:function(){return r.regExpLiteral}}),Object.defineProperty(t,"RegexLiteral",{enumerable:!0,get:function(){return r.regexLiteral}}),Object.defineProperty(t,"RestElement",{enumerable:!0,get:function(){return r.restElement}}),Object.defineProperty(t,"RestProperty",{enumerable:!0,get:function(){return r.restProperty}}),Object.defineProperty(t,"ReturnStatement",{enumerable:!0,get:function(){return r.returnStatement}}),Object.defineProperty(t,"SequenceExpression",{enumerable:!0,get:function(){return r.sequenceExpression}}),Object.defineProperty(t,"SpreadElement",{enumerable:!0,get:function(){return r.spreadElement}}),Object.defineProperty(t,"SpreadProperty",{enumerable:!0,get:function(){return r.spreadProperty}}),Object.defineProperty(t,"StaticBlock",{enumerable:!0,get:function(){return r.staticBlock}}),Object.defineProperty(t,"StringLiteral",{enumerable:!0,get:function(){return r.stringLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.stringLiteralTypeAnnotation}}),Object.defineProperty(t,"StringTypeAnnotation",{enumerable:!0,get:function(){return r.stringTypeAnnotation}}),Object.defineProperty(t,"Super",{enumerable:!0,get:function(){return r.super}}),Object.defineProperty(t,"SwitchCase",{enumerable:!0,get:function(){return r.switchCase}}),Object.defineProperty(t,"SwitchStatement",{enumerable:!0,get:function(){return r.switchStatement}}),Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return r.symbolTypeAnnotation}}),Object.defineProperty(t,"TSAnyKeyword",{enumerable:!0,get:function(){return r.tsAnyKeyword}}),Object.defineProperty(t,"TSArrayType",{enumerable:!0,get:function(){return r.tsArrayType}}),Object.defineProperty(t,"TSAsExpression",{enumerable:!0,get:function(){return r.tsAsExpression}}),Object.defineProperty(t,"TSBigIntKeyword",{enumerable:!0,get:function(){return r.tsBigIntKeyword}}),Object.defineProperty(t,"TSBooleanKeyword",{enumerable:!0,get:function(){return r.tsBooleanKeyword}}),Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return r.tsCallSignatureDeclaration}}),Object.defineProperty(t,"TSConditionalType",{enumerable:!0,get:function(){return r.tsConditionalType}}),Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return r.tsConstructSignatureDeclaration}}),Object.defineProperty(t,"TSConstructorType",{enumerable:!0,get:function(){return r.tsConstructorType}}),Object.defineProperty(t,"TSDeclareFunction",{enumerable:!0,get:function(){return r.tsDeclareFunction}}),Object.defineProperty(t,"TSDeclareMethod",{enumerable:!0,get:function(){return r.tsDeclareMethod}}),Object.defineProperty(t,"TSEnumDeclaration",{enumerable:!0,get:function(){return r.tsEnumDeclaration}}),Object.defineProperty(t,"TSEnumMember",{enumerable:!0,get:function(){return r.tsEnumMember}}),Object.defineProperty(t,"TSExportAssignment",{enumerable:!0,get:function(){return r.tsExportAssignment}}),Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return r.tsExpressionWithTypeArguments}}),Object.defineProperty(t,"TSExternalModuleReference",{enumerable:!0,get:function(){return r.tsExternalModuleReference}}),Object.defineProperty(t,"TSFunctionType",{enumerable:!0,get:function(){return r.tsFunctionType}}),Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return r.tsImportEqualsDeclaration}}),Object.defineProperty(t,"TSImportType",{enumerable:!0,get:function(){return r.tsImportType}}),Object.defineProperty(t,"TSIndexSignature",{enumerable:!0,get:function(){return r.tsIndexSignature}}),Object.defineProperty(t,"TSIndexedAccessType",{enumerable:!0,get:function(){return r.tsIndexedAccessType}}),Object.defineProperty(t,"TSInferType",{enumerable:!0,get:function(){return r.tsInferType}}),Object.defineProperty(t,"TSInstantiationExpression",{enumerable:!0,get:function(){return r.tsInstantiationExpression}}),Object.defineProperty(t,"TSInterfaceBody",{enumerable:!0,get:function(){return r.tsInterfaceBody}}),Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return r.tsInterfaceDeclaration}}),Object.defineProperty(t,"TSIntersectionType",{enumerable:!0,get:function(){return r.tsIntersectionType}}),Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return r.tsIntrinsicKeyword}}),Object.defineProperty(t,"TSLiteralType",{enumerable:!0,get:function(){return r.tsLiteralType}}),Object.defineProperty(t,"TSMappedType",{enumerable:!0,get:function(){return r.tsMappedType}}),Object.defineProperty(t,"TSMethodSignature",{enumerable:!0,get:function(){return r.tsMethodSignature}}),Object.defineProperty(t,"TSModuleBlock",{enumerable:!0,get:function(){return r.tsModuleBlock}}),Object.defineProperty(t,"TSModuleDeclaration",{enumerable:!0,get:function(){return r.tsModuleDeclaration}}),Object.defineProperty(t,"TSNamedTupleMember",{enumerable:!0,get:function(){return r.tsNamedTupleMember}}),Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return r.tsNamespaceExportDeclaration}}),Object.defineProperty(t,"TSNeverKeyword",{enumerable:!0,get:function(){return r.tsNeverKeyword}}),Object.defineProperty(t,"TSNonNullExpression",{enumerable:!0,get:function(){return r.tsNonNullExpression}}),Object.defineProperty(t,"TSNullKeyword",{enumerable:!0,get:function(){return r.tsNullKeyword}}),Object.defineProperty(t,"TSNumberKeyword",{enumerable:!0,get:function(){return r.tsNumberKeyword}}),Object.defineProperty(t,"TSObjectKeyword",{enumerable:!0,get:function(){return r.tsObjectKeyword}}),Object.defineProperty(t,"TSOptionalType",{enumerable:!0,get:function(){return r.tsOptionalType}}),Object.defineProperty(t,"TSParameterProperty",{enumerable:!0,get:function(){return r.tsParameterProperty}}),Object.defineProperty(t,"TSParenthesizedType",{enumerable:!0,get:function(){return r.tsParenthesizedType}}),Object.defineProperty(t,"TSPropertySignature",{enumerable:!0,get:function(){return r.tsPropertySignature}}),Object.defineProperty(t,"TSQualifiedName",{enumerable:!0,get:function(){return r.tsQualifiedName}}),Object.defineProperty(t,"TSRestType",{enumerable:!0,get:function(){return r.tsRestType}}),Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:!0,get:function(){return r.tsSatisfiesExpression}}),Object.defineProperty(t,"TSStringKeyword",{enumerable:!0,get:function(){return r.tsStringKeyword}}),Object.defineProperty(t,"TSSymbolKeyword",{enumerable:!0,get:function(){return r.tsSymbolKeyword}}),Object.defineProperty(t,"TSThisType",{enumerable:!0,get:function(){return r.tsThisType}}),Object.defineProperty(t,"TSTupleType",{enumerable:!0,get:function(){return r.tsTupleType}}),Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return r.tsTypeAliasDeclaration}}),Object.defineProperty(t,"TSTypeAnnotation",{enumerable:!0,get:function(){return r.tsTypeAnnotation}}),Object.defineProperty(t,"TSTypeAssertion",{enumerable:!0,get:function(){return r.tsTypeAssertion}}),Object.defineProperty(t,"TSTypeLiteral",{enumerable:!0,get:function(){return r.tsTypeLiteral}}),Object.defineProperty(t,"TSTypeOperator",{enumerable:!0,get:function(){return r.tsTypeOperator}}),Object.defineProperty(t,"TSTypeParameter",{enumerable:!0,get:function(){return r.tsTypeParameter}}),Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return r.tsTypeParameterDeclaration}}),Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return r.tsTypeParameterInstantiation}}),Object.defineProperty(t,"TSTypePredicate",{enumerable:!0,get:function(){return r.tsTypePredicate}}),Object.defineProperty(t,"TSTypeQuery",{enumerable:!0,get:function(){return r.tsTypeQuery}}),Object.defineProperty(t,"TSTypeReference",{enumerable:!0,get:function(){return r.tsTypeReference}}),Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:!0,get:function(){return r.tsUndefinedKeyword}}),Object.defineProperty(t,"TSUnionType",{enumerable:!0,get:function(){return r.tsUnionType}}),Object.defineProperty(t,"TSUnknownKeyword",{enumerable:!0,get:function(){return r.tsUnknownKeyword}}),Object.defineProperty(t,"TSVoidKeyword",{enumerable:!0,get:function(){return r.tsVoidKeyword}}),Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:!0,get:function(){return r.taggedTemplateExpression}}),Object.defineProperty(t,"TemplateElement",{enumerable:!0,get:function(){return r.templateElement}}),Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return r.templateLiteral}}),Object.defineProperty(t,"ThisExpression",{enumerable:!0,get:function(){return r.thisExpression}}),Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:!0,get:function(){return r.thisTypeAnnotation}}),Object.defineProperty(t,"ThrowStatement",{enumerable:!0,get:function(){return r.throwStatement}}),Object.defineProperty(t,"TopicReference",{enumerable:!0,get:function(){return r.topicReference}}),Object.defineProperty(t,"TryStatement",{enumerable:!0,get:function(){return r.tryStatement}}),Object.defineProperty(t,"TupleExpression",{enumerable:!0,get:function(){return r.tupleExpression}}),Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:!0,get:function(){return r.tupleTypeAnnotation}}),Object.defineProperty(t,"TypeAlias",{enumerable:!0,get:function(){return r.typeAlias}}),Object.defineProperty(t,"TypeAnnotation",{enumerable:!0,get:function(){return r.typeAnnotation}}),Object.defineProperty(t,"TypeCastExpression",{enumerable:!0,get:function(){return r.typeCastExpression}}),Object.defineProperty(t,"TypeParameter",{enumerable:!0,get:function(){return r.typeParameter}}),Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:!0,get:function(){return r.typeParameterDeclaration}}),Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:!0,get:function(){return r.typeParameterInstantiation}}),Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return r.typeofTypeAnnotation}}),Object.defineProperty(t,"UnaryExpression",{enumerable:!0,get:function(){return r.unaryExpression}}),Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:!0,get:function(){return r.unionTypeAnnotation}}),Object.defineProperty(t,"UpdateExpression",{enumerable:!0,get:function(){return r.updateExpression}}),Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return r.v8IntrinsicIdentifier}}),Object.defineProperty(t,"VariableDeclaration",{enumerable:!0,get:function(){return r.variableDeclaration}}),Object.defineProperty(t,"VariableDeclarator",{enumerable:!0,get:function(){return r.variableDeclarator}}),Object.defineProperty(t,"Variance",{enumerable:!0,get:function(){return r.variance}}),Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:!0,get:function(){return r.voidTypeAnnotation}}),Object.defineProperty(t,"WhileStatement",{enumerable:!0,get:function(){return r.whileStatement}}),Object.defineProperty(t,"WithStatement",{enumerable:!0,get:function(){return r.withStatement}}),Object.defineProperty(t,"YieldExpression",{enumerable:!0,get:function(){return r.yieldExpression}});var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildUndefinedNode=function(){return(0,r.unaryExpression)("void",(0,r.numericLiteral)(0),!0)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/react/buildChildren.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let n=0;n<e.children.length;n++){let i=e.children[n];(0,r.isJSXText)(i)?(0,s.default)(i,t):((0,r.isJSXExpressionContainer)(i)&&(i=i.expression),(0,r.isJSXEmptyExpression)(i)||t.push(i))}return t};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.map((e=>(0,i.isTSTypeAnnotation)(e)?e.typeAnnotation:e)),n=(0,s.default)(t);return 1===n.length?n[0]:(0,r.tsUnionType)(n)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/validateNode.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=s.BUILDER_KEYS[e.type];for(const n of t)(0,r.default)(e,n,e[n]);return e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/clone.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeep.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!0,!0)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0,n=!1){return l(e,t,n,new Map)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");const{hasOwn:i}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function o(e,t,n,r){return e&&"string"==typeof e.type?l(e,t,n,r):e}function a(e,t,n,r){return Array.isArray(e)?e.map((e=>o(e,t,n,r))):o(e,t,n,r)}function l(e,t=!0,n=!1,o){if(!e)return e;const{type:l}=e,c={type:e.type};if((0,s.isIdentifier)(e))c.name=e.name,i(e,"optional")&&"boolean"==typeof e.optional&&(c.optional=e.optional),i(e,"typeAnnotation")&&(c.typeAnnotation=t?a(e.typeAnnotation,!0,n,o):e.typeAnnotation);else{if(!i(r.NODE_FIELDS,l))throw new Error(`Unknown node type: "${l}"`);for(const u of Object.keys(r.NODE_FIELDS[l]))i(e,u)&&(c[u]=t?(0,s.isFile)(e)&&"comments"===u?p(e.comments,t,n,o):a(e[u],!0,n,o):e[u])}return i(e,"loc")&&(c.loc=n?null:e.loc),i(e,"leadingComments")&&(c.leadingComments=p(e.leadingComments,t,n,o)),i(e,"innerComments")&&(c.innerComments=p(e.innerComments,t,n,o)),i(e,"trailingComments")&&(c.trailingComments=p(e.trailingComments,t,n,o)),i(e,"extra")&&(c.extra=Object.assign({},e.extra)),c}function p(e,t,n,r){return e&&t?e.map((e=>{const t=r.get(e);if(t)return t;const{type:s,value:i,loc:o}=e,a={type:s,value:i,loc:o};return n&&(a.loc=null),r.set(e,a),a})):e}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1,!0)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComment.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,s){return(0,r.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:n}])};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!n||!e)return e;const r=`${t}Comments`;return e[r]?"leading"===t?e[r]=n.concat(e[r]):e[r].push(...n):e[r]=n,e}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("innerComments",e,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("leadingComments",e,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("trailingComments",e,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t),(0,s.default)(e,t),(0,i.default)(e,t),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/removeComments.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.COMMENT_KEYS.forEach((t=>{e[t]=null})),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/generated/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");t.STANDARDIZED_TYPES=r.FLIPPED_ALIAS_KEYS.Standardized,t.EXPRESSION_TYPES=r.FLIPPED_ALIAS_KEYS.Expression,t.BINARY_TYPES=r.FLIPPED_ALIAS_KEYS.Binary,t.SCOPABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Scopable,t.BLOCKPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.BlockParent,t.BLOCK_TYPES=r.FLIPPED_ALIAS_KEYS.Block,t.STATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.Statement,t.TERMINATORLESS_TYPES=r.FLIPPED_ALIAS_KEYS.Terminatorless,t.COMPLETIONSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.CompletionStatement,t.CONDITIONAL_TYPES=r.FLIPPED_ALIAS_KEYS.Conditional,t.LOOP_TYPES=r.FLIPPED_ALIAS_KEYS.Loop,t.WHILE_TYPES=r.FLIPPED_ALIAS_KEYS.While,t.EXPRESSIONWRAPPER_TYPES=r.FLIPPED_ALIAS_KEYS.ExpressionWrapper,t.FOR_TYPES=r.FLIPPED_ALIAS_KEYS.For,t.FORXSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.ForXStatement,t.FUNCTION_TYPES=r.FLIPPED_ALIAS_KEYS.Function,t.FUNCTIONPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.FunctionParent,t.PUREISH_TYPES=r.FLIPPED_ALIAS_KEYS.Pureish,t.DECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.Declaration,t.PATTERNLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.PatternLike,t.LVAL_TYPES=r.FLIPPED_ALIAS_KEYS.LVal,t.TSENTITYNAME_TYPES=r.FLIPPED_ALIAS_KEYS.TSEntityName,t.LITERAL_TYPES=r.FLIPPED_ALIAS_KEYS.Literal,t.IMMUTABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Immutable,t.USERWHITESPACABLE_TYPES=r.FLIPPED_ALIAS_KEYS.UserWhitespacable,t.METHOD_TYPES=r.FLIPPED_ALIAS_KEYS.Method,t.OBJECTMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.ObjectMember,t.PROPERTY_TYPES=r.FLIPPED_ALIAS_KEYS.Property,t.UNARYLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.UnaryLike,t.PATTERN_TYPES=r.FLIPPED_ALIAS_KEYS.Pattern,t.CLASS_TYPES=r.FLIPPED_ALIAS_KEYS.Class;const s=t.IMPORTOREXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;t.EXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ExportDeclaration,t.MODULESPECIFIER_TYPES=r.FLIPPED_ALIAS_KEYS.ModuleSpecifier,t.ACCESSOR_TYPES=r.FLIPPED_ALIAS_KEYS.Accessor,t.PRIVATE_TYPES=r.FLIPPED_ALIAS_KEYS.Private,t.FLOW_TYPES=r.FLIPPED_ALIAS_KEYS.Flow,t.FLOWTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowType,t.FLOWBASEANNOTATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,t.FLOWDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowDeclaration,t.FLOWPREDICATE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowPredicate,t.ENUMBODY_TYPES=r.FLIPPED_ALIAS_KEYS.EnumBody,t.ENUMMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.EnumMember,t.JSX_TYPES=r.FLIPPED_ALIAS_KEYS.JSX,t.MISCELLANEOUS_TYPES=r.FLIPPED_ALIAS_KEYS.Miscellaneous,t.TYPESCRIPT_TYPES=r.FLIPPED_ALIAS_KEYS.TypeScript,t.TSTYPEELEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.TSTypeElement,t.TSTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSType,t.TSBASETYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSBaseType,t.MODULEDECLARATION_TYPES=s},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0,t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const n=t.LOGICAL_OPERATORS=["||","&&","??"],r=(t.UPDATE_OPERATORS=["++","--"],t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),s=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],i=t.COMPARISON_BINARY_OPERATORS=[...s,"in","instanceof"],o=t.BOOLEAN_BINARY_OPERATORS=[...i,...r],a=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],l=(t.BINARY_OPERATORS=["+",...a,...o,"|>"],t.ASSIGNMENT_OPERATORS=["=","+=",...a.map((e=>e+"=")),...n.map((e=>e+"="))],t.BOOLEAN_UNARY_OPERATORS=["delete","!"]),p=t.NUMBER_UNARY_OPERATORS=["+","-","~"],c=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void","throw",...l,...p,...c],t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),t.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/ensureBlock.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){const n=(0,r.default)(e[t],e);return e[t]=n,n};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=[];let p=!0;for(const c of t)if((0,s.isEmptyStatement)(c)||(p=!1),(0,s.isExpression)(c))l.push(c);else if((0,s.isExpressionStatement)(c))l.push(c.expression);else if((0,s.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(const e of c.declarations){const t=(0,r.default)(e);for(const e of Object.keys(t))n.push({kind:c.kind,id:(0,a.default)(t[e])});e.init&&l.push((0,i.assignmentExpression)("=",e.id,e.init))}p=!0}else if((0,s.isIfStatement)(c)){const t=c.consequent?e([c.consequent],n):(0,o.buildUndefinedNode)(),r=c.alternate?e([c.alternate],n):(0,o.buildUndefinedNode)();if(!t||!r)return;l.push((0,i.conditionalExpression)(c.test,t,r))}else if((0,s.isBlockStatement)(c)){const t=e(c.body,n);if(!t)return;l.push(t)}else{if(!(0,s.isEmptyStatement)(c))return;0===t.indexOf(c)&&(p=!0)}return p&&l.push((0,o.buildUndefinedNode)()),1===l.length?l[0]:(0,i.sequenceExpression)(l)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js"),a=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"eval"!==(e=(0,r.default)(e))&&"arguments"!==e||(e="_"+e),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.isBlockStatement)(e))return e;let n=[];return(0,r.isEmptyStatement)(e)?n=[]:((0,r.isStatement)(e)||(e=(0,r.isFunction)(t)?(0,s.returnStatement)(e):(0,s.expressionStatement)(e)),n=[e]),(0,s.blockStatement)(n)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toComputedKey.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){return!e.computed&&(0,r.isIdentifier)(t)&&(t=(0,s.stringLiteral)(t.name)),t};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toExpression.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");t.default=function(e){if((0,r.isExpressionStatement)(e)&&(e=e.expression),(0,r.isExpression)(e))return e;if((0,r.isClass)(e)?e.type="ClassExpression":(0,r.isFunction)(e)&&(e.type="FunctionExpression"),!(0,r.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e+="";let t="";for(const n of e)t+=(0,s.isIdentifierChar)(n.codePointAt(0))?n:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,r.default)(t)||(t=`_${t}`),t||"_"};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),s=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toKeyAlias.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function o(e,t=e.key){let n;return"method"===e.kind?o.increment()+"":(n=(0,r.isIdentifier)(t)?t.name:(0,r.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,i.default)((0,s.default)(t))),e.computed&&(n=`[${n}]`),e.static&&(n=`static:${n}`),n)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(e,t,n)=>{t.default=function(e,t){if(null==e||!e.length)return;const n=[],s=(0,r.default)(e,n);if(s){for(const e of n)t.push(e);return s}};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toStatement.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");t.default=function(e,t){if((0,r.isStatement)(e))return e;let n,i=!1;if((0,r.isClass)(e))i=!0,n="ClassDeclaration";else if((0,r.isFunction)(e))i=!0,n="FunctionDeclaration";else if((0,r.isAssignmentExpression)(e))return(0,s.expressionStatement)(e);if(i&&!e.id&&(n=!1),!n){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=n,e}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/valueToNode.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");t.default=function e(t){if(void 0===t)return(0,s.identifier)("undefined");if(!0===t||!1===t)return(0,s.booleanLiteral)(t);if(null===t)return(0,s.nullLiteral)();if("string"==typeof t)return(0,s.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,s.numericLiteral)(Math.abs(t));else{let n;n=Number.isNaN(t)?(0,s.numericLiteral)(0):(0,s.numericLiteral)(1),e=(0,s.binaryExpression)("/",n,(0,s.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,s.unaryExpression)("-",e)),e}if(function(e){return"[object RegExp]"===i(e)}(t)){const e=t.source,n=t.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(e,n)}if(Array.isArray(t))return(0,s.arrayExpression)(t.map(e));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){const n=[];for(const i of Object.keys(t)){let o;o=(0,r.default)(i)?(0,s.identifier)(i):(0,s.stringLiteral)(i),n.push((0,s.objectProperty)(o,e(t[i])))}return(0,s.objectExpression)(n)}throw new Error("don't know how to turn this value into a node")};const i=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),i=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js"),o=n("./node_modules/.pnpm/@babel+helper-string-parser@7.24.7/node_modules/@babel/helper-string-parser/lib/index.js"),a=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js"),l=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");const p=(0,l.defineAliasedType)("Standardized");p("ArrayExpression",{fields:{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),p("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,l.assertValueType)("string");const e=(0,l.assertOneOf)(...a.ASSIGNMENT_OPERATORS),t=(0,l.assertOneOf)("=");return function(n,s,i){((0,r.default)("Pattern",n.left)?t:e)(n,s,i)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),p("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,l.assertNodeType)("Expression"),t=(0,l.assertNodeType)("Expression","PrivateName");return Object.assign((function(n,r,s){("in"===n.operator?t:e)(n,r,s)}),{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),p("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),p("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}}),p("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),p("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),p("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),p("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),p("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),p("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),p("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),p("DebuggerStatement",{aliases:["Statement"]}),p("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),p("EmptyStatement",{aliases:["Statement"]}),p("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),p("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")):Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,l.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:!0}}}),p("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),p("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},update:{validate:(0,l.assertNodeType)("Expression"),optional:!0},body:{validate:(0,l.assertNodeType)("Statement")}}});const c=()=>({params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});t.functionCommon=c;const u=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});t.functionTypeAnnotationCommon=u;const d=()=>Object.assign({},c(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=d,p("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},d(),u(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,l.assertNodeType)("Identifier");return function(t,n,s){(0,r.default)("ExportDefaultDeclaration",t)||e(s,"id",s.id)}}()}),p("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),u(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const h=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0}});t.patternLikeCommon=h,p("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},h(),{name:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,s.default)(n,!1))throw new TypeError(`"${n}" is not a valid identifier name`)}),{type:"string"}))}}),validate(e,t,n){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,o]=s,a={computed:!1};if("property"===o){if((0,r.default)("MemberExpression",e,a))return;if((0,r.default)("OptionalMemberExpression",e,a))return}else if("key"===o){if((0,r.default)("Property",e,a))return;if((0,r.default)("Method",e,a))return}else if("exported"===o){if((0,r.default)("ExportSpecifier",e))return}else if("imported"===o){if((0,r.default)("ImportSpecifier",e,{imported:n}))return}else if("meta"===o&&(0,r.default)("MetaProperty",e,{meta:n}))return;if(((0,i.isKeyword)(n.name)||(0,i.isReservedWord)(n.name,!1))&&"this"!==n.name)throw new TypeError(`"${n.name}" is not a valid identifier`)}}),p("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,l.assertNodeType)("Statement")}}}),p("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}}),p("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.chain)((0,l.assertValueType)("number"),Object.assign((function(e,t,n){}),{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),p("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,n){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/[^gimsuy]/.exec(n);if(r)throw new TypeError(`"${r[0]}" is not a valid RegExp flag`)}),{type:"string"})),default:""}}}),p("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}}),p("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier","PrivateName"),t=(0,l.assertNodeType)("Expression"),n=function(n,r,s){(n.computed?t:e)(n,r,s)};return n.oneOfNodeTypes=["Expression","Identifier","PrivateName"],n}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertOneOf)(!0,!1),optional:!0}})}),p("NewExpression",{inherits:"CallExpression"}),p("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),p("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),p("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},c(),u(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression"),n=function(n,r,s){(n.computed?t:e)(n,r,s)};return n.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],n}()},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),p("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,l.assertNodeType)("Expression");return Object.assign((function(n,r,s){(n.computed?t:e)(n,r,s)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&n&&e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}),{type:"boolean"}),(function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&n&&!(0,r.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")})),default:!1},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,l.assertNodeType)("Expression");return function(n,s,i){process.env.BABEL_TYPES_8_BREAKING&&((0,r.default)("ObjectPattern",n)?e:t)(i,"value",i.value)}}()}),p("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},h(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/(\w+)\[(\d+)\]/.exec(t);if(!n)throw new Error("Internal Babel error: malformed key.");const[,r,s]=n;if(e[r].length>+s+1)throw new TypeError(`RestElement must be last element of ${r}`)}}),p("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),p("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression")))}},aliases:["Expression"]}),p("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}}),p("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}}}),p("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("SwitchCase")))}}}),p("ThisExpression",{aliases:["Expression"]}),p("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),p("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign((function(e){if(process.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,l.assertNodeType)("BlockStatement")}}}),p("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),p("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression"):(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),p("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("VariableDeclarator")))}},validate(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&(0,r.default)("ForXStatement",e,{left:n})&&1!==n.declarations.length)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}),p("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)("LVal");const e=(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),t=(0,l.assertNodeType)("Identifier");return function(n,r,s){(n.init?e:t)(n,r,s)}}()},definite:{optional:!0,validate:(0,l.assertValueType)("boolean")},init:{optional:!0,validate:(0,l.assertNodeType)("Expression")}}}),p("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),p("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),p("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0}})}),p("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),p("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),u(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),p("ClassBody",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),p("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0}}}),p("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0}},validate:function(){const e=(0,l.assertNodeType)("Identifier");return function(t,n,s){process.env.BABEL_TYPES_8_BREAKING&&((0,r.default)("ExportDefaultDeclaration",t)||e(s,"id",s.id))}}()}),p("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))}}}),p("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,l.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}}),p("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign((function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&n&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&n&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)(function(){const e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,l.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(n,r,s){(n.source?e:t)(n,r,s)}:e}()))},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))}}),p("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:!0}}}),p("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)("VariableDeclaration","LVal");const e=(0,l.assertNodeType)("VariableDeclaration"),t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(n,s,i){(0,r.default)("VariableDeclaration",i)?e(n,s,i):t(n,s,i)}}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:!1}}}),p("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,l.assertValueType)("boolean")},phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},specifiers:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}}}),p("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),p("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),p("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}}}),p("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},source:{validate:(0,l.assertNodeType)("Expression")},options:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),p("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign((function(e,t,n){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(n.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta"}if(!(0,r.default)("Identifier",e.property,{name:s}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,l.assertNodeType)("Identifier")}}});const f=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression");return function(n,r,s){(n.computed?t:e)(n,r,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=f;const m=()=>Object.assign({},c(),f(),{params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=m,p("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},m(),u(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})}),p("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("RestElement","ObjectProperty")))}})}),p("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),p("Super",{aliases:["Expression"]}),p("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),p("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:!0}}),(function(e){const t=e.value.raw;let n=!1;const r=()=>{throw new Error("Internal @babel/types error.")},{str:s,firstInvalidLoc:i}=(0,o.readStringContents)("template",t,0,0,0,{unterminated(){n=!0},strictNumericEscape:r,invalidEscapeSequence:r,numericSeparatorInEscapeSequence:r,unexpectedNumericSeparator:r,invalidDigit:r,invalidCodePoint:r});if(!n)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),p("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TemplateElement")))},expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),(function(e,t,n){if(e.quasis.length!==n.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${n.length+1} quasis but got ${e.quasis.length}`)}))}}}),p("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,n){if(process.env.BABEL_TYPES_8_BREAKING&&n&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,l.assertNodeType)("Expression")}}}),p("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),p("Import",{aliases:["Expression"]}),p("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}}),p("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier"),t=(0,l.assertNodeType)("Expression");return Object.assign((function(n,r,s){(n.computed?t:e)(n,r,s)}),{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)("boolean")}}}),p("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,l.assertNodeType)("Expression")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)("boolean")},typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),p("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},f(),{value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}})}),p("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},f(),{key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,l.assertNodeType)("Expression");return function(n,r,s){(n.computed?t:e)(n,r,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}})}),p("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,l.assertNodeType)("PrivateName")},value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,l.assertValueType)("boolean"),default:!1},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}}}),p("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},m(),u(),{kind:{validate:(0,l.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,l.assertNodeType)("PrivateName")},body:{validate:(0,l.assertNodeType)("BlockStatement")}})}),p("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")}}}),p("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0,t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/experimental.js":(e,t,n)=>{var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");(0,r.default)("ArgumentPlaceholder",{}),(0,r.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,r.assertNodeType)("Expression")},callee:{validate:(0,r.assertNodeType)("Expression")}}:{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}}),(0,r.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,r.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,r.assertNodeType)("StringLiteral")}}}),(0,r.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,r.assertNodeType)("BlockStatement")},async:{validate:(0,r.assertValueType)("boolean"),default:!1}}}),(0,r.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,r.default)("TupleExpression",{fields:{elements:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,r.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,r.assertNodeType)("Program")}},aliases:["Expression"]}),(0,r.default)("TopicReference",{aliases:["Expression"]}),(0,r.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/flow.js":(e,t,n)=>{var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");const s=(0,r.defineAliasedType)("Flow"),i=e=>{const t="DeclareClass"===e;s(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),extends:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends")),implements:(0,r.validateOptional)((0,r.arrayOfType)("ClassImplements"))}:{},{body:(0,r.validateType)("ObjectTypeAnnotation")})})};s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,r.validateType)("FlowType")}}),s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),s("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),predicate:(0,r.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)(["Identifier","StringLiteral"]),body:(0,r.validateType)("BlockStatement"),kind:(0,r.validateOptional)((0,r.assertOneOf)("CommonJS","ES"))}}),s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,r.validateType)("TypeAnnotation")}}),s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),right:(0,r.validateType)("FlowType")}}),s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,r.validateOptionalType)("FlowType"),impltype:(0,r.validateOptionalType)("FlowType")}}),s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier")}}),s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,r.validateOptionalType)("Flow"),specifiers:(0,r.validateOptional)((0,r.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,r.validateOptionalType)("StringLiteral"),default:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),s("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,r.validateType)("StringLiteral"),exportKind:(0,r.validateOptional)((0,r.assertOneOf)("type","value"))}}),s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,r.validateType)("Flow")}}),s("ExistsTypeAnnotation",{aliases:["FlowType"]}),s("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),params:(0,r.validate)((0,r.arrayOfType)("FunctionTypeParam")),rest:(0,r.validateOptionalType)("FunctionTypeParam"),this:(0,r.validateOptionalType)("FunctionTypeParam"),returnType:(0,r.validateType)("FlowType")}}),s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,r.validateOptionalType)("Identifier"),typeAnnotation:(0,r.validateType)("FlowType"),optional:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),s("InferredPredicate",{aliases:["FlowPredicate"]}),s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends")),body:(0,r.validateType)("ObjectTypeAnnotation")}}),s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,r.validateType)("FlowType")}}),s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("number"))}}),s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,r.validate)((0,r.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,r.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,r.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,r.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,r.assertValueType)("boolean"),default:!1},inexact:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),s("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,r.validateType)("Identifier"),value:(0,r.validateType)("FlowType"),optional:(0,r.validate)((0,r.assertValueType)("boolean")),static:(0,r.validate)((0,r.assertValueType)("boolean")),method:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,r.validateType)("FlowType"),static:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,r.validateOptionalType)("Identifier"),key:(0,r.validateType)("FlowType"),value:(0,r.validateType)("FlowType"),static:(0,r.validate)((0,r.assertValueType)("boolean")),variance:(0,r.validateOptionalType)("Variance")}}),s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,r.validateType)(["Identifier","StringLiteral"]),value:(0,r.validateType)("FlowType"),kind:(0,r.validate)((0,r.assertOneOf)("init","get","set")),static:(0,r.validate)((0,r.assertValueType)("boolean")),proto:(0,r.validate)((0,r.assertValueType)("boolean")),optional:(0,r.validate)((0,r.assertValueType)("boolean")),variance:(0,r.validateOptionalType)("Variance"),method:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,r.validateType)("FlowType")}}),s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,r.validateOptionalType)("FlowType"),impltype:(0,r.validateType)("FlowType")}}),s("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,r.validateType)("Identifier"),qualification:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("string"))}}),s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,r.validateType)("FlowType")}}),s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),right:(0,r.validateType)("FlowType")}}),s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("FlowType")}}),s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,r.validateType)("Expression"),typeAnnotation:(0,r.validateType)("TypeAnnotation")}}),s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,r.validate)((0,r.assertValueType)("string")),bound:(0,r.validateOptionalType)("TypeAnnotation"),default:(0,r.validateOptionalType)("FlowType"),variance:(0,r.validateOptionalType)("Variance")}}),s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,r.validate)((0,r.arrayOfType)("TypeParameter"))}}),s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),s("Variance",{builder:["kind"],fields:{kind:(0,r.validate)((0,r.assertOneOf)("minus","plus"))}}),s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,r.validateType)("Identifier"),body:(0,r.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,r.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),s("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("BooleanLiteral")}}),s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("NumericLiteral")}}),s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("StringLiteral")}}),s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier")}}),s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,r.validateType)("FlowType"),indexType:(0,r.validateType)("FlowType")}}),s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,r.validateType)("FlowType"),indexType:(0,r.validateType)("FlowType"),optional:(0,r.validate)((0,r.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return s.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return s.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return o.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return s.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return s.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return s.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return s.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return s.VISITOR_KEYS}});var r=n("./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js");n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js"),n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/flow.js"),n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/jsx.js"),n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/misc.js"),n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/experimental.js"),n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/typescript.js");var s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(o.DEPRECATED_ALIASES).forEach((e=>{s.FLIPPED_ALIAS_KEYS[e]=s.FLIPPED_ALIAS_KEYS[o.DEPRECATED_ALIASES[e]]})),r(s.VISITOR_KEYS),r(s.ALIAS_KEYS),r(s.FLIPPED_ALIAS_KEYS),r(s.NODE_FIELDS),r(s.BUILDER_KEYS),r(s.DEPRECATED_KEYS),r(i.PLACEHOLDERS_ALIAS),r(i.PLACEHOLDERS_FLIPPED_ALIAS),t.TYPES=[].concat(Object.keys(s.VISITOR_KEYS),Object.keys(s.FLIPPED_ALIAS_KEYS),Object.keys(s.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/jsx.js":(e,t,n)=>{var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");const s=(0,r.defineAliasedType)("JSX");s("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,r.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),s("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),s("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,r.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,r.assertNodeType)("JSXClosingElement")},children:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,r.assertValueType)("boolean"),optional:!0}})}),s("JSXEmptyExpression",{}),s("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression","JSXEmptyExpression")}}}),s("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),s("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}}),s("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,r.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),s("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,r.assertNodeType)("JSXIdentifier")},name:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),s("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),s("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),s("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),s("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,r.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,r.assertNodeType)("JSXClosingFragment")},children:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),s("JSXOpeningFragment",{aliases:["Immutable"]}),s("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/misc.js":(e,t,n)=>{var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js");const i=(0,r.defineAliasedType)("Miscellaneous");i("Noop",{visitor:[]}),i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,r.assertNodeType)("Identifier")},expectedNode:{validate:(0,r.assertOneOf)(...s.PLACEHOLDERS)}}}),i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/placeholders.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js");const s=t.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],i=t.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const e of s){const t=r.ALIAS_KEYS[e];null!=t&&t.length&&(i[e]=t)}const o=t.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(i).forEach((e=>{i[e].forEach((t=>{hasOwnProperty.call(o,t)||(o[t]=[]),o[t].push(e)}))}))},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/typescript.js":(e,t,n)=>{var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/core.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js");const o=(0,r.defineAliasedType)("TypeScript"),a=(0,r.assertValueType)("boolean"),l=()=>({returnType:{validate:(0,r.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});o("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,r.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,r.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,r.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,r.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}}}),o("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),l())}),o("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),l())}),o("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,r.validateType)("TSEntityName"),right:(0,r.validateType)("Identifier")}});const p=()=>({typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,r.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}),c={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:p()};o("TSCallSignatureDeclaration",c),o("TSConstructSignatureDeclaration",c);const u=()=>({key:(0,r.validateType)("Expression"),computed:{default:!1},optional:(0,r.validateOptional)(a)});o("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},u(),{readonly:(0,r.validateOptional)(a),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,r.assertOneOf)("get","set")}})}),o("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},p(),u(),{kind:{validate:(0,r.assertOneOf)("method","get","set")}})}),o("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,r.validateOptional)(a),static:(0,r.validateOptional)(a),parameters:(0,r.validateArrayOfType)("Identifier"),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}});const d=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of d)o(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});o("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const h={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};o("TSFunctionType",Object.assign({},h,{fields:p()})),o("TSConstructorType",Object.assign({},h,{fields:Object.assign({},p(),{abstract:(0,r.validateOptional)(a)})})),o("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),o("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,r.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),asserts:(0,r.validateOptional)(a)}}),o("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,r.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),o("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,r.validateArrayOfType)("TSTypeElement")}}),o("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,r.validateType)("TSType")}}),o("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,r.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),o("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),o("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),o("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,r.validateType)("Identifier"),optional:{validate:a,default:!1},elementType:(0,r.validateType)("TSType")}});const f={aliases:["TSType"],visitor:["types"],fields:{types:(0,r.validateArrayOfType)("TSType")}};o("TSUnionType",f),o("TSIntersectionType",f),o("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,r.validateType)("TSType"),extendsType:(0,r.validateType)("TSType"),trueType:(0,r.validateType)("TSType"),falseType:(0,r.validateType)("TSType")}}),o("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,r.validateType)("TSTypeParameter")}}),o("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),o("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,r.validate)((0,r.assertValueType)("string")),typeAnnotation:(0,r.validateType)("TSType")}}),o("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,r.validateType)("TSType"),indexType:(0,r.validateType)("TSType")}}),o("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,r.validateType)("TSTypeParameter"),optional:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,r.validateOptionalType)("TSType"),nameType:(0,r.validateOptionalType)("TSType")}}),o("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,r.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,r.assertOneOf)("-"),n=(0,r.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function s(r,s,o){(0,i.default)("UnaryExpression",o)?(t(o,"operator",o.operator),e(o,"argument",o.argument)):n(r,s,o)}return s.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],s}()}}}),o("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),o("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,r.validateOptional)(a),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,r.validateOptional)((0,r.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,r.validateType)("TSInterfaceBody")}}),o("TSInterfaceBody",{visitor:["body"],fields:{body:(0,r.validateArrayOfType)("TSTypeElement")}}),o("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,r.validateOptional)(a),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,r.validateType)("TSType")}}),o("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("Expression"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}});const m={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,r.validateType)("Expression"),typeAnnotation:(0,r.validateType)("TSType")}};o("TSAsExpression",m),o("TSSatisfiesExpression",m),o("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,r.validateType)("TSType"),expression:(0,r.validateType)("Expression")}}),o("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,r.validateOptional)(a),const:(0,r.validateOptional)(a),id:(0,r.validateType)("Identifier"),members:(0,r.validateArrayOfType)("TSEnumMember"),initializer:(0,r.validateOptionalType)("Expression")}}),o("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,r.validateType)(["Identifier","StringLiteral"]),initializer:(0,r.validateOptionalType)("Expression")}}),o("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,r.validateOptional)(a),global:(0,r.validateOptional)(a),id:(0,r.validateType)(["Identifier","StringLiteral"]),body:(0,r.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),o("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,r.validateArrayOfType)("Statement")}}),o("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,r.validateType)("StringLiteral"),qualifier:(0,r.validateOptionalType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,r.assertNodeType)("Expression"),optional:!0}}}),o("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,r.validate)(a),id:(0,r.validateType)("Identifier"),moduleReference:(0,r.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,r.assertOneOf)("type","value"),optional:!0}}}),o("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,r.validateType)("StringLiteral")}}),o("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),o("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),o("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier")}}),o("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,r.assertNodeType)("TSType")}}}),o("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSType")))}}}),o("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSTypeParameter")))}}}),o("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,r.assertValueType)("string")},in:{validate:(0,r.assertValueType)("boolean"),optional:!0},out:{validate:(0,r.assertValueType)("boolean"),optional:!0},const:{validate:(0,r.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,r.assertNodeType)("TSType"),optional:!0},default:{validate:(0,r.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/utils.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=y,t.assertEach=b,t.assertNodeOrValueType=function(...e){function t(t,n,i){for(const o of e)if(d(i)===o||(0,r.default)(o,i))return void(0,s.validateChild)(t,n,i);throw new TypeError(`Property ${n} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==i?void 0:i.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=g,t.assertOneOf=function(...e){function t(t,n,r){if(e.indexOf(r)<0)throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(r)}`)}return t.oneOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let n=e;for(;e;){const{type:e}=n;if("OptionalCallExpression"!==e){if("OptionalMemberExpression"!==e)break;if(n.optional)return;n=n.object}else{if(n.optional)return;n=n.callee}}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=n)?void 0:t.type}`)}},t.assertShape=function(e){function t(t,n,r){const i=[];for(const n of Object.keys(e))try{(0,s.validateField)(t,n,r[n],e[n])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}if(i.length)throw new TypeError(`Property ${n} of ${t.type} expected to have the following:\n${i.join("\n")}`)}return t.shapeOf=e,t},t.assertValueType=E,t.chain=v,t.default=P,t.defineAliasedType=function(...e){return(t,n={})=>{let r=n.aliases;var s;r||(n.inherits&&(r=null==(s=S[n.inherits].aliases)?void 0:s.slice()),null!=r||(r=[]),n.aliases=r);const i=e.filter((e=>!r.includes(e)));r.unshift(...i),P(t,n)}},t.typeIs=f,t.validate=h,t.validateArrayOfType=function(e){return h(y(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:f(e),optional:!0}},t.validateType=function(e){return h(f(e))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js");const i=t.VISITOR_KEYS={},o=t.ALIAS_KEYS={},a=t.FLIPPED_ALIAS_KEYS={},l=t.NODE_FIELDS={},p=t.BUILDER_KEYS={},c=t.DEPRECATED_KEYS={},u=t.NODE_PARENT_VALIDATIONS={};function d(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function h(e){return{validate:e}}function f(e){return"string"==typeof e?g(e):g(...e)}function m(e){return v(E("array"),b(e))}function y(e){return m(f(e))}function b(e){function t(t,n,r){if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=`${n}[${i}]`,a=r[i];e(t,o,a),process.env.BABEL_TYPES_8_BREAKING&&(0,s.validateChild)(t,o,a)}}return t.each=e,t}function g(...e){function t(t,n,i){for(const o of e)if((0,r.default)(o,i))return void(0,s.validateChild)(t,n,i);throw new TypeError(`Property ${n} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==i?void 0:i.type)}`)}return t.oneOfNodeTypes=e,t}function E(e){function t(t,n,r){if(d(r)!==e)throw new TypeError(`Property ${n} expected type of ${e} but got ${d(r)}`)}return t.type=e,t}function v(...e){function t(...t){for(const n of e)n(...t)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&"array"===e[0].type&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}const x=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],T=["default","optional","deprecated","validate"],S={};function P(e,t={}){const n=t.inherits&&S[t.inherits]||{};let r=t.fields;if(!r&&(r={},n.fields)){const e=Object.getOwnPropertyNames(n.fields);for(const t of e){const e=n.fields[t],s=e.default;if(Array.isArray(s)?s.length>0:s&&"object"==typeof s)throw new Error("field defaults can only be primitives or empty arrays currently");r[t]={default:Array.isArray(s)?[]:s,optional:e.optional,deprecated:e.deprecated,validate:e.validate}}}const s=t.visitor||n.visitor||[],h=t.aliases||n.aliases||[],f=t.builder||n.builder||t.visitor||[];for(const n of Object.keys(t))if(-1===x.indexOf(n))throw new Error(`Unknown type option "${n}" on ${e}`);t.deprecatedAlias&&(c[t.deprecatedAlias]=e);for(const e of s.concat(f))r[e]=r[e]||{};for(const t of Object.keys(r)){const n=r[t];void 0!==n.default&&-1===f.indexOf(t)&&(n.optional=!0),void 0===n.default?n.default=null:n.validate||null==n.default||(n.validate=E(d(n.default)));for(const r of Object.keys(n))if(-1===T.indexOf(r))throw new Error(`Unknown field key "${r}" on ${e}.${t}`)}i[e]=t.visitor=s,p[e]=t.builder=f,l[e]=t.fields=r,o[e]=t.aliases=h,h.forEach((t=>{a[t]=a[t]||[],a[t].push(e)})),t.validate&&(u[e]=t.validate),S[e]=t}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return $.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return R.default}});var s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/react/buildChildren.js"),a=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/assertNode.js"),l=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),c=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),u=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),d=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var f=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/productions.js");Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var m=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneNode.js"),y=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/clone.js"),b=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeep.js"),g=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),E=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),v=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComment.js"),x=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/addComments.js"),T=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),S=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),P=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js"),_=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),A=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/removeComments.js"),w=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var C=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js");Object.keys(C).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===C[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))}));var D=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/ensureBlock.js"),I=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),O=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toBlock.js"),N=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toComputedKey.js"),j=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toExpression.js"),k=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toIdentifier.js"),L=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toKeyAlias.js"),F=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toStatement.js"),R=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/valueToNode.js"),M=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");Object.keys(M).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===M[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}}))}));var B=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),U=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/inherits.js"),$=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),V=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js"),W=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),K=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),G=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),q=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),H=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(H).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))}));var z=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),Y=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),X=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js"),J=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBinding.js"),Q=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBlockScoped.js"),Z=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isImmutable.js"),ee=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js"),te=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js"),ne=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),re=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),se=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isReferenced.js"),ie=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isScope.js"),oe=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),ae=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),le=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),pe=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),ce=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isVar.js"),ue=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js"),de=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js"),he=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),fe=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(fe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fe[e]}}))}));var me=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");t.react={isReactComponent:s.default,isCompatTag:i.default,buildChildren:o.default},t.toSequenceExpression=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/converters/toSequenceExpression.js").default},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n=!1){return e.object=(0,r.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!n,e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const n=Array.from(t),i=new Map,o=new Map,a=new Set,l=[];for(let t=0;t<n.length;t++){const p=n[t];if(p&&!(l.indexOf(p)>=0)){if((0,r.isAnyTypeAnnotation)(p))return[p];if((0,r.isFlowBaseAnnotation)(p))o.set(p.type,p);else if((0,r.isUnionTypeAnnotation)(p))a.has(p.types)||(n.push(...p.types),a.add(p.types));else if((0,r.isGenericTypeAnnotation)(p)){const t=s(p.id);if(i.has(t)){let n=i.get(t);n.typeParameters?p.typeParameters&&(n.typeParameters.params.push(...p.typeParameters.params),n.typeParameters.params=e(n.typeParameters.params)):n=p.typeParameters}else i.set(t,p)}else l.push(p)}}for(const[,e]of o)l.push(e);for(const[,e]of i)l.push(e);return l};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function s(e){return(0,r.isIdentifier)(e)?e.name:`${e.id.name}.${s(e.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/inherits.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const n of r.INHERIT_KEYS.optional)null==e[n]&&(e[n]=t[n]);for(const n of Object.keys(t))"_"===n[0]&&"__clone"!==n&&(e[n]=t[n]);for(const n of r.INHERIT_KEYS.force)e[n]=t[n];return(0,s.default)(e,t),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,s.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,r.memberExpression)(t,e.object),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const n=t.preserveComments?s:i;for(const t of n)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const r=Object.getOwnPropertySymbols(e);for(const t of r)e[t]=null};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js");const s=["tokens","start","end","loc","raw","rawValue"],i=[...r.COMMENT_KEYS,"comments",...s]},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,s.default,t),e};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const n=Array.from(t),i=new Map,o=new Map,a=new Set,l=[];for(let t=0;t<n.length;t++){const p=n[t];if(p&&!(l.indexOf(p)>=0)){if((0,r.isTSAnyKeyword)(p))return[p];if((0,r.isTSBaseType)(p))o.set(p.type,p);else if((0,r.isTSUnionType)(p))a.has(p.types)||(n.push(...p.types),a.add(p.types));else if((0,r.isTSTypeReference)(p)&&p.typeParameters){const t=s(p.typeName);if(i.has(t)){let n=i.get(t);n.typeParameters?p.typeParameters&&(n.typeParameters.params.push(...p.typeParameters.params),n.typeParameters.params=e(n.typeParameters.params)):n=p.typeParameters}else i.set(t,p)}else l.push(p)}}for(const[,e]of o)l.push(e);for(const[,e]of i)l.push(e);return l};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function s(e){return(0,r.isIdentifier)(e)?e.name:`${e.right.name}.${s(e.left)}`}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js");function s(e,t,n,i){const o=[].concat(e),a=Object.create(null);for(;o.length;){const e=o.shift();if(!e)continue;if(i&&((0,r.isAssignmentExpression)(e)||(0,r.isUnaryExpression)(e)||(0,r.isUpdateExpression)(e)))continue;if((0,r.isIdentifier)(e)){t?(a[e.name]=a[e.name]||[]).push(e):a[e.name]=e;continue}if((0,r.isExportDeclaration)(e)&&!(0,r.isExportAllDeclaration)(e)){(0,r.isDeclaration)(e.declaration)&&o.push(e.declaration);continue}if(n){if((0,r.isFunctionDeclaration)(e)){o.push(e.id);continue}if((0,r.isFunctionExpression)(e))continue}const l=s.keys[e.type];if(l)for(let t=0;t<l.length;t++){const n=e[l[t]];n&&(Array.isArray(n)?o.push(...n):o.push(n))}}return a}s.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");t.default=function(e,t){return(0,r.default)(e,t,!0)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverse.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"function"==typeof t&&(t={enter:t});const{enter:r,exit:i}=t;s(e,r,i,n,[])};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");function s(e,t,n,i,o){const a=r.VISITOR_KEYS[e.type];if(a){t&&t(e,o,i);for(const r of a){const a=e[r];if(Array.isArray(a))for(let l=0;l<a.length;l++){const p=a[l];p&&(o.push({node:e,key:r,index:l}),s(p,t,n,i,o),o.pop())}else a&&(o.push({node:e,key:r}),s(a,t,n,i,o),o.pop())}n&&n(e,o,i)}}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/traverse/traverseFast.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,s){if(!t)return;const i=r.VISITOR_KEYS[t.type];if(i){n(t,s=s||{});for(const r of i){const i=t[r];if(Array.isArray(i))for(const t of i)e(t,n,s);else e(i,n,s)}}};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=""){if(n.has(e))return;n.add(e);const{internal:s,trace:i}=function(e,t){const{stackTraceLimit:n,prepareStackTrace:r}=Error;let s;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(e,t){s=t},(new Error).stack,Error.stackTraceLimit=n,Error.prepareStackTrace=r,!s)return{internal:!1,trace:""};const i=s.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map((e=>` at ${e}`)).join("\n")}}();s||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`\n${i}`)};const n=new Set},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/inherit.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){t&&n&&(t[e]=Array.from(new Set([].concat(t[e],n[e]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<n.length;e++)n[e].match(/[^ \t]/)&&(i=e);let o="";for(let e=0;e<n.length;e++){const t=n[e],r=0===e,s=e===n.length-1,a=e===i;let l=t.replace(/\t/g," ");r||(l=l.replace(/^[ ]+/,"")),s||(l=l.replace(/[ ]+$/,"")),l&&(a||(l+=" "),o+=l)}o&&t.push((0,s.inherits)((0,r.stringLiteral)(o),e))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/builders/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=Object.keys(t);for(const r of n)if(e[r]!==t[r])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e.split(".");return e=>(0,r.default)(e,n,t)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessor=function(e,t){return!!e&&"ClassAccessorProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isAnyTypeAnnotation=function(e,t){return!!e&&"AnyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isArgumentPlaceholder=function(e,t){return!!e&&"ArgumentPlaceholder"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayExpression=function(e,t){return!!e&&"ArrayExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayPattern=function(e,t){return!!e&&"ArrayPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrayTypeAnnotation=function(e,t){return!!e&&"ArrayTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isArrowFunctionExpression=function(e,t){return!!e&&"ArrowFunctionExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isAssignmentExpression=function(e,t){return!!e&&"AssignmentExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isAssignmentPattern=function(e,t){return!!e&&"AssignmentPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isAwaitExpression=function(e,t){return!!e&&"AwaitExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBigIntLiteral=function(e,t){return!!e&&"BigIntLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isBinary=function(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBinaryExpression=function(e,t){return!!e&&"BinaryExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBindExpression=function(e,t){return!!e&&"BindExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isBlock=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockParent=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockStatement=function(e,t){return!!e&&"BlockStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanLiteral=function(e,t){return!!e&&"BooleanLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanLiteralTypeAnnotation=function(e,t){return!!e&&"BooleanLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isBooleanTypeAnnotation=function(e,t){return!!e&&"BooleanTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isBreakStatement=function(e,t){return!!e&&"BreakStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isCallExpression=function(e,t){return!!e&&"CallExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isCatchClause=function(e,t){return!!e&&"CatchClause"===e.type&&(null==t||(0,r.default)(e,t))},t.isClass=function(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isClassAccessorProperty=function(e,t){return!!e&&"ClassAccessorProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassBody=function(e,t){return!!e&&"ClassBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassDeclaration=function(e,t){return!!e&&"ClassDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassExpression=function(e,t){return!!e&&"ClassExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassImplements=function(e,t){return!!e&&"ClassImplements"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassMethod=function(e,t){return!!e&&"ClassMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassPrivateMethod=function(e,t){return!!e&&"ClassPrivateMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassPrivateProperty=function(e,t){return!!e&&"ClassPrivateProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isClassProperty=function(e,t){return!!e&&"ClassProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isCompletionStatement=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditional=function(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditionalExpression=function(e,t){return!!e&&"ConditionalExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isContinueStatement=function(e,t){return!!e&&"ContinueStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isDebuggerStatement=function(e,t){return!!e&&"DebuggerStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isDecimalLiteral=function(e,t){return!!e&&"DecimalLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if("Declaration"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isDeclareClass=function(e,t){return!!e&&"DeclareClass"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareExportAllDeclaration=function(e,t){return!!e&&"DeclareExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareExportDeclaration=function(e,t){return!!e&&"DeclareExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareFunction=function(e,t){return!!e&&"DeclareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareInterface=function(e,t){return!!e&&"DeclareInterface"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareModule=function(e,t){return!!e&&"DeclareModule"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareModuleExports=function(e,t){return!!e&&"DeclareModuleExports"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareOpaqueType=function(e,t){return!!e&&"DeclareOpaqueType"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareTypeAlias=function(e,t){return!!e&&"DeclareTypeAlias"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclareVariable=function(e,t){return!!e&&"DeclareVariable"===e.type&&(null==t||(0,r.default)(e,t))},t.isDeclaredPredicate=function(e,t){return!!e&&"DeclaredPredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isDecorator=function(e,t){return!!e&&"Decorator"===e.type&&(null==t||(0,r.default)(e,t))},t.isDirective=function(e,t){return!!e&&"Directive"===e.type&&(null==t||(0,r.default)(e,t))},t.isDirectiveLiteral=function(e,t){return!!e&&"DirectiveLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isDoExpression=function(e,t){return!!e&&"DoExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isDoWhileStatement=function(e,t){return!!e&&"DoWhileStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isEmptyStatement=function(e,t){return!!e&&"EmptyStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isEmptyTypeAnnotation=function(e,t){return!!e&&"EmptyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumBody=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumBooleanBody=function(e,t){return!!e&&"EnumBooleanBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumBooleanMember=function(e,t){return!!e&&"EnumBooleanMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumDeclaration=function(e,t){return!!e&&"EnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumDefaultedMember=function(e,t){return!!e&&"EnumDefaultedMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumMember=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumNumberBody=function(e,t){return!!e&&"EnumNumberBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumNumberMember=function(e,t){return!!e&&"EnumNumberMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumStringBody=function(e,t){return!!e&&"EnumStringBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumStringMember=function(e,t){return!!e&&"EnumStringMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isEnumSymbolBody=function(e,t){return!!e&&"EnumSymbolBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isExistsTypeAnnotation=function(e,t){return!!e&&"ExistsTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportAllDeclaration=function(e,t){return!!e&&"ExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExportDefaultDeclaration=function(e,t){return!!e&&"ExportDefaultDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportDefaultSpecifier=function(e,t){return!!e&&"ExportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportNamedDeclaration=function(e,t){return!!e&&"ExportNamedDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportNamespaceSpecifier=function(e,t){return!!e&&"ExportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExportSpecifier=function(e,t){return!!e&&"ExportSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isExpression=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExpressionStatement=function(e,t){return!!e&&"ExpressionStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isExpressionWrapper=function(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFile=function(e,t){return!!e&&"File"===e.type&&(null==t||(0,r.default)(e,t))},t.isFlow=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowPredicate=function(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowType=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFor=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isForInStatement=function(e,t){return!!e&&"ForInStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForOfStatement=function(e,t){return!!e&&"ForOfStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForStatement=function(e,t){return!!e&&"ForStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isForXStatement=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunction=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionDeclaration=function(e,t){return!!e&&"FunctionDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionExpression=function(e,t){return!!e&&"FunctionExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionParent=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionTypeAnnotation=function(e,t){return!!e&&"FunctionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isFunctionTypeParam=function(e,t){return!!e&&"FunctionTypeParam"===e.type&&(null==t||(0,r.default)(e,t))},t.isGenericTypeAnnotation=function(e,t){return!!e&&"GenericTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isIdentifier=function(e,t){return!!e&&"Identifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isIfStatement=function(e,t){return!!e&&"IfStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isImmutable=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isImport=function(e,t){return!!e&&"Import"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportAttribute=function(e,t){return!!e&&"ImportAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportDeclaration=function(e,t){return!!e&&"ImportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportDefaultSpecifier=function(e,t){return!!e&&"ImportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportExpression=function(e,t){return!!e&&"ImportExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportNamespaceSpecifier=function(e,t){return!!e&&"ImportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isImportOrExportDeclaration=i,t.isImportSpecifier=function(e,t){return!!e&&"ImportSpecifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isIndexedAccessType=function(e,t){return!!e&&"IndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isInferredPredicate=function(e,t){return!!e&&"InferredPredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceDeclaration=function(e,t){return!!e&&"InterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceExtends=function(e,t){return!!e&&"InterfaceExtends"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterfaceTypeAnnotation=function(e,t){return!!e&&"InterfaceTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isInterpreterDirective=function(e,t){return!!e&&"InterpreterDirective"===e.type&&(null==t||(0,r.default)(e,t))},t.isIntersectionTypeAnnotation=function(e,t){return!!e&&"IntersectionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSX=function(e,t){if(!e)return!1;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isJSXAttribute=function(e,t){return!!e&&"JSXAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXClosingElement=function(e,t){return!!e&&"JSXClosingElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXClosingFragment=function(e,t){return!!e&&"JSXClosingFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXElement=function(e,t){return!!e&&"JSXElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXEmptyExpression=function(e,t){return!!e&&"JSXEmptyExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXExpressionContainer=function(e,t){return!!e&&"JSXExpressionContainer"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXFragment=function(e,t){return!!e&&"JSXFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXIdentifier=function(e,t){return!!e&&"JSXIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXMemberExpression=function(e,t){return!!e&&"JSXMemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXNamespacedName=function(e,t){return!!e&&"JSXNamespacedName"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXOpeningElement=function(e,t){return!!e&&"JSXOpeningElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXOpeningFragment=function(e,t){return!!e&&"JSXOpeningFragment"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXSpreadAttribute=function(e,t){return!!e&&"JSXSpreadAttribute"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXSpreadChild=function(e,t){return!!e&&"JSXSpreadChild"===e.type&&(null==t||(0,r.default)(e,t))},t.isJSXText=function(e,t){return!!e&&"JSXText"===e.type&&(null==t||(0,r.default)(e,t))},t.isLVal=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLabeledStatement=function(e,t){return!!e&&"LabeledStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isLiteral=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLogicalExpression=function(e,t){return!!e&&"LogicalExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isLoop=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMemberExpression=function(e,t){return!!e&&"MemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isMetaProperty=function(e,t){return!!e&&"MetaProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isMethod=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMiscellaneous=function(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMixedTypeAnnotation=function(e,t){return!!e&&"MixedTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isModuleDeclaration=function(e,t){return(0,s.default)("isModuleDeclaration","isImportOrExportDeclaration"),i(e,t)},t.isModuleExpression=function(e,t){return!!e&&"ModuleExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isModuleSpecifier=function(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isNewExpression=function(e,t){return!!e&&"NewExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isNoop=function(e,t){return!!e&&"Noop"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullLiteral=function(e,t){return!!e&&"NullLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullLiteralTypeAnnotation=function(e,t){return!!e&&"NullLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNullableTypeAnnotation=function(e,t){return!!e&&"NullableTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberLiteral=function(e,t){return(0,s.default)("isNumberLiteral","isNumericLiteral"),!!e&&"NumberLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberLiteralTypeAnnotation=function(e,t){return!!e&&"NumberLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumberTypeAnnotation=function(e,t){return!!e&&"NumberTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isNumericLiteral=function(e,t){return!!e&&"NumericLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectExpression=function(e,t){return!!e&&"ObjectExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectMember=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isObjectMethod=function(e,t){return!!e&&"ObjectMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectPattern=function(e,t){return!!e&&"ObjectPattern"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectProperty=function(e,t){return!!e&&"ObjectProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeAnnotation=function(e,t){return!!e&&"ObjectTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeCallProperty=function(e,t){return!!e&&"ObjectTypeCallProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeIndexer=function(e,t){return!!e&&"ObjectTypeIndexer"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeInternalSlot=function(e,t){return!!e&&"ObjectTypeInternalSlot"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeProperty=function(e,t){return!!e&&"ObjectTypeProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isObjectTypeSpreadProperty=function(e,t){return!!e&&"ObjectTypeSpreadProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isOpaqueType=function(e,t){return!!e&&"OpaqueType"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalCallExpression=function(e,t){return!!e&&"OptionalCallExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalIndexedAccessType=function(e,t){return!!e&&"OptionalIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isOptionalMemberExpression=function(e,t){return!!e&&"OptionalMemberExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isParenthesizedExpression=function(e,t){return!!e&&"ParenthesizedExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isPattern=function(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if("Pattern"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPatternLike=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPipelineBareFunction=function(e,t){return!!e&&"PipelineBareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isPipelinePrimaryTopicReference=function(e,t){return!!e&&"PipelinePrimaryTopicReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isPipelineTopicExpression=function(e,t){return!!e&&"PipelineTopicExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isPlaceholder=function(e,t){return!!e&&"Placeholder"===e.type&&(null==t||(0,r.default)(e,t))},t.isPrivate=function(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPrivateName=function(e,t){return!!e&&"PrivateName"===e.type&&(null==t||(0,r.default)(e,t))},t.isProgram=function(e,t){return!!e&&"Program"===e.type&&(null==t||(0,r.default)(e,t))},t.isProperty=function(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPureish=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isQualifiedTypeIdentifier=function(e,t){return!!e&&"QualifiedTypeIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isRecordExpression=function(e,t){return!!e&&"RecordExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isRegExpLiteral=function(e,t){return!!e&&"RegExpLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isRegexLiteral=function(e,t){return(0,s.default)("isRegexLiteral","isRegExpLiteral"),!!e&&"RegexLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isRestElement=function(e,t){return!!e&&"RestElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isRestProperty=function(e,t){return(0,s.default)("isRestProperty","isRestElement"),!!e&&"RestProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isReturnStatement=function(e,t){return!!e&&"ReturnStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isScopable=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isSequenceExpression=function(e,t){return!!e&&"SequenceExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isSpreadElement=function(e,t){return!!e&&"SpreadElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isSpreadProperty=function(e,t){return(0,s.default)("isSpreadProperty","isSpreadElement"),!!e&&"SpreadProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isStandardized=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStatement=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStaticBlock=function(e,t){return!!e&&"StaticBlock"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringLiteral=function(e,t){return!!e&&"StringLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringLiteralTypeAnnotation=function(e,t){return!!e&&"StringLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isStringTypeAnnotation=function(e,t){return!!e&&"StringTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isSuper=function(e,t){return!!e&&"Super"===e.type&&(null==t||(0,r.default)(e,t))},t.isSwitchCase=function(e,t){return!!e&&"SwitchCase"===e.type&&(null==t||(0,r.default)(e,t))},t.isSwitchStatement=function(e,t){return!!e&&"SwitchStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isSymbolTypeAnnotation=function(e,t){return!!e&&"SymbolTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSAnyKeyword=function(e,t){return!!e&&"TSAnyKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSArrayType=function(e,t){return!!e&&"TSArrayType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSAsExpression=function(e,t){return!!e&&"TSAsExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSBaseType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSBigIntKeyword=function(e,t){return!!e&&"TSBigIntKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSBooleanKeyword=function(e,t){return!!e&&"TSBooleanKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSCallSignatureDeclaration=function(e,t){return!!e&&"TSCallSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConditionalType=function(e,t){return!!e&&"TSConditionalType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConstructSignatureDeclaration=function(e,t){return!!e&&"TSConstructSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSConstructorType=function(e,t){return!!e&&"TSConstructorType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSDeclareFunction=function(e,t){return!!e&&"TSDeclareFunction"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSDeclareMethod=function(e,t){return!!e&&"TSDeclareMethod"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSEntityName=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSEnumDeclaration=function(e,t){return!!e&&"TSEnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSEnumMember=function(e,t){return!!e&&"TSEnumMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExportAssignment=function(e,t){return!!e&&"TSExportAssignment"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExpressionWithTypeArguments=function(e,t){return!!e&&"TSExpressionWithTypeArguments"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSExternalModuleReference=function(e,t){return!!e&&"TSExternalModuleReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSFunctionType=function(e,t){return!!e&&"TSFunctionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSImportEqualsDeclaration=function(e,t){return!!e&&"TSImportEqualsDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSImportType=function(e,t){return!!e&&"TSImportType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIndexSignature=function(e,t){return!!e&&"TSIndexSignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIndexedAccessType=function(e,t){return!!e&&"TSIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInferType=function(e,t){return!!e&&"TSInferType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInstantiationExpression=function(e,t){return!!e&&"TSInstantiationExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInterfaceBody=function(e,t){return!!e&&"TSInterfaceBody"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSInterfaceDeclaration=function(e,t){return!!e&&"TSInterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIntersectionType=function(e,t){return!!e&&"TSIntersectionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSIntrinsicKeyword=function(e,t){return!!e&&"TSIntrinsicKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSLiteralType=function(e,t){return!!e&&"TSLiteralType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSMappedType=function(e,t){return!!e&&"TSMappedType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSMethodSignature=function(e,t){return!!e&&"TSMethodSignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSModuleBlock=function(e,t){return!!e&&"TSModuleBlock"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSModuleDeclaration=function(e,t){return!!e&&"TSModuleDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNamedTupleMember=function(e,t){return!!e&&"TSNamedTupleMember"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNamespaceExportDeclaration=function(e,t){return!!e&&"TSNamespaceExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNeverKeyword=function(e,t){return!!e&&"TSNeverKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNonNullExpression=function(e,t){return!!e&&"TSNonNullExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNullKeyword=function(e,t){return!!e&&"TSNullKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSNumberKeyword=function(e,t){return!!e&&"TSNumberKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSObjectKeyword=function(e,t){return!!e&&"TSObjectKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSOptionalType=function(e,t){return!!e&&"TSOptionalType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSParameterProperty=function(e,t){return!!e&&"TSParameterProperty"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSParenthesizedType=function(e,t){return!!e&&"TSParenthesizedType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSPropertySignature=function(e,t){return!!e&&"TSPropertySignature"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSQualifiedName=function(e,t){return!!e&&"TSQualifiedName"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSRestType=function(e,t){return!!e&&"TSRestType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSSatisfiesExpression=function(e,t){return!!e&&"TSSatisfiesExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSStringKeyword=function(e,t){return!!e&&"TSStringKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSSymbolKeyword=function(e,t){return!!e&&"TSSymbolKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSThisType=function(e,t){return!!e&&"TSThisType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTupleType=function(e,t){return!!e&&"TSTupleType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSTypeAliasDeclaration=function(e,t){return!!e&&"TSTypeAliasDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeAnnotation=function(e,t){return!!e&&"TSTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeAssertion=function(e,t){return!!e&&"TSTypeAssertion"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeElement=function(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSTypeLiteral=function(e,t){return!!e&&"TSTypeLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeOperator=function(e,t){return!!e&&"TSTypeOperator"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameter=function(e,t){return!!e&&"TSTypeParameter"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameterDeclaration=function(e,t){return!!e&&"TSTypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeParameterInstantiation=function(e,t){return!!e&&"TSTypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypePredicate=function(e,t){return!!e&&"TSTypePredicate"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeQuery=function(e,t){return!!e&&"TSTypeQuery"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSTypeReference=function(e,t){return!!e&&"TSTypeReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUndefinedKeyword=function(e,t){return!!e&&"TSUndefinedKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUnionType=function(e,t){return!!e&&"TSUnionType"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSUnknownKeyword=function(e,t){return!!e&&"TSUnknownKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTSVoidKeyword=function(e,t){return!!e&&"TSVoidKeyword"===e.type&&(null==t||(0,r.default)(e,t))},t.isTaggedTemplateExpression=function(e,t){return!!e&&"TaggedTemplateExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTemplateElement=function(e,t){return!!e&&"TemplateElement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTemplateLiteral=function(e,t){return!!e&&"TemplateLiteral"===e.type&&(null==t||(0,r.default)(e,t))},t.isTerminatorless=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isThisExpression=function(e,t){return!!e&&"ThisExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isThisTypeAnnotation=function(e,t){return!!e&&"ThisTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isThrowStatement=function(e,t){return!!e&&"ThrowStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTopicReference=function(e,t){return!!e&&"TopicReference"===e.type&&(null==t||(0,r.default)(e,t))},t.isTryStatement=function(e,t){return!!e&&"TryStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isTupleExpression=function(e,t){return!!e&&"TupleExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTupleTypeAnnotation=function(e,t){return!!e&&"TupleTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeAlias=function(e,t){return!!e&&"TypeAlias"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeAnnotation=function(e,t){return!!e&&"TypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeCastExpression=function(e,t){return!!e&&"TypeCastExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameter=function(e,t){return!!e&&"TypeParameter"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameterDeclaration=function(e,t){return!!e&&"TypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeParameterInstantiation=function(e,t){return!!e&&"TypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t))},t.isTypeScript=function(e,t){if(!e)return!1;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTypeofTypeAnnotation=function(e,t){return!!e&&"TypeofTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isUnaryExpression=function(e,t){return!!e&&"UnaryExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isUnaryLike=function(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isUnionTypeAnnotation=function(e,t){return!!e&&"UnionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isUpdateExpression=function(e,t){return!!e&&"UpdateExpression"===e.type&&(null==t||(0,r.default)(e,t))},t.isUserWhitespacable=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isV8IntrinsicIdentifier=function(e,t){return!!e&&"V8IntrinsicIdentifier"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariableDeclaration=function(e,t){return!!e&&"VariableDeclaration"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariableDeclarator=function(e,t){return!!e&&"VariableDeclarator"===e.type&&(null==t||(0,r.default)(e,t))},t.isVariance=function(e,t){return!!e&&"Variance"===e.type&&(null==t||(0,r.default)(e,t))},t.isVoidTypeAnnotation=function(e,t){return!!e&&"VoidTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t))},t.isWhile=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isWhileStatement=function(e,t){return!!e&&"WhileStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isWithStatement=function(e,t){return!!e&&"WithStatement"===e.type&&(null==t||(0,r.default)(e,t))},t.isYieldExpression=function(e,t){return!!e&&"YieldExpression"===e.type&&(null==t||(0,r.default)(e,t))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/deprecationWarning.js");function i(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/is.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return!!t&&((0,s.default)(t.type,e)?void 0===n||(0,r.default)(t,n):!n&&"Placeholder"===t.type&&e in o.FLIPPED_ALIAS_KEYS&&(0,i.default)(t.expectedNode,e))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/utils/shallowEqual.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),i=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),o=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBinding.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===n.type)return!1;const s=r.default.keys[t.type];if(s)for(let n=0;n<s.length;n++){const r=t[s[n]];if(Array.isArray(r)){if(r.indexOf(e)>=0)return!0}else if(r===e)return!0}return!1};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isBlockScoped.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isFunctionDeclaration)(e)||(0,r.isClassDeclaration)(e)||(0,s.default)(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isImmutable.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(0,r.default)(e.type,"Immutable")||!!(0,s.isIdentifier)(e)&&"undefined"===e.name};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isLet.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e)&&("var"!==e.kind||e[s.BLOCK_SCOPED_SYMBOL])};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNode.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!r.VISITOR_KEYS[e.type])};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){if("object"!=typeof t||"object"!=typeof n||null==t||null==n)return t===n;if(t.type!==n.type)return!1;const s=Object.keys(r.NODE_FIELDS[t.type]||t.type),i=r.VISITOR_KEYS[t.type];for(const r of s){const s=t[r],o=n[r];if(typeof s!=typeof o)return!1;if(null!=s||null!=o){if(null==s||null==o)return!1;if(Array.isArray(s)){if(!Array.isArray(o))return!1;if(s.length!==o.length)return!1;for(let t=0;t<s.length;t++)if(!e(s[t],o[t]))return!1}else if("object"!=typeof s||null!=i&&i.includes(r)){if(!e(s,o))return!1}else for(const e of Object.keys(s))if(s[e]!==o[e])return!1}}return!0};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;const n=r.PLACEHOLDERS_ALIAS[e];if(n)for(const e of n)if(t===e)return!0;return!1};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isReferenced.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!n||"ObjectPattern"!==n.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return(null==n||!n.source)&&t.local===e;case"TSEnumMember":return t.id!==e}return!0}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isScope.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(!(0,r.isBlockStatement)(e)||!(0,r.isFunction)(t)&&!(0,r.isCatchClause)(t))&&(!(!(0,r.isPattern)(e)||!(0,r.isFunction)(t)&&!(0,r.isCatchClause)(t))||(0,r.isScopable)(e))};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isImportDefaultSpecifier)(e)||(0,r.isIdentifier)(e.imported||e.exported,{name:"default"})};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isType.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(null==e)return!1;if(r.ALIAS_KEYS[t])return!1;const n=r.FLIPPED_ALIAS_KEYS[t];if(n){if(n[0]===e)return!0;for(const t of n)if(e===t)return!0}return!1};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)&&!s.has(e)};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js");const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0){return"string"==typeof e&&(!t||!(0,r.isKeyword)(e)&&!(0,r.isStrictReservedWord)(e,!0))&&(0,r.isIdentifierName)(e)};var r=n("./node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/isVar.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js"),s=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/matchesPattern.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!(0,r.isMemberExpression)(e))return!1;const s=Array.isArray(t)?t:t.split("."),i=[];let o;for(o=e;(0,r.isMemberExpression)(o);o=o.object)i.push(o.property);if(i.push(o),i.length<s.length)return!1;if(!n&&i.length>s.length)return!1;for(let e=0,t=i.length-1;e<s.length;e++,t--){const n=i[t];let o;if((0,r.isIdentifier)(n))o=n.name;else if((0,r.isStringLiteral)(n))o=n.value;else{if(!(0,r.isThisExpression)(n))return!1;o="this"}if(s[e]!==o)return!1}return!0};var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=(0,n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");t.default=r},"./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/validators/validate.js":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!e)return;const o=r.NODE_FIELDS[e.type];o&&(s(e,t,n,o[t]),i(e,t,n))},t.validateChild=i,t.validateField=s;var r=n("./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/definitions/index.js");function s(e,t,n,r){null!=r&&r.validate&&(r.optional&&null==n||r.validate(e,t,n))}function i(e,t,n){if(null==n)return;const s=r.NODE_PARENT_VALIDATIONS[n.type];s&&s(e,t,n)}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(e,t,n)=>{n.r(t),n.d(t,{default:()=>U});var r={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},s=e=>"string"==typeof e&&r.Space_Separator.test(e),i=e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||r.ID_Start.test(e)),o=e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||""===e||""===e||r.ID_Continue.test(e)),a=e=>"string"==typeof e&&/[0-9]/.test(e),l=e=>"string"==typeof e&&/[0-9A-Fa-f]/.test(e);let p,c,u,d,h,f,m,y,b,g,E,v,x,T;function S(e,t,n){const r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(let e=0;e<r.length;e++){const t=String(e),s=S(r,t,n);void 0===s?delete r[t]:Object.defineProperty(r,t,{value:s,writable:!0,enumerable:!0,configurable:!0})}else for(const e in r){const t=S(r,e,n);void 0===t?delete r[e]:Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function P(){for(g="default",E="",v=!1,x=1;;){T=_();const e=w[g]();if(e)return e}}function _(){if(p[d])return String.fromCodePoint(p.codePointAt(d))}function A(){const e=_();return"\n"===e?(h++,f=0):e?f+=e.length:f++,e&&(d+=e.length),e}const w={default(){switch(T){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void A();case"/":return A(),void(g="comment");case void 0:return A(),C("eof")}if(!s(T))return w[c]();A()},comment(){switch(T){case"*":return A(),void(g="multiLineComment");case"/":return A(),void(g="singleLineComment")}throw k(A())},multiLineComment(){switch(T){case"*":return A(),void(g="multiLineCommentAsterisk");case void 0:throw k(A())}A()},multiLineCommentAsterisk(){switch(T){case"*":return void A();case"/":return A(),void(g="default");case void 0:throw k(A())}A(),g="multiLineComment"},singleLineComment(){switch(T){case"\n":case"\r":case"\u2028":case"\u2029":return A(),void(g="default");case void 0:return A(),C("eof")}A()},value(){switch(T){case"{":case"[":return C("punctuator",A());case"n":return A(),D("ull"),C("null",null);case"t":return A(),D("rue"),C("boolean",!0);case"f":return A(),D("alse"),C("boolean",!1);case"-":case"+":return"-"===A()&&(x=-1),void(g="sign");case".":return E=A(),void(g="decimalPointLeading");case"0":return E=A(),void(g="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return E=A(),void(g="decimalInteger");case"I":return A(),D("nfinity"),C("numeric",1/0);case"N":return A(),D("aN"),C("numeric",NaN);case'"':case"'":return v='"'===A(),E="",void(g="string")}throw k(A())},identifierNameStartEscape(){if("u"!==T)throw k(A());A();const e=I();switch(e){case"$":case"_":break;default:if(!i(e))throw F()}E+=e,g="identifierName"},identifierName(){switch(T){case"$":case"_":case"":case"":return void(E+=A());case"\\":return A(),void(g="identifierNameEscape")}if(!o(T))return C("identifier",E);E+=A()},identifierNameEscape(){if("u"!==T)throw k(A());A();const e=I();switch(e){case"$":case"_":case"":case"":break;default:if(!o(e))throw F()}E+=e,g="identifierName"},sign(){switch(T){case".":return E=A(),void(g="decimalPointLeading");case"0":return E=A(),void(g="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return E=A(),void(g="decimalInteger");case"I":return A(),D("nfinity"),C("numeric",x*(1/0));case"N":return A(),D("aN"),C("numeric",NaN)}throw k(A())},zero(){switch(T){case".":return E+=A(),void(g="decimalPoint");case"e":case"E":return E+=A(),void(g="decimalExponent");case"x":case"X":return E+=A(),void(g="hexadecimal")}return C("numeric",0*x)},decimalInteger(){switch(T){case".":return E+=A(),void(g="decimalPoint");case"e":case"E":return E+=A(),void(g="decimalExponent")}if(!a(T))return C("numeric",x*Number(E));E+=A()},decimalPointLeading(){if(a(T))return E+=A(),void(g="decimalFraction");throw k(A())},decimalPoint(){switch(T){case"e":case"E":return E+=A(),void(g="decimalExponent")}return a(T)?(E+=A(),void(g="decimalFraction")):C("numeric",x*Number(E))},decimalFraction(){switch(T){case"e":case"E":return E+=A(),void(g="decimalExponent")}if(!a(T))return C("numeric",x*Number(E));E+=A()},decimalExponent(){switch(T){case"+":case"-":return E+=A(),void(g="decimalExponentSign")}if(a(T))return E+=A(),void(g="decimalExponentInteger");throw k(A())},decimalExponentSign(){if(a(T))return E+=A(),void(g="decimalExponentInteger");throw k(A())},decimalExponentInteger(){if(!a(T))return C("numeric",x*Number(E));E+=A()},hexadecimal(){if(l(T))return E+=A(),void(g="hexadecimalInteger");throw k(A())},hexadecimalInteger(){if(!l(T))return C("numeric",x*Number(E));E+=A()},string(){switch(T){case"\\":return A(),void(E+=function(){switch(_()){case"b":return A(),"\b";case"f":return A(),"\f";case"n":return A(),"\n";case"r":return A(),"\r";case"t":return A(),"\t";case"v":return A(),"\v";case"0":if(A(),a(_()))throw k(A());return"\0";case"x":return A(),function(){let e="",t=_();if(!l(t))throw k(A());if(e+=A(),t=_(),!l(t))throw k(A());return e+=A(),String.fromCodePoint(parseInt(e,16))}();case"u":return A(),I();case"\n":case"\u2028":case"\u2029":return A(),"";case"\r":return A(),"\n"===_()&&A(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw k(A())}return A()}());case'"':return v?(A(),C("string",E)):void(E+=A());case"'":return v?void(E+=A()):(A(),C("string",E));case"\n":case"\r":throw k(A());case"\u2028":case"\u2029":!function(e){console.warn(`JSON5: '${R(e)}' in strings is not valid ECMAScript; consider escaping`)}(T);break;case void 0:throw k(A())}E+=A()},start(){switch(T){case"{":case"[":return C("punctuator",A())}g="value"},beforePropertyName(){switch(T){case"$":case"_":return E=A(),void(g="identifierName");case"\\":return A(),void(g="identifierNameStartEscape");case"}":return C("punctuator",A());case'"':case"'":return v='"'===A(),void(g="string")}if(i(T))return E+=A(),void(g="identifierName");throw k(A())},afterPropertyName(){if(":"===T)return C("punctuator",A());throw k(A())},beforePropertyValue(){g="value"},afterPropertyValue(){switch(T){case",":case"}":return C("punctuator",A())}throw k(A())},beforeArrayValue(){if("]"===T)return C("punctuator",A());g="value"},afterArrayValue(){switch(T){case",":case"]":return C("punctuator",A())}throw k(A())},end(){throw k(A())}};function C(e,t){return{type:e,value:t,line:h,column:f}}function D(e){for(const t of e){if(_()!==t)throw k(A());A()}}function I(){let e="",t=4;for(;t-- >0;){const t=_();if(!l(t))throw k(A());e+=A()}return String.fromCodePoint(parseInt(e,16))}const O={start(){if("eof"===m.type)throw L();N()},beforePropertyName(){switch(m.type){case"identifier":case"string":return y=m.value,void(c="afterPropertyName");case"punctuator":return void j();case"eof":throw L()}},afterPropertyName(){if("eof"===m.type)throw L();c="beforePropertyValue"},beforePropertyValue(){if("eof"===m.type)throw L();N()},beforeArrayValue(){if("eof"===m.type)throw L();"punctuator"!==m.type||"]"!==m.value?N():j()},afterPropertyValue(){if("eof"===m.type)throw L();switch(m.value){case",":return void(c="beforePropertyName");case"}":j()}},afterArrayValue(){if("eof"===m.type)throw L();switch(m.value){case",":return void(c="beforeArrayValue");case"]":j()}},end(){}};function N(){let e;switch(m.type){case"punctuator":switch(m.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=m.value}if(void 0===b)b=e;else{const t=u[u.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,y,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)u.push(e),c=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{const e=u[u.length-1];c=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}}function j(){u.pop();const e=u[u.length-1];c=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function k(e){return M(void 0===e?`JSON5: invalid end of input at ${h}:${f}`:`JSON5: invalid character '${R(e)}' at ${h}:${f}`)}function L(){return M(`JSON5: invalid end of input at ${h}:${f}`)}function F(){return f-=5,M(`JSON5: invalid identifier character at ${h}:${f}`)}function R(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function M(e){const t=new SyntaxError(e);return t.lineNumber=h,t.columnNumber=f,t}const B={parse:function(e,t){p=String(e),c="start",u=[],d=0,h=1,f=0,m=void 0,y=void 0,b=void 0;do{m=P(),O[c]()}while("eof"!==m.type);return"function"==typeof t?S({"":b},"",t):b},stringify:function(e,t,n){const r=[];let s,l,p,c="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,p=t.quote,t=t.replacer),"function"==typeof t)l=t;else if(Array.isArray(t)){s=[];for(const e of t){let t;"string"==typeof e?t=e:("number"==typeof e||e instanceof String||e instanceof Number)&&(t=String(e)),void 0!==t&&s.indexOf(t)<0&&s.push(t)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"==typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),function e(t,n){let i=n[t];switch(null!=i&&("function"==typeof i.toJSON5?i=i.toJSON5(t):"function"==typeof i.toJSON&&(i=i.toJSON(t))),l&&(i=l.call(n,t,i)),i instanceof Number?i=Number(i):i instanceof String?i=String(i):i instanceof Boolean&&(i=i.valueOf()),i){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof i?d(i):"number"==typeof i?String(i):"object"==typeof i?Array.isArray(i)?function(t){if(r.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");r.push(t);let n=c;c+=u;let s,i=[];for(let n=0;n<t.length;n++){const r=e(String(n),t);i.push(void 0!==r?r:"null")}if(0===i.length)s="[]";else if(""===u)s="["+i.join(",")+"]";else{let e=",\n"+c,t=i.join(e);s="[\n"+c+t+",\n"+n+"]"}return r.pop(),c=n,s}(i):function(t){if(r.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");r.push(t);let n=c;c+=u;let i,o=s||Object.keys(t),a=[];for(const n of o){const r=e(n,t);if(void 0!==r){let e=h(n)+":";""!==u&&(e+=" "),e+=r,a.push(e)}}if(0===a.length)i="{}";else{let e;if(""===u)e=a.join(","),i="{"+e+"}";else{let t=",\n"+c;e=a.join(t),i="{\n"+c+e+",\n"+n+"}"}}return r.pop(),c=n,i}(i):void 0}("",{"":e});function d(e){const t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let r="";for(let s=0;s<e.length;s++){const i=e[s];switch(i){case"'":case'"':t[i]++,r+=i;continue;case"\0":if(a(e[s+1])){r+="\\x00";continue}}if(n[i])r+=n[i];else if(i<" "){let e=i.charCodeAt(0).toString(16);r+="\\x"+("00"+e).substring(e.length)}else r+=i}const s=p||Object.keys(t).reduce(((e,n)=>t[e]<t[n]?e:n));return r=r.replace(new RegExp(s,"g"),n[s]),s+r+s}function h(e){if(0===e.length)return d(e);const t=String.fromCodePoint(e.codePointAt(0));if(!i(t))return d(e);for(let n=t.length;n<e.length;n++)if(!o(String.fromCodePoint(e.codePointAt(n))))return d(e);return e}}},U=B},"./node_modules/.pnpm/@babel+preset-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/preset-typescript/package.json":e=>{e.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.24.7","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.24.7","@babel/helper-validator-option":"^7.24.7","@babel/plugin-syntax-jsx":"^7.24.7","@babel/plugin-transform-modules-commonjs":"^7.24.7","@babel/plugin-transform-typescript":"^7.24.7"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.24.7","@babel/helper-plugin-test-runner":"^7.24.7"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json":e=>{e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e].call(r.exports,r,r.exports,l),r.exports}l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};(()=>{l.d(m,{default:()=>i});var e=l("./node_modules/.pnpm/@babel+core@7.24.7/node_modules/@babel/core/lib/index.js"),t=l("url"),n=l("./node_modules/.pnpm/@babel+template@7.24.7/node_modules/@babel/template/lib/index.js");function r(e,r){return{name:"transform-import-meta",visitor:{Program(e){const s=[];if(e.traverse({MemberExpression(e){const{node:t}=e;"MetaProperty"===t.object.type&&"import"===t.object.meta.name&&"meta"===t.object.property.name&&"Identifier"===t.property.type&&"url"===t.property.name&&s.push(e)}}),0!==s.length)for(const e of s)e.replaceWith(n.smart.ast`${r.filename?JSON.stringify((0,t.pathToFileURL)(r.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function s({template:e,types:t}){return{name:"@import-meta-env/babel",visitor:{Identifier(n){if(!t.isIdentifier(n))return;if(!t.isMemberExpression(n.parentPath)&&!t.isOptionalMemberExpression(n.parentPath))return;if(!t.isMemberExpression(n.parentPath.node))return;const r=n.parentPath.node;if(!t.isMetaProperty(r.object))return;const s=r.object;"import"===s.meta.name&&"meta"===s.property.name&&"env"===r.property.name&&n.parentPath.replaceWith(e.expression.ast("process.env"))}}}}function i(t){var n,i,o,a,p,c;const u=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:"boolean"!=typeof t.retainLines||t.retainLines,filename:"",cwd:"/"},t.babel),{plugins:[[l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[l("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[r,{filename:t.filename}],[l("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[l("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[s]]});t.ts&&(u.plugins.push([l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),u.plugins.unshift([l("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.24.7_@babel+traverse@7.24.7/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[l("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),u.plugins.push(l("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),u.plugins.push(l("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),t.legacy&&(u.plugins.push(l("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),u.plugins.push(l("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.24.7_@babel+core@7.24.7/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),t.babel&&Array.isArray(t.babel.plugins)&&(null===(n=u.plugins)||void 0===n||n.push(...t.babel.plugins));try{return{code:(null===(i=(0,e.transformSync)(t.source,u))||void 0===i?void 0:i.code)||""}}catch(e){return{error:e,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:t.filename,line:(null===(o=e.loc)||void 0===o?void 0:o.line)||0,column:(null===(a=e.loc)||void 0===a?void 0:a.column)||0,code:null===(p=e.code)||void 0===p?void 0:p.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:null===(c=e.message)||void 0===c?void 0:c.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),t.exports=m.default})()),v.exports;var t}function T(e){throw e}var S=function(e,t){const n=g();return(t={onError:T,...t}).transform||(t.transform=x()),n(e,t)},P=m({__proto__:null,default:t(S)},[S]);export{P as i};
|