@clinebot/core 0.0.22 → 0.0.23
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/dist/ClineCore.d.ts +110 -0
- package/dist/ClineCore.d.ts.map +1 -0
- package/dist/account/cline-account-service.d.ts +2 -1
- package/dist/account/cline-account-service.d.ts.map +1 -1
- package/dist/account/index.d.ts +1 -1
- package/dist/account/index.d.ts.map +1 -1
- package/dist/account/rpc.d.ts +3 -1
- package/dist/account/rpc.d.ts.map +1 -1
- package/dist/account/types.d.ts +3 -0
- package/dist/account/types.d.ts.map +1 -1
- package/dist/agents/plugin-loader.d.ts.map +1 -1
- package/dist/agents/plugin-sandbox-bootstrap.js +17 -17
- package/dist/auth/client.d.ts +1 -1
- package/dist/auth/client.d.ts.map +1 -1
- package/dist/auth/cline.d.ts +1 -1
- package/dist/auth/cline.d.ts.map +1 -1
- package/dist/auth/codex.d.ts +1 -1
- package/dist/auth/codex.d.ts.map +1 -1
- package/dist/auth/oca.d.ts +1 -1
- package/dist/auth/oca.d.ts.map +1 -1
- package/dist/auth/utils.d.ts +2 -2
- package/dist/auth/utils.d.ts.map +1 -1
- package/dist/index.d.ts +50 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +949 -0
- package/dist/providers/local-provider-service.d.ts +4 -4
- package/dist/providers/local-provider-service.d.ts.map +1 -1
- package/dist/runtime/runtime-builder.d.ts +1 -0
- package/dist/runtime/runtime-builder.d.ts.map +1 -1
- package/dist/runtime/session-runtime.d.ts +2 -1
- package/dist/runtime/session-runtime.d.ts.map +1 -1
- package/dist/runtime/team-runtime-registry.d.ts +13 -0
- package/dist/runtime/team-runtime-registry.d.ts.map +1 -0
- package/dist/session/default-session-manager.d.ts +2 -2
- package/dist/session/default-session-manager.d.ts.map +1 -1
- package/dist/session/rpc-runtime-ensure.d.ts +53 -0
- package/dist/session/rpc-runtime-ensure.d.ts.map +1 -0
- package/dist/session/session-config-builder.d.ts +2 -3
- package/dist/session/session-config-builder.d.ts.map +1 -1
- package/dist/session/session-host.d.ts +8 -18
- package/dist/session/session-host.d.ts.map +1 -1
- package/dist/session/session-manager.d.ts +1 -1
- package/dist/session/session-manager.d.ts.map +1 -1
- package/dist/session/session-manifest.d.ts +1 -2
- package/dist/session/session-manifest.d.ts.map +1 -1
- package/dist/session/unified-session-persistence-service.d.ts +2 -2
- package/dist/session/unified-session-persistence-service.d.ts.map +1 -1
- package/dist/session/utils/helpers.d.ts +1 -1
- package/dist/session/utils/helpers.d.ts.map +1 -1
- package/dist/session/utils/types.d.ts +1 -1
- package/dist/session/utils/types.d.ts.map +1 -1
- package/dist/storage/provider-settings-legacy-migration.d.ts.map +1 -1
- package/dist/telemetry/OpenTelemetryProvider.d.ts.map +1 -1
- package/dist/telemetry/distinct-id.d.ts +2 -0
- package/dist/telemetry/distinct-id.d.ts.map +1 -0
- package/dist/telemetry/{opentelemetry.d.ts → index.d.ts} +1 -1
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +28 -0
- package/dist/tools/constants.d.ts +1 -1
- package/dist/tools/constants.d.ts.map +1 -1
- package/dist/tools/definitions.d.ts +3 -3
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/executors/apply-patch.d.ts +1 -1
- package/dist/tools/executors/apply-patch.d.ts.map +1 -1
- package/dist/tools/executors/bash.d.ts +1 -1
- package/dist/tools/executors/bash.d.ts.map +1 -1
- package/dist/tools/executors/editor.d.ts +1 -1
- package/dist/tools/executors/editor.d.ts.map +1 -1
- package/dist/tools/executors/file-read.d.ts +1 -1
- package/dist/tools/executors/file-read.d.ts.map +1 -1
- package/dist/tools/executors/index.d.ts +14 -14
- package/dist/tools/executors/index.d.ts.map +1 -1
- package/dist/tools/executors/search.d.ts +1 -1
- package/dist/tools/executors/search.d.ts.map +1 -1
- package/dist/tools/executors/web-fetch.d.ts +1 -1
- package/dist/tools/executors/web-fetch.d.ts.map +1 -1
- package/dist/tools/helpers.d.ts +1 -1
- package/dist/tools/helpers.d.ts.map +1 -1
- package/dist/tools/index.d.ts +10 -10
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/model-tool-routing.d.ts +1 -1
- package/dist/tools/model-tool-routing.d.ts.map +1 -1
- package/dist/tools/presets.d.ts +1 -1
- package/dist/tools/presets.d.ts.map +1 -1
- package/dist/types/common.d.ts +17 -8
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/config.d.ts +4 -3
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/provider-settings.d.ts +1 -1
- package/dist/types/provider-settings.d.ts.map +1 -1
- package/dist/types.d.ts +5 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +44 -38
- package/src/ClineCore.ts +137 -0
- package/src/account/cline-account-service.test.ts +101 -0
- package/src/account/cline-account-service.ts +300 -0
- package/src/account/featurebase-token.test.ts +175 -0
- package/src/account/index.ts +23 -0
- package/src/account/rpc.test.ts +63 -0
- package/src/account/rpc.ts +185 -0
- package/src/account/types.ts +102 -0
- package/src/agents/agent-config-loader.test.ts +236 -0
- package/src/agents/agent-config-loader.ts +108 -0
- package/src/agents/agent-config-parser.ts +198 -0
- package/src/agents/hooks-config-loader.test.ts +20 -0
- package/src/agents/hooks-config-loader.ts +118 -0
- package/src/agents/index.ts +85 -0
- package/src/agents/plugin-config-loader.test.ts +140 -0
- package/src/agents/plugin-config-loader.ts +97 -0
- package/src/agents/plugin-loader.test.ts +210 -0
- package/src/agents/plugin-loader.ts +175 -0
- package/src/agents/plugin-sandbox-bootstrap.ts +448 -0
- package/src/agents/plugin-sandbox.test.ts +296 -0
- package/src/agents/plugin-sandbox.ts +341 -0
- package/src/agents/unified-config-file-watcher.test.ts +196 -0
- package/src/agents/unified-config-file-watcher.ts +483 -0
- package/src/agents/user-instruction-config-loader.test.ts +158 -0
- package/src/agents/user-instruction-config-loader.ts +438 -0
- package/src/auth/client.test.ts +40 -0
- package/src/auth/client.ts +25 -0
- package/src/auth/cline.test.ts +130 -0
- package/src/auth/cline.ts +420 -0
- package/src/auth/codex.test.ts +170 -0
- package/src/auth/codex.ts +491 -0
- package/src/auth/oca.test.ts +215 -0
- package/src/auth/oca.ts +573 -0
- package/src/auth/server.ts +216 -0
- package/src/auth/types.ts +81 -0
- package/src/auth/utils.test.ts +128 -0
- package/src/auth/utils.ts +247 -0
- package/src/chat/chat-schema.ts +82 -0
- package/src/index.ts +479 -0
- package/src/input/file-indexer.d.ts +11 -0
- package/src/input/file-indexer.test.ts +127 -0
- package/src/input/file-indexer.ts +327 -0
- package/src/input/index.ts +7 -0
- package/src/input/mention-enricher.test.ts +85 -0
- package/src/input/mention-enricher.ts +122 -0
- package/src/mcp/config-loader.test.ts +238 -0
- package/src/mcp/config-loader.ts +219 -0
- package/src/mcp/index.ts +26 -0
- package/src/mcp/manager.test.ts +106 -0
- package/src/mcp/manager.ts +262 -0
- package/src/mcp/types.ts +88 -0
- package/src/providers/local-provider-registry.ts +232 -0
- package/src/providers/local-provider-service.test.ts +783 -0
- package/src/providers/local-provider-service.ts +471 -0
- package/src/runtime/commands.test.ts +98 -0
- package/src/runtime/commands.ts +83 -0
- package/src/runtime/hook-file-hooks.test.ts +237 -0
- package/src/runtime/hook-file-hooks.ts +859 -0
- package/src/runtime/index.ts +37 -0
- package/src/runtime/rules.ts +34 -0
- package/src/runtime/runtime-builder.team-persistence.test.ts +245 -0
- package/src/runtime/runtime-builder.test.ts +371 -0
- package/src/runtime/runtime-builder.ts +631 -0
- package/src/runtime/runtime-parity.test.ts +143 -0
- package/src/runtime/sandbox/subprocess-sandbox.ts +231 -0
- package/src/runtime/session-runtime.ts +49 -0
- package/src/runtime/skills.ts +44 -0
- package/src/runtime/team-runtime-registry.ts +46 -0
- package/src/runtime/tool-approval.ts +104 -0
- package/src/runtime/workflows.test.ts +119 -0
- package/src/runtime/workflows.ts +45 -0
- package/src/session/default-session-manager.e2e.test.ts +384 -0
- package/src/session/default-session-manager.test.ts +1931 -0
- package/src/session/default-session-manager.ts +1422 -0
- package/src/session/file-session-service.ts +280 -0
- package/src/session/index.ts +45 -0
- package/src/session/rpc-runtime-ensure.ts +521 -0
- package/src/session/rpc-session-service.ts +107 -0
- package/src/session/rpc-spawn-lease.test.ts +49 -0
- package/src/session/rpc-spawn-lease.ts +122 -0
- package/src/session/runtime-oauth-token-manager.test.ts +137 -0
- package/src/session/runtime-oauth-token-manager.ts +272 -0
- package/src/session/session-agent-events.ts +248 -0
- package/src/session/session-artifacts.ts +106 -0
- package/src/session/session-config-builder.ts +113 -0
- package/src/session/session-graph.ts +92 -0
- package/src/session/session-host.test.ts +89 -0
- package/src/session/session-host.ts +205 -0
- package/src/session/session-manager.ts +69 -0
- package/src/session/session-manifest.ts +29 -0
- package/src/session/session-service.team-persistence.test.ts +48 -0
- package/src/session/session-service.ts +673 -0
- package/src/session/session-team-coordination.ts +229 -0
- package/src/session/session-telemetry.ts +100 -0
- package/src/session/sqlite-rpc-session-backend.ts +303 -0
- package/src/session/unified-session-persistence-service.test.ts +85 -0
- package/src/session/unified-session-persistence-service.ts +994 -0
- package/src/session/utils/helpers.ts +139 -0
- package/src/session/utils/types.ts +57 -0
- package/src/session/utils/usage.ts +32 -0
- package/src/session/workspace-manager.ts +98 -0
- package/src/session/workspace-manifest.ts +100 -0
- package/src/storage/artifact-store.ts +1 -0
- package/src/storage/file-team-store.ts +257 -0
- package/src/storage/index.ts +11 -0
- package/src/storage/provider-settings-legacy-migration.test.ts +424 -0
- package/src/storage/provider-settings-legacy-migration.ts +826 -0
- package/src/storage/provider-settings-manager.test.ts +191 -0
- package/src/storage/provider-settings-manager.ts +152 -0
- package/src/storage/session-store.ts +1 -0
- package/src/storage/sqlite-session-store.ts +275 -0
- package/src/storage/sqlite-team-store.ts +454 -0
- package/src/storage/team-store.ts +40 -0
- package/src/team/index.ts +4 -0
- package/src/team/projections.ts +285 -0
- package/src/telemetry/ITelemetryAdapter.ts +94 -0
- package/src/telemetry/LoggerTelemetryAdapter.test.ts +42 -0
- package/src/telemetry/LoggerTelemetryAdapter.ts +114 -0
- package/src/telemetry/OpenTelemetryAdapter.test.ts +157 -0
- package/src/telemetry/OpenTelemetryAdapter.ts +348 -0
- package/src/telemetry/OpenTelemetryProvider.test.ts +113 -0
- package/src/telemetry/OpenTelemetryProvider.ts +325 -0
- package/src/telemetry/TelemetryService.test.ts +134 -0
- package/src/telemetry/TelemetryService.ts +141 -0
- package/src/telemetry/core-events.ts +400 -0
- package/src/telemetry/distinct-id.test.ts +57 -0
- package/src/telemetry/distinct-id.ts +58 -0
- package/src/telemetry/index.ts +20 -0
- package/src/tools/constants.ts +35 -0
- package/src/tools/definitions.test.ts +704 -0
- package/src/tools/definitions.ts +709 -0
- package/src/tools/executors/apply-patch-parser.ts +520 -0
- package/src/tools/executors/apply-patch.ts +359 -0
- package/src/tools/executors/bash.test.ts +87 -0
- package/src/tools/executors/bash.ts +207 -0
- package/src/tools/executors/editor.test.ts +35 -0
- package/src/tools/executors/editor.ts +219 -0
- package/src/tools/executors/file-read.test.ts +49 -0
- package/src/tools/executors/file-read.ts +110 -0
- package/src/tools/executors/index.ts +87 -0
- package/src/tools/executors/search.ts +278 -0
- package/src/tools/executors/web-fetch.ts +259 -0
- package/src/tools/helpers.ts +130 -0
- package/src/tools/index.ts +169 -0
- package/src/tools/model-tool-routing.test.ts +86 -0
- package/src/tools/model-tool-routing.ts +132 -0
- package/src/tools/presets.test.ts +62 -0
- package/src/tools/presets.ts +168 -0
- package/src/tools/schemas.ts +327 -0
- package/src/tools/types.ts +329 -0
- package/src/types/common.ts +26 -0
- package/src/types/config.ts +86 -0
- package/src/types/events.ts +74 -0
- package/src/types/index.ts +24 -0
- package/src/types/provider-settings.ts +43 -0
- package/src/types/sessions.ts +16 -0
- package/src/types/storage.ts +64 -0
- package/src/types/workspace.ts +7 -0
- package/src/types.ts +132 -0
- package/src/version.ts +3 -0
- package/dist/index.node.d.ts +0 -47
- package/dist/index.node.d.ts.map +0 -1
- package/dist/index.node.js +0 -948
- package/dist/telemetry/opentelemetry.d.ts.map +0 -1
- package/dist/telemetry/opentelemetry.js +0 -27
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import{createRequire as E7}from"node:module";var I7=Object.create;var{getPrototypeOf:T7,defineProperty:q6,getOwnPropertyNames:D7}=Object;var P7=Object.prototype.hasOwnProperty;function S7(tZ){return this[tZ]}var q7,w7,v7=(tZ
|
|
1
|
+
import{createRequire as E7}from"node:module";var I7=Object.create;var{getPrototypeOf:T7,defineProperty:q6,getOwnPropertyNames:D7}=Object;var P7=Object.prototype.hasOwnProperty;function S7(tZ){return this[tZ]}var q7,w7,v7=(tZ,O0,X0)=>{var a0=tZ!=null&&typeof tZ==="object";if(a0){var n=O0?q7??=new WeakMap:w7??=new WeakMap,X=n.get(tZ);if(X)return X}X0=tZ!=null?I7(T7(tZ)):{};let $=O0||!tZ||!tZ.__esModule?q6(X0,"default",{value:tZ,enumerable:!0}):X0;for(let Y of D7(tZ))if(!P7.call($,Y))q6($,Y,{get:S7.bind(tZ,Y),enumerable:!0});if(a0)n.set(tZ,$);return $};var X6=(tZ,O0)=>()=>(O0||tZ((O0={exports:{}}).exports,O0),O0.exports);var h0=E7(import.meta.url);var v6=X6((K8,w6)=>{(()=>{var tZ={"./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js":(n,X,$)=>{let Y=$("module"),j=$("path"),O=$("fs");n.exports=function(Z){return Z||(Z=process.cwd()),function(Q){try{return O.lstatSync(Q).isDirectory()}catch(R){return!1}}(Z)&&(Z=j.join(Z,"index.js")),Y.createRequire?Y.createRequire(Z):Y.createRequireFromPath?Y.createRequireFromPath(Z):function(Q){let R=new Y.Module(Q,null);return R.filename=Q,R.paths=Y.Module._nodeModulePaths(j.dirname(Q)),R._compile("module.exports = require;",Q),R.exports}(Z)}},"./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive":(n)=>{function X($){return Promise.resolve().then(()=>{var Y=Error("Cannot find module '"+$+"'");throw Y.code="MODULE_NOT_FOUND",Y})}X.keys=()=>[],X.resolve=X,X.id="./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive",n.exports=X},"./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js":(n,X,$)=>{var Y=$("crypto");function j(M,G){return function(z,V){var F=V.algorithm!=="passthrough"?Y.createHash(V.algorithm):new U;F.write===void 0&&(F.write=F.update,F.end=F.update);var J=N(V,F);if(J.dispatch(z),F.update||F.end(""),F.digest)return F.digest(V.encoding==="buffer"?void 0:V.encoding);var A=F.read();if(V.encoding==="buffer")return A;return A.toString(V.encoding)}(M,G=Q(M,G))}(X=n.exports=j).sha1=function(M){return j(M)},X.keys=function(M){return j(M,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},X.MD5=function(M){return j(M,{algorithm:"md5",encoding:"hex"})},X.keysMD5=function(M){return j(M,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var O=Y.getHashes?Y.getHashes().slice():["sha1","md5"];O.push("passthrough");var Z=["buffer","hex","binary","base64"];function Q(M,G){G=G||{};var z={};if(z.algorithm=G.algorithm||"sha1",z.encoding=G.encoding||"hex",z.excludeValues=!!G.excludeValues,z.algorithm=z.algorithm.toLowerCase(),z.encoding=z.encoding.toLowerCase(),z.ignoreUnknown=G.ignoreUnknown===!0,z.respectType=G.respectType!==!1,z.respectFunctionNames=G.respectFunctionNames!==!1,z.respectFunctionProperties=G.respectFunctionProperties!==!1,z.unorderedArrays=G.unorderedArrays===!0,z.unorderedSets=G.unorderedSets!==!1,z.unorderedObjects=G.unorderedObjects!==!1,z.replacer=G.replacer||void 0,z.excludeKeys=G.excludeKeys||void 0,M===void 0)throw Error("Object argument required.");for(var V=0;V<O.length;++V)O[V].toLowerCase()===z.algorithm.toLowerCase()&&(z.algorithm=O[V]);if(O.indexOf(z.algorithm)===-1)throw Error('Algorithm "'+z.algorithm+'" not supported. supported values: '+O.join(", "));if(Z.indexOf(z.encoding)===-1&&z.algorithm!=="passthrough")throw Error('Encoding "'+z.encoding+'" not supported. supported values: '+Z.join(", "));return z}function R(M){if(typeof M!="function")return!1;return/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(M))!=null}function N(M,G,z){z=z||[];var V=function(F){return G.update?G.update(F,"utf8"):G.write(F,"utf8")};return{dispatch:function(F){M.replacer&&(F=M.replacer(F));var J=typeof F;return F===null&&(J="null"),this["_"+J](F)},_object:function(F){var J=Object.prototype.toString.call(F),A=/\[object (.*)\]/i.exec(J);A=(A=A?A[1]:"unknown:["+J+"]").toLowerCase();var T;if((T=z.indexOf(F))>=0)return this.dispatch("[CIRCULAR:"+T+"]");if(z.push(F),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(F))return V("buffer:"),V(F);if(A==="object"||A==="function"||A==="asyncfunction"){var I=Object.keys(F);M.unorderedObjects&&(I=I.sort()),M.respectType===!1||R(F)||I.splice(0,0,"prototype","__proto__","constructor"),M.excludeKeys&&(I=I.filter(function(w){return!M.excludeKeys(w)})),V("object:"+I.length+":");var P=this;return I.forEach(function(w){P.dispatch(w),V(":"),M.excludeValues||P.dispatch(F[w]),V(",")})}if(!this["_"+A]){if(M.ignoreUnknown)return V("["+A+"]");throw Error('Unknown object type "'+A+'"')}this["_"+A](F)},_array:function(F,J){J=J!==void 0?J:M.unorderedArrays!==!1;var A=this;if(V("array:"+F.length+":"),!J||F.length<=1)return F.forEach(function(P){return A.dispatch(P)});var T=[],I=F.map(function(P){var w=new U,D=z.slice();return N(M,w,D).dispatch(P),T=T.concat(D.slice(z.length)),w.read().toString()});return z=z.concat(T),I.sort(),this._array(I,!1)},_date:function(F){return V("date:"+F.toJSON())},_symbol:function(F){return V("symbol:"+F.toString())},_error:function(F){return V("error:"+F.toString())},_boolean:function(F){return V("bool:"+F.toString())},_string:function(F){V("string:"+F.length+":"),V(F.toString())},_function:function(F){V("fn:"),R(F)?this.dispatch("[native]"):this.dispatch(F.toString()),M.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(F.name)),M.respectFunctionProperties&&this._object(F)},_number:function(F){return V("number:"+F.toString())},_xml:function(F){return V("xml:"+F.toString())},_null:function(){return V("Null")},_undefined:function(){return V("Undefined")},_regexp:function(F){return V("regex:"+F.toString())},_uint8array:function(F){return V("uint8array:"),this.dispatch(Array.prototype.slice.call(F))},_uint8clampedarray:function(F){return V("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(F))},_int8array:function(F){return V("int8array:"),this.dispatch(Array.prototype.slice.call(F))},_uint16array:function(F){return V("uint16array:"),this.dispatch(Array.prototype.slice.call(F))},_int16array:function(F){return V("int16array:"),this.dispatch(Array.prototype.slice.call(F))},_uint32array:function(F){return V("uint32array:"),this.dispatch(Array.prototype.slice.call(F))},_int32array:function(F){return V("int32array:"),this.dispatch(Array.prototype.slice.call(F))},_float32array:function(F){return V("float32array:"),this.dispatch(Array.prototype.slice.call(F))},_float64array:function(F){return V("float64array:"),this.dispatch(Array.prototype.slice.call(F))},_arraybuffer:function(F){return V("arraybuffer:"),this.dispatch(new Uint8Array(F))},_url:function(F){return V("url:"+F.toString())},_map:function(F){V("map:");var J=Array.from(F);return this._array(J,M.unorderedSets!==!1)},_set:function(F){V("set:");var J=Array.from(F);return this._array(J,M.unorderedSets!==!1)},_file:function(F){return V("file:"),this.dispatch([F.name,F.size,F.type,F.lastModfied])},_blob:function(){if(M.ignoreUnknown)return V("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
2
2
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
3
3
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
4
4
|
`)},_domwindow:function(){return V("domwindow")},_bigint:function(F){return V("bigint:"+F.toString())},_process:function(){return V("process")},_timer:function(){return V("timer")},_pipe:function(){return V("pipe")},_tcp:function(){return V("tcp")},_udp:function(){return V("udp")},_tty:function(){return V("tty")},_statwatcher:function(){return V("statwatcher")},_securecontext:function(){return V("securecontext")},_connection:function(){return V("connection")},_zlib:function(){return V("zlib")},_context:function(){return V("context")},_nodescript:function(){return V("nodescript")},_httpparser:function(){return V("httpparser")},_dataview:function(){return V("dataview")},_signal:function(){return V("signal")},_fsevent:function(){return V("fsevent")},_tlswrap:function(){return V("tlswrap")}}}function U(){return{buf:"",write:function(M){this.buf+=M},end:function(M){this.buf+=M},read:function(){return this.buf}}}X.writeToStream=function(M,G,z){return z===void 0&&(z=G,G={}),N(G=Q(M,G),z).dispatch(M)}},"./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js":(n,X,$)=>{n=$.nmd(n),Object.defineProperty(X,"__esModule",{value:!0}),X.addHook=function(N,U={}){let M=!1,G=[],z=[],V,F=Q._extensions[".js"],J=U.matcher||null,A=U.ignoreNodeModules!==!1;return V=U.extensions||U.exts||U.extension||U.ext||[".js"],Array.isArray(V)||(V=[V]),V.forEach((T)=>{if(typeof T!="string")throw TypeError(`Invalid Extension: ${T}`);let I=Q._extensions[T]||F;z[T]=Q._extensions[T],G[T]=Q._extensions[T]=function(P,w){let D;M||function(E,v,k,_){if(typeof E!="string")return!1;if(v.indexOf(j.default.extname(E))===-1)return!1;let r=j.default.resolve(E);if(_&&Z.test(r))return!1;if(k&&typeof k=="function")return!!k(r);return!0}(w,V,J,A)&&(D=P._compile,P._compile=function(E){P._compile=D;let v=N(E,w);if(typeof v!="string")throw Error(R);return P._compile(v,w)}),I(P,w)}}),function(){M||(M=!0,V.forEach((T)=>{Q._extensions[T]===G[T]&&(z[T]?Q._extensions[T]=z[T]:delete Q._extensions[T])}))}};var Y=O($("module")),j=O($("path"));function O(N){return N&&N.__esModule?N:{default:N}}let Z=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,Q=n.constructor.length>1?n.constructor:Y.default,R=`[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!
|
|
5
5
|
--------------------
|
|
6
|
-
If 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.3/node_modules/semver/classes/comparator.js":(n,X,$)=>{let Y=Symbol("SemVer ANY");class j{static get ANY(){return Y}constructor(G,z){if(z=O(z),G instanceof j){if(G.loose===!!z.loose)return G;G=G.value}G=G.trim().split(/\s+/).join(" "),N("comparator",G,z),this.options=z,this.loose=!!z.loose,this.parse(G),this.semver===Y?this.value="":this.value=this.operator+this.semver.version,N("comp",this)}parse(G){let z=this.options.loose?Z[Q.COMPARATORLOOSE]:Z[Q.COMPARATOR],V=G.match(z);if(!V)throw TypeError(`Invalid comparator: ${G}`);this.operator=V[1]!==void 0?V[1]:"",this.operator==="="&&(this.operator=""),V[2]?this.semver=new U(V[2],this.options.loose):this.semver=Y}toString(){return this.value}test(G){if(N("Comparator.test",G,this.options.loose),this.semver===Y||G===Y)return!0;if(typeof G=="string")try{G=new U(G,this.options)}catch(z){return!1}return R(G,this.operator,this.semver,this.options)}intersects(G,z){if(!(G instanceof j))throw TypeError("a Comparator is required");return this.operator===""?this.value===""||new M(G.value,z).test(this.value):G.operator===""?G.value===""||new M(this.value,z).test(G.semver):(!(z=O(z)).includePrerelease||this.value!=="<0.0.0-0"&&G.value!=="<0.0.0-0")&&(!(!z.includePrerelease&&(this.value.startsWith("<0.0.0")||G.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!G.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!G.operator.startsWith("<"))||(!(this.semver.version!==G.semver.version||!this.operator.includes("=")||!G.operator.includes("="))||(!!(R(this.semver,"<",G.semver,z)&&this.operator.startsWith(">")&&G.operator.startsWith("<"))||!!(R(this.semver,">",G.semver,z)&&this.operator.startsWith("<")&&G.operator.startsWith(">")))))))}}n.exports=j;let O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{safeRe:Z,t:Q}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js":(n,X,$)=>{let Y=/\s+/g;class j{constructor(u,a){if(a=Z(a),u instanceof j)return u.loose===!!a.loose&&u.includePrerelease===!!a.includePrerelease?u:new j(u.raw,a);if(u instanceof Q)return this.raw=u.value,this.set=[[u]],this.formatted=void 0,this;if(this.options=a,this.loose=!!a.loose,this.includePrerelease=!!a.includePrerelease,this.raw=u.trim().replace(Y," "),this.set=this.raw.split("||").map((d)=>this.parseRange(d.trim())).filter((d)=>d.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let d=this.set[0];if(this.set=this.set.filter((o)=>!A(o[0])),this.set.length===0)this.set=[d];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&T(o[0])){this.set=[o];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let u=0;u<this.set.length;u++){u>0&&(this.formatted+="||");let a=this.set[u];for(let d=0;d<a.length;d++)d>0&&(this.formatted+=" "),this.formatted+=a[d].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(u){let a=((this.options.includePrerelease&&F)|(this.options.loose&&J))+":"+u,d=O.get(a);if(d)return d;let o=this.options.loose,m=o?U[M.HYPHENRANGELOOSE]:U[M.HYPHENRANGE];u=u.replace(m,q(this.options.includePrerelease)),R("hyphen replace",u),u=u.replace(U[M.COMPARATORTRIM],G),R("comparator trim",u),u=u.replace(U[M.TILDETRIM],z),R("tilde trim",u),u=u.replace(U[M.CARETTRIM],V),R("caret trim",u);let b=u.split(" ").map((HZ)=>P(HZ,this.options)).join(" ").split(/\s+/).map((HZ)=>f(HZ,this.options));o&&(b=b.filter((HZ)=>(R("loose invalid filter",HZ,this.options),!!HZ.match(U[M.COMPARATORLOOSE])))),R("range list",b);let p=new Map,i=b.map((HZ)=>new Q(HZ,this.options));for(let HZ of i){if(A(HZ))return[HZ];p.set(HZ.value,HZ)}p.size>1&&p.has("")&&p.delete("");let s=[...p.values()];return O.set(a,s),s}intersects(u,a){if(!(u instanceof j))throw TypeError("a Range is required");return this.set.some((d)=>I(d,a)&&u.set.some((o)=>I(o,a)&&d.every((m)=>o.every((b)=>m.intersects(b,a)))))}test(u){if(!u)return!1;if(typeof u=="string")try{u=new N(u,this.options)}catch(a){return!1}for(let a=0;a<this.set.length;a++)if(g(this.set[a],u,this.options))return!0;return!1}}n.exports=j;let O=new($("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js")),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),{safeRe:U,t:M,comparatorTrimReplace:G,tildeTrimReplace:z,caretTrimReplace:V}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:F,FLAG_LOOSE:J}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),A=(u)=>u.value==="<0.0.0-0",T=(u)=>u.value==="",I=(u,a)=>{let d=!0,o=u.slice(),m=o.pop();for(;d&&o.length;)d=o.every((b)=>m.intersects(b,a)),m=o.pop();return d},P=(u,a)=>(R("comp",u,a),u=v(u,a),R("caret",u),u=D(u,a),R("tildes",u),u=_(u,a),R("xrange",u),u=t(u,a),R("stars",u),u),w=(u)=>!u||u.toLowerCase()==="x"||u==="*",D=(u,a)=>u.trim().split(/\s+/).map((d)=>E(d,a)).join(" "),E=(u,a)=>{let d=a.loose?U[M.TILDELOOSE]:U[M.TILDE];return u.replace(d,(o,m,b,p,i)=>{let s;return R("tilde",u,o,m,b,p,i),w(m)?s="":w(b)?s=`>=${m}.0.0 <${+m+1}.0.0-0`:w(p)?s=`>=${m}.${b}.0 <${m}.${+b+1}.0-0`:i?(R("replaceTilde pr",i),s=`>=${m}.${b}.${p}-${i} <${m}.${+b+1}.0-0`):s=`>=${m}.${b}.${p} <${m}.${+b+1}.0-0`,R("tilde return",s),s})},v=(u,a)=>u.trim().split(/\s+/).map((d)=>k(d,a)).join(" "),k=(u,a)=>{R("caret",u,a);let d=a.loose?U[M.CARETLOOSE]:U[M.CARET],o=a.includePrerelease?"-0":"";return u.replace(d,(m,b,p,i,s)=>{let HZ;return R("caret",u,m,b,p,i,s),w(b)?HZ="":w(p)?HZ=`>=${b}.0.0${o} <${+b+1}.0.0-0`:w(i)?HZ=b==="0"?`>=${b}.${p}.0${o} <${b}.${+p+1}.0-0`:`>=${b}.${p}.0${o} <${+b+1}.0.0-0`:s?(R("replaceCaret pr",s),HZ=b==="0"?p==="0"?`>=${b}.${p}.${i}-${s} <${b}.${p}.${+i+1}-0`:`>=${b}.${p}.${i}-${s} <${b}.${+p+1}.0-0`:`>=${b}.${p}.${i}-${s} <${+b+1}.0.0-0`):(R("no pr"),HZ=b==="0"?p==="0"?`>=${b}.${p}.${i}${o} <${b}.${p}.${+i+1}-0`:`>=${b}.${p}.${i}${o} <${b}.${+p+1}.0-0`:`>=${b}.${p}.${i} <${+b+1}.0.0-0`),R("caret return",HZ),HZ})},_=(u,a)=>(R("replaceXRanges",u,a),u.split(/\s+/).map((d)=>r(d,a)).join(" ")),r=(u,a)=>{u=u.trim();let d=a.loose?U[M.XRANGELOOSE]:U[M.XRANGE];return u.replace(d,(o,m,b,p,i,s)=>{R("xRange",u,o,m,b,p,i,s);let HZ=w(b),GZ=HZ||w(p),AZ=GZ||w(i),SZ=AZ;return m==="="&&SZ&&(m=""),s=a.includePrerelease?"-0":"",HZ?o=m===">"||m==="<"?"<0.0.0-0":"*":m&&SZ?(GZ&&(p=0),i=0,m===">"?(m=">=",GZ?(b=+b+1,p=0,i=0):(p=+p+1,i=0)):m==="<="&&(m="<",GZ?b=+b+1:p=+p+1),m==="<"&&(s="-0"),o=`${m+b}.${p}.${i}${s}`):GZ?o=`>=${b}.0.0${s} <${+b+1}.0.0-0`:AZ&&(o=`>=${b}.${p}.0${s} <${b}.${+p+1}.0-0`),R("xRange return",o),o})},t=(u,a)=>(R("replaceStars",u,a),u.trim().replace(U[M.STAR],"")),f=(u,a)=>(R("replaceGTE0",u,a),u.trim().replace(U[a.includePrerelease?M.GTE0PRE:M.GTE0],"")),q=(u)=>(a,d,o,m,b,p,i,s,HZ,GZ,AZ,SZ)=>`${d=w(o)?"":w(m)?`>=${o}.0.0${u?"-0":""}`:w(b)?`>=${o}.${m}.0${u?"-0":""}`:p?`>=${d}`:`>=${d}${u?"-0":""}`} ${s=w(HZ)?"":w(GZ)?`<${+HZ+1}.0.0-0`:w(AZ)?`<${HZ}.${+GZ+1}.0-0`:SZ?`<=${HZ}.${GZ}.${AZ}-${SZ}`:u?`<${HZ}.${GZ}.${+AZ+1}-0`:`<=${s}`}`.trim(),g=(u,a,d)=>{for(let o=0;o<u.length;o++)if(!u[o].test(a))return!1;if(a.prerelease.length&&!d.includePrerelease){for(let o=0;o<u.length;o++)if(R(u[o].semver),u[o].semver!==Q.ANY&&u[o].semver.prerelease.length>0){let m=u[o].semver;if(m.major===a.major&&m.minor===a.minor&&m.patch===a.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),{MAX_LENGTH:j,MAX_SAFE_INTEGER:O}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),{safeRe:Z,t:Q}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:N}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js");class U{constructor(M,G){if(G=R(G),M instanceof U){if(M.loose===!!G.loose&&M.includePrerelease===!!G.includePrerelease)return M;M=M.version}else if(typeof M!="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof M}".`);if(M.length>j)throw TypeError(`version is longer than ${j} characters`);Y("SemVer",M,G),this.options=G,this.loose=!!G.loose,this.includePrerelease=!!G.includePrerelease;let z=M.trim().match(G.loose?Z[Q.LOOSE]:Z[Q.FULL]);if(!z)throw TypeError(`Invalid Version: ${M}`);if(this.raw=M,this.major=+z[1],this.minor=+z[2],this.patch=+z[3],this.major>O||this.major<0)throw TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw TypeError("Invalid patch version");z[4]?this.prerelease=z[4].split(".").map((V)=>{if(/^[0-9]+$/.test(V)){let F=+V;if(F>=0&&F<O)return F}return V}):this.prerelease=[],this.build=z[5]?z[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(M){if(Y("SemVer.compare",this.version,this.options,M),!(M instanceof U)){if(typeof M=="string"&&M===this.version)return 0;M=new U(M,this.options)}return M.version===this.version?0:this.compareMain(M)||this.comparePre(M)}compareMain(M){return M instanceof U||(M=new U(M,this.options)),N(this.major,M.major)||N(this.minor,M.minor)||N(this.patch,M.patch)}comparePre(M){if(M instanceof U||(M=new U(M,this.options)),this.prerelease.length&&!M.prerelease.length)return-1;if(!this.prerelease.length&&M.prerelease.length)return 1;if(!this.prerelease.length&&!M.prerelease.length)return 0;let G=0;do{let z=this.prerelease[G],V=M.prerelease[G];if(Y("prerelease compare",G,z,V),z===void 0&&V===void 0)return 0;if(V===void 0)return 1;if(z===void 0)return-1;if(z!==V)return N(z,V)}while(++G)}compareBuild(M){M instanceof U||(M=new U(M,this.options));let G=0;do{let z=this.build[G],V=M.build[G];if(Y("build compare",G,z,V),z===void 0&&V===void 0)return 0;if(V===void 0)return 1;if(z===void 0)return-1;if(z!==V)return N(z,V)}while(++G)}inc(M,G,z){switch(M){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",G,z);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",G,z);break;case"prepatch":this.prerelease.length=0,this.inc("patch",G,z),this.inc("pre",G,z);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",G,z),this.inc("pre",G,z);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let V=Number(z)?1:0;if(!G&&z===!1)throw Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[V];else{let F=this.prerelease.length;for(;--F>=0;)typeof this.prerelease[F]=="number"&&(this.prerelease[F]++,F=-2);if(F===-1){if(G===this.prerelease.join(".")&&z===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(V)}}if(G){let F=[G,V];z===!1&&(F=[G]),N(this.prerelease[0],G)===0?isNaN(this.prerelease[1])&&(this.prerelease=F):this.prerelease=F}break}default:throw Error(`invalid increment argument: ${M}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}n.exports=U},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j.trim().replace(/^[=v]+/,""),O);return Z?Z.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js");n.exports=(N,U,M,G)=>{switch(U){case"===":return typeof N=="object"&&(N=N.version),typeof M=="object"&&(M=M.version),N===M;case"!==":return typeof N=="object"&&(N=N.version),typeof M=="object"&&(M=M.version),N!==M;case"":case"=":case"==":return Y(N,M,G);case"!=":return j(N,M,G);case">":return O(N,M,G);case">=":return Z(N,M,G);case"<":return Q(N,M,G);case"<=":return R(N,M,G);default:throw TypeError(`Invalid operator: ${U}`)}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),{safeRe:O,t:Z}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js");n.exports=(Q,R)=>{if(Q instanceof Y)return Q;if(typeof Q=="number"&&(Q=String(Q)),typeof Q!="string")return null;let N=null;if((R=R||{}).rtl){let F=R.includePrerelease?O[Z.COERCERTLFULL]:O[Z.COERCERTL],J;for(;(J=F.exec(Q))&&(!N||N.index+N[0].length!==Q.length);)N&&J.index+J[0].length===N.index+N[0].length||(N=J),F.lastIndex=J.index+J[1].length+J[2].length;F.lastIndex=-1}else N=Q.match(R.includePrerelease?O[Z.COERCEFULL]:O[Z.COERCE]);if(N===null)return null;let U=N[2],M=N[3]||"0",G=N[4]||"0",z=R.includePrerelease&&N[5]?`-${N[5]}`:"",V=R.includePrerelease&&N[6]?`+${N[6]}`:"";return j(`${U}.${M}.${G}${z}${V}`,R)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z)=>{let Q=new Y(j,Z),R=new Y(O,Z);return Q.compare(R)||Q.compareBuild(R)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O)=>Y(j,O,!0)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z)=>new Y(j,Z).compare(new Y(O,Z))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,null,!0),Q=Y(O,null,!0),R=Z.compare(Q);if(R===0)return null;let N=R>0,U=N?Z:Q,M=N?Q:Z,G=!!U.prerelease.length;if(!!M.prerelease.length&&!G)return M.patch||M.minor?U.patch?"patch":U.minor?"minor":"major":"major";let z=G?"pre":"";return Z.major!==Q.major?z+"major":Z.minor!==Q.minor?z+"minor":Z.patch!==Q.patch?z+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)===0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)>0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)>=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z,Q,R)=>{typeof Z=="string"&&(R=Q,Q=Z,Z=void 0);try{return new Y(j instanceof Y?j.version:j,Z).inc(O,Q,R).version}catch(N){return null}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)<0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)<=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).major},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).minor},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)!==0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z=!1)=>{if(j instanceof Y)return j;try{return new Y(j,O)}catch(Q){if(!Z)return null;throw Q}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).patch},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,O);return Z&&Z.prerelease.length?Z.prerelease:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(O,j,Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");n.exports=(j,O)=>j.sort((Z,Q)=>Y(Q,Z,O))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O,Z)=>{try{O=new Y(O,Z)}catch(Q){return!1}return O.test(j)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");n.exports=(j,O)=>j.sort((Z,Q)=>Y(Z,Q,O))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,O);return Z?Z.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"),G=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"),z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"),V=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"),F=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"),J=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),A=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"),T=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"),I=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"),P=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"),w=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"),D=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),E=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),v=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),k=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),_=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),r=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),t=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),f=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"),q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),g=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),u=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),a=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"),d=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"),o=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"),m=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"),b=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"),p=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"),i=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"),s=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"),HZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"),GZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"),AZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js");n.exports={parse:Q,valid:R,clean:N,inc:U,diff:M,major:G,minor:z,patch:V,prerelease:F,compare:J,rcompare:A,compareLoose:T,compareBuild:I,sort:P,rsort:w,gt:D,lt:E,eq:v,neq:k,gte:_,lte:r,cmp:t,coerce:f,Comparator:q,Range:g,satisfies:u,toComparators:a,maxSatisfying:d,minSatisfying:o,minVersion:m,validRange:b,outside:p,gtr:i,ltr:s,intersects:HZ,simplifyRange:GZ,subset:AZ,SemVer:O,re:Y.re,src:Y.src,tokens:Y.t,SEMVER_SPEC_VERSION:j.SEMVER_SPEC_VERSION,RELEASE_TYPES:j.RELEASE_TYPES,compareIdentifiers:Z.compareIdentifiers,rcompareIdentifiers:Z.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js":(n)=>{let X=Number.MAX_SAFE_INTEGER||9007199254740991;n.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:X,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.3/node_modules/semver/internal/debug.js":(n)=>{let X=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...$)=>console.error("SEMVER",...$):()=>{};n.exports=X},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js":(n)=>{let X=/^[0-9]+$/,$=(Y,j)=>{let O=X.test(Y),Z=X.test(j);return O&&Z&&(Y=+Y,j=+j),Y===j?0:O&&!Z?-1:Z&&!O?1:Y<j?-1:1};n.exports={compareIdentifiers:$,rcompareIdentifiers:(Y,j)=>$(j,Y)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js":(n)=>{n.exports=class{constructor(){this.max=1000,this.map=new Map}get(X){let $=this.map.get(X);return $===void 0?void 0:(this.map.delete(X),this.map.set(X,$),$)}delete(X){return this.map.delete(X)}set(X,$){if(!this.delete(X)&&$!==void 0){if(this.map.size>=this.max){let Y=this.map.keys().next().value;this.delete(Y)}this.map.set(X,$)}return this}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js":(n)=>{let X=Object.freeze({loose:!0}),$=Object.freeze({});n.exports=(Y)=>Y?typeof Y!="object"?X:Y:$},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js":(n,X,$)=>{let{MAX_SAFE_COMPONENT_LENGTH:Y,MAX_SAFE_BUILD_LENGTH:j,MAX_LENGTH:O}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),Q=(X=n.exports={}).re=[],R=X.safeRe=[],N=X.src=[],U=X.t={},M=0,G=[["\\s",1],["\\d",O],["[a-zA-Z0-9-]",j]],z=(V,F,J)=>{let A=((I)=>{for(let[P,w]of G)I=I.split(`${P}*`).join(`${P}{0,${w}}`).split(`${P}+`).join(`${P}{1,${w}}`);return I})(F),T=M++;Z(V,T,F),U[V]=T,N[T]=F,Q[T]=new RegExp(F,J?"g":void 0),R[T]=new RegExp(A,J?"g":void 0)};z("NUMERICIDENTIFIER","0|[1-9]\\d*"),z("NUMERICIDENTIFIERLOOSE","\\d+"),z("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),z("MAINVERSION",`(${N[U.NUMERICIDENTIFIER]})\\.(${N[U.NUMERICIDENTIFIER]})\\.(${N[U.NUMERICIDENTIFIER]})`),z("MAINVERSIONLOOSE",`(${N[U.NUMERICIDENTIFIERLOOSE]})\\.(${N[U.NUMERICIDENTIFIERLOOSE]})\\.(${N[U.NUMERICIDENTIFIERLOOSE]})`),z("PRERELEASEIDENTIFIER",`(?:${N[U.NUMERICIDENTIFIER]}|${N[U.NONNUMERICIDENTIFIER]})`),z("PRERELEASEIDENTIFIERLOOSE",`(?:${N[U.NUMERICIDENTIFIERLOOSE]}|${N[U.NONNUMERICIDENTIFIER]})`),z("PRERELEASE",`(?:-(${N[U.PRERELEASEIDENTIFIER]}(?:\\.${N[U.PRERELEASEIDENTIFIER]})*))`),z("PRERELEASELOOSE",`(?:-?(${N[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${N[U.PRERELEASEIDENTIFIERLOOSE]})*))`),z("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),z("BUILD",`(?:\\+(${N[U.BUILDIDENTIFIER]}(?:\\.${N[U.BUILDIDENTIFIER]})*))`),z("FULLPLAIN",`v?${N[U.MAINVERSION]}${N[U.PRERELEASE]}?${N[U.BUILD]}?`),z("FULL",`^${N[U.FULLPLAIN]}$`),z("LOOSEPLAIN",`[v=\\s]*${N[U.MAINVERSIONLOOSE]}${N[U.PRERELEASELOOSE]}?${N[U.BUILD]}?`),z("LOOSE",`^${N[U.LOOSEPLAIN]}$`),z("GTLT","((?:<|>)?=?)"),z("XRANGEIDENTIFIERLOOSE",`${N[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),z("XRANGEIDENTIFIER",`${N[U.NUMERICIDENTIFIER]}|x|X|\\*`),z("XRANGEPLAIN",`[v=\\s]*(${N[U.XRANGEIDENTIFIER]})(?:\\.(${N[U.XRANGEIDENTIFIER]})(?:\\.(${N[U.XRANGEIDENTIFIER]})(?:${N[U.PRERELEASE]})?${N[U.BUILD]}?)?)?`),z("XRANGEPLAINLOOSE",`[v=\\s]*(${N[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${N[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${N[U.XRANGEIDENTIFIERLOOSE]})(?:${N[U.PRERELEASELOOSE]})?${N[U.BUILD]}?)?)?`),z("XRANGE",`^${N[U.GTLT]}\\s*${N[U.XRANGEPLAIN]}$`),z("XRANGELOOSE",`^${N[U.GTLT]}\\s*${N[U.XRANGEPLAINLOOSE]}$`),z("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Y}})(?:\\.(\\d{1,${Y}}))?(?:\\.(\\d{1,${Y}}))?`),z("COERCE",`${N[U.COERCEPLAIN]}(?:$|[^\\d])`),z("COERCEFULL",N[U.COERCEPLAIN]+`(?:${N[U.PRERELEASE]})?(?:${N[U.BUILD]})?(?:$|[^\\d])`),z("COERCERTL",N[U.COERCE],!0),z("COERCERTLFULL",N[U.COERCEFULL],!0),z("LONETILDE","(?:~>?)"),z("TILDETRIM",`(\\s*)${N[U.LONETILDE]}\\s+`,!0),X.tildeTrimReplace="$1~",z("TILDE",`^${N[U.LONETILDE]}${N[U.XRANGEPLAIN]}$`),z("TILDELOOSE",`^${N[U.LONETILDE]}${N[U.XRANGEPLAINLOOSE]}$`),z("LONECARET","(?:\\^)"),z("CARETTRIM",`(\\s*)${N[U.LONECARET]}\\s+`,!0),X.caretTrimReplace="$1^",z("CARET",`^${N[U.LONECARET]}${N[U.XRANGEPLAIN]}$`),z("CARETLOOSE",`^${N[U.LONECARET]}${N[U.XRANGEPLAINLOOSE]}$`),z("COMPARATORLOOSE",`^${N[U.GTLT]}\\s*(${N[U.LOOSEPLAIN]})$|^$`),z("COMPARATOR",`^${N[U.GTLT]}\\s*(${N[U.FULLPLAIN]})$|^$`),z("COMPARATORTRIM",`(\\s*)${N[U.GTLT]}\\s*(${N[U.LOOSEPLAIN]}|${N[U.XRANGEPLAIN]})`,!0),X.comparatorTrimReplace="$1$2$3",z("HYPHENRANGE",`^\\s*(${N[U.XRANGEPLAIN]})\\s+-\\s+(${N[U.XRANGEPLAIN]})\\s*$`),z("HYPHENRANGELOOSE",`^\\s*(${N[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${N[U.XRANGEPLAINLOOSE]})\\s*$`),z("STAR","(<|>)?=?\\s*\\*"),z("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),z("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");n.exports=(j,O,Z)=>Y(j,O,">",Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O,Z)=>(j=new Y(j,Z),O=new Y(O,Z),j.intersects(O,Z))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");n.exports=(j,O,Z)=>Y(j,O,"<",Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(O,Z,Q)=>{let R=null,N=null,U=null;try{U=new j(Z,Q)}catch(M){return null}return O.forEach((M)=>{U.test(M)&&(R&&N.compare(M)!==-1||(R=M,N=new Y(R,Q)))}),R}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(O,Z,Q)=>{let R=null,N=null,U=null;try{U=new j(Z,Q)}catch(M){return null}return O.forEach((M)=>{U.test(M)&&(R&&N.compare(M)!==1||(R=M,N=new Y(R,Q)))}),R}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js");n.exports=(Z,Q)=>{Z=new j(Z,Q);let R=new Y("0.0.0");if(Z.test(R))return R;if(R=new Y("0.0.0-0"),Z.test(R))return R;R=null;for(let N=0;N<Z.set.length;++N){let U=Z.set[N],M=null;U.forEach((G)=>{let z=new Y(G.semver.version);switch(G.operator){case">":z.prerelease.length===0?z.patch++:z.prerelease.push(0),z.raw=z.format();case"":case">=":M&&!O(z,M)||(M=z);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${G.operator}`)}}),!M||R&&!O(R,M)||(R=M)}return R&&Z.test(R)?R:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:O}=j,Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js");n.exports=(G,z,V,F)=>{let J,A,T,I,P;switch(G=new Y(G,F),z=new Z(z,F),V){case">":J=R,A=U,T=N,I=">",P=">=";break;case"<":J=N,A=M,T=R,I="<",P="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(Q(G,z,F))return!1;for(let w=0;w<z.set.length;++w){let D=z.set[w],E=null,v=null;if(D.forEach((k)=>{k.semver===O&&(k=new j(">=0.0.0")),E=E||k,v=v||k,J(k.semver,E.semver,F)?E=k:T(k.semver,v.semver,F)&&(v=k)}),E.operator===I||E.operator===P)return!1;if((!v.operator||v.operator===I)&&A(G,v.semver))return!1;if(v.operator===P&&T(G,v.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(O,Z,Q)=>{let R=[],N=null,U=null,M=O.sort((F,J)=>j(F,J,Q));for(let F of M)Y(F,Z,Q)?(U=F,N||(N=F)):(U&&R.push([N,U]),U=null,N=null);N&&R.push([N,null]);let G=[];for(let[F,J]of R)F===J?G.push(F):J||F!==M[0]?J?F===M[0]?G.push(`<=${J}`):G.push(`${F} - ${J}`):G.push(`>=${F}`):G.push("*");let z=G.join(" || "),V=typeof Z.raw=="string"?Z.raw:String(Z);return z.length<V.length?z:Z}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:O}=j,Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),R=[new j(">=0.0.0-0")],N=[new j(">=0.0.0")],U=(z,V,F)=>{if(z===V)return!0;if(z.length===1&&z[0].semver===O){if(V.length===1&&V[0].semver===O)return!0;z=F.includePrerelease?R:N}if(V.length===1&&V[0].semver===O){if(F.includePrerelease)return!0;V=N}let J=new Set,A,T,I,P,w,D,E;for(let _ of z)_.operator===">"||_.operator===">="?A=M(A,_,F):_.operator==="<"||_.operator==="<="?T=G(T,_,F):J.add(_.semver);if(J.size>1)return null;if(A&&T){if(I=Q(A.semver,T.semver,F),I>0)return null;if(I===0&&(A.operator!==">="||T.operator!=="<="))return null}for(let _ of J){if(A&&!Z(_,String(A),F))return null;if(T&&!Z(_,String(T),F))return null;for(let r of V)if(!Z(_,String(r),F))return!1;return!0}let v=!(!T||F.includePrerelease||!T.semver.prerelease.length)&&T.semver,k=!(!A||F.includePrerelease||!A.semver.prerelease.length)&&A.semver;v&&v.prerelease.length===1&&T.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(let _ of V){if(E=E||_.operator===">"||_.operator===">=",D=D||_.operator==="<"||_.operator==="<=",A){if(k&&_.semver.prerelease&&_.semver.prerelease.length&&_.semver.major===k.major&&_.semver.minor===k.minor&&_.semver.patch===k.patch&&(k=!1),_.operator===">"||_.operator===">="){if(P=M(A,_,F),P===_&&P!==A)return!1}else if(A.operator===">="&&!Z(A.semver,String(_),F))return!1}if(T){if(v&&_.semver.prerelease&&_.semver.prerelease.length&&_.semver.major===v.major&&_.semver.minor===v.minor&&_.semver.patch===v.patch&&(v=!1),_.operator==="<"||_.operator==="<="){if(w=G(T,_,F),w===_&&w!==T)return!1}else if(T.operator==="<="&&!Z(T.semver,String(_),F))return!1}if(!_.operator&&(T||A)&&I!==0)return!1}return!(A&&D&&!T&&I!==0)&&(!(T&&E&&!A&&I!==0)&&(!k&&!v))},M=(z,V,F)=>{if(!z)return V;let J=Q(z.semver,V.semver,F);return J>0?z:J<0||V.operator===">"&&z.operator===">="?V:z},G=(z,V,F)=>{if(!z)return V;let J=Q(z.semver,V.semver,F);return J<0?z:J>0||V.operator==="<"&&z.operator==="<="?V:z};n.exports=(z,V,F={})=>{if(z===V)return!0;z=new Y(z,F),V=new Y(V,F);let J=!1;Z:for(let A of z.set){for(let T of V.set){let I=U(A,T,F);if(J=J||I!==null,I)continue Z}if(J)return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O)=>new Y(j,O).set.map((Z)=>Z.map((Q)=>Q.value).join(" ").trim().split(" "))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O)=>{try{return new Y(j,O).range||"*"}catch(Z){return null}}},crypto:(n)=>{n.exports=h0("crypto")},fs:(n)=>{n.exports=h0("fs")},module:(n)=>{n.exports=h0("module")},path:(n)=>{n.exports=h0("path")}},$0={};function X0(n){var X=$0[n];if(X!==void 0)return X.exports;var $=$0[n]={id:n,loaded:!1,exports:{}};return tZ[n]($,$.exports,X0),$.loaded=!0,$.exports}X0.n=(n)=>{var X=n&&n.__esModule?()=>n.default:()=>n;return X0.d(X,{a:X}),X},X0.d=(n,X)=>{for(var $ in X)X0.o(X,$)&&!X0.o(n,$)&&Object.defineProperty(n,$,{enumerable:!0,get:X[$]})},X0.o=(n,X)=>Object.prototype.hasOwnProperty.call(n,X),X0.nmd=(n)=>(n.paths=[],n.children||(n.children=[]),n);var a0={};(()=>{X0.d(a0,{default:()=>T6});var n=X0("fs"),X=X0("module");let $=h0("perf_hooks"),Y=h0("os"),j=h0("vm");var O=X0.n(j);let Z=h0("url"),Q=/^[A-Za-z]:\//;function R(W=""){return W?W.replace(/\\/g,"/").replace(Q,(C)=>C.toUpperCase()):W}let N=/^[/\\]{2}/,U=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,M=/^[A-Za-z]:$/,G=function(W){if(W.length===0)return".";let C=(W=R(W)).match(N),y=F(W),h=W[W.length-1]==="/";return(W=V(W,!y)).length===0?y?"/":h?"./":".":(h&&(W+="/"),M.test(W)&&(W+="/"),C?y?`//${W}`:`//./${W}`:y&&!F(W)?`/${W}`:W)},z=function(...W){if(W.length===0)return".";let C;for(let y of W)y&&y.length>0&&(C===void 0?C=y:C+=`/${y}`);return C===void 0?".":G(C.replace(/\/\/+/g,"/"))};function V(W,C){let y="",h=0,QZ=-1,BZ=0,RZ=null;for(let IZ=0;IZ<=W.length;++IZ){if(IZ<W.length)RZ=W[IZ];else{if(RZ==="/")break;RZ="/"}if(RZ==="/"){if(QZ===IZ-1||BZ===1);else if(BZ===2){if(y.length<2||h!==2||y[y.length-1]!=="."||y[y.length-2]!=="."){if(y.length>2){let fZ=y.lastIndexOf("/");fZ===-1?(y="",h=0):(y=y.slice(0,fZ),h=y.length-1-y.lastIndexOf("/")),QZ=IZ,BZ=0;continue}if(y.length>0){y="",h=0,QZ=IZ,BZ=0;continue}}C&&(y+=y.length>0?"/..":"..",h=2)}else y.length>0?y+=`/${W.slice(QZ+1,IZ)}`:y=W.slice(QZ+1,IZ),h=IZ-QZ-1;QZ=IZ,BZ=0}else RZ==="."&&BZ!==-1?++BZ:BZ=-1}return y}let F=function(W){return U.test(W)},J=/.(\.[^./]+)$/,A=function(W){let C=J.exec(R(W));return C&&C[1]||""},T=function(W){let C=R(W).replace(/\/$/,"").split("/").slice(0,-1);return C.length===1&&M.test(C[0])&&(C[0]+="/"),C.join("/")||(F(W)?"/":".")},I=function(W,C){let y=R(W).split("/").pop();return C&&y.endsWith(C)?y.slice(0,-C.length):y},P=/"(?:_|\\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*:/,w=/"(?: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*:/,D=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function E(W,C){if(!(W==="__proto__"||W==="constructor"&&C&&typeof C=="object"&&("prototype"in C)))return C;(function(y){console.warn(`[destr] Dropping "${y}" key to prevent prototype pollution.`)})(W)}function v(W,C={}){if(typeof W!="string")return W;let y=W.trim();if(W[0]==='"'&&W.endsWith('"')&&!W.includes("\\"))return y.slice(1,-1);if(y.length<=9){let h=y.toLowerCase();if(h==="true")return!0;if(h==="false")return!1;if(h==="undefined")return;if(h==="null")return null;if(h==="nan")return Number.NaN;if(h==="infinity")return Number.POSITIVE_INFINITY;if(h==="-infinity")return Number.NEGATIVE_INFINITY}if(!D.test(W)){if(C.strict)throw SyntaxError("[destr] Invalid JSON");return W}try{if(P.test(W)||w.test(W)){if(C.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(W,E)}return JSON.parse(W)}catch(h){if(C.strict)throw h;return W}}function k(W){if(typeof W!="string")throw TypeError("Expected a string");return W.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _=X0("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),r=X0.n(_),t=X0("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js");let f=new Set(["/","\\",void 0]),q=Symbol.for("pathe:normalizedAlias");function g(W){if(W[q])return W;let C=Object.fromEntries(Object.entries(W).sort(([y],[h])=>function(QZ,BZ){return BZ.split("/").length-QZ.split("/").length}(y,h)));for(let y in C)for(let h in C)h===y||y.startsWith(h)||C[y].startsWith(h)&&f.has(C[y][h.length])&&(C[y]=C[h]+C[y].slice(h.length));return Object.defineProperty(C,q,{value:!0,enumerable:!1}),C}function u(W="/"){let C=W[W.length-1];return C==="/"||C==="\\"}var a=X0("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),d=X0("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),o=X0.n(d),m=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],b=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i={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"},s="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",HZ={5:s,"5module":s+" export import",6:s+" const class extends export import super"},GZ=/^in(stanceof)?$/,AZ=new RegExp("["+p+"]"),SZ=new RegExp("["+p+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function CZ(W,C){for(var y=65536,h=0;h<C.length;h+=2){if((y+=C[h])>W)return!1;if((y+=C[h+1])>=W)return!0}return!1}function XZ(W,C){return W<65?W===36:W<91||(W<97?W===95:W<123||(W<=65535?W>=170&&AZ.test(String.fromCharCode(W)):C!==!1&&CZ(W,b)))}function YZ(W,C){return W<48?W===36:W<58||!(W<65)&&(W<91||(W<97?W===95:W<123||(W<=65535?W>=170&&SZ.test(String.fromCharCode(W)):C!==!1&&(CZ(W,b)||CZ(W,m)))))}var OZ=function(W,C){C===void 0&&(C={}),this.label=W,this.keyword=C.keyword,this.beforeExpr=!!C.beforeExpr,this.startsExpr=!!C.startsExpr,this.isLoop=!!C.isLoop,this.isAssign=!!C.isAssign,this.prefix=!!C.prefix,this.postfix=!!C.postfix,this.binop=C.binop||null,this.updateContext=null};function UZ(W,C){return new OZ(W,{beforeExpr:!0,binop:C})}var VZ={beforeExpr:!0},jZ={startsExpr:!0},JZ={};function NZ(W,C){return C===void 0&&(C={}),C.keyword=W,JZ[W]=new OZ(W,C)}var c={num:new OZ("num",jZ),regexp:new OZ("regexp",jZ),string:new OZ("string",jZ),name:new OZ("name",jZ),privateId:new OZ("privateId",jZ),eof:new OZ("eof"),bracketL:new OZ("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new OZ("]"),braceL:new OZ("{",{beforeExpr:!0,startsExpr:!0}),braceR:new OZ("}"),parenL:new OZ("(",{beforeExpr:!0,startsExpr:!0}),parenR:new OZ(")"),comma:new OZ(",",VZ),semi:new OZ(";",VZ),colon:new OZ(":",VZ),dot:new OZ("."),question:new OZ("?",VZ),questionDot:new OZ("?."),arrow:new OZ("=>",VZ),template:new OZ("template"),invalidTemplate:new OZ("invalidTemplate"),ellipsis:new OZ("...",VZ),backQuote:new OZ("`",jZ),dollarBraceL:new OZ("${",{beforeExpr:!0,startsExpr:!0}),eq:new OZ("=",{beforeExpr:!0,isAssign:!0}),assign:new OZ("_=",{beforeExpr:!0,isAssign:!0}),incDec:new OZ("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new OZ("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:UZ("||",1),logicalAND:UZ("&&",2),bitwiseOR:UZ("|",3),bitwiseXOR:UZ("^",4),bitwiseAND:UZ("&",5),equality:UZ("==/!=/===/!==",6),relational:UZ("</>/<=/>=",7),bitShift:UZ("<</>>/>>>",8),plusMin:new OZ("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:UZ("%",10),star:UZ("*",10),slash:UZ("/",10),starstar:new OZ("**",{beforeExpr:!0}),coalesce:UZ("??",1),_break:NZ("break"),_case:NZ("case",VZ),_catch:NZ("catch"),_continue:NZ("continue"),_debugger:NZ("debugger"),_default:NZ("default",VZ),_do:NZ("do",{isLoop:!0,beforeExpr:!0}),_else:NZ("else",VZ),_finally:NZ("finally"),_for:NZ("for",{isLoop:!0}),_function:NZ("function",jZ),_if:NZ("if"),_return:NZ("return",VZ),_switch:NZ("switch"),_throw:NZ("throw",VZ),_try:NZ("try"),_var:NZ("var"),_const:NZ("const"),_while:NZ("while",{isLoop:!0}),_with:NZ("with"),_new:NZ("new",{beforeExpr:!0,startsExpr:!0}),_this:NZ("this",jZ),_super:NZ("super",jZ),_class:NZ("class",jZ),_extends:NZ("extends",VZ),_export:NZ("export"),_import:NZ("import",jZ),_null:NZ("null",jZ),_true:NZ("true",jZ),_false:NZ("false",jZ),_in:NZ("in",{beforeExpr:!0,binop:7}),_instanceof:NZ("instanceof",{beforeExpr:!0,binop:7}),_typeof:NZ("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:NZ("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:NZ("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},TZ=/\r\n?|\n|\u2028|\u2029/,nZ=new RegExp(TZ.source,"g");function sZ(W){return W===10||W===13||W===8232||W===8233}function Q0(W,C,y){y===void 0&&(y=W.length);for(var h=C;h<y;h++){var QZ=W.charCodeAt(h);if(sZ(QZ))return h<y-1&&QZ===13&&W.charCodeAt(h+1)===10?h+2:h+1}return-1}var dZ=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,$Z=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,PZ=Object.prototype,wZ=PZ.hasOwnProperty,DZ=PZ.toString,l=Object.hasOwn||function(W,C){return wZ.call(W,C)},ZZ=Array.isArray||function(W){return DZ.call(W)==="[object Array]"},LZ=Object.create(null);function qZ(W){return LZ[W]||(LZ[W]=new RegExp("^(?:"+W.replace(/ /g,"|")+")$"))}function kZ(W){return W<=65535?String.fromCharCode(W):(W-=65536,String.fromCharCode(55296+(W>>10),56320+(1023&W)))}var lZ=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,aZ=function(W,C){this.line=W,this.column=C};aZ.prototype.offset=function(W){return new aZ(this.line,this.column+W)};var W0=function(W,C,y){this.start=C,this.end=y,W.sourceFile!==null&&(this.source=W.sourceFile)};function KZ(W,C){for(var y=1,h=0;;){var QZ=Q0(W,h,C);if(QZ<0)return new aZ(y,C-h);++y,h=QZ}}var MZ={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},yZ=!1;function bZ(W){var C={};for(var y in MZ)C[y]=W&&l(W,y)?W[y]:MZ[y];if(C.ecmaVersion==="latest"?C.ecmaVersion=1e8:C.ecmaVersion==null?(!yZ&&typeof console=="object"&&console.warn&&(yZ=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
7
|
-
Defaulting to 2020, but this will stop working in the future.`)),C.ecmaVersion=11):C.ecmaVersion>=2015&&(C.ecmaVersion-=2009),C.allowReserved==null&&(C.allowReserved=C.ecmaVersion<5),W&&W.allowHashBang!=null||(C.allowHashBang=C.ecmaVersion>=14),ZZ(C.onToken)){var h=C.onToken;C.onToken=function(QZ){return h.push(QZ)}}return ZZ(C.onComment)&&(C.onComment=function(QZ,BZ){return function(RZ,IZ,fZ,rZ,vZ,V0){var
|
|
8
|
-
`,y-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(TZ).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.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=W.sourceType==="module",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),this.pos===0&&W.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},mZ={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}};uZ.prototype.parse=function(){var W=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(W)},mZ.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},mZ.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},mZ.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},mZ.canAwait.get=function(){for(var W=this.scopeStack.length-1;W>=0;W--){var C=this.scopeStack[W];if(C.inClassFieldInit||256&C.flags)return!1;if(2&C.flags)return(4&C.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},mZ.allowSuper.get=function(){var W=this.currentThisScope(),C=W.flags,y=W.inClassFieldInit;return(64&C)>0||y||this.options.allowSuperOutsideMethod},mZ.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},mZ.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},mZ.allowNewDotTarget.get=function(){var W=this.currentThisScope(),C=W.flags,y=W.inClassFieldInit;return(258&C)>0||y},mZ.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},uZ.extend=function(){for(var W=[],C=arguments.length;C--;)W[C]=arguments[C];for(var y=this,h=0;h<W.length;h++)y=W[h](y);return y},uZ.parse=function(W,C){return new this(C,W).parse()},uZ.parseExpressionAt=function(W,C,y){var h=new this(y,W,C);return h.nextToken(),h.parseExpression()},uZ.tokenizer=function(W,C){return new this(C,W)},Object.defineProperties(uZ.prototype,mZ);var hZ=uZ.prototype,eZ=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;hZ.strictDirective=function(W){if(this.options.ecmaVersion<5)return!1;for(;;){$Z.lastIndex=W,W+=$Z.exec(this.input)[0].length;var C=eZ.exec(this.input.slice(W));if(!C)return!1;if((C[1]||C[2])==="use strict"){$Z.lastIndex=W+C[0].length;var y=$Z.exec(this.input),h=y.index+y[0].length,QZ=this.input.charAt(h);return QZ===";"||QZ==="}"||TZ.test(y[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(QZ)||QZ==="!"&&this.input.charAt(h+1)==="=")}W+=C[0].length,$Z.lastIndex=W,W+=$Z.exec(this.input)[0].length,this.input[W]===";"&&W++}},hZ.eat=function(W){return this.type===W&&(this.next(),!0)},hZ.isContextual=function(W){return this.type===c.name&&this.value===W&&!this.containsEsc},hZ.eatContextual=function(W){return!!this.isContextual(W)&&(this.next(),!0)},hZ.expectContextual=function(W){this.eatContextual(W)||this.unexpected()},hZ.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||TZ.test(this.input.slice(this.lastTokEnd,this.start))},hZ.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},hZ.semicolon=function(){this.eat(c.semi)||this.insertSemicolon()||this.unexpected()},hZ.afterTrailingComma=function(W,C){if(this.type===W)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),C||this.next(),!0},hZ.expect=function(W){this.eat(W)||this.unexpected()},hZ.unexpected=function(W){this.raise(W!=null?W:this.start,"Unexpected token")};var O0=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};hZ.checkPatternErrors=function(W,C){if(W){W.trailingComma>-1&&this.raiseRecoverable(W.trailingComma,"Comma is not permitted after the rest element");var y=C?W.parenthesizedAssign:W.parenthesizedBind;y>-1&&this.raiseRecoverable(y,C?"Assigning to rvalue":"Parenthesized pattern")}},hZ.checkExpressionErrors=function(W,C){if(!W)return!1;var{shorthandAssign:y,doubleProto:h}=W;if(!C)return y>=0||h>=0;y>=0&&this.raise(y,"Shorthand property assignments are valid only in destructuring patterns"),h>=0&&this.raiseRecoverable(h,"Redefinition of __proto__ property")},hZ.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")},hZ.isSimpleAssignTarget=function(W){return W.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(W.expression):W.type==="Identifier"||W.type==="MemberExpression"};var EZ=uZ.prototype;EZ.parseTopLevel=function(W){var C=Object.create(null);for(W.body||(W.body=[]);this.type!==c.eof;){var y=this.parseStatement(null,!0,C);W.body.push(y)}if(this.inModule)for(var h=0,QZ=Object.keys(this.undefinedExports);h<QZ.length;h+=1){var BZ=QZ[h];this.raiseRecoverable(this.undefinedExports[BZ].start,"Export '"+BZ+"' is not defined")}return this.adaptDirectivePrologue(W.body),this.next(),W.sourceType=this.options.sourceType,this.finishNode(W,"Program")};var Y0={kind:"loop"},H0={kind:"switch"};EZ.isLet=function(W){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;$Z.lastIndex=this.pos;var C=$Z.exec(this.input),y=this.pos+C[0].length,h=this.input.charCodeAt(y);if(h===91||h===92)return!0;if(W)return!1;if(h===123||h>55295&&h<56320)return!0;if(XZ(h,!0)){for(var QZ=y+1;YZ(h=this.input.charCodeAt(QZ),!0);)++QZ;if(h===92||h>55295&&h<56320)return!0;var BZ=this.input.slice(y,QZ);if(!GZ.test(BZ))return!0}return!1},EZ.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;$Z.lastIndex=this.pos;var W,C=$Z.exec(this.input),y=this.pos+C[0].length;return!(TZ.test(this.input.slice(this.pos,y))||this.input.slice(y,y+8)!=="function"||y+8!==this.input.length&&(YZ(W=this.input.charCodeAt(y+8))||W>55295&&W<56320))},EZ.parseStatement=function(W,C,y){var h,QZ=this.type,BZ=this.startNode();switch(this.isLet(W)&&(QZ=c._var,h="let"),QZ){case c._break:case c._continue:return this.parseBreakContinueStatement(BZ,QZ.keyword);case c._debugger:return this.parseDebuggerStatement(BZ);case c._do:return this.parseDoStatement(BZ);case c._for:return this.parseForStatement(BZ);case c._function:return W&&(this.strict||W!=="if"&&W!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(BZ,!1,!W);case c._class:return W&&this.unexpected(),this.parseClass(BZ,!0);case c._if:return this.parseIfStatement(BZ);case c._return:return this.parseReturnStatement(BZ);case c._switch:return this.parseSwitchStatement(BZ);case c._throw:return this.parseThrowStatement(BZ);case c._try:return this.parseTryStatement(BZ);case c._const:case c._var:return h=h||this.value,W&&h!=="var"&&this.unexpected(),this.parseVarStatement(BZ,h);case c._while:return this.parseWhileStatement(BZ);case c._with:return this.parseWithStatement(BZ);case c.braceL:return this.parseBlock(!0,BZ);case c.semi:return this.parseEmptyStatement(BZ);case c._export:case c._import:if(this.options.ecmaVersion>10&&QZ===c._import){$Z.lastIndex=this.pos;var RZ=$Z.exec(this.input),IZ=this.pos+RZ[0].length,fZ=this.input.charCodeAt(IZ);if(fZ===40||fZ===46)return this.parseExpressionStatement(BZ,this.parseExpression())}return this.options.allowImportExportEverywhere||(C||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'")),QZ===c._import?this.parseImport(BZ):this.parseExport(BZ,y);default:if(this.isAsyncFunction())return W&&this.unexpected(),this.next(),this.parseFunctionStatement(BZ,!0,!W);var rZ=this.value,vZ=this.parseExpression();return QZ===c.name&&vZ.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(BZ,rZ,vZ,W):this.parseExpressionStatement(BZ,vZ)}},EZ.parseBreakContinueStatement=function(W,C){var y=C==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?W.label=null:this.type!==c.name?this.unexpected():(W.label=this.parseIdent(),this.semicolon());for(var h=0;h<this.labels.length;++h){var QZ=this.labels[h];if(W.label==null||QZ.name===W.label.name){if(QZ.kind!=null&&(y||QZ.kind==="loop"))break;if(W.label&&y)break}}return h===this.labels.length&&this.raise(W.start,"Unsyntactic "+C),this.finishNode(W,y?"BreakStatement":"ContinueStatement")},EZ.parseDebuggerStatement=function(W){return this.next(),this.semicolon(),this.finishNode(W,"DebuggerStatement")},EZ.parseDoStatement=function(W){return this.next(),this.labels.push(Y0),W.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),W.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(W,"DoWhileStatement")},EZ.parseForStatement=function(W){this.next();var C=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Y0),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return C>-1&&this.unexpected(C),this.parseFor(W,null);var y=this.isLet();if(this.type===c._var||this.type===c._const||y){var h=this.startNode(),QZ=y?"let":this.value;return this.next(),this.parseVar(h,!0,QZ),this.finishNode(h,"VariableDeclaration"),(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&h.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?C>-1&&this.unexpected(C):W.await=C>-1),this.parseForIn(W,h)):(C>-1&&this.unexpected(C),this.parseFor(W,h))}var BZ=this.isContextual("let"),RZ=!1,IZ=this.containsEsc,fZ=new O0,rZ=this.start,vZ=C>-1?this.parseExprSubscripts(fZ,"await"):this.parseExpression(!0,fZ);return this.type===c._in||(RZ=this.options.ecmaVersion>=6&&this.isContextual("of"))?(C>-1?(this.type===c._in&&this.unexpected(C),W.await=!0):RZ&&this.options.ecmaVersion>=8&&(vZ.start!==rZ||IZ||vZ.type!=="Identifier"||vZ.name!=="async"?this.options.ecmaVersion>=9&&(W.await=!1):this.unexpected()),BZ&&RZ&&this.raise(vZ.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(vZ,!1,fZ),this.checkLValPattern(vZ),this.parseForIn(W,vZ)):(this.checkExpressionErrors(fZ,!0),C>-1&&this.unexpected(C),this.parseFor(W,vZ))},EZ.parseFunctionStatement=function(W,C,y){return this.next(),this.parseFunction(W,v0|(y?0:m0),!1,C)},EZ.parseIfStatement=function(W){return this.next(),W.test=this.parseParenExpression(),W.consequent=this.parseStatement("if"),W.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(W,"IfStatement")},EZ.parseReturnStatement=function(W){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?W.argument=null:(W.argument=this.parseExpression(),this.semicolon()),this.finishNode(W,"ReturnStatement")},EZ.parseSwitchStatement=function(W){var C;this.next(),W.discriminant=this.parseParenExpression(),W.cases=[],this.expect(c.braceL),this.labels.push(H0),this.enterScope(0);for(var y=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var h=this.type===c._case;C&&this.finishNode(C,"SwitchCase"),W.cases.push(C=this.startNode()),C.consequent=[],this.next(),h?C.test=this.parseExpression():(y&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),y=!0,C.test=null),this.expect(c.colon)}else C||this.unexpected(),C.consequent.push(this.parseStatement(null));return this.exitScope(),C&&this.finishNode(C,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(W,"SwitchStatement")},EZ.parseThrowStatement=function(W){return this.next(),TZ.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),W.argument=this.parseExpression(),this.semicolon(),this.finishNode(W,"ThrowStatement")};var M0=[];EZ.parseCatchClauseParam=function(){var W=this.parseBindingAtom(),C=W.type==="Identifier";return this.enterScope(C?32:0),this.checkLValPattern(W,C?4:2),this.expect(c.parenR),W},EZ.parseTryStatement=function(W){if(this.next(),W.block=this.parseBlock(),W.handler=null,this.type===c._catch){var C=this.startNode();this.next(),this.eat(c.parenL)?C.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),C.param=null,this.enterScope(0)),C.body=this.parseBlock(!1),this.exitScope(),W.handler=this.finishNode(C,"CatchClause")}return W.finalizer=this.eat(c._finally)?this.parseBlock():null,W.handler||W.finalizer||this.raise(W.start,"Missing catch or finally clause"),this.finishNode(W,"TryStatement")},EZ.parseVarStatement=function(W,C,y){return this.next(),this.parseVar(W,!1,C,y),this.semicolon(),this.finishNode(W,"VariableDeclaration")},EZ.parseWhileStatement=function(W){return this.next(),W.test=this.parseParenExpression(),this.labels.push(Y0),W.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(W,"WhileStatement")},EZ.parseWithStatement=function(W){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),W.object=this.parseParenExpression(),W.body=this.parseStatement("with"),this.finishNode(W,"WithStatement")},EZ.parseEmptyStatement=function(W){return this.next(),this.finishNode(W,"EmptyStatement")},EZ.parseLabeledStatement=function(W,C,y,h){for(var QZ=0,BZ=this.labels;QZ<BZ.length;QZ+=1)BZ[QZ].name===C&&this.raise(y.start,"Label '"+C+"' is already declared");for(var RZ=this.type.isLoop?"loop":this.type===c._switch?"switch":null,IZ=this.labels.length-1;IZ>=0;IZ--){var fZ=this.labels[IZ];if(fZ.statementStart!==W.start)break;fZ.statementStart=this.start,fZ.kind=RZ}return this.labels.push({name:C,kind:RZ,statementStart:this.start}),W.body=this.parseStatement(h?h.indexOf("label")===-1?h+"label":h:"label"),this.labels.pop(),W.label=y,this.finishNode(W,"LabeledStatement")},EZ.parseExpressionStatement=function(W,C){return W.expression=C,this.semicolon(),this.finishNode(W,"ExpressionStatement")},EZ.parseBlock=function(W,C,y){for(W===void 0&&(W=!0),C===void 0&&(C=this.startNode()),C.body=[],this.expect(c.braceL),W&&this.enterScope(0);this.type!==c.braceR;){var h=this.parseStatement(null);C.body.push(h)}return y&&(this.strict=!1),this.next(),W&&this.exitScope(),this.finishNode(C,"BlockStatement")},EZ.parseFor=function(W,C){return W.init=C,this.expect(c.semi),W.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),W.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),W.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(W,"ForStatement")},EZ.parseForIn=function(W,C){var y=this.type===c._in;return this.next(),C.type==="VariableDeclaration"&&C.declarations[0].init!=null&&(!y||this.options.ecmaVersion<8||this.strict||C.kind!=="var"||C.declarations[0].id.type!=="Identifier")&&this.raise(C.start,(y?"for-in":"for-of")+" loop variable declaration may not have an initializer"),W.left=C,W.right=y?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),W.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(W,y?"ForInStatement":"ForOfStatement")},EZ.parseVar=function(W,C,y,h){for(W.declarations=[],W.kind=y;;){var QZ=this.startNode();if(this.parseVarId(QZ,y),this.eat(c.eq)?QZ.init=this.parseMaybeAssign(C):h||y!=="const"||this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of")?h||QZ.id.type==="Identifier"||C&&(this.type===c._in||this.isContextual("of"))?QZ.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),W.declarations.push(this.finishNode(QZ,"VariableDeclarator")),!this.eat(c.comma))break}return W},EZ.parseVarId=function(W,C){W.id=this.parseBindingAtom(),this.checkLValPattern(W.id,C==="var"?1:2,!1)};var v0=1,m0=2;function X5(W,C){var y=C.key.name,h=W[y],QZ="true";return C.type!=="MethodDefinition"||C.kind!=="get"&&C.kind!=="set"||(QZ=(C.static?"s":"i")+C.kind),h==="iget"&&QZ==="iset"||h==="iset"&&QZ==="iget"||h==="sget"&&QZ==="sset"||h==="sset"&&QZ==="sget"?(W[y]="true",!1):!!h||(W[y]=QZ,!1)}function d0(W,C){var{computed:y,key:h}=W;return!y&&(h.type==="Identifier"&&h.name===C||h.type==="Literal"&&h.value===C)}EZ.parseFunction=function(W,C,y,h,QZ){this.initFunction(W),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!h)&&(this.type===c.star&&C&m0&&this.unexpected(),W.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(W.async=!!h),C&v0&&(W.id=4&C&&this.type!==c.name?null:this.parseIdent(),!W.id||C&m0||this.checkLValSimple(W.id,this.strict||W.generator||W.async?this.treatFunctionsAsVar?1:2:3));var BZ=this.yieldPos,RZ=this.awaitPos,IZ=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(pZ(W.async,W.generator)),C&v0||(W.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(W),this.parseFunctionBody(W,y,!1,QZ),this.yieldPos=BZ,this.awaitPos=RZ,this.awaitIdentPos=IZ,this.finishNode(W,C&v0?"FunctionDeclaration":"FunctionExpression")},EZ.parseFunctionParams=function(W){this.expect(c.parenL),W.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},EZ.parseClass=function(W,C){this.next();var y=this.strict;this.strict=!0,this.parseClassId(W,C),this.parseClassSuper(W);var h=this.enterClassBody(),QZ=this.startNode(),BZ=!1;for(QZ.body=[],this.expect(c.braceL);this.type!==c.braceR;){var RZ=this.parseClassElement(W.superClass!==null);RZ&&(QZ.body.push(RZ),RZ.type==="MethodDefinition"&&RZ.kind==="constructor"?(BZ&&this.raiseRecoverable(RZ.start,"Duplicate constructor in the same class"),BZ=!0):RZ.key&&RZ.key.type==="PrivateIdentifier"&&X5(h,RZ)&&this.raiseRecoverable(RZ.key.start,"Identifier '#"+RZ.key.name+"' has already been declared"))}return this.strict=y,this.next(),W.body=this.finishNode(QZ,"ClassBody"),this.exitClassBody(),this.finishNode(W,C?"ClassDeclaration":"ClassExpression")},EZ.parseClassElement=function(W){if(this.eat(c.semi))return null;var C=this.options.ecmaVersion,y=this.startNode(),h="",QZ=!1,BZ=!1,RZ="method",IZ=!1;if(this.eatContextual("static")){if(C>=13&&this.eat(c.braceL))return this.parseClassStaticBlock(y),y;this.isClassElementNameStart()||this.type===c.star?IZ=!0:h="static"}if(y.static=IZ,!h&&C>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==c.star||this.canInsertSemicolon()?h="async":BZ=!0),!h&&(C>=9||!BZ)&&this.eat(c.star)&&(QZ=!0),!h&&!BZ&&!QZ){var fZ=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?RZ=fZ:h=fZ)}if(h?(y.computed=!1,y.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),y.key.name=h,this.finishNode(y.key,"Identifier")):this.parseClassElementName(y),C<13||this.type===c.parenL||RZ!=="method"||QZ||BZ){var rZ=!y.static&&d0(y,"constructor"),vZ=rZ&&W;rZ&&RZ!=="method"&&this.raise(y.key.start,"Constructor can't have get/set modifier"),y.kind=rZ?"constructor":RZ,this.parseClassMethod(y,QZ,BZ,vZ)}else this.parseClassField(y);return y},EZ.isClassElementNameStart=function(){return this.type===c.name||this.type===c.privateId||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword},EZ.parseClassElementName=function(W){this.type===c.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),W.computed=!1,W.key=this.parsePrivateIdent()):this.parsePropertyName(W)},EZ.parseClassMethod=function(W,C,y,h){var QZ=W.key;W.kind==="constructor"?(C&&this.raise(QZ.start,"Constructor can't be a generator"),y&&this.raise(QZ.start,"Constructor can't be an async method")):W.static&&d0(W,"prototype")&&this.raise(QZ.start,"Classes may not have a static property named prototype");var BZ=W.value=this.parseMethod(C,y,h);return W.kind==="get"&&BZ.params.length!==0&&this.raiseRecoverable(BZ.start,"getter should have no params"),W.kind==="set"&&BZ.params.length!==1&&this.raiseRecoverable(BZ.start,"setter should have exactly one param"),W.kind==="set"&&BZ.params[0].type==="RestElement"&&this.raiseRecoverable(BZ.params[0].start,"Setter cannot use rest params"),this.finishNode(W,"MethodDefinition")},EZ.parseClassField=function(W){if(d0(W,"constructor")?this.raise(W.key.start,"Classes can't have a field named 'constructor'"):W.static&&d0(W,"prototype")&&this.raise(W.key.start,"Classes can't have a static field named 'prototype'"),this.eat(c.eq)){var C=this.currentThisScope(),y=C.inClassFieldInit;C.inClassFieldInit=!0,W.value=this.parseMaybeAssign(),C.inClassFieldInit=y}else W.value=null;return this.semicolon(),this.finishNode(W,"PropertyDefinition")},EZ.parseClassStaticBlock=function(W){W.body=[];var C=this.labels;for(this.labels=[],this.enterScope(320);this.type!==c.braceR;){var y=this.parseStatement(null);W.body.push(y)}return this.next(),this.exitScope(),this.labels=C,this.finishNode(W,"StaticBlock")},EZ.parseClassId=function(W,C){this.type===c.name?(W.id=this.parseIdent(),C&&this.checkLValSimple(W.id,2,!1)):(C===!0&&this.unexpected(),W.id=null)},EZ.parseClassSuper=function(W){W.superClass=this.eat(c._extends)?this.parseExprSubscripts(null,!1):null},EZ.enterClassBody=function(){var W={declared:Object.create(null),used:[]};return this.privateNameStack.push(W),W.declared},EZ.exitClassBody=function(){var W=this.privateNameStack.pop(),C=W.declared,y=W.used;if(this.options.checkPrivateFields)for(var h=this.privateNameStack.length,QZ=h===0?null:this.privateNameStack[h-1],BZ=0;BZ<y.length;++BZ){var RZ=y[BZ];l(C,RZ.name)||(QZ?QZ.used.push(RZ):this.raiseRecoverable(RZ.start,"Private field '#"+RZ.name+"' must be declared in an enclosing class"))}},EZ.parseExportAllDeclaration=function(W,C){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(W.exported=this.parseModuleExportName(),this.checkExport(C,W.exported,this.lastTokStart)):W.exported=null),this.expectContextual("from"),this.type!==c.string&&this.unexpected(),W.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(W,"ExportAllDeclaration")},EZ.parseExport=function(W,C){if(this.next(),this.eat(c.star))return this.parseExportAllDeclaration(W,C);if(this.eat(c._default))return this.checkExport(C,"default",this.lastTokStart),W.declaration=this.parseExportDefaultDeclaration(),this.finishNode(W,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())W.declaration=this.parseExportDeclaration(W),W.declaration.type==="VariableDeclaration"?this.checkVariableExport(C,W.declaration.declarations):this.checkExport(C,W.declaration.id,W.declaration.id.start),W.specifiers=[],W.source=null;else{if(W.declaration=null,W.specifiers=this.parseExportSpecifiers(C),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),W.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause());else{for(var y=0,h=W.specifiers;y<h.length;y+=1){var QZ=h[y];this.checkUnreserved(QZ.local),this.checkLocalExport(QZ.local),QZ.local.type==="Literal"&&this.raise(QZ.local.start,"A string literal cannot be used as an exported binding without `from`.")}W.source=null}this.semicolon()}return this.finishNode(W,"ExportNamedDeclaration")},EZ.parseExportDeclaration=function(W){return this.parseStatement(null)},EZ.parseExportDefaultDeclaration=function(){var W;if(this.type===c._function||(W=this.isAsyncFunction())){var C=this.startNode();return this.next(),W&&this.next(),this.parseFunction(C,4|v0,!1,W)}if(this.type===c._class){var y=this.startNode();return this.parseClass(y,"nullableID")}var h=this.parseMaybeAssign();return this.semicolon(),h},EZ.checkExport=function(W,C,y){W&&(typeof C!="string"&&(C=C.type==="Identifier"?C.name:C.value),l(W,C)&&this.raiseRecoverable(y,"Duplicate export '"+C+"'"),W[C]=!0)},EZ.checkPatternExport=function(W,C){var y=C.type;if(y==="Identifier")this.checkExport(W,C,C.start);else if(y==="ObjectPattern")for(var h=0,QZ=C.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.checkPatternExport(W,BZ)}else if(y==="ArrayPattern")for(var RZ=0,IZ=C.elements;RZ<IZ.length;RZ+=1){var fZ=IZ[RZ];fZ&&this.checkPatternExport(W,fZ)}else y==="Property"?this.checkPatternExport(W,C.value):y==="AssignmentPattern"?this.checkPatternExport(W,C.left):y==="RestElement"&&this.checkPatternExport(W,C.argument)},EZ.checkVariableExport=function(W,C){if(W)for(var y=0,h=C;y<h.length;y+=1){var QZ=h[y];this.checkPatternExport(W,QZ.id)}},EZ.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},EZ.parseExportSpecifier=function(W){var C=this.startNode();return C.local=this.parseModuleExportName(),C.exported=this.eatContextual("as")?this.parseModuleExportName():C.local,this.checkExport(W,C.exported,C.exported.start),this.finishNode(C,"ExportSpecifier")},EZ.parseExportSpecifiers=function(W){var C=[],y=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(y)y=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;C.push(this.parseExportSpecifier(W))}return C},EZ.parseImport=function(W){return this.next(),this.type===c.string?(W.specifiers=M0,W.source=this.parseExprAtom()):(W.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),W.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(W,"ImportDeclaration")},EZ.parseImportSpecifier=function(){var W=this.startNode();return W.imported=this.parseModuleExportName(),this.eatContextual("as")?W.local=this.parseIdent():(this.checkUnreserved(W.imported),W.local=W.imported),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportSpecifier")},EZ.parseImportDefaultSpecifier=function(){var W=this.startNode();return W.local=this.parseIdent(),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportDefaultSpecifier")},EZ.parseImportNamespaceSpecifier=function(){var W=this.startNode();return this.next(),this.expectContextual("as"),W.local=this.parseIdent(),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportNamespaceSpecifier")},EZ.parseImportSpecifiers=function(){var W=[],C=!0;if(this.type===c.name&&(W.push(this.parseImportDefaultSpecifier()),!this.eat(c.comma)))return W;if(this.type===c.star)return W.push(this.parseImportNamespaceSpecifier()),W;for(this.expect(c.braceL);!this.eat(c.braceR);){if(C)C=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;W.push(this.parseImportSpecifier())}return W},EZ.parseWithClause=function(){var W=[];if(!this.eat(c._with))return W;this.expect(c.braceL);for(var C={},y=!0;!this.eat(c.braceR);){if(y)y=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var h=this.parseImportAttribute(),QZ=h.key.type==="Identifier"?h.key.name:h.key.value;l(C,QZ)&&this.raiseRecoverable(h.key.start,"Duplicate attribute key '"+QZ+"'"),C[QZ]=!0,W.push(h)}return W},EZ.parseImportAttribute=function(){var W=this.startNode();return W.key=this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(c.colon),this.type!==c.string&&this.unexpected(),W.value=this.parseExprAtom(),this.finishNode(W,"ImportAttribute")},EZ.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===c.string){var W=this.parseLiteral(this.value);return lZ.test(W.value)&&this.raise(W.start,"An export name cannot include a lone surrogate."),W}return this.parseIdent(!0)},EZ.adaptDirectivePrologue=function(W){for(var C=0;C<W.length&&this.isDirectiveCandidate(W[C]);++C)W[C].directive=W[C].expression.raw.slice(1,-1)},EZ.isDirectiveCandidate=function(W){return this.options.ecmaVersion>=5&&W.type==="ExpressionStatement"&&W.expression.type==="Literal"&&typeof W.expression.value=="string"&&(this.input[W.start]==='"'||this.input[W.start]==="'")};var u0=uZ.prototype;u0.toAssignable=function(W,C,y){if(this.options.ecmaVersion>=6&&W)switch(W.type){case"Identifier":this.inAsync&&W.name==="await"&&this.raise(W.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":W.type="ObjectPattern",y&&this.checkPatternErrors(y,!0);for(var h=0,QZ=W.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.toAssignable(BZ,C),BZ.type!=="RestElement"||BZ.argument.type!=="ArrayPattern"&&BZ.argument.type!=="ObjectPattern"||this.raise(BZ.argument.start,"Unexpected token")}break;case"Property":W.kind!=="init"&&this.raise(W.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(W.value,C);break;case"ArrayExpression":W.type="ArrayPattern",y&&this.checkPatternErrors(y,!0),this.toAssignableList(W.elements,C);break;case"SpreadElement":W.type="RestElement",this.toAssignable(W.argument,C),W.argument.type==="AssignmentPattern"&&this.raise(W.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":W.operator!=="="&&this.raise(W.left.end,"Only '=' operator can be used for specifying default value."),W.type="AssignmentPattern",delete W.operator,this.toAssignable(W.left,C);break;case"ParenthesizedExpression":this.toAssignable(W.expression,C,y);break;case"ChainExpression":this.raiseRecoverable(W.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!C)break;default:this.raise(W.start,"Assigning to rvalue")}else y&&this.checkPatternErrors(y,!0);return W},u0.toAssignableList=function(W,C){for(var y=W.length,h=0;h<y;h++){var QZ=W[h];QZ&&this.toAssignable(QZ,C)}if(y){var BZ=W[y-1];this.options.ecmaVersion===6&&C&&BZ&&BZ.type==="RestElement"&&BZ.argument.type!=="Identifier"&&this.unexpected(BZ.argument.start)}return W},u0.parseSpread=function(W){var C=this.startNode();return this.next(),C.argument=this.parseMaybeAssign(!1,W),this.finishNode(C,"SpreadElement")},u0.parseRestBinding=function(){var W=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),W.argument=this.parseBindingAtom(),this.finishNode(W,"RestElement")},u0.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var W=this.startNode();return this.next(),W.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(W,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()},u0.parseBindingList=function(W,C,y,h){for(var QZ=[],BZ=!0;!this.eat(W);)if(BZ?BZ=!1:this.expect(c.comma),C&&this.type===c.comma)QZ.push(null);else{if(y&&this.afterTrailingComma(W))break;if(this.type===c.ellipsis){var RZ=this.parseRestBinding();this.parseBindingListItem(RZ),QZ.push(RZ),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(W);break}QZ.push(this.parseAssignableListItem(h))}return QZ},u0.parseAssignableListItem=function(W){var C=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(C),C},u0.parseBindingListItem=function(W){return W},u0.parseMaybeDefault=function(W,C,y){if(y=y||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return y;var h=this.startNodeAt(W,C);return h.left=y,h.right=this.parseMaybeAssign(),this.finishNode(h,"AssignmentPattern")},u0.checkLValSimple=function(W,C,y){C===void 0&&(C=0);var h=C!==0;switch(W.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(W.name)&&this.raiseRecoverable(W.start,(h?"Binding ":"Assigning to ")+W.name+" in strict mode"),h&&(C===2&&W.name==="let"&&this.raiseRecoverable(W.start,"let is disallowed as a lexically bound name"),y&&(l(y,W.name)&&this.raiseRecoverable(W.start,"Argument name clash"),y[W.name]=!0),C!==5&&this.declareName(W.name,C,W.start));break;case"ChainExpression":this.raiseRecoverable(W.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":h&&this.raiseRecoverable(W.start,"Binding member expression");break;case"ParenthesizedExpression":return h&&this.raiseRecoverable(W.start,"Binding parenthesized expression"),this.checkLValSimple(W.expression,C,y);default:this.raise(W.start,(h?"Binding":"Assigning to")+" rvalue")}},u0.checkLValPattern=function(W,C,y){switch(C===void 0&&(C=0),W.type){case"ObjectPattern":for(var h=0,QZ=W.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.checkLValInnerPattern(BZ,C,y)}break;case"ArrayPattern":for(var RZ=0,IZ=W.elements;RZ<IZ.length;RZ+=1){var fZ=IZ[RZ];fZ&&this.checkLValInnerPattern(fZ,C,y)}break;default:this.checkLValSimple(W,C,y)}},u0.checkLValInnerPattern=function(W,C,y){switch(C===void 0&&(C=0),W.type){case"Property":this.checkLValInnerPattern(W.value,C,y);break;case"AssignmentPattern":this.checkLValPattern(W.left,C,y);break;case"RestElement":this.checkLValPattern(W.argument,C,y);break;default:this.checkLValPattern(W,C,y)}};var i0=function(W,C,y,h,QZ){this.token=W,this.isExpr=!!C,this.preserveSpace=!!y,this.override=h,this.generator=!!QZ},I0={b_stat:new i0("{",!1),b_expr:new i0("{",!0),b_tmpl:new i0("${",!1),p_stat:new i0("(",!1),p_expr:new i0("(",!0),q_tmpl:new i0("`",!0,!0,function(W){return W.tryReadTemplateToken()}),f_stat:new i0("function",!1),f_expr:new i0("function",!0),f_expr_gen:new i0("function",!0,!1,null,!0),f_gen:new i0("function",!1,!1,null,!0)},p0=uZ.prototype;p0.initialContext=function(){return[I0.b_stat]},p0.curContext=function(){return this.context[this.context.length-1]},p0.braceIsBlock=function(W){var C=this.curContext();return C===I0.f_expr||C===I0.f_stat||(W!==c.colon||C!==I0.b_stat&&C!==I0.b_expr?W===c._return||W===c.name&&this.exprAllowed?TZ.test(this.input.slice(this.lastTokEnd,this.start)):W===c._else||W===c.semi||W===c.eof||W===c.parenR||W===c.arrow||(W===c.braceL?C===I0.b_stat:W!==c._var&&W!==c._const&&W!==c.name&&!this.exprAllowed):!C.isExpr)},p0.inGeneratorContext=function(){for(var W=this.context.length-1;W>=1;W--){var C=this.context[W];if(C.token==="function")return C.generator}return!1},p0.updateContext=function(W){var C,y=this.type;y.keyword&&W===c.dot?this.exprAllowed=!1:(C=y.updateContext)?C.call(this,W):this.exprAllowed=y.beforeExpr},p0.overrideContext=function(W){this.curContext()!==W&&(this.context[this.context.length-1]=W)},c.parenR.updateContext=c.braceR.updateContext=function(){if(this.context.length!==1){var W=this.context.pop();W===I0.b_stat&&this.curContext().token==="function"&&(W=this.context.pop()),this.exprAllowed=!W.isExpr}else this.exprAllowed=!0},c.braceL.updateContext=function(W){this.context.push(this.braceIsBlock(W)?I0.b_stat:I0.b_expr),this.exprAllowed=!0},c.dollarBraceL.updateContext=function(){this.context.push(I0.b_tmpl),this.exprAllowed=!0},c.parenL.updateContext=function(W){var C=W===c._if||W===c._for||W===c._with||W===c._while;this.context.push(C?I0.p_stat:I0.p_expr),this.exprAllowed=!0},c.incDec.updateContext=function(){},c._function.updateContext=c._class.updateContext=function(W){!W.beforeExpr||W===c._else||W===c.semi&&this.curContext()!==I0.p_stat||W===c._return&&TZ.test(this.input.slice(this.lastTokEnd,this.start))||(W===c.colon||W===c.braceL)&&this.curContext()===I0.b_stat?this.context.push(I0.f_stat):this.context.push(I0.f_expr),this.exprAllowed=!1},c.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},c.backQuote.updateContext=function(){this.curContext()===I0.q_tmpl?this.context.pop():this.context.push(I0.q_tmpl),this.exprAllowed=!1},c.star.updateContext=function(W){if(W===c._function){var C=this.context.length-1;this.context[C]===I0.f_expr?this.context[C]=I0.f_expr_gen:this.context[C]=I0.f_gen}this.exprAllowed=!0},c.name.updateContext=function(W){var C=!1;this.options.ecmaVersion>=6&&W!==c.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(C=!0),this.exprAllowed=C};var N0=uZ.prototype;function P5(W){return W.type==="Identifier"||W.type==="ParenthesizedExpression"&&P5(W.expression)}function L5(W){return W.type==="MemberExpression"&&W.property.type==="PrivateIdentifier"||W.type==="ChainExpression"&&L5(W.expression)||W.type==="ParenthesizedExpression"&&L5(W.expression)}N0.checkPropClash=function(W,C,y){if(!(this.options.ecmaVersion>=9&&W.type==="SpreadElement"||this.options.ecmaVersion>=6&&(W.computed||W.method||W.shorthand))){var h,QZ=W.key;switch(QZ.type){case"Identifier":h=QZ.name;break;case"Literal":h=String(QZ.value);break;default:return}var BZ=W.kind;if(this.options.ecmaVersion>=6)h==="__proto__"&&BZ==="init"&&(C.proto&&(y?y.doubleProto<0&&(y.doubleProto=QZ.start):this.raiseRecoverable(QZ.start,"Redefinition of __proto__ property")),C.proto=!0);else{var RZ=C[h="$"+h];if(RZ)(BZ==="init"?this.strict&&RZ.init||RZ.get||RZ.set:RZ.init||RZ[BZ])&&this.raiseRecoverable(QZ.start,"Redefinition of property");else RZ=C[h]={init:!1,get:!1,set:!1};RZ[BZ]=!0}}},N0.parseExpression=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseMaybeAssign(W,C);if(this.type===c.comma){var BZ=this.startNodeAt(y,h);for(BZ.expressions=[QZ];this.eat(c.comma);)BZ.expressions.push(this.parseMaybeAssign(W,C));return this.finishNode(BZ,"SequenceExpression")}return QZ},N0.parseMaybeAssign=function(W,C,y){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(W);this.exprAllowed=!1}var h=!1,QZ=-1,BZ=-1,RZ=-1;C?(QZ=C.parenthesizedAssign,BZ=C.trailingComma,RZ=C.doubleProto,C.parenthesizedAssign=C.trailingComma=-1):(C=new O0,h=!0);var IZ=this.start,fZ=this.startLoc;this.type!==c.parenL&&this.type!==c.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=W==="await");var rZ=this.parseMaybeConditional(W,C);if(y&&(rZ=y.call(this,rZ,IZ,fZ)),this.type.isAssign){var vZ=this.startNodeAt(IZ,fZ);return vZ.operator=this.value,this.type===c.eq&&(rZ=this.toAssignable(rZ,!1,C)),h||(C.parenthesizedAssign=C.trailingComma=C.doubleProto=-1),C.shorthandAssign>=rZ.start&&(C.shorthandAssign=-1),this.type===c.eq?this.checkLValPattern(rZ):this.checkLValSimple(rZ),vZ.left=rZ,this.next(),vZ.right=this.parseMaybeAssign(W),RZ>-1&&(C.doubleProto=RZ),this.finishNode(vZ,"AssignmentExpression")}return h&&this.checkExpressionErrors(C,!0),QZ>-1&&(C.parenthesizedAssign=QZ),BZ>-1&&(C.trailingComma=BZ),rZ},N0.parseMaybeConditional=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseExprOps(W,C);if(this.checkExpressionErrors(C))return QZ;if(this.eat(c.question)){var BZ=this.startNodeAt(y,h);return BZ.test=QZ,BZ.consequent=this.parseMaybeAssign(),this.expect(c.colon),BZ.alternate=this.parseMaybeAssign(W),this.finishNode(BZ,"ConditionalExpression")}return QZ},N0.parseExprOps=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseMaybeUnary(C,!1,!1,W);return this.checkExpressionErrors(C)||QZ.start===y&&QZ.type==="ArrowFunctionExpression"?QZ:this.parseExprOp(QZ,y,h,-1,W)},N0.parseExprOp=function(W,C,y,h,QZ){var BZ=this.type.binop;if(BZ!=null&&(!QZ||this.type!==c._in)&&BZ>h){var RZ=this.type===c.logicalOR||this.type===c.logicalAND,IZ=this.type===c.coalesce;IZ&&(BZ=c.logicalAND.binop);var fZ=this.value;this.next();var rZ=this.start,vZ=this.startLoc,V0=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,QZ),rZ,vZ,BZ,QZ),J0=this.buildBinary(C,y,W,V0,fZ,RZ||IZ);return(RZ&&this.type===c.coalesce||IZ&&(this.type===c.logicalOR||this.type===c.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(J0,C,y,h,QZ)}return W},N0.buildBinary=function(W,C,y,h,QZ,BZ){h.type==="PrivateIdentifier"&&this.raise(h.start,"Private identifier can only be left side of binary expression");var RZ=this.startNodeAt(W,C);return RZ.left=y,RZ.operator=QZ,RZ.right=h,this.finishNode(RZ,BZ?"LogicalExpression":"BinaryExpression")},N0.parseMaybeUnary=function(W,C,y,h){var QZ,BZ=this.start,RZ=this.startLoc;if(this.isContextual("await")&&this.canAwait)QZ=this.parseAwait(h),C=!0;else if(this.type.prefix){var IZ=this.startNode(),fZ=this.type===c.incDec;IZ.operator=this.value,IZ.prefix=!0,this.next(),IZ.argument=this.parseMaybeUnary(null,!0,fZ,h),this.checkExpressionErrors(W,!0),fZ?this.checkLValSimple(IZ.argument):this.strict&&IZ.operator==="delete"&&P5(IZ.argument)?this.raiseRecoverable(IZ.start,"Deleting local variable in strict mode"):IZ.operator==="delete"&&L5(IZ.argument)?this.raiseRecoverable(IZ.start,"Private fields can not be deleted"):C=!0,QZ=this.finishNode(IZ,fZ?"UpdateExpression":"UnaryExpression")}else if(C||this.type!==c.privateId){if(QZ=this.parseExprSubscripts(W,h),this.checkExpressionErrors(W))return QZ;for(;this.type.postfix&&!this.canInsertSemicolon();){var rZ=this.startNodeAt(BZ,RZ);rZ.operator=this.value,rZ.prefix=!1,rZ.argument=QZ,this.checkLValSimple(QZ),this.next(),QZ=this.finishNode(rZ,"UpdateExpression")}}else(h||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),QZ=this.parsePrivateIdent(),this.type!==c._in&&this.unexpected();return y||!this.eat(c.starstar)?QZ:C?void this.unexpected(this.lastTokStart):this.buildBinary(BZ,RZ,QZ,this.parseMaybeUnary(null,!1,!1,h),"**",!1)},N0.parseExprSubscripts=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseExprAtom(W,C);if(QZ.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return QZ;var BZ=this.parseSubscripts(QZ,y,h,!1,C);return W&&BZ.type==="MemberExpression"&&(W.parenthesizedAssign>=BZ.start&&(W.parenthesizedAssign=-1),W.parenthesizedBind>=BZ.start&&(W.parenthesizedBind=-1),W.trailingComma>=BZ.start&&(W.trailingComma=-1)),BZ},N0.parseSubscripts=function(W,C,y,h,QZ){for(var BZ=this.options.ecmaVersion>=8&&W.type==="Identifier"&&W.name==="async"&&this.lastTokEnd===W.end&&!this.canInsertSemicolon()&&W.end-W.start==5&&this.potentialArrowAt===W.start,RZ=!1;;){var IZ=this.parseSubscript(W,C,y,h,BZ,RZ,QZ);if(IZ.optional&&(RZ=!0),IZ===W||IZ.type==="ArrowFunctionExpression"){if(RZ){var fZ=this.startNodeAt(C,y);fZ.expression=IZ,IZ=this.finishNode(fZ,"ChainExpression")}return IZ}W=IZ}},N0.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(c.arrow)},N0.parseSubscriptAsyncArrow=function(W,C,y,h){return this.parseArrowExpression(this.startNodeAt(W,C),y,!0,h)},N0.parseSubscript=function(W,C,y,h,QZ,BZ,RZ){var IZ=this.options.ecmaVersion>=11,fZ=IZ&&this.eat(c.questionDot);h&&fZ&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var rZ=this.eat(c.bracketL);if(rZ||fZ&&this.type!==c.parenL&&this.type!==c.backQuote||this.eat(c.dot)){var vZ=this.startNodeAt(C,y);vZ.object=W,rZ?(vZ.property=this.parseExpression(),this.expect(c.bracketR)):this.type===c.privateId&&W.type!=="Super"?vZ.property=this.parsePrivateIdent():vZ.property=this.parseIdent(this.options.allowReserved!=="never"),vZ.computed=!!rZ,IZ&&(vZ.optional=fZ),W=this.finishNode(vZ,"MemberExpression")}else if(!h&&this.eat(c.parenL)){var V0=new O0,J0=this.yieldPos,w0=this.awaitPos,_0=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var t0=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1,V0);if(QZ&&!fZ&&this.shouldParseAsyncArrow())return this.checkPatternErrors(V0,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=J0,this.awaitPos=w0,this.awaitIdentPos=_0,this.parseSubscriptAsyncArrow(C,y,t0,RZ);this.checkExpressionErrors(V0,!0),this.yieldPos=J0||this.yieldPos,this.awaitPos=w0||this.awaitPos,this.awaitIdentPos=_0||this.awaitIdentPos;var Y5=this.startNodeAt(C,y);Y5.callee=W,Y5.arguments=t0,IZ&&(Y5.optional=fZ),W=this.finishNode(Y5,"CallExpression")}else if(this.type===c.backQuote){(fZ||BZ)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x0=this.startNodeAt(C,y);x0.tag=W,x0.quasi=this.parseTemplate({isTagged:!0}),W=this.finishNode(x0,"TaggedTemplateExpression")}return W},N0.parseExprAtom=function(W,C,y){this.type===c.slash&&this.readRegexp();var h,QZ=this.potentialArrowAt===this.start;switch(this.type){case c._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),h=this.startNode(),this.next(),this.type!==c.parenL||this.allowDirectSuper||this.raise(h.start,"super() call outside constructor of a subclass"),this.type!==c.dot&&this.type!==c.bracketL&&this.type!==c.parenL&&this.unexpected(),this.finishNode(h,"Super");case c._this:return h=this.startNode(),this.next(),this.finishNode(h,"ThisExpression");case c.name:var BZ=this.start,RZ=this.startLoc,IZ=this.containsEsc,fZ=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!IZ&&fZ.name==="async"&&!this.canInsertSemicolon()&&this.eat(c._function))return this.overrideContext(I0.f_expr),this.parseFunction(this.startNodeAt(BZ,RZ),0,!1,!0,C);if(QZ&&!this.canInsertSemicolon()){if(this.eat(c.arrow))return this.parseArrowExpression(this.startNodeAt(BZ,RZ),[fZ],!1,C);if(this.options.ecmaVersion>=8&&fZ.name==="async"&&this.type===c.name&&!IZ&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return fZ=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(c.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(BZ,RZ),[fZ],!0,C)}return fZ;case c.regexp:var rZ=this.value;return(h=this.parseLiteral(rZ.value)).regex={pattern:rZ.pattern,flags:rZ.flags},h;case c.num:case c.string:return this.parseLiteral(this.value);case c._null:case c._true:case c._false:return(h=this.startNode()).value=this.type===c._null?null:this.type===c._true,h.raw=this.type.keyword,this.next(),this.finishNode(h,"Literal");case c.parenL:var vZ=this.start,V0=this.parseParenAndDistinguishExpression(QZ,C);return W&&(W.parenthesizedAssign<0&&!this.isSimpleAssignTarget(V0)&&(W.parenthesizedAssign=vZ),W.parenthesizedBind<0&&(W.parenthesizedBind=vZ)),V0;case c.bracketL:return h=this.startNode(),this.next(),h.elements=this.parseExprList(c.bracketR,!0,!0,W),this.finishNode(h,"ArrayExpression");case c.braceL:return this.overrideContext(I0.b_expr),this.parseObj(!1,W);case c._function:return h=this.startNode(),this.next(),this.parseFunction(h,0);case c._class:return this.parseClass(this.startNode(),!1);case c._new:return this.parseNew();case c.backQuote:return this.parseTemplate();case c._import:return this.options.ecmaVersion>=11?this.parseExprImport(y):this.unexpected();default:return this.parseExprAtomDefault()}},N0.parseExprAtomDefault=function(){this.unexpected()},N0.parseExprImport=function(W){var C=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===c.parenL&&!W)return this.parseDynamicImport(C);if(this.type===c.dot){var y=this.startNodeAt(C.start,C.loc&&C.loc.start);return y.name="import",C.meta=this.finishNode(y,"Identifier"),this.parseImportMeta(C)}this.unexpected()},N0.parseDynamicImport=function(W){if(this.next(),W.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(c.parenR)?W.options=null:(this.expect(c.comma),this.afterTrailingComma(c.parenR)?W.options=null:(W.options=this.parseMaybeAssign(),this.eat(c.parenR)||(this.expect(c.comma),this.afterTrailingComma(c.parenR)||this.unexpected())));else if(!this.eat(c.parenR)){var C=this.start;this.eat(c.comma)&&this.eat(c.parenR)?this.raiseRecoverable(C,"Trailing comma is not allowed in import()"):this.unexpected(C)}return this.finishNode(W,"ImportExpression")},N0.parseImportMeta=function(W){this.next();var C=this.containsEsc;return W.property=this.parseIdent(!0),W.property.name!=="meta"&&this.raiseRecoverable(W.property.start,"The only valid meta property for import is 'import.meta'"),C&&this.raiseRecoverable(W.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(W.start,"Cannot use 'import.meta' outside a module"),this.finishNode(W,"MetaProperty")},N0.parseLiteral=function(W){var C=this.startNode();return C.value=W,C.raw=this.input.slice(this.start,this.end),C.raw.charCodeAt(C.raw.length-1)===110&&(C.bigint=C.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(C,"Literal")},N0.parseParenExpression=function(){this.expect(c.parenL);var W=this.parseExpression();return this.expect(c.parenR),W},N0.shouldParseArrow=function(W){return!this.canInsertSemicolon()},N0.parseParenAndDistinguishExpression=function(W,C){var y,h=this.start,QZ=this.startLoc,BZ=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var RZ,IZ=this.start,fZ=this.startLoc,rZ=[],vZ=!0,V0=!1,J0=new O0,w0=this.yieldPos,_0=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==c.parenR;){if(vZ?vZ=!1:this.expect(c.comma),BZ&&this.afterTrailingComma(c.parenR,!0)){V0=!0;break}if(this.type===c.ellipsis){RZ=this.start,rZ.push(this.parseParenItem(this.parseRestBinding())),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}rZ.push(this.parseMaybeAssign(!1,J0,this.parseParenItem))}var t0=this.lastTokEnd,Y5=this.lastTokEndLoc;if(this.expect(c.parenR),W&&this.shouldParseArrow(rZ)&&this.eat(c.arrow))return this.checkPatternErrors(J0,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=w0,this.awaitPos=_0,this.parseParenArrowList(h,QZ,rZ,C);rZ.length&&!V0||this.unexpected(this.lastTokStart),RZ&&this.unexpected(RZ),this.checkExpressionErrors(J0,!0),this.yieldPos=w0||this.yieldPos,this.awaitPos=_0||this.awaitPos,rZ.length>1?((y=this.startNodeAt(IZ,fZ)).expressions=rZ,this.finishNodeAt(y,"SequenceExpression",t0,Y5)):y=rZ[0]}else y=this.parseParenExpression();if(this.options.preserveParens){var x0=this.startNodeAt(h,QZ);return x0.expression=y,this.finishNode(x0,"ParenthesizedExpression")}return y},N0.parseParenItem=function(W){return W},N0.parseParenArrowList=function(W,C,y,h){return this.parseArrowExpression(this.startNodeAt(W,C),y,!1,h)};var O5=[];N0.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var W=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===c.dot){var C=this.startNodeAt(W.start,W.loc&&W.loc.start);C.name="new",W.meta=this.finishNode(C,"Identifier"),this.next();var y=this.containsEsc;return W.property=this.parseIdent(!0),W.property.name!=="target"&&this.raiseRecoverable(W.property.start,"The only valid meta property for new is 'new.target'"),y&&this.raiseRecoverable(W.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(W.start,"'new.target' can only be used in functions and class static block"),this.finishNode(W,"MetaProperty")}var h=this.start,QZ=this.startLoc;return W.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),h,QZ,!0,!1),this.eat(c.parenL)?W.arguments=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1):W.arguments=O5,this.finishNode(W,"NewExpression")},N0.parseTemplateElement=function(W){var C=W.isTagged,y=this.startNode();return this.type===c.invalidTemplate?(C||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),y.value={raw:this.value.replace(/\r\n?/g,`
|
|
6
|
+
If 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.3/node_modules/semver/classes/comparator.js":(n,X,$)=>{let Y=Symbol("SemVer ANY");class j{static get ANY(){return Y}constructor(G,z){if(z=O(z),G instanceof j){if(G.loose===!!z.loose)return G;G=G.value}G=G.trim().split(/\s+/).join(" "),N("comparator",G,z),this.options=z,this.loose=!!z.loose,this.parse(G),this.semver===Y?this.value="":this.value=this.operator+this.semver.version,N("comp",this)}parse(G){let z=this.options.loose?Z[Q.COMPARATORLOOSE]:Z[Q.COMPARATOR],V=G.match(z);if(!V)throw TypeError(`Invalid comparator: ${G}`);this.operator=V[1]!==void 0?V[1]:"",this.operator==="="&&(this.operator=""),V[2]?this.semver=new U(V[2],this.options.loose):this.semver=Y}toString(){return this.value}test(G){if(N("Comparator.test",G,this.options.loose),this.semver===Y||G===Y)return!0;if(typeof G=="string")try{G=new U(G,this.options)}catch(z){return!1}return R(G,this.operator,this.semver,this.options)}intersects(G,z){if(!(G instanceof j))throw TypeError("a Comparator is required");return this.operator===""?this.value===""||new M(G.value,z).test(this.value):G.operator===""?G.value===""||new M(this.value,z).test(G.semver):(!(z=O(z)).includePrerelease||this.value!=="<0.0.0-0"&&G.value!=="<0.0.0-0")&&(!(!z.includePrerelease&&(this.value.startsWith("<0.0.0")||G.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!G.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!G.operator.startsWith("<"))||(!(this.semver.version!==G.semver.version||!this.operator.includes("=")||!G.operator.includes("="))||(!!(R(this.semver,"<",G.semver,z)&&this.operator.startsWith(">")&&G.operator.startsWith("<"))||!!(R(this.semver,">",G.semver,z)&&this.operator.startsWith("<")&&G.operator.startsWith(">")))))))}}n.exports=j;let O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{safeRe:Z,t:Q}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js":(n,X,$)=>{let Y=/\s+/g;class j{constructor(u,a){if(a=Z(a),u instanceof j)return u.loose===!!a.loose&&u.includePrerelease===!!a.includePrerelease?u:new j(u.raw,a);if(u instanceof Q)return this.raw=u.value,this.set=[[u]],this.formatted=void 0,this;if(this.options=a,this.loose=!!a.loose,this.includePrerelease=!!a.includePrerelease,this.raw=u.trim().replace(Y," "),this.set=this.raw.split("||").map((d)=>this.parseRange(d.trim())).filter((d)=>d.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let d=this.set[0];if(this.set=this.set.filter((o)=>!A(o[0])),this.set.length===0)this.set=[d];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&T(o[0])){this.set=[o];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let u=0;u<this.set.length;u++){u>0&&(this.formatted+="||");let a=this.set[u];for(let d=0;d<a.length;d++)d>0&&(this.formatted+=" "),this.formatted+=a[d].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(u){let a=((this.options.includePrerelease&&F)|(this.options.loose&&J))+":"+u,d=O.get(a);if(d)return d;let o=this.options.loose,m=o?U[M.HYPHENRANGELOOSE]:U[M.HYPHENRANGE];u=u.replace(m,q(this.options.includePrerelease)),R("hyphen replace",u),u=u.replace(U[M.COMPARATORTRIM],G),R("comparator trim",u),u=u.replace(U[M.TILDETRIM],z),R("tilde trim",u),u=u.replace(U[M.CARETTRIM],V),R("caret trim",u);let b=u.split(" ").map((HZ)=>P(HZ,this.options)).join(" ").split(/\s+/).map((HZ)=>f(HZ,this.options));o&&(b=b.filter((HZ)=>(R("loose invalid filter",HZ,this.options),!!HZ.match(U[M.COMPARATORLOOSE])))),R("range list",b);let p=new Map,i=b.map((HZ)=>new Q(HZ,this.options));for(let HZ of i){if(A(HZ))return[HZ];p.set(HZ.value,HZ)}p.size>1&&p.has("")&&p.delete("");let s=[...p.values()];return O.set(a,s),s}intersects(u,a){if(!(u instanceof j))throw TypeError("a Range is required");return this.set.some((d)=>I(d,a)&&u.set.some((o)=>I(o,a)&&d.every((m)=>o.every((b)=>m.intersects(b,a)))))}test(u){if(!u)return!1;if(typeof u=="string")try{u=new N(u,this.options)}catch(a){return!1}for(let a=0;a<this.set.length;a++)if(g(this.set[a],u,this.options))return!0;return!1}}n.exports=j;let O=new($("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js")),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),{safeRe:U,t:M,comparatorTrimReplace:G,tildeTrimReplace:z,caretTrimReplace:V}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:F,FLAG_LOOSE:J}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),A=(u)=>u.value==="<0.0.0-0",T=(u)=>u.value==="",I=(u,a)=>{let d=!0,o=u.slice(),m=o.pop();for(;d&&o.length;)d=o.every((b)=>m.intersects(b,a)),m=o.pop();return d},P=(u,a)=>(R("comp",u,a),u=v(u,a),R("caret",u),u=D(u,a),R("tildes",u),u=_(u,a),R("xrange",u),u=t(u,a),R("stars",u),u),w=(u)=>!u||u.toLowerCase()==="x"||u==="*",D=(u,a)=>u.trim().split(/\s+/).map((d)=>E(d,a)).join(" "),E=(u,a)=>{let d=a.loose?U[M.TILDELOOSE]:U[M.TILDE];return u.replace(d,(o,m,b,p,i)=>{let s;return R("tilde",u,o,m,b,p,i),w(m)?s="":w(b)?s=`>=${m}.0.0 <${+m+1}.0.0-0`:w(p)?s=`>=${m}.${b}.0 <${m}.${+b+1}.0-0`:i?(R("replaceTilde pr",i),s=`>=${m}.${b}.${p}-${i} <${m}.${+b+1}.0-0`):s=`>=${m}.${b}.${p} <${m}.${+b+1}.0-0`,R("tilde return",s),s})},v=(u,a)=>u.trim().split(/\s+/).map((d)=>k(d,a)).join(" "),k=(u,a)=>{R("caret",u,a);let d=a.loose?U[M.CARETLOOSE]:U[M.CARET],o=a.includePrerelease?"-0":"";return u.replace(d,(m,b,p,i,s)=>{let HZ;return R("caret",u,m,b,p,i,s),w(b)?HZ="":w(p)?HZ=`>=${b}.0.0${o} <${+b+1}.0.0-0`:w(i)?HZ=b==="0"?`>=${b}.${p}.0${o} <${b}.${+p+1}.0-0`:`>=${b}.${p}.0${o} <${+b+1}.0.0-0`:s?(R("replaceCaret pr",s),HZ=b==="0"?p==="0"?`>=${b}.${p}.${i}-${s} <${b}.${p}.${+i+1}-0`:`>=${b}.${p}.${i}-${s} <${b}.${+p+1}.0-0`:`>=${b}.${p}.${i}-${s} <${+b+1}.0.0-0`):(R("no pr"),HZ=b==="0"?p==="0"?`>=${b}.${p}.${i}${o} <${b}.${p}.${+i+1}-0`:`>=${b}.${p}.${i}${o} <${b}.${+p+1}.0-0`:`>=${b}.${p}.${i} <${+b+1}.0.0-0`),R("caret return",HZ),HZ})},_=(u,a)=>(R("replaceXRanges",u,a),u.split(/\s+/).map((d)=>r(d,a)).join(" ")),r=(u,a)=>{u=u.trim();let d=a.loose?U[M.XRANGELOOSE]:U[M.XRANGE];return u.replace(d,(o,m,b,p,i,s)=>{R("xRange",u,o,m,b,p,i,s);let HZ=w(b),GZ=HZ||w(p),AZ=GZ||w(i),SZ=AZ;return m==="="&&SZ&&(m=""),s=a.includePrerelease?"-0":"",HZ?o=m===">"||m==="<"?"<0.0.0-0":"*":m&&SZ?(GZ&&(p=0),i=0,m===">"?(m=">=",GZ?(b=+b+1,p=0,i=0):(p=+p+1,i=0)):m==="<="&&(m="<",GZ?b=+b+1:p=+p+1),m==="<"&&(s="-0"),o=`${m+b}.${p}.${i}${s}`):GZ?o=`>=${b}.0.0${s} <${+b+1}.0.0-0`:AZ&&(o=`>=${b}.${p}.0${s} <${b}.${+p+1}.0-0`),R("xRange return",o),o})},t=(u,a)=>(R("replaceStars",u,a),u.trim().replace(U[M.STAR],"")),f=(u,a)=>(R("replaceGTE0",u,a),u.trim().replace(U[a.includePrerelease?M.GTE0PRE:M.GTE0],"")),q=(u)=>(a,d,o,m,b,p,i,s,HZ,GZ,AZ,SZ)=>`${d=w(o)?"":w(m)?`>=${o}.0.0${u?"-0":""}`:w(b)?`>=${o}.${m}.0${u?"-0":""}`:p?`>=${d}`:`>=${d}${u?"-0":""}`} ${s=w(HZ)?"":w(GZ)?`<${+HZ+1}.0.0-0`:w(AZ)?`<${HZ}.${+GZ+1}.0-0`:SZ?`<=${HZ}.${GZ}.${AZ}-${SZ}`:u?`<${HZ}.${GZ}.${+AZ+1}-0`:`<=${s}`}`.trim(),g=(u,a,d)=>{for(let o=0;o<u.length;o++)if(!u[o].test(a))return!1;if(a.prerelease.length&&!d.includePrerelease){for(let o=0;o<u.length;o++)if(R(u[o].semver),u[o].semver!==Q.ANY&&u[o].semver.prerelease.length>0){let m=u[o].semver;if(m.major===a.major&&m.minor===a.minor&&m.patch===a.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),{MAX_LENGTH:j,MAX_SAFE_INTEGER:O}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),{safeRe:Z,t:Q}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:N}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js");class U{constructor(M,G){if(G=R(G),M instanceof U){if(M.loose===!!G.loose&&M.includePrerelease===!!G.includePrerelease)return M;M=M.version}else if(typeof M!="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof M}".`);if(M.length>j)throw TypeError(`version is longer than ${j} characters`);Y("SemVer",M,G),this.options=G,this.loose=!!G.loose,this.includePrerelease=!!G.includePrerelease;let z=M.trim().match(G.loose?Z[Q.LOOSE]:Z[Q.FULL]);if(!z)throw TypeError(`Invalid Version: ${M}`);if(this.raw=M,this.major=+z[1],this.minor=+z[2],this.patch=+z[3],this.major>O||this.major<0)throw TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw TypeError("Invalid patch version");z[4]?this.prerelease=z[4].split(".").map((V)=>{if(/^[0-9]+$/.test(V)){let F=+V;if(F>=0&&F<O)return F}return V}):this.prerelease=[],this.build=z[5]?z[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(M){if(Y("SemVer.compare",this.version,this.options,M),!(M instanceof U)){if(typeof M=="string"&&M===this.version)return 0;M=new U(M,this.options)}return M.version===this.version?0:this.compareMain(M)||this.comparePre(M)}compareMain(M){return M instanceof U||(M=new U(M,this.options)),N(this.major,M.major)||N(this.minor,M.minor)||N(this.patch,M.patch)}comparePre(M){if(M instanceof U||(M=new U(M,this.options)),this.prerelease.length&&!M.prerelease.length)return-1;if(!this.prerelease.length&&M.prerelease.length)return 1;if(!this.prerelease.length&&!M.prerelease.length)return 0;let G=0;do{let z=this.prerelease[G],V=M.prerelease[G];if(Y("prerelease compare",G,z,V),z===void 0&&V===void 0)return 0;if(V===void 0)return 1;if(z===void 0)return-1;if(z!==V)return N(z,V)}while(++G)}compareBuild(M){M instanceof U||(M=new U(M,this.options));let G=0;do{let z=this.build[G],V=M.build[G];if(Y("build compare",G,z,V),z===void 0&&V===void 0)return 0;if(V===void 0)return 1;if(z===void 0)return-1;if(z!==V)return N(z,V)}while(++G)}inc(M,G,z){switch(M){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",G,z);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",G,z);break;case"prepatch":this.prerelease.length=0,this.inc("patch",G,z),this.inc("pre",G,z);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",G,z),this.inc("pre",G,z);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let V=Number(z)?1:0;if(!G&&z===!1)throw Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[V];else{let F=this.prerelease.length;for(;--F>=0;)typeof this.prerelease[F]=="number"&&(this.prerelease[F]++,F=-2);if(F===-1){if(G===this.prerelease.join(".")&&z===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(V)}}if(G){let F=[G,V];z===!1&&(F=[G]),N(this.prerelease[0],G)===0?isNaN(this.prerelease[1])&&(this.prerelease=F):this.prerelease=F}break}default:throw Error(`invalid increment argument: ${M}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}n.exports=U},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j.trim().replace(/^[=v]+/,""),O);return Z?Z.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js");n.exports=(N,U,M,G)=>{switch(U){case"===":return typeof N=="object"&&(N=N.version),typeof M=="object"&&(M=M.version),N===M;case"!==":return typeof N=="object"&&(N=N.version),typeof M=="object"&&(M=M.version),N!==M;case"":case"=":case"==":return Y(N,M,G);case"!=":return j(N,M,G);case">":return O(N,M,G);case">=":return Z(N,M,G);case"<":return Q(N,M,G);case"<=":return R(N,M,G);default:throw TypeError(`Invalid operator: ${U}`)}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),{safeRe:O,t:Z}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js");n.exports=(Q,R)=>{if(Q instanceof Y)return Q;if(typeof Q=="number"&&(Q=String(Q)),typeof Q!="string")return null;let N=null;if((R=R||{}).rtl){let F=R.includePrerelease?O[Z.COERCERTLFULL]:O[Z.COERCERTL],J;for(;(J=F.exec(Q))&&(!N||N.index+N[0].length!==Q.length);)N&&J.index+J[0].length===N.index+N[0].length||(N=J),F.lastIndex=J.index+J[1].length+J[2].length;F.lastIndex=-1}else N=Q.match(R.includePrerelease?O[Z.COERCEFULL]:O[Z.COERCE]);if(N===null)return null;let U=N[2],M=N[3]||"0",G=N[4]||"0",z=R.includePrerelease&&N[5]?`-${N[5]}`:"",V=R.includePrerelease&&N[6]?`+${N[6]}`:"";return j(`${U}.${M}.${G}${z}${V}`,R)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z)=>{let Q=new Y(j,Z),R=new Y(O,Z);return Q.compare(R)||Q.compareBuild(R)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O)=>Y(j,O,!0)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z)=>new Y(j,Z).compare(new Y(O,Z))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,null,!0),Q=Y(O,null,!0),R=Z.compare(Q);if(R===0)return null;let N=R>0,U=N?Z:Q,M=N?Q:Z,G=!!U.prerelease.length;if(!!M.prerelease.length&&!G)return M.patch||M.minor?U.patch?"patch":U.minor?"minor":"major":"major";let z=G?"pre":"";return Z.major!==Q.major?z+"major":Z.minor!==Q.minor?z+"minor":Z.patch!==Q.patch?z+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)===0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)>0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)>=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z,Q,R)=>{typeof Z=="string"&&(R=Q,Q=Z,Z=void 0);try{return new Y(j instanceof Y?j.version:j,Z).inc(O,Q,R).version}catch(N){return null}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)<0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)<=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).major},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).minor},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(j,O,Z)!==0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O,Z=!1)=>{if(j instanceof Y)return j;try{return new Y(j,O)}catch(Q){if(!Z)return null;throw Q}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");n.exports=(j,O)=>new Y(j,O).patch},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,O);return Z&&Z.prerelease.length?Z.prerelease:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(j,O,Z)=>Y(O,j,Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");n.exports=(j,O)=>j.sort((Z,Q)=>Y(Q,Z,O))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O,Z)=>{try{O=new Y(O,Z)}catch(Q){return!1}return O.test(j)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");n.exports=(j,O)=>j.sort((Z,Q)=>Y(Z,Q,O))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");n.exports=(j,O)=>{let Z=Y(j,O);return Z?Z.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"),G=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"),z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"),V=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"),F=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"),J=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),A=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"),T=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"),I=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"),P=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"),w=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"),D=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),E=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),v=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),k=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),_=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),r=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),t=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),f=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"),q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),g=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),u=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),a=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"),d=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"),o=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"),m=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"),b=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"),p=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"),i=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"),s=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"),HZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"),GZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"),AZ=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js");n.exports={parse:Q,valid:R,clean:N,inc:U,diff:M,major:G,minor:z,patch:V,prerelease:F,compare:J,rcompare:A,compareLoose:T,compareBuild:I,sort:P,rsort:w,gt:D,lt:E,eq:v,neq:k,gte:_,lte:r,cmp:t,coerce:f,Comparator:q,Range:g,satisfies:u,toComparators:a,maxSatisfying:d,minSatisfying:o,minVersion:m,validRange:b,outside:p,gtr:i,ltr:s,intersects:HZ,simplifyRange:GZ,subset:AZ,SemVer:O,re:Y.re,src:Y.src,tokens:Y.t,SEMVER_SPEC_VERSION:j.SEMVER_SPEC_VERSION,RELEASE_TYPES:j.RELEASE_TYPES,compareIdentifiers:Z.compareIdentifiers,rcompareIdentifiers:Z.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js":(n)=>{let X=Number.MAX_SAFE_INTEGER||9007199254740991;n.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:X,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.3/node_modules/semver/internal/debug.js":(n)=>{let X=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...$)=>console.error("SEMVER",...$):()=>{};n.exports=X},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js":(n)=>{let X=/^[0-9]+$/,$=(Y,j)=>{let O=X.test(Y),Z=X.test(j);return O&&Z&&(Y=+Y,j=+j),Y===j?0:O&&!Z?-1:Z&&!O?1:Y<j?-1:1};n.exports={compareIdentifiers:$,rcompareIdentifiers:(Y,j)=>$(j,Y)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js":(n)=>{n.exports=class{constructor(){this.max=1000,this.map=new Map}get(X){let $=this.map.get(X);return $===void 0?void 0:(this.map.delete(X),this.map.set(X,$),$)}delete(X){return this.map.delete(X)}set(X,$){if(!this.delete(X)&&$!==void 0){if(this.map.size>=this.max){let Y=this.map.keys().next().value;this.delete(Y)}this.map.set(X,$)}return this}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js":(n)=>{let X=Object.freeze({loose:!0}),$=Object.freeze({});n.exports=(Y)=>Y?typeof Y!="object"?X:Y:$},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js":(n,X,$)=>{let{MAX_SAFE_COMPONENT_LENGTH:Y,MAX_SAFE_BUILD_LENGTH:j,MAX_LENGTH:O}=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),Q=(X=n.exports={}).re=[],R=X.safeRe=[],N=X.src=[],U=X.t={},M=0,G=[["\\s",1],["\\d",O],["[a-zA-Z0-9-]",j]],z=(V,F,J)=>{let A=((I)=>{for(let[P,w]of G)I=I.split(`${P}*`).join(`${P}{0,${w}}`).split(`${P}+`).join(`${P}{1,${w}}`);return I})(F),T=M++;Z(V,T,F),U[V]=T,N[T]=F,Q[T]=new RegExp(F,J?"g":void 0),R[T]=new RegExp(A,J?"g":void 0)};z("NUMERICIDENTIFIER","0|[1-9]\\d*"),z("NUMERICIDENTIFIERLOOSE","\\d+"),z("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),z("MAINVERSION",`(${N[U.NUMERICIDENTIFIER]})\\.(${N[U.NUMERICIDENTIFIER]})\\.(${N[U.NUMERICIDENTIFIER]})`),z("MAINVERSIONLOOSE",`(${N[U.NUMERICIDENTIFIERLOOSE]})\\.(${N[U.NUMERICIDENTIFIERLOOSE]})\\.(${N[U.NUMERICIDENTIFIERLOOSE]})`),z("PRERELEASEIDENTIFIER",`(?:${N[U.NUMERICIDENTIFIER]}|${N[U.NONNUMERICIDENTIFIER]})`),z("PRERELEASEIDENTIFIERLOOSE",`(?:${N[U.NUMERICIDENTIFIERLOOSE]}|${N[U.NONNUMERICIDENTIFIER]})`),z("PRERELEASE",`(?:-(${N[U.PRERELEASEIDENTIFIER]}(?:\\.${N[U.PRERELEASEIDENTIFIER]})*))`),z("PRERELEASELOOSE",`(?:-?(${N[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${N[U.PRERELEASEIDENTIFIERLOOSE]})*))`),z("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),z("BUILD",`(?:\\+(${N[U.BUILDIDENTIFIER]}(?:\\.${N[U.BUILDIDENTIFIER]})*))`),z("FULLPLAIN",`v?${N[U.MAINVERSION]}${N[U.PRERELEASE]}?${N[U.BUILD]}?`),z("FULL",`^${N[U.FULLPLAIN]}$`),z("LOOSEPLAIN",`[v=\\s]*${N[U.MAINVERSIONLOOSE]}${N[U.PRERELEASELOOSE]}?${N[U.BUILD]}?`),z("LOOSE",`^${N[U.LOOSEPLAIN]}$`),z("GTLT","((?:<|>)?=?)"),z("XRANGEIDENTIFIERLOOSE",`${N[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),z("XRANGEIDENTIFIER",`${N[U.NUMERICIDENTIFIER]}|x|X|\\*`),z("XRANGEPLAIN",`[v=\\s]*(${N[U.XRANGEIDENTIFIER]})(?:\\.(${N[U.XRANGEIDENTIFIER]})(?:\\.(${N[U.XRANGEIDENTIFIER]})(?:${N[U.PRERELEASE]})?${N[U.BUILD]}?)?)?`),z("XRANGEPLAINLOOSE",`[v=\\s]*(${N[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${N[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${N[U.XRANGEIDENTIFIERLOOSE]})(?:${N[U.PRERELEASELOOSE]})?${N[U.BUILD]}?)?)?`),z("XRANGE",`^${N[U.GTLT]}\\s*${N[U.XRANGEPLAIN]}$`),z("XRANGELOOSE",`^${N[U.GTLT]}\\s*${N[U.XRANGEPLAINLOOSE]}$`),z("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Y}})(?:\\.(\\d{1,${Y}}))?(?:\\.(\\d{1,${Y}}))?`),z("COERCE",`${N[U.COERCEPLAIN]}(?:$|[^\\d])`),z("COERCEFULL",N[U.COERCEPLAIN]+`(?:${N[U.PRERELEASE]})?(?:${N[U.BUILD]})?(?:$|[^\\d])`),z("COERCERTL",N[U.COERCE],!0),z("COERCERTLFULL",N[U.COERCEFULL],!0),z("LONETILDE","(?:~>?)"),z("TILDETRIM",`(\\s*)${N[U.LONETILDE]}\\s+`,!0),X.tildeTrimReplace="$1~",z("TILDE",`^${N[U.LONETILDE]}${N[U.XRANGEPLAIN]}$`),z("TILDELOOSE",`^${N[U.LONETILDE]}${N[U.XRANGEPLAINLOOSE]}$`),z("LONECARET","(?:\\^)"),z("CARETTRIM",`(\\s*)${N[U.LONECARET]}\\s+`,!0),X.caretTrimReplace="$1^",z("CARET",`^${N[U.LONECARET]}${N[U.XRANGEPLAIN]}$`),z("CARETLOOSE",`^${N[U.LONECARET]}${N[U.XRANGEPLAINLOOSE]}$`),z("COMPARATORLOOSE",`^${N[U.GTLT]}\\s*(${N[U.LOOSEPLAIN]})$|^$`),z("COMPARATOR",`^${N[U.GTLT]}\\s*(${N[U.FULLPLAIN]})$|^$`),z("COMPARATORTRIM",`(\\s*)${N[U.GTLT]}\\s*(${N[U.LOOSEPLAIN]}|${N[U.XRANGEPLAIN]})`,!0),X.comparatorTrimReplace="$1$2$3",z("HYPHENRANGE",`^\\s*(${N[U.XRANGEPLAIN]})\\s+-\\s+(${N[U.XRANGEPLAIN]})\\s*$`),z("HYPHENRANGELOOSE",`^\\s*(${N[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${N[U.XRANGEPLAINLOOSE]})\\s*$`),z("STAR","(<|>)?=?\\s*\\*"),z("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),z("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");n.exports=(j,O,Z)=>Y(j,O,">",Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O,Z)=>(j=new Y(j,Z),O=new Y(O,Z),j.intersects(O,Z))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");n.exports=(j,O,Z)=>Y(j,O,"<",Z)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(O,Z,Q)=>{let R=null,N=null,U=null;try{U=new j(Z,Q)}catch(M){return null}return O.forEach((M)=>{U.test(M)&&(R&&N.compare(M)!==-1||(R=M,N=new Y(R,Q)))}),R}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(O,Z,Q)=>{let R=null,N=null,U=null;try{U=new j(Z,Q)}catch(M){return null}return O.forEach((M)=>{U.test(M)&&(R&&N.compare(M)!==1||(R=M,N=new Y(R,Q)))}),R}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),O=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js");n.exports=(Z,Q)=>{Z=new j(Z,Q);let R=new Y("0.0.0");if(Z.test(R))return R;if(R=new Y("0.0.0-0"),Z.test(R))return R;R=null;for(let N=0;N<Z.set.length;++N){let U=Z.set[N],M=null;U.forEach((G)=>{let z=new Y(G.semver.version);switch(G.operator){case">":z.prerelease.length===0?z.patch++:z.prerelease.push(0),z.raw=z.format();case"":case">=":M&&!O(z,M)||(M=z);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${G.operator}`)}}),!M||R&&!O(R,M)||(R=M)}return R&&Z.test(R)?R:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:O}=j,Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),R=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),N=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),U=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),M=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js");n.exports=(G,z,V,F)=>{let J,A,T,I,P;switch(G=new Y(G,F),z=new Z(z,F),V){case">":J=R,A=U,T=N,I=">",P=">=";break;case"<":J=N,A=M,T=R,I="<",P="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(Q(G,z,F))return!1;for(let w=0;w<z.set.length;++w){let D=z.set[w],E=null,v=null;if(D.forEach((k)=>{k.semver===O&&(k=new j(">=0.0.0")),E=E||k,v=v||k,J(k.semver,E.semver,F)?E=k:T(k.semver,v.semver,F)&&(v=k)}),E.operator===I||E.operator===P)return!1;if((!v.operator||v.operator===I)&&A(G,v.semver))return!1;if(v.operator===P&&T(G,v.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");n.exports=(O,Z,Q)=>{let R=[],N=null,U=null,M=O.sort((F,J)=>j(F,J,Q));for(let F of M)Y(F,Z,Q)?(U=F,N||(N=F)):(U&&R.push([N,U]),U=null,N=null);N&&R.push([N,null]);let G=[];for(let[F,J]of R)F===J?G.push(F):J||F!==M[0]?J?F===M[0]?G.push(`<=${J}`):G.push(`${F} - ${J}`):G.push(`>=${F}`):G.push("*");let z=G.join(" || "),V=typeof Z.raw=="string"?Z.raw:String(Z);return z.length<V.length?z:Z}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),j=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:O}=j,Z=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),Q=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),R=[new j(">=0.0.0-0")],N=[new j(">=0.0.0")],U=(z,V,F)=>{if(z===V)return!0;if(z.length===1&&z[0].semver===O){if(V.length===1&&V[0].semver===O)return!0;z=F.includePrerelease?R:N}if(V.length===1&&V[0].semver===O){if(F.includePrerelease)return!0;V=N}let J=new Set,A,T,I,P,w,D,E;for(let _ of z)_.operator===">"||_.operator===">="?A=M(A,_,F):_.operator==="<"||_.operator==="<="?T=G(T,_,F):J.add(_.semver);if(J.size>1)return null;if(A&&T){if(I=Q(A.semver,T.semver,F),I>0)return null;if(I===0&&(A.operator!==">="||T.operator!=="<="))return null}for(let _ of J){if(A&&!Z(_,String(A),F))return null;if(T&&!Z(_,String(T),F))return null;for(let r of V)if(!Z(_,String(r),F))return!1;return!0}let v=!(!T||F.includePrerelease||!T.semver.prerelease.length)&&T.semver,k=!(!A||F.includePrerelease||!A.semver.prerelease.length)&&A.semver;v&&v.prerelease.length===1&&T.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(let _ of V){if(E=E||_.operator===">"||_.operator===">=",D=D||_.operator==="<"||_.operator==="<=",A){if(k&&_.semver.prerelease&&_.semver.prerelease.length&&_.semver.major===k.major&&_.semver.minor===k.minor&&_.semver.patch===k.patch&&(k=!1),_.operator===">"||_.operator===">="){if(P=M(A,_,F),P===_&&P!==A)return!1}else if(A.operator===">="&&!Z(A.semver,String(_),F))return!1}if(T){if(v&&_.semver.prerelease&&_.semver.prerelease.length&&_.semver.major===v.major&&_.semver.minor===v.minor&&_.semver.patch===v.patch&&(v=!1),_.operator==="<"||_.operator==="<="){if(w=G(T,_,F),w===_&&w!==T)return!1}else if(T.operator==="<="&&!Z(T.semver,String(_),F))return!1}if(!_.operator&&(T||A)&&I!==0)return!1}return!(A&&D&&!T&&I!==0)&&(!(T&&E&&!A&&I!==0)&&(!k&&!v))},M=(z,V,F)=>{if(!z)return V;let J=Q(z.semver,V.semver,F);return J>0?z:J<0||V.operator===">"&&z.operator===">="?V:z},G=(z,V,F)=>{if(!z)return V;let J=Q(z.semver,V.semver,F);return J<0?z:J>0||V.operator==="<"&&z.operator==="<="?V:z};n.exports=(z,V,F={})=>{if(z===V)return!0;z=new Y(z,F),V=new Y(V,F);let J=!1;Z:for(let A of z.set){for(let T of V.set){let I=U(A,T,F);if(J=J||I!==null,I)continue Z}if(J)return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O)=>new Y(j,O).set.map((Z)=>Z.map((Q)=>Q.value).join(" ").trim().split(" "))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js":(n,X,$)=>{let Y=$("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");n.exports=(j,O)=>{try{return new Y(j,O).range||"*"}catch(Z){return null}}},crypto:(n)=>{n.exports=h0("crypto")},fs:(n)=>{n.exports=h0("fs")},module:(n)=>{n.exports=h0("module")},path:(n)=>{n.exports=h0("path")}},O0={};function X0(n){var X=O0[n];if(X!==void 0)return X.exports;var $=O0[n]={id:n,loaded:!1,exports:{}};return tZ[n]($,$.exports,X0),$.loaded=!0,$.exports}X0.n=(n)=>{var X=n&&n.__esModule?()=>n.default:()=>n;return X0.d(X,{a:X}),X},X0.d=(n,X)=>{for(var $ in X)X0.o(X,$)&&!X0.o(n,$)&&Object.defineProperty(n,$,{enumerable:!0,get:X[$]})},X0.o=(n,X)=>Object.prototype.hasOwnProperty.call(n,X),X0.nmd=(n)=>(n.paths=[],n.children||(n.children=[]),n);var a0={};(()=>{X0.d(a0,{default:()=>T6});var n=X0("fs"),X=X0("module");let $=h0("perf_hooks"),Y=h0("os"),j=h0("vm");var O=X0.n(j);let Z=h0("url"),Q=/^[A-Za-z]:\//;function R(W=""){return W?W.replace(/\\/g,"/").replace(Q,(C)=>C.toUpperCase()):W}let N=/^[/\\]{2}/,U=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,M=/^[A-Za-z]:$/,G=function(W){if(W.length===0)return".";let C=(W=R(W)).match(N),y=F(W),h=W[W.length-1]==="/";return(W=V(W,!y)).length===0?y?"/":h?"./":".":(h&&(W+="/"),M.test(W)&&(W+="/"),C?y?`//${W}`:`//./${W}`:y&&!F(W)?`/${W}`:W)},z=function(...W){if(W.length===0)return".";let C;for(let y of W)y&&y.length>0&&(C===void 0?C=y:C+=`/${y}`);return C===void 0?".":G(C.replace(/\/\/+/g,"/"))};function V(W,C){let y="",h=0,QZ=-1,BZ=0,RZ=null;for(let IZ=0;IZ<=W.length;++IZ){if(IZ<W.length)RZ=W[IZ];else{if(RZ==="/")break;RZ="/"}if(RZ==="/"){if(QZ===IZ-1||BZ===1);else if(BZ===2){if(y.length<2||h!==2||y[y.length-1]!=="."||y[y.length-2]!=="."){if(y.length>2){let fZ=y.lastIndexOf("/");fZ===-1?(y="",h=0):(y=y.slice(0,fZ),h=y.length-1-y.lastIndexOf("/")),QZ=IZ,BZ=0;continue}if(y.length>0){y="",h=0,QZ=IZ,BZ=0;continue}}C&&(y+=y.length>0?"/..":"..",h=2)}else y.length>0?y+=`/${W.slice(QZ+1,IZ)}`:y=W.slice(QZ+1,IZ),h=IZ-QZ-1;QZ=IZ,BZ=0}else RZ==="."&&BZ!==-1?++BZ:BZ=-1}return y}let F=function(W){return U.test(W)},J=/.(\.[^./]+)$/,A=function(W){let C=J.exec(R(W));return C&&C[1]||""},T=function(W){let C=R(W).replace(/\/$/,"").split("/").slice(0,-1);return C.length===1&&M.test(C[0])&&(C[0]+="/"),C.join("/")||(F(W)?"/":".")},I=function(W,C){let y=R(W).split("/").pop();return C&&y.endsWith(C)?y.slice(0,-C.length):y},P=/"(?:_|\\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*:/,w=/"(?: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*:/,D=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function E(W,C){if(!(W==="__proto__"||W==="constructor"&&C&&typeof C=="object"&&("prototype"in C)))return C;(function(y){console.warn(`[destr] Dropping "${y}" key to prevent prototype pollution.`)})(W)}function v(W,C={}){if(typeof W!="string")return W;let y=W.trim();if(W[0]==='"'&&W.endsWith('"')&&!W.includes("\\"))return y.slice(1,-1);if(y.length<=9){let h=y.toLowerCase();if(h==="true")return!0;if(h==="false")return!1;if(h==="undefined")return;if(h==="null")return null;if(h==="nan")return Number.NaN;if(h==="infinity")return Number.POSITIVE_INFINITY;if(h==="-infinity")return Number.NEGATIVE_INFINITY}if(!D.test(W)){if(C.strict)throw SyntaxError("[destr] Invalid JSON");return W}try{if(P.test(W)||w.test(W)){if(C.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(W,E)}return JSON.parse(W)}catch(h){if(C.strict)throw h;return W}}function k(W){if(typeof W!="string")throw TypeError("Expected a string");return W.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _=X0("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),r=X0.n(_),t=X0("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js");let f=new Set(["/","\\",void 0]),q=Symbol.for("pathe:normalizedAlias");function g(W){if(W[q])return W;let C=Object.fromEntries(Object.entries(W).sort(([y],[h])=>function(QZ,BZ){return BZ.split("/").length-QZ.split("/").length}(y,h)));for(let y in C)for(let h in C)h===y||y.startsWith(h)||C[y].startsWith(h)&&f.has(C[y][h.length])&&(C[y]=C[h]+C[y].slice(h.length));return Object.defineProperty(C,q,{value:!0,enumerable:!1}),C}function u(W="/"){let C=W[W.length-1];return C==="/"||C==="\\"}var a=X0("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),d=X0("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),o=X0.n(d),m=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],b=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i={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"},s="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",HZ={5:s,"5module":s+" export import",6:s+" const class extends export import super"},GZ=/^in(stanceof)?$/,AZ=new RegExp("["+p+"]"),SZ=new RegExp("["+p+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function CZ(W,C){for(var y=65536,h=0;h<C.length;h+=2){if((y+=C[h])>W)return!1;if((y+=C[h+1])>=W)return!0}return!1}function XZ(W,C){return W<65?W===36:W<91||(W<97?W===95:W<123||(W<=65535?W>=170&&AZ.test(String.fromCharCode(W)):C!==!1&&CZ(W,b)))}function YZ(W,C){return W<48?W===36:W<58||!(W<65)&&(W<91||(W<97?W===95:W<123||(W<=65535?W>=170&&SZ.test(String.fromCharCode(W)):C!==!1&&(CZ(W,b)||CZ(W,m)))))}var OZ=function(W,C){C===void 0&&(C={}),this.label=W,this.keyword=C.keyword,this.beforeExpr=!!C.beforeExpr,this.startsExpr=!!C.startsExpr,this.isLoop=!!C.isLoop,this.isAssign=!!C.isAssign,this.prefix=!!C.prefix,this.postfix=!!C.postfix,this.binop=C.binop||null,this.updateContext=null};function UZ(W,C){return new OZ(W,{beforeExpr:!0,binop:C})}var VZ={beforeExpr:!0},jZ={startsExpr:!0},JZ={};function NZ(W,C){return C===void 0&&(C={}),C.keyword=W,JZ[W]=new OZ(W,C)}var c={num:new OZ("num",jZ),regexp:new OZ("regexp",jZ),string:new OZ("string",jZ),name:new OZ("name",jZ),privateId:new OZ("privateId",jZ),eof:new OZ("eof"),bracketL:new OZ("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new OZ("]"),braceL:new OZ("{",{beforeExpr:!0,startsExpr:!0}),braceR:new OZ("}"),parenL:new OZ("(",{beforeExpr:!0,startsExpr:!0}),parenR:new OZ(")"),comma:new OZ(",",VZ),semi:new OZ(";",VZ),colon:new OZ(":",VZ),dot:new OZ("."),question:new OZ("?",VZ),questionDot:new OZ("?."),arrow:new OZ("=>",VZ),template:new OZ("template"),invalidTemplate:new OZ("invalidTemplate"),ellipsis:new OZ("...",VZ),backQuote:new OZ("`",jZ),dollarBraceL:new OZ("${",{beforeExpr:!0,startsExpr:!0}),eq:new OZ("=",{beforeExpr:!0,isAssign:!0}),assign:new OZ("_=",{beforeExpr:!0,isAssign:!0}),incDec:new OZ("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new OZ("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:UZ("||",1),logicalAND:UZ("&&",2),bitwiseOR:UZ("|",3),bitwiseXOR:UZ("^",4),bitwiseAND:UZ("&",5),equality:UZ("==/!=/===/!==",6),relational:UZ("</>/<=/>=",7),bitShift:UZ("<</>>/>>>",8),plusMin:new OZ("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:UZ("%",10),star:UZ("*",10),slash:UZ("/",10),starstar:new OZ("**",{beforeExpr:!0}),coalesce:UZ("??",1),_break:NZ("break"),_case:NZ("case",VZ),_catch:NZ("catch"),_continue:NZ("continue"),_debugger:NZ("debugger"),_default:NZ("default",VZ),_do:NZ("do",{isLoop:!0,beforeExpr:!0}),_else:NZ("else",VZ),_finally:NZ("finally"),_for:NZ("for",{isLoop:!0}),_function:NZ("function",jZ),_if:NZ("if"),_return:NZ("return",VZ),_switch:NZ("switch"),_throw:NZ("throw",VZ),_try:NZ("try"),_var:NZ("var"),_const:NZ("const"),_while:NZ("while",{isLoop:!0}),_with:NZ("with"),_new:NZ("new",{beforeExpr:!0,startsExpr:!0}),_this:NZ("this",jZ),_super:NZ("super",jZ),_class:NZ("class",jZ),_extends:NZ("extends",VZ),_export:NZ("export"),_import:NZ("import",jZ),_null:NZ("null",jZ),_true:NZ("true",jZ),_false:NZ("false",jZ),_in:NZ("in",{beforeExpr:!0,binop:7}),_instanceof:NZ("instanceof",{beforeExpr:!0,binop:7}),_typeof:NZ("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:NZ("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:NZ("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},TZ=/\r\n?|\n|\u2028|\u2029/,nZ=new RegExp(TZ.source,"g");function sZ(W){return W===10||W===13||W===8232||W===8233}function Q0(W,C,y){y===void 0&&(y=W.length);for(var h=C;h<y;h++){var QZ=W.charCodeAt(h);if(sZ(QZ))return h<y-1&&QZ===13&&W.charCodeAt(h+1)===10?h+2:h+1}return-1}var dZ=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,$Z=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,PZ=Object.prototype,wZ=PZ.hasOwnProperty,DZ=PZ.toString,l=Object.hasOwn||function(W,C){return wZ.call(W,C)},ZZ=Array.isArray||function(W){return DZ.call(W)==="[object Array]"},LZ=Object.create(null);function qZ(W){return LZ[W]||(LZ[W]=new RegExp("^(?:"+W.replace(/ /g,"|")+")$"))}function kZ(W){return W<=65535?String.fromCharCode(W):(W-=65536,String.fromCharCode(55296+(W>>10),56320+(1023&W)))}var lZ=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,aZ=function(W,C){this.line=W,this.column=C};aZ.prototype.offset=function(W){return new aZ(this.line,this.column+W)};var W0=function(W,C,y){this.start=C,this.end=y,W.sourceFile!==null&&(this.source=W.sourceFile)};function KZ(W,C){for(var y=1,h=0;;){var QZ=Q0(W,h,C);if(QZ<0)return new aZ(y,C-h);++y,h=QZ}}var MZ={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},yZ=!1;function bZ(W){var C={};for(var y in MZ)C[y]=W&&l(W,y)?W[y]:MZ[y];if(C.ecmaVersion==="latest"?C.ecmaVersion=1e8:C.ecmaVersion==null?(!yZ&&typeof console=="object"&&console.warn&&(yZ=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
7
|
+
Defaulting to 2020, but this will stop working in the future.`)),C.ecmaVersion=11):C.ecmaVersion>=2015&&(C.ecmaVersion-=2009),C.allowReserved==null&&(C.allowReserved=C.ecmaVersion<5),W&&W.allowHashBang!=null||(C.allowHashBang=C.ecmaVersion>=14),ZZ(C.onToken)){var h=C.onToken;C.onToken=function(QZ){return h.push(QZ)}}return ZZ(C.onComment)&&(C.onComment=function(QZ,BZ){return function(RZ,IZ,fZ,rZ,vZ,V0){var $0={type:RZ?"Block":"Line",value:IZ,start:fZ,end:rZ};QZ.locations&&($0.loc=new W0(this,vZ,V0)),QZ.ranges&&($0.range=[fZ,rZ]),BZ.push($0)}}(C,C.onComment)),C}function pZ(W,C){return 2|(W?4:0)|(C?8:0)}var uZ=function(W,C,y){this.options=W=bZ(W),this.sourceFile=W.sourceFile,this.keywords=qZ(HZ[W.ecmaVersion>=6?6:W.sourceType==="module"?"5module":5]);var h="";W.allowReserved!==!0&&(h=i[W.ecmaVersion>=6?6:W.ecmaVersion===5?5:3],W.sourceType==="module"&&(h+=" await")),this.reservedWords=qZ(h);var QZ=(h?h+" ":"")+i.strict;this.reservedWordsStrict=qZ(QZ),this.reservedWordsStrictBind=qZ(QZ+" "+i.strictBind),this.input=String(C),this.containsEsc=!1,y?(this.pos=y,this.lineStart=this.input.lastIndexOf(`
|
|
8
|
+
`,y-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(TZ).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.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=W.sourceType==="module",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),this.pos===0&&W.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},mZ={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}};uZ.prototype.parse=function(){var W=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(W)},mZ.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},mZ.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},mZ.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},mZ.canAwait.get=function(){for(var W=this.scopeStack.length-1;W>=0;W--){var C=this.scopeStack[W];if(C.inClassFieldInit||256&C.flags)return!1;if(2&C.flags)return(4&C.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},mZ.allowSuper.get=function(){var W=this.currentThisScope(),C=W.flags,y=W.inClassFieldInit;return(64&C)>0||y||this.options.allowSuperOutsideMethod},mZ.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},mZ.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},mZ.allowNewDotTarget.get=function(){var W=this.currentThisScope(),C=W.flags,y=W.inClassFieldInit;return(258&C)>0||y},mZ.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},uZ.extend=function(){for(var W=[],C=arguments.length;C--;)W[C]=arguments[C];for(var y=this,h=0;h<W.length;h++)y=W[h](y);return y},uZ.parse=function(W,C){return new this(C,W).parse()},uZ.parseExpressionAt=function(W,C,y){var h=new this(y,W,C);return h.nextToken(),h.parseExpression()},uZ.tokenizer=function(W,C){return new this(C,W)},Object.defineProperties(uZ.prototype,mZ);var hZ=uZ.prototype,eZ=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;hZ.strictDirective=function(W){if(this.options.ecmaVersion<5)return!1;for(;;){$Z.lastIndex=W,W+=$Z.exec(this.input)[0].length;var C=eZ.exec(this.input.slice(W));if(!C)return!1;if((C[1]||C[2])==="use strict"){$Z.lastIndex=W+C[0].length;var y=$Z.exec(this.input),h=y.index+y[0].length,QZ=this.input.charAt(h);return QZ===";"||QZ==="}"||TZ.test(y[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(QZ)||QZ==="!"&&this.input.charAt(h+1)==="=")}W+=C[0].length,$Z.lastIndex=W,W+=$Z.exec(this.input)[0].length,this.input[W]===";"&&W++}},hZ.eat=function(W){return this.type===W&&(this.next(),!0)},hZ.isContextual=function(W){return this.type===c.name&&this.value===W&&!this.containsEsc},hZ.eatContextual=function(W){return!!this.isContextual(W)&&(this.next(),!0)},hZ.expectContextual=function(W){this.eatContextual(W)||this.unexpected()},hZ.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||TZ.test(this.input.slice(this.lastTokEnd,this.start))},hZ.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},hZ.semicolon=function(){this.eat(c.semi)||this.insertSemicolon()||this.unexpected()},hZ.afterTrailingComma=function(W,C){if(this.type===W)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),C||this.next(),!0},hZ.expect=function(W){this.eat(W)||this.unexpected()},hZ.unexpected=function(W){this.raise(W!=null?W:this.start,"Unexpected token")};var J0=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};hZ.checkPatternErrors=function(W,C){if(W){W.trailingComma>-1&&this.raiseRecoverable(W.trailingComma,"Comma is not permitted after the rest element");var y=C?W.parenthesizedAssign:W.parenthesizedBind;y>-1&&this.raiseRecoverable(y,C?"Assigning to rvalue":"Parenthesized pattern")}},hZ.checkExpressionErrors=function(W,C){if(!W)return!1;var{shorthandAssign:y,doubleProto:h}=W;if(!C)return y>=0||h>=0;y>=0&&this.raise(y,"Shorthand property assignments are valid only in destructuring patterns"),h>=0&&this.raiseRecoverable(h,"Redefinition of __proto__ property")},hZ.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")},hZ.isSimpleAssignTarget=function(W){return W.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(W.expression):W.type==="Identifier"||W.type==="MemberExpression"};var EZ=uZ.prototype;EZ.parseTopLevel=function(W){var C=Object.create(null);for(W.body||(W.body=[]);this.type!==c.eof;){var y=this.parseStatement(null,!0,C);W.body.push(y)}if(this.inModule)for(var h=0,QZ=Object.keys(this.undefinedExports);h<QZ.length;h+=1){var BZ=QZ[h];this.raiseRecoverable(this.undefinedExports[BZ].start,"Export '"+BZ+"' is not defined")}return this.adaptDirectivePrologue(W.body),this.next(),W.sourceType=this.options.sourceType,this.finishNode(W,"Program")};var Y0={kind:"loop"},H0={kind:"switch"};EZ.isLet=function(W){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;$Z.lastIndex=this.pos;var C=$Z.exec(this.input),y=this.pos+C[0].length,h=this.input.charCodeAt(y);if(h===91||h===92)return!0;if(W)return!1;if(h===123||h>55295&&h<56320)return!0;if(XZ(h,!0)){for(var QZ=y+1;YZ(h=this.input.charCodeAt(QZ),!0);)++QZ;if(h===92||h>55295&&h<56320)return!0;var BZ=this.input.slice(y,QZ);if(!GZ.test(BZ))return!0}return!1},EZ.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;$Z.lastIndex=this.pos;var W,C=$Z.exec(this.input),y=this.pos+C[0].length;return!(TZ.test(this.input.slice(this.pos,y))||this.input.slice(y,y+8)!=="function"||y+8!==this.input.length&&(YZ(W=this.input.charCodeAt(y+8))||W>55295&&W<56320))},EZ.parseStatement=function(W,C,y){var h,QZ=this.type,BZ=this.startNode();switch(this.isLet(W)&&(QZ=c._var,h="let"),QZ){case c._break:case c._continue:return this.parseBreakContinueStatement(BZ,QZ.keyword);case c._debugger:return this.parseDebuggerStatement(BZ);case c._do:return this.parseDoStatement(BZ);case c._for:return this.parseForStatement(BZ);case c._function:return W&&(this.strict||W!=="if"&&W!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(BZ,!1,!W);case c._class:return W&&this.unexpected(),this.parseClass(BZ,!0);case c._if:return this.parseIfStatement(BZ);case c._return:return this.parseReturnStatement(BZ);case c._switch:return this.parseSwitchStatement(BZ);case c._throw:return this.parseThrowStatement(BZ);case c._try:return this.parseTryStatement(BZ);case c._const:case c._var:return h=h||this.value,W&&h!=="var"&&this.unexpected(),this.parseVarStatement(BZ,h);case c._while:return this.parseWhileStatement(BZ);case c._with:return this.parseWithStatement(BZ);case c.braceL:return this.parseBlock(!0,BZ);case c.semi:return this.parseEmptyStatement(BZ);case c._export:case c._import:if(this.options.ecmaVersion>10&&QZ===c._import){$Z.lastIndex=this.pos;var RZ=$Z.exec(this.input),IZ=this.pos+RZ[0].length,fZ=this.input.charCodeAt(IZ);if(fZ===40||fZ===46)return this.parseExpressionStatement(BZ,this.parseExpression())}return this.options.allowImportExportEverywhere||(C||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'")),QZ===c._import?this.parseImport(BZ):this.parseExport(BZ,y);default:if(this.isAsyncFunction())return W&&this.unexpected(),this.next(),this.parseFunctionStatement(BZ,!0,!W);var rZ=this.value,vZ=this.parseExpression();return QZ===c.name&&vZ.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(BZ,rZ,vZ,W):this.parseExpressionStatement(BZ,vZ)}},EZ.parseBreakContinueStatement=function(W,C){var y=C==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?W.label=null:this.type!==c.name?this.unexpected():(W.label=this.parseIdent(),this.semicolon());for(var h=0;h<this.labels.length;++h){var QZ=this.labels[h];if(W.label==null||QZ.name===W.label.name){if(QZ.kind!=null&&(y||QZ.kind==="loop"))break;if(W.label&&y)break}}return h===this.labels.length&&this.raise(W.start,"Unsyntactic "+C),this.finishNode(W,y?"BreakStatement":"ContinueStatement")},EZ.parseDebuggerStatement=function(W){return this.next(),this.semicolon(),this.finishNode(W,"DebuggerStatement")},EZ.parseDoStatement=function(W){return this.next(),this.labels.push(Y0),W.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),W.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(W,"DoWhileStatement")},EZ.parseForStatement=function(W){this.next();var C=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Y0),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return C>-1&&this.unexpected(C),this.parseFor(W,null);var y=this.isLet();if(this.type===c._var||this.type===c._const||y){var h=this.startNode(),QZ=y?"let":this.value;return this.next(),this.parseVar(h,!0,QZ),this.finishNode(h,"VariableDeclaration"),(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&h.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?C>-1&&this.unexpected(C):W.await=C>-1),this.parseForIn(W,h)):(C>-1&&this.unexpected(C),this.parseFor(W,h))}var BZ=this.isContextual("let"),RZ=!1,IZ=this.containsEsc,fZ=new J0,rZ=this.start,vZ=C>-1?this.parseExprSubscripts(fZ,"await"):this.parseExpression(!0,fZ);return this.type===c._in||(RZ=this.options.ecmaVersion>=6&&this.isContextual("of"))?(C>-1?(this.type===c._in&&this.unexpected(C),W.await=!0):RZ&&this.options.ecmaVersion>=8&&(vZ.start!==rZ||IZ||vZ.type!=="Identifier"||vZ.name!=="async"?this.options.ecmaVersion>=9&&(W.await=!1):this.unexpected()),BZ&&RZ&&this.raise(vZ.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(vZ,!1,fZ),this.checkLValPattern(vZ),this.parseForIn(W,vZ)):(this.checkExpressionErrors(fZ,!0),C>-1&&this.unexpected(C),this.parseFor(W,vZ))},EZ.parseFunctionStatement=function(W,C,y){return this.next(),this.parseFunction(W,v0|(y?0:m0),!1,C)},EZ.parseIfStatement=function(W){return this.next(),W.test=this.parseParenExpression(),W.consequent=this.parseStatement("if"),W.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(W,"IfStatement")},EZ.parseReturnStatement=function(W){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?W.argument=null:(W.argument=this.parseExpression(),this.semicolon()),this.finishNode(W,"ReturnStatement")},EZ.parseSwitchStatement=function(W){var C;this.next(),W.discriminant=this.parseParenExpression(),W.cases=[],this.expect(c.braceL),this.labels.push(H0),this.enterScope(0);for(var y=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var h=this.type===c._case;C&&this.finishNode(C,"SwitchCase"),W.cases.push(C=this.startNode()),C.consequent=[],this.next(),h?C.test=this.parseExpression():(y&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),y=!0,C.test=null),this.expect(c.colon)}else C||this.unexpected(),C.consequent.push(this.parseStatement(null));return this.exitScope(),C&&this.finishNode(C,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(W,"SwitchStatement")},EZ.parseThrowStatement=function(W){return this.next(),TZ.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),W.argument=this.parseExpression(),this.semicolon(),this.finishNode(W,"ThrowStatement")};var M0=[];EZ.parseCatchClauseParam=function(){var W=this.parseBindingAtom(),C=W.type==="Identifier";return this.enterScope(C?32:0),this.checkLValPattern(W,C?4:2),this.expect(c.parenR),W},EZ.parseTryStatement=function(W){if(this.next(),W.block=this.parseBlock(),W.handler=null,this.type===c._catch){var C=this.startNode();this.next(),this.eat(c.parenL)?C.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),C.param=null,this.enterScope(0)),C.body=this.parseBlock(!1),this.exitScope(),W.handler=this.finishNode(C,"CatchClause")}return W.finalizer=this.eat(c._finally)?this.parseBlock():null,W.handler||W.finalizer||this.raise(W.start,"Missing catch or finally clause"),this.finishNode(W,"TryStatement")},EZ.parseVarStatement=function(W,C,y){return this.next(),this.parseVar(W,!1,C,y),this.semicolon(),this.finishNode(W,"VariableDeclaration")},EZ.parseWhileStatement=function(W){return this.next(),W.test=this.parseParenExpression(),this.labels.push(Y0),W.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(W,"WhileStatement")},EZ.parseWithStatement=function(W){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),W.object=this.parseParenExpression(),W.body=this.parseStatement("with"),this.finishNode(W,"WithStatement")},EZ.parseEmptyStatement=function(W){return this.next(),this.finishNode(W,"EmptyStatement")},EZ.parseLabeledStatement=function(W,C,y,h){for(var QZ=0,BZ=this.labels;QZ<BZ.length;QZ+=1)BZ[QZ].name===C&&this.raise(y.start,"Label '"+C+"' is already declared");for(var RZ=this.type.isLoop?"loop":this.type===c._switch?"switch":null,IZ=this.labels.length-1;IZ>=0;IZ--){var fZ=this.labels[IZ];if(fZ.statementStart!==W.start)break;fZ.statementStart=this.start,fZ.kind=RZ}return this.labels.push({name:C,kind:RZ,statementStart:this.start}),W.body=this.parseStatement(h?h.indexOf("label")===-1?h+"label":h:"label"),this.labels.pop(),W.label=y,this.finishNode(W,"LabeledStatement")},EZ.parseExpressionStatement=function(W,C){return W.expression=C,this.semicolon(),this.finishNode(W,"ExpressionStatement")},EZ.parseBlock=function(W,C,y){for(W===void 0&&(W=!0),C===void 0&&(C=this.startNode()),C.body=[],this.expect(c.braceL),W&&this.enterScope(0);this.type!==c.braceR;){var h=this.parseStatement(null);C.body.push(h)}return y&&(this.strict=!1),this.next(),W&&this.exitScope(),this.finishNode(C,"BlockStatement")},EZ.parseFor=function(W,C){return W.init=C,this.expect(c.semi),W.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),W.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),W.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(W,"ForStatement")},EZ.parseForIn=function(W,C){var y=this.type===c._in;return this.next(),C.type==="VariableDeclaration"&&C.declarations[0].init!=null&&(!y||this.options.ecmaVersion<8||this.strict||C.kind!=="var"||C.declarations[0].id.type!=="Identifier")&&this.raise(C.start,(y?"for-in":"for-of")+" loop variable declaration may not have an initializer"),W.left=C,W.right=y?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),W.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(W,y?"ForInStatement":"ForOfStatement")},EZ.parseVar=function(W,C,y,h){for(W.declarations=[],W.kind=y;;){var QZ=this.startNode();if(this.parseVarId(QZ,y),this.eat(c.eq)?QZ.init=this.parseMaybeAssign(C):h||y!=="const"||this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of")?h||QZ.id.type==="Identifier"||C&&(this.type===c._in||this.isContextual("of"))?QZ.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),W.declarations.push(this.finishNode(QZ,"VariableDeclarator")),!this.eat(c.comma))break}return W},EZ.parseVarId=function(W,C){W.id=this.parseBindingAtom(),this.checkLValPattern(W.id,C==="var"?1:2,!1)};var v0=1,m0=2;function X5(W,C){var y=C.key.name,h=W[y],QZ="true";return C.type!=="MethodDefinition"||C.kind!=="get"&&C.kind!=="set"||(QZ=(C.static?"s":"i")+C.kind),h==="iget"&&QZ==="iset"||h==="iset"&&QZ==="iget"||h==="sget"&&QZ==="sset"||h==="sset"&&QZ==="sget"?(W[y]="true",!1):!!h||(W[y]=QZ,!1)}function d0(W,C){var{computed:y,key:h}=W;return!y&&(h.type==="Identifier"&&h.name===C||h.type==="Literal"&&h.value===C)}EZ.parseFunction=function(W,C,y,h,QZ){this.initFunction(W),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!h)&&(this.type===c.star&&C&m0&&this.unexpected(),W.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(W.async=!!h),C&v0&&(W.id=4&C&&this.type!==c.name?null:this.parseIdent(),!W.id||C&m0||this.checkLValSimple(W.id,this.strict||W.generator||W.async?this.treatFunctionsAsVar?1:2:3));var BZ=this.yieldPos,RZ=this.awaitPos,IZ=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(pZ(W.async,W.generator)),C&v0||(W.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(W),this.parseFunctionBody(W,y,!1,QZ),this.yieldPos=BZ,this.awaitPos=RZ,this.awaitIdentPos=IZ,this.finishNode(W,C&v0?"FunctionDeclaration":"FunctionExpression")},EZ.parseFunctionParams=function(W){this.expect(c.parenL),W.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},EZ.parseClass=function(W,C){this.next();var y=this.strict;this.strict=!0,this.parseClassId(W,C),this.parseClassSuper(W);var h=this.enterClassBody(),QZ=this.startNode(),BZ=!1;for(QZ.body=[],this.expect(c.braceL);this.type!==c.braceR;){var RZ=this.parseClassElement(W.superClass!==null);RZ&&(QZ.body.push(RZ),RZ.type==="MethodDefinition"&&RZ.kind==="constructor"?(BZ&&this.raiseRecoverable(RZ.start,"Duplicate constructor in the same class"),BZ=!0):RZ.key&&RZ.key.type==="PrivateIdentifier"&&X5(h,RZ)&&this.raiseRecoverable(RZ.key.start,"Identifier '#"+RZ.key.name+"' has already been declared"))}return this.strict=y,this.next(),W.body=this.finishNode(QZ,"ClassBody"),this.exitClassBody(),this.finishNode(W,C?"ClassDeclaration":"ClassExpression")},EZ.parseClassElement=function(W){if(this.eat(c.semi))return null;var C=this.options.ecmaVersion,y=this.startNode(),h="",QZ=!1,BZ=!1,RZ="method",IZ=!1;if(this.eatContextual("static")){if(C>=13&&this.eat(c.braceL))return this.parseClassStaticBlock(y),y;this.isClassElementNameStart()||this.type===c.star?IZ=!0:h="static"}if(y.static=IZ,!h&&C>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==c.star||this.canInsertSemicolon()?h="async":BZ=!0),!h&&(C>=9||!BZ)&&this.eat(c.star)&&(QZ=!0),!h&&!BZ&&!QZ){var fZ=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?RZ=fZ:h=fZ)}if(h?(y.computed=!1,y.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),y.key.name=h,this.finishNode(y.key,"Identifier")):this.parseClassElementName(y),C<13||this.type===c.parenL||RZ!=="method"||QZ||BZ){var rZ=!y.static&&d0(y,"constructor"),vZ=rZ&&W;rZ&&RZ!=="method"&&this.raise(y.key.start,"Constructor can't have get/set modifier"),y.kind=rZ?"constructor":RZ,this.parseClassMethod(y,QZ,BZ,vZ)}else this.parseClassField(y);return y},EZ.isClassElementNameStart=function(){return this.type===c.name||this.type===c.privateId||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword},EZ.parseClassElementName=function(W){this.type===c.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),W.computed=!1,W.key=this.parsePrivateIdent()):this.parsePropertyName(W)},EZ.parseClassMethod=function(W,C,y,h){var QZ=W.key;W.kind==="constructor"?(C&&this.raise(QZ.start,"Constructor can't be a generator"),y&&this.raise(QZ.start,"Constructor can't be an async method")):W.static&&d0(W,"prototype")&&this.raise(QZ.start,"Classes may not have a static property named prototype");var BZ=W.value=this.parseMethod(C,y,h);return W.kind==="get"&&BZ.params.length!==0&&this.raiseRecoverable(BZ.start,"getter should have no params"),W.kind==="set"&&BZ.params.length!==1&&this.raiseRecoverable(BZ.start,"setter should have exactly one param"),W.kind==="set"&&BZ.params[0].type==="RestElement"&&this.raiseRecoverable(BZ.params[0].start,"Setter cannot use rest params"),this.finishNode(W,"MethodDefinition")},EZ.parseClassField=function(W){if(d0(W,"constructor")?this.raise(W.key.start,"Classes can't have a field named 'constructor'"):W.static&&d0(W,"prototype")&&this.raise(W.key.start,"Classes can't have a static field named 'prototype'"),this.eat(c.eq)){var C=this.currentThisScope(),y=C.inClassFieldInit;C.inClassFieldInit=!0,W.value=this.parseMaybeAssign(),C.inClassFieldInit=y}else W.value=null;return this.semicolon(),this.finishNode(W,"PropertyDefinition")},EZ.parseClassStaticBlock=function(W){W.body=[];var C=this.labels;for(this.labels=[],this.enterScope(320);this.type!==c.braceR;){var y=this.parseStatement(null);W.body.push(y)}return this.next(),this.exitScope(),this.labels=C,this.finishNode(W,"StaticBlock")},EZ.parseClassId=function(W,C){this.type===c.name?(W.id=this.parseIdent(),C&&this.checkLValSimple(W.id,2,!1)):(C===!0&&this.unexpected(),W.id=null)},EZ.parseClassSuper=function(W){W.superClass=this.eat(c._extends)?this.parseExprSubscripts(null,!1):null},EZ.enterClassBody=function(){var W={declared:Object.create(null),used:[]};return this.privateNameStack.push(W),W.declared},EZ.exitClassBody=function(){var W=this.privateNameStack.pop(),C=W.declared,y=W.used;if(this.options.checkPrivateFields)for(var h=this.privateNameStack.length,QZ=h===0?null:this.privateNameStack[h-1],BZ=0;BZ<y.length;++BZ){var RZ=y[BZ];l(C,RZ.name)||(QZ?QZ.used.push(RZ):this.raiseRecoverable(RZ.start,"Private field '#"+RZ.name+"' must be declared in an enclosing class"))}},EZ.parseExportAllDeclaration=function(W,C){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(W.exported=this.parseModuleExportName(),this.checkExport(C,W.exported,this.lastTokStart)):W.exported=null),this.expectContextual("from"),this.type!==c.string&&this.unexpected(),W.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(W,"ExportAllDeclaration")},EZ.parseExport=function(W,C){if(this.next(),this.eat(c.star))return this.parseExportAllDeclaration(W,C);if(this.eat(c._default))return this.checkExport(C,"default",this.lastTokStart),W.declaration=this.parseExportDefaultDeclaration(),this.finishNode(W,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())W.declaration=this.parseExportDeclaration(W),W.declaration.type==="VariableDeclaration"?this.checkVariableExport(C,W.declaration.declarations):this.checkExport(C,W.declaration.id,W.declaration.id.start),W.specifiers=[],W.source=null;else{if(W.declaration=null,W.specifiers=this.parseExportSpecifiers(C),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),W.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause());else{for(var y=0,h=W.specifiers;y<h.length;y+=1){var QZ=h[y];this.checkUnreserved(QZ.local),this.checkLocalExport(QZ.local),QZ.local.type==="Literal"&&this.raise(QZ.local.start,"A string literal cannot be used as an exported binding without `from`.")}W.source=null}this.semicolon()}return this.finishNode(W,"ExportNamedDeclaration")},EZ.parseExportDeclaration=function(W){return this.parseStatement(null)},EZ.parseExportDefaultDeclaration=function(){var W;if(this.type===c._function||(W=this.isAsyncFunction())){var C=this.startNode();return this.next(),W&&this.next(),this.parseFunction(C,4|v0,!1,W)}if(this.type===c._class){var y=this.startNode();return this.parseClass(y,"nullableID")}var h=this.parseMaybeAssign();return this.semicolon(),h},EZ.checkExport=function(W,C,y){W&&(typeof C!="string"&&(C=C.type==="Identifier"?C.name:C.value),l(W,C)&&this.raiseRecoverable(y,"Duplicate export '"+C+"'"),W[C]=!0)},EZ.checkPatternExport=function(W,C){var y=C.type;if(y==="Identifier")this.checkExport(W,C,C.start);else if(y==="ObjectPattern")for(var h=0,QZ=C.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.checkPatternExport(W,BZ)}else if(y==="ArrayPattern")for(var RZ=0,IZ=C.elements;RZ<IZ.length;RZ+=1){var fZ=IZ[RZ];fZ&&this.checkPatternExport(W,fZ)}else y==="Property"?this.checkPatternExport(W,C.value):y==="AssignmentPattern"?this.checkPatternExport(W,C.left):y==="RestElement"&&this.checkPatternExport(W,C.argument)},EZ.checkVariableExport=function(W,C){if(W)for(var y=0,h=C;y<h.length;y+=1){var QZ=h[y];this.checkPatternExport(W,QZ.id)}},EZ.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},EZ.parseExportSpecifier=function(W){var C=this.startNode();return C.local=this.parseModuleExportName(),C.exported=this.eatContextual("as")?this.parseModuleExportName():C.local,this.checkExport(W,C.exported,C.exported.start),this.finishNode(C,"ExportSpecifier")},EZ.parseExportSpecifiers=function(W){var C=[],y=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(y)y=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;C.push(this.parseExportSpecifier(W))}return C},EZ.parseImport=function(W){return this.next(),this.type===c.string?(W.specifiers=M0,W.source=this.parseExprAtom()):(W.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),W.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(W.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(W,"ImportDeclaration")},EZ.parseImportSpecifier=function(){var W=this.startNode();return W.imported=this.parseModuleExportName(),this.eatContextual("as")?W.local=this.parseIdent():(this.checkUnreserved(W.imported),W.local=W.imported),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportSpecifier")},EZ.parseImportDefaultSpecifier=function(){var W=this.startNode();return W.local=this.parseIdent(),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportDefaultSpecifier")},EZ.parseImportNamespaceSpecifier=function(){var W=this.startNode();return this.next(),this.expectContextual("as"),W.local=this.parseIdent(),this.checkLValSimple(W.local,2),this.finishNode(W,"ImportNamespaceSpecifier")},EZ.parseImportSpecifiers=function(){var W=[],C=!0;if(this.type===c.name&&(W.push(this.parseImportDefaultSpecifier()),!this.eat(c.comma)))return W;if(this.type===c.star)return W.push(this.parseImportNamespaceSpecifier()),W;for(this.expect(c.braceL);!this.eat(c.braceR);){if(C)C=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;W.push(this.parseImportSpecifier())}return W},EZ.parseWithClause=function(){var W=[];if(!this.eat(c._with))return W;this.expect(c.braceL);for(var C={},y=!0;!this.eat(c.braceR);){if(y)y=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var h=this.parseImportAttribute(),QZ=h.key.type==="Identifier"?h.key.name:h.key.value;l(C,QZ)&&this.raiseRecoverable(h.key.start,"Duplicate attribute key '"+QZ+"'"),C[QZ]=!0,W.push(h)}return W},EZ.parseImportAttribute=function(){var W=this.startNode();return W.key=this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(c.colon),this.type!==c.string&&this.unexpected(),W.value=this.parseExprAtom(),this.finishNode(W,"ImportAttribute")},EZ.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===c.string){var W=this.parseLiteral(this.value);return lZ.test(W.value)&&this.raise(W.start,"An export name cannot include a lone surrogate."),W}return this.parseIdent(!0)},EZ.adaptDirectivePrologue=function(W){for(var C=0;C<W.length&&this.isDirectiveCandidate(W[C]);++C)W[C].directive=W[C].expression.raw.slice(1,-1)},EZ.isDirectiveCandidate=function(W){return this.options.ecmaVersion>=5&&W.type==="ExpressionStatement"&&W.expression.type==="Literal"&&typeof W.expression.value=="string"&&(this.input[W.start]==='"'||this.input[W.start]==="'")};var u0=uZ.prototype;u0.toAssignable=function(W,C,y){if(this.options.ecmaVersion>=6&&W)switch(W.type){case"Identifier":this.inAsync&&W.name==="await"&&this.raise(W.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":W.type="ObjectPattern",y&&this.checkPatternErrors(y,!0);for(var h=0,QZ=W.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.toAssignable(BZ,C),BZ.type!=="RestElement"||BZ.argument.type!=="ArrayPattern"&&BZ.argument.type!=="ObjectPattern"||this.raise(BZ.argument.start,"Unexpected token")}break;case"Property":W.kind!=="init"&&this.raise(W.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(W.value,C);break;case"ArrayExpression":W.type="ArrayPattern",y&&this.checkPatternErrors(y,!0),this.toAssignableList(W.elements,C);break;case"SpreadElement":W.type="RestElement",this.toAssignable(W.argument,C),W.argument.type==="AssignmentPattern"&&this.raise(W.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":W.operator!=="="&&this.raise(W.left.end,"Only '=' operator can be used for specifying default value."),W.type="AssignmentPattern",delete W.operator,this.toAssignable(W.left,C);break;case"ParenthesizedExpression":this.toAssignable(W.expression,C,y);break;case"ChainExpression":this.raiseRecoverable(W.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!C)break;default:this.raise(W.start,"Assigning to rvalue")}else y&&this.checkPatternErrors(y,!0);return W},u0.toAssignableList=function(W,C){for(var y=W.length,h=0;h<y;h++){var QZ=W[h];QZ&&this.toAssignable(QZ,C)}if(y){var BZ=W[y-1];this.options.ecmaVersion===6&&C&&BZ&&BZ.type==="RestElement"&&BZ.argument.type!=="Identifier"&&this.unexpected(BZ.argument.start)}return W},u0.parseSpread=function(W){var C=this.startNode();return this.next(),C.argument=this.parseMaybeAssign(!1,W),this.finishNode(C,"SpreadElement")},u0.parseRestBinding=function(){var W=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),W.argument=this.parseBindingAtom(),this.finishNode(W,"RestElement")},u0.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var W=this.startNode();return this.next(),W.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(W,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()},u0.parseBindingList=function(W,C,y,h){for(var QZ=[],BZ=!0;!this.eat(W);)if(BZ?BZ=!1:this.expect(c.comma),C&&this.type===c.comma)QZ.push(null);else{if(y&&this.afterTrailingComma(W))break;if(this.type===c.ellipsis){var RZ=this.parseRestBinding();this.parseBindingListItem(RZ),QZ.push(RZ),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(W);break}QZ.push(this.parseAssignableListItem(h))}return QZ},u0.parseAssignableListItem=function(W){var C=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(C),C},u0.parseBindingListItem=function(W){return W},u0.parseMaybeDefault=function(W,C,y){if(y=y||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return y;var h=this.startNodeAt(W,C);return h.left=y,h.right=this.parseMaybeAssign(),this.finishNode(h,"AssignmentPattern")},u0.checkLValSimple=function(W,C,y){C===void 0&&(C=0);var h=C!==0;switch(W.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(W.name)&&this.raiseRecoverable(W.start,(h?"Binding ":"Assigning to ")+W.name+" in strict mode"),h&&(C===2&&W.name==="let"&&this.raiseRecoverable(W.start,"let is disallowed as a lexically bound name"),y&&(l(y,W.name)&&this.raiseRecoverable(W.start,"Argument name clash"),y[W.name]=!0),C!==5&&this.declareName(W.name,C,W.start));break;case"ChainExpression":this.raiseRecoverable(W.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":h&&this.raiseRecoverable(W.start,"Binding member expression");break;case"ParenthesizedExpression":return h&&this.raiseRecoverable(W.start,"Binding parenthesized expression"),this.checkLValSimple(W.expression,C,y);default:this.raise(W.start,(h?"Binding":"Assigning to")+" rvalue")}},u0.checkLValPattern=function(W,C,y){switch(C===void 0&&(C=0),W.type){case"ObjectPattern":for(var h=0,QZ=W.properties;h<QZ.length;h+=1){var BZ=QZ[h];this.checkLValInnerPattern(BZ,C,y)}break;case"ArrayPattern":for(var RZ=0,IZ=W.elements;RZ<IZ.length;RZ+=1){var fZ=IZ[RZ];fZ&&this.checkLValInnerPattern(fZ,C,y)}break;default:this.checkLValSimple(W,C,y)}},u0.checkLValInnerPattern=function(W,C,y){switch(C===void 0&&(C=0),W.type){case"Property":this.checkLValInnerPattern(W.value,C,y);break;case"AssignmentPattern":this.checkLValPattern(W.left,C,y);break;case"RestElement":this.checkLValPattern(W.argument,C,y);break;default:this.checkLValPattern(W,C,y)}};var i0=function(W,C,y,h,QZ){this.token=W,this.isExpr=!!C,this.preserveSpace=!!y,this.override=h,this.generator=!!QZ},I0={b_stat:new i0("{",!1),b_expr:new i0("{",!0),b_tmpl:new i0("${",!1),p_stat:new i0("(",!1),p_expr:new i0("(",!0),q_tmpl:new i0("`",!0,!0,function(W){return W.tryReadTemplateToken()}),f_stat:new i0("function",!1),f_expr:new i0("function",!0),f_expr_gen:new i0("function",!0,!1,null,!0),f_gen:new i0("function",!1,!1,null,!0)},p0=uZ.prototype;p0.initialContext=function(){return[I0.b_stat]},p0.curContext=function(){return this.context[this.context.length-1]},p0.braceIsBlock=function(W){var C=this.curContext();return C===I0.f_expr||C===I0.f_stat||(W!==c.colon||C!==I0.b_stat&&C!==I0.b_expr?W===c._return||W===c.name&&this.exprAllowed?TZ.test(this.input.slice(this.lastTokEnd,this.start)):W===c._else||W===c.semi||W===c.eof||W===c.parenR||W===c.arrow||(W===c.braceL?C===I0.b_stat:W!==c._var&&W!==c._const&&W!==c.name&&!this.exprAllowed):!C.isExpr)},p0.inGeneratorContext=function(){for(var W=this.context.length-1;W>=1;W--){var C=this.context[W];if(C.token==="function")return C.generator}return!1},p0.updateContext=function(W){var C,y=this.type;y.keyword&&W===c.dot?this.exprAllowed=!1:(C=y.updateContext)?C.call(this,W):this.exprAllowed=y.beforeExpr},p0.overrideContext=function(W){this.curContext()!==W&&(this.context[this.context.length-1]=W)},c.parenR.updateContext=c.braceR.updateContext=function(){if(this.context.length!==1){var W=this.context.pop();W===I0.b_stat&&this.curContext().token==="function"&&(W=this.context.pop()),this.exprAllowed=!W.isExpr}else this.exprAllowed=!0},c.braceL.updateContext=function(W){this.context.push(this.braceIsBlock(W)?I0.b_stat:I0.b_expr),this.exprAllowed=!0},c.dollarBraceL.updateContext=function(){this.context.push(I0.b_tmpl),this.exprAllowed=!0},c.parenL.updateContext=function(W){var C=W===c._if||W===c._for||W===c._with||W===c._while;this.context.push(C?I0.p_stat:I0.p_expr),this.exprAllowed=!0},c.incDec.updateContext=function(){},c._function.updateContext=c._class.updateContext=function(W){!W.beforeExpr||W===c._else||W===c.semi&&this.curContext()!==I0.p_stat||W===c._return&&TZ.test(this.input.slice(this.lastTokEnd,this.start))||(W===c.colon||W===c.braceL)&&this.curContext()===I0.b_stat?this.context.push(I0.f_stat):this.context.push(I0.f_expr),this.exprAllowed=!1},c.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},c.backQuote.updateContext=function(){this.curContext()===I0.q_tmpl?this.context.pop():this.context.push(I0.q_tmpl),this.exprAllowed=!1},c.star.updateContext=function(W){if(W===c._function){var C=this.context.length-1;this.context[C]===I0.f_expr?this.context[C]=I0.f_expr_gen:this.context[C]=I0.f_gen}this.exprAllowed=!0},c.name.updateContext=function(W){var C=!1;this.options.ecmaVersion>=6&&W!==c.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(C=!0),this.exprAllowed=C};var N0=uZ.prototype;function P5(W){return W.type==="Identifier"||W.type==="ParenthesizedExpression"&&P5(W.expression)}function C5(W){return W.type==="MemberExpression"&&W.property.type==="PrivateIdentifier"||W.type==="ChainExpression"&&C5(W.expression)||W.type==="ParenthesizedExpression"&&C5(W.expression)}N0.checkPropClash=function(W,C,y){if(!(this.options.ecmaVersion>=9&&W.type==="SpreadElement"||this.options.ecmaVersion>=6&&(W.computed||W.method||W.shorthand))){var h,QZ=W.key;switch(QZ.type){case"Identifier":h=QZ.name;break;case"Literal":h=String(QZ.value);break;default:return}var BZ=W.kind;if(this.options.ecmaVersion>=6)h==="__proto__"&&BZ==="init"&&(C.proto&&(y?y.doubleProto<0&&(y.doubleProto=QZ.start):this.raiseRecoverable(QZ.start,"Redefinition of __proto__ property")),C.proto=!0);else{var RZ=C[h="$"+h];if(RZ)(BZ==="init"?this.strict&&RZ.init||RZ.get||RZ.set:RZ.init||RZ[BZ])&&this.raiseRecoverable(QZ.start,"Redefinition of property");else RZ=C[h]={init:!1,get:!1,set:!1};RZ[BZ]=!0}}},N0.parseExpression=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseMaybeAssign(W,C);if(this.type===c.comma){var BZ=this.startNodeAt(y,h);for(BZ.expressions=[QZ];this.eat(c.comma);)BZ.expressions.push(this.parseMaybeAssign(W,C));return this.finishNode(BZ,"SequenceExpression")}return QZ},N0.parseMaybeAssign=function(W,C,y){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(W);this.exprAllowed=!1}var h=!1,QZ=-1,BZ=-1,RZ=-1;C?(QZ=C.parenthesizedAssign,BZ=C.trailingComma,RZ=C.doubleProto,C.parenthesizedAssign=C.trailingComma=-1):(C=new J0,h=!0);var IZ=this.start,fZ=this.startLoc;this.type!==c.parenL&&this.type!==c.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=W==="await");var rZ=this.parseMaybeConditional(W,C);if(y&&(rZ=y.call(this,rZ,IZ,fZ)),this.type.isAssign){var vZ=this.startNodeAt(IZ,fZ);return vZ.operator=this.value,this.type===c.eq&&(rZ=this.toAssignable(rZ,!1,C)),h||(C.parenthesizedAssign=C.trailingComma=C.doubleProto=-1),C.shorthandAssign>=rZ.start&&(C.shorthandAssign=-1),this.type===c.eq?this.checkLValPattern(rZ):this.checkLValSimple(rZ),vZ.left=rZ,this.next(),vZ.right=this.parseMaybeAssign(W),RZ>-1&&(C.doubleProto=RZ),this.finishNode(vZ,"AssignmentExpression")}return h&&this.checkExpressionErrors(C,!0),QZ>-1&&(C.parenthesizedAssign=QZ),BZ>-1&&(C.trailingComma=BZ),rZ},N0.parseMaybeConditional=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseExprOps(W,C);if(this.checkExpressionErrors(C))return QZ;if(this.eat(c.question)){var BZ=this.startNodeAt(y,h);return BZ.test=QZ,BZ.consequent=this.parseMaybeAssign(),this.expect(c.colon),BZ.alternate=this.parseMaybeAssign(W),this.finishNode(BZ,"ConditionalExpression")}return QZ},N0.parseExprOps=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseMaybeUnary(C,!1,!1,W);return this.checkExpressionErrors(C)||QZ.start===y&&QZ.type==="ArrowFunctionExpression"?QZ:this.parseExprOp(QZ,y,h,-1,W)},N0.parseExprOp=function(W,C,y,h,QZ){var BZ=this.type.binop;if(BZ!=null&&(!QZ||this.type!==c._in)&&BZ>h){var RZ=this.type===c.logicalOR||this.type===c.logicalAND,IZ=this.type===c.coalesce;IZ&&(BZ=c.logicalAND.binop);var fZ=this.value;this.next();var rZ=this.start,vZ=this.startLoc,V0=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,QZ),rZ,vZ,BZ,QZ),$0=this.buildBinary(C,y,W,V0,fZ,RZ||IZ);return(RZ&&this.type===c.coalesce||IZ&&(this.type===c.logicalOR||this.type===c.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp($0,C,y,h,QZ)}return W},N0.buildBinary=function(W,C,y,h,QZ,BZ){h.type==="PrivateIdentifier"&&this.raise(h.start,"Private identifier can only be left side of binary expression");var RZ=this.startNodeAt(W,C);return RZ.left=y,RZ.operator=QZ,RZ.right=h,this.finishNode(RZ,BZ?"LogicalExpression":"BinaryExpression")},N0.parseMaybeUnary=function(W,C,y,h){var QZ,BZ=this.start,RZ=this.startLoc;if(this.isContextual("await")&&this.canAwait)QZ=this.parseAwait(h),C=!0;else if(this.type.prefix){var IZ=this.startNode(),fZ=this.type===c.incDec;IZ.operator=this.value,IZ.prefix=!0,this.next(),IZ.argument=this.parseMaybeUnary(null,!0,fZ,h),this.checkExpressionErrors(W,!0),fZ?this.checkLValSimple(IZ.argument):this.strict&&IZ.operator==="delete"&&P5(IZ.argument)?this.raiseRecoverable(IZ.start,"Deleting local variable in strict mode"):IZ.operator==="delete"&&C5(IZ.argument)?this.raiseRecoverable(IZ.start,"Private fields can not be deleted"):C=!0,QZ=this.finishNode(IZ,fZ?"UpdateExpression":"UnaryExpression")}else if(C||this.type!==c.privateId){if(QZ=this.parseExprSubscripts(W,h),this.checkExpressionErrors(W))return QZ;for(;this.type.postfix&&!this.canInsertSemicolon();){var rZ=this.startNodeAt(BZ,RZ);rZ.operator=this.value,rZ.prefix=!1,rZ.argument=QZ,this.checkLValSimple(QZ),this.next(),QZ=this.finishNode(rZ,"UpdateExpression")}}else(h||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),QZ=this.parsePrivateIdent(),this.type!==c._in&&this.unexpected();return y||!this.eat(c.starstar)?QZ:C?void this.unexpected(this.lastTokStart):this.buildBinary(BZ,RZ,QZ,this.parseMaybeUnary(null,!1,!1,h),"**",!1)},N0.parseExprSubscripts=function(W,C){var y=this.start,h=this.startLoc,QZ=this.parseExprAtom(W,C);if(QZ.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return QZ;var BZ=this.parseSubscripts(QZ,y,h,!1,C);return W&&BZ.type==="MemberExpression"&&(W.parenthesizedAssign>=BZ.start&&(W.parenthesizedAssign=-1),W.parenthesizedBind>=BZ.start&&(W.parenthesizedBind=-1),W.trailingComma>=BZ.start&&(W.trailingComma=-1)),BZ},N0.parseSubscripts=function(W,C,y,h,QZ){for(var BZ=this.options.ecmaVersion>=8&&W.type==="Identifier"&&W.name==="async"&&this.lastTokEnd===W.end&&!this.canInsertSemicolon()&&W.end-W.start==5&&this.potentialArrowAt===W.start,RZ=!1;;){var IZ=this.parseSubscript(W,C,y,h,BZ,RZ,QZ);if(IZ.optional&&(RZ=!0),IZ===W||IZ.type==="ArrowFunctionExpression"){if(RZ){var fZ=this.startNodeAt(C,y);fZ.expression=IZ,IZ=this.finishNode(fZ,"ChainExpression")}return IZ}W=IZ}},N0.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(c.arrow)},N0.parseSubscriptAsyncArrow=function(W,C,y,h){return this.parseArrowExpression(this.startNodeAt(W,C),y,!0,h)},N0.parseSubscript=function(W,C,y,h,QZ,BZ,RZ){var IZ=this.options.ecmaVersion>=11,fZ=IZ&&this.eat(c.questionDot);h&&fZ&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var rZ=this.eat(c.bracketL);if(rZ||fZ&&this.type!==c.parenL&&this.type!==c.backQuote||this.eat(c.dot)){var vZ=this.startNodeAt(C,y);vZ.object=W,rZ?(vZ.property=this.parseExpression(),this.expect(c.bracketR)):this.type===c.privateId&&W.type!=="Super"?vZ.property=this.parsePrivateIdent():vZ.property=this.parseIdent(this.options.allowReserved!=="never"),vZ.computed=!!rZ,IZ&&(vZ.optional=fZ),W=this.finishNode(vZ,"MemberExpression")}else if(!h&&this.eat(c.parenL)){var V0=new J0,$0=this.yieldPos,w0=this.awaitPos,_0=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var t0=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1,V0);if(QZ&&!fZ&&this.shouldParseAsyncArrow())return this.checkPatternErrors(V0,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=$0,this.awaitPos=w0,this.awaitIdentPos=_0,this.parseSubscriptAsyncArrow(C,y,t0,RZ);this.checkExpressionErrors(V0,!0),this.yieldPos=$0||this.yieldPos,this.awaitPos=w0||this.awaitPos,this.awaitIdentPos=_0||this.awaitIdentPos;var Y5=this.startNodeAt(C,y);Y5.callee=W,Y5.arguments=t0,IZ&&(Y5.optional=fZ),W=this.finishNode(Y5,"CallExpression")}else if(this.type===c.backQuote){(fZ||BZ)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x0=this.startNodeAt(C,y);x0.tag=W,x0.quasi=this.parseTemplate({isTagged:!0}),W=this.finishNode(x0,"TaggedTemplateExpression")}return W},N0.parseExprAtom=function(W,C,y){this.type===c.slash&&this.readRegexp();var h,QZ=this.potentialArrowAt===this.start;switch(this.type){case c._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),h=this.startNode(),this.next(),this.type!==c.parenL||this.allowDirectSuper||this.raise(h.start,"super() call outside constructor of a subclass"),this.type!==c.dot&&this.type!==c.bracketL&&this.type!==c.parenL&&this.unexpected(),this.finishNode(h,"Super");case c._this:return h=this.startNode(),this.next(),this.finishNode(h,"ThisExpression");case c.name:var BZ=this.start,RZ=this.startLoc,IZ=this.containsEsc,fZ=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!IZ&&fZ.name==="async"&&!this.canInsertSemicolon()&&this.eat(c._function))return this.overrideContext(I0.f_expr),this.parseFunction(this.startNodeAt(BZ,RZ),0,!1,!0,C);if(QZ&&!this.canInsertSemicolon()){if(this.eat(c.arrow))return this.parseArrowExpression(this.startNodeAt(BZ,RZ),[fZ],!1,C);if(this.options.ecmaVersion>=8&&fZ.name==="async"&&this.type===c.name&&!IZ&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return fZ=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(c.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(BZ,RZ),[fZ],!0,C)}return fZ;case c.regexp:var rZ=this.value;return(h=this.parseLiteral(rZ.value)).regex={pattern:rZ.pattern,flags:rZ.flags},h;case c.num:case c.string:return this.parseLiteral(this.value);case c._null:case c._true:case c._false:return(h=this.startNode()).value=this.type===c._null?null:this.type===c._true,h.raw=this.type.keyword,this.next(),this.finishNode(h,"Literal");case c.parenL:var vZ=this.start,V0=this.parseParenAndDistinguishExpression(QZ,C);return W&&(W.parenthesizedAssign<0&&!this.isSimpleAssignTarget(V0)&&(W.parenthesizedAssign=vZ),W.parenthesizedBind<0&&(W.parenthesizedBind=vZ)),V0;case c.bracketL:return h=this.startNode(),this.next(),h.elements=this.parseExprList(c.bracketR,!0,!0,W),this.finishNode(h,"ArrayExpression");case c.braceL:return this.overrideContext(I0.b_expr),this.parseObj(!1,W);case c._function:return h=this.startNode(),this.next(),this.parseFunction(h,0);case c._class:return this.parseClass(this.startNode(),!1);case c._new:return this.parseNew();case c.backQuote:return this.parseTemplate();case c._import:return this.options.ecmaVersion>=11?this.parseExprImport(y):this.unexpected();default:return this.parseExprAtomDefault()}},N0.parseExprAtomDefault=function(){this.unexpected()},N0.parseExprImport=function(W){var C=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===c.parenL&&!W)return this.parseDynamicImport(C);if(this.type===c.dot){var y=this.startNodeAt(C.start,C.loc&&C.loc.start);return y.name="import",C.meta=this.finishNode(y,"Identifier"),this.parseImportMeta(C)}this.unexpected()},N0.parseDynamicImport=function(W){if(this.next(),W.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(c.parenR)?W.options=null:(this.expect(c.comma),this.afterTrailingComma(c.parenR)?W.options=null:(W.options=this.parseMaybeAssign(),this.eat(c.parenR)||(this.expect(c.comma),this.afterTrailingComma(c.parenR)||this.unexpected())));else if(!this.eat(c.parenR)){var C=this.start;this.eat(c.comma)&&this.eat(c.parenR)?this.raiseRecoverable(C,"Trailing comma is not allowed in import()"):this.unexpected(C)}return this.finishNode(W,"ImportExpression")},N0.parseImportMeta=function(W){this.next();var C=this.containsEsc;return W.property=this.parseIdent(!0),W.property.name!=="meta"&&this.raiseRecoverable(W.property.start,"The only valid meta property for import is 'import.meta'"),C&&this.raiseRecoverable(W.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(W.start,"Cannot use 'import.meta' outside a module"),this.finishNode(W,"MetaProperty")},N0.parseLiteral=function(W){var C=this.startNode();return C.value=W,C.raw=this.input.slice(this.start,this.end),C.raw.charCodeAt(C.raw.length-1)===110&&(C.bigint=C.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(C,"Literal")},N0.parseParenExpression=function(){this.expect(c.parenL);var W=this.parseExpression();return this.expect(c.parenR),W},N0.shouldParseArrow=function(W){return!this.canInsertSemicolon()},N0.parseParenAndDistinguishExpression=function(W,C){var y,h=this.start,QZ=this.startLoc,BZ=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var RZ,IZ=this.start,fZ=this.startLoc,rZ=[],vZ=!0,V0=!1,$0=new J0,w0=this.yieldPos,_0=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==c.parenR;){if(vZ?vZ=!1:this.expect(c.comma),BZ&&this.afterTrailingComma(c.parenR,!0)){V0=!0;break}if(this.type===c.ellipsis){RZ=this.start,rZ.push(this.parseParenItem(this.parseRestBinding())),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}rZ.push(this.parseMaybeAssign(!1,$0,this.parseParenItem))}var t0=this.lastTokEnd,Y5=this.lastTokEndLoc;if(this.expect(c.parenR),W&&this.shouldParseArrow(rZ)&&this.eat(c.arrow))return this.checkPatternErrors($0,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=w0,this.awaitPos=_0,this.parseParenArrowList(h,QZ,rZ,C);rZ.length&&!V0||this.unexpected(this.lastTokStart),RZ&&this.unexpected(RZ),this.checkExpressionErrors($0,!0),this.yieldPos=w0||this.yieldPos,this.awaitPos=_0||this.awaitPos,rZ.length>1?((y=this.startNodeAt(IZ,fZ)).expressions=rZ,this.finishNodeAt(y,"SequenceExpression",t0,Y5)):y=rZ[0]}else y=this.parseParenExpression();if(this.options.preserveParens){var x0=this.startNodeAt(h,QZ);return x0.expression=y,this.finishNode(x0,"ParenthesizedExpression")}return y},N0.parseParenItem=function(W){return W},N0.parseParenArrowList=function(W,C,y,h){return this.parseArrowExpression(this.startNodeAt(W,C),y,!1,h)};var J5=[];N0.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var W=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===c.dot){var C=this.startNodeAt(W.start,W.loc&&W.loc.start);C.name="new",W.meta=this.finishNode(C,"Identifier"),this.next();var y=this.containsEsc;return W.property=this.parseIdent(!0),W.property.name!=="target"&&this.raiseRecoverable(W.property.start,"The only valid meta property for new is 'new.target'"),y&&this.raiseRecoverable(W.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(W.start,"'new.target' can only be used in functions and class static block"),this.finishNode(W,"MetaProperty")}var h=this.start,QZ=this.startLoc;return W.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),h,QZ,!0,!1),this.eat(c.parenL)?W.arguments=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1):W.arguments=J5,this.finishNode(W,"NewExpression")},N0.parseTemplateElement=function(W){var C=W.isTagged,y=this.startNode();return this.type===c.invalidTemplate?(C||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),y.value={raw:this.value.replace(/\r\n?/g,`
|
|
9
9
|
`),cooked:null}):y.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
10
|
-
`),cooked:this.value},this.next(),y.tail=this.type===c.backQuote,this.finishNode(y,"TemplateElement")},N0.parseTemplate=function(W){W===void 0&&(W={});var C=W.isTagged;C===void 0&&(C=!1);var y=this.startNode();this.next(),y.expressions=[];var h=this.parseTemplateElement({isTagged:C});for(y.quasis=[h];!h.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),y.expressions.push(this.parseExpression()),this.expect(c.braceR),y.quasis.push(h=this.parseTemplateElement({isTagged:C}));return this.next(),this.finishNode(y,"TemplateLiteral")},N0.isAsyncProp=function(W){return!W.computed&&W.key.type==="Identifier"&&W.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!TZ.test(this.input.slice(this.lastTokEnd,this.start))},N0.parseObj=function(W,C){var y=this.startNode(),h=!0,QZ={};for(y.properties=[],this.next();!this.eat(c.braceR);){if(h)h=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var BZ=this.parseProperty(W,C);W||this.checkPropClash(BZ,QZ,C),y.properties.push(BZ)}return this.finishNode(y,W?"ObjectPattern":"ObjectExpression")},N0.parseProperty=function(W,C){var y,h,QZ,BZ,RZ=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return W?(RZ.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(RZ,"RestElement")):(RZ.argument=this.parseMaybeAssign(!1,C),this.type===c.comma&&C&&C.trailingComma<0&&(C.trailingComma=this.start),this.finishNode(RZ,"SpreadElement"));this.options.ecmaVersion>=6&&(RZ.method=!1,RZ.shorthand=!1,(W||C)&&(QZ=this.start,BZ=this.startLoc),W||(y=this.eat(c.star)));var IZ=this.containsEsc;return this.parsePropertyName(RZ),!W&&!IZ&&this.options.ecmaVersion>=8&&!y&&this.isAsyncProp(RZ)?(h=!0,y=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(RZ)):h=!1,this.parsePropertyValue(RZ,W,y,h,QZ,BZ,C,IZ),this.finishNode(RZ,"Property")},N0.parseGetterSetter=function(W){W.kind=W.key.name,this.parsePropertyName(W),W.value=this.parseMethod(!1);var C=W.kind==="get"?0:1;if(W.value.params.length!==C){var y=W.value.start;W.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"setter should have exactly one param")}else W.kind==="set"&&W.value.params[0].type==="RestElement"&&this.raiseRecoverable(W.value.params[0].start,"Setter cannot use rest params")},N0.parsePropertyValue=function(W,C,y,h,QZ,BZ,RZ,IZ){(y||h)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(W.value=C?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,RZ),W.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(C&&this.unexpected(),W.kind="init",W.method=!0,W.value=this.parseMethod(y,h)):C||IZ||!(this.options.ecmaVersion>=5)||W.computed||W.key.type!=="Identifier"||W.key.name!=="get"&&W.key.name!=="set"||this.type===c.comma||this.type===c.braceR||this.type===c.eq?this.options.ecmaVersion>=6&&!W.computed&&W.key.type==="Identifier"?((y||h)&&this.unexpected(),this.checkUnreserved(W.key),W.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=QZ),W.kind="init",C?W.value=this.parseMaybeDefault(QZ,BZ,this.copyNode(W.key)):this.type===c.eq&&RZ?(RZ.shorthandAssign<0&&(RZ.shorthandAssign=this.start),W.value=this.parseMaybeDefault(QZ,BZ,this.copyNode(W.key))):W.value=this.copyNode(W.key),W.shorthand=!0):this.unexpected():((y||h)&&this.unexpected(),this.parseGetterSetter(W))},N0.parsePropertyName=function(W){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return W.computed=!0,W.key=this.parseMaybeAssign(),this.expect(c.bracketR),W.key;W.computed=!1}return W.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},N0.initFunction=function(W){W.id=null,this.options.ecmaVersion>=6&&(W.generator=W.expression=!1),this.options.ecmaVersion>=8&&(W.async=!1)},N0.parseMethod=function(W,C,y){var h=this.startNode(),QZ=this.yieldPos,BZ=this.awaitPos,RZ=this.awaitIdentPos;return this.initFunction(h),this.options.ecmaVersion>=6&&(h.generator=W),this.options.ecmaVersion>=8&&(h.async=!!C),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|pZ(C,h.generator)|(y?128:0)),this.expect(c.parenL),h.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(h,!1,!0,!1),this.yieldPos=QZ,this.awaitPos=BZ,this.awaitIdentPos=RZ,this.finishNode(h,"FunctionExpression")},N0.parseArrowExpression=function(W,C,y,h){var QZ=this.yieldPos,BZ=this.awaitPos,RZ=this.awaitIdentPos;return this.enterScope(16|pZ(y,!1)),this.initFunction(W),this.options.ecmaVersion>=8&&(W.async=!!y),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,W.params=this.toAssignableList(C,!0),this.parseFunctionBody(W,!0,!1,h),this.yieldPos=QZ,this.awaitPos=BZ,this.awaitIdentPos=RZ,this.finishNode(W,"ArrowFunctionExpression")},N0.parseFunctionBody=function(W,C,y,h){var QZ=C&&this.type!==c.braceL,BZ=this.strict,RZ=!1;if(QZ)W.body=this.parseMaybeAssign(h),W.expression=!0,this.checkParams(W,!1);else{var IZ=this.options.ecmaVersion>=7&&!this.isSimpleParamList(W.params);BZ&&!IZ||(RZ=this.strictDirective(this.end))&&IZ&&this.raiseRecoverable(W.start,"Illegal 'use strict' directive in function with non-simple parameter list");var fZ=this.labels;this.labels=[],RZ&&(this.strict=!0),this.checkParams(W,!BZ&&!RZ&&!C&&!y&&this.isSimpleParamList(W.params)),this.strict&&W.id&&this.checkLValSimple(W.id,5),W.body=this.parseBlock(!1,void 0,RZ&&!BZ),W.expression=!1,this.adaptDirectivePrologue(W.body.body),this.labels=fZ}this.exitScope()},N0.isSimpleParamList=function(W){for(var C=0,y=W;C<y.length;C+=1)if(y[C].type!=="Identifier")return!1;return!0},N0.checkParams=function(W,C){for(var y=Object.create(null),h=0,QZ=W.params;h<QZ.length;h+=1){var BZ=QZ[h];this.checkLValInnerPattern(BZ,1,C?null:y)}},N0.parseExprList=function(W,C,y,h){for(var QZ=[],BZ=!0;!this.eat(W);){if(BZ)BZ=!1;else if(this.expect(c.comma),C&&this.afterTrailingComma(W))break;var RZ=void 0;y&&this.type===c.comma?RZ=null:this.type===c.ellipsis?(RZ=this.parseSpread(h),h&&this.type===c.comma&&h.trailingComma<0&&(h.trailingComma=this.start)):RZ=this.parseMaybeAssign(!1,h),QZ.push(RZ)}return QZ},N0.checkUnreserved=function(W){var{start:C,end:y,name:h}=W;(this.inGenerator&&h==="yield"&&this.raiseRecoverable(C,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&h==="await"&&this.raiseRecoverable(C,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&h==="arguments"&&this.raiseRecoverable(C,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||h!=="arguments"&&h!=="await"||this.raise(C,"Cannot use "+h+" in class static initialization block"),this.keywords.test(h)&&this.raise(C,"Unexpected keyword '"+h+"'"),this.options.ecmaVersion<6&&this.input.slice(C,y).indexOf("\\")!==-1)||(this.strict?this.reservedWordsStrict:this.reservedWords).test(h)&&(this.inAsync||h!=="await"||this.raiseRecoverable(C,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(C,"The keyword '"+h+"' is reserved"))},N0.parseIdent=function(W){var C=this.parseIdentNode();return this.next(!!W),this.finishNode(C,"Identifier"),W||(this.checkUnreserved(C),C.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=C.start)),C},N0.parseIdentNode=function(){var W=this.startNode();return this.type===c.name?W.name=this.value:this.type.keyword?(W.name=this.type.keyword,W.name!=="class"&&W.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=c.name):this.unexpected(),W},N0.parsePrivateIdent=function(){var W=this.startNode();return this.type===c.privateId?W.name=this.value:this.unexpected(),this.next(),this.finishNode(W,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(W.start,"Private field '#"+W.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(W)),W},N0.parseYield=function(W){this.yieldPos||(this.yieldPos=this.start);var C=this.startNode();return this.next(),this.type===c.semi||this.canInsertSemicolon()||this.type!==c.star&&!this.type.startsExpr?(C.delegate=!1,C.argument=null):(C.delegate=this.eat(c.star),C.argument=this.parseMaybeAssign(W)),this.finishNode(C,"YieldExpression")},N0.parseAwait=function(W){this.awaitPos||(this.awaitPos=this.start);var C=this.startNode();return this.next(),C.argument=this.parseMaybeUnary(null,!0,!1,W),this.finishNode(C,"AwaitExpression")};var J5=uZ.prototype;J5.raise=function(W,C){var y=KZ(this.input,W);C+=" ("+y.line+":"+y.column+")";var h=SyntaxError(C);throw h.pos=W,h.loc=y,h.raisedAt=this.pos,h},J5.raiseRecoverable=J5.raise,J5.curPosition=function(){if(this.options.locations)return new aZ(this.curLine,this.pos-this.lineStart)};var G5=uZ.prototype,S5=function(W){this.flags=W,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};G5.enterScope=function(W){this.scopeStack.push(new S5(W))},G5.exitScope=function(){this.scopeStack.pop()},G5.treatFunctionsAsVarInScope=function(W){return 2&W.flags||!this.inModule&&1&W.flags},G5.declareName=function(W,C,y){var h=!1;if(C===2){var QZ=this.currentScope();h=QZ.lexical.indexOf(W)>-1||QZ.functions.indexOf(W)>-1||QZ.var.indexOf(W)>-1,QZ.lexical.push(W),this.inModule&&1&QZ.flags&&delete this.undefinedExports[W]}else if(C===4)this.currentScope().lexical.push(W);else if(C===3){var BZ=this.currentScope();h=this.treatFunctionsAsVar?BZ.lexical.indexOf(W)>-1:BZ.lexical.indexOf(W)>-1||BZ.var.indexOf(W)>-1,BZ.functions.push(W)}else for(var RZ=this.scopeStack.length-1;RZ>=0;--RZ){var IZ=this.scopeStack[RZ];if(IZ.lexical.indexOf(W)>-1&&!(32&IZ.flags&&IZ.lexical[0]===W)||!this.treatFunctionsAsVarInScope(IZ)&&IZ.functions.indexOf(W)>-1){h=!0;break}if(IZ.var.push(W),this.inModule&&1&IZ.flags&&delete this.undefinedExports[W],259&IZ.flags)break}h&&this.raiseRecoverable(y,"Identifier '"+W+"' has already been declared")},G5.checkLocalExport=function(W){this.scopeStack[0].lexical.indexOf(W.name)===-1&&this.scopeStack[0].var.indexOf(W.name)===-1&&(this.undefinedExports[W.name]=W)},G5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},G5.currentVarScope=function(){for(var W=this.scopeStack.length-1;;W--){var C=this.scopeStack[W];if(259&C.flags)return C}},G5.currentThisScope=function(){for(var W=this.scopeStack.length-1;;W--){var C=this.scopeStack[W];if(259&C.flags&&!(16&C.flags))return C}};var c0=function(W,C,y){this.type="",this.start=C,this.end=0,W.options.locations&&(this.loc=new W0(W,y)),W.options.directSourceFile&&(this.sourceFile=W.options.directSourceFile),W.options.ranges&&(this.range=[C,0])},F5=uZ.prototype;function K5(W,C,y,h){return W.type=C,W.end=y,this.options.locations&&(W.loc.end=h),this.options.ranges&&(W.range[1]=y),W}F5.startNode=function(){return new c0(this,this.start,this.startLoc)},F5.startNodeAt=function(W,C){return new c0(this,W,C)},F5.finishNode=function(W,C){return K5.call(this,W,C,this.lastTokEnd,this.lastTokEndLoc)},F5.finishNodeAt=function(W,C,y,h){return K5.call(this,W,C,y,h)},F5.copyNode=function(W){var C=new c0(this,W.start,this.startLoc);for(var y in W)C[y]=W[y];return C};var g0="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",j5=g0+" Extended_Pictographic",C5=j5+" EBase EComp EMod EPres ExtPict",W5={9:g0,10:j5,11:j5,12:C5,13:C5,14:C5},I5={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"},q5="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",b5="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",F0=b5+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",w5=F0+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",N5=w5+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",A5=N5+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",T5={9:b5,10:F0,11:w5,12:N5,13:A5,14:A5+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},B5={};function H5(W){var C=B5[W]={binary:qZ(W5[W]+" "+q5),binaryOfStrings:qZ(I5[W]),nonBinary:{General_Category:qZ(q5),Script:qZ(T5[W])}};C.nonBinary.Script_Extensions=C.nonBinary.Script,C.nonBinary.gc=C.nonBinary.General_Category,C.nonBinary.sc=C.nonBinary.Script,C.nonBinary.scx=C.nonBinary.Script_Extensions}for(var iZ=0,cZ=[9,10,11,12,13,14];iZ<cZ.length;iZ+=1)H5(cZ[iZ]);var gZ=uZ.prototype,G0=function(W,C){this.parent=W,this.base=C||this};G0.prototype.separatedFrom=function(W){for(var C=this;C;C=C.parent)for(var y=W;y;y=y.parent)if(C.base===y.base&&C!==y)return!0;return!1},G0.prototype.sibling=function(){return new G0(this.parent,this.base)};var B0=function(W){this.parser=W,this.validFlags="gim"+(W.options.ecmaVersion>=6?"uy":"")+(W.options.ecmaVersion>=9?"s":"")+(W.options.ecmaVersion>=13?"d":"")+(W.options.ecmaVersion>=15?"v":""),this.unicodeProperties=B5[W.options.ecmaVersion>=14?14:W.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=Object.create(null),this.backReferenceNames=[],this.branchID=null};function A0(W){return W===105||W===109||W===115}function xZ(W){return W===36||W>=40&&W<=43||W===46||W===63||W>=91&&W<=94||W>=123&&W<=125}function j0(W){return W>=65&&W<=90||W>=97&&W<=122}B0.prototype.reset=function(W,C,y){var h=y.indexOf("v")!==-1,QZ=y.indexOf("u")!==-1;this.start=0|W,this.source=C+"",this.flags=y,h&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=QZ&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=QZ&&this.parser.options.ecmaVersion>=9)},B0.prototype.raise=function(W){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+W)},B0.prototype.at=function(W,C){C===void 0&&(C=!1);var y=this.source,h=y.length;if(W>=h)return-1;var QZ=y.charCodeAt(W);if(!C&&!this.switchU||QZ<=55295||QZ>=57344||W+1>=h)return QZ;var BZ=y.charCodeAt(W+1);return BZ>=56320&&BZ<=57343?(QZ<<10)+BZ-56613888:QZ},B0.prototype.nextIndex=function(W,C){C===void 0&&(C=!1);var y=this.source,h=y.length;if(W>=h)return h;var QZ,BZ=y.charCodeAt(W);return!C&&!this.switchU||BZ<=55295||BZ>=57344||W+1>=h||(QZ=y.charCodeAt(W+1))<56320||QZ>57343?W+1:W+2},B0.prototype.current=function(W){return W===void 0&&(W=!1),this.at(this.pos,W)},B0.prototype.lookahead=function(W){return W===void 0&&(W=!1),this.at(this.nextIndex(this.pos,W),W)},B0.prototype.advance=function(W){W===void 0&&(W=!1),this.pos=this.nextIndex(this.pos,W)},B0.prototype.eat=function(W,C){return C===void 0&&(C=!1),this.current(C)===W&&(this.advance(C),!0)},B0.prototype.eatChars=function(W,C){C===void 0&&(C=!1);for(var y=this.pos,h=0,QZ=W;h<QZ.length;h+=1){var BZ=QZ[h],RZ=this.at(y,C);if(RZ===-1||RZ!==BZ)return!1;y=this.nextIndex(y,C)}return this.pos=y,!0},gZ.validateRegExpFlags=function(W){for(var{validFlags:C,flags:y}=W,h=!1,QZ=!1,BZ=0;BZ<y.length;BZ++){var RZ=y.charAt(BZ);C.indexOf(RZ)===-1&&this.raise(W.start,"Invalid regular expression flag"),y.indexOf(RZ,BZ+1)>-1&&this.raise(W.start,"Duplicate regular expression flag"),RZ==="u"&&(h=!0),RZ==="v"&&(QZ=!0)}this.options.ecmaVersion>=15&&h&&QZ&&this.raise(W.start,"Invalid regular expression flag")},gZ.validateRegExpPattern=function(W){this.regexp_pattern(W),!W.switchN&&this.options.ecmaVersion>=9&&function(C){for(var y in C)return!0;return!1}(W.groupNames)&&(W.switchN=!0,this.regexp_pattern(W))},gZ.regexp_pattern=function(W){W.pos=0,W.lastIntValue=0,W.lastStringValue="",W.lastAssertionIsQuantifiable=!1,W.numCapturingParens=0,W.maxBackReference=0,W.groupNames=Object.create(null),W.backReferenceNames.length=0,W.branchID=null,this.regexp_disjunction(W),W.pos!==W.source.length&&(W.eat(41)&&W.raise("Unmatched ')'"),(W.eat(93)||W.eat(125))&&W.raise("Lone quantifier brackets")),W.maxBackReference>W.numCapturingParens&&W.raise("Invalid escape");for(var C=0,y=W.backReferenceNames;C<y.length;C+=1){var h=y[C];W.groupNames[h]||W.raise("Invalid named capture referenced")}},gZ.regexp_disjunction=function(W){var C=this.options.ecmaVersion>=16;for(C&&(W.branchID=new G0(W.branchID,null)),this.regexp_alternative(W);W.eat(124);)C&&(W.branchID=W.branchID.sibling()),this.regexp_alternative(W);C&&(W.branchID=W.branchID.parent),this.regexp_eatQuantifier(W,!0)&&W.raise("Nothing to repeat"),W.eat(123)&&W.raise("Lone quantifier brackets")},gZ.regexp_alternative=function(W){for(;W.pos<W.source.length&&this.regexp_eatTerm(W););},gZ.regexp_eatTerm=function(W){return this.regexp_eatAssertion(W)?(W.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(W)&&W.switchU&&W.raise("Invalid quantifier"),!0):!!(W.switchU?this.regexp_eatAtom(W):this.regexp_eatExtendedAtom(W))&&(this.regexp_eatQuantifier(W),!0)},gZ.regexp_eatAssertion=function(W){var C=W.pos;if(W.lastAssertionIsQuantifiable=!1,W.eat(94)||W.eat(36))return!0;if(W.eat(92)){if(W.eat(66)||W.eat(98))return!0;W.pos=C}if(W.eat(40)&&W.eat(63)){var y=!1;if(this.options.ecmaVersion>=9&&(y=W.eat(60)),W.eat(61)||W.eat(33))return this.regexp_disjunction(W),W.eat(41)||W.raise("Unterminated group"),W.lastAssertionIsQuantifiable=!y,!0}return W.pos=C,!1},gZ.regexp_eatQuantifier=function(W,C){return C===void 0&&(C=!1),!!this.regexp_eatQuantifierPrefix(W,C)&&(W.eat(63),!0)},gZ.regexp_eatQuantifierPrefix=function(W,C){return W.eat(42)||W.eat(43)||W.eat(63)||this.regexp_eatBracedQuantifier(W,C)},gZ.regexp_eatBracedQuantifier=function(W,C){var y=W.pos;if(W.eat(123)){var h=0,QZ=-1;if(this.regexp_eatDecimalDigits(W)&&(h=W.lastIntValue,W.eat(44)&&this.regexp_eatDecimalDigits(W)&&(QZ=W.lastIntValue),W.eat(125)))return QZ!==-1&&QZ<h&&!C&&W.raise("numbers out of order in {} quantifier"),!0;W.switchU&&!C&&W.raise("Incomplete quantifier"),W.pos=y}return!1},gZ.regexp_eatAtom=function(W){return this.regexp_eatPatternCharacters(W)||W.eat(46)||this.regexp_eatReverseSolidusAtomEscape(W)||this.regexp_eatCharacterClass(W)||this.regexp_eatUncapturingGroup(W)||this.regexp_eatCapturingGroup(W)},gZ.regexp_eatReverseSolidusAtomEscape=function(W){var C=W.pos;if(W.eat(92)){if(this.regexp_eatAtomEscape(W))return!0;W.pos=C}return!1},gZ.regexp_eatUncapturingGroup=function(W){var C=W.pos;if(W.eat(40)){if(W.eat(63)){if(this.options.ecmaVersion>=16){var y=this.regexp_eatModifiers(W),h=W.eat(45);if(y||h){for(var QZ=0;QZ<y.length;QZ++){var BZ=y.charAt(QZ);y.indexOf(BZ,QZ+1)>-1&&W.raise("Duplicate regular expression modifiers")}if(h){var RZ=this.regexp_eatModifiers(W);y||RZ||W.current()!==58||W.raise("Invalid regular expression modifiers");for(var IZ=0;IZ<RZ.length;IZ++){var fZ=RZ.charAt(IZ);(RZ.indexOf(fZ,IZ+1)>-1||y.indexOf(fZ)>-1)&&W.raise("Duplicate regular expression modifiers")}}}}if(W.eat(58)){if(this.regexp_disjunction(W),W.eat(41))return!0;W.raise("Unterminated group")}}W.pos=C}return!1},gZ.regexp_eatCapturingGroup=function(W){if(W.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(W):W.current()===63&&W.raise("Invalid group"),this.regexp_disjunction(W),W.eat(41))return W.numCapturingParens+=1,!0;W.raise("Unterminated group")}return!1},gZ.regexp_eatModifiers=function(W){for(var C="",y=0;(y=W.current())!==-1&&A0(y);)C+=kZ(y),W.advance();return C},gZ.regexp_eatExtendedAtom=function(W){return W.eat(46)||this.regexp_eatReverseSolidusAtomEscape(W)||this.regexp_eatCharacterClass(W)||this.regexp_eatUncapturingGroup(W)||this.regexp_eatCapturingGroup(W)||this.regexp_eatInvalidBracedQuantifier(W)||this.regexp_eatExtendedPatternCharacter(W)},gZ.regexp_eatInvalidBracedQuantifier=function(W){return this.regexp_eatBracedQuantifier(W,!0)&&W.raise("Nothing to repeat"),!1},gZ.regexp_eatSyntaxCharacter=function(W){var C=W.current();return!!xZ(C)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatPatternCharacters=function(W){for(var C=W.pos,y=0;(y=W.current())!==-1&&!xZ(y);)W.advance();return W.pos!==C},gZ.regexp_eatExtendedPatternCharacter=function(W){var C=W.current();return!(C===-1||C===36||C>=40&&C<=43||C===46||C===63||C===91||C===94||C===124)&&(W.advance(),!0)},gZ.regexp_groupSpecifier=function(W){if(W.eat(63)){this.regexp_eatGroupName(W)||W.raise("Invalid group");var C=this.options.ecmaVersion>=16,y=W.groupNames[W.lastStringValue];if(y)if(C)for(var h=0,QZ=y;h<QZ.length;h+=1)QZ[h].separatedFrom(W.branchID)||W.raise("Duplicate capture group name");else W.raise("Duplicate capture group name");C?(y||(W.groupNames[W.lastStringValue]=[])).push(W.branchID):W.groupNames[W.lastStringValue]=!0}},gZ.regexp_eatGroupName=function(W){if(W.lastStringValue="",W.eat(60)){if(this.regexp_eatRegExpIdentifierName(W)&&W.eat(62))return!0;W.raise("Invalid capture group name")}return!1},gZ.regexp_eatRegExpIdentifierName=function(W){if(W.lastStringValue="",this.regexp_eatRegExpIdentifierStart(W)){for(W.lastStringValue+=kZ(W.lastIntValue);this.regexp_eatRegExpIdentifierPart(W);)W.lastStringValue+=kZ(W.lastIntValue);return!0}return!1},gZ.regexp_eatRegExpIdentifierStart=function(W){var C=W.pos,y=this.options.ecmaVersion>=11,h=W.current(y);return W.advance(y),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(W,y)&&(h=W.lastIntValue),function(QZ){return XZ(QZ,!0)||QZ===36||QZ===95}(h)?(W.lastIntValue=h,!0):(W.pos=C,!1)},gZ.regexp_eatRegExpIdentifierPart=function(W){var C=W.pos,y=this.options.ecmaVersion>=11,h=W.current(y);return W.advance(y),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(W,y)&&(h=W.lastIntValue),function(QZ){return YZ(QZ,!0)||QZ===36||QZ===95||QZ===8204||QZ===8205}(h)?(W.lastIntValue=h,!0):(W.pos=C,!1)},gZ.regexp_eatAtomEscape=function(W){return!!(this.regexp_eatBackReference(W)||this.regexp_eatCharacterClassEscape(W)||this.regexp_eatCharacterEscape(W)||W.switchN&&this.regexp_eatKGroupName(W))||(W.switchU&&(W.current()===99&&W.raise("Invalid unicode escape"),W.raise("Invalid escape")),!1)},gZ.regexp_eatBackReference=function(W){var C=W.pos;if(this.regexp_eatDecimalEscape(W)){var y=W.lastIntValue;if(W.switchU)return y>W.maxBackReference&&(W.maxBackReference=y),!0;if(y<=W.numCapturingParens)return!0;W.pos=C}return!1},gZ.regexp_eatKGroupName=function(W){if(W.eat(107)){if(this.regexp_eatGroupName(W))return W.backReferenceNames.push(W.lastStringValue),!0;W.raise("Invalid named reference")}return!1},gZ.regexp_eatCharacterEscape=function(W){return this.regexp_eatControlEscape(W)||this.regexp_eatCControlLetter(W)||this.regexp_eatZero(W)||this.regexp_eatHexEscapeSequence(W)||this.regexp_eatRegExpUnicodeEscapeSequence(W,!1)||!W.switchU&&this.regexp_eatLegacyOctalEscapeSequence(W)||this.regexp_eatIdentityEscape(W)},gZ.regexp_eatCControlLetter=function(W){var C=W.pos;if(W.eat(99)){if(this.regexp_eatControlLetter(W))return!0;W.pos=C}return!1},gZ.regexp_eatZero=function(W){return W.current()===48&&!E0(W.lookahead())&&(W.lastIntValue=0,W.advance(),!0)},gZ.regexp_eatControlEscape=function(W){var C=W.current();return C===116?(W.lastIntValue=9,W.advance(),!0):C===110?(W.lastIntValue=10,W.advance(),!0):C===118?(W.lastIntValue=11,W.advance(),!0):C===102?(W.lastIntValue=12,W.advance(),!0):C===114&&(W.lastIntValue=13,W.advance(),!0)},gZ.regexp_eatControlLetter=function(W){var C=W.current();return!!j0(C)&&(W.lastIntValue=C%32,W.advance(),!0)},gZ.regexp_eatRegExpUnicodeEscapeSequence=function(W,C){C===void 0&&(C=!1);var y,h=W.pos,QZ=C||W.switchU;if(W.eat(117)){if(this.regexp_eatFixedHexDigits(W,4)){var BZ=W.lastIntValue;if(QZ&&BZ>=55296&&BZ<=56319){var RZ=W.pos;if(W.eat(92)&&W.eat(117)&&this.regexp_eatFixedHexDigits(W,4)){var IZ=W.lastIntValue;if(IZ>=56320&&IZ<=57343)return W.lastIntValue=1024*(BZ-55296)+(IZ-56320)+65536,!0}W.pos=RZ,W.lastIntValue=BZ}return!0}if(QZ&&W.eat(123)&&this.regexp_eatHexDigits(W)&&W.eat(125)&&((y=W.lastIntValue)>=0&&y<=1114111))return!0;QZ&&W.raise("Invalid unicode escape"),W.pos=h}return!1},gZ.regexp_eatIdentityEscape=function(W){if(W.switchU)return!!this.regexp_eatSyntaxCharacter(W)||!!W.eat(47)&&(W.lastIntValue=47,!0);var C=W.current();return!(C===99||W.switchN&&C===107)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatDecimalEscape=function(W){W.lastIntValue=0;var C=W.current();if(C>=49&&C<=57){do W.lastIntValue=10*W.lastIntValue+(C-48),W.advance();while((C=W.current())>=48&&C<=57);return!0}return!1};function C0(W){return j0(W)||W===95}function T0(W){return C0(W)||E0(W)}function E0(W){return W>=48&&W<=57}function P0(W){return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102}function b0(W){return W>=65&&W<=70?W-65+10:W>=97&&W<=102?W-97+10:W-48}function e0(W){return W>=48&&W<=55}gZ.regexp_eatCharacterClassEscape=function(W){var C=W.current();if(function(QZ){return QZ===100||QZ===68||QZ===115||QZ===83||QZ===119||QZ===87}(C))return W.lastIntValue=-1,W.advance(),1;var y=!1;if(W.switchU&&this.options.ecmaVersion>=9&&((y=C===80)||C===112)){var h;if(W.lastIntValue=-1,W.advance(),W.eat(123)&&(h=this.regexp_eatUnicodePropertyValueExpression(W))&&W.eat(125))return y&&h===2&&W.raise("Invalid property name"),h;W.raise("Invalid property name")}return 0},gZ.regexp_eatUnicodePropertyValueExpression=function(W){var C=W.pos;if(this.regexp_eatUnicodePropertyName(W)&&W.eat(61)){var y=W.lastStringValue;if(this.regexp_eatUnicodePropertyValue(W)){var h=W.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(W,y,h),1}}if(W.pos=C,this.regexp_eatLoneUnicodePropertyNameOrValue(W)){var QZ=W.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(W,QZ)}return 0},gZ.regexp_validateUnicodePropertyNameAndValue=function(W,C,y){l(W.unicodeProperties.nonBinary,C)||W.raise("Invalid property name"),W.unicodeProperties.nonBinary[C].test(y)||W.raise("Invalid property value")},gZ.regexp_validateUnicodePropertyNameOrValue=function(W,C){return W.unicodeProperties.binary.test(C)?1:W.switchV&&W.unicodeProperties.binaryOfStrings.test(C)?2:void W.raise("Invalid property name")},gZ.regexp_eatUnicodePropertyName=function(W){var C=0;for(W.lastStringValue="";C0(C=W.current());)W.lastStringValue+=kZ(C),W.advance();return W.lastStringValue!==""},gZ.regexp_eatUnicodePropertyValue=function(W){var C=0;for(W.lastStringValue="";T0(C=W.current());)W.lastStringValue+=kZ(C),W.advance();return W.lastStringValue!==""},gZ.regexp_eatLoneUnicodePropertyNameOrValue=function(W){return this.regexp_eatUnicodePropertyValue(W)},gZ.regexp_eatCharacterClass=function(W){if(W.eat(91)){var C=W.eat(94),y=this.regexp_classContents(W);return W.eat(93)||W.raise("Unterminated character class"),C&&y===2&&W.raise("Negated character class may contain strings"),!0}return!1},gZ.regexp_classContents=function(W){return W.current()===93?1:W.switchV?this.regexp_classSetExpression(W):(this.regexp_nonEmptyClassRanges(W),1)},gZ.regexp_nonEmptyClassRanges=function(W){for(;this.regexp_eatClassAtom(W);){var C=W.lastIntValue;if(W.eat(45)&&this.regexp_eatClassAtom(W)){var y=W.lastIntValue;!W.switchU||C!==-1&&y!==-1||W.raise("Invalid character class"),C!==-1&&y!==-1&&C>y&&W.raise("Range out of order in character class")}}},gZ.regexp_eatClassAtom=function(W){var C=W.pos;if(W.eat(92)){if(this.regexp_eatClassEscape(W))return!0;if(W.switchU){var y=W.current();(y===99||e0(y))&&W.raise("Invalid class escape"),W.raise("Invalid escape")}W.pos=C}var h=W.current();return h!==93&&(W.lastIntValue=h,W.advance(),!0)},gZ.regexp_eatClassEscape=function(W){var C=W.pos;if(W.eat(98))return W.lastIntValue=8,!0;if(W.switchU&&W.eat(45))return W.lastIntValue=45,!0;if(!W.switchU&&W.eat(99)){if(this.regexp_eatClassControlLetter(W))return!0;W.pos=C}return this.regexp_eatCharacterClassEscape(W)||this.regexp_eatCharacterEscape(W)},gZ.regexp_classSetExpression=function(W){var C,y=1;if(this.regexp_eatClassSetRange(W));else if(C=this.regexp_eatClassSetOperand(W)){C===2&&(y=2);for(var h=W.pos;W.eatChars([38,38]);)W.current()!==38&&(C=this.regexp_eatClassSetOperand(W))?C!==2&&(y=1):W.raise("Invalid character in character class");if(h!==W.pos)return y;for(;W.eatChars([45,45]);)this.regexp_eatClassSetOperand(W)||W.raise("Invalid character in character class");if(h!==W.pos)return y}else W.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(W)){if(!(C=this.regexp_eatClassSetOperand(W)))return y;C===2&&(y=2)}},gZ.regexp_eatClassSetRange=function(W){var C=W.pos;if(this.regexp_eatClassSetCharacter(W)){var y=W.lastIntValue;if(W.eat(45)&&this.regexp_eatClassSetCharacter(W)){var h=W.lastIntValue;return y!==-1&&h!==-1&&y>h&&W.raise("Range out of order in character class"),!0}W.pos=C}return!1},gZ.regexp_eatClassSetOperand=function(W){return this.regexp_eatClassSetCharacter(W)?1:this.regexp_eatClassStringDisjunction(W)||this.regexp_eatNestedClass(W)},gZ.regexp_eatNestedClass=function(W){var C=W.pos;if(W.eat(91)){var y=W.eat(94),h=this.regexp_classContents(W);if(W.eat(93))return y&&h===2&&W.raise("Negated character class may contain strings"),h;W.pos=C}if(W.eat(92)){var QZ=this.regexp_eatCharacterClassEscape(W);if(QZ)return QZ;W.pos=C}return null},gZ.regexp_eatClassStringDisjunction=function(W){var C=W.pos;if(W.eatChars([92,113])){if(W.eat(123)){var y=this.regexp_classStringDisjunctionContents(W);if(W.eat(125))return y}else W.raise("Invalid escape");W.pos=C}return null},gZ.regexp_classStringDisjunctionContents=function(W){for(var C=this.regexp_classString(W);W.eat(124);)this.regexp_classString(W)===2&&(C=2);return C},gZ.regexp_classString=function(W){for(var C=0;this.regexp_eatClassSetCharacter(W);)C++;return C===1?1:2},gZ.regexp_eatClassSetCharacter=function(W){var C=W.pos;if(W.eat(92))return!(!this.regexp_eatCharacterEscape(W)&&!this.regexp_eatClassSetReservedPunctuator(W))||(W.eat(98)?(W.lastIntValue=8,!0):(W.pos=C,!1));var y=W.current();return!(y<0||y===W.lookahead()&&function(h){return h===33||h>=35&&h<=38||h>=42&&h<=44||h===46||h>=58&&h<=64||h===94||h===96||h===126}(y))&&(!function(h){return h===40||h===41||h===45||h===47||h>=91&&h<=93||h>=123&&h<=125}(y)&&(W.advance(),W.lastIntValue=y,!0))},gZ.regexp_eatClassSetReservedPunctuator=function(W){var C=W.current();return!!function(y){return y===33||y===35||y===37||y===38||y===44||y===45||y>=58&&y<=62||y===64||y===96||y===126}(C)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatClassControlLetter=function(W){var C=W.current();return!(!E0(C)&&C!==95)&&(W.lastIntValue=C%32,W.advance(),!0)},gZ.regexp_eatHexEscapeSequence=function(W){var C=W.pos;if(W.eat(120)){if(this.regexp_eatFixedHexDigits(W,2))return!0;W.switchU&&W.raise("Invalid escape"),W.pos=C}return!1},gZ.regexp_eatDecimalDigits=function(W){var C=W.pos,y=0;for(W.lastIntValue=0;E0(y=W.current());)W.lastIntValue=10*W.lastIntValue+(y-48),W.advance();return W.pos!==C},gZ.regexp_eatHexDigits=function(W){var C=W.pos,y=0;for(W.lastIntValue=0;P0(y=W.current());)W.lastIntValue=16*W.lastIntValue+b0(y),W.advance();return W.pos!==C},gZ.regexp_eatLegacyOctalEscapeSequence=function(W){if(this.regexp_eatOctalDigit(W)){var C=W.lastIntValue;if(this.regexp_eatOctalDigit(W)){var y=W.lastIntValue;C<=3&&this.regexp_eatOctalDigit(W)?W.lastIntValue=64*C+8*y+W.lastIntValue:W.lastIntValue=8*C+y}else W.lastIntValue=C;return!0}return!1},gZ.regexp_eatOctalDigit=function(W){var C=W.current();return e0(C)?(W.lastIntValue=C-48,W.advance(),!0):(W.lastIntValue=0,!1)},gZ.regexp_eatFixedHexDigits=function(W,C){var y=W.pos;W.lastIntValue=0;for(var h=0;h<C;++h){var QZ=W.current();if(!P0(QZ))return W.pos=y,!1;W.lastIntValue=16*W.lastIntValue+b0(QZ),W.advance()}return!0};var o0=function(W){this.type=W.type,this.value=W.value,this.start=W.start,this.end=W.end,W.options.locations&&(this.loc=new W0(W,W.startLoc,W.endLoc)),W.options.ranges&&(this.range=[W.start,W.end])},U0=uZ.prototype;function Z5(W){return typeof BigInt!="function"?null:BigInt(W.replace(/_/g,""))}U0.next=function(W){!W&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new o0(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},U0.getToken=function(){return this.next(),new o0(this)},typeof Symbol<"u"&&(U0[Symbol.iterator]=function(){var W=this;return{next:function(){var C=W.getToken();return{done:C.type===c.eof,value:C}}}}),U0.nextToken=function(){var W=this.curContext();return W&&W.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(c.eof):W.override?W.override(this):void this.readToken(this.fullCharCodeAtPos())},U0.readToken=function(W){return XZ(W,this.options.ecmaVersion>=6)||W===92?this.readWord():this.getTokenFromCode(W)},U0.fullCharCodeAtPos=function(){var W=this.input.charCodeAt(this.pos);if(W<=55295||W>=56320)return W;var C=this.input.charCodeAt(this.pos+1);return C<=56319||C>=57344?W:(W<<10)+C-56613888},U0.skipBlockComment=function(){var W=this.options.onComment&&this.curPosition(),C=this.pos,y=this.input.indexOf("*/",this.pos+=2);if(y===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=y+2,this.options.locations)for(var h=void 0,QZ=C;(h=Q0(this.input,QZ,this.pos))>-1;)++this.curLine,QZ=this.lineStart=h;this.options.onComment&&this.options.onComment(!0,this.input.slice(C+2,y),C,this.pos,W,this.curPosition())},U0.skipLineComment=function(W){for(var C=this.pos,y=this.options.onComment&&this.curPosition(),h=this.input.charCodeAt(this.pos+=W);this.pos<this.input.length&&!sZ(h);)h=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(C+W,this.pos),C,this.pos,y,this.curPosition())},U0.skipSpace=function(){Z:for(;this.pos<this.input.length;){var W=this.input.charCodeAt(this.pos);switch(W){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++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 Z}break;default:if(!(W>8&&W<14||W>=5760&&dZ.test(String.fromCharCode(W))))break Z;++this.pos}}},U0.finishToken=function(W,C){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var y=this.type;this.type=W,this.value=C,this.updateContext(y)},U0.readToken_dot=function(){var W=this.input.charCodeAt(this.pos+1);if(W>=48&&W<=57)return this.readNumber(!0);var C=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&W===46&&C===46?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},U0.readToken_slash=function(){var W=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):W===61?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},U0.readToken_mult_modulo_exp=function(W){var C=this.input.charCodeAt(this.pos+1),y=1,h=W===42?c.star:c.modulo;return this.options.ecmaVersion>=7&&W===42&&C===42&&(++y,h=c.starstar,C=this.input.charCodeAt(this.pos+2)),C===61?this.finishOp(c.assign,y+1):this.finishOp(h,y)},U0.readToken_pipe_amp=function(W){var C=this.input.charCodeAt(this.pos+1);if(C===W){if(this.options.ecmaVersion>=12){if(this.input.charCodeAt(this.pos+2)===61)return this.finishOp(c.assign,3)}return this.finishOp(W===124?c.logicalOR:c.logicalAND,2)}return C===61?this.finishOp(c.assign,2):this.finishOp(W===124?c.bitwiseOR:c.bitwiseAND,1)},U0.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},U0.readToken_plus_min=function(W){var C=this.input.charCodeAt(this.pos+1);return C===W?C!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!TZ.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(c.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):C===61?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},U0.readToken_lt_gt=function(W){var C=this.input.charCodeAt(this.pos+1),y=1;return C===W?(y=W===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+y)===61?this.finishOp(c.assign,y+1):this.finishOp(c.bitShift,y)):C!==33||W!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(C===61&&(y=2),this.finishOp(c.relational,y)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},U0.readToken_eq_excl=function(W){var C=this.input.charCodeAt(this.pos+1);return C===61?this.finishOp(c.equality,this.input.charCodeAt(this.pos+2)===61?3:2):W===61&&C===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(W===61?c.eq:c.prefix,1)},U0.readToken_question=function(){var W=this.options.ecmaVersion;if(W>=11){var C=this.input.charCodeAt(this.pos+1);if(C===46){var y=this.input.charCodeAt(this.pos+2);if(y<48||y>57)return this.finishOp(c.questionDot,2)}if(C===63){if(W>=12){if(this.input.charCodeAt(this.pos+2)===61)return this.finishOp(c.assign,3)}return this.finishOp(c.coalesce,2)}}return this.finishOp(c.question,1)},U0.readToken_numberSign=function(){var W=35;if(this.options.ecmaVersion>=13&&(++this.pos,XZ(W=this.fullCharCodeAtPos(),!0)||W===92))return this.finishToken(c.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+kZ(W)+"'")},U0.getTokenFromCode=function(W){switch(W){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var C=this.input.charCodeAt(this.pos+1);if(C===120||C===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(C===111||C===79)return this.readRadixNumber(8);if(C===98||C===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(W);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(W);case 124:case 38:return this.readToken_pipe_amp(W);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(W);case 60:case 62:return this.readToken_lt_gt(W);case 61:case 33:return this.readToken_eq_excl(W);case 63:return this.readToken_question();case 126:return this.finishOp(c.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+kZ(W)+"'")},U0.finishOp=function(W,C){var y=this.input.slice(this.pos,this.pos+C);return this.pos+=C,this.finishToken(W,y)},U0.readRegexp=function(){for(var W,C,y=this.pos;;){this.pos>=this.input.length&&this.raise(y,"Unterminated regular expression");var h=this.input.charAt(this.pos);if(TZ.test(h)&&this.raise(y,"Unterminated regular expression"),W)W=!1;else{if(h==="[")C=!0;else if(h==="]"&&C)C=!1;else if(h==="/"&&!C)break;W=h==="\\"}++this.pos}var QZ=this.input.slice(y,this.pos);++this.pos;var BZ=this.pos,RZ=this.readWord1();this.containsEsc&&this.unexpected(BZ);var IZ=this.regexpState||(this.regexpState=new B0(this));IZ.reset(y,QZ,RZ),this.validateRegExpFlags(IZ),this.validateRegExpPattern(IZ);var fZ=null;try{fZ=new RegExp(QZ,RZ)}catch(rZ){}return this.finishToken(c.regexp,{pattern:QZ,flags:RZ,value:fZ})},U0.readInt=function(W,C,y){for(var h=this.options.ecmaVersion>=12&&C===void 0,QZ=y&&this.input.charCodeAt(this.pos)===48,BZ=this.pos,RZ=0,IZ=0,fZ=0,rZ=C==null?1/0:C;fZ<rZ;++fZ,++this.pos){var vZ=this.input.charCodeAt(this.pos),V0=void 0;if(h&&vZ===95)QZ&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),IZ===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),fZ===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),IZ=vZ;else{if((V0=vZ>=97?vZ-97+10:vZ>=65?vZ-65+10:vZ>=48&&vZ<=57?vZ-48:1/0)>=W)break;IZ=vZ,RZ=RZ*W+V0}}return h&&IZ===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===BZ||C!=null&&this.pos-BZ!==C?null:RZ},U0.readRadixNumber=function(W){var C=this.pos;this.pos+=2;var y=this.readInt(W);return y==null&&this.raise(this.start+2,"Expected number in radix "+W),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(y=Z5(this.input.slice(C,this.pos)),++this.pos):XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,y)},U0.readNumber=function(W){var C=this.pos;W||this.readInt(10,void 0,!0)!==null||this.raise(C,"Invalid number");var y=this.pos-C>=2&&this.input.charCodeAt(C)===48;y&&this.strict&&this.raise(C,"Invalid number");var h=this.input.charCodeAt(this.pos);if(!y&&!W&&this.options.ecmaVersion>=11&&h===110){var QZ=Z5(this.input.slice(C,this.pos));return++this.pos,XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,QZ)}y&&/[89]/.test(this.input.slice(C,this.pos))&&(y=!1),h!==46||y||(++this.pos,this.readInt(10),h=this.input.charCodeAt(this.pos)),h!==69&&h!==101||y||((h=this.input.charCodeAt(++this.pos))!==43&&h!==45||++this.pos,this.readInt(10)===null&&this.raise(C,"Invalid number")),XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var BZ,RZ=(BZ=this.input.slice(C,this.pos),y?parseInt(BZ,8):parseFloat(BZ.replace(/_/g,"")));return this.finishToken(c.num,RZ)},U0.readCodePoint=function(){var W;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var C=++this.pos;W=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,W>1114111&&this.invalidStringToken(C,"Code point out of bounds")}else W=this.readHexChar(4);return W},U0.readString=function(W){for(var C="",y=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var h=this.input.charCodeAt(this.pos);if(h===W)break;h===92?(C+=this.input.slice(y,this.pos),C+=this.readEscapedChar(!1),y=this.pos):h===8232||h===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(sZ(h)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return C+=this.input.slice(y,this.pos++),this.finishToken(c.string,C)};var R5={};U0.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(W){if(W!==R5)throw W;this.readInvalidTemplateToken()}this.inTemplateElement=!1},U0.invalidStringToken=function(W,C){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw R5;this.raise(W,C)},U0.readTmplToken=function(){for(var W="",C=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var y=this.input.charCodeAt(this.pos);if(y===96||y===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==c.template&&this.type!==c.invalidTemplate?(W+=this.input.slice(C,this.pos),this.finishToken(c.template,W)):y===36?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote));if(y===92)W+=this.input.slice(C,this.pos),W+=this.readEscapedChar(!0),C=this.pos;else if(sZ(y)){switch(W+=this.input.slice(C,this.pos),++this.pos,y){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:W+=`
|
|
10
|
+
`),cooked:this.value},this.next(),y.tail=this.type===c.backQuote,this.finishNode(y,"TemplateElement")},N0.parseTemplate=function(W){W===void 0&&(W={});var C=W.isTagged;C===void 0&&(C=!1);var y=this.startNode();this.next(),y.expressions=[];var h=this.parseTemplateElement({isTagged:C});for(y.quasis=[h];!h.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),y.expressions.push(this.parseExpression()),this.expect(c.braceR),y.quasis.push(h=this.parseTemplateElement({isTagged:C}));return this.next(),this.finishNode(y,"TemplateLiteral")},N0.isAsyncProp=function(W){return!W.computed&&W.key.type==="Identifier"&&W.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!TZ.test(this.input.slice(this.lastTokEnd,this.start))},N0.parseObj=function(W,C){var y=this.startNode(),h=!0,QZ={};for(y.properties=[],this.next();!this.eat(c.braceR);){if(h)h=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var BZ=this.parseProperty(W,C);W||this.checkPropClash(BZ,QZ,C),y.properties.push(BZ)}return this.finishNode(y,W?"ObjectPattern":"ObjectExpression")},N0.parseProperty=function(W,C){var y,h,QZ,BZ,RZ=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return W?(RZ.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(RZ,"RestElement")):(RZ.argument=this.parseMaybeAssign(!1,C),this.type===c.comma&&C&&C.trailingComma<0&&(C.trailingComma=this.start),this.finishNode(RZ,"SpreadElement"));this.options.ecmaVersion>=6&&(RZ.method=!1,RZ.shorthand=!1,(W||C)&&(QZ=this.start,BZ=this.startLoc),W||(y=this.eat(c.star)));var IZ=this.containsEsc;return this.parsePropertyName(RZ),!W&&!IZ&&this.options.ecmaVersion>=8&&!y&&this.isAsyncProp(RZ)?(h=!0,y=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(RZ)):h=!1,this.parsePropertyValue(RZ,W,y,h,QZ,BZ,C,IZ),this.finishNode(RZ,"Property")},N0.parseGetterSetter=function(W){W.kind=W.key.name,this.parsePropertyName(W),W.value=this.parseMethod(!1);var C=W.kind==="get"?0:1;if(W.value.params.length!==C){var y=W.value.start;W.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"setter should have exactly one param")}else W.kind==="set"&&W.value.params[0].type==="RestElement"&&this.raiseRecoverable(W.value.params[0].start,"Setter cannot use rest params")},N0.parsePropertyValue=function(W,C,y,h,QZ,BZ,RZ,IZ){(y||h)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(W.value=C?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,RZ),W.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(C&&this.unexpected(),W.kind="init",W.method=!0,W.value=this.parseMethod(y,h)):C||IZ||!(this.options.ecmaVersion>=5)||W.computed||W.key.type!=="Identifier"||W.key.name!=="get"&&W.key.name!=="set"||this.type===c.comma||this.type===c.braceR||this.type===c.eq?this.options.ecmaVersion>=6&&!W.computed&&W.key.type==="Identifier"?((y||h)&&this.unexpected(),this.checkUnreserved(W.key),W.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=QZ),W.kind="init",C?W.value=this.parseMaybeDefault(QZ,BZ,this.copyNode(W.key)):this.type===c.eq&&RZ?(RZ.shorthandAssign<0&&(RZ.shorthandAssign=this.start),W.value=this.parseMaybeDefault(QZ,BZ,this.copyNode(W.key))):W.value=this.copyNode(W.key),W.shorthand=!0):this.unexpected():((y||h)&&this.unexpected(),this.parseGetterSetter(W))},N0.parsePropertyName=function(W){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return W.computed=!0,W.key=this.parseMaybeAssign(),this.expect(c.bracketR),W.key;W.computed=!1}return W.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},N0.initFunction=function(W){W.id=null,this.options.ecmaVersion>=6&&(W.generator=W.expression=!1),this.options.ecmaVersion>=8&&(W.async=!1)},N0.parseMethod=function(W,C,y){var h=this.startNode(),QZ=this.yieldPos,BZ=this.awaitPos,RZ=this.awaitIdentPos;return this.initFunction(h),this.options.ecmaVersion>=6&&(h.generator=W),this.options.ecmaVersion>=8&&(h.async=!!C),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|pZ(C,h.generator)|(y?128:0)),this.expect(c.parenL),h.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(h,!1,!0,!1),this.yieldPos=QZ,this.awaitPos=BZ,this.awaitIdentPos=RZ,this.finishNode(h,"FunctionExpression")},N0.parseArrowExpression=function(W,C,y,h){var QZ=this.yieldPos,BZ=this.awaitPos,RZ=this.awaitIdentPos;return this.enterScope(16|pZ(y,!1)),this.initFunction(W),this.options.ecmaVersion>=8&&(W.async=!!y),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,W.params=this.toAssignableList(C,!0),this.parseFunctionBody(W,!0,!1,h),this.yieldPos=QZ,this.awaitPos=BZ,this.awaitIdentPos=RZ,this.finishNode(W,"ArrowFunctionExpression")},N0.parseFunctionBody=function(W,C,y,h){var QZ=C&&this.type!==c.braceL,BZ=this.strict,RZ=!1;if(QZ)W.body=this.parseMaybeAssign(h),W.expression=!0,this.checkParams(W,!1);else{var IZ=this.options.ecmaVersion>=7&&!this.isSimpleParamList(W.params);BZ&&!IZ||(RZ=this.strictDirective(this.end))&&IZ&&this.raiseRecoverable(W.start,"Illegal 'use strict' directive in function with non-simple parameter list");var fZ=this.labels;this.labels=[],RZ&&(this.strict=!0),this.checkParams(W,!BZ&&!RZ&&!C&&!y&&this.isSimpleParamList(W.params)),this.strict&&W.id&&this.checkLValSimple(W.id,5),W.body=this.parseBlock(!1,void 0,RZ&&!BZ),W.expression=!1,this.adaptDirectivePrologue(W.body.body),this.labels=fZ}this.exitScope()},N0.isSimpleParamList=function(W){for(var C=0,y=W;C<y.length;C+=1)if(y[C].type!=="Identifier")return!1;return!0},N0.checkParams=function(W,C){for(var y=Object.create(null),h=0,QZ=W.params;h<QZ.length;h+=1){var BZ=QZ[h];this.checkLValInnerPattern(BZ,1,C?null:y)}},N0.parseExprList=function(W,C,y,h){for(var QZ=[],BZ=!0;!this.eat(W);){if(BZ)BZ=!1;else if(this.expect(c.comma),C&&this.afterTrailingComma(W))break;var RZ=void 0;y&&this.type===c.comma?RZ=null:this.type===c.ellipsis?(RZ=this.parseSpread(h),h&&this.type===c.comma&&h.trailingComma<0&&(h.trailingComma=this.start)):RZ=this.parseMaybeAssign(!1,h),QZ.push(RZ)}return QZ},N0.checkUnreserved=function(W){var{start:C,end:y,name:h}=W;(this.inGenerator&&h==="yield"&&this.raiseRecoverable(C,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&h==="await"&&this.raiseRecoverable(C,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&h==="arguments"&&this.raiseRecoverable(C,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||h!=="arguments"&&h!=="await"||this.raise(C,"Cannot use "+h+" in class static initialization block"),this.keywords.test(h)&&this.raise(C,"Unexpected keyword '"+h+"'"),this.options.ecmaVersion<6&&this.input.slice(C,y).indexOf("\\")!==-1)||(this.strict?this.reservedWordsStrict:this.reservedWords).test(h)&&(this.inAsync||h!=="await"||this.raiseRecoverable(C,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(C,"The keyword '"+h+"' is reserved"))},N0.parseIdent=function(W){var C=this.parseIdentNode();return this.next(!!W),this.finishNode(C,"Identifier"),W||(this.checkUnreserved(C),C.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=C.start)),C},N0.parseIdentNode=function(){var W=this.startNode();return this.type===c.name?W.name=this.value:this.type.keyword?(W.name=this.type.keyword,W.name!=="class"&&W.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=c.name):this.unexpected(),W},N0.parsePrivateIdent=function(){var W=this.startNode();return this.type===c.privateId?W.name=this.value:this.unexpected(),this.next(),this.finishNode(W,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(W.start,"Private field '#"+W.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(W)),W},N0.parseYield=function(W){this.yieldPos||(this.yieldPos=this.start);var C=this.startNode();return this.next(),this.type===c.semi||this.canInsertSemicolon()||this.type!==c.star&&!this.type.startsExpr?(C.delegate=!1,C.argument=null):(C.delegate=this.eat(c.star),C.argument=this.parseMaybeAssign(W)),this.finishNode(C,"YieldExpression")},N0.parseAwait=function(W){this.awaitPos||(this.awaitPos=this.start);var C=this.startNode();return this.next(),C.argument=this.parseMaybeUnary(null,!0,!1,W),this.finishNode(C,"AwaitExpression")};var $5=uZ.prototype;$5.raise=function(W,C){var y=KZ(this.input,W);C+=" ("+y.line+":"+y.column+")";var h=SyntaxError(C);throw h.pos=W,h.loc=y,h.raisedAt=this.pos,h},$5.raiseRecoverable=$5.raise,$5.curPosition=function(){if(this.options.locations)return new aZ(this.curLine,this.pos-this.lineStart)};var G5=uZ.prototype,S5=function(W){this.flags=W,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};G5.enterScope=function(W){this.scopeStack.push(new S5(W))},G5.exitScope=function(){this.scopeStack.pop()},G5.treatFunctionsAsVarInScope=function(W){return 2&W.flags||!this.inModule&&1&W.flags},G5.declareName=function(W,C,y){var h=!1;if(C===2){var QZ=this.currentScope();h=QZ.lexical.indexOf(W)>-1||QZ.functions.indexOf(W)>-1||QZ.var.indexOf(W)>-1,QZ.lexical.push(W),this.inModule&&1&QZ.flags&&delete this.undefinedExports[W]}else if(C===4)this.currentScope().lexical.push(W);else if(C===3){var BZ=this.currentScope();h=this.treatFunctionsAsVar?BZ.lexical.indexOf(W)>-1:BZ.lexical.indexOf(W)>-1||BZ.var.indexOf(W)>-1,BZ.functions.push(W)}else for(var RZ=this.scopeStack.length-1;RZ>=0;--RZ){var IZ=this.scopeStack[RZ];if(IZ.lexical.indexOf(W)>-1&&!(32&IZ.flags&&IZ.lexical[0]===W)||!this.treatFunctionsAsVarInScope(IZ)&&IZ.functions.indexOf(W)>-1){h=!0;break}if(IZ.var.push(W),this.inModule&&1&IZ.flags&&delete this.undefinedExports[W],259&IZ.flags)break}h&&this.raiseRecoverable(y,"Identifier '"+W+"' has already been declared")},G5.checkLocalExport=function(W){this.scopeStack[0].lexical.indexOf(W.name)===-1&&this.scopeStack[0].var.indexOf(W.name)===-1&&(this.undefinedExports[W.name]=W)},G5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},G5.currentVarScope=function(){for(var W=this.scopeStack.length-1;;W--){var C=this.scopeStack[W];if(259&C.flags)return C}},G5.currentThisScope=function(){for(var W=this.scopeStack.length-1;;W--){var C=this.scopeStack[W];if(259&C.flags&&!(16&C.flags))return C}};var c0=function(W,C,y){this.type="",this.start=C,this.end=0,W.options.locations&&(this.loc=new W0(W,y)),W.options.directSourceFile&&(this.sourceFile=W.options.directSourceFile),W.options.ranges&&(this.range=[C,0])},F5=uZ.prototype;function K5(W,C,y,h){return W.type=C,W.end=y,this.options.locations&&(W.loc.end=h),this.options.ranges&&(W.range[1]=y),W}F5.startNode=function(){return new c0(this,this.start,this.startLoc)},F5.startNodeAt=function(W,C){return new c0(this,W,C)},F5.finishNode=function(W,C){return K5.call(this,W,C,this.lastTokEnd,this.lastTokEndLoc)},F5.finishNodeAt=function(W,C,y,h){return K5.call(this,W,C,y,h)},F5.copyNode=function(W){var C=new c0(this,W.start,this.startLoc);for(var y in W)C[y]=W[y];return C};var g0="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",j5=g0+" Extended_Pictographic",I5=j5+" EBase EComp EMod EPres ExtPict",W5={9:g0,10:j5,11:j5,12:I5,13:I5,14:I5},T5={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"},q5="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",b5="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",F0=b5+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",w5=F0+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",A5=w5+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",U5=A5+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",D5={9:b5,10:F0,11:w5,12:A5,13:U5,14:U5+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},B5={};function H5(W){var C=B5[W]={binary:qZ(W5[W]+" "+q5),binaryOfStrings:qZ(T5[W]),nonBinary:{General_Category:qZ(q5),Script:qZ(D5[W])}};C.nonBinary.Script_Extensions=C.nonBinary.Script,C.nonBinary.gc=C.nonBinary.General_Category,C.nonBinary.sc=C.nonBinary.Script,C.nonBinary.scx=C.nonBinary.Script_Extensions}for(var iZ=0,cZ=[9,10,11,12,13,14];iZ<cZ.length;iZ+=1)H5(cZ[iZ]);var gZ=uZ.prototype,G0=function(W,C){this.parent=W,this.base=C||this};G0.prototype.separatedFrom=function(W){for(var C=this;C;C=C.parent)for(var y=W;y;y=y.parent)if(C.base===y.base&&C!==y)return!0;return!1},G0.prototype.sibling=function(){return new G0(this.parent,this.base)};var B0=function(W){this.parser=W,this.validFlags="gim"+(W.options.ecmaVersion>=6?"uy":"")+(W.options.ecmaVersion>=9?"s":"")+(W.options.ecmaVersion>=13?"d":"")+(W.options.ecmaVersion>=15?"v":""),this.unicodeProperties=B5[W.options.ecmaVersion>=14?14:W.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=Object.create(null),this.backReferenceNames=[],this.branchID=null};function A0(W){return W===105||W===109||W===115}function xZ(W){return W===36||W>=40&&W<=43||W===46||W===63||W>=91&&W<=94||W>=123&&W<=125}function j0(W){return W>=65&&W<=90||W>=97&&W<=122}B0.prototype.reset=function(W,C,y){var h=y.indexOf("v")!==-1,QZ=y.indexOf("u")!==-1;this.start=0|W,this.source=C+"",this.flags=y,h&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=QZ&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=QZ&&this.parser.options.ecmaVersion>=9)},B0.prototype.raise=function(W){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+W)},B0.prototype.at=function(W,C){C===void 0&&(C=!1);var y=this.source,h=y.length;if(W>=h)return-1;var QZ=y.charCodeAt(W);if(!C&&!this.switchU||QZ<=55295||QZ>=57344||W+1>=h)return QZ;var BZ=y.charCodeAt(W+1);return BZ>=56320&&BZ<=57343?(QZ<<10)+BZ-56613888:QZ},B0.prototype.nextIndex=function(W,C){C===void 0&&(C=!1);var y=this.source,h=y.length;if(W>=h)return h;var QZ,BZ=y.charCodeAt(W);return!C&&!this.switchU||BZ<=55295||BZ>=57344||W+1>=h||(QZ=y.charCodeAt(W+1))<56320||QZ>57343?W+1:W+2},B0.prototype.current=function(W){return W===void 0&&(W=!1),this.at(this.pos,W)},B0.prototype.lookahead=function(W){return W===void 0&&(W=!1),this.at(this.nextIndex(this.pos,W),W)},B0.prototype.advance=function(W){W===void 0&&(W=!1),this.pos=this.nextIndex(this.pos,W)},B0.prototype.eat=function(W,C){return C===void 0&&(C=!1),this.current(C)===W&&(this.advance(C),!0)},B0.prototype.eatChars=function(W,C){C===void 0&&(C=!1);for(var y=this.pos,h=0,QZ=W;h<QZ.length;h+=1){var BZ=QZ[h],RZ=this.at(y,C);if(RZ===-1||RZ!==BZ)return!1;y=this.nextIndex(y,C)}return this.pos=y,!0},gZ.validateRegExpFlags=function(W){for(var{validFlags:C,flags:y}=W,h=!1,QZ=!1,BZ=0;BZ<y.length;BZ++){var RZ=y.charAt(BZ);C.indexOf(RZ)===-1&&this.raise(W.start,"Invalid regular expression flag"),y.indexOf(RZ,BZ+1)>-1&&this.raise(W.start,"Duplicate regular expression flag"),RZ==="u"&&(h=!0),RZ==="v"&&(QZ=!0)}this.options.ecmaVersion>=15&&h&&QZ&&this.raise(W.start,"Invalid regular expression flag")},gZ.validateRegExpPattern=function(W){this.regexp_pattern(W),!W.switchN&&this.options.ecmaVersion>=9&&function(C){for(var y in C)return!0;return!1}(W.groupNames)&&(W.switchN=!0,this.regexp_pattern(W))},gZ.regexp_pattern=function(W){W.pos=0,W.lastIntValue=0,W.lastStringValue="",W.lastAssertionIsQuantifiable=!1,W.numCapturingParens=0,W.maxBackReference=0,W.groupNames=Object.create(null),W.backReferenceNames.length=0,W.branchID=null,this.regexp_disjunction(W),W.pos!==W.source.length&&(W.eat(41)&&W.raise("Unmatched ')'"),(W.eat(93)||W.eat(125))&&W.raise("Lone quantifier brackets")),W.maxBackReference>W.numCapturingParens&&W.raise("Invalid escape");for(var C=0,y=W.backReferenceNames;C<y.length;C+=1){var h=y[C];W.groupNames[h]||W.raise("Invalid named capture referenced")}},gZ.regexp_disjunction=function(W){var C=this.options.ecmaVersion>=16;for(C&&(W.branchID=new G0(W.branchID,null)),this.regexp_alternative(W);W.eat(124);)C&&(W.branchID=W.branchID.sibling()),this.regexp_alternative(W);C&&(W.branchID=W.branchID.parent),this.regexp_eatQuantifier(W,!0)&&W.raise("Nothing to repeat"),W.eat(123)&&W.raise("Lone quantifier brackets")},gZ.regexp_alternative=function(W){for(;W.pos<W.source.length&&this.regexp_eatTerm(W););},gZ.regexp_eatTerm=function(W){return this.regexp_eatAssertion(W)?(W.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(W)&&W.switchU&&W.raise("Invalid quantifier"),!0):!!(W.switchU?this.regexp_eatAtom(W):this.regexp_eatExtendedAtom(W))&&(this.regexp_eatQuantifier(W),!0)},gZ.regexp_eatAssertion=function(W){var C=W.pos;if(W.lastAssertionIsQuantifiable=!1,W.eat(94)||W.eat(36))return!0;if(W.eat(92)){if(W.eat(66)||W.eat(98))return!0;W.pos=C}if(W.eat(40)&&W.eat(63)){var y=!1;if(this.options.ecmaVersion>=9&&(y=W.eat(60)),W.eat(61)||W.eat(33))return this.regexp_disjunction(W),W.eat(41)||W.raise("Unterminated group"),W.lastAssertionIsQuantifiable=!y,!0}return W.pos=C,!1},gZ.regexp_eatQuantifier=function(W,C){return C===void 0&&(C=!1),!!this.regexp_eatQuantifierPrefix(W,C)&&(W.eat(63),!0)},gZ.regexp_eatQuantifierPrefix=function(W,C){return W.eat(42)||W.eat(43)||W.eat(63)||this.regexp_eatBracedQuantifier(W,C)},gZ.regexp_eatBracedQuantifier=function(W,C){var y=W.pos;if(W.eat(123)){var h=0,QZ=-1;if(this.regexp_eatDecimalDigits(W)&&(h=W.lastIntValue,W.eat(44)&&this.regexp_eatDecimalDigits(W)&&(QZ=W.lastIntValue),W.eat(125)))return QZ!==-1&&QZ<h&&!C&&W.raise("numbers out of order in {} quantifier"),!0;W.switchU&&!C&&W.raise("Incomplete quantifier"),W.pos=y}return!1},gZ.regexp_eatAtom=function(W){return this.regexp_eatPatternCharacters(W)||W.eat(46)||this.regexp_eatReverseSolidusAtomEscape(W)||this.regexp_eatCharacterClass(W)||this.regexp_eatUncapturingGroup(W)||this.regexp_eatCapturingGroup(W)},gZ.regexp_eatReverseSolidusAtomEscape=function(W){var C=W.pos;if(W.eat(92)){if(this.regexp_eatAtomEscape(W))return!0;W.pos=C}return!1},gZ.regexp_eatUncapturingGroup=function(W){var C=W.pos;if(W.eat(40)){if(W.eat(63)){if(this.options.ecmaVersion>=16){var y=this.regexp_eatModifiers(W),h=W.eat(45);if(y||h){for(var QZ=0;QZ<y.length;QZ++){var BZ=y.charAt(QZ);y.indexOf(BZ,QZ+1)>-1&&W.raise("Duplicate regular expression modifiers")}if(h){var RZ=this.regexp_eatModifiers(W);y||RZ||W.current()!==58||W.raise("Invalid regular expression modifiers");for(var IZ=0;IZ<RZ.length;IZ++){var fZ=RZ.charAt(IZ);(RZ.indexOf(fZ,IZ+1)>-1||y.indexOf(fZ)>-1)&&W.raise("Duplicate regular expression modifiers")}}}}if(W.eat(58)){if(this.regexp_disjunction(W),W.eat(41))return!0;W.raise("Unterminated group")}}W.pos=C}return!1},gZ.regexp_eatCapturingGroup=function(W){if(W.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(W):W.current()===63&&W.raise("Invalid group"),this.regexp_disjunction(W),W.eat(41))return W.numCapturingParens+=1,!0;W.raise("Unterminated group")}return!1},gZ.regexp_eatModifiers=function(W){for(var C="",y=0;(y=W.current())!==-1&&A0(y);)C+=kZ(y),W.advance();return C},gZ.regexp_eatExtendedAtom=function(W){return W.eat(46)||this.regexp_eatReverseSolidusAtomEscape(W)||this.regexp_eatCharacterClass(W)||this.regexp_eatUncapturingGroup(W)||this.regexp_eatCapturingGroup(W)||this.regexp_eatInvalidBracedQuantifier(W)||this.regexp_eatExtendedPatternCharacter(W)},gZ.regexp_eatInvalidBracedQuantifier=function(W){return this.regexp_eatBracedQuantifier(W,!0)&&W.raise("Nothing to repeat"),!1},gZ.regexp_eatSyntaxCharacter=function(W){var C=W.current();return!!xZ(C)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatPatternCharacters=function(W){for(var C=W.pos,y=0;(y=W.current())!==-1&&!xZ(y);)W.advance();return W.pos!==C},gZ.regexp_eatExtendedPatternCharacter=function(W){var C=W.current();return!(C===-1||C===36||C>=40&&C<=43||C===46||C===63||C===91||C===94||C===124)&&(W.advance(),!0)},gZ.regexp_groupSpecifier=function(W){if(W.eat(63)){this.regexp_eatGroupName(W)||W.raise("Invalid group");var C=this.options.ecmaVersion>=16,y=W.groupNames[W.lastStringValue];if(y)if(C)for(var h=0,QZ=y;h<QZ.length;h+=1)QZ[h].separatedFrom(W.branchID)||W.raise("Duplicate capture group name");else W.raise("Duplicate capture group name");C?(y||(W.groupNames[W.lastStringValue]=[])).push(W.branchID):W.groupNames[W.lastStringValue]=!0}},gZ.regexp_eatGroupName=function(W){if(W.lastStringValue="",W.eat(60)){if(this.regexp_eatRegExpIdentifierName(W)&&W.eat(62))return!0;W.raise("Invalid capture group name")}return!1},gZ.regexp_eatRegExpIdentifierName=function(W){if(W.lastStringValue="",this.regexp_eatRegExpIdentifierStart(W)){for(W.lastStringValue+=kZ(W.lastIntValue);this.regexp_eatRegExpIdentifierPart(W);)W.lastStringValue+=kZ(W.lastIntValue);return!0}return!1},gZ.regexp_eatRegExpIdentifierStart=function(W){var C=W.pos,y=this.options.ecmaVersion>=11,h=W.current(y);return W.advance(y),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(W,y)&&(h=W.lastIntValue),function(QZ){return XZ(QZ,!0)||QZ===36||QZ===95}(h)?(W.lastIntValue=h,!0):(W.pos=C,!1)},gZ.regexp_eatRegExpIdentifierPart=function(W){var C=W.pos,y=this.options.ecmaVersion>=11,h=W.current(y);return W.advance(y),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(W,y)&&(h=W.lastIntValue),function(QZ){return YZ(QZ,!0)||QZ===36||QZ===95||QZ===8204||QZ===8205}(h)?(W.lastIntValue=h,!0):(W.pos=C,!1)},gZ.regexp_eatAtomEscape=function(W){return!!(this.regexp_eatBackReference(W)||this.regexp_eatCharacterClassEscape(W)||this.regexp_eatCharacterEscape(W)||W.switchN&&this.regexp_eatKGroupName(W))||(W.switchU&&(W.current()===99&&W.raise("Invalid unicode escape"),W.raise("Invalid escape")),!1)},gZ.regexp_eatBackReference=function(W){var C=W.pos;if(this.regexp_eatDecimalEscape(W)){var y=W.lastIntValue;if(W.switchU)return y>W.maxBackReference&&(W.maxBackReference=y),!0;if(y<=W.numCapturingParens)return!0;W.pos=C}return!1},gZ.regexp_eatKGroupName=function(W){if(W.eat(107)){if(this.regexp_eatGroupName(W))return W.backReferenceNames.push(W.lastStringValue),!0;W.raise("Invalid named reference")}return!1},gZ.regexp_eatCharacterEscape=function(W){return this.regexp_eatControlEscape(W)||this.regexp_eatCControlLetter(W)||this.regexp_eatZero(W)||this.regexp_eatHexEscapeSequence(W)||this.regexp_eatRegExpUnicodeEscapeSequence(W,!1)||!W.switchU&&this.regexp_eatLegacyOctalEscapeSequence(W)||this.regexp_eatIdentityEscape(W)},gZ.regexp_eatCControlLetter=function(W){var C=W.pos;if(W.eat(99)){if(this.regexp_eatControlLetter(W))return!0;W.pos=C}return!1},gZ.regexp_eatZero=function(W){return W.current()===48&&!E0(W.lookahead())&&(W.lastIntValue=0,W.advance(),!0)},gZ.regexp_eatControlEscape=function(W){var C=W.current();return C===116?(W.lastIntValue=9,W.advance(),!0):C===110?(W.lastIntValue=10,W.advance(),!0):C===118?(W.lastIntValue=11,W.advance(),!0):C===102?(W.lastIntValue=12,W.advance(),!0):C===114&&(W.lastIntValue=13,W.advance(),!0)},gZ.regexp_eatControlLetter=function(W){var C=W.current();return!!j0(C)&&(W.lastIntValue=C%32,W.advance(),!0)},gZ.regexp_eatRegExpUnicodeEscapeSequence=function(W,C){C===void 0&&(C=!1);var y,h=W.pos,QZ=C||W.switchU;if(W.eat(117)){if(this.regexp_eatFixedHexDigits(W,4)){var BZ=W.lastIntValue;if(QZ&&BZ>=55296&&BZ<=56319){var RZ=W.pos;if(W.eat(92)&&W.eat(117)&&this.regexp_eatFixedHexDigits(W,4)){var IZ=W.lastIntValue;if(IZ>=56320&&IZ<=57343)return W.lastIntValue=1024*(BZ-55296)+(IZ-56320)+65536,!0}W.pos=RZ,W.lastIntValue=BZ}return!0}if(QZ&&W.eat(123)&&this.regexp_eatHexDigits(W)&&W.eat(125)&&((y=W.lastIntValue)>=0&&y<=1114111))return!0;QZ&&W.raise("Invalid unicode escape"),W.pos=h}return!1},gZ.regexp_eatIdentityEscape=function(W){if(W.switchU)return!!this.regexp_eatSyntaxCharacter(W)||!!W.eat(47)&&(W.lastIntValue=47,!0);var C=W.current();return!(C===99||W.switchN&&C===107)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatDecimalEscape=function(W){W.lastIntValue=0;var C=W.current();if(C>=49&&C<=57){do W.lastIntValue=10*W.lastIntValue+(C-48),W.advance();while((C=W.current())>=48&&C<=57);return!0}return!1};function C0(W){return j0(W)||W===95}function T0(W){return C0(W)||E0(W)}function E0(W){return W>=48&&W<=57}function P0(W){return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102}function b0(W){return W>=65&&W<=70?W-65+10:W>=97&&W<=102?W-97+10:W-48}function e0(W){return W>=48&&W<=55}gZ.regexp_eatCharacterClassEscape=function(W){var C=W.current();if(function(QZ){return QZ===100||QZ===68||QZ===115||QZ===83||QZ===119||QZ===87}(C))return W.lastIntValue=-1,W.advance(),1;var y=!1;if(W.switchU&&this.options.ecmaVersion>=9&&((y=C===80)||C===112)){var h;if(W.lastIntValue=-1,W.advance(),W.eat(123)&&(h=this.regexp_eatUnicodePropertyValueExpression(W))&&W.eat(125))return y&&h===2&&W.raise("Invalid property name"),h;W.raise("Invalid property name")}return 0},gZ.regexp_eatUnicodePropertyValueExpression=function(W){var C=W.pos;if(this.regexp_eatUnicodePropertyName(W)&&W.eat(61)){var y=W.lastStringValue;if(this.regexp_eatUnicodePropertyValue(W)){var h=W.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(W,y,h),1}}if(W.pos=C,this.regexp_eatLoneUnicodePropertyNameOrValue(W)){var QZ=W.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(W,QZ)}return 0},gZ.regexp_validateUnicodePropertyNameAndValue=function(W,C,y){l(W.unicodeProperties.nonBinary,C)||W.raise("Invalid property name"),W.unicodeProperties.nonBinary[C].test(y)||W.raise("Invalid property value")},gZ.regexp_validateUnicodePropertyNameOrValue=function(W,C){return W.unicodeProperties.binary.test(C)?1:W.switchV&&W.unicodeProperties.binaryOfStrings.test(C)?2:void W.raise("Invalid property name")},gZ.regexp_eatUnicodePropertyName=function(W){var C=0;for(W.lastStringValue="";C0(C=W.current());)W.lastStringValue+=kZ(C),W.advance();return W.lastStringValue!==""},gZ.regexp_eatUnicodePropertyValue=function(W){var C=0;for(W.lastStringValue="";T0(C=W.current());)W.lastStringValue+=kZ(C),W.advance();return W.lastStringValue!==""},gZ.regexp_eatLoneUnicodePropertyNameOrValue=function(W){return this.regexp_eatUnicodePropertyValue(W)},gZ.regexp_eatCharacterClass=function(W){if(W.eat(91)){var C=W.eat(94),y=this.regexp_classContents(W);return W.eat(93)||W.raise("Unterminated character class"),C&&y===2&&W.raise("Negated character class may contain strings"),!0}return!1},gZ.regexp_classContents=function(W){return W.current()===93?1:W.switchV?this.regexp_classSetExpression(W):(this.regexp_nonEmptyClassRanges(W),1)},gZ.regexp_nonEmptyClassRanges=function(W){for(;this.regexp_eatClassAtom(W);){var C=W.lastIntValue;if(W.eat(45)&&this.regexp_eatClassAtom(W)){var y=W.lastIntValue;!W.switchU||C!==-1&&y!==-1||W.raise("Invalid character class"),C!==-1&&y!==-1&&C>y&&W.raise("Range out of order in character class")}}},gZ.regexp_eatClassAtom=function(W){var C=W.pos;if(W.eat(92)){if(this.regexp_eatClassEscape(W))return!0;if(W.switchU){var y=W.current();(y===99||e0(y))&&W.raise("Invalid class escape"),W.raise("Invalid escape")}W.pos=C}var h=W.current();return h!==93&&(W.lastIntValue=h,W.advance(),!0)},gZ.regexp_eatClassEscape=function(W){var C=W.pos;if(W.eat(98))return W.lastIntValue=8,!0;if(W.switchU&&W.eat(45))return W.lastIntValue=45,!0;if(!W.switchU&&W.eat(99)){if(this.regexp_eatClassControlLetter(W))return!0;W.pos=C}return this.regexp_eatCharacterClassEscape(W)||this.regexp_eatCharacterEscape(W)},gZ.regexp_classSetExpression=function(W){var C,y=1;if(this.regexp_eatClassSetRange(W));else if(C=this.regexp_eatClassSetOperand(W)){C===2&&(y=2);for(var h=W.pos;W.eatChars([38,38]);)W.current()!==38&&(C=this.regexp_eatClassSetOperand(W))?C!==2&&(y=1):W.raise("Invalid character in character class");if(h!==W.pos)return y;for(;W.eatChars([45,45]);)this.regexp_eatClassSetOperand(W)||W.raise("Invalid character in character class");if(h!==W.pos)return y}else W.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(W)){if(!(C=this.regexp_eatClassSetOperand(W)))return y;C===2&&(y=2)}},gZ.regexp_eatClassSetRange=function(W){var C=W.pos;if(this.regexp_eatClassSetCharacter(W)){var y=W.lastIntValue;if(W.eat(45)&&this.regexp_eatClassSetCharacter(W)){var h=W.lastIntValue;return y!==-1&&h!==-1&&y>h&&W.raise("Range out of order in character class"),!0}W.pos=C}return!1},gZ.regexp_eatClassSetOperand=function(W){return this.regexp_eatClassSetCharacter(W)?1:this.regexp_eatClassStringDisjunction(W)||this.regexp_eatNestedClass(W)},gZ.regexp_eatNestedClass=function(W){var C=W.pos;if(W.eat(91)){var y=W.eat(94),h=this.regexp_classContents(W);if(W.eat(93))return y&&h===2&&W.raise("Negated character class may contain strings"),h;W.pos=C}if(W.eat(92)){var QZ=this.regexp_eatCharacterClassEscape(W);if(QZ)return QZ;W.pos=C}return null},gZ.regexp_eatClassStringDisjunction=function(W){var C=W.pos;if(W.eatChars([92,113])){if(W.eat(123)){var y=this.regexp_classStringDisjunctionContents(W);if(W.eat(125))return y}else W.raise("Invalid escape");W.pos=C}return null},gZ.regexp_classStringDisjunctionContents=function(W){for(var C=this.regexp_classString(W);W.eat(124);)this.regexp_classString(W)===2&&(C=2);return C},gZ.regexp_classString=function(W){for(var C=0;this.regexp_eatClassSetCharacter(W);)C++;return C===1?1:2},gZ.regexp_eatClassSetCharacter=function(W){var C=W.pos;if(W.eat(92))return!(!this.regexp_eatCharacterEscape(W)&&!this.regexp_eatClassSetReservedPunctuator(W))||(W.eat(98)?(W.lastIntValue=8,!0):(W.pos=C,!1));var y=W.current();return!(y<0||y===W.lookahead()&&function(h){return h===33||h>=35&&h<=38||h>=42&&h<=44||h===46||h>=58&&h<=64||h===94||h===96||h===126}(y))&&(!function(h){return h===40||h===41||h===45||h===47||h>=91&&h<=93||h>=123&&h<=125}(y)&&(W.advance(),W.lastIntValue=y,!0))},gZ.regexp_eatClassSetReservedPunctuator=function(W){var C=W.current();return!!function(y){return y===33||y===35||y===37||y===38||y===44||y===45||y>=58&&y<=62||y===64||y===96||y===126}(C)&&(W.lastIntValue=C,W.advance(),!0)},gZ.regexp_eatClassControlLetter=function(W){var C=W.current();return!(!E0(C)&&C!==95)&&(W.lastIntValue=C%32,W.advance(),!0)},gZ.regexp_eatHexEscapeSequence=function(W){var C=W.pos;if(W.eat(120)){if(this.regexp_eatFixedHexDigits(W,2))return!0;W.switchU&&W.raise("Invalid escape"),W.pos=C}return!1},gZ.regexp_eatDecimalDigits=function(W){var C=W.pos,y=0;for(W.lastIntValue=0;E0(y=W.current());)W.lastIntValue=10*W.lastIntValue+(y-48),W.advance();return W.pos!==C},gZ.regexp_eatHexDigits=function(W){var C=W.pos,y=0;for(W.lastIntValue=0;P0(y=W.current());)W.lastIntValue=16*W.lastIntValue+b0(y),W.advance();return W.pos!==C},gZ.regexp_eatLegacyOctalEscapeSequence=function(W){if(this.regexp_eatOctalDigit(W)){var C=W.lastIntValue;if(this.regexp_eatOctalDigit(W)){var y=W.lastIntValue;C<=3&&this.regexp_eatOctalDigit(W)?W.lastIntValue=64*C+8*y+W.lastIntValue:W.lastIntValue=8*C+y}else W.lastIntValue=C;return!0}return!1},gZ.regexp_eatOctalDigit=function(W){var C=W.current();return e0(C)?(W.lastIntValue=C-48,W.advance(),!0):(W.lastIntValue=0,!1)},gZ.regexp_eatFixedHexDigits=function(W,C){var y=W.pos;W.lastIntValue=0;for(var h=0;h<C;++h){var QZ=W.current();if(!P0(QZ))return W.pos=y,!1;W.lastIntValue=16*W.lastIntValue+b0(QZ),W.advance()}return!0};var o0=function(W){this.type=W.type,this.value=W.value,this.start=W.start,this.end=W.end,W.options.locations&&(this.loc=new W0(W,W.startLoc,W.endLoc)),W.options.ranges&&(this.range=[W.start,W.end])},U0=uZ.prototype;function Z5(W){return typeof BigInt!="function"?null:BigInt(W.replace(/_/g,""))}U0.next=function(W){!W&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new o0(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},U0.getToken=function(){return this.next(),new o0(this)},typeof Symbol<"u"&&(U0[Symbol.iterator]=function(){var W=this;return{next:function(){var C=W.getToken();return{done:C.type===c.eof,value:C}}}}),U0.nextToken=function(){var W=this.curContext();return W&&W.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(c.eof):W.override?W.override(this):void this.readToken(this.fullCharCodeAtPos())},U0.readToken=function(W){return XZ(W,this.options.ecmaVersion>=6)||W===92?this.readWord():this.getTokenFromCode(W)},U0.fullCharCodeAtPos=function(){var W=this.input.charCodeAt(this.pos);if(W<=55295||W>=56320)return W;var C=this.input.charCodeAt(this.pos+1);return C<=56319||C>=57344?W:(W<<10)+C-56613888},U0.skipBlockComment=function(){var W=this.options.onComment&&this.curPosition(),C=this.pos,y=this.input.indexOf("*/",this.pos+=2);if(y===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=y+2,this.options.locations)for(var h=void 0,QZ=C;(h=Q0(this.input,QZ,this.pos))>-1;)++this.curLine,QZ=this.lineStart=h;this.options.onComment&&this.options.onComment(!0,this.input.slice(C+2,y),C,this.pos,W,this.curPosition())},U0.skipLineComment=function(W){for(var C=this.pos,y=this.options.onComment&&this.curPosition(),h=this.input.charCodeAt(this.pos+=W);this.pos<this.input.length&&!sZ(h);)h=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(C+W,this.pos),C,this.pos,y,this.curPosition())},U0.skipSpace=function(){Z:for(;this.pos<this.input.length;){var W=this.input.charCodeAt(this.pos);switch(W){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++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 Z}break;default:if(!(W>8&&W<14||W>=5760&&dZ.test(String.fromCharCode(W))))break Z;++this.pos}}},U0.finishToken=function(W,C){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var y=this.type;this.type=W,this.value=C,this.updateContext(y)},U0.readToken_dot=function(){var W=this.input.charCodeAt(this.pos+1);if(W>=48&&W<=57)return this.readNumber(!0);var C=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&W===46&&C===46?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},U0.readToken_slash=function(){var W=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):W===61?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},U0.readToken_mult_modulo_exp=function(W){var C=this.input.charCodeAt(this.pos+1),y=1,h=W===42?c.star:c.modulo;return this.options.ecmaVersion>=7&&W===42&&C===42&&(++y,h=c.starstar,C=this.input.charCodeAt(this.pos+2)),C===61?this.finishOp(c.assign,y+1):this.finishOp(h,y)},U0.readToken_pipe_amp=function(W){var C=this.input.charCodeAt(this.pos+1);if(C===W){if(this.options.ecmaVersion>=12){if(this.input.charCodeAt(this.pos+2)===61)return this.finishOp(c.assign,3)}return this.finishOp(W===124?c.logicalOR:c.logicalAND,2)}return C===61?this.finishOp(c.assign,2):this.finishOp(W===124?c.bitwiseOR:c.bitwiseAND,1)},U0.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},U0.readToken_plus_min=function(W){var C=this.input.charCodeAt(this.pos+1);return C===W?C!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!TZ.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(c.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):C===61?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},U0.readToken_lt_gt=function(W){var C=this.input.charCodeAt(this.pos+1),y=1;return C===W?(y=W===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+y)===61?this.finishOp(c.assign,y+1):this.finishOp(c.bitShift,y)):C!==33||W!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(C===61&&(y=2),this.finishOp(c.relational,y)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},U0.readToken_eq_excl=function(W){var C=this.input.charCodeAt(this.pos+1);return C===61?this.finishOp(c.equality,this.input.charCodeAt(this.pos+2)===61?3:2):W===61&&C===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(W===61?c.eq:c.prefix,1)},U0.readToken_question=function(){var W=this.options.ecmaVersion;if(W>=11){var C=this.input.charCodeAt(this.pos+1);if(C===46){var y=this.input.charCodeAt(this.pos+2);if(y<48||y>57)return this.finishOp(c.questionDot,2)}if(C===63){if(W>=12){if(this.input.charCodeAt(this.pos+2)===61)return this.finishOp(c.assign,3)}return this.finishOp(c.coalesce,2)}}return this.finishOp(c.question,1)},U0.readToken_numberSign=function(){var W=35;if(this.options.ecmaVersion>=13&&(++this.pos,XZ(W=this.fullCharCodeAtPos(),!0)||W===92))return this.finishToken(c.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+kZ(W)+"'")},U0.getTokenFromCode=function(W){switch(W){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var C=this.input.charCodeAt(this.pos+1);if(C===120||C===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(C===111||C===79)return this.readRadixNumber(8);if(C===98||C===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(W);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(W);case 124:case 38:return this.readToken_pipe_amp(W);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(W);case 60:case 62:return this.readToken_lt_gt(W);case 61:case 33:return this.readToken_eq_excl(W);case 63:return this.readToken_question();case 126:return this.finishOp(c.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+kZ(W)+"'")},U0.finishOp=function(W,C){var y=this.input.slice(this.pos,this.pos+C);return this.pos+=C,this.finishToken(W,y)},U0.readRegexp=function(){for(var W,C,y=this.pos;;){this.pos>=this.input.length&&this.raise(y,"Unterminated regular expression");var h=this.input.charAt(this.pos);if(TZ.test(h)&&this.raise(y,"Unterminated regular expression"),W)W=!1;else{if(h==="[")C=!0;else if(h==="]"&&C)C=!1;else if(h==="/"&&!C)break;W=h==="\\"}++this.pos}var QZ=this.input.slice(y,this.pos);++this.pos;var BZ=this.pos,RZ=this.readWord1();this.containsEsc&&this.unexpected(BZ);var IZ=this.regexpState||(this.regexpState=new B0(this));IZ.reset(y,QZ,RZ),this.validateRegExpFlags(IZ),this.validateRegExpPattern(IZ);var fZ=null;try{fZ=new RegExp(QZ,RZ)}catch(rZ){}return this.finishToken(c.regexp,{pattern:QZ,flags:RZ,value:fZ})},U0.readInt=function(W,C,y){for(var h=this.options.ecmaVersion>=12&&C===void 0,QZ=y&&this.input.charCodeAt(this.pos)===48,BZ=this.pos,RZ=0,IZ=0,fZ=0,rZ=C==null?1/0:C;fZ<rZ;++fZ,++this.pos){var vZ=this.input.charCodeAt(this.pos),V0=void 0;if(h&&vZ===95)QZ&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),IZ===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),fZ===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),IZ=vZ;else{if((V0=vZ>=97?vZ-97+10:vZ>=65?vZ-65+10:vZ>=48&&vZ<=57?vZ-48:1/0)>=W)break;IZ=vZ,RZ=RZ*W+V0}}return h&&IZ===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===BZ||C!=null&&this.pos-BZ!==C?null:RZ},U0.readRadixNumber=function(W){var C=this.pos;this.pos+=2;var y=this.readInt(W);return y==null&&this.raise(this.start+2,"Expected number in radix "+W),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(y=Z5(this.input.slice(C,this.pos)),++this.pos):XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,y)},U0.readNumber=function(W){var C=this.pos;W||this.readInt(10,void 0,!0)!==null||this.raise(C,"Invalid number");var y=this.pos-C>=2&&this.input.charCodeAt(C)===48;y&&this.strict&&this.raise(C,"Invalid number");var h=this.input.charCodeAt(this.pos);if(!y&&!W&&this.options.ecmaVersion>=11&&h===110){var QZ=Z5(this.input.slice(C,this.pos));return++this.pos,XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,QZ)}y&&/[89]/.test(this.input.slice(C,this.pos))&&(y=!1),h!==46||y||(++this.pos,this.readInt(10),h=this.input.charCodeAt(this.pos)),h!==69&&h!==101||y||((h=this.input.charCodeAt(++this.pos))!==43&&h!==45||++this.pos,this.readInt(10)===null&&this.raise(C,"Invalid number")),XZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var BZ,RZ=(BZ=this.input.slice(C,this.pos),y?parseInt(BZ,8):parseFloat(BZ.replace(/_/g,"")));return this.finishToken(c.num,RZ)},U0.readCodePoint=function(){var W;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var C=++this.pos;W=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,W>1114111&&this.invalidStringToken(C,"Code point out of bounds")}else W=this.readHexChar(4);return W},U0.readString=function(W){for(var C="",y=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var h=this.input.charCodeAt(this.pos);if(h===W)break;h===92?(C+=this.input.slice(y,this.pos),C+=this.readEscapedChar(!1),y=this.pos):h===8232||h===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(sZ(h)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return C+=this.input.slice(y,this.pos++),this.finishToken(c.string,C)};var R5={};U0.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(W){if(W!==R5)throw W;this.readInvalidTemplateToken()}this.inTemplateElement=!1},U0.invalidStringToken=function(W,C){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw R5;this.raise(W,C)},U0.readTmplToken=function(){for(var W="",C=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var y=this.input.charCodeAt(this.pos);if(y===96||y===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==c.template&&this.type!==c.invalidTemplate?(W+=this.input.slice(C,this.pos),this.finishToken(c.template,W)):y===36?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote));if(y===92)W+=this.input.slice(C,this.pos),W+=this.readEscapedChar(!0),C=this.pos;else if(sZ(y)){switch(W+=this.input.slice(C,this.pos),++this.pos,y){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:W+=`
|
|
11
11
|
`;break;default:W+=String.fromCharCode(y)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),C=this.pos}else++this.pos}},U0.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(c.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
12
12
|
`&&++this.pos;case`
|
|
13
13
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},U0.readEscapedChar=function(W){var C=this.input.charCodeAt(++this.pos);switch(++this.pos,C){case 110:return`
|
|
14
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return kZ(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++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"),W){var y=this.pos-1;this.invalidStringToken(y,"Invalid escape sequence in template string")}default:if(C>=48&&C<=55){var h=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],QZ=parseInt(h,8);return QZ>255&&(h=h.slice(0,-1),QZ=parseInt(h,8)),this.pos+=h.length-1,C=this.input.charCodeAt(this.pos),h==="0"&&C!==56&&C!==57||!this.strict&&!W||this.invalidStringToken(this.pos-1-h.length,W?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(QZ)}return sZ(C)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(C)}},U0.readHexChar=function(W){var C=this.pos,y=this.readInt(16,W);return y===null&&this.invalidStringToken(C,"Bad character escape sequence"),y},U0.readWord1=function(){this.containsEsc=!1;for(var W="",C=!0,y=this.pos,h=this.options.ecmaVersion>=6;this.pos<this.input.length;){var QZ=this.fullCharCodeAtPos();if(YZ(QZ,h))this.pos+=QZ<=65535?1:2;else{if(QZ!==92)break;this.containsEsc=!0,W+=this.input.slice(y,this.pos);var BZ=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var RZ=this.readCodePoint();(C?XZ:YZ)(RZ,h)||this.invalidStringToken(BZ,"Invalid Unicode escape"),W+=kZ(RZ),y=this.pos}C=!1}return W+this.input.slice(y,this.pos)},U0.readWord=function(){var W=this.readWord1(),C=c.name;return this.keywords.test(W)&&(C=JZ[W]),this.finishToken(C,W)},uZ.acorn={Parser:uZ,version:"8.14.0",defaultOptions:MZ,Position:aZ,SourceLocation:W0,getLineInfo:KZ,Node:c0,TokenType:OZ,tokTypes:c,keywordTypes:JZ,TokContext:i0,tokContexts:I0,isIdentifierChar:YZ,isIdentifierStart:XZ,Token:o0,isNewLine:sZ,lineBreak:TZ,lineBreakG:nZ,nonASCIIwhitespace:dZ};let U5=h0("module"),$5=h0("fs");String.fromCharCode;let f5=/\/$|\/\?|\/#/,m5=/^\.?\//;function v5(W="",C){return C?f5.test(W):W.endsWith("/")}function c5(W="",C){if(!C)return W.endsWith("/")?W:W+"/";if(v5(W,!0))return W||"/";let y=W,h="",QZ=W.indexOf("#");if(QZ>=0&&(y=W.slice(0,QZ),h=W.slice(QZ),!y))return h;let[BZ,...RZ]=y.split("?");return BZ+"/"+(RZ.length>0?`?${RZ.join("?")}`:"")+h}function x5(W){return W&&W!=="/"}function l5(W,...C){let y=W||"";for(let h of C.filter((QZ)=>x5(QZ)))if(y){let QZ=h.replace(m5,"");y=c5(y)+QZ}else y=h;return y}let R0=h0("url"),M5=h0("assert"),H=h0("process"),K=h0("path"),B=h0("v8"),L=h0("util"),S=new Set(U5.builtinModules);function x(W){return W.replace(/\\/g,"/")}let e={}.hasOwnProperty,WZ=/^([A-Z][a-z\d]*)+$/,zZ=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),FZ={};function _Z(W,C="and"){return W.length<3?W.join(` ${C} `):`${W.slice(0,-1).join(", ")}, ${C} ${W[W.length-1]}`}let oZ=new Map,Z0;function K0(W,C,y){return oZ.set(W,C),function(h,QZ){return BZ;function BZ(...RZ){let IZ=Error.stackTraceLimit;D0()&&(Error.stackTraceLimit=0);let fZ=new h;D0()&&(Error.stackTraceLimit=IZ);let rZ=function(vZ,V0,J0){let w0=oZ.get(vZ);if(M5(w0!==void 0,"expected `message` to be found"),typeof w0=="function")return M5(w0.length<=V0.length,`Code: ${vZ}; The provided arguments length (${V0.length}) does not match the required ones (${w0.length}).`),Reflect.apply(w0,J0,V0);let _0=/%[dfijoOs]/g,t0=0;for(;_0.exec(w0)!==null;)t0++;return M5(t0===V0.length,`Code: ${vZ}; The provided arguments length (${V0.length}) does not match the required ones (${t0}).`),V0.length===0?w0:(V0.unshift(w0),Reflect.apply(L.format,null,V0))}(QZ,RZ,fZ);return Object.defineProperties(fZ,{message:{value:rZ,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${QZ}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),r0(fZ),fZ.code=QZ,fZ}}(y,W)}function D0(){try{if(B.startupSnapshot.isBuildingSnapshot())return!1}catch{}let W=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return W===void 0?Object.isExtensible(Error):e.call(W,"writable")&&W.writable!==void 0?W.writable:W.set!==void 0}FZ.ERR_INVALID_ARG_TYPE=K0("ERR_INVALID_ARG_TYPE",(W,C,y)=>{M5(typeof W=="string","'name' must be a string"),Array.isArray(C)||(C=[C]);let h="The ";if(W.endsWith(" argument"))h+=`${W} `;else{let IZ=W.includes(".")?"property":"argument";h+=`"${W}" ${IZ} `}h+="must be ";let QZ=[],BZ=[],RZ=[];for(let IZ of C)M5(typeof IZ=="string","All expected entries have to be of type string"),zZ.has(IZ)?QZ.push(IZ.toLowerCase()):WZ.exec(IZ)===null?(M5(IZ!=="object",'The value "object" should be written as "Object"'),RZ.push(IZ)):BZ.push(IZ);if(BZ.length>0){let IZ=QZ.indexOf("object");IZ!==-1&&(QZ.slice(IZ,1),BZ.push("Object"))}return QZ.length>0&&(h+=`${QZ.length>1?"one of type":"of type"} ${_Z(QZ,"or")}`,(BZ.length>0||RZ.length>0)&&(h+=" or ")),BZ.length>0&&(h+=`an instance of ${_Z(BZ,"or")}`,RZ.length>0&&(h+=" or ")),RZ.length>0&&(RZ.length>1?h+=`one of ${_Z(RZ,"or")}`:(RZ[0].toLowerCase()!==RZ[0]&&(h+="an "),h+=`${RZ[0]}`)),h+=`. Received ${function(IZ){if(IZ==null)return String(IZ);if(typeof IZ=="function"&&IZ.name)return`function ${IZ.name}`;if(typeof IZ=="object")return IZ.constructor&&IZ.constructor.name?`an instance of ${IZ.constructor.name}`:`${(0,L.inspect)(IZ,{depth:-1})}`;let fZ=(0,L.inspect)(IZ,{colors:!1});return fZ.length>28&&(fZ=`${fZ.slice(0,25)}...`),`type ${typeof IZ} (${fZ})`}(y)}`,h},TypeError),FZ.ERR_INVALID_MODULE_SPECIFIER=K0("ERR_INVALID_MODULE_SPECIFIER",(W,C,y=void 0)=>`Invalid module "${W}" ${C}${y?` imported from ${y}`:""}`,TypeError),FZ.ERR_INVALID_PACKAGE_CONFIG=K0("ERR_INVALID_PACKAGE_CONFIG",(W,C,y)=>`Invalid package config ${W}${C?` while importing ${C}`:""}${y?`. ${y}`:""}`,Error),FZ.ERR_INVALID_PACKAGE_TARGET=K0("ERR_INVALID_PACKAGE_TARGET",(W,C,y,h=!1,QZ=void 0)=>{let BZ=typeof y=="string"&&!h&&y.length>0&&!y.startsWith("./");return C==="."?(M5(h===!1),`Invalid "exports" main target ${JSON.stringify(y)} defined in the package config ${W}package.json${QZ?` imported from ${QZ}`:""}${BZ?'; targets must start with "./"':""}`):`Invalid "${h?"imports":"exports"}" target ${JSON.stringify(y)} defined for '${C}' in the package config ${W}package.json${QZ?` imported from ${QZ}`:""}${BZ?'; targets must start with "./"':""}`},Error),FZ.ERR_MODULE_NOT_FOUND=K0("ERR_MODULE_NOT_FOUND",(W,C,y=!1)=>`Cannot find ${y?"module":"package"} '${W}' imported from ${C}`,Error),FZ.ERR_NETWORK_IMPORT_DISALLOWED=K0("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),FZ.ERR_PACKAGE_IMPORT_NOT_DEFINED=K0("ERR_PACKAGE_IMPORT_NOT_DEFINED",(W,C,y)=>`Package import specifier "${W}" is not defined${C?` in package ${C}package.json`:""} imported from ${y}`,TypeError),FZ.ERR_PACKAGE_PATH_NOT_EXPORTED=K0("ERR_PACKAGE_PATH_NOT_EXPORTED",(W,C,y=void 0)=>C==="."?`No "exports" main defined in ${W}package.json${y?` imported from ${y}`:""}`:`Package subpath '${C}' is not defined by "exports" in ${W}package.json${y?` imported from ${y}`:""}`,Error),FZ.ERR_UNSUPPORTED_DIR_IMPORT=K0("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),FZ.ERR_UNSUPPORTED_RESOLVE_REQUEST=K0("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),FZ.ERR_UNKNOWN_FILE_EXTENSION=K0("ERR_UNKNOWN_FILE_EXTENSION",(W,C)=>`Unknown file extension "${W}" for ${C}`,TypeError),FZ.ERR_INVALID_ARG_VALUE=K0("ERR_INVALID_ARG_VALUE",(W,C,y="is invalid")=>{let h=(0,L.inspect)(C);return h.length>128&&(h=`${h.slice(0,128)}...`),`The ${W.includes(".")?"property":"argument"} '${W}' ${y}. Received ${h}`},TypeError);let r0=function(W){let C="__node_internal_"+W.name;return Object.defineProperty(W,"name",{value:C}),W}(function(W){let C=D0();return C&&(Z0=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(W),C&&(Error.stackTraceLimit=Z0),W}),S0={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:k0}=FZ,Q5=new Map;function i5(W,{base:C,specifier:y}){let h=Q5.get(W);if(h)return h;let QZ;try{QZ=$5.readFileSync(K.toNamespacedPath(W),"utf8")}catch(RZ){let IZ=RZ;if(IZ.code!=="ENOENT")throw IZ}let BZ={exists:!1,pjsonPath:W,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(QZ!==void 0){let RZ;try{RZ=JSON.parse(QZ)}catch(IZ){let fZ=IZ,rZ=new k0(W,(C?`"${y}" from `:"")+(0,R0.fileURLToPath)(C||y),fZ.message);throw rZ.cause=fZ,rZ}BZ.exists=!0,S0.call(RZ,"name")&&typeof RZ.name=="string"&&(BZ.name=RZ.name),S0.call(RZ,"main")&&typeof RZ.main=="string"&&(BZ.main=RZ.main),S0.call(RZ,"exports")&&(BZ.exports=RZ.exports),S0.call(RZ,"imports")&&(BZ.imports=RZ.imports),!S0.call(RZ,"type")||RZ.type!=="commonjs"&&RZ.type!=="module"||(BZ.type=RZ.type)}return Q5.set(W,BZ),BZ}function y5(W){let C=new URL("package.json",W);for(;;){if(C.pathname.endsWith("node_modules/package.json"))break;let y=i5((0,R0.fileURLToPath)(C),{specifier:W});if(y.exists)return y;let h=C;if(C=new URL("../package.json",C),C.pathname===h.pathname)break}return{pjsonPath:(0,R0.fileURLToPath)(C),exists:!1,type:"none"}}function Y6(W){return y5(W).type}let{ERR_UNKNOWN_FILE_EXTENSION:_6}=FZ,h6={}.hasOwnProperty,x6={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},K6={__proto__:null,"data:":function(W){let{1:C}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(W.pathname)||[null,null,null];return function(y){return y&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(y)?"module":y==="application/json"?"json":null}(C)},"file:":function(W,C,y){let h=function(RZ){let IZ=RZ.pathname,fZ=IZ.length;for(;fZ--;){let rZ=IZ.codePointAt(fZ);if(rZ===47)return"";if(rZ===46)return IZ.codePointAt(fZ-1)===47?"":IZ.slice(fZ)}return""}(W);if(h===".js"){let RZ=Y6(W);return RZ!=="none"?RZ:"commonjs"}if(h===""){let RZ=Y6(W);return RZ==="none"||RZ==="commonjs"?"commonjs":"module"}let QZ=x6[h];if(QZ)return QZ;if(y)return;let BZ=(0,R0.fileURLToPath)(W);throw new _6(h,BZ)},"http:":W6,"https:":W6,"node:":()=>"builtin"};function W6(){}let d5=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:X8,ERR_INVALID_MODULE_SPECIFIER:p5,ERR_INVALID_PACKAGE_CONFIG:H6,ERR_INVALID_PACKAGE_TARGET:u6,ERR_MODULE_NOT_FOUND:o5,ERR_PACKAGE_IMPORT_NOT_DEFINED:c6,ERR_PACKAGE_PATH_NOT_EXPORTED:l6,ERR_UNSUPPORTED_DIR_IMPORT:i6,ERR_UNSUPPORTED_RESOLVE_REQUEST:G6}=FZ,z6={}.hasOwnProperty,V6=/(^|\\|\/)((\.|%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,F6=/(^|\\|\/)((\.|%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,d6=/^\.|%|\\/,r5=/\*/g,p6=/%2f|%5c/i,B6=new Set,r6=/[/\\]{2}/;function R6(W,C,y,h,QZ,BZ,RZ){if(H.noDeprecation)return;let IZ=(0,R0.fileURLToPath)(h),fZ=r6.exec(RZ?W:C)!==null;H.emitWarning(`Use of deprecated ${fZ?"double slash":"leading or trailing slash matching"} resolving "${W}" for module request "${C}" ${C===y?"":`matched to "${y}" `}in the "${QZ?"imports":"exports"}" field module resolution of the package at ${IZ}${BZ?` imported from ${(0,R0.fileURLToPath)(BZ)}`:""}.`,"DeprecationWarning","DEP0166")}function j6(W,C,y,h){if(H.noDeprecation)return;if(function(fZ,rZ){let vZ=fZ.protocol;return h6.call(K6,vZ)&&K6[vZ](fZ,rZ,!0)||null}(W,{parentURL:y.href})!=="module")return;let BZ=(0,R0.fileURLToPath)(W.href),RZ=(0,R0.fileURLToPath)(new R0.URL(".",C)),IZ=(0,R0.fileURLToPath)(y);h?K.resolve(RZ,h)!==BZ&&H.emitWarning(`Package ${RZ} has a "main" field set to "${h}", excluding the full filename and extension to the resolved file at "${BZ.slice(RZ.length)}", imported from ${IZ}.
|
|
14
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return kZ(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++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"),W){var y=this.pos-1;this.invalidStringToken(y,"Invalid escape sequence in template string")}default:if(C>=48&&C<=55){var h=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],QZ=parseInt(h,8);return QZ>255&&(h=h.slice(0,-1),QZ=parseInt(h,8)),this.pos+=h.length-1,C=this.input.charCodeAt(this.pos),h==="0"&&C!==56&&C!==57||!this.strict&&!W||this.invalidStringToken(this.pos-1-h.length,W?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(QZ)}return sZ(C)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(C)}},U0.readHexChar=function(W){var C=this.pos,y=this.readInt(16,W);return y===null&&this.invalidStringToken(C,"Bad character escape sequence"),y},U0.readWord1=function(){this.containsEsc=!1;for(var W="",C=!0,y=this.pos,h=this.options.ecmaVersion>=6;this.pos<this.input.length;){var QZ=this.fullCharCodeAtPos();if(YZ(QZ,h))this.pos+=QZ<=65535?1:2;else{if(QZ!==92)break;this.containsEsc=!0,W+=this.input.slice(y,this.pos);var BZ=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var RZ=this.readCodePoint();(C?XZ:YZ)(RZ,h)||this.invalidStringToken(BZ,"Invalid Unicode escape"),W+=kZ(RZ),y=this.pos}C=!1}return W+this.input.slice(y,this.pos)},U0.readWord=function(){var W=this.readWord1(),C=c.name;return this.keywords.test(W)&&(C=JZ[W]),this.finishToken(C,W)},uZ.acorn={Parser:uZ,version:"8.14.0",defaultOptions:MZ,Position:aZ,SourceLocation:W0,getLineInfo:KZ,Node:c0,TokenType:OZ,tokTypes:c,keywordTypes:JZ,TokContext:i0,tokContexts:I0,isIdentifierChar:YZ,isIdentifierStart:XZ,Token:o0,isNewLine:sZ,lineBreak:TZ,lineBreakG:nZ,nonASCIIwhitespace:dZ};let L5=h0("module"),M5=h0("fs");String.fromCharCode;let f5=/\/$|\/\?|\/#/,m5=/^\.?\//;function v5(W="",C){return C?f5.test(W):W.endsWith("/")}function c5(W="",C){if(!C)return W.endsWith("/")?W:W+"/";if(v5(W,!0))return W||"/";let y=W,h="",QZ=W.indexOf("#");if(QZ>=0&&(y=W.slice(0,QZ),h=W.slice(QZ),!y))return h;let[BZ,...RZ]=y.split("?");return BZ+"/"+(RZ.length>0?`?${RZ.join("?")}`:"")+h}function x5(W){return W&&W!=="/"}function l5(W,...C){let y=W||"";for(let h of C.filter((QZ)=>x5(QZ)))if(y){let QZ=h.replace(m5,"");y=c5(y)+QZ}else y=h;return y}let R0=h0("url"),N5=h0("assert"),H=h0("process"),K=h0("path"),B=h0("v8"),L=h0("util"),S=new Set(L5.builtinModules);function x(W){return W.replace(/\\/g,"/")}let e={}.hasOwnProperty,WZ=/^([A-Z][a-z\d]*)+$/,zZ=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),FZ={};function _Z(W,C="and"){return W.length<3?W.join(` ${C} `):`${W.slice(0,-1).join(", ")}, ${C} ${W[W.length-1]}`}let oZ=new Map,Z0;function K0(W,C,y){return oZ.set(W,C),function(h,QZ){return BZ;function BZ(...RZ){let IZ=Error.stackTraceLimit;D0()&&(Error.stackTraceLimit=0);let fZ=new h;D0()&&(Error.stackTraceLimit=IZ);let rZ=function(vZ,V0,$0){let w0=oZ.get(vZ);if(N5(w0!==void 0,"expected `message` to be found"),typeof w0=="function")return N5(w0.length<=V0.length,`Code: ${vZ}; The provided arguments length (${V0.length}) does not match the required ones (${w0.length}).`),Reflect.apply(w0,$0,V0);let _0=/%[dfijoOs]/g,t0=0;for(;_0.exec(w0)!==null;)t0++;return N5(t0===V0.length,`Code: ${vZ}; The provided arguments length (${V0.length}) does not match the required ones (${t0}).`),V0.length===0?w0:(V0.unshift(w0),Reflect.apply(L.format,null,V0))}(QZ,RZ,fZ);return Object.defineProperties(fZ,{message:{value:rZ,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${QZ}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),r0(fZ),fZ.code=QZ,fZ}}(y,W)}function D0(){try{if(B.startupSnapshot.isBuildingSnapshot())return!1}catch{}let W=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return W===void 0?Object.isExtensible(Error):e.call(W,"writable")&&W.writable!==void 0?W.writable:W.set!==void 0}FZ.ERR_INVALID_ARG_TYPE=K0("ERR_INVALID_ARG_TYPE",(W,C,y)=>{N5(typeof W=="string","'name' must be a string"),Array.isArray(C)||(C=[C]);let h="The ";if(W.endsWith(" argument"))h+=`${W} `;else{let IZ=W.includes(".")?"property":"argument";h+=`"${W}" ${IZ} `}h+="must be ";let QZ=[],BZ=[],RZ=[];for(let IZ of C)N5(typeof IZ=="string","All expected entries have to be of type string"),zZ.has(IZ)?QZ.push(IZ.toLowerCase()):WZ.exec(IZ)===null?(N5(IZ!=="object",'The value "object" should be written as "Object"'),RZ.push(IZ)):BZ.push(IZ);if(BZ.length>0){let IZ=QZ.indexOf("object");IZ!==-1&&(QZ.slice(IZ,1),BZ.push("Object"))}return QZ.length>0&&(h+=`${QZ.length>1?"one of type":"of type"} ${_Z(QZ,"or")}`,(BZ.length>0||RZ.length>0)&&(h+=" or ")),BZ.length>0&&(h+=`an instance of ${_Z(BZ,"or")}`,RZ.length>0&&(h+=" or ")),RZ.length>0&&(RZ.length>1?h+=`one of ${_Z(RZ,"or")}`:(RZ[0].toLowerCase()!==RZ[0]&&(h+="an "),h+=`${RZ[0]}`)),h+=`. Received ${function(IZ){if(IZ==null)return String(IZ);if(typeof IZ=="function"&&IZ.name)return`function ${IZ.name}`;if(typeof IZ=="object")return IZ.constructor&&IZ.constructor.name?`an instance of ${IZ.constructor.name}`:`${(0,L.inspect)(IZ,{depth:-1})}`;let fZ=(0,L.inspect)(IZ,{colors:!1});return fZ.length>28&&(fZ=`${fZ.slice(0,25)}...`),`type ${typeof IZ} (${fZ})`}(y)}`,h},TypeError),FZ.ERR_INVALID_MODULE_SPECIFIER=K0("ERR_INVALID_MODULE_SPECIFIER",(W,C,y=void 0)=>`Invalid module "${W}" ${C}${y?` imported from ${y}`:""}`,TypeError),FZ.ERR_INVALID_PACKAGE_CONFIG=K0("ERR_INVALID_PACKAGE_CONFIG",(W,C,y)=>`Invalid package config ${W}${C?` while importing ${C}`:""}${y?`. ${y}`:""}`,Error),FZ.ERR_INVALID_PACKAGE_TARGET=K0("ERR_INVALID_PACKAGE_TARGET",(W,C,y,h=!1,QZ=void 0)=>{let BZ=typeof y=="string"&&!h&&y.length>0&&!y.startsWith("./");return C==="."?(N5(h===!1),`Invalid "exports" main target ${JSON.stringify(y)} defined in the package config ${W}package.json${QZ?` imported from ${QZ}`:""}${BZ?'; targets must start with "./"':""}`):`Invalid "${h?"imports":"exports"}" target ${JSON.stringify(y)} defined for '${C}' in the package config ${W}package.json${QZ?` imported from ${QZ}`:""}${BZ?'; targets must start with "./"':""}`},Error),FZ.ERR_MODULE_NOT_FOUND=K0("ERR_MODULE_NOT_FOUND",(W,C,y=!1)=>`Cannot find ${y?"module":"package"} '${W}' imported from ${C}`,Error),FZ.ERR_NETWORK_IMPORT_DISALLOWED=K0("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),FZ.ERR_PACKAGE_IMPORT_NOT_DEFINED=K0("ERR_PACKAGE_IMPORT_NOT_DEFINED",(W,C,y)=>`Package import specifier "${W}" is not defined${C?` in package ${C}package.json`:""} imported from ${y}`,TypeError),FZ.ERR_PACKAGE_PATH_NOT_EXPORTED=K0("ERR_PACKAGE_PATH_NOT_EXPORTED",(W,C,y=void 0)=>C==="."?`No "exports" main defined in ${W}package.json${y?` imported from ${y}`:""}`:`Package subpath '${C}' is not defined by "exports" in ${W}package.json${y?` imported from ${y}`:""}`,Error),FZ.ERR_UNSUPPORTED_DIR_IMPORT=K0("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),FZ.ERR_UNSUPPORTED_RESOLVE_REQUEST=K0("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),FZ.ERR_UNKNOWN_FILE_EXTENSION=K0("ERR_UNKNOWN_FILE_EXTENSION",(W,C)=>`Unknown file extension "${W}" for ${C}`,TypeError),FZ.ERR_INVALID_ARG_VALUE=K0("ERR_INVALID_ARG_VALUE",(W,C,y="is invalid")=>{let h=(0,L.inspect)(C);return h.length>128&&(h=`${h.slice(0,128)}...`),`The ${W.includes(".")?"property":"argument"} '${W}' ${y}. Received ${h}`},TypeError);let r0=function(W){let C="__node_internal_"+W.name;return Object.defineProperty(W,"name",{value:C}),W}(function(W){let C=D0();return C&&(Z0=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(W),C&&(Error.stackTraceLimit=Z0),W}),S0={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:k0}=FZ,Q5=new Map;function i5(W,{base:C,specifier:y}){let h=Q5.get(W);if(h)return h;let QZ;try{QZ=M5.readFileSync(K.toNamespacedPath(W),"utf8")}catch(RZ){let IZ=RZ;if(IZ.code!=="ENOENT")throw IZ}let BZ={exists:!1,pjsonPath:W,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(QZ!==void 0){let RZ;try{RZ=JSON.parse(QZ)}catch(IZ){let fZ=IZ,rZ=new k0(W,(C?`"${y}" from `:"")+(0,R0.fileURLToPath)(C||y),fZ.message);throw rZ.cause=fZ,rZ}BZ.exists=!0,S0.call(RZ,"name")&&typeof RZ.name=="string"&&(BZ.name=RZ.name),S0.call(RZ,"main")&&typeof RZ.main=="string"&&(BZ.main=RZ.main),S0.call(RZ,"exports")&&(BZ.exports=RZ.exports),S0.call(RZ,"imports")&&(BZ.imports=RZ.imports),!S0.call(RZ,"type")||RZ.type!=="commonjs"&&RZ.type!=="module"||(BZ.type=RZ.type)}return Q5.set(W,BZ),BZ}function y5(W){let C=new URL("package.json",W);for(;;){if(C.pathname.endsWith("node_modules/package.json"))break;let y=i5((0,R0.fileURLToPath)(C),{specifier:W});if(y.exists)return y;let h=C;if(C=new URL("../package.json",C),C.pathname===h.pathname)break}return{pjsonPath:(0,R0.fileURLToPath)(C),exists:!1,type:"none"}}function Y6(W){return y5(W).type}let{ERR_UNKNOWN_FILE_EXTENSION:_6}=FZ,h6={}.hasOwnProperty,x6={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},K6={__proto__:null,"data:":function(W){let{1:C}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(W.pathname)||[null,null,null];return function(y){return y&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(y)?"module":y==="application/json"?"json":null}(C)},"file:":function(W,C,y){let h=function(RZ){let IZ=RZ.pathname,fZ=IZ.length;for(;fZ--;){let rZ=IZ.codePointAt(fZ);if(rZ===47)return"";if(rZ===46)return IZ.codePointAt(fZ-1)===47?"":IZ.slice(fZ)}return""}(W);if(h===".js"){let RZ=Y6(W);return RZ!=="none"?RZ:"commonjs"}if(h===""){let RZ=Y6(W);return RZ==="none"||RZ==="commonjs"?"commonjs":"module"}let QZ=x6[h];if(QZ)return QZ;if(y)return;let BZ=(0,R0.fileURLToPath)(W);throw new _6(h,BZ)},"http:":W6,"https:":W6,"node:":()=>"builtin"};function W6(){}let d5=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:X8,ERR_INVALID_MODULE_SPECIFIER:p5,ERR_INVALID_PACKAGE_CONFIG:H6,ERR_INVALID_PACKAGE_TARGET:u6,ERR_MODULE_NOT_FOUND:o5,ERR_PACKAGE_IMPORT_NOT_DEFINED:c6,ERR_PACKAGE_PATH_NOT_EXPORTED:l6,ERR_UNSUPPORTED_DIR_IMPORT:i6,ERR_UNSUPPORTED_RESOLVE_REQUEST:G6}=FZ,z6={}.hasOwnProperty,V6=/(^|\\|\/)((\.|%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,F6=/(^|\\|\/)((\.|%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,d6=/^\.|%|\\/,r5=/\*/g,p6=/%2f|%5c/i,B6=new Set,r6=/[/\\]{2}/;function R6(W,C,y,h,QZ,BZ,RZ){if(H.noDeprecation)return;let IZ=(0,R0.fileURLToPath)(h),fZ=r6.exec(RZ?W:C)!==null;H.emitWarning(`Use of deprecated ${fZ?"double slash":"leading or trailing slash matching"} resolving "${W}" for module request "${C}" ${C===y?"":`matched to "${y}" `}in the "${QZ?"imports":"exports"}" field module resolution of the package at ${IZ}${BZ?` imported from ${(0,R0.fileURLToPath)(BZ)}`:""}.`,"DeprecationWarning","DEP0166")}function j6(W,C,y,h){if(H.noDeprecation)return;if(function(fZ,rZ){let vZ=fZ.protocol;return h6.call(K6,vZ)&&K6[vZ](fZ,rZ,!0)||null}(W,{parentURL:y.href})!=="module")return;let BZ=(0,R0.fileURLToPath)(W.href),RZ=(0,R0.fileURLToPath)(new R0.URL(".",C)),IZ=(0,R0.fileURLToPath)(y);h?K.resolve(RZ,h)!==BZ&&H.emitWarning(`Package ${RZ} has a "main" field set to "${h}", excluding the full filename and extension to the resolved file at "${BZ.slice(RZ.length)}", imported from ${IZ}.
|
|
15
15
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):H.emitWarning(`No "main" or "exports" field defined in the package.json for ${RZ} resolving the main entry point "${BZ.slice(RZ.length)}", imported from ${IZ}.
|
|
16
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function O6(W){try{return(0,$5.statSync)(W)}catch{}}function t5(W){let C=(0,$5.statSync)(W,{throwIfNoEntry:!1}),y=C?C.isFile():void 0;return y!=null&&y}function n6(W,C,y){let h;if(C.main!==void 0){if(h=new R0.URL(C.main,W),t5(h))return h;let RZ=[`./${C.main}.js`,`./${C.main}.json`,`./${C.main}.node`,`./${C.main}/index.js`,`./${C.main}/index.json`,`./${C.main}/index.node`],IZ=-1;for(;++IZ<RZ.length&&(h=new R0.URL(RZ[IZ],W),!t5(h));)h=void 0;if(h)return j6(h,W,y,C.main),h}let QZ=["./index.js","./index.json","./index.node"],BZ=-1;for(;++BZ<QZ.length&&(h=new R0.URL(QZ[BZ],W),!t5(h));)h=void 0;if(h)return j6(h,W,y,C.main),h;throw new o5((0,R0.fileURLToPath)(new R0.URL(".",W)),(0,R0.fileURLToPath)(y))}function e5(W,C,y){return new l6((0,R0.fileURLToPath)(new R0.URL(".",C)),W,y&&(0,R0.fileURLToPath)(y))}function u5(W,C,y,h,QZ){return C=typeof C=="object"&&C!==null?JSON.stringify(C,null,""):`${C}`,new u6((0,R0.fileURLToPath)(new R0.URL(".",y)),W,C,h,QZ&&(0,R0.fileURLToPath)(QZ))}function a6(W,C,y,h,QZ,BZ,RZ,IZ,fZ){if(C!==""&&!BZ&&W[W.length-1]!=="/")throw u5(y,W,h,RZ,QZ);if(!W.startsWith("./")){if(RZ&&!W.startsWith("../")&&!W.startsWith("/")){let J0=!1;try{new R0.URL(W),J0=!0}catch{}if(!J0)return M6(BZ?d5.call(r5,W,()=>C):W+C,h,fZ)}throw u5(y,W,h,RZ,QZ)}if(V6.exec(W.slice(2))!==null){if(F6.exec(W.slice(2))!==null)throw u5(y,W,h,RZ,QZ);if(!IZ){let J0=BZ?y.replace("*",()=>C):y+C;R6(BZ?d5.call(r5,W,()=>C):W,J0,y,h,RZ,QZ,!0)}}let rZ=new R0.URL(W,h),vZ=rZ.pathname,V0=new R0.URL(".",h).pathname;if(!vZ.startsWith(V0))throw u5(y,W,h,RZ,QZ);if(C==="")return rZ;if(V6.exec(C)!==null){let J0=BZ?y.replace("*",()=>C):y+C;if(F6.exec(C)===null){if(!IZ)R6(BZ?d5.call(r5,W,()=>C):W,J0,y,h,RZ,QZ,!1)}else(function(w0,_0,t0,Y5,x0){let k5=`request is not a valid match in pattern "${_0}" for the "${Y5?"imports":"exports"}" resolution of ${(0,R0.fileURLToPath)(t0)}`;throw new p5(w0,k5,x0&&(0,R0.fileURLToPath)(x0))})(J0,y,h,RZ,QZ)}return BZ?new R0.URL(d5.call(r5,rZ.href,()=>C)):new R0.URL(C,rZ)}function s6(W){let C=Number(W);return`${C}`===W&&(C>=0&&C<4294967295)}function g5(W,C,y,h,QZ,BZ,RZ,IZ,fZ){if(typeof C=="string")return a6(C,y,h,W,QZ,BZ,RZ,IZ,fZ);if(Array.isArray(C)){let rZ=C;if(rZ.length===0)return null;let vZ,V0=-1;for(;++V0<rZ.length;){let J0=rZ[V0],w0;try{w0=g5(W,J0,y,h,QZ,BZ,RZ,IZ,fZ)}catch(_0){if(vZ=_0,_0.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw _0}if(w0!==void 0){if(w0!==null)return w0;vZ=null}}if(vZ==null)return null;throw vZ}if(typeof C=="object"&&C!==null){let rZ=Object.getOwnPropertyNames(C),vZ=-1;for(;++vZ<rZ.length;)if(s6(rZ[vZ]))throw new H6((0,R0.fileURLToPath)(W),QZ,'"exports" cannot contain numeric property keys.');for(vZ=-1;++vZ<rZ.length;){let V0=rZ[vZ];if(V0==="default"||fZ&&fZ.has(V0)){let J0=g5(W,C[V0],y,h,QZ,BZ,RZ,IZ,fZ);if(J0===void 0)continue;return J0}}return null}if(C===null)return null;throw u5(h,C,W,RZ,QZ)}function o6(W,C,y){if(H.noDeprecation)return;let h=(0,R0.fileURLToPath)(C);B6.has(h+"|"+W)||(B6.add(h+"|"+W),H.emitWarning(`Use of deprecated trailing slash pattern mapping "${W}" in the "exports" field module resolution of the package at ${h}${y?` imported from ${(0,R0.fileURLToPath)(y)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function J6(W,C,y,h,QZ){let BZ=y.exports;if(function(vZ,V0,J0){if(typeof vZ=="string"||Array.isArray(vZ))return!0;if(typeof vZ!="object"||vZ===null)return!1;let w0=Object.getOwnPropertyNames(vZ),_0=!1,t0=0,Y5=-1;for(;++Y5<w0.length;){let x0=w0[Y5],k5=x0===""||x0[0]!==".";if(t0++==0)_0=k5;else if(_0!==k5)throw new H6((0,R0.fileURLToPath)(V0),J0,`"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 _0}(BZ,W,h)&&(BZ={".":BZ}),z6.call(BZ,C)&&!C.includes("*")&&!C.endsWith("/")){let vZ=g5(W,BZ[C],"",C,h,!1,!1,!1,QZ);if(vZ==null)throw e5(C,W,h);return vZ}let RZ="",IZ="",fZ=Object.getOwnPropertyNames(BZ),rZ=-1;for(;++rZ<fZ.length;){let vZ=fZ[rZ],V0=vZ.indexOf("*");if(V0!==-1&&C.startsWith(vZ.slice(0,V0))){C.endsWith("/")&&o6(C,W,h);let J0=vZ.slice(V0+1);C.length>=vZ.length&&C.endsWith(J0)&&$6(RZ,vZ)===1&&vZ.lastIndexOf("*")===V0&&(RZ=vZ,IZ=C.slice(V0,C.length-J0.length))}}if(RZ){let vZ=g5(W,BZ[RZ],IZ,RZ,h,!0,!1,C.endsWith("/"),QZ);if(vZ==null)throw e5(C,W,h);return vZ}throw e5(C,W,h)}function $6(W,C){let y=W.indexOf("*"),h=C.indexOf("*"),QZ=y===-1?W.length:y+1,BZ=h===-1?C.length:h+1;return QZ>BZ?-1:BZ>QZ||y===-1?1:h===-1||W.length>C.length?-1:C.length>W.length?1:0}function t6(W,C,y){if(W==="#"||W.startsWith("#/")||W.endsWith("/"))throw new p5(W,"is not a valid internal imports specifier name",(0,R0.fileURLToPath)(C));let h,QZ=y5(C);if(QZ.exists){h=(0,R0.pathToFileURL)(QZ.pjsonPath);let BZ=QZ.imports;if(BZ)if(z6.call(BZ,W)&&!W.includes("*")){let RZ=g5(h,BZ[W],"",W,C,!1,!0,!1,y);if(RZ!=null)return RZ}else{let RZ="",IZ="",fZ=Object.getOwnPropertyNames(BZ),rZ=-1;for(;++rZ<fZ.length;){let vZ=fZ[rZ],V0=vZ.indexOf("*");if(V0!==-1&&W.startsWith(vZ.slice(0,-1))){let J0=vZ.slice(V0+1);W.length>=vZ.length&&W.endsWith(J0)&&$6(RZ,vZ)===1&&vZ.lastIndexOf("*")===V0&&(RZ=vZ,IZ=W.slice(V0,W.length-J0.length))}}if(RZ){let vZ=g5(h,BZ[RZ],IZ,RZ,C,!0,!0,!1,y);if(vZ!=null)return vZ}}}throw function(BZ,RZ,IZ){return new c6(BZ,RZ&&(0,R0.fileURLToPath)(new R0.URL(".",RZ)),(0,R0.fileURLToPath)(IZ))}(W,h,C)}function M6(W,C,y){if(U5.builtinModules.includes(W))return new R0.URL("node:"+W);let{packageName:h,packageSubpath:QZ,isScoped:BZ}=function(vZ,V0){let J0=vZ.indexOf("/"),w0=!0,_0=!1;vZ[0]==="@"&&(_0=!0,J0===-1||vZ.length===0?w0=!1:J0=vZ.indexOf("/",J0+1));let t0=J0===-1?vZ:vZ.slice(0,J0);if(d6.exec(t0)!==null&&(w0=!1),!w0)throw new p5(vZ,"is not a valid package name",(0,R0.fileURLToPath)(V0));return{packageName:t0,packageSubpath:"."+(J0===-1?"":vZ.slice(J0)),isScoped:_0}}(W,C),RZ=y5(C);if(RZ.exists){let vZ=(0,R0.pathToFileURL)(RZ.pjsonPath);if(RZ.name===h&&RZ.exports!==void 0&&RZ.exports!==null)return J6(vZ,QZ,RZ,C,y)}let IZ,fZ=new R0.URL("./node_modules/"+h+"/package.json",C),rZ=(0,R0.fileURLToPath)(fZ);do{let vZ=O6(rZ.slice(0,-13));if(!vZ||!vZ.isDirectory()){IZ=rZ,fZ=new R0.URL((BZ?"../../../../node_modules/":"../../../node_modules/")+h+"/package.json",fZ),rZ=(0,R0.fileURLToPath)(fZ);continue}let V0=i5(rZ,{base:C,specifier:W});return V0.exports!==void 0&&V0.exports!==null?J6(fZ,QZ,V0,C,y):QZ==="."?n6(fZ,V0,C):new R0.URL(QZ,fZ)}while(rZ.length!==IZ.length);throw new o5(h,(0,R0.fileURLToPath)(C),!1)}function e6(W,C,y,h){let QZ=C.protocol,BZ=QZ==="data:"||QZ==="http:"||QZ==="https:",RZ;if(function(IZ){return IZ!==""&&(IZ[0]==="/"||function(fZ){if(fZ[0]==="."){if(fZ.length===1||fZ[1]==="/")return!0;if(fZ[1]==="."&&(fZ.length===2||fZ[2]==="/"))return!0}return!1}(IZ))}(W))try{RZ=new R0.URL(W,C)}catch(IZ){let fZ=new G6(W,C);throw fZ.cause=IZ,fZ}else if(QZ==="file:"&&W[0]==="#")RZ=t6(W,C,y);else try{RZ=new R0.URL(W)}catch(IZ){if(BZ&&!U5.builtinModules.includes(W)){let fZ=new G6(W,C);throw fZ.cause=IZ,fZ}RZ=M6(W,C,y)}return M5(RZ!==void 0,"expected to be defined"),RZ.protocol!=="file:"?RZ:function(IZ,fZ,rZ){if(p6.exec(IZ.pathname)!==null)throw new p5(IZ.pathname,'must not include encoded "/" or "\\" characters',(0,R0.fileURLToPath)(fZ));let vZ;try{vZ=(0,R0.fileURLToPath)(IZ)}catch(J0){let w0=J0;throw Object.defineProperty(w0,"input",{value:String(IZ)}),Object.defineProperty(w0,"module",{value:String(fZ)}),w0}let V0=O6(vZ.endsWith("/")?vZ.slice(-1):vZ);if(V0&&V0.isDirectory()){let J0=new i6(vZ,(0,R0.fileURLToPath)(fZ));throw J0.url=String(IZ),J0}if(!V0||!V0.isFile()){let J0=new o5(vZ||IZ.pathname,fZ&&(0,R0.fileURLToPath)(fZ),!0);throw J0.url=String(IZ),J0}if(!rZ){let J0=(0,$5.realpathSync)(vZ),{search:w0,hash:_0}=IZ;(IZ=(0,R0.pathToFileURL)(J0+(vZ.endsWith(K.sep)?"/":""))).search=w0,IZ.hash=_0}return IZ}(RZ,C,h)}function n5(W){return typeof W!="string"||W.startsWith("file://")?x((0,R0.fileURLToPath)(W)):x(W)}function Z6(W){return(0,R0.pathToFileURL)(n5(W)).toString()}let Z7=new Set(["node","import"]),X7=[".mjs",".cjs",".js",".json"],Q7=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function N6(W,C,y){try{return e6(W,C,y)}catch(h){if(!Q7.has(h?.code))throw h}}function Y7(W,C={}){if(typeof W!="string"){if(!(W instanceof URL))throw TypeError("input must be a `string` or `URL`");W=n5(W)}if(/(node|data|http|https):/.test(W))return W;if(S.has(W))return"node:"+W;if(W.startsWith("file://")&&(W=n5(W)),F(W))try{if((0,$5.statSync)(W).isFile())return Z6(W)}catch(RZ){if(RZ?.code!=="ENOENT")throw RZ}let y=C.conditions?new Set(C.conditions):Z7,h=(Array.isArray(C.url)?C.url:[C.url]).filter(Boolean).map((RZ)=>new URL(function(IZ){return typeof IZ!="string"&&(IZ=IZ.toString()),/(node|data|http|https|file):/.test(IZ)?IZ:S.has(IZ)?"node:"+IZ:"file://"+encodeURI(x(IZ))}(RZ.toString())));h.length===0&&h.push(new URL(Z6(process.cwd())));let QZ=[...h];for(let RZ of h)RZ.protocol==="file:"&&QZ.push(new URL("./",RZ),new URL(l5(RZ.pathname,"_index.js"),RZ),new URL("node_modules",RZ));let BZ;for(let RZ of QZ){if(BZ=N6(W,RZ,y),BZ)break;for(let IZ of["","/index"]){for(let fZ of C.extensions||X7)if(BZ=N6(l5(W,IZ)+fZ,RZ,y),BZ)break;if(BZ)break}if(BZ)break}if(!BZ){let RZ=Error(`Cannot find module ${W} imported from ${QZ.join(", ")}`);throw RZ.code="ERR_MODULE_NOT_FOUND",RZ}return Z6(BZ)}function K7(W,C){return Y7(W,C)}function W7(W,C){return n5(K7(W,C))}let H7=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,G7=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function z7(W,C={}){return C.stripComments&&(W=W.replace(G7,"")),H7.test(W)}var V7=X0("crypto");function A6(W,C=8){return(0,V7.createHash)("md5").update(W).digest("hex").slice(0,C)}var F7=function(W,C,y,h){return new(y||(y=Promise))(function(QZ,BZ){function RZ(rZ){try{fZ(h.next(rZ))}catch(vZ){BZ(vZ)}}function IZ(rZ){try{fZ(h.throw(rZ))}catch(vZ){BZ(vZ)}}function fZ(rZ){var vZ;rZ.done?QZ(rZ.value):(vZ=rZ.value,vZ instanceof y?vZ:new y(function(V0){V0(vZ)})).then(RZ,IZ)}fZ((h=h.apply(W,C||[])).next())})};let B7=v(process.env.JITI_DEBUG),U6=v(process.env.JITI_CACHE),R7=v(process.env.JITI_ESM_RESOLVE),L6=v(process.env.JITI_REQUIRE_CACHE),C6=v(process.env.JITI_SOURCE_MAPS),j7=v(process.env.JITI_ALIAS),O7=v(process.env.JITI_TRANSFORM_MODULES),J7=v(process.env.JITI_NATIVE_MODULES),I6=v(process.env.JITI_EXPERIMENTAL_BUN),$7=(0,Y.platform)()==="win32",M7={debug:B7,cache:U6===void 0||!!U6,requireCache:L6===void 0||!!L6,sourceMaps:C6!==void 0&&!!C6,interopDefault:!1,esmResolve:R7||!1,cacheVersion:"7",legacy:(0,t.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:j7,nativeModules:J7||[],transformModules:O7||[],experimentalBun:I6===void 0?!!process.versions.bun:!!I6},N7=/\.(c|m)?j(sx?)$/,A7=/\.(c|m)?t(sx?)$/;function T6(W,C={},y,h){(C=Object.assign(Object.assign({},M7),C)).legacy&&(C.cacheVersion+="-legacy"),C.transformOptions&&(C.cacheVersion+="-"+o()(C.transformOptions));let QZ=C.alias&&Object.keys(C.alias).length>0?g(C.alias||{}):null,BZ=["typescript","jiti",...C.nativeModules||[]],RZ=[...C.transformModules||[]],IZ=new RegExp(`node_modules/(${BZ.map((z0)=>k(z0)).join("|")})/`),fZ=new RegExp(`node_modules/(${RZ.map((z0)=>k(z0)).join("|")})/`);function rZ(...z0){C.debug&&console.log("[jiti]",...z0)}if(W||(W=process.cwd()),function(z0){try{return(0,n.lstatSync)(z0).isDirectory()}catch(q0){return!1}}(W)&&(W=z(W,"index.js")),C.cache===!0&&(C.cache=function(){let z0=(0,Y.tmpdir)();if(process.env.TMPDIR&&z0===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let q0=process.env.TMPDIR;delete process.env.TMPDIR,z0=(0,Y.tmpdir)(),process.env.TMPDIR=q0}return z(z0,"node-jiti")}()),C.cache)try{if((0,n.mkdirSync)(C.cache,{recursive:!0}),!function(z0){try{return(0,n.accessSync)(z0,n.constants.W_OK),!0}catch(q0){return!1}}(C.cache))throw Error("directory is not writable")}catch(z0){rZ("Error creating cache directory at ",C.cache,z0),C.cache=!1}let vZ=r()($7?W.replace(/\//g,"\\"):W),V0=(z0,q0)=>{try{return vZ.resolve(z0,q0)}catch(y0){}},J0=(0,Z.pathToFileURL)(W),w0=[...C.extensions].filter((z0)=>z0!==".js"),_0=(z0,q0)=>{let y0,s0;if(QZ&&(z0=function(L0,l0){let f0=R(L0);l0=g(l0);for(let[z5,E5]of Object.entries(l0)){if(!f0.startsWith(z5))continue;let _5=u(z5)?z5.slice(0,-1):z5;if(u(f0[_5.length]))return z(E5,f0.slice(z5.length))}return f0}(z0,QZ)),C.esmResolve){let L0=[["node","require"],["node","import"]];for(let l0 of L0){try{y0=W7(z0,{url:J0,conditions:l0,extensions:C.extensions})}catch(f0){s0=f0}if(y0)return y0}}try{return vZ.resolve(z0,q0)}catch(L0){s0=L0}for(let L0 of w0){if(y0=V0(z0+L0,q0)||V0(z0+"/index"+L0,q0),y0)return y0;if(A7.test((y==null?void 0:y.filename)||"")&&(y0=V0(z0.replace(N7,".$1t$2"),q0),y0))return y0}throw s0};function t0(z0){let q0=function(y0,s0,L0){if(!C.cache||!y0)return L0();let l0=` /* v${C.cacheVersion}-${A6(s0,16)} */`,f0=I(T(y0))+"-"+I(y0),z5=z(C.cache,f0+"."+A6(y0)+".js");if((0,n.existsSync)(z5)){let _5=(0,n.readFileSync)(z5,"utf8");if(_5.endsWith(l0))return rZ("[cache hit]",y0,"~>",z5),_5}rZ("[cache miss]",y0);let E5=L0();return E5.includes("__JITI_ERROR__")||(0,n.writeFileSync)(z5,E5+l0,"utf8"),E5}(z0.filename,z0.source,()=>{var y0;let s0=C.transform(Object.assign(Object.assign(Object.assign({legacy:C.legacy},C.transformOptions),{babel:Object.assign(Object.assign({},C.sourceMaps?{sourceFileName:z0.filename,sourceMaps:"inline"}:{}),(y0=C.transformOptions)===null||y0===void 0?void 0:y0.babel)}),z0));return s0.error&&C.debug&&rZ(s0.error),s0.code});return q0.startsWith("#!")&&(q0="// "+q0),q0}function Y5(z0){return C.interopDefault?function(q0,y0={}){if((s0=q0)===null||typeof s0!="object"||!("default"in q0))return q0;var s0;let L0=q0.default;if(L0==null)return q0;let l0=typeof L0;if(l0!=="object"&&(l0!=="function"||y0.preferNamespace))return y0.preferNamespace?q0:L0;for(let f0 in q0)try{f0 in L0||Object.defineProperty(L0,f0,{enumerable:f0!=="default",configurable:f0!=="default",get:()=>q0[f0]})}catch{}return L0}(z0):z0}function x0(z0,q0){var y0;let s0=h||{};if(z0.startsWith("node:")?z0=z0.slice(5):z0.startsWith("file:")&&(z0=(0,Z.fileURLToPath)(z0)),X.builtinModules.includes(z0)||z0===".pnp.js")return vZ(z0);if(C.experimentalBun&&!C.transformOptions)try{rZ(`[bun] [native] ${z0}`);let f0=vZ(z0);return C.requireCache===!1&&delete vZ.cache[z0],Y5(f0)}catch(f0){rZ(`[bun] Using fallback for ${z0} because of an error:`,f0)}let L0=_0(z0),l0=A(L0);if(l0===".json"){rZ("[json]",L0);let f0=vZ(z0);return Object.defineProperty(f0,"default",{value:f0}),f0}if(l0&&!C.extensions.includes(l0))return rZ("[unknown]",L0),vZ(z0);if(IZ.test(L0))return rZ("[native]",L0),vZ(z0);if(s0[L0]&&(s0[L0].loaded===!0||(y==null?void 0:y.loaded)===!1))return Y5((y0=s0[L0])===null||y0===void 0?void 0:y0.exports);if(C.requireCache&&vZ.cache[L0]){let f0=vZ.cache[L0];if(f0==null?void 0:f0.loaded)return Y5(f0.exports)}return k5((0,n.readFileSync)(L0,"utf8"),{id:z0,filename:L0,ext:l0,cache:s0})}function k5(z0,q0={}){var y0;let s0=q0.id||(q0.filename?I(q0.filename):`_jitiEval.${q0.ext||".js"}`),L0=q0.filename||_0(s0),l0=q0.ext||A(L0),f0=q0.cache||h||{},z5=l0===".ts"||l0===".mts"||l0===".cts",E5=l0===".mjs"||l0===".js"&&((y0=function(V5){for(;V5&&V5!=="."&&V5!=="/";){V5=z(V5,"..");try{let a5=(0,n.readFileSync)(z(V5,"package.json"),"utf8");try{return JSON.parse(a5)}catch(P6){}break}catch(a5){}}}(L0))===null||y0===void 0?void 0:y0.type)==="module",_5=l0!==".cjs"&&(z5||E5||fZ.test(L0)||z7(z0)||C.legacy&&z0.match(/\?\.|\?\?/)),U7=$.performance.now();if(_5)z0=t0({filename:L0,source:z0,ts:z5}),rZ("[transpile]"+(E5?" [esm]":""),L0,`(${Math.round(1000*($.performance.now()-U7))/1000}ms)`);else try{return rZ("[native]",L0),Y5(vZ(s0))}catch(V5){rZ("Native require error:",V5),rZ("[fallback]",L0),z0=t0({filename:L0,source:z0,ts:z5})}let n0=new X.Module(L0),D6;n0.filename=L0,y&&(n0.parent=y,Array.isArray(y.children)&&!y.children.includes(n0)&&y.children.push(n0)),n0.require=T6(L0,C,n0,f0),n0.path=T(L0),n0.paths=X.Module._nodeModulePaths(n0.path),f0[L0]=n0,C.requireCache&&(vZ.cache[L0]=n0);try{D6=O().runInThisContext(X.Module.wrap(z0),{filename:L0,lineOffset:0,displayErrors:!1})}catch(V5){C.requireCache&&delete vZ.cache[L0],C.onError(V5)}try{D6(n0.exports,n0.require,n0,n0.filename,T(n0.filename))}catch(V5){C.requireCache&&delete vZ.cache[L0],C.onError(V5)}if(n0.exports&&n0.exports.__JITI_ERROR__){let{filename:V5,line:a5,column:P6,code:L7,message:C7}=n0.exports.__JITI_ERROR__,S6=Error(`${L7}: ${C7}
|
|
16
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function O6(W){try{return(0,M5.statSync)(W)}catch{}}function t5(W){let C=(0,M5.statSync)(W,{throwIfNoEntry:!1}),y=C?C.isFile():void 0;return y!=null&&y}function n6(W,C,y){let h;if(C.main!==void 0){if(h=new R0.URL(C.main,W),t5(h))return h;let RZ=[`./${C.main}.js`,`./${C.main}.json`,`./${C.main}.node`,`./${C.main}/index.js`,`./${C.main}/index.json`,`./${C.main}/index.node`],IZ=-1;for(;++IZ<RZ.length&&(h=new R0.URL(RZ[IZ],W),!t5(h));)h=void 0;if(h)return j6(h,W,y,C.main),h}let QZ=["./index.js","./index.json","./index.node"],BZ=-1;for(;++BZ<QZ.length&&(h=new R0.URL(QZ[BZ],W),!t5(h));)h=void 0;if(h)return j6(h,W,y,C.main),h;throw new o5((0,R0.fileURLToPath)(new R0.URL(".",W)),(0,R0.fileURLToPath)(y))}function e5(W,C,y){return new l6((0,R0.fileURLToPath)(new R0.URL(".",C)),W,y&&(0,R0.fileURLToPath)(y))}function u5(W,C,y,h,QZ){return C=typeof C=="object"&&C!==null?JSON.stringify(C,null,""):`${C}`,new u6((0,R0.fileURLToPath)(new R0.URL(".",y)),W,C,h,QZ&&(0,R0.fileURLToPath)(QZ))}function a6(W,C,y,h,QZ,BZ,RZ,IZ,fZ){if(C!==""&&!BZ&&W[W.length-1]!=="/")throw u5(y,W,h,RZ,QZ);if(!W.startsWith("./")){if(RZ&&!W.startsWith("../")&&!W.startsWith("/")){let $0=!1;try{new R0.URL(W),$0=!0}catch{}if(!$0)return M6(BZ?d5.call(r5,W,()=>C):W+C,h,fZ)}throw u5(y,W,h,RZ,QZ)}if(V6.exec(W.slice(2))!==null){if(F6.exec(W.slice(2))!==null)throw u5(y,W,h,RZ,QZ);if(!IZ){let $0=BZ?y.replace("*",()=>C):y+C;R6(BZ?d5.call(r5,W,()=>C):W,$0,y,h,RZ,QZ,!0)}}let rZ=new R0.URL(W,h),vZ=rZ.pathname,V0=new R0.URL(".",h).pathname;if(!vZ.startsWith(V0))throw u5(y,W,h,RZ,QZ);if(C==="")return rZ;if(V6.exec(C)!==null){let $0=BZ?y.replace("*",()=>C):y+C;if(F6.exec(C)===null){if(!IZ)R6(BZ?d5.call(r5,W,()=>C):W,$0,y,h,RZ,QZ,!1)}else(function(w0,_0,t0,Y5,x0){let k5=`request is not a valid match in pattern "${_0}" for the "${Y5?"imports":"exports"}" resolution of ${(0,R0.fileURLToPath)(t0)}`;throw new p5(w0,k5,x0&&(0,R0.fileURLToPath)(x0))})($0,y,h,RZ,QZ)}return BZ?new R0.URL(d5.call(r5,rZ.href,()=>C)):new R0.URL(C,rZ)}function s6(W){let C=Number(W);return`${C}`===W&&(C>=0&&C<4294967295)}function g5(W,C,y,h,QZ,BZ,RZ,IZ,fZ){if(typeof C=="string")return a6(C,y,h,W,QZ,BZ,RZ,IZ,fZ);if(Array.isArray(C)){let rZ=C;if(rZ.length===0)return null;let vZ,V0=-1;for(;++V0<rZ.length;){let $0=rZ[V0],w0;try{w0=g5(W,$0,y,h,QZ,BZ,RZ,IZ,fZ)}catch(_0){if(vZ=_0,_0.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw _0}if(w0!==void 0){if(w0!==null)return w0;vZ=null}}if(vZ==null)return null;throw vZ}if(typeof C=="object"&&C!==null){let rZ=Object.getOwnPropertyNames(C),vZ=-1;for(;++vZ<rZ.length;)if(s6(rZ[vZ]))throw new H6((0,R0.fileURLToPath)(W),QZ,'"exports" cannot contain numeric property keys.');for(vZ=-1;++vZ<rZ.length;){let V0=rZ[vZ];if(V0==="default"||fZ&&fZ.has(V0)){let $0=g5(W,C[V0],y,h,QZ,BZ,RZ,IZ,fZ);if($0===void 0)continue;return $0}}return null}if(C===null)return null;throw u5(h,C,W,RZ,QZ)}function o6(W,C,y){if(H.noDeprecation)return;let h=(0,R0.fileURLToPath)(C);B6.has(h+"|"+W)||(B6.add(h+"|"+W),H.emitWarning(`Use of deprecated trailing slash pattern mapping "${W}" in the "exports" field module resolution of the package at ${h}${y?` imported from ${(0,R0.fileURLToPath)(y)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function J6(W,C,y,h,QZ){let BZ=y.exports;if(function(vZ,V0,$0){if(typeof vZ=="string"||Array.isArray(vZ))return!0;if(typeof vZ!="object"||vZ===null)return!1;let w0=Object.getOwnPropertyNames(vZ),_0=!1,t0=0,Y5=-1;for(;++Y5<w0.length;){let x0=w0[Y5],k5=x0===""||x0[0]!==".";if(t0++==0)_0=k5;else if(_0!==k5)throw new H6((0,R0.fileURLToPath)(V0),$0,`"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 _0}(BZ,W,h)&&(BZ={".":BZ}),z6.call(BZ,C)&&!C.includes("*")&&!C.endsWith("/")){let vZ=g5(W,BZ[C],"",C,h,!1,!1,!1,QZ);if(vZ==null)throw e5(C,W,h);return vZ}let RZ="",IZ="",fZ=Object.getOwnPropertyNames(BZ),rZ=-1;for(;++rZ<fZ.length;){let vZ=fZ[rZ],V0=vZ.indexOf("*");if(V0!==-1&&C.startsWith(vZ.slice(0,V0))){C.endsWith("/")&&o6(C,W,h);let $0=vZ.slice(V0+1);C.length>=vZ.length&&C.endsWith($0)&&$6(RZ,vZ)===1&&vZ.lastIndexOf("*")===V0&&(RZ=vZ,IZ=C.slice(V0,C.length-$0.length))}}if(RZ){let vZ=g5(W,BZ[RZ],IZ,RZ,h,!0,!1,C.endsWith("/"),QZ);if(vZ==null)throw e5(C,W,h);return vZ}throw e5(C,W,h)}function $6(W,C){let y=W.indexOf("*"),h=C.indexOf("*"),QZ=y===-1?W.length:y+1,BZ=h===-1?C.length:h+1;return QZ>BZ?-1:BZ>QZ||y===-1?1:h===-1||W.length>C.length?-1:C.length>W.length?1:0}function t6(W,C,y){if(W==="#"||W.startsWith("#/")||W.endsWith("/"))throw new p5(W,"is not a valid internal imports specifier name",(0,R0.fileURLToPath)(C));let h,QZ=y5(C);if(QZ.exists){h=(0,R0.pathToFileURL)(QZ.pjsonPath);let BZ=QZ.imports;if(BZ)if(z6.call(BZ,W)&&!W.includes("*")){let RZ=g5(h,BZ[W],"",W,C,!1,!0,!1,y);if(RZ!=null)return RZ}else{let RZ="",IZ="",fZ=Object.getOwnPropertyNames(BZ),rZ=-1;for(;++rZ<fZ.length;){let vZ=fZ[rZ],V0=vZ.indexOf("*");if(V0!==-1&&W.startsWith(vZ.slice(0,-1))){let $0=vZ.slice(V0+1);W.length>=vZ.length&&W.endsWith($0)&&$6(RZ,vZ)===1&&vZ.lastIndexOf("*")===V0&&(RZ=vZ,IZ=W.slice(V0,W.length-$0.length))}}if(RZ){let vZ=g5(h,BZ[RZ],IZ,RZ,C,!0,!0,!1,y);if(vZ!=null)return vZ}}}throw function(BZ,RZ,IZ){return new c6(BZ,RZ&&(0,R0.fileURLToPath)(new R0.URL(".",RZ)),(0,R0.fileURLToPath)(IZ))}(W,h,C)}function M6(W,C,y){if(L5.builtinModules.includes(W))return new R0.URL("node:"+W);let{packageName:h,packageSubpath:QZ,isScoped:BZ}=function(vZ,V0){let $0=vZ.indexOf("/"),w0=!0,_0=!1;vZ[0]==="@"&&(_0=!0,$0===-1||vZ.length===0?w0=!1:$0=vZ.indexOf("/",$0+1));let t0=$0===-1?vZ:vZ.slice(0,$0);if(d6.exec(t0)!==null&&(w0=!1),!w0)throw new p5(vZ,"is not a valid package name",(0,R0.fileURLToPath)(V0));return{packageName:t0,packageSubpath:"."+($0===-1?"":vZ.slice($0)),isScoped:_0}}(W,C),RZ=y5(C);if(RZ.exists){let vZ=(0,R0.pathToFileURL)(RZ.pjsonPath);if(RZ.name===h&&RZ.exports!==void 0&&RZ.exports!==null)return J6(vZ,QZ,RZ,C,y)}let IZ,fZ=new R0.URL("./node_modules/"+h+"/package.json",C),rZ=(0,R0.fileURLToPath)(fZ);do{let vZ=O6(rZ.slice(0,-13));if(!vZ||!vZ.isDirectory()){IZ=rZ,fZ=new R0.URL((BZ?"../../../../node_modules/":"../../../node_modules/")+h+"/package.json",fZ),rZ=(0,R0.fileURLToPath)(fZ);continue}let V0=i5(rZ,{base:C,specifier:W});return V0.exports!==void 0&&V0.exports!==null?J6(fZ,QZ,V0,C,y):QZ==="."?n6(fZ,V0,C):new R0.URL(QZ,fZ)}while(rZ.length!==IZ.length);throw new o5(h,(0,R0.fileURLToPath)(C),!1)}function e6(W,C,y,h){let QZ=C.protocol,BZ=QZ==="data:"||QZ==="http:"||QZ==="https:",RZ;if(function(IZ){return IZ!==""&&(IZ[0]==="/"||function(fZ){if(fZ[0]==="."){if(fZ.length===1||fZ[1]==="/")return!0;if(fZ[1]==="."&&(fZ.length===2||fZ[2]==="/"))return!0}return!1}(IZ))}(W))try{RZ=new R0.URL(W,C)}catch(IZ){let fZ=new G6(W,C);throw fZ.cause=IZ,fZ}else if(QZ==="file:"&&W[0]==="#")RZ=t6(W,C,y);else try{RZ=new R0.URL(W)}catch(IZ){if(BZ&&!L5.builtinModules.includes(W)){let fZ=new G6(W,C);throw fZ.cause=IZ,fZ}RZ=M6(W,C,y)}return N5(RZ!==void 0,"expected to be defined"),RZ.protocol!=="file:"?RZ:function(IZ,fZ,rZ){if(p6.exec(IZ.pathname)!==null)throw new p5(IZ.pathname,'must not include encoded "/" or "\\" characters',(0,R0.fileURLToPath)(fZ));let vZ;try{vZ=(0,R0.fileURLToPath)(IZ)}catch($0){let w0=$0;throw Object.defineProperty(w0,"input",{value:String(IZ)}),Object.defineProperty(w0,"module",{value:String(fZ)}),w0}let V0=O6(vZ.endsWith("/")?vZ.slice(-1):vZ);if(V0&&V0.isDirectory()){let $0=new i6(vZ,(0,R0.fileURLToPath)(fZ));throw $0.url=String(IZ),$0}if(!V0||!V0.isFile()){let $0=new o5(vZ||IZ.pathname,fZ&&(0,R0.fileURLToPath)(fZ),!0);throw $0.url=String(IZ),$0}if(!rZ){let $0=(0,M5.realpathSync)(vZ),{search:w0,hash:_0}=IZ;(IZ=(0,R0.pathToFileURL)($0+(vZ.endsWith(K.sep)?"/":""))).search=w0,IZ.hash=_0}return IZ}(RZ,C,h)}function n5(W){return typeof W!="string"||W.startsWith("file://")?x((0,R0.fileURLToPath)(W)):x(W)}function Z6(W){return(0,R0.pathToFileURL)(n5(W)).toString()}let Z7=new Set(["node","import"]),X7=[".mjs",".cjs",".js",".json"],Q7=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function N6(W,C,y){try{return e6(W,C,y)}catch(h){if(!Q7.has(h?.code))throw h}}function Y7(W,C={}){if(typeof W!="string"){if(!(W instanceof URL))throw TypeError("input must be a `string` or `URL`");W=n5(W)}if(/(node|data|http|https):/.test(W))return W;if(S.has(W))return"node:"+W;if(W.startsWith("file://")&&(W=n5(W)),F(W))try{if((0,M5.statSync)(W).isFile())return Z6(W)}catch(RZ){if(RZ?.code!=="ENOENT")throw RZ}let y=C.conditions?new Set(C.conditions):Z7,h=(Array.isArray(C.url)?C.url:[C.url]).filter(Boolean).map((RZ)=>new URL(function(IZ){return typeof IZ!="string"&&(IZ=IZ.toString()),/(node|data|http|https|file):/.test(IZ)?IZ:S.has(IZ)?"node:"+IZ:"file://"+encodeURI(x(IZ))}(RZ.toString())));h.length===0&&h.push(new URL(Z6(process.cwd())));let QZ=[...h];for(let RZ of h)RZ.protocol==="file:"&&QZ.push(new URL("./",RZ),new URL(l5(RZ.pathname,"_index.js"),RZ),new URL("node_modules",RZ));let BZ;for(let RZ of QZ){if(BZ=N6(W,RZ,y),BZ)break;for(let IZ of["","/index"]){for(let fZ of C.extensions||X7)if(BZ=N6(l5(W,IZ)+fZ,RZ,y),BZ)break;if(BZ)break}if(BZ)break}if(!BZ){let RZ=Error(`Cannot find module ${W} imported from ${QZ.join(", ")}`);throw RZ.code="ERR_MODULE_NOT_FOUND",RZ}return Z6(BZ)}function K7(W,C){return Y7(W,C)}function W7(W,C){return n5(K7(W,C))}let H7=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,G7=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function z7(W,C={}){return C.stripComments&&(W=W.replace(G7,"")),H7.test(W)}var V7=X0("crypto");function A6(W,C=8){return(0,V7.createHash)("md5").update(W).digest("hex").slice(0,C)}var F7=function(W,C,y,h){return new(y||(y=Promise))(function(QZ,BZ){function RZ(rZ){try{fZ(h.next(rZ))}catch(vZ){BZ(vZ)}}function IZ(rZ){try{fZ(h.throw(rZ))}catch(vZ){BZ(vZ)}}function fZ(rZ){var vZ;rZ.done?QZ(rZ.value):(vZ=rZ.value,vZ instanceof y?vZ:new y(function(V0){V0(vZ)})).then(RZ,IZ)}fZ((h=h.apply(W,C||[])).next())})};let B7=v(process.env.JITI_DEBUG),U6=v(process.env.JITI_CACHE),R7=v(process.env.JITI_ESM_RESOLVE),L6=v(process.env.JITI_REQUIRE_CACHE),C6=v(process.env.JITI_SOURCE_MAPS),j7=v(process.env.JITI_ALIAS),O7=v(process.env.JITI_TRANSFORM_MODULES),J7=v(process.env.JITI_NATIVE_MODULES),I6=v(process.env.JITI_EXPERIMENTAL_BUN),$7=(0,Y.platform)()==="win32",M7={debug:B7,cache:U6===void 0||!!U6,requireCache:L6===void 0||!!L6,sourceMaps:C6!==void 0&&!!C6,interopDefault:!1,esmResolve:R7||!1,cacheVersion:"7",legacy:(0,t.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:j7,nativeModules:J7||[],transformModules:O7||[],experimentalBun:I6===void 0?!!process.versions.bun:!!I6},N7=/\.(c|m)?j(sx?)$/,A7=/\.(c|m)?t(sx?)$/;function T6(W,C={},y,h){(C=Object.assign(Object.assign({},M7),C)).legacy&&(C.cacheVersion+="-legacy"),C.transformOptions&&(C.cacheVersion+="-"+o()(C.transformOptions));let QZ=C.alias&&Object.keys(C.alias).length>0?g(C.alias||{}):null,BZ=["typescript","jiti",...C.nativeModules||[]],RZ=[...C.transformModules||[]],IZ=new RegExp(`node_modules/(${BZ.map((z0)=>k(z0)).join("|")})/`),fZ=new RegExp(`node_modules/(${RZ.map((z0)=>k(z0)).join("|")})/`);function rZ(...z0){C.debug&&console.log("[jiti]",...z0)}if(W||(W=process.cwd()),function(z0){try{return(0,n.lstatSync)(z0).isDirectory()}catch(q0){return!1}}(W)&&(W=z(W,"index.js")),C.cache===!0&&(C.cache=function(){let z0=(0,Y.tmpdir)();if(process.env.TMPDIR&&z0===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let q0=process.env.TMPDIR;delete process.env.TMPDIR,z0=(0,Y.tmpdir)(),process.env.TMPDIR=q0}return z(z0,"node-jiti")}()),C.cache)try{if((0,n.mkdirSync)(C.cache,{recursive:!0}),!function(z0){try{return(0,n.accessSync)(z0,n.constants.W_OK),!0}catch(q0){return!1}}(C.cache))throw Error("directory is not writable")}catch(z0){rZ("Error creating cache directory at ",C.cache,z0),C.cache=!1}let vZ=r()($7?W.replace(/\//g,"\\"):W),V0=(z0,q0)=>{try{return vZ.resolve(z0,q0)}catch(y0){}},$0=(0,Z.pathToFileURL)(W),w0=[...C.extensions].filter((z0)=>z0!==".js"),_0=(z0,q0)=>{let y0,s0;if(QZ&&(z0=function(L0,l0){let f0=R(L0);l0=g(l0);for(let[z5,E5]of Object.entries(l0)){if(!f0.startsWith(z5))continue;let _5=u(z5)?z5.slice(0,-1):z5;if(u(f0[_5.length]))return z(E5,f0.slice(z5.length))}return f0}(z0,QZ)),C.esmResolve){let L0=[["node","require"],["node","import"]];for(let l0 of L0){try{y0=W7(z0,{url:$0,conditions:l0,extensions:C.extensions})}catch(f0){s0=f0}if(y0)return y0}}try{return vZ.resolve(z0,q0)}catch(L0){s0=L0}for(let L0 of w0){if(y0=V0(z0+L0,q0)||V0(z0+"/index"+L0,q0),y0)return y0;if(A7.test((y==null?void 0:y.filename)||"")&&(y0=V0(z0.replace(N7,".$1t$2"),q0),y0))return y0}throw s0};function t0(z0){let q0=function(y0,s0,L0){if(!C.cache||!y0)return L0();let l0=` /* v${C.cacheVersion}-${A6(s0,16)} */`,f0=I(T(y0))+"-"+I(y0),z5=z(C.cache,f0+"."+A6(y0)+".js");if((0,n.existsSync)(z5)){let _5=(0,n.readFileSync)(z5,"utf8");if(_5.endsWith(l0))return rZ("[cache hit]",y0,"~>",z5),_5}rZ("[cache miss]",y0);let E5=L0();return E5.includes("__JITI_ERROR__")||(0,n.writeFileSync)(z5,E5+l0,"utf8"),E5}(z0.filename,z0.source,()=>{var y0;let s0=C.transform(Object.assign(Object.assign(Object.assign({legacy:C.legacy},C.transformOptions),{babel:Object.assign(Object.assign({},C.sourceMaps?{sourceFileName:z0.filename,sourceMaps:"inline"}:{}),(y0=C.transformOptions)===null||y0===void 0?void 0:y0.babel)}),z0));return s0.error&&C.debug&&rZ(s0.error),s0.code});return q0.startsWith("#!")&&(q0="// "+q0),q0}function Y5(z0){return C.interopDefault?function(q0,y0={}){if((s0=q0)===null||typeof s0!="object"||!("default"in q0))return q0;var s0;let L0=q0.default;if(L0==null)return q0;let l0=typeof L0;if(l0!=="object"&&(l0!=="function"||y0.preferNamespace))return y0.preferNamespace?q0:L0;for(let f0 in q0)try{f0 in L0||Object.defineProperty(L0,f0,{enumerable:f0!=="default",configurable:f0!=="default",get:()=>q0[f0]})}catch{}return L0}(z0):z0}function x0(z0,q0){var y0;let s0=h||{};if(z0.startsWith("node:")?z0=z0.slice(5):z0.startsWith("file:")&&(z0=(0,Z.fileURLToPath)(z0)),X.builtinModules.includes(z0)||z0===".pnp.js")return vZ(z0);if(C.experimentalBun&&!C.transformOptions)try{rZ(`[bun] [native] ${z0}`);let f0=vZ(z0);return C.requireCache===!1&&delete vZ.cache[z0],Y5(f0)}catch(f0){rZ(`[bun] Using fallback for ${z0} because of an error:`,f0)}let L0=_0(z0),l0=A(L0);if(l0===".json"){rZ("[json]",L0);let f0=vZ(z0);return Object.defineProperty(f0,"default",{value:f0}),f0}if(l0&&!C.extensions.includes(l0))return rZ("[unknown]",L0),vZ(z0);if(IZ.test(L0))return rZ("[native]",L0),vZ(z0);if(s0[L0]&&(s0[L0].loaded===!0||(y==null?void 0:y.loaded)===!1))return Y5((y0=s0[L0])===null||y0===void 0?void 0:y0.exports);if(C.requireCache&&vZ.cache[L0]){let f0=vZ.cache[L0];if(f0==null?void 0:f0.loaded)return Y5(f0.exports)}return k5((0,n.readFileSync)(L0,"utf8"),{id:z0,filename:L0,ext:l0,cache:s0})}function k5(z0,q0={}){var y0;let s0=q0.id||(q0.filename?I(q0.filename):`_jitiEval.${q0.ext||".js"}`),L0=q0.filename||_0(s0),l0=q0.ext||A(L0),f0=q0.cache||h||{},z5=l0===".ts"||l0===".mts"||l0===".cts",E5=l0===".mjs"||l0===".js"&&((y0=function(V5){for(;V5&&V5!=="."&&V5!=="/";){V5=z(V5,"..");try{let a5=(0,n.readFileSync)(z(V5,"package.json"),"utf8");try{return JSON.parse(a5)}catch(P6){}break}catch(a5){}}}(L0))===null||y0===void 0?void 0:y0.type)==="module",_5=l0!==".cjs"&&(z5||E5||fZ.test(L0)||z7(z0)||C.legacy&&z0.match(/\?\.|\?\?/)),U7=$.performance.now();if(_5)z0=t0({filename:L0,source:z0,ts:z5}),rZ("[transpile]"+(E5?" [esm]":""),L0,`(${Math.round(1000*($.performance.now()-U7))/1000}ms)`);else try{return rZ("[native]",L0),Y5(vZ(s0))}catch(V5){rZ("Native require error:",V5),rZ("[fallback]",L0),z0=t0({filename:L0,source:z0,ts:z5})}let n0=new X.Module(L0),D6;n0.filename=L0,y&&(n0.parent=y,Array.isArray(y.children)&&!y.children.includes(n0)&&y.children.push(n0)),n0.require=T6(L0,C,n0,f0),n0.path=T(L0),n0.paths=X.Module._nodeModulePaths(n0.path),f0[L0]=n0,C.requireCache&&(vZ.cache[L0]=n0);try{D6=O().runInThisContext(X.Module.wrap(z0),{filename:L0,lineOffset:0,displayErrors:!1})}catch(V5){C.requireCache&&delete vZ.cache[L0],C.onError(V5)}try{D6(n0.exports,n0.require,n0,n0.filename,T(n0.filename))}catch(V5){C.requireCache&&delete vZ.cache[L0],C.onError(V5)}if(n0.exports&&n0.exports.__JITI_ERROR__){let{filename:V5,line:a5,column:P6,code:L7,message:C7}=n0.exports.__JITI_ERROR__,S6=Error(`${L7}: ${C7}
|
|
17
17
|
${`${V5}:${a5}:${P6}`}`);Error.captureStackTrace(S6,x0),C.onError(S6)}return n0.loaded=!0,Y5(n0.exports)}return _0.paths=vZ.resolve.paths,x0.resolve=_0,x0.cache=C.requireCache?vZ.cache:{},x0.extensions=vZ.extensions,x0.main=vZ.main,x0.transform=t0,x0.register=function(){return(0,a.addHook)((z0,q0)=>x0.transform({source:z0,filename:q0,ts:!!/\.[cm]?ts$/.test(q0)}),{exts:C.extensions})},x0.evalModule=k5,x0.import=(z0,q0)=>F7(this,void 0,void 0,function*(){return yield x0(z0)}),x0}})(),w6.exports=a0.default})()});var b6=X6((H8,E6)=>{(()=>{var tZ={"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(n,X,$){n.exports=function(Y,j){let O=Q("",-1,-1,"",null,!1),Z=[];function Q(T,I,P,w,D,E){return{source:T,line:I,column:P,name:w,content:D,ignore:E}}function R(T,I,P,w,D){return{map:T,sources:I,source:P,content:w,ignore:D}}function N(T,I){return R(T,I,"",null,!1)}function U(T,I,P){return R(null,Z,T,I,P)}function M(T){let I=new j.GenMapping({file:T.map.file}),{sources:P,map:w}=T,D=w.names,E=Y.decodedMappings(w);for(let v=0;v<E.length;v++){let k=E[v];for(let _=0;_<k.length;_++){let r=k[_],t=r[0],f=O;if(r.length!==1&&(f=G(P[r[1]],r[2],r[3],r.length===5?D[r[4]]:""),f==null))continue;let{column:q,line:g,name:u,content:a,source:d,ignore:o}=f;j.maybeAddSegment(I,v,t,d,g,q,u),d&&a!=null&&j.setSourceContent(I,d,a),o&&j.setIgnore(I,d,!0)}}return I}function G(T,I,P,w){if(!T.map)return Q(T.source,I,P,w,T.content,T.ignore);let D=Y.traceSegment(T.map,I,P);return D==null?null:D.length===1?O:G(T.sources[D[1]],D[2],D[3],D.length===5?T.map.names[D[4]]:w)}function z(T){return Array.isArray(T)?T:[T]}function V(T,I){let P=z(T).map((E)=>new Y.TraceMap(E,"")),w=P.pop();for(let E=0;E<P.length;E++)if(P[E].sources.length>1)throw Error(`Transformation map ${E} must have exactly one source file.
|
|
18
|
-
Did you specify these with the most recent transformation maps first?`);let D=F(w,I,"",0);for(let E=P.length-1;E>=0;E--)D=N(P[E],[D]);return D}function F(T,I,P,w){let{resolvedSources:D,sourcesContent:E,ignoreList:v}=T,k=w+1;return N(T,D.map((_,r)=>{let t={importer:P,depth:k,source:_||"",content:void 0,ignore:void 0},f=I(t.source,t),{source:q,content:g,ignore:u}=t;return f?F(new Y.TraceMap(f,q),I,q,k):U(q,g!==void 0?g:E?E[r]:null,u!==void 0?u:!!v&&v.includes(r))}))}class J{constructor(T,I){let P=I.decodedMappings?j.toDecodedMap(T):j.toEncodedMap(T);this.version=P.version,this.file=P.file,this.mappings=P.mappings,this.names=P.names,this.ignoreList=P.ignoreList,this.sourceRoot=P.sourceRoot,this.sources=P.sources,I.excludeContent||(this.sourcesContent=P.sourcesContent)}toString(){return JSON.stringify(this)}}function A(T,I,P){let w=typeof P=="object"?P:{excludeContent:!!P,decodedMappings:!1},D=V(T,I);return new J(M(D),w)}return A}($("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),$("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive":(n)=>{function X($){return Promise.resolve().then(()=>{var Y=Error("Cannot find module '"+$+"'");throw Y.code="MODULE_NOT_FOUND",Y})}X.keys=()=>[],X.resolve=X,X.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive",n.exports=X},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive":(n)=>{function X($){var Y=Error("Cannot find module '"+$+"'");throw Y.code="MODULE_NOT_FOUND",Y}X.keys=()=>[],X.resolve=X,X.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive",n.exports=X},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=(0,$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((j)=>(j.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(O,Z){Z.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));X.default=Y},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(n,X,$){(function(Y,j,O,Z){class z{constructor({file:d,sourceRoot:o}={}){this._names=new j.SetArray,this._sources=new j.SetArray,this._sourcesContent=[],this._mappings=[],this.file=d,this.sourceRoot=o,this._ignoreList=new j.SetArray}}function V(d){return d}function F(d,o,m,b,p,i,s,HZ){return k(!1,d,o,m,b,p,i,s,HZ)}function J(d,o){return a(!1,d,o)}let A=(d,o,m,b,p,i,s,HZ)=>k(!0,d,o,m,b,p,i,s,HZ),T=(d,o)=>a(!0,d,o);function I(d,o,m){let{_sources:b,_sourcesContent:p}=V(d);p[j.put(b,o)]=m}function P(d,o,m=!0){let{_sources:b,_sourcesContent:p,_ignoreList:i}=V(d),s=j.put(b,o);s===p.length&&(p[s]=null),m?j.put(i,s):j.remove(i,s)}function w(d){let{_mappings:o,_sources:m,_sourcesContent:b,_names:p,_ignoreList:i}=V(d);return f(o),{version:3,file:d.file||void 0,names:p.array,sourceRoot:d.sourceRoot||void 0,sources:m.array,sourcesContent:b,mappings:o,ignoreList:i.array}}function D(d){let o=w(d);return Object.assign(Object.assign({},o),{mappings:O.encode(o.mappings)})}function E(d){let o=new Z.TraceMap(d),m=new z({file:o.file,sourceRoot:o.sourceRoot});return q(V(m)._names,o.names),q(V(m)._sources,o.sources),V(m)._sourcesContent=o.sourcesContent||o.sources.map(()=>null),V(m)._mappings=Z.decodedMappings(o),o.ignoreList&&q(V(m)._ignoreList,o.ignoreList),m}function v(d){let o=[],{_mappings:m,_sources:b,_names:p}=V(d);for(let i=0;i<m.length;i++){let s=m[i];for(let HZ=0;HZ<s.length;HZ++){let GZ=s[HZ],AZ={line:i+1,column:GZ[0]},SZ,CZ,XZ;GZ.length!==1&&(SZ=b.array[GZ[1]],CZ={line:GZ[2]+1,column:GZ[3]},GZ.length===5&&(XZ=p.array[GZ[4]])),o.push({generated:AZ,source:SZ,original:CZ,name:XZ})}}return o}function k(d,o,m,b,p,i,s,HZ,GZ){let{_mappings:AZ,_sources:SZ,_sourcesContent:CZ,_names:XZ}=V(o),YZ=_(AZ,m),OZ=r(YZ,b);if(!p){if(d&&g(YZ,OZ))return;return t(YZ,OZ,[b])}let UZ=j.put(SZ,p),VZ=HZ?j.put(XZ,HZ):-1;if(UZ===CZ.length&&(CZ[UZ]=GZ!=null?GZ:null),!d||!u(YZ,OZ,UZ,i,s,VZ))return t(YZ,OZ,HZ?[b,UZ,i,s,VZ]:[b,UZ,i,s])}function _(d,o){for(let m=d.length;m<=o;m++)d[m]=[];return d[o]}function r(d,o){let m=d.length;for(let b=m-1;b>=0&&!(o>=d[b][0]);m=b--);return m}function t(d,o,m){for(let b=d.length;b>o;b--)d[b]=d[b-1];d[o]=m}function f(d){let{length:o}=d,m=o;for(let b=m-1;b>=0&&!(d[b].length>0);m=b,b--);m<o&&(d.length=m)}function q(d,o){for(let m=0;m<o.length;m++)j.put(d,o[m])}function g(d,o){return o===0||d[o-1].length===1}function u(d,o,m,b,p,i){if(o===0)return!1;let s=d[o-1];return s.length!==1&&m===s[1]&&b===s[2]&&p===s[3]&&i===(s.length===5?s[4]:-1)}function a(d,o,m){let{generated:b,source:p,original:i,name:s,content:HZ}=m;return p?k(d,o,b.line-1,b.column,p,i.line-1,i.column,s,HZ):k(d,o,b.line-1,b.column,null,null,null,null,null)}Y.GenMapping=z,Y.addMapping=J,Y.addSegment=F,Y.allMappings=v,Y.fromMap=E,Y.maybeAddMapping=T,Y.maybeAddSegment=A,Y.setIgnore=P,Y.setSourceContent=I,Y.toDecodedMap=w,Y.toEncodedMap=D,Object.defineProperty(Y,"__esModule",{value:!0})})(X,$("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),$("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),$("./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(n){n.exports=function(){let X=/^[\w+.-]+:\/\//,$=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Y=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function j(A){return X.test(A)}function O(A){return A.startsWith("//")}function Z(A){return A.startsWith("/")}function Q(A){return A.startsWith("file:")}function R(A){return/^[.?#]/.test(A)}function N(A){let T=$.exec(A);return M(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function U(A){let T=Y.exec(A),I=T[2];return M("file:","",T[1]||"","",Z(I)?I:"/"+I,T[3]||"",T[4]||"")}function M(A,T,I,P,w,D,E){return{scheme:A,user:T,host:I,port:P,path:w,query:D,hash:E,type:7}}function G(A){if(O(A)){let I=N("http:"+A);return I.scheme="",I.type=6,I}if(Z(A)){let I=N("http://foo.com"+A);return I.scheme="",I.host="",I.type=5,I}if(Q(A))return U(A);if(j(A))return N(A);let T=N("http://foo.com/"+A);return T.scheme="",T.host="",T.type=A?A.startsWith("?")?3:A.startsWith("#")?2:4:1,T}function z(A){if(A.endsWith("/.."))return A;let T=A.lastIndexOf("/");return A.slice(0,T+1)}function V(A,T){F(T,T.type),A.path==="/"?A.path=T.path:A.path=z(T.path)+A.path}function F(A,T){let I=T<=4,P=A.path.split("/"),w=1,D=0,E=!1;for(let k=1;k<P.length;k++){let _=P[k];_?(E=!1,_!=="."&&(_!==".."?(P[w++]=_,D++):D?(E=!0,D--,w--):I&&(P[w++]=_))):E=!0}let v="";for(let k=1;k<w;k++)v+="/"+P[k];(!v||E&&!v.endsWith("/.."))&&(v+="/"),A.path=v}function J(A,T){if(!A&&!T)return"";let I=G(A),P=I.type;if(T&&P!==7){let D=G(T),E=D.type;switch(P){case 1:I.hash=D.hash;case 2:I.query=D.query;case 3:case 4:V(I,D);case 5:I.user=D.user,I.host=D.host,I.port=D.port;case 6:I.scheme=D.scheme}E>P&&(P=E)}F(I,P);let w=I.query+I.hash;switch(P){case 2:case 3:return w;case 4:{let D=I.path.slice(1);return D?R(T||A)&&!R(D)?"./"+D+w:D+w:w||"."}case 5:return I.path+w;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+w}}return J}()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(n,X){(function($){class Y{constructor(){this._indexes={__proto__:null},this.array=[]}}function j(N){return N}function O(N,U){return j(N)._indexes[U]}function Z(N,U){let M=O(N,U);if(M!==void 0)return M;let{array:G,_indexes:z}=j(N),V=G.push(U);return z[U]=V-1}function Q(N){let{array:U,_indexes:M}=j(N);U.length!==0&&(M[U.pop()]=void 0)}function R(N,U){let M=O(N,U);if(M===void 0)return;let{array:G,_indexes:z}=j(N);for(let V=M+1;V<G.length;V++){let F=G[V];G[V-1]=F,z[F]--}z[U]=void 0,G.pop()}$.SetArray=Y,$.get=O,$.pop=Q,$.put=Z,$.remove=R,Object.defineProperty($,"__esModule",{value:!0})})(X)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(n,X){(function($){let Z=new Uint8Array(64),Q=new Uint8Array(128);for(let r=0;r<64;r++){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(r);Z[r]=t,Q[t]=r}function R(r,t){let f=0,q=0,g=0;do{let a=r.next();g=Q[a],f|=(31&g)<<q,q+=5}while(32&g);let u=1&f;return f>>>=1,u&&(f=-2147483648|-f),t+f}function N(r,t,f){let q=t-f;q=q<0?-q<<1|1:q<<1;do{let g=31&q;q>>>=5,q>0&&(g|=32),r.write(Z[g])}while(q>0);return t}function U(r,t){return!(r.pos>=t)&&r.peek()!==44}let M=16384,G=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:(r)=>Buffer.from(r.buffer,r.byteOffset,r.byteLength).toString()}:{decode(r){let t="";for(let f=0;f<r.length;f++)t+=String.fromCharCode(r[f]);return t}};class z{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(M)}write(r){let{buffer:t}=this;t[this.pos++]=r,this.pos===M&&(this.out+=G.decode(t),this.pos=0)}flush(){let{buffer:r,out:t,pos:f}=this;return f>0?t+G.decode(r.subarray(0,f)):t}}class V{constructor(r){this.pos=0,this.buffer=r}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(r){let{buffer:t,pos:f}=this,q=t.indexOf(r,f);return q===-1?t.length:q}}let F=[];function J(r){let{length:t}=r,f=new V(r),q=[],g=[],u=0;for(;f.pos<t;f.pos++){u=R(f,u);let a=R(f,0);if(!U(f,t)){let b=g.pop();b[2]=u,b[3]=a;continue}let d=R(f,0),o=1&R(f,0)?[u,a,0,0,d,R(f,0)]:[u,a,0,0,d],m=F;if(U(f,t)){m=[];do{let b=R(f,0);m.push(b)}while(U(f,t))}o.vars=m,q.push(o),g.push(o)}return q}function A(r){let t=new z;for(let f=0;f<r.length;)f=T(r,f,t,[0]);return t.flush()}function T(r,t,f,q){let g=r[t],{0:u,1:a,2:d,3:o,4:m,vars:b}=g;t>0&&f.write(44),q[0]=N(f,u,q[0]),N(f,a,0),N(f,m,0),N(f,g.length===6?1:0,0),g.length===6&&N(f,g[5],0);for(let p of b)N(f,p,0);for(t++;t<r.length;){let p=r[t],{0:i,1:s}=p;if(i>d||i===d&&s>=o)break;t=T(r,t,f,q)}return f.write(44),q[0]=N(f,d,q[0]),N(f,o,0),t}function I(r){let{length:t}=r,f=new V(r),q=[],g=[],u=0,a=0,d=0,o=0,m=0,b=0,p=0,i=0;do{let s=f.indexOf(";"),HZ=0;for(;f.pos<s;f.pos++){if(HZ=R(f,HZ),!U(f,s)){let OZ=g.pop();OZ[2]=u,OZ[3]=HZ;continue}let GZ=R(f,0),AZ=2&GZ,SZ=4&GZ,CZ,XZ=null,YZ=F;if(1&GZ){let OZ=R(f,a);d=R(f,a===OZ?d:0),a=OZ,CZ=[u,HZ,0,0,OZ,d]}else CZ=[u,HZ,0,0];if(CZ.isScope=!!SZ,AZ){let OZ=o,UZ=m;o=R(f,o);let VZ=OZ===o;m=R(f,VZ?m:0),b=R(f,VZ&&UZ===m?b:0),XZ=[o,m,b]}if(CZ.callsite=XZ,U(f,s)){YZ=[];do{p=u,i=HZ;let OZ=R(f,0),UZ;if(OZ<-1){UZ=[[R(f,0)]];for(let VZ=-1;VZ>OZ;VZ--){let jZ=p;p=R(f,p),i=R(f,p===jZ?i:0);let JZ=R(f,0);UZ.push([JZ,p,i])}}else UZ=[[OZ]];YZ.push(UZ)}while(U(f,s))}CZ.bindings=YZ,q.push(CZ),g.push(CZ)}u++,f.pos=s+1}while(f.pos<t);return q}function P(r){if(r.length===0)return"";let t=new z;for(let f=0;f<r.length;)f=w(r,f,t,[0,0,0,0,0,0,0]);return t.flush()}function w(r,t,f,q){let g=r[t],{0:u,1:a,2:d,3:o,isScope:m,callsite:b,bindings:p}=g;if(q[0]<u?(D(f,q[0],u),q[0]=u,q[1]=0):t>0&&f.write(44),q[1]=N(f,g[1],q[1]),N(f,(g.length===6?1:0)|(b?2:0)|(m?4:0),0),g.length===6){let{4:i,5:s}=g;i!==q[2]&&(q[3]=0),q[2]=N(f,i,q[2]),q[3]=N(f,s,q[3])}if(b){let{0:i,1:s,2:HZ}=g.callsite;i!==q[4]?(q[5]=0,q[6]=0):s!==q[5]&&(q[6]=0),q[4]=N(f,i,q[4]),q[5]=N(f,s,q[5]),q[6]=N(f,HZ,q[6])}if(p)for(let i of p){i.length>1&&N(f,-i.length,0),N(f,i[0][0],0);let s=u,HZ=a;for(let GZ=1;GZ<i.length;GZ++){let AZ=i[GZ];s=N(f,AZ[1],s),HZ=N(f,AZ[2],HZ),N(f,AZ[0],0)}}for(t++;t<r.length;){let i=r[t],{0:s,1:HZ}=i;if(s>d||s===d&&HZ>=o)break;t=w(r,t,f,q)}return q[0]<d?(D(f,q[0],d),q[0]=d,q[1]=0):f.write(44),q[1]=N(f,o,q[1]),t}function D(r,t,f){do r.write(59);while(++t<f)}function E(r){let{length:t}=r,f=new V(r),q=[],g=0,u=0,a=0,d=0,o=0;do{let m=f.indexOf(";"),b=[],p=!0,i=0;for(g=0;f.pos<m;){let s;g=R(f,g),g<i&&(p=!1),i=g,U(f,m)?(u=R(f,u),a=R(f,a),d=R(f,d),U(f,m)?(o=R(f,o),s=[g,u,a,d,o]):s=[g,u,a,d]):s=[g],b.push(s),f.pos++}p||v(b),q.push(b),f.pos=m+1}while(f.pos<=t);return q}function v(r){r.sort(k)}function k(r,t){return r[0]-t[0]}function _(r){let t=new z,f=0,q=0,g=0,u=0;for(let a=0;a<r.length;a++){let d=r[a];if(a>0&&t.write(59),d.length===0)continue;let o=0;for(let m=0;m<d.length;m++){let b=d[m];m>0&&t.write(44),o=N(t,b[0],o),b.length!==1&&(f=N(t,b[1],f),q=N(t,b[2],q),g=N(t,b[3],g),b.length!==4&&(u=N(t,b[4],u)))}}return t.flush()}$.decode=E,$.decodeGeneratedRanges=I,$.decodeOriginalScopes=J,$.encode=_,$.encodeGeneratedRanges=P,$.encodeOriginalScopes=A,Object.defineProperty($,"__esModule",{value:!0})})(X)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(n,X,$){(function(Y,j,O){function Z($Z,PZ){return PZ&&!PZ.endsWith("/")&&(PZ+="/"),O($Z,PZ)}function Q($Z){if(!$Z)return"";let PZ=$Z.lastIndexOf("/");return $Z.slice(0,PZ+1)}let R=0,N=1,U=2,M=3,G=4,z=1,V=2;function F($Z,PZ){let wZ=J($Z,0);if(wZ===$Z.length)return $Z;PZ||($Z=$Z.slice());for(let DZ=wZ;DZ<$Z.length;DZ=J($Z,DZ+1))$Z[DZ]=T($Z[DZ],PZ);return $Z}function J($Z,PZ){for(let wZ=PZ;wZ<$Z.length;wZ++)if(!A($Z[wZ]))return wZ;return $Z.length}function A($Z){for(let PZ=1;PZ<$Z.length;PZ++)if($Z[PZ][R]<$Z[PZ-1][R])return!1;return!0}function T($Z,PZ){return PZ||($Z=$Z.slice()),$Z.sort(I)}function I($Z,PZ){return $Z[R]-PZ[R]}let P=!1;function w($Z,PZ,wZ,DZ){for(;wZ<=DZ;){let l=wZ+(DZ-wZ>>1),ZZ=$Z[l][R]-PZ;if(ZZ===0)return P=!0,l;ZZ<0?wZ=l+1:DZ=l-1}return P=!1,wZ-1}function D($Z,PZ,wZ){for(let DZ=wZ+1;DZ<$Z.length&&$Z[DZ][R]===PZ;wZ=DZ++);return wZ}function E($Z,PZ,wZ){for(let DZ=wZ-1;DZ>=0&&$Z[DZ][R]===PZ;wZ=DZ--);return wZ}function v(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function k($Z,PZ,wZ,DZ){let{lastKey:l,lastNeedle:ZZ,lastIndex:LZ}=wZ,qZ=0,kZ=$Z.length-1;if(DZ===l){if(PZ===ZZ)return P=LZ!==-1&&$Z[LZ][R]===PZ,LZ;PZ>=ZZ?qZ=LZ===-1?0:LZ:kZ=LZ}return wZ.lastKey=DZ,wZ.lastNeedle=PZ,wZ.lastIndex=w($Z,PZ,qZ,kZ)}function _($Z,PZ){let wZ=PZ.map(t);for(let DZ=0;DZ<$Z.length;DZ++){let l=$Z[DZ];for(let ZZ=0;ZZ<l.length;ZZ++){let LZ=l[ZZ];if(LZ.length===1)continue;let qZ=LZ[N],kZ=LZ[U],lZ=LZ[M],aZ=wZ[qZ],W0=aZ[kZ]||(aZ[kZ]=[]),KZ=PZ[qZ],MZ=D(W0,lZ,k(W0,lZ,KZ,kZ));KZ.lastIndex=++MZ,r(W0,MZ,[lZ,DZ,LZ[R]])}}return wZ}function r($Z,PZ,wZ){for(let DZ=$Z.length;DZ>PZ;DZ--)$Z[DZ]=$Z[DZ-1];$Z[PZ]=wZ}function t(){return{__proto__:null}}let f=function($Z,PZ){let wZ=q($Z);if(!("sections"in wZ))return new i(wZ,PZ);let DZ=[],l=[],ZZ=[],LZ=[],qZ=[];return g(wZ,PZ,DZ,l,ZZ,LZ,qZ,0,0,1/0,1/0),jZ({version:3,file:wZ.file,names:LZ,sources:l,sourcesContent:ZZ,mappings:DZ,ignoreList:qZ})};function q($Z){return typeof $Z=="string"?JSON.parse($Z):$Z}function g($Z,PZ,wZ,DZ,l,ZZ,LZ,qZ,kZ,lZ,aZ){let{sections:W0}=$Z;for(let KZ=0;KZ<W0.length;KZ++){let{map:MZ,offset:yZ}=W0[KZ],bZ=lZ,pZ=aZ;if(KZ+1<W0.length){let uZ=W0[KZ+1].offset;bZ=Math.min(lZ,qZ+uZ.line),bZ===lZ?pZ=Math.min(aZ,kZ+uZ.column):bZ<lZ&&(pZ=kZ+uZ.column)}u(MZ,PZ,wZ,DZ,l,ZZ,LZ,qZ+yZ.line,kZ+yZ.column,bZ,pZ)}}function u($Z,PZ,wZ,DZ,l,ZZ,LZ,qZ,kZ,lZ,aZ){let W0=q($Z);if("sections"in W0)return g(...arguments);let KZ=new i(W0,PZ),MZ=DZ.length,yZ=ZZ.length,bZ=GZ(KZ),{resolvedSources:pZ,sourcesContent:uZ,ignoreList:mZ}=KZ;if(a(DZ,pZ),a(ZZ,KZ.names),uZ)a(l,uZ);else for(let hZ=0;hZ<pZ.length;hZ++)l.push(null);if(mZ)for(let hZ=0;hZ<mZ.length;hZ++)LZ.push(mZ[hZ]+MZ);for(let hZ=0;hZ<bZ.length;hZ++){let eZ=qZ+hZ;if(eZ>lZ)return;let O0=d(wZ,eZ),EZ=hZ===0?kZ:0,Y0=bZ[hZ];for(let H0=0;H0<Y0.length;H0++){let M0=Y0[H0],v0=EZ+M0[R];if(eZ===lZ&&v0>=aZ)return;if(M0.length===1){O0.push([v0]);continue}let m0=MZ+M0[N],X5=M0[U],d0=M0[M];O0.push(M0.length===4?[v0,m0,X5,d0]:[v0,m0,X5,d0,yZ+M0[G]])}}}function a($Z,PZ){for(let wZ=0;wZ<PZ.length;wZ++)$Z.push(PZ[wZ])}function d($Z,PZ){for(let wZ=$Z.length;wZ<=PZ;wZ++)$Z[wZ]=[];return $Z[PZ]}let o="`line` must be greater than 0 (lines start at line 1)",m="`column` must be greater than or equal to 0 (columns start at column 0)",b=-1,p=1;class i{constructor($Z,PZ){let wZ=typeof $Z=="string";if(!wZ&&$Z._decodedMemo)return $Z;let DZ=wZ?JSON.parse($Z):$Z,{version:l,file:ZZ,names:LZ,sourceRoot:qZ,sources:kZ,sourcesContent:lZ}=DZ;this.version=l,this.file=ZZ,this.names=LZ||[],this.sourceRoot=qZ,this.sources=kZ,this.sourcesContent=lZ,this.ignoreList=DZ.ignoreList||DZ.x_google_ignoreList||void 0;let aZ=Z(qZ||"",Q(PZ));this.resolvedSources=kZ.map((KZ)=>Z(KZ||"",aZ));let{mappings:W0}=DZ;typeof W0=="string"?(this._encoded=W0,this._decoded=void 0):(this._encoded=void 0,this._decoded=F(W0,wZ)),this._decodedMemo=v(),this._bySources=void 0,this._bySourceMemos=void 0}}function s($Z){return $Z}function HZ($Z){var PZ,wZ;return(PZ=(wZ=s($Z))._encoded)!==null&&PZ!==void 0?PZ:wZ._encoded=j.encode(s($Z)._decoded)}function GZ($Z){var PZ;return(PZ=s($Z))._decoded||(PZ._decoded=j.decode(s($Z)._encoded))}function AZ($Z,PZ,wZ){let DZ=GZ($Z);if(PZ>=DZ.length)return null;let l=DZ[PZ],ZZ=sZ(l,s($Z)._decodedMemo,PZ,wZ,p);return ZZ===-1?null:l[ZZ]}function SZ($Z,PZ){let{line:wZ,column:DZ,bias:l}=PZ;if(wZ--,wZ<0)throw Error(o);if(DZ<0)throw Error(m);let ZZ=GZ($Z);if(wZ>=ZZ.length)return TZ(null,null,null,null);let LZ=ZZ[wZ],qZ=sZ(LZ,s($Z)._decodedMemo,wZ,DZ,l||p);if(qZ===-1)return TZ(null,null,null,null);let kZ=LZ[qZ];if(kZ.length===1)return TZ(null,null,null,null);let{names:lZ,resolvedSources:aZ}=$Z;return TZ(aZ[kZ[N]],kZ[U]+1,kZ[M],kZ.length===5?lZ[kZ[G]]:null)}function CZ($Z,PZ){let{source:wZ,line:DZ,column:l,bias:ZZ}=PZ;return dZ($Z,wZ,DZ,l,ZZ||p,!1)}function XZ($Z,PZ){let{source:wZ,line:DZ,column:l,bias:ZZ}=PZ;return dZ($Z,wZ,DZ,l,ZZ||b,!0)}function YZ($Z,PZ){let wZ=GZ($Z),{names:DZ,resolvedSources:l}=$Z;for(let ZZ=0;ZZ<wZ.length;ZZ++){let LZ=wZ[ZZ];for(let qZ=0;qZ<LZ.length;qZ++){let kZ=LZ[qZ],lZ=ZZ+1,aZ=kZ[0],W0=null,KZ=null,MZ=null,yZ=null;kZ.length!==1&&(W0=l[kZ[1]],KZ=kZ[2]+1,MZ=kZ[3]),kZ.length===5&&(yZ=DZ[kZ[4]]),PZ({generatedLine:lZ,generatedColumn:aZ,source:W0,originalLine:KZ,originalColumn:MZ,name:yZ})}}}function OZ($Z,PZ){let{sources:wZ,resolvedSources:DZ}=$Z,l=wZ.indexOf(PZ);return l===-1&&(l=DZ.indexOf(PZ)),l}function UZ($Z,PZ){let{sourcesContent:wZ}=$Z;if(wZ==null)return null;let DZ=OZ($Z,PZ);return DZ===-1?null:wZ[DZ]}function VZ($Z,PZ){let{ignoreList:wZ}=$Z;if(wZ==null)return!1;let DZ=OZ($Z,PZ);return DZ!==-1&&wZ.includes(DZ)}function jZ($Z,PZ){let wZ=new i(c($Z,[]),PZ);return s(wZ)._decoded=$Z.mappings,wZ}function JZ($Z){return c($Z,GZ($Z))}function NZ($Z){return c($Z,HZ($Z))}function c($Z,PZ){return{version:$Z.version,file:$Z.file,names:$Z.names,sourceRoot:$Z.sourceRoot,sources:$Z.sources,sourcesContent:$Z.sourcesContent,mappings:PZ,ignoreList:$Z.ignoreList||$Z.x_google_ignoreList}}function TZ($Z,PZ,wZ,DZ){return{source:$Z,line:PZ,column:wZ,name:DZ}}function nZ($Z,PZ){return{line:$Z,column:PZ}}function sZ($Z,PZ,wZ,DZ,l){let ZZ=k($Z,DZ,PZ,wZ);return P?ZZ=(l===b?D:E)($Z,DZ,ZZ):l===b&&ZZ++,ZZ===-1||ZZ===$Z.length?-1:ZZ}function Q0($Z,PZ,wZ,DZ,l){let ZZ=sZ($Z,PZ,wZ,DZ,p);if(P||l!==b||ZZ++,ZZ===-1||ZZ===$Z.length)return[];let LZ=P?DZ:$Z[ZZ][R];P||(ZZ=E($Z,LZ,ZZ));let qZ=D($Z,LZ,ZZ),kZ=[];for(;ZZ<=qZ;ZZ++){let lZ=$Z[ZZ];kZ.push(nZ(lZ[z]+1,lZ[V]))}return kZ}function dZ($Z,PZ,wZ,DZ,l,ZZ){var LZ;if(--wZ<0)throw Error(o);if(DZ<0)throw Error(m);let{sources:qZ,resolvedSources:kZ}=$Z,lZ=qZ.indexOf(PZ);if(lZ===-1&&(lZ=kZ.indexOf(PZ)),lZ===-1)return ZZ?[]:nZ(null,null);let aZ=((LZ=s($Z))._bySources||(LZ._bySources=_(GZ($Z),s($Z)._bySourceMemos=qZ.map(v))))[lZ][wZ];if(aZ==null)return ZZ?[]:nZ(null,null);let W0=s($Z)._bySourceMemos[lZ];if(ZZ)return Q0(aZ,W0,wZ,DZ,l);let KZ=sZ(aZ,W0,wZ,DZ,l);if(KZ===-1)return nZ(null,null);let MZ=aZ[KZ];return nZ(MZ[z]+1,MZ[V])}Y.AnyMap=f,Y.GREATEST_LOWER_BOUND=p,Y.LEAST_UPPER_BOUND=b,Y.TraceMap=i,Y.allGeneratedPositionsFor=XZ,Y.decodedMap=JZ,Y.decodedMappings=GZ,Y.eachMapping=YZ,Y.encodedMap=NZ,Y.encodedMappings=HZ,Y.generatedPositionFor=CZ,Y.isIgnored=VZ,Y.originalPositionFor=SZ,Y.presortedDecodedMap=jZ,Y.sourceContentFor=UZ,Y.traceSegment=AZ})(X,$("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),$("./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":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(j){var O=(0,Y.createDynamicImportTransform)(j);return{manipulateOptions:function(Z,Q){Q.plugins.push("dynamicImport")},visitor:{Import:function(Z){O(this,Z)}}}};var Y=$("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");n.exports=X.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0});var $=function(j,O){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(Z,Q){var R=[],N=!0,U=!1,M=void 0;try{for(var G,z=Z[Symbol.iterator]();!(N=(G=z.next()).done)&&(R.push(G.value),!Q||R.length!==Q);N=!0);}catch(V){U=!0,M=V}finally{try{!N&&z.return&&z.return()}finally{if(U)throw M}}return R}(j,O);throw TypeError("Invalid attempt to destructure non-iterable instance")};function Y(j,O){var Z=O.arguments,Q=$(Z,1)[0];return j.isStringLiteral(Q)||j.isTemplateLiteral(Q)?(j.removeComments(Q),Q):j.templateLiteral([j.templateElement({raw:"",cooked:""}),j.templateElement({raw:"",cooked:""},!0)],Z)}X.getImportSource=Y,X.createDynamicImportTransform=function(j){var{template:O,types:Z}=j,Q={static:{interop:O("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:O("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:O("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:O("Promise.resolve(SOURCE).then(s => require(s))")}},R=typeof WeakSet=="function"&&new WeakSet;return function(N,U){if(R){if(R.has(U))return;R.add(U)}var M,G=Y(Z,U.parent),z=(M=G,Z.isStringLiteral(M)||Z.isTemplateLiteral(M)&&M.expressions.length===0?Q.static:Q.dynamic),V=N.opts.noInterop?z.noInterop({SOURCE:G}):z.interop({SOURCE:G,INTEROP:N.addHelper("interopRequireWildcard")});U.parentPath.replaceWith(V)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(n,X,$)=>{var Y=$("path");function j(O){switch(O.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}n.exports=function(O){var Z=O.types,Q=function(N,U){return function(M){var G=Z.callExpression(N.expression,[Z.Identifier(M),Z.Identifier("undefined"),Z.NumericLiteral(U.key)]),z=Z.logicalExpression("||",G,Z.Identifier(M)),V=Z.assignmentExpression("=",Z.Identifier(M),z);return Z.expressionStatement(V)}},R=function(N,U){return function(M,G){var z=Z.callExpression(N.expression,[Z.Identifier("".concat(M,".prototype")),Z.StringLiteral(G),Z.NumericLiteral(U.key)]);return Z.expressionStatement(z)}};return{visitor:{Program:function(N,U){var M=(0,Y.extname)(U.file.opts.filename);M!==".ts"&&M!==".tsx"||function(){var G=Object.create(null);N.node.body.filter(function(k){var{type:_,declaration:r}=k;switch(_){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return r&&r.type==="ClassDeclaration";default:return!1}}).map(function(k){return k.type==="ClassDeclaration"?k:k.declaration}).forEach(function(k){k.body.body.forEach(function(_){(_.params||[]).forEach(function(r){(r.decorators||[]).forEach(function(t){t.expression.callee?G[t.expression.callee.name]=t:G[t.expression.name]=t})})})});var z=!0,V=!1,F=void 0;try{for(var J,A=N.get("body")[Symbol.iterator]();!(z=(J=A.next()).done);z=!0){var T=J.value;if(T.node.type==="ImportDeclaration"){if(T.node.specifiers.length===0)continue;var I=!0,P=!1,w=void 0;try{for(var D,E=function(){var k=D.value,_=T.scope.getBinding(k.local.name);_.referencePaths.length?_.referencePaths.reduce(function(r,t){return r||j(t)},!1)&&Object.keys(G).forEach(function(r){var t=G[r];(t.expression.arguments||[]).forEach(function(f){f.name===k.local.name&&_.referencePaths.push({parent:t.expression})})}):G[k.local.name]&&_.referencePaths.push({parent:G[k.local.name]})},v=T.node.specifiers[Symbol.iterator]();!(I=(D=v.next()).done);I=!0)E()}catch(k){P=!0,w=k}finally{try{I||v.return==null||v.return()}finally{if(P)throw w}}}}}catch(k){V=!0,F=k}finally{try{z||A.return==null||A.return()}finally{if(V)throw F}}}()},Function:function(N){var U="";N.node.id?U=N.node.id.name:N.node.key&&(U=N.node.key.name),(N.get("params")||[]).slice().forEach(function(M){var G=M.node.decorators||[],z=G.length;if(G.slice().forEach(function(F){if(N.type==="ClassMethod"){var J,A=N.parentPath.parentPath,T=N.findParent(function(k){return k.type==="ClassDeclaration"});if(T?J=T.node.id.name:(A.insertAfter(null),J=function(k){var _=k.findParent(function(r){return r.node.type==="AssignmentExpression"});return _.node.right.type==="SequenceExpression"?_.node.right.expressions[1].name:_.node.right.type==="ClassExpression"?_.node.left.name:null}(N)),U==="constructor"){var I=Q(F,M)(J);A.insertAfter(I)}else{var P=R(F,M)(J,U);A.insertAfter(P)}}else{var w=N.findParent(function(k){return k.node.type==="VariableDeclarator"}).node.id.name;if(U===w){var D=Q(F,M)(w);if(N.parentKey==="body")N.insertAfter(D);else N.findParent(function(k){return k.parentKey==="body"}).insertAfter(D)}else{var E=N.findParent(function(k){return k.node.type==="CallExpression"}),v=R(F,M)(w,U);E.insertAfter(v)}}}),z){var V=function(F){switch(F.node.type){case"ObjectPattern":return Z.ObjectPattern(F.node.properties);case"AssignmentPattern":return Z.AssignmentPattern(F.node.left,F.node.right);case"TSParameterProperty":return Z.Identifier(F.node.parameter.name);default:return Z.Identifier(F.node.name)}}(M);M.replaceWith(V)}})}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.metadataVisitor=function(Z,Q){let R=Q.node,N=Z.node;switch(R.type){case"ClassMethod":let U=R.kind==="constructor"?N.decorators:R.decorators;if(!U||U.length===0)return;U.push(O("design:type",Y.types.identifier("Function"))),U.push(O("design:paramtypes",Y.types.arrayExpression(R.params.map((M)=>(0,j.serializeType)(Z,M)))));break;case"ClassProperty":if(!R.decorators||R.decorators.length===0)return;if(!R.typeAnnotation||R.typeAnnotation.type!=="TSTypeAnnotation")return;R.decorators.push(O("design:type",(0,j.serializeType)(Z,R)))}};var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),j=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function O(Z,Q){return Y.types.decorator(Y.types.callExpression(Y.types.memberExpression(Y.types.identifier("Reflect"),Y.types.identifier("metadata")),[Y.types.stringLiteral(Z),Q]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.serializeType=function(M,G){let z=O(G);if(z==null)return j();if(!z.typeAnnotation||z.typeAnnotation.type!=="TSTypeAnnotation")return j();let V=z.typeAnnotation.typeAnnotation;return N(M.node.id?M.node.id.name:"",V)},X.isClassType=Q;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function j(){return Y.types.unaryExpression("void",Y.types.numericLiteral(0))}function O(M){return M==null?null:M.type==="ClassProperty"||M.type==="Identifier"||M.type==="ObjectPattern"?M:M.type==="AssignmentPattern"&&M.left.type==="Identifier"?M.left:M.type==="TSParameterProperty"?O(M.parameter):null}function Z(M,G){let z=R(G.typeName);return Q(M,z)?Y.types.identifier("Object"):Y.types.conditionalExpression(Y.types.binaryExpression("===",Y.types.unaryExpression("typeof",z),Y.types.stringLiteral("undefined")),Y.types.identifier("Object"),Y.types.cloneDeep(z))}function Q(M,G){switch(G.type){case"Identifier":return G.name===M;case"MemberExpression":return Q(M,G.object);default:throw Error(`The property expression at ${G.start} is not valid as a Type to be used in Reflect.metadata`)}}function R(M){return M.type==="Identifier"?Y.types.identifier(M.name):Y.types.memberExpression(R(M.left),M.right)}function N(M,G){if(G===void 0)return Y.types.identifier("Object");switch(G.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return j();case"TSParenthesizedType":return N(M,G.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return Y.types.identifier("Function");case"TSArrayType":case"TSTupleType":return Y.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return Y.types.identifier("Boolean");case"TSStringKeyword":return Y.types.identifier("String");case"TSObjectKeyword":return Y.types.identifier("Object");case"TSLiteralType":switch(G.literal.type){case"StringLiteral":return Y.types.identifier("String");case"NumericLiteral":return Y.types.identifier("Number");case"BooleanLiteral":return Y.types.identifier("Boolean");default:throw Error("Bad type for decorator"+G.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return Y.types.identifier("Number");case"TSSymbolKeyword":return Y.types.identifier("Symbol");case"TSTypeReference":return Z(M,G);case"TSIntersectionType":case"TSUnionType":return U(M,G.types);case"TSConditionalType":return U(M,[G.trueType,G.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw Error("Bad type for decorator")}return Y.types.identifier("Object")}function U(M,G){let z;for(let V of G){for(;V.type==="TSParenthesizedType";)V=V.typeAnnotation;if(V.type==="TSNeverKeyword")continue;if(V.type==="TSNullKeyword"||V.type==="TSUndefinedKeyword")continue;let F=N(M,V);if(Y.types.isIdentifier(F)&&F.name==="Object")return F;if(z){if(!Y.types.isIdentifier(z)||!Y.types.isIdentifier(F)||z.name!==F.name)return Y.types.identifier("Object")}else z=F}return z||j()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.parameterVisitor=function(O,Z){if(Z.type!=="ClassMethod")return;if(Z.node.type!=="ClassMethod")return;if(Z.node.key.type!=="Identifier")return;let Q=Z;(Q.get("params")||[]).slice().forEach(function(R){let N;(R.node.type==="Identifier"||R.node.type==="ObjectPattern"?R.node:R.node.type==="TSParameterProperty"&&R.node.parameter.type==="Identifier"?R.node.parameter:null)!=null&&((R.node.decorators||[]).slice().forEach(function(U){Q.node.kind==="constructor"?(N=j(R.key,U.expression,!0),O.node.decorators||(O.node.decorators=[]),O.node.decorators.push(N)):(N=j(R.key,U.expression,!1),Q.node.decorators||(Q.node.decorators=[]),Q.node.decorators.push(N))}),N&&(R.node.decorators=null))})};var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function j(O,Z,Q=!1){return Y.types.decorator(Y.types.functionExpression(null,[Y.types.identifier("target"),Y.types.identifier("key")],Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Z,[Y.types.identifier("target"),Y.types.identifier(Q?"undefined":"key"),Y.types.numericLiteral(O)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),j=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),O=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),Z=(0,Y.declare)((Q)=>(Q.assertVersion(7),{visitor:{Program(R){R.traverse({ClassDeclaration(N){for(let U of N.get("body").get("body"))U.type!=="ClassMethod"&&U.type!=="ClassProperty"||((0,j.parameterVisitor)(N,U),(0,O.metadataVisitor)(N,U));N.parentPath.scope.crawl()}})}}}));X.default=Z},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(n,X)=>{var $;function Y(O,Z){(Z=Z||{}).hasComment&&(O=function(Q){return Q.split(",").pop()}(O)),Z.encoding==="base64"?O=$(O):Z.encoding==="uri"&&(O=decodeURIComponent(O)),(Z.isJSON||Z.encoding)&&(O=JSON.parse(O)),this.sourcemap=O}function j(O){return new Y(O,{isJSON:!0})}Object.defineProperty(X,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(X,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),$=typeof Buffer<"u"?typeof Buffer.from=="function"?function(O){return Buffer.from(O,"base64").toString()}:function(O){if(typeof value=="number")throw TypeError("The value to decode must not be of type number.");return new Buffer(O,"base64").toString()}:function(O){return decodeURIComponent(escape(atob(O)))},Y.prototype.toJSON=function(O){return JSON.stringify(this.sourcemap,null,O)},typeof Buffer<"u"?typeof Buffer.from=="function"?Y.prototype.toBase64=function(){var O=this.toJSON();return Buffer.from(O,"utf8").toString("base64")}:Y.prototype.toBase64=function(){var O=this.toJSON();if(typeof O=="number")throw TypeError("The json to encode must not be of type number.");return new Buffer(O,"utf8").toString("base64")}:Y.prototype.toBase64=function(){var O=this.toJSON();return btoa(unescape(encodeURIComponent(O)))},Y.prototype.toURI=function(){var O=this.toJSON();return encodeURIComponent(O)},Y.prototype.toComment=function(O){var Z,Q,R;return O!=null&&O.encoding==="uri"?(Z="",Q=this.toURI()):(Z=";base64",Q=this.toBase64()),R="sourceMappingURL=data:application/json;charset=utf-8"+Z+","+Q,O!=null&&O.multiline?"/*# "+R+" */":"//# "+R},Y.prototype.toObject=function(){return JSON.parse(this.toJSON())},Y.prototype.addProperty=function(O,Z){if(this.sourcemap.hasOwnProperty(O))throw Error('property "'+O+'" already exists on the sourcemap, use set property instead');return this.setProperty(O,Z)},Y.prototype.setProperty=function(O,Z){return this.sourcemap[O]=Z,this},Y.prototype.getProperty=function(O){return this.sourcemap[O]},X.fromObject=function(O){return new Y(O)},X.fromJSON=function(O){return new Y(O,{isJSON:!0})},X.fromURI=function(O){return new Y(O,{encoding:"uri"})},X.fromBase64=function(O){return new Y(O,{encoding:"base64"})},X.fromComment=function(O){var Z;return new Y(O=O.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(Z=X.commentRegex.exec(O))&&Z[4]||"uri",hasComment:!0})},X.fromMapFileComment=function(O,Z){if(typeof Z=="string")throw 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 Q=function(R,N){var U=X.mapFileCommentRegex.exec(R),M=U[1]||U[2];try{return(R=N(M))!=null&&typeof R.catch=="function"?R.catch(G):R}catch(z){G(z)}function G(z){throw Error("An error occurred while trying to read the map file at "+M+`
|
|
18
|
+
Did you specify these with the most recent transformation maps first?`);let D=F(w,I,"",0);for(let E=P.length-1;E>=0;E--)D=N(P[E],[D]);return D}function F(T,I,P,w){let{resolvedSources:D,sourcesContent:E,ignoreList:v}=T,k=w+1;return N(T,D.map((_,r)=>{let t={importer:P,depth:k,source:_||"",content:void 0,ignore:void 0},f=I(t.source,t),{source:q,content:g,ignore:u}=t;return f?F(new Y.TraceMap(f,q),I,q,k):U(q,g!==void 0?g:E?E[r]:null,u!==void 0?u:!!v&&v.includes(r))}))}class J{constructor(T,I){let P=I.decodedMappings?j.toDecodedMap(T):j.toEncodedMap(T);this.version=P.version,this.file=P.file,this.mappings=P.mappings,this.names=P.names,this.ignoreList=P.ignoreList,this.sourceRoot=P.sourceRoot,this.sources=P.sources,I.excludeContent||(this.sourcesContent=P.sourcesContent)}toString(){return JSON.stringify(this)}}function A(T,I,P){let w=typeof P=="object"?P:{excludeContent:!!P,decodedMappings:!1},D=V(T,I);return new J(M(D),w)}return A}($("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),$("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive":(n)=>{function X($){return Promise.resolve().then(()=>{var Y=Error("Cannot find module '"+$+"'");throw Y.code="MODULE_NOT_FOUND",Y})}X.keys=()=>[],X.resolve=X,X.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive",n.exports=X},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive":(n)=>{function X($){var Y=Error("Cannot find module '"+$+"'");throw Y.code="MODULE_NOT_FOUND",Y}X.keys=()=>[],X.resolve=X,X.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive",n.exports=X},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=(0,$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((j)=>(j.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(O,Z){Z.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));X.default=Y},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(n,X,$){(function(Y,j,O,Z){class z{constructor({file:d,sourceRoot:o}={}){this._names=new j.SetArray,this._sources=new j.SetArray,this._sourcesContent=[],this._mappings=[],this.file=d,this.sourceRoot=o,this._ignoreList=new j.SetArray}}function V(d){return d}function F(d,o,m,b,p,i,s,HZ){return k(!1,d,o,m,b,p,i,s,HZ)}function J(d,o){return a(!1,d,o)}let A=(d,o,m,b,p,i,s,HZ)=>k(!0,d,o,m,b,p,i,s,HZ),T=(d,o)=>a(!0,d,o);function I(d,o,m){let{_sources:b,_sourcesContent:p}=V(d);p[j.put(b,o)]=m}function P(d,o,m=!0){let{_sources:b,_sourcesContent:p,_ignoreList:i}=V(d),s=j.put(b,o);s===p.length&&(p[s]=null),m?j.put(i,s):j.remove(i,s)}function w(d){let{_mappings:o,_sources:m,_sourcesContent:b,_names:p,_ignoreList:i}=V(d);return f(o),{version:3,file:d.file||void 0,names:p.array,sourceRoot:d.sourceRoot||void 0,sources:m.array,sourcesContent:b,mappings:o,ignoreList:i.array}}function D(d){let o=w(d);return Object.assign(Object.assign({},o),{mappings:O.encode(o.mappings)})}function E(d){let o=new Z.TraceMap(d),m=new z({file:o.file,sourceRoot:o.sourceRoot});return q(V(m)._names,o.names),q(V(m)._sources,o.sources),V(m)._sourcesContent=o.sourcesContent||o.sources.map(()=>null),V(m)._mappings=Z.decodedMappings(o),o.ignoreList&&q(V(m)._ignoreList,o.ignoreList),m}function v(d){let o=[],{_mappings:m,_sources:b,_names:p}=V(d);for(let i=0;i<m.length;i++){let s=m[i];for(let HZ=0;HZ<s.length;HZ++){let GZ=s[HZ],AZ={line:i+1,column:GZ[0]},SZ,CZ,XZ;GZ.length!==1&&(SZ=b.array[GZ[1]],CZ={line:GZ[2]+1,column:GZ[3]},GZ.length===5&&(XZ=p.array[GZ[4]])),o.push({generated:AZ,source:SZ,original:CZ,name:XZ})}}return o}function k(d,o,m,b,p,i,s,HZ,GZ){let{_mappings:AZ,_sources:SZ,_sourcesContent:CZ,_names:XZ}=V(o),YZ=_(AZ,m),OZ=r(YZ,b);if(!p){if(d&&g(YZ,OZ))return;return t(YZ,OZ,[b])}let UZ=j.put(SZ,p),VZ=HZ?j.put(XZ,HZ):-1;if(UZ===CZ.length&&(CZ[UZ]=GZ!=null?GZ:null),!d||!u(YZ,OZ,UZ,i,s,VZ))return t(YZ,OZ,HZ?[b,UZ,i,s,VZ]:[b,UZ,i,s])}function _(d,o){for(let m=d.length;m<=o;m++)d[m]=[];return d[o]}function r(d,o){let m=d.length;for(let b=m-1;b>=0&&!(o>=d[b][0]);m=b--);return m}function t(d,o,m){for(let b=d.length;b>o;b--)d[b]=d[b-1];d[o]=m}function f(d){let{length:o}=d,m=o;for(let b=m-1;b>=0&&!(d[b].length>0);m=b,b--);m<o&&(d.length=m)}function q(d,o){for(let m=0;m<o.length;m++)j.put(d,o[m])}function g(d,o){return o===0||d[o-1].length===1}function u(d,o,m,b,p,i){if(o===0)return!1;let s=d[o-1];return s.length!==1&&m===s[1]&&b===s[2]&&p===s[3]&&i===(s.length===5?s[4]:-1)}function a(d,o,m){let{generated:b,source:p,original:i,name:s,content:HZ}=m;return p?k(d,o,b.line-1,b.column,p,i.line-1,i.column,s,HZ):k(d,o,b.line-1,b.column,null,null,null,null,null)}Y.GenMapping=z,Y.addMapping=J,Y.addSegment=F,Y.allMappings=v,Y.fromMap=E,Y.maybeAddMapping=T,Y.maybeAddSegment=A,Y.setIgnore=P,Y.setSourceContent=I,Y.toDecodedMap=w,Y.toEncodedMap=D,Object.defineProperty(Y,"__esModule",{value:!0})})(X,$("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),$("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),$("./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(n){n.exports=function(){let X=/^[\w+.-]+:\/\//,$=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Y=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function j(A){return X.test(A)}function O(A){return A.startsWith("//")}function Z(A){return A.startsWith("/")}function Q(A){return A.startsWith("file:")}function R(A){return/^[.?#]/.test(A)}function N(A){let T=$.exec(A);return M(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function U(A){let T=Y.exec(A),I=T[2];return M("file:","",T[1]||"","",Z(I)?I:"/"+I,T[3]||"",T[4]||"")}function M(A,T,I,P,w,D,E){return{scheme:A,user:T,host:I,port:P,path:w,query:D,hash:E,type:7}}function G(A){if(O(A)){let I=N("http:"+A);return I.scheme="",I.type=6,I}if(Z(A)){let I=N("http://foo.com"+A);return I.scheme="",I.host="",I.type=5,I}if(Q(A))return U(A);if(j(A))return N(A);let T=N("http://foo.com/"+A);return T.scheme="",T.host="",T.type=A?A.startsWith("?")?3:A.startsWith("#")?2:4:1,T}function z(A){if(A.endsWith("/.."))return A;let T=A.lastIndexOf("/");return A.slice(0,T+1)}function V(A,T){F(T,T.type),A.path==="/"?A.path=T.path:A.path=z(T.path)+A.path}function F(A,T){let I=T<=4,P=A.path.split("/"),w=1,D=0,E=!1;for(let k=1;k<P.length;k++){let _=P[k];_?(E=!1,_!=="."&&(_!==".."?(P[w++]=_,D++):D?(E=!0,D--,w--):I&&(P[w++]=_))):E=!0}let v="";for(let k=1;k<w;k++)v+="/"+P[k];(!v||E&&!v.endsWith("/.."))&&(v+="/"),A.path=v}function J(A,T){if(!A&&!T)return"";let I=G(A),P=I.type;if(T&&P!==7){let D=G(T),E=D.type;switch(P){case 1:I.hash=D.hash;case 2:I.query=D.query;case 3:case 4:V(I,D);case 5:I.user=D.user,I.host=D.host,I.port=D.port;case 6:I.scheme=D.scheme}E>P&&(P=E)}F(I,P);let w=I.query+I.hash;switch(P){case 2:case 3:return w;case 4:{let D=I.path.slice(1);return D?R(T||A)&&!R(D)?"./"+D+w:D+w:w||"."}case 5:return I.path+w;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+w}}return J}()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(n,X){(function($){class Y{constructor(){this._indexes={__proto__:null},this.array=[]}}function j(N){return N}function O(N,U){return j(N)._indexes[U]}function Z(N,U){let M=O(N,U);if(M!==void 0)return M;let{array:G,_indexes:z}=j(N),V=G.push(U);return z[U]=V-1}function Q(N){let{array:U,_indexes:M}=j(N);U.length!==0&&(M[U.pop()]=void 0)}function R(N,U){let M=O(N,U);if(M===void 0)return;let{array:G,_indexes:z}=j(N);for(let V=M+1;V<G.length;V++){let F=G[V];G[V-1]=F,z[F]--}z[U]=void 0,G.pop()}$.SetArray=Y,$.get=O,$.pop=Q,$.put=Z,$.remove=R,Object.defineProperty($,"__esModule",{value:!0})})(X)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(n,X){(function($){let Z=new Uint8Array(64),Q=new Uint8Array(128);for(let r=0;r<64;r++){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(r);Z[r]=t,Q[t]=r}function R(r,t){let f=0,q=0,g=0;do{let a=r.next();g=Q[a],f|=(31&g)<<q,q+=5}while(32&g);let u=1&f;return f>>>=1,u&&(f=-2147483648|-f),t+f}function N(r,t,f){let q=t-f;q=q<0?-q<<1|1:q<<1;do{let g=31&q;q>>>=5,q>0&&(g|=32),r.write(Z[g])}while(q>0);return t}function U(r,t){return!(r.pos>=t)&&r.peek()!==44}let M=16384,G=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:(r)=>Buffer.from(r.buffer,r.byteOffset,r.byteLength).toString()}:{decode(r){let t="";for(let f=0;f<r.length;f++)t+=String.fromCharCode(r[f]);return t}};class z{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(M)}write(r){let{buffer:t}=this;t[this.pos++]=r,this.pos===M&&(this.out+=G.decode(t),this.pos=0)}flush(){let{buffer:r,out:t,pos:f}=this;return f>0?t+G.decode(r.subarray(0,f)):t}}class V{constructor(r){this.pos=0,this.buffer=r}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(r){let{buffer:t,pos:f}=this,q=t.indexOf(r,f);return q===-1?t.length:q}}let F=[];function J(r){let{length:t}=r,f=new V(r),q=[],g=[],u=0;for(;f.pos<t;f.pos++){u=R(f,u);let a=R(f,0);if(!U(f,t)){let b=g.pop();b[2]=u,b[3]=a;continue}let d=R(f,0),o=1&R(f,0)?[u,a,0,0,d,R(f,0)]:[u,a,0,0,d],m=F;if(U(f,t)){m=[];do{let b=R(f,0);m.push(b)}while(U(f,t))}o.vars=m,q.push(o),g.push(o)}return q}function A(r){let t=new z;for(let f=0;f<r.length;)f=T(r,f,t,[0]);return t.flush()}function T(r,t,f,q){let g=r[t],{0:u,1:a,2:d,3:o,4:m,vars:b}=g;t>0&&f.write(44),q[0]=N(f,u,q[0]),N(f,a,0),N(f,m,0),N(f,g.length===6?1:0,0),g.length===6&&N(f,g[5],0);for(let p of b)N(f,p,0);for(t++;t<r.length;){let p=r[t],{0:i,1:s}=p;if(i>d||i===d&&s>=o)break;t=T(r,t,f,q)}return f.write(44),q[0]=N(f,d,q[0]),N(f,o,0),t}function I(r){let{length:t}=r,f=new V(r),q=[],g=[],u=0,a=0,d=0,o=0,m=0,b=0,p=0,i=0;do{let s=f.indexOf(";"),HZ=0;for(;f.pos<s;f.pos++){if(HZ=R(f,HZ),!U(f,s)){let OZ=g.pop();OZ[2]=u,OZ[3]=HZ;continue}let GZ=R(f,0),AZ=2&GZ,SZ=4&GZ,CZ,XZ=null,YZ=F;if(1&GZ){let OZ=R(f,a);d=R(f,a===OZ?d:0),a=OZ,CZ=[u,HZ,0,0,OZ,d]}else CZ=[u,HZ,0,0];if(CZ.isScope=!!SZ,AZ){let OZ=o,UZ=m;o=R(f,o);let VZ=OZ===o;m=R(f,VZ?m:0),b=R(f,VZ&&UZ===m?b:0),XZ=[o,m,b]}if(CZ.callsite=XZ,U(f,s)){YZ=[];do{p=u,i=HZ;let OZ=R(f,0),UZ;if(OZ<-1){UZ=[[R(f,0)]];for(let VZ=-1;VZ>OZ;VZ--){let jZ=p;p=R(f,p),i=R(f,p===jZ?i:0);let JZ=R(f,0);UZ.push([JZ,p,i])}}else UZ=[[OZ]];YZ.push(UZ)}while(U(f,s))}CZ.bindings=YZ,q.push(CZ),g.push(CZ)}u++,f.pos=s+1}while(f.pos<t);return q}function P(r){if(r.length===0)return"";let t=new z;for(let f=0;f<r.length;)f=w(r,f,t,[0,0,0,0,0,0,0]);return t.flush()}function w(r,t,f,q){let g=r[t],{0:u,1:a,2:d,3:o,isScope:m,callsite:b,bindings:p}=g;if(q[0]<u?(D(f,q[0],u),q[0]=u,q[1]=0):t>0&&f.write(44),q[1]=N(f,g[1],q[1]),N(f,(g.length===6?1:0)|(b?2:0)|(m?4:0),0),g.length===6){let{4:i,5:s}=g;i!==q[2]&&(q[3]=0),q[2]=N(f,i,q[2]),q[3]=N(f,s,q[3])}if(b){let{0:i,1:s,2:HZ}=g.callsite;i!==q[4]?(q[5]=0,q[6]=0):s!==q[5]&&(q[6]=0),q[4]=N(f,i,q[4]),q[5]=N(f,s,q[5]),q[6]=N(f,HZ,q[6])}if(p)for(let i of p){i.length>1&&N(f,-i.length,0),N(f,i[0][0],0);let s=u,HZ=a;for(let GZ=1;GZ<i.length;GZ++){let AZ=i[GZ];s=N(f,AZ[1],s),HZ=N(f,AZ[2],HZ),N(f,AZ[0],0)}}for(t++;t<r.length;){let i=r[t],{0:s,1:HZ}=i;if(s>d||s===d&&HZ>=o)break;t=w(r,t,f,q)}return q[0]<d?(D(f,q[0],d),q[0]=d,q[1]=0):f.write(44),q[1]=N(f,o,q[1]),t}function D(r,t,f){do r.write(59);while(++t<f)}function E(r){let{length:t}=r,f=new V(r),q=[],g=0,u=0,a=0,d=0,o=0;do{let m=f.indexOf(";"),b=[],p=!0,i=0;for(g=0;f.pos<m;){let s;g=R(f,g),g<i&&(p=!1),i=g,U(f,m)?(u=R(f,u),a=R(f,a),d=R(f,d),U(f,m)?(o=R(f,o),s=[g,u,a,d,o]):s=[g,u,a,d]):s=[g],b.push(s),f.pos++}p||v(b),q.push(b),f.pos=m+1}while(f.pos<=t);return q}function v(r){r.sort(k)}function k(r,t){return r[0]-t[0]}function _(r){let t=new z,f=0,q=0,g=0,u=0;for(let a=0;a<r.length;a++){let d=r[a];if(a>0&&t.write(59),d.length===0)continue;let o=0;for(let m=0;m<d.length;m++){let b=d[m];m>0&&t.write(44),o=N(t,b[0],o),b.length!==1&&(f=N(t,b[1],f),q=N(t,b[2],q),g=N(t,b[3],g),b.length!==4&&(u=N(t,b[4],u)))}}return t.flush()}$.decode=E,$.decodeGeneratedRanges=I,$.decodeOriginalScopes=J,$.encode=_,$.encodeGeneratedRanges=P,$.encodeOriginalScopes=A,Object.defineProperty($,"__esModule",{value:!0})})(X)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(n,X,$){(function(Y,j,O){function Z($Z,PZ){return PZ&&!PZ.endsWith("/")&&(PZ+="/"),O($Z,PZ)}function Q($Z){if(!$Z)return"";let PZ=$Z.lastIndexOf("/");return $Z.slice(0,PZ+1)}let R=0,N=1,U=2,M=3,G=4,z=1,V=2;function F($Z,PZ){let wZ=J($Z,0);if(wZ===$Z.length)return $Z;PZ||($Z=$Z.slice());for(let DZ=wZ;DZ<$Z.length;DZ=J($Z,DZ+1))$Z[DZ]=T($Z[DZ],PZ);return $Z}function J($Z,PZ){for(let wZ=PZ;wZ<$Z.length;wZ++)if(!A($Z[wZ]))return wZ;return $Z.length}function A($Z){for(let PZ=1;PZ<$Z.length;PZ++)if($Z[PZ][R]<$Z[PZ-1][R])return!1;return!0}function T($Z,PZ){return PZ||($Z=$Z.slice()),$Z.sort(I)}function I($Z,PZ){return $Z[R]-PZ[R]}let P=!1;function w($Z,PZ,wZ,DZ){for(;wZ<=DZ;){let l=wZ+(DZ-wZ>>1),ZZ=$Z[l][R]-PZ;if(ZZ===0)return P=!0,l;ZZ<0?wZ=l+1:DZ=l-1}return P=!1,wZ-1}function D($Z,PZ,wZ){for(let DZ=wZ+1;DZ<$Z.length&&$Z[DZ][R]===PZ;wZ=DZ++);return wZ}function E($Z,PZ,wZ){for(let DZ=wZ-1;DZ>=0&&$Z[DZ][R]===PZ;wZ=DZ--);return wZ}function v(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function k($Z,PZ,wZ,DZ){let{lastKey:l,lastNeedle:ZZ,lastIndex:LZ}=wZ,qZ=0,kZ=$Z.length-1;if(DZ===l){if(PZ===ZZ)return P=LZ!==-1&&$Z[LZ][R]===PZ,LZ;PZ>=ZZ?qZ=LZ===-1?0:LZ:kZ=LZ}return wZ.lastKey=DZ,wZ.lastNeedle=PZ,wZ.lastIndex=w($Z,PZ,qZ,kZ)}function _($Z,PZ){let wZ=PZ.map(t);for(let DZ=0;DZ<$Z.length;DZ++){let l=$Z[DZ];for(let ZZ=0;ZZ<l.length;ZZ++){let LZ=l[ZZ];if(LZ.length===1)continue;let qZ=LZ[N],kZ=LZ[U],lZ=LZ[M],aZ=wZ[qZ],W0=aZ[kZ]||(aZ[kZ]=[]),KZ=PZ[qZ],MZ=D(W0,lZ,k(W0,lZ,KZ,kZ));KZ.lastIndex=++MZ,r(W0,MZ,[lZ,DZ,LZ[R]])}}return wZ}function r($Z,PZ,wZ){for(let DZ=$Z.length;DZ>PZ;DZ--)$Z[DZ]=$Z[DZ-1];$Z[PZ]=wZ}function t(){return{__proto__:null}}let f=function($Z,PZ){let wZ=q($Z);if(!("sections"in wZ))return new i(wZ,PZ);let DZ=[],l=[],ZZ=[],LZ=[],qZ=[];return g(wZ,PZ,DZ,l,ZZ,LZ,qZ,0,0,1/0,1/0),jZ({version:3,file:wZ.file,names:LZ,sources:l,sourcesContent:ZZ,mappings:DZ,ignoreList:qZ})};function q($Z){return typeof $Z=="string"?JSON.parse($Z):$Z}function g($Z,PZ,wZ,DZ,l,ZZ,LZ,qZ,kZ,lZ,aZ){let{sections:W0}=$Z;for(let KZ=0;KZ<W0.length;KZ++){let{map:MZ,offset:yZ}=W0[KZ],bZ=lZ,pZ=aZ;if(KZ+1<W0.length){let uZ=W0[KZ+1].offset;bZ=Math.min(lZ,qZ+uZ.line),bZ===lZ?pZ=Math.min(aZ,kZ+uZ.column):bZ<lZ&&(pZ=kZ+uZ.column)}u(MZ,PZ,wZ,DZ,l,ZZ,LZ,qZ+yZ.line,kZ+yZ.column,bZ,pZ)}}function u($Z,PZ,wZ,DZ,l,ZZ,LZ,qZ,kZ,lZ,aZ){let W0=q($Z);if("sections"in W0)return g(...arguments);let KZ=new i(W0,PZ),MZ=DZ.length,yZ=ZZ.length,bZ=GZ(KZ),{resolvedSources:pZ,sourcesContent:uZ,ignoreList:mZ}=KZ;if(a(DZ,pZ),a(ZZ,KZ.names),uZ)a(l,uZ);else for(let hZ=0;hZ<pZ.length;hZ++)l.push(null);if(mZ)for(let hZ=0;hZ<mZ.length;hZ++)LZ.push(mZ[hZ]+MZ);for(let hZ=0;hZ<bZ.length;hZ++){let eZ=qZ+hZ;if(eZ>lZ)return;let J0=d(wZ,eZ),EZ=hZ===0?kZ:0,Y0=bZ[hZ];for(let H0=0;H0<Y0.length;H0++){let M0=Y0[H0],v0=EZ+M0[R];if(eZ===lZ&&v0>=aZ)return;if(M0.length===1){J0.push([v0]);continue}let m0=MZ+M0[N],X5=M0[U],d0=M0[M];J0.push(M0.length===4?[v0,m0,X5,d0]:[v0,m0,X5,d0,yZ+M0[G]])}}}function a($Z,PZ){for(let wZ=0;wZ<PZ.length;wZ++)$Z.push(PZ[wZ])}function d($Z,PZ){for(let wZ=$Z.length;wZ<=PZ;wZ++)$Z[wZ]=[];return $Z[PZ]}let o="`line` must be greater than 0 (lines start at line 1)",m="`column` must be greater than or equal to 0 (columns start at column 0)",b=-1,p=1;class i{constructor($Z,PZ){let wZ=typeof $Z=="string";if(!wZ&&$Z._decodedMemo)return $Z;let DZ=wZ?JSON.parse($Z):$Z,{version:l,file:ZZ,names:LZ,sourceRoot:qZ,sources:kZ,sourcesContent:lZ}=DZ;this.version=l,this.file=ZZ,this.names=LZ||[],this.sourceRoot=qZ,this.sources=kZ,this.sourcesContent=lZ,this.ignoreList=DZ.ignoreList||DZ.x_google_ignoreList||void 0;let aZ=Z(qZ||"",Q(PZ));this.resolvedSources=kZ.map((KZ)=>Z(KZ||"",aZ));let{mappings:W0}=DZ;typeof W0=="string"?(this._encoded=W0,this._decoded=void 0):(this._encoded=void 0,this._decoded=F(W0,wZ)),this._decodedMemo=v(),this._bySources=void 0,this._bySourceMemos=void 0}}function s($Z){return $Z}function HZ($Z){var PZ,wZ;return(PZ=(wZ=s($Z))._encoded)!==null&&PZ!==void 0?PZ:wZ._encoded=j.encode(s($Z)._decoded)}function GZ($Z){var PZ;return(PZ=s($Z))._decoded||(PZ._decoded=j.decode(s($Z)._encoded))}function AZ($Z,PZ,wZ){let DZ=GZ($Z);if(PZ>=DZ.length)return null;let l=DZ[PZ],ZZ=sZ(l,s($Z)._decodedMemo,PZ,wZ,p);return ZZ===-1?null:l[ZZ]}function SZ($Z,PZ){let{line:wZ,column:DZ,bias:l}=PZ;if(wZ--,wZ<0)throw Error(o);if(DZ<0)throw Error(m);let ZZ=GZ($Z);if(wZ>=ZZ.length)return TZ(null,null,null,null);let LZ=ZZ[wZ],qZ=sZ(LZ,s($Z)._decodedMemo,wZ,DZ,l||p);if(qZ===-1)return TZ(null,null,null,null);let kZ=LZ[qZ];if(kZ.length===1)return TZ(null,null,null,null);let{names:lZ,resolvedSources:aZ}=$Z;return TZ(aZ[kZ[N]],kZ[U]+1,kZ[M],kZ.length===5?lZ[kZ[G]]:null)}function CZ($Z,PZ){let{source:wZ,line:DZ,column:l,bias:ZZ}=PZ;return dZ($Z,wZ,DZ,l,ZZ||p,!1)}function XZ($Z,PZ){let{source:wZ,line:DZ,column:l,bias:ZZ}=PZ;return dZ($Z,wZ,DZ,l,ZZ||b,!0)}function YZ($Z,PZ){let wZ=GZ($Z),{names:DZ,resolvedSources:l}=$Z;for(let ZZ=0;ZZ<wZ.length;ZZ++){let LZ=wZ[ZZ];for(let qZ=0;qZ<LZ.length;qZ++){let kZ=LZ[qZ],lZ=ZZ+1,aZ=kZ[0],W0=null,KZ=null,MZ=null,yZ=null;kZ.length!==1&&(W0=l[kZ[1]],KZ=kZ[2]+1,MZ=kZ[3]),kZ.length===5&&(yZ=DZ[kZ[4]]),PZ({generatedLine:lZ,generatedColumn:aZ,source:W0,originalLine:KZ,originalColumn:MZ,name:yZ})}}}function OZ($Z,PZ){let{sources:wZ,resolvedSources:DZ}=$Z,l=wZ.indexOf(PZ);return l===-1&&(l=DZ.indexOf(PZ)),l}function UZ($Z,PZ){let{sourcesContent:wZ}=$Z;if(wZ==null)return null;let DZ=OZ($Z,PZ);return DZ===-1?null:wZ[DZ]}function VZ($Z,PZ){let{ignoreList:wZ}=$Z;if(wZ==null)return!1;let DZ=OZ($Z,PZ);return DZ!==-1&&wZ.includes(DZ)}function jZ($Z,PZ){let wZ=new i(c($Z,[]),PZ);return s(wZ)._decoded=$Z.mappings,wZ}function JZ($Z){return c($Z,GZ($Z))}function NZ($Z){return c($Z,HZ($Z))}function c($Z,PZ){return{version:$Z.version,file:$Z.file,names:$Z.names,sourceRoot:$Z.sourceRoot,sources:$Z.sources,sourcesContent:$Z.sourcesContent,mappings:PZ,ignoreList:$Z.ignoreList||$Z.x_google_ignoreList}}function TZ($Z,PZ,wZ,DZ){return{source:$Z,line:PZ,column:wZ,name:DZ}}function nZ($Z,PZ){return{line:$Z,column:PZ}}function sZ($Z,PZ,wZ,DZ,l){let ZZ=k($Z,DZ,PZ,wZ);return P?ZZ=(l===b?D:E)($Z,DZ,ZZ):l===b&&ZZ++,ZZ===-1||ZZ===$Z.length?-1:ZZ}function Q0($Z,PZ,wZ,DZ,l){let ZZ=sZ($Z,PZ,wZ,DZ,p);if(P||l!==b||ZZ++,ZZ===-1||ZZ===$Z.length)return[];let LZ=P?DZ:$Z[ZZ][R];P||(ZZ=E($Z,LZ,ZZ));let qZ=D($Z,LZ,ZZ),kZ=[];for(;ZZ<=qZ;ZZ++){let lZ=$Z[ZZ];kZ.push(nZ(lZ[z]+1,lZ[V]))}return kZ}function dZ($Z,PZ,wZ,DZ,l,ZZ){var LZ;if(--wZ<0)throw Error(o);if(DZ<0)throw Error(m);let{sources:qZ,resolvedSources:kZ}=$Z,lZ=qZ.indexOf(PZ);if(lZ===-1&&(lZ=kZ.indexOf(PZ)),lZ===-1)return ZZ?[]:nZ(null,null);let aZ=((LZ=s($Z))._bySources||(LZ._bySources=_(GZ($Z),s($Z)._bySourceMemos=qZ.map(v))))[lZ][wZ];if(aZ==null)return ZZ?[]:nZ(null,null);let W0=s($Z)._bySourceMemos[lZ];if(ZZ)return Q0(aZ,W0,wZ,DZ,l);let KZ=sZ(aZ,W0,wZ,DZ,l);if(KZ===-1)return nZ(null,null);let MZ=aZ[KZ];return nZ(MZ[z]+1,MZ[V])}Y.AnyMap=f,Y.GREATEST_LOWER_BOUND=p,Y.LEAST_UPPER_BOUND=b,Y.TraceMap=i,Y.allGeneratedPositionsFor=XZ,Y.decodedMap=JZ,Y.decodedMappings=GZ,Y.eachMapping=YZ,Y.encodedMap=NZ,Y.encodedMappings=HZ,Y.generatedPositionFor=CZ,Y.isIgnored=VZ,Y.originalPositionFor=SZ,Y.presortedDecodedMap=jZ,Y.sourceContentFor=UZ,Y.traceSegment=AZ})(X,$("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),$("./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":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(j){var O=(0,Y.createDynamicImportTransform)(j);return{manipulateOptions:function(Z,Q){Q.plugins.push("dynamicImport")},visitor:{Import:function(Z){O(this,Z)}}}};var Y=$("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");n.exports=X.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0});var $=function(j,O){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(Z,Q){var R=[],N=!0,U=!1,M=void 0;try{for(var G,z=Z[Symbol.iterator]();!(N=(G=z.next()).done)&&(R.push(G.value),!Q||R.length!==Q);N=!0);}catch(V){U=!0,M=V}finally{try{!N&&z.return&&z.return()}finally{if(U)throw M}}return R}(j,O);throw TypeError("Invalid attempt to destructure non-iterable instance")};function Y(j,O){var Z=O.arguments,Q=$(Z,1)[0];return j.isStringLiteral(Q)||j.isTemplateLiteral(Q)?(j.removeComments(Q),Q):j.templateLiteral([j.templateElement({raw:"",cooked:""}),j.templateElement({raw:"",cooked:""},!0)],Z)}X.getImportSource=Y,X.createDynamicImportTransform=function(j){var{template:O,types:Z}=j,Q={static:{interop:O("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:O("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:O("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:O("Promise.resolve(SOURCE).then(s => require(s))")}},R=typeof WeakSet=="function"&&new WeakSet;return function(N,U){if(R){if(R.has(U))return;R.add(U)}var M,G=Y(Z,U.parent),z=(M=G,Z.isStringLiteral(M)||Z.isTemplateLiteral(M)&&M.expressions.length===0?Q.static:Q.dynamic),V=N.opts.noInterop?z.noInterop({SOURCE:G}):z.interop({SOURCE:G,INTEROP:N.addHelper("interopRequireWildcard")});U.parentPath.replaceWith(V)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(n,X,$)=>{var Y=$("path");function j(O){switch(O.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}n.exports=function(O){var Z=O.types,Q=function(N,U){return function(M){var G=Z.callExpression(N.expression,[Z.Identifier(M),Z.Identifier("undefined"),Z.NumericLiteral(U.key)]),z=Z.logicalExpression("||",G,Z.Identifier(M)),V=Z.assignmentExpression("=",Z.Identifier(M),z);return Z.expressionStatement(V)}},R=function(N,U){return function(M,G){var z=Z.callExpression(N.expression,[Z.Identifier("".concat(M,".prototype")),Z.StringLiteral(G),Z.NumericLiteral(U.key)]);return Z.expressionStatement(z)}};return{visitor:{Program:function(N,U){var M=(0,Y.extname)(U.file.opts.filename);M!==".ts"&&M!==".tsx"||function(){var G=Object.create(null);N.node.body.filter(function(k){var{type:_,declaration:r}=k;switch(_){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return r&&r.type==="ClassDeclaration";default:return!1}}).map(function(k){return k.type==="ClassDeclaration"?k:k.declaration}).forEach(function(k){k.body.body.forEach(function(_){(_.params||[]).forEach(function(r){(r.decorators||[]).forEach(function(t){t.expression.callee?G[t.expression.callee.name]=t:G[t.expression.name]=t})})})});var z=!0,V=!1,F=void 0;try{for(var J,A=N.get("body")[Symbol.iterator]();!(z=(J=A.next()).done);z=!0){var T=J.value;if(T.node.type==="ImportDeclaration"){if(T.node.specifiers.length===0)continue;var I=!0,P=!1,w=void 0;try{for(var D,E=function(){var k=D.value,_=T.scope.getBinding(k.local.name);_.referencePaths.length?_.referencePaths.reduce(function(r,t){return r||j(t)},!1)&&Object.keys(G).forEach(function(r){var t=G[r];(t.expression.arguments||[]).forEach(function(f){f.name===k.local.name&&_.referencePaths.push({parent:t.expression})})}):G[k.local.name]&&_.referencePaths.push({parent:G[k.local.name]})},v=T.node.specifiers[Symbol.iterator]();!(I=(D=v.next()).done);I=!0)E()}catch(k){P=!0,w=k}finally{try{I||v.return==null||v.return()}finally{if(P)throw w}}}}}catch(k){V=!0,F=k}finally{try{z||A.return==null||A.return()}finally{if(V)throw F}}}()},Function:function(N){var U="";N.node.id?U=N.node.id.name:N.node.key&&(U=N.node.key.name),(N.get("params")||[]).slice().forEach(function(M){var G=M.node.decorators||[],z=G.length;if(G.slice().forEach(function(F){if(N.type==="ClassMethod"){var J,A=N.parentPath.parentPath,T=N.findParent(function(k){return k.type==="ClassDeclaration"});if(T?J=T.node.id.name:(A.insertAfter(null),J=function(k){var _=k.findParent(function(r){return r.node.type==="AssignmentExpression"});return _.node.right.type==="SequenceExpression"?_.node.right.expressions[1].name:_.node.right.type==="ClassExpression"?_.node.left.name:null}(N)),U==="constructor"){var I=Q(F,M)(J);A.insertAfter(I)}else{var P=R(F,M)(J,U);A.insertAfter(P)}}else{var w=N.findParent(function(k){return k.node.type==="VariableDeclarator"}).node.id.name;if(U===w){var D=Q(F,M)(w);if(N.parentKey==="body")N.insertAfter(D);else N.findParent(function(k){return k.parentKey==="body"}).insertAfter(D)}else{var E=N.findParent(function(k){return k.node.type==="CallExpression"}),v=R(F,M)(w,U);E.insertAfter(v)}}}),z){var V=function(F){switch(F.node.type){case"ObjectPattern":return Z.ObjectPattern(F.node.properties);case"AssignmentPattern":return Z.AssignmentPattern(F.node.left,F.node.right);case"TSParameterProperty":return Z.Identifier(F.node.parameter.name);default:return Z.Identifier(F.node.name)}}(M);M.replaceWith(V)}})}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.metadataVisitor=function(Z,Q){let R=Q.node,N=Z.node;switch(R.type){case"ClassMethod":let U=R.kind==="constructor"?N.decorators:R.decorators;if(!U||U.length===0)return;U.push(O("design:type",Y.types.identifier("Function"))),U.push(O("design:paramtypes",Y.types.arrayExpression(R.params.map((M)=>(0,j.serializeType)(Z,M)))));break;case"ClassProperty":if(!R.decorators||R.decorators.length===0)return;if(!R.typeAnnotation||R.typeAnnotation.type!=="TSTypeAnnotation")return;R.decorators.push(O("design:type",(0,j.serializeType)(Z,R)))}};var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),j=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function O(Z,Q){return Y.types.decorator(Y.types.callExpression(Y.types.memberExpression(Y.types.identifier("Reflect"),Y.types.identifier("metadata")),[Y.types.stringLiteral(Z),Q]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.serializeType=function(M,G){let z=O(G);if(z==null)return j();if(!z.typeAnnotation||z.typeAnnotation.type!=="TSTypeAnnotation")return j();let V=z.typeAnnotation.typeAnnotation;return N(M.node.id?M.node.id.name:"",V)},X.isClassType=Q;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function j(){return Y.types.unaryExpression("void",Y.types.numericLiteral(0))}function O(M){return M==null?null:M.type==="ClassProperty"||M.type==="Identifier"||M.type==="ObjectPattern"?M:M.type==="AssignmentPattern"&&M.left.type==="Identifier"?M.left:M.type==="TSParameterProperty"?O(M.parameter):null}function Z(M,G){let z=R(G.typeName);return Q(M,z)?Y.types.identifier("Object"):Y.types.conditionalExpression(Y.types.binaryExpression("===",Y.types.unaryExpression("typeof",z),Y.types.stringLiteral("undefined")),Y.types.identifier("Object"),Y.types.cloneDeep(z))}function Q(M,G){switch(G.type){case"Identifier":return G.name===M;case"MemberExpression":return Q(M,G.object);default:throw Error(`The property expression at ${G.start} is not valid as a Type to be used in Reflect.metadata`)}}function R(M){return M.type==="Identifier"?Y.types.identifier(M.name):Y.types.memberExpression(R(M.left),M.right)}function N(M,G){if(G===void 0)return Y.types.identifier("Object");switch(G.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return j();case"TSParenthesizedType":return N(M,G.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return Y.types.identifier("Function");case"TSArrayType":case"TSTupleType":return Y.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return Y.types.identifier("Boolean");case"TSStringKeyword":return Y.types.identifier("String");case"TSObjectKeyword":return Y.types.identifier("Object");case"TSLiteralType":switch(G.literal.type){case"StringLiteral":return Y.types.identifier("String");case"NumericLiteral":return Y.types.identifier("Number");case"BooleanLiteral":return Y.types.identifier("Boolean");default:throw Error("Bad type for decorator"+G.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return Y.types.identifier("Number");case"TSSymbolKeyword":return Y.types.identifier("Symbol");case"TSTypeReference":return Z(M,G);case"TSIntersectionType":case"TSUnionType":return U(M,G.types);case"TSConditionalType":return U(M,[G.trueType,G.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw Error("Bad type for decorator")}return Y.types.identifier("Object")}function U(M,G){let z;for(let V of G){for(;V.type==="TSParenthesizedType";)V=V.typeAnnotation;if(V.type==="TSNeverKeyword")continue;if(V.type==="TSNullKeyword"||V.type==="TSUndefinedKeyword")continue;let F=N(M,V);if(Y.types.isIdentifier(F)&&F.name==="Object")return F;if(z){if(!Y.types.isIdentifier(z)||!Y.types.isIdentifier(F)||z.name!==F.name)return Y.types.identifier("Object")}else z=F}return z||j()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.parameterVisitor=function(O,Z){if(Z.type!=="ClassMethod")return;if(Z.node.type!=="ClassMethod")return;if(Z.node.key.type!=="Identifier")return;let Q=Z;(Q.get("params")||[]).slice().forEach(function(R){let N;(R.node.type==="Identifier"||R.node.type==="ObjectPattern"?R.node:R.node.type==="TSParameterProperty"&&R.node.parameter.type==="Identifier"?R.node.parameter:null)!=null&&((R.node.decorators||[]).slice().forEach(function(U){Q.node.kind==="constructor"?(N=j(R.key,U.expression,!0),O.node.decorators||(O.node.decorators=[]),O.node.decorators.push(N)):(N=j(R.key,U.expression,!1),Q.node.decorators||(Q.node.decorators=[]),Q.node.decorators.push(N))}),N&&(R.node.decorators=null))})};var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function j(O,Z,Q=!1){return Y.types.decorator(Y.types.functionExpression(null,[Y.types.identifier("target"),Y.types.identifier("key")],Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Z,[Y.types.identifier("target"),Y.types.identifier(Q?"undefined":"key"),Y.types.numericLiteral(O)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),j=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),O=$("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),Z=(0,Y.declare)((Q)=>(Q.assertVersion(7),{visitor:{Program(R){R.traverse({ClassDeclaration(N){for(let U of N.get("body").get("body"))U.type!=="ClassMethod"&&U.type!=="ClassProperty"||((0,j.parameterVisitor)(N,U),(0,O.metadataVisitor)(N,U));N.parentPath.scope.crawl()}})}}}));X.default=Z},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(n,X)=>{var $;function Y(O,Z){(Z=Z||{}).hasComment&&(O=function(Q){return Q.split(",").pop()}(O)),Z.encoding==="base64"?O=$(O):Z.encoding==="uri"&&(O=decodeURIComponent(O)),(Z.isJSON||Z.encoding)&&(O=JSON.parse(O)),this.sourcemap=O}function j(O){return new Y(O,{isJSON:!0})}Object.defineProperty(X,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(X,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),$=typeof Buffer<"u"?typeof Buffer.from=="function"?function(O){return Buffer.from(O,"base64").toString()}:function(O){if(typeof value=="number")throw TypeError("The value to decode must not be of type number.");return new Buffer(O,"base64").toString()}:function(O){return decodeURIComponent(escape(atob(O)))},Y.prototype.toJSON=function(O){return JSON.stringify(this.sourcemap,null,O)},typeof Buffer<"u"?typeof Buffer.from=="function"?Y.prototype.toBase64=function(){var O=this.toJSON();return Buffer.from(O,"utf8").toString("base64")}:Y.prototype.toBase64=function(){var O=this.toJSON();if(typeof O=="number")throw TypeError("The json to encode must not be of type number.");return new Buffer(O,"utf8").toString("base64")}:Y.prototype.toBase64=function(){var O=this.toJSON();return btoa(unescape(encodeURIComponent(O)))},Y.prototype.toURI=function(){var O=this.toJSON();return encodeURIComponent(O)},Y.prototype.toComment=function(O){var Z,Q,R;return O!=null&&O.encoding==="uri"?(Z="",Q=this.toURI()):(Z=";base64",Q=this.toBase64()),R="sourceMappingURL=data:application/json;charset=utf-8"+Z+","+Q,O!=null&&O.multiline?"/*# "+R+" */":"//# "+R},Y.prototype.toObject=function(){return JSON.parse(this.toJSON())},Y.prototype.addProperty=function(O,Z){if(this.sourcemap.hasOwnProperty(O))throw Error('property "'+O+'" already exists on the sourcemap, use set property instead');return this.setProperty(O,Z)},Y.prototype.setProperty=function(O,Z){return this.sourcemap[O]=Z,this},Y.prototype.getProperty=function(O){return this.sourcemap[O]},X.fromObject=function(O){return new Y(O)},X.fromJSON=function(O){return new Y(O,{isJSON:!0})},X.fromURI=function(O){return new Y(O,{encoding:"uri"})},X.fromBase64=function(O){return new Y(O,{encoding:"base64"})},X.fromComment=function(O){var Z;return new Y(O=O.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(Z=X.commentRegex.exec(O))&&Z[4]||"uri",hasComment:!0})},X.fromMapFileComment=function(O,Z){if(typeof Z=="string")throw 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 Q=function(R,N){var U=X.mapFileCommentRegex.exec(R),M=U[1]||U[2];try{return(R=N(M))!=null&&typeof R.catch=="function"?R.catch(G):R}catch(z){G(z)}function G(z){throw Error("An error occurred while trying to read the map file at "+M+`
|
|
19
19
|
`+z.stack)}}(O,Z);return Q!=null&&typeof Q.then=="function"?Q.then(j):j(Q)},X.fromSource=function(O){var Z=O.match(X.commentRegex);return Z?X.fromComment(Z.pop()):null},X.fromMapFileSource=function(O,Z){if(typeof Z=="string")throw 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 Q=O.match(X.mapFileCommentRegex);return Q?X.fromMapFileComment(Q.pop(),Z):null},X.removeComments=function(O){return O.replace(X.commentRegex,"")},X.removeMapFileComments=function(O){return O.replace(X.mapFileCommentRegex,"")},X.generateMapFileComment=function(O,Z){var Q="sourceMappingURL="+O;return Z&&Z.multiline?"/*# "+Q+" */":"//# "+Q}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js":(n,X,$)=>{X.formatArgs=function(j){if(j[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+j[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;let O="color: "+this.color;j.splice(1,0,O,"color: inherit");let Z=0,Q=0;j[0].replace(/%[a-zA-Z%]/g,(R)=>{R!=="%%"&&(Z++,R==="%c"&&(Q=Z))}),j.splice(Q,0,O)},X.save=function(j){try{j?X.storage.setItem("debug",j):X.storage.removeItem("debug")}catch(O){}},X.load=function(){let j;try{j=X.storage.getItem("debug")}catch(O){}return!j&&typeof process<"u"&&"env"in process&&(j=process.env.DEBUG),j},X.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let j;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(j=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(j[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},X.storage=function(){try{return localStorage}catch(j){}}(),X.destroy=(()=>{let j=!1;return()=>{j||(j=!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`."))}})(),X.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"],X.log=console.debug||console.log||(()=>{}),n.exports=$("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js")(X);let{formatters:Y}=n.exports;Y.j=function(j){try{return JSON.stringify(j)}catch(O){return"[UnexpectedJSONParseError]: "+O.message}}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js":(n,X,$)=>{n.exports=function(Y){function j(Q){let R,N,U,M=null;function G(...z){if(!G.enabled)return;let V=G,F=Number(new Date),J=F-(R||F);V.diff=J,V.prev=R,V.curr=F,R=F,z[0]=j.coerce(z[0]),typeof z[0]!="string"&&z.unshift("%O");let A=0;z[0]=z[0].replace(/%([a-zA-Z%])/g,(T,I)=>{if(T==="%%")return"%";A++;let P=j.formatters[I];if(typeof P=="function"){let w=z[A];T=P.call(V,w),z.splice(A,1),A--}return T}),j.formatArgs.call(V,z),(V.log||j.log).apply(V,z)}return G.namespace=Q,G.useColors=j.useColors(),G.color=j.selectColor(Q),G.extend=O,G.destroy=j.destroy,Object.defineProperty(G,"enabled",{enumerable:!0,configurable:!1,get:()=>M!==null?M:(N!==j.namespaces&&(N=j.namespaces,U=j.enabled(Q)),U),set:(z)=>{M=z}}),typeof j.init=="function"&&j.init(G),G}function O(Q,R){let N=j(this.namespace+(R===void 0?":":R)+Q);return N.log=this.log,N}function Z(Q,R){let N=0,U=0,M=-1,G=0;for(;N<Q.length;)if(U<R.length&&(R[U]===Q[N]||R[U]==="*"))R[U]==="*"?(M=U,G=N,U++):(N++,U++);else{if(M===-1)return!1;U=M+1,G++,N=G}for(;U<R.length&&R[U]==="*";)U++;return U===R.length}return j.debug=j,j.default=j,j.coerce=function(Q){if(Q instanceof Error)return Q.stack||Q.message;return Q},j.disable=function(){let Q=[...j.names,...j.skips.map((R)=>"-"+R)].join(",");return j.enable(""),Q},j.enable=function(Q){j.save(Q),j.namespaces=Q,j.names=[],j.skips=[];let R=(typeof Q=="string"?Q:"").trim().replace(" ",",").split(",").filter(Boolean);for(let N of R)N[0]==="-"?j.skips.push(N.slice(1)):j.names.push(N)},j.enabled=function(Q){for(let R of j.skips)if(Z(Q,R))return!1;for(let R of j.names)if(Z(Q,R))return!0;return!1},j.humanize=$("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"),j.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(Y).forEach((Q)=>{j[Q]=Y[Q]}),j.names=[],j.skips=[],j.formatters={},j.selectColor=function(Q){let R=0;for(let N=0;N<Q.length;N++)R=(R<<5)-R+Q.charCodeAt(N),R|=0;return j.colors[Math.abs(R)%j.colors.length]},j.enable(j.load()),j}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js":(n,X,$)=>{typeof process>"u"||process.type==="renderer"||!1||process.__nwjs?n.exports=$("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"):n.exports=$("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js":(n,X,$)=>{let Y=$("tty"),j=$("util");X.init=function(Z){Z.inspectOpts={};let Q=Object.keys(X.inspectOpts);for(let R=0;R<Q.length;R++)Z.inspectOpts[Q[R]]=X.inspectOpts[Q[R]]},X.log=function(...Z){return process.stderr.write(j.formatWithOptions(X.inspectOpts,...Z)+`
|
|
20
20
|
`)},X.formatArgs=function(Z){let{namespace:Q,useColors:R}=this;if(R){let N=this.color,U="\x1B[3"+(N<8?N:"8;5;"+N),M=` ${U};1m${Q} \x1B[0m`;Z[0]=M+Z[0].split(`
|
|
21
21
|
`).join(`
|
|
@@ -128,9 +128,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
128
128
|
});
|
|
129
129
|
`(u);function r(u){let a=T("babelHelpers"),d=[],o=A(null,[T("global")],U(d)),m=w([J(M(o,[z(N("===",E("typeof",T("global")),D("undefined")),T("self"),T("global"))]))]);return d.push(v("var",[k(a,R("=",I(T("global"),a),P([])))])),g(d,a,u),m}function t(u){let a=[],d=g(a,null,u);return a.unshift(V(null,Object.keys(d).map((o)=>F(G(d[o]),T(o))))),w(a,[],"module")}function f(u){let a=T("babelHelpers"),d=[];return d.push(v("var",[k(a,T("global"))])),g(d,a,u),w([_({FACTORY_PARAMETERS:T("global"),BROWSER_ARGUMENTS:R("=",I(T("root"),a),P([])),COMMON_ARGUMENTS:T("exports"),AMD_ARGUMENTS:Q([D("exports")]),FACTORY_BODY:d,UMD_ROOT:T("this")})])}function q(u){let a=T("babelHelpers"),d=[];d.push(v("var",[k(a,P([]))]));let o=w(d);return g(d,a,u),d.push(J(a)),o}function g(u,a,d){let o=(b)=>a?I(a,T(b)):T(`_${b}`),m={};return Y().list.forEach(function(b){if(d&&!d.includes(b))return;let p=m[b]=o(b),{nodes:i}=Y().get(b,o,a?null:`_${b}`,[],a?(s,HZ,GZ)=>{GZ((AZ)=>R("=",p,AZ)),s.body.push(J(R("=",p,T(HZ))))}:null);u.push(...i)}),m}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-ast.js":(n,X,$)=>{function Y(){let R=$("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return Y=function(){return R},R}Object.defineProperty(X,"__esModule",{value:!0}),X.transformFromAst=void 0,X.transformFromAstAsync=function(...R){return(0,Z.beginHiddenCallStack)(Q.async)(...R)},X.transformFromAstSync=function(...R){return(0,Z.beginHiddenCallStack)(Q.sync)(...R)};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),Z=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let Q=Y()(function*(R,N,U){let M=yield*(0,j.default)(U);if(M===null)return null;if(!R)throw Error("No AST given");return yield*(0,O.run)(M,N,R)});X.transformFromAst=function(R,N,U,M){let G,z;if(typeof U=="function"?(z=U,G=void 0):(G=U,z=M),z===void 0)return(0,Z.beginHiddenCallStack)(Q.sync)(R,N,G);(0,Z.beginHiddenCallStack)(Q.errback)(R,N,G,z)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-file.js":(n,X,$)=>{function Y(){let R=$("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return Y=function(){return R},R}Object.defineProperty(X,"__esModule",{value:!0}),X.transformFile=function(...R){Q.errback(...R)},X.transformFileAsync=function(...R){return Q.async(...R)},X.transformFileSync=function(...R){return Q.sync(...R)};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),Z=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/fs.js");let Q=Y()(function*(R,N){let U=Object.assign({},N,{filename:R}),M=yield*(0,j.default)(U);if(M===null)return null;let G=yield*Z.readFile(R,"utf8");return yield*(0,O.run)(M,G)})},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform.js":(n,X,$)=>{function Y(){let R=$("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return Y=function(){return R},R}Object.defineProperty(X,"__esModule",{value:!0}),X.transform=void 0,X.transformAsync=function(...R){return(0,Z.beginHiddenCallStack)(Q.async)(...R)},X.transformSync=function(...R){return(0,Z.beginHiddenCallStack)(Q.sync)(...R)};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),Z=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let Q=Y()(function*(R,N){let U=yield*(0,j.default)(N);return U===null?null:yield*(0,O.run)(U,R)});X.transform=function(R,N,U){let M,G;if(typeof N=="function"?(G=N,M=void 0):(M=N,G=U),G===void 0)return(0,Z.beginHiddenCallStack)(Q.sync)(R,M);(0,Z.beginHiddenCallStack)(Q.errback)(R,M,G)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(n,X,$)=>{function Y(){let N=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return Y=function(){return N},N}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(){return O||(O=new j.default(Object.assign({},Z,{visitor:Y().default.explode(Z.visitor)}),{})),O};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/plugin.js");let O,Z={name:"internal.blockHoist",visitor:{Block:{exit({node:N}){N.body=Q(N.body)}},SwitchCase:{exit({node:N}){N.consequent=Q(N.consequent)}}}};function Q(N){let U=Math.pow(2,30)-1,M=!1;for(let G=0;G<N.length;G++){let z=R(N[G]);if(z>U){M=!0;break}U=z}return M?function(G){let z=Object.create(null);for(let J=0;J<G.length;J++){let A=G[J],T=R(A);(z[T]||(z[T]=[])).push(A)}let V=Object.keys(z).map((J)=>+J).sort((J,A)=>A-J),F=0;for(let J of V){let A=z[J];for(let T of A)G[F++]=T}return G}(N.slice()):N}function R(N){let U=N==null?void 0:N._blockHoist;return U==null?1:U===!0?2:U}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs":(n,X,$)=>{X.getModuleName=()=>$("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js").getModuleName},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js":(n,X,$)=>{function Y(){let V=$("./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/index.js");return Y=function(){return V},V}function j(){let V=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return j=function(){return V},V}function O(){let V=$("./stubs/babel-codeframe.js");return O=function(){return V},V}function Z(){let V=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return Z=function(){return V},V}function Q(){let V=$("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return Q=function(){return V},V}Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var R=function(V,F){if(!F&&V&&V.__esModule)return V;if(V===null||typeof V!="object"&&typeof V!="function")return{default:V};var J=N(F);if(J&&J.has(V))return J.get(V);var A={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in V)if(I!=="default"&&{}.hasOwnProperty.call(V,I)){var P=T?Object.getOwnPropertyDescriptor(V,I):null;P&&(P.get||P.set)?Object.defineProperty(A,I,P):A[I]=V[I]}return A.default=V,J&&J.set(V,A),A}($("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs"),!0);function N(V){if(typeof WeakMap!="function")return null;var F=new WeakMap,J=new WeakMap;return(N=function(A){return A?J:F})(V)}let{cloneNode:U,interpreterDirective:M}=Z(),G={enter(V,F){let J=V.node.loc;J&&(F.loc=J,V.stop())}};class z{constructor(V,{code:F,ast:J,inputMap:A}){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=V,this.code=F,this.ast=J,this.inputMap=A,this.path=j().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:V}=this.path.node;return V?V.value:""}set shebang(V){V?this.path.get("interpreter").replaceWith(M(V)):this.path.get("interpreter").remove()}set(V,F){if(V==="helpersNamespace")throw 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(V,F)}get(V){return this._map.get(V)}has(V){return this._map.has(V)}availableHelper(V,F){let J;try{J=Y().minVersion(V)}catch(A){if(A.code!=="BABEL_HELPER_UNKNOWN")throw A;return!1}return typeof F!="string"||(Q().valid(F)&&(F=`^${F}`),!Q().intersects(`<${J}`,F)&&!Q().intersects(">=8.0.0",F))}addHelper(V){let F=this.declarations[V];if(F)return U(F);let J=this.get("helperGenerator");if(J){let D=J(V);if(D)return D}Y().minVersion(V);let A=this.declarations[V]=this.scope.generateUidIdentifier(V),T={};for(let D of Y().getDependencies(V))T[D]=this.addHelper(D);let{nodes:I,globals:P}=Y().get(V,(D)=>T[D],A.name,Object.keys(this.scope.getAllBindings()));P.forEach((D)=>{this.path.scope.hasBinding(D,!0)&&this.path.scope.rename(D)}),I.forEach((D)=>{D._compact=!0});let w=this.path.unshiftContainer("body",I);for(let D of w)D.isVariableDeclaration()&&this.scope.registerDeclaration(D);return A}buildCodeFrameError(V,F,J=SyntaxError){let A=V==null?void 0:V.loc;if(!A&&V){let T={loc:null};(0,j().default)(V,G,this.scope,T),A=T.loc;let I="This is an error on an internal node. Probably an internal error.";A&&(I+=" Location has been estimated."),F+=` (${I})`}if(A){let{highlightCode:T=!0}=this.opts;F+=`
|
|
130
130
|
`+(0,O().codeFrameColumns)(this.code,{start:{line:A.start.line,column:A.start.column+1},end:A.end&&A.start.line===A.end.line?{line:A.end.line,column:A.end.column+1}:void 0},{highlightCode:T})}return new J(F)}}X.default=z,z.prototype.addImport=function(){throw 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'.")},z.prototype.addTemplateObject=function(){throw Error("This function has been moved into the template literal transform itself.")},z.prototype.getModuleName=function(){return R.getModuleName()(this.opts,this.opts)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/generate.js":(n,X,$)=>{function Y(){let Z=$("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return Y=function(){return Z},Z}function j(){let Z=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js");return j=function(){return Z},Z}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(Z,Q){let{opts:R,ast:N,code:U,inputMap:M}=Q,{generatorOpts:G}=R;G.inputSourceMap=M==null?void 0:M.toObject();let z=[];for(let A of Z)for(let T of A){let{generatorOverride:I}=T;if(I){let P=I(N,G,U,j().default);P!==void 0&&z.push(P)}}let V;if(z.length===0)V=(0,j().default)(N,G,U);else{if(z.length!==1)throw Error("More than one plugin attempted to override codegen.");if(V=z[0],typeof V.then=="function")throw 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:F,decodedMap:J=V.map}=V;return V.__mergedMap?J=Object.assign({},V.map):J&&(J=M?(0,O.default)(M.toObject(),J,G.sourceFileName):V.map),R.sourceMaps!=="inline"&&R.sourceMaps!=="both"||(F+=`
|
|
131
|
-
`+Y().fromObject(J).toComment()),R.sourceMaps==="inline"&&(J=null),{outputCode:F,outputMap:J}};var O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js":(n,X,$)=>{function Y(){let O=$("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return Y=function(){return O},O}function j(O){return Object.assign({},O,{sourceRoot:null})}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(O,Z,Q){let R=Q.replace(/\\/g,"/"),N=!1,U=Y()(j(Z),(M,G)=>M!==R||N?null:(N=!0,G.source="",j(O)));return typeof O.sourceRoot=="string"&&(U.sourceRoot=O.sourceRoot),Object.assign({},U)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js":(n,X,$)=>{function Y(){let M=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return Y=function(){return M},M}Object.defineProperty(X,"__esModule",{value:!0}),X.run=function*(M,G,z){let V=yield*(0,Q.default)(M.passes,(0,Z.default)(M),G,z),F=V.opts;try{yield*function*(P,w){let D=yield*(0,U.isAsync)();for(let E of w){let v=[],k=[],_=[];for(let t of E.concat([(0,O.default)()])){let f=new j.default(P,t.key,t.options,D);v.push([t,f]),k.push(f),_.push(t.visitor)}for(let[t,f]of v)if(t.pre)yield*(0,U.maybeAsync)(t.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(f,P);let r=Y().default.visitors.merge(_,k,P.opts.wrapPluginVisitorMethod);(0,Y().default)(P.ast,r,P.scope);for(let[t,f]of v)if(t.post)yield*(0,U.maybeAsync)(t.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(f,P)}}(V,M.passes)}catch(P){var J;throw P.message=`${(J=F.filename)!=null?J:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_TRANSFORM_ERROR"),P}let A,T;try{F.code!==!1&&({outputCode:A,outputMap:T}=(0,R.default)(M.passes,V))}catch(P){var I;throw P.message=`${(I=F.filename)!=null?I:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_GENERATE_ERROR"),P}return{metadata:V.metadata,options:F,ast:F.ast===!0?V.ast:null,code:A===void 0?null:A,map:T===void 0?null:T,sourceType:V.ast.program.sourceType,externalDependencies:(0,N.flattenToSet)(M.externalDependencies)}};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js"),O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),Z=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),Q=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js"),R=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/generate.js"),N=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js"),U=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js":(n,X,$)=>{function Y(){let T=$("fs");return Y=function(){return T},T}function j(){let T=$("path");return j=function(){return T},T}function O(){let T=$("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return O=function(){return T},T}function Z(){let T=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return Z=function(){return T},T}function Q(){let T=$("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return Q=function(){return T},T}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function*(T,I,P,w){if(P=`${P||""}`,w){if(w.type==="Program")w=M(w,[],[]);else if(w.type!=="File")throw Error("AST root must be a Program or File node");I.cloneInputAst&&(w=(0,U.default)(w))}else w=yield*(0,N.default)(T,I,P);let D=null;if(I.inputSourceMap!==!1){if(typeof I.inputSourceMap=="object"&&(D=Q().fromObject(I.inputSourceMap)),!D){let E=A(V,w);if(E)try{D=Q().fromComment("//"+E)}catch(v){z("discarding unknown inline input sourcemap")}}if(!D){let E=A(F,w);if(typeof I.filename=="string"&&E)try{let v=F.exec(E),k=Y().readFileSync(j().resolve(j().dirname(I.filename),v[1]),"utf8");D=Q().fromJSON(k)}catch(v){z("discarding unknown file input sourcemap",v)}else E&&z("discarding un-loadable file input sourcemap")}}return new R.default(I,{code:P,ast:w,inputMap:D})};var R=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js"),N=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/index.js"),U=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:M,traverseFast:G}=Z(),z=O()("babel:transform:file"),V=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,F=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function J(T,I,P){return I&&(I=I.filter(({value:w})=>!T.test(w)||(P=w,!1))),[I,P]}function A(T,I){let P=null;return G(I,(w)=>{[w.leadingComments,P]=J(T,w.leadingComments,P),[w.innerComments,P]=J(T,w.innerComments,P),[w.trailingComments,P]=J(T,w.trailingComments,P)}),P}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js":(n,X,$)=>{function Y(){let j=$("path");return Y=function(){return j},j}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(j){let{filename:O,cwd:Z,filenameRelative:Q=typeof O=="string"?Y().relative(Z,O):"unknown",sourceType:R="module",inputSourceMap:N,sourceMaps:U=!!N,sourceRoot:M=j.options.moduleRoot,sourceFileName:G=Y().basename(Q),comments:z=!0,compact:V="auto"}=j.options,F=j.options,J=Object.assign({},F,{parserOpts:Object.assign({sourceType:Y().extname(Q)===".mjs"?"module":R,sourceFileName:O,plugins:[]},F.parserOpts),generatorOpts:Object.assign({filename:O,auxiliaryCommentBefore:F.auxiliaryCommentBefore,auxiliaryCommentAfter:F.auxiliaryCommentAfter,retainLines:F.retainLines,comments:z,shouldPrintComment:F.shouldPrintComment,compact:V,minified:F.minified,sourceMaps:U,sourceRoot:M,sourceFileName:G},F.generatorOpts)});for(let A of j.passes)for(let T of A)T.manipulateOptions&&T.manipulateOptions(J,J.parserOpts);return J}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;class ${constructor(Y,j,O,Z){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.isAsync=void 0,this.key=j,this.file=Y,this.opts=O||{},this.cwd=Y.opts.cwd,this.filename=Y.opts.filename,this.isAsync=Z}set(Y,j){this._map.set(Y,j)}get(Y){return this._map.get(Y)}availableHelper(Y,j){return this.file.availableHelper(Y,j)}addHelper(Y){return this.file.addHelper(Y)}buildCodeFrameError(Y,j,O){return this.file.buildCodeFrameError(Y,j,O)}}X.default=$,$.prototype.getModuleName=function(){return this.file.getModuleName()},$.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(n,X)=>{function $(Y,j){if(Y!==null){if(j.has(Y))return j.get(Y);let O;if(Array.isArray(Y)){O=Array(Y.length),j.set(Y,O);for(let Z=0;Z<Y.length;Z++)O[Z]=typeof Y[Z]!="object"?Y[Z]:$(Y[Z],j)}else{O={},j.set(Y,O);let Z=Object.keys(Y);for(let Q=0;Q<Z.length;Q++){let R=Z[Q];O[R]=typeof Y[R]!="object"?Y[R]:$(Y[R],j)}}return O}return Y}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(Y){return typeof Y!="object"?Y:$(Y,new Map)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(n,X,$)=>{function Y(){let KZ=$("assert");return Y=function(){return KZ},KZ}function j(){let KZ=function(MZ,yZ){if(!yZ&&MZ&&MZ.__esModule)return MZ;if(MZ===null||typeof MZ!="object"&&typeof MZ!="function")return{default:MZ};var bZ=M(yZ);if(bZ&&bZ.has(MZ))return bZ.get(MZ);var pZ={__proto__:null},uZ=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var mZ in MZ)if(mZ!=="default"&&{}.hasOwnProperty.call(MZ,mZ)){var hZ=uZ?Object.getOwnPropertyDescriptor(MZ,mZ):null;hZ&&(hZ.get||hZ.set)?Object.defineProperty(pZ,mZ,hZ):pZ[mZ]=MZ[mZ]}return pZ.default=MZ,bZ&&bZ.set(MZ,pZ),pZ}($("fs"),!0);return j=function(){return KZ},KZ}function O(){let KZ=$("process");return O=function(){return KZ},KZ}function Z(){let KZ=$("url");return Z=function(){return KZ},KZ}function Q(){let KZ=$("path");return Q=function(){return KZ},KZ}function R(){let KZ=$("module");return R=function(){return KZ},KZ}function N(){let KZ=$("v8");return N=function(){return KZ},KZ}function U(){let KZ=$("util");return U=function(){return KZ},KZ}function M(KZ){if(typeof WeakMap!="function")return null;var MZ=new WeakMap,yZ=new WeakMap;return(M=function(bZ){return bZ?yZ:MZ})(KZ)}Object.defineProperty(X,"__esModule",{value:!0}),X.moduleResolve=W0,X.resolve=function(KZ,MZ){if(!MZ)throw Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(yZ,bZ={}){let{parentURL:pZ}=bZ,uZ,mZ,hZ;if(Y()(pZ!==void 0,"expected `parentURL` to be defined"),function(Y0){if(Y0===void 0)return;if(typeof Y0!="string"&&(H0=Y0,!Boolean(H0&&typeof H0=="object"&&"href"in H0&&typeof H0.href=="string"&&"protocol"in H0&&typeof H0.protocol=="string"&&H0.href&&H0.protocol)))throw new F.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],Y0);var H0}(pZ),pZ)try{uZ=new(Z()).URL(pZ)}catch(Y0){}try{if(mZ=aZ(yZ)?new(Z()).URL(yZ,uZ):new(Z()).URL(yZ),hZ=mZ.protocol,hZ==="data:")return{url:mZ.href,format:null}}catch(Y0){}let eZ=function(Y0,H0,M0){if(M0){let v0=M0.protocol;if(v0==="http:"||v0==="https:"){if(aZ(Y0)){let m0=H0==null?void 0:H0.protocol;if(m0&&m0!=="https:"&&m0!=="http:")throw new p(Y0,M0,"remote imports cannot import from a local location.");return{url:(H0==null?void 0:H0.href)||""}}if(R().builtinModules.includes(Y0))throw new p(Y0,M0,"remote imports cannot import from a local location.");throw new p(Y0,M0,"only relative and absolute specifiers are supported.")}}}(yZ,mZ,uZ);if(eZ)return eZ;if(hZ===void 0&&mZ&&(hZ=mZ.protocol),hZ==="node:")return{url:yZ};if(mZ&&mZ.protocol==="node:")return{url:yZ};let O0=function(Y0){if(Y0!==void 0&&Y0!==o){if(!Array.isArray(Y0))throw new d("conditions",Y0,"expected an array");return new Set(Y0)}return m}(bZ.conditions),EZ=W0(yZ,new(Z()).URL(pZ),O0,!1);return{url:EZ.href,format:a(EZ,{parentURL:pZ})}}(KZ,{parentURL:MZ}).url}catch(yZ){let bZ=yZ;if((bZ.code==="ERR_UNSUPPORTED_DIR_IMPORT"||bZ.code==="ERR_MODULE_NOT_FOUND")&&typeof bZ.url=="string")return bZ.url;throw yZ}};let G={}.hasOwnProperty,z=/^([A-Z][a-z\d]*)+$/,V=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),F={};function J(KZ,MZ="and"){return KZ.length<3?KZ.join(` ${MZ} `):`${KZ.slice(0,-1).join(", ")}, ${MZ} ${KZ[KZ.length-1]}`}let A=new Map,T;function I(KZ,MZ,yZ){return A.set(KZ,MZ),function(bZ,pZ){return uZ;function uZ(...mZ){let hZ=Error.stackTraceLimit;P()&&(Error.stackTraceLimit=0);let eZ=new bZ;P()&&(Error.stackTraceLimit=hZ);let O0=function(EZ,Y0,H0){let M0=A.get(EZ);if(Y()(M0!==void 0,"expected `message` to be found"),typeof M0=="function")return Y()(M0.length<=Y0.length,`Code: ${EZ}; The provided arguments length (${Y0.length}) does not match the required ones (${M0.length}).`),Reflect.apply(M0,H0,Y0);let v0=/%[dfijoOs]/g,m0=0;for(;v0.exec(M0)!==null;)m0++;return Y()(m0===Y0.length,`Code: ${EZ}; The provided arguments length (${Y0.length}) does not match the required ones (${m0}).`),Y0.length===0?M0:(Y0.unshift(M0),Reflect.apply(U().format,null,Y0))}(pZ,mZ,eZ);return Object.defineProperties(eZ,{message:{value:O0,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${pZ}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),w(eZ),eZ.code=pZ,eZ}}(yZ,KZ)}function P(){try{if(N().startupSnapshot.isBuildingSnapshot())return!1}catch(MZ){}let KZ=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return KZ===void 0?Object.isExtensible(Error):G.call(KZ,"writable")&&KZ.writable!==void 0?KZ.writable:KZ.set!==void 0}F.ERR_INVALID_ARG_TYPE=I("ERR_INVALID_ARG_TYPE",(KZ,MZ,yZ)=>{Y()(typeof KZ=="string","'name' must be a string"),Array.isArray(MZ)||(MZ=[MZ]);let bZ="The ";if(KZ.endsWith(" argument"))bZ+=`${KZ} `;else{let hZ=KZ.includes(".")?"property":"argument";bZ+=`"${KZ}" ${hZ} `}bZ+="must be ";let pZ=[],uZ=[],mZ=[];for(let hZ of MZ)Y()(typeof hZ=="string","All expected entries have to be of type string"),V.has(hZ)?pZ.push(hZ.toLowerCase()):z.exec(hZ)===null?(Y()(hZ!=="object",'The value "object" should be written as "Object"'),mZ.push(hZ)):uZ.push(hZ);if(uZ.length>0){let hZ=pZ.indexOf("object");hZ!==-1&&(pZ.slice(hZ,1),uZ.push("Object"))}return pZ.length>0&&(bZ+=`${pZ.length>1?"one of type":"of type"} ${J(pZ,"or")}`,(uZ.length>0||mZ.length>0)&&(bZ+=" or ")),uZ.length>0&&(bZ+=`an instance of ${J(uZ,"or")}`,mZ.length>0&&(bZ+=" or ")),mZ.length>0&&(mZ.length>1?bZ+=`one of ${J(mZ,"or")}`:(mZ[0].toLowerCase()!==mZ[0]&&(bZ+="an "),bZ+=`${mZ[0]}`)),bZ+=`. Received ${function(hZ){if(hZ==null)return String(hZ);if(typeof hZ=="function"&&hZ.name)return`function ${hZ.name}`;if(typeof hZ=="object")return hZ.constructor&&hZ.constructor.name?`an instance of ${hZ.constructor.name}`:`${(0,U().inspect)(hZ,{depth:-1})}`;let eZ=(0,U().inspect)(hZ,{colors:!1});return eZ.length>28&&(eZ=`${eZ.slice(0,25)}...`),`type ${typeof hZ} (${eZ})`}(yZ)}`,bZ},TypeError),F.ERR_INVALID_MODULE_SPECIFIER=I("ERR_INVALID_MODULE_SPECIFIER",(KZ,MZ,yZ=void 0)=>`Invalid module "${KZ}" ${MZ}${yZ?` imported from ${yZ}`:""}`,TypeError),F.ERR_INVALID_PACKAGE_CONFIG=I("ERR_INVALID_PACKAGE_CONFIG",(KZ,MZ,yZ)=>`Invalid package config ${KZ}${MZ?` while importing ${MZ}`:""}${yZ?`. ${yZ}`:""}`,Error),F.ERR_INVALID_PACKAGE_TARGET=I("ERR_INVALID_PACKAGE_TARGET",(KZ,MZ,yZ,bZ=!1,pZ=void 0)=>{let uZ=typeof yZ=="string"&&!bZ&&yZ.length>0&&!yZ.startsWith("./");return MZ==="."?(Y()(bZ===!1),`Invalid "exports" main target ${JSON.stringify(yZ)} defined in the package config ${KZ}package.json${pZ?` imported from ${pZ}`:""}${uZ?'; targets must start with "./"':""}`):`Invalid "${bZ?"imports":"exports"}" target ${JSON.stringify(yZ)} defined for '${MZ}' in the package config ${KZ}package.json${pZ?` imported from ${pZ}`:""}${uZ?'; targets must start with "./"':""}`},Error),F.ERR_MODULE_NOT_FOUND=I("ERR_MODULE_NOT_FOUND",(KZ,MZ,yZ=!1)=>`Cannot find ${yZ?"module":"package"} '${KZ}' imported from ${MZ}`,Error),F.ERR_NETWORK_IMPORT_DISALLOWED=I("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),F.ERR_PACKAGE_IMPORT_NOT_DEFINED=I("ERR_PACKAGE_IMPORT_NOT_DEFINED",(KZ,MZ,yZ)=>`Package import specifier "${KZ}" is not defined${MZ?` in package ${MZ}package.json`:""} imported from ${yZ}`,TypeError),F.ERR_PACKAGE_PATH_NOT_EXPORTED=I("ERR_PACKAGE_PATH_NOT_EXPORTED",(KZ,MZ,yZ=void 0)=>MZ==="."?`No "exports" main defined in ${KZ}package.json${yZ?` imported from ${yZ}`:""}`:`Package subpath '${MZ}' is not defined by "exports" in ${KZ}package.json${yZ?` imported from ${yZ}`:""}`,Error),F.ERR_UNSUPPORTED_DIR_IMPORT=I("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),F.ERR_UNSUPPORTED_RESOLVE_REQUEST=I("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),F.ERR_UNKNOWN_FILE_EXTENSION=I("ERR_UNKNOWN_FILE_EXTENSION",(KZ,MZ)=>`Unknown file extension "${KZ}" for ${MZ}`,TypeError),F.ERR_INVALID_ARG_VALUE=I("ERR_INVALID_ARG_VALUE",(KZ,MZ,yZ="is invalid")=>{let bZ=(0,U().inspect)(MZ);return bZ.length>128&&(bZ=`${bZ.slice(0,128)}...`),`The ${KZ.includes(".")?"property":"argument"} '${KZ}' ${yZ}. Received ${bZ}`},TypeError);let w=function(KZ){let MZ="__node_internal_"+KZ.name;return Object.defineProperty(KZ,"name",{value:MZ}),KZ}(function(KZ){let MZ=P();return MZ&&(T=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(KZ),MZ&&(Error.stackTraceLimit=T),KZ}),D={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:E}=F,v=new Map;function k(KZ,{base:MZ,specifier:yZ}){let bZ=v.get(KZ);if(bZ)return bZ;let pZ;try{pZ=j().default.readFileSync(Q().toNamespacedPath(KZ),"utf8")}catch(mZ){let hZ=mZ;if(hZ.code!=="ENOENT")throw hZ}let uZ={exists:!1,pjsonPath:KZ,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(pZ!==void 0){let mZ;try{mZ=JSON.parse(pZ)}catch(hZ){let eZ=hZ,O0=new E(KZ,(MZ?`"${yZ}" from `:"")+(0,Z().fileURLToPath)(MZ||yZ),eZ.message);throw O0.cause=eZ,O0}uZ.exists=!0,D.call(mZ,"name")&&typeof mZ.name=="string"&&(uZ.name=mZ.name),D.call(mZ,"main")&&typeof mZ.main=="string"&&(uZ.main=mZ.main),D.call(mZ,"exports")&&(uZ.exports=mZ.exports),D.call(mZ,"imports")&&(uZ.imports=mZ.imports),!D.call(mZ,"type")||mZ.type!=="commonjs"&&mZ.type!=="module"||(uZ.type=mZ.type)}return v.set(KZ,uZ),uZ}function _(KZ){let MZ=new URL("package.json",KZ);for(;;){if(MZ.pathname.endsWith("node_modules/package.json"))break;let yZ=k((0,Z().fileURLToPath)(MZ),{specifier:KZ});if(yZ.exists)return yZ;let bZ=MZ;if(MZ=new URL("../package.json",MZ),MZ.pathname===bZ.pathname)break}return{pjsonPath:(0,Z().fileURLToPath)(MZ),exists:!1,type:"none"}}function r(KZ){return _(KZ).type}let{ERR_UNKNOWN_FILE_EXTENSION:t}=F,f={}.hasOwnProperty,q={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},g={__proto__:null,"data:":function(KZ){let{1:MZ}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(KZ.pathname)||[null,null,null];return function(yZ){return yZ&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(yZ)?"module":yZ==="application/json"?"json":null}(MZ)},"file:":function(KZ,MZ,yZ){let bZ=function(mZ){let hZ=mZ.pathname,eZ=hZ.length;for(;eZ--;){let O0=hZ.codePointAt(eZ);if(O0===47)return"";if(O0===46)return hZ.codePointAt(eZ-1)===47?"":hZ.slice(eZ)}return""}(KZ);if(bZ===".js"){let mZ=r(KZ);return mZ!=="none"?mZ:"commonjs"}if(bZ===""){let mZ=r(KZ);return mZ==="none"||mZ==="commonjs"?"commonjs":"module"}let pZ=q[bZ];if(pZ)return pZ;if(yZ)return;let uZ=(0,Z().fileURLToPath)(KZ);throw new t(bZ,uZ)},"http:":u,"https:":u,"node:":()=>"builtin"};function u(){}function a(KZ,MZ){let yZ=KZ.protocol;return f.call(g,yZ)&&g[yZ](KZ,MZ,!0)||null}let{ERR_INVALID_ARG_VALUE:d}=F,o=Object.freeze(["node","import"]),m=new Set(o),b=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:p,ERR_INVALID_MODULE_SPECIFIER:i,ERR_INVALID_PACKAGE_CONFIG:s,ERR_INVALID_PACKAGE_TARGET:HZ,ERR_MODULE_NOT_FOUND:GZ,ERR_PACKAGE_IMPORT_NOT_DEFINED:AZ,ERR_PACKAGE_PATH_NOT_EXPORTED:SZ,ERR_UNSUPPORTED_DIR_IMPORT:CZ,ERR_UNSUPPORTED_RESOLVE_REQUEST:XZ}=F,YZ={}.hasOwnProperty,OZ=/(^|\\|\/)((\.|%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,UZ=/(^|\\|\/)((\.|%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,VZ=/^\.|%|\\/,jZ=/\*/g,JZ=/%2f|%5c/i,NZ=new Set,c=/[/\\]{2}/;function TZ(KZ,MZ,yZ,bZ,pZ,uZ,mZ){if(O().noDeprecation)return;let hZ=(0,Z().fileURLToPath)(bZ),eZ=c.exec(mZ?KZ:MZ)!==null;O().emitWarning(`Use of deprecated ${eZ?"double slash":"leading or trailing slash matching"} resolving "${KZ}" for module request "${MZ}" ${MZ===yZ?"":`matched to "${yZ}" `}in the "${pZ?"imports":"exports"}" field module resolution of the package at ${hZ}${uZ?` imported from ${(0,Z().fileURLToPath)(uZ)}`:""}.`,"DeprecationWarning","DEP0166")}function nZ(KZ,MZ,yZ,bZ){if(O().noDeprecation)return;if(a(KZ,{parentURL:yZ.href})!=="module")return;let pZ=(0,Z().fileURLToPath)(KZ.href),uZ=(0,Z().fileURLToPath)(new(Z()).URL(".",MZ)),mZ=(0,Z().fileURLToPath)(yZ);bZ?Q().resolve(uZ,bZ)!==pZ&&O().emitWarning(`Package ${uZ} has a "main" field set to "${bZ}", excluding the full filename and extension to the resolved file at "${pZ.slice(uZ.length)}", imported from ${mZ}.
|
|
131
|
+
`+Y().fromObject(J).toComment()),R.sourceMaps==="inline"&&(J=null),{outputCode:F,outputMap:J}};var O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js":(n,X,$)=>{function Y(){let O=$("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return Y=function(){return O},O}function j(O){return Object.assign({},O,{sourceRoot:null})}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(O,Z,Q){let R=Q.replace(/\\/g,"/"),N=!1,U=Y()(j(Z),(M,G)=>M!==R||N?null:(N=!0,G.source="",j(O)));return typeof O.sourceRoot=="string"&&(U.sourceRoot=O.sourceRoot),Object.assign({},U)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js":(n,X,$)=>{function Y(){let M=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return Y=function(){return M},M}Object.defineProperty(X,"__esModule",{value:!0}),X.run=function*(M,G,z){let V=yield*(0,Q.default)(M.passes,(0,Z.default)(M),G,z),F=V.opts;try{yield*function*(P,w){let D=yield*(0,U.isAsync)();for(let E of w){let v=[],k=[],_=[];for(let t of E.concat([(0,O.default)()])){let f=new j.default(P,t.key,t.options,D);v.push([t,f]),k.push(f),_.push(t.visitor)}for(let[t,f]of v)if(t.pre)yield*(0,U.maybeAsync)(t.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(f,P);let r=Y().default.visitors.merge(_,k,P.opts.wrapPluginVisitorMethod);(0,Y().default)(P.ast,r,P.scope);for(let[t,f]of v)if(t.post)yield*(0,U.maybeAsync)(t.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(f,P)}}(V,M.passes)}catch(P){var J;throw P.message=`${(J=F.filename)!=null?J:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_TRANSFORM_ERROR"),P}let A,T;try{F.code!==!1&&({outputCode:A,outputMap:T}=(0,R.default)(M.passes,V))}catch(P){var I;throw P.message=`${(I=F.filename)!=null?I:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_GENERATE_ERROR"),P}return{metadata:V.metadata,options:F,ast:F.ast===!0?V.ast:null,code:A===void 0?null:A,map:T===void 0?null:T,sourceType:V.ast.program.sourceType,externalDependencies:(0,N.flattenToSet)(M.externalDependencies)}};var j=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js"),O=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),Z=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),Q=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js"),R=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/generate.js"),N=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js"),U=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js":(n,X,$)=>{function Y(){let T=$("fs");return Y=function(){return T},T}function j(){let T=$("path");return j=function(){return T},T}function O(){let T=$("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return O=function(){return T},T}function Z(){let T=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return Z=function(){return T},T}function Q(){let T=$("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return Q=function(){return T},T}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function*(T,I,P,w){if(P=`${P||""}`,w){if(w.type==="Program")w=M(w,[],[]);else if(w.type!=="File")throw Error("AST root must be a Program or File node");I.cloneInputAst&&(w=(0,U.default)(w))}else w=yield*(0,N.default)(T,I,P);let D=null;if(I.inputSourceMap!==!1){if(typeof I.inputSourceMap=="object"&&(D=Q().fromObject(I.inputSourceMap)),!D){let E=A(V,w);if(E)try{D=Q().fromComment("//"+E)}catch(v){z("discarding unknown inline input sourcemap")}}if(!D){let E=A(F,w);if(typeof I.filename=="string"&&E)try{let v=F.exec(E),k=Y().readFileSync(j().resolve(j().dirname(I.filename),v[1]),"utf8");D=Q().fromJSON(k)}catch(v){z("discarding unknown file input sourcemap",v)}else E&&z("discarding un-loadable file input sourcemap")}}return new R.default(I,{code:P,ast:w,inputMap:D})};var R=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js"),N=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/index.js"),U=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:M,traverseFast:G}=Z(),z=O()("babel:transform:file"),V=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,F=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function J(T,I,P){return I&&(I=I.filter(({value:w})=>!T.test(w)||(P=w,!1))),[I,P]}function A(T,I){let P=null;return G(I,(w)=>{[w.leadingComments,P]=J(T,w.leadingComments,P),[w.innerComments,P]=J(T,w.innerComments,P),[w.trailingComments,P]=J(T,w.trailingComments,P)}),P}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js":(n,X,$)=>{function Y(){let j=$("path");return Y=function(){return j},j}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(j){let{filename:O,cwd:Z,filenameRelative:Q=typeof O=="string"?Y().relative(Z,O):"unknown",sourceType:R="module",inputSourceMap:N,sourceMaps:U=!!N,sourceRoot:M=j.options.moduleRoot,sourceFileName:G=Y().basename(Q),comments:z=!0,compact:V="auto"}=j.options,F=j.options,J=Object.assign({},F,{parserOpts:Object.assign({sourceType:Y().extname(Q)===".mjs"?"module":R,sourceFileName:O,plugins:[]},F.parserOpts),generatorOpts:Object.assign({filename:O,auxiliaryCommentBefore:F.auxiliaryCommentBefore,auxiliaryCommentAfter:F.auxiliaryCommentAfter,retainLines:F.retainLines,comments:z,shouldPrintComment:F.shouldPrintComment,compact:V,minified:F.minified,sourceMaps:U,sourceRoot:M,sourceFileName:G},F.generatorOpts)});for(let A of j.passes)for(let T of A)T.manipulateOptions&&T.manipulateOptions(J,J.parserOpts);return J}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;class ${constructor(Y,j,O,Z){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.isAsync=void 0,this.key=j,this.file=Y,this.opts=O||{},this.cwd=Y.opts.cwd,this.filename=Y.opts.filename,this.isAsync=Z}set(Y,j){this._map.set(Y,j)}get(Y){return this._map.get(Y)}availableHelper(Y,j){return this.file.availableHelper(Y,j)}addHelper(Y){return this.file.addHelper(Y)}buildCodeFrameError(Y,j,O){return this.file.buildCodeFrameError(Y,j,O)}}X.default=$,$.prototype.getModuleName=function(){return this.file.getModuleName()},$.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(n,X)=>{function $(Y,j){if(Y!==null){if(j.has(Y))return j.get(Y);let O;if(Array.isArray(Y)){O=Array(Y.length),j.set(Y,O);for(let Z=0;Z<Y.length;Z++)O[Z]=typeof Y[Z]!="object"?Y[Z]:$(Y[Z],j)}else{O={},j.set(Y,O);let Z=Object.keys(Y);for(let Q=0;Q<Z.length;Q++){let R=Z[Q];O[R]=typeof Y[R]!="object"?Y[R]:$(Y[R],j)}}return O}return Y}Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(Y){return typeof Y!="object"?Y:$(Y,new Map)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(n,X,$)=>{function Y(){let KZ=$("assert");return Y=function(){return KZ},KZ}function j(){let KZ=function(MZ,yZ){if(!yZ&&MZ&&MZ.__esModule)return MZ;if(MZ===null||typeof MZ!="object"&&typeof MZ!="function")return{default:MZ};var bZ=M(yZ);if(bZ&&bZ.has(MZ))return bZ.get(MZ);var pZ={__proto__:null},uZ=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var mZ in MZ)if(mZ!=="default"&&{}.hasOwnProperty.call(MZ,mZ)){var hZ=uZ?Object.getOwnPropertyDescriptor(MZ,mZ):null;hZ&&(hZ.get||hZ.set)?Object.defineProperty(pZ,mZ,hZ):pZ[mZ]=MZ[mZ]}return pZ.default=MZ,bZ&&bZ.set(MZ,pZ),pZ}($("fs"),!0);return j=function(){return KZ},KZ}function O(){let KZ=$("process");return O=function(){return KZ},KZ}function Z(){let KZ=$("url");return Z=function(){return KZ},KZ}function Q(){let KZ=$("path");return Q=function(){return KZ},KZ}function R(){let KZ=$("module");return R=function(){return KZ},KZ}function N(){let KZ=$("v8");return N=function(){return KZ},KZ}function U(){let KZ=$("util");return U=function(){return KZ},KZ}function M(KZ){if(typeof WeakMap!="function")return null;var MZ=new WeakMap,yZ=new WeakMap;return(M=function(bZ){return bZ?yZ:MZ})(KZ)}Object.defineProperty(X,"__esModule",{value:!0}),X.moduleResolve=W0,X.resolve=function(KZ,MZ){if(!MZ)throw Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(yZ,bZ={}){let{parentURL:pZ}=bZ,uZ,mZ,hZ;if(Y()(pZ!==void 0,"expected `parentURL` to be defined"),function(Y0){if(Y0===void 0)return;if(typeof Y0!="string"&&(H0=Y0,!Boolean(H0&&typeof H0=="object"&&"href"in H0&&typeof H0.href=="string"&&"protocol"in H0&&typeof H0.protocol=="string"&&H0.href&&H0.protocol)))throw new F.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],Y0);var H0}(pZ),pZ)try{uZ=new(Z()).URL(pZ)}catch(Y0){}try{if(mZ=aZ(yZ)?new(Z()).URL(yZ,uZ):new(Z()).URL(yZ),hZ=mZ.protocol,hZ==="data:")return{url:mZ.href,format:null}}catch(Y0){}let eZ=function(Y0,H0,M0){if(M0){let v0=M0.protocol;if(v0==="http:"||v0==="https:"){if(aZ(Y0)){let m0=H0==null?void 0:H0.protocol;if(m0&&m0!=="https:"&&m0!=="http:")throw new p(Y0,M0,"remote imports cannot import from a local location.");return{url:(H0==null?void 0:H0.href)||""}}if(R().builtinModules.includes(Y0))throw new p(Y0,M0,"remote imports cannot import from a local location.");throw new p(Y0,M0,"only relative and absolute specifiers are supported.")}}}(yZ,mZ,uZ);if(eZ)return eZ;if(hZ===void 0&&mZ&&(hZ=mZ.protocol),hZ==="node:")return{url:yZ};if(mZ&&mZ.protocol==="node:")return{url:yZ};let J0=function(Y0){if(Y0!==void 0&&Y0!==o){if(!Array.isArray(Y0))throw new d("conditions",Y0,"expected an array");return new Set(Y0)}return m}(bZ.conditions),EZ=W0(yZ,new(Z()).URL(pZ),J0,!1);return{url:EZ.href,format:a(EZ,{parentURL:pZ})}}(KZ,{parentURL:MZ}).url}catch(yZ){let bZ=yZ;if((bZ.code==="ERR_UNSUPPORTED_DIR_IMPORT"||bZ.code==="ERR_MODULE_NOT_FOUND")&&typeof bZ.url=="string")return bZ.url;throw yZ}};let G={}.hasOwnProperty,z=/^([A-Z][a-z\d]*)+$/,V=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),F={};function J(KZ,MZ="and"){return KZ.length<3?KZ.join(` ${MZ} `):`${KZ.slice(0,-1).join(", ")}, ${MZ} ${KZ[KZ.length-1]}`}let A=new Map,T;function I(KZ,MZ,yZ){return A.set(KZ,MZ),function(bZ,pZ){return uZ;function uZ(...mZ){let hZ=Error.stackTraceLimit;P()&&(Error.stackTraceLimit=0);let eZ=new bZ;P()&&(Error.stackTraceLimit=hZ);let J0=function(EZ,Y0,H0){let M0=A.get(EZ);if(Y()(M0!==void 0,"expected `message` to be found"),typeof M0=="function")return Y()(M0.length<=Y0.length,`Code: ${EZ}; The provided arguments length (${Y0.length}) does not match the required ones (${M0.length}).`),Reflect.apply(M0,H0,Y0);let v0=/%[dfijoOs]/g,m0=0;for(;v0.exec(M0)!==null;)m0++;return Y()(m0===Y0.length,`Code: ${EZ}; The provided arguments length (${Y0.length}) does not match the required ones (${m0}).`),Y0.length===0?M0:(Y0.unshift(M0),Reflect.apply(U().format,null,Y0))}(pZ,mZ,eZ);return Object.defineProperties(eZ,{message:{value:J0,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${pZ}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),w(eZ),eZ.code=pZ,eZ}}(yZ,KZ)}function P(){try{if(N().startupSnapshot.isBuildingSnapshot())return!1}catch(MZ){}let KZ=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return KZ===void 0?Object.isExtensible(Error):G.call(KZ,"writable")&&KZ.writable!==void 0?KZ.writable:KZ.set!==void 0}F.ERR_INVALID_ARG_TYPE=I("ERR_INVALID_ARG_TYPE",(KZ,MZ,yZ)=>{Y()(typeof KZ=="string","'name' must be a string"),Array.isArray(MZ)||(MZ=[MZ]);let bZ="The ";if(KZ.endsWith(" argument"))bZ+=`${KZ} `;else{let hZ=KZ.includes(".")?"property":"argument";bZ+=`"${KZ}" ${hZ} `}bZ+="must be ";let pZ=[],uZ=[],mZ=[];for(let hZ of MZ)Y()(typeof hZ=="string","All expected entries have to be of type string"),V.has(hZ)?pZ.push(hZ.toLowerCase()):z.exec(hZ)===null?(Y()(hZ!=="object",'The value "object" should be written as "Object"'),mZ.push(hZ)):uZ.push(hZ);if(uZ.length>0){let hZ=pZ.indexOf("object");hZ!==-1&&(pZ.slice(hZ,1),uZ.push("Object"))}return pZ.length>0&&(bZ+=`${pZ.length>1?"one of type":"of type"} ${J(pZ,"or")}`,(uZ.length>0||mZ.length>0)&&(bZ+=" or ")),uZ.length>0&&(bZ+=`an instance of ${J(uZ,"or")}`,mZ.length>0&&(bZ+=" or ")),mZ.length>0&&(mZ.length>1?bZ+=`one of ${J(mZ,"or")}`:(mZ[0].toLowerCase()!==mZ[0]&&(bZ+="an "),bZ+=`${mZ[0]}`)),bZ+=`. Received ${function(hZ){if(hZ==null)return String(hZ);if(typeof hZ=="function"&&hZ.name)return`function ${hZ.name}`;if(typeof hZ=="object")return hZ.constructor&&hZ.constructor.name?`an instance of ${hZ.constructor.name}`:`${(0,U().inspect)(hZ,{depth:-1})}`;let eZ=(0,U().inspect)(hZ,{colors:!1});return eZ.length>28&&(eZ=`${eZ.slice(0,25)}...`),`type ${typeof hZ} (${eZ})`}(yZ)}`,bZ},TypeError),F.ERR_INVALID_MODULE_SPECIFIER=I("ERR_INVALID_MODULE_SPECIFIER",(KZ,MZ,yZ=void 0)=>`Invalid module "${KZ}" ${MZ}${yZ?` imported from ${yZ}`:""}`,TypeError),F.ERR_INVALID_PACKAGE_CONFIG=I("ERR_INVALID_PACKAGE_CONFIG",(KZ,MZ,yZ)=>`Invalid package config ${KZ}${MZ?` while importing ${MZ}`:""}${yZ?`. ${yZ}`:""}`,Error),F.ERR_INVALID_PACKAGE_TARGET=I("ERR_INVALID_PACKAGE_TARGET",(KZ,MZ,yZ,bZ=!1,pZ=void 0)=>{let uZ=typeof yZ=="string"&&!bZ&&yZ.length>0&&!yZ.startsWith("./");return MZ==="."?(Y()(bZ===!1),`Invalid "exports" main target ${JSON.stringify(yZ)} defined in the package config ${KZ}package.json${pZ?` imported from ${pZ}`:""}${uZ?'; targets must start with "./"':""}`):`Invalid "${bZ?"imports":"exports"}" target ${JSON.stringify(yZ)} defined for '${MZ}' in the package config ${KZ}package.json${pZ?` imported from ${pZ}`:""}${uZ?'; targets must start with "./"':""}`},Error),F.ERR_MODULE_NOT_FOUND=I("ERR_MODULE_NOT_FOUND",(KZ,MZ,yZ=!1)=>`Cannot find ${yZ?"module":"package"} '${KZ}' imported from ${MZ}`,Error),F.ERR_NETWORK_IMPORT_DISALLOWED=I("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),F.ERR_PACKAGE_IMPORT_NOT_DEFINED=I("ERR_PACKAGE_IMPORT_NOT_DEFINED",(KZ,MZ,yZ)=>`Package import specifier "${KZ}" is not defined${MZ?` in package ${MZ}package.json`:""} imported from ${yZ}`,TypeError),F.ERR_PACKAGE_PATH_NOT_EXPORTED=I("ERR_PACKAGE_PATH_NOT_EXPORTED",(KZ,MZ,yZ=void 0)=>MZ==="."?`No "exports" main defined in ${KZ}package.json${yZ?` imported from ${yZ}`:""}`:`Package subpath '${MZ}' is not defined by "exports" in ${KZ}package.json${yZ?` imported from ${yZ}`:""}`,Error),F.ERR_UNSUPPORTED_DIR_IMPORT=I("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),F.ERR_UNSUPPORTED_RESOLVE_REQUEST=I("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),F.ERR_UNKNOWN_FILE_EXTENSION=I("ERR_UNKNOWN_FILE_EXTENSION",(KZ,MZ)=>`Unknown file extension "${KZ}" for ${MZ}`,TypeError),F.ERR_INVALID_ARG_VALUE=I("ERR_INVALID_ARG_VALUE",(KZ,MZ,yZ="is invalid")=>{let bZ=(0,U().inspect)(MZ);return bZ.length>128&&(bZ=`${bZ.slice(0,128)}...`),`The ${KZ.includes(".")?"property":"argument"} '${KZ}' ${yZ}. Received ${bZ}`},TypeError);let w=function(KZ){let MZ="__node_internal_"+KZ.name;return Object.defineProperty(KZ,"name",{value:MZ}),KZ}(function(KZ){let MZ=P();return MZ&&(T=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(KZ),MZ&&(Error.stackTraceLimit=T),KZ}),D={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:E}=F,v=new Map;function k(KZ,{base:MZ,specifier:yZ}){let bZ=v.get(KZ);if(bZ)return bZ;let pZ;try{pZ=j().default.readFileSync(Q().toNamespacedPath(KZ),"utf8")}catch(mZ){let hZ=mZ;if(hZ.code!=="ENOENT")throw hZ}let uZ={exists:!1,pjsonPath:KZ,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(pZ!==void 0){let mZ;try{mZ=JSON.parse(pZ)}catch(hZ){let eZ=hZ,J0=new E(KZ,(MZ?`"${yZ}" from `:"")+(0,Z().fileURLToPath)(MZ||yZ),eZ.message);throw J0.cause=eZ,J0}uZ.exists=!0,D.call(mZ,"name")&&typeof mZ.name=="string"&&(uZ.name=mZ.name),D.call(mZ,"main")&&typeof mZ.main=="string"&&(uZ.main=mZ.main),D.call(mZ,"exports")&&(uZ.exports=mZ.exports),D.call(mZ,"imports")&&(uZ.imports=mZ.imports),!D.call(mZ,"type")||mZ.type!=="commonjs"&&mZ.type!=="module"||(uZ.type=mZ.type)}return v.set(KZ,uZ),uZ}function _(KZ){let MZ=new URL("package.json",KZ);for(;;){if(MZ.pathname.endsWith("node_modules/package.json"))break;let yZ=k((0,Z().fileURLToPath)(MZ),{specifier:KZ});if(yZ.exists)return yZ;let bZ=MZ;if(MZ=new URL("../package.json",MZ),MZ.pathname===bZ.pathname)break}return{pjsonPath:(0,Z().fileURLToPath)(MZ),exists:!1,type:"none"}}function r(KZ){return _(KZ).type}let{ERR_UNKNOWN_FILE_EXTENSION:t}=F,f={}.hasOwnProperty,q={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},g={__proto__:null,"data:":function(KZ){let{1:MZ}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(KZ.pathname)||[null,null,null];return function(yZ){return yZ&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(yZ)?"module":yZ==="application/json"?"json":null}(MZ)},"file:":function(KZ,MZ,yZ){let bZ=function(mZ){let hZ=mZ.pathname,eZ=hZ.length;for(;eZ--;){let J0=hZ.codePointAt(eZ);if(J0===47)return"";if(J0===46)return hZ.codePointAt(eZ-1)===47?"":hZ.slice(eZ)}return""}(KZ);if(bZ===".js"){let mZ=r(KZ);return mZ!=="none"?mZ:"commonjs"}if(bZ===""){let mZ=r(KZ);return mZ==="none"||mZ==="commonjs"?"commonjs":"module"}let pZ=q[bZ];if(pZ)return pZ;if(yZ)return;let uZ=(0,Z().fileURLToPath)(KZ);throw new t(bZ,uZ)},"http:":u,"https:":u,"node:":()=>"builtin"};function u(){}function a(KZ,MZ){let yZ=KZ.protocol;return f.call(g,yZ)&&g[yZ](KZ,MZ,!0)||null}let{ERR_INVALID_ARG_VALUE:d}=F,o=Object.freeze(["node","import"]),m=new Set(o),b=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:p,ERR_INVALID_MODULE_SPECIFIER:i,ERR_INVALID_PACKAGE_CONFIG:s,ERR_INVALID_PACKAGE_TARGET:HZ,ERR_MODULE_NOT_FOUND:GZ,ERR_PACKAGE_IMPORT_NOT_DEFINED:AZ,ERR_PACKAGE_PATH_NOT_EXPORTED:SZ,ERR_UNSUPPORTED_DIR_IMPORT:CZ,ERR_UNSUPPORTED_RESOLVE_REQUEST:XZ}=F,YZ={}.hasOwnProperty,OZ=/(^|\\|\/)((\.|%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,UZ=/(^|\\|\/)((\.|%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,VZ=/^\.|%|\\/,jZ=/\*/g,JZ=/%2f|%5c/i,NZ=new Set,c=/[/\\]{2}/;function TZ(KZ,MZ,yZ,bZ,pZ,uZ,mZ){if(O().noDeprecation)return;let hZ=(0,Z().fileURLToPath)(bZ),eZ=c.exec(mZ?KZ:MZ)!==null;O().emitWarning(`Use of deprecated ${eZ?"double slash":"leading or trailing slash matching"} resolving "${KZ}" for module request "${MZ}" ${MZ===yZ?"":`matched to "${yZ}" `}in the "${pZ?"imports":"exports"}" field module resolution of the package at ${hZ}${uZ?` imported from ${(0,Z().fileURLToPath)(uZ)}`:""}.`,"DeprecationWarning","DEP0166")}function nZ(KZ,MZ,yZ,bZ){if(O().noDeprecation)return;if(a(KZ,{parentURL:yZ.href})!=="module")return;let pZ=(0,Z().fileURLToPath)(KZ.href),uZ=(0,Z().fileURLToPath)(new(Z()).URL(".",MZ)),mZ=(0,Z().fileURLToPath)(yZ);bZ?Q().resolve(uZ,bZ)!==pZ&&O().emitWarning(`Package ${uZ} has a "main" field set to "${bZ}", excluding the full filename and extension to the resolved file at "${pZ.slice(uZ.length)}", imported from ${mZ}.
|
|
132
132
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):O().emitWarning(`No "main" or "exports" field defined in the package.json for ${uZ} resolving the main entry point "${pZ.slice(uZ.length)}", imported from ${mZ}.
|
|
133
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function sZ(KZ){try{return(0,j().statSync)(KZ)}catch(MZ){}}function Q0(KZ){let MZ=(0,j().statSync)(KZ,{throwIfNoEntry:!1}),yZ=MZ?MZ.isFile():void 0;return yZ!=null&&yZ}function dZ(KZ,MZ,yZ){let bZ;if(MZ.main!==void 0){if(bZ=new(Z()).URL(MZ.main,KZ),Q0(bZ))return bZ;let mZ=[`./${MZ.main}.js`,`./${MZ.main}.json`,`./${MZ.main}.node`,`./${MZ.main}/index.js`,`./${MZ.main}/index.json`,`./${MZ.main}/index.node`],hZ=-1;for(;++hZ<mZ.length&&(bZ=new(Z()).URL(mZ[hZ],KZ),!Q0(bZ));)bZ=void 0;if(bZ)return nZ(bZ,KZ,yZ,MZ.main),bZ}let pZ=["./index.js","./index.json","./index.node"],uZ=-1;for(;++uZ<pZ.length&&(bZ=new(Z()).URL(pZ[uZ],KZ),!Q0(bZ));)bZ=void 0;if(bZ)return nZ(bZ,KZ,yZ,MZ.main),bZ;throw new GZ((0,Z().fileURLToPath)(new(Z()).URL(".",KZ)),(0,Z().fileURLToPath)(yZ))}function $Z(KZ,MZ,yZ){return new SZ((0,Z().fileURLToPath)(new(Z()).URL(".",MZ)),KZ,yZ&&(0,Z().fileURLToPath)(yZ))}function PZ(KZ,MZ,yZ,bZ,pZ){return MZ=typeof MZ=="object"&&MZ!==null?JSON.stringify(MZ,null,""):`${MZ}`,new HZ((0,Z().fileURLToPath)(new(Z()).URL(".",yZ)),KZ,MZ,bZ,pZ&&(0,Z().fileURLToPath)(pZ))}function wZ(KZ,MZ,yZ,bZ,pZ,uZ,mZ,hZ,eZ){if(MZ!==""&&!uZ&&KZ[KZ.length-1]!=="/")throw PZ(yZ,KZ,bZ,mZ,pZ);if(!KZ.startsWith("./")){if(mZ&&!KZ.startsWith("../")&&!KZ.startsWith("/")){let H0=!1;try{new(Z()).URL(KZ),H0=!0}catch(M0){}if(!H0)return lZ(uZ?b.call(jZ,KZ,()=>MZ):KZ+MZ,bZ,eZ)}throw PZ(yZ,KZ,bZ,mZ,pZ)}if(OZ.exec(KZ.slice(2))!==null){if(UZ.exec(KZ.slice(2))!==null)throw PZ(yZ,KZ,bZ,mZ,pZ);if(!hZ){let H0=uZ?yZ.replace("*",()=>MZ):yZ+MZ;TZ(uZ?b.call(jZ,KZ,()=>MZ):KZ,H0,yZ,bZ,mZ,pZ,!0)}}let O0=new(Z()).URL(KZ,bZ),EZ=O0.pathname,Y0=new(Z()).URL(".",bZ).pathname;if(!EZ.startsWith(Y0))throw PZ(yZ,KZ,bZ,mZ,pZ);if(MZ==="")return O0;if(OZ.exec(MZ)!==null){let H0=uZ?yZ.replace("*",()=>MZ):yZ+MZ;if(UZ.exec(MZ)===null){if(!hZ)TZ(uZ?b.call(jZ,KZ,()=>MZ):KZ,H0,yZ,bZ,mZ,pZ,!1)}else(function(M0,v0,m0,X5,d0){let u0=`request is not a valid match in pattern "${v0}" for the "${X5?"imports":"exports"}" resolution of ${(0,Z().fileURLToPath)(m0)}`;throw new i(M0,u0,d0&&(0,Z().fileURLToPath)(d0))})(H0,yZ,bZ,mZ,pZ)}return uZ?new(Z()).URL(b.call(jZ,O0.href,()=>MZ)):new(Z()).URL(MZ,O0)}function DZ(KZ){let MZ=Number(KZ);return`${MZ}`===KZ&&(MZ>=0&&MZ<4294967295)}function l(KZ,MZ,yZ,bZ,pZ,uZ,mZ,hZ,eZ){if(typeof MZ=="string")return wZ(MZ,yZ,bZ,KZ,pZ,uZ,mZ,hZ,eZ);if(Array.isArray(MZ)){let O0=MZ;if(O0.length===0)return null;let EZ,Y0=-1;for(;++Y0<O0.length;){let H0=O0[Y0],M0;try{M0=l(KZ,H0,yZ,bZ,pZ,uZ,mZ,hZ,eZ)}catch(v0){if(EZ=v0,v0.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw v0}if(M0!==void 0){if(M0!==null)return M0;EZ=null}}if(EZ==null)return null;throw EZ}if(typeof MZ=="object"&&MZ!==null){let O0=Object.getOwnPropertyNames(MZ),EZ=-1;for(;++EZ<O0.length;)if(DZ(O0[EZ]))throw new s((0,Z().fileURLToPath)(KZ),pZ,'"exports" cannot contain numeric property keys.');for(EZ=-1;++EZ<O0.length;){let Y0=O0[EZ];if(Y0==="default"||eZ&&eZ.has(Y0)){let H0=l(KZ,MZ[Y0],yZ,bZ,pZ,uZ,mZ,hZ,eZ);if(H0===void 0)continue;return H0}}return null}if(MZ===null)return null;throw PZ(bZ,MZ,KZ,mZ,pZ)}function ZZ(KZ,MZ,yZ){if(O().noDeprecation)return;let bZ=(0,Z().fileURLToPath)(MZ);NZ.has(bZ+"|"+KZ)||(NZ.add(bZ+"|"+KZ),O().emitWarning(`Use of deprecated trailing slash pattern mapping "${KZ}" in the "exports" field module resolution of the package at ${bZ}${yZ?` imported from ${(0,Z().fileURLToPath)(yZ)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function LZ(KZ,MZ,yZ,bZ,pZ){let uZ=yZ.exports;if(function(EZ,Y0,H0){if(typeof EZ=="string"||Array.isArray(EZ))return!0;if(typeof EZ!="object"||EZ===null)return!1;let M0=Object.getOwnPropertyNames(EZ),v0=!1,m0=0,X5=-1;for(;++X5<M0.length;){let d0=M0[X5],u0=d0===""||d0[0]!==".";if(m0++==0)v0=u0;else if(v0!==u0)throw new s((0,Z().fileURLToPath)(Y0),H0,`"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 v0}(uZ,KZ,bZ)&&(uZ={".":uZ}),YZ.call(uZ,MZ)&&!MZ.includes("*")&&!MZ.endsWith("/")){let EZ=l(KZ,uZ[MZ],"",MZ,bZ,!1,!1,!1,pZ);if(EZ==null)throw $Z(MZ,KZ,bZ);return EZ}let mZ="",hZ="",eZ=Object.getOwnPropertyNames(uZ),O0=-1;for(;++O0<eZ.length;){let EZ=eZ[O0],Y0=EZ.indexOf("*");if(Y0!==-1&&MZ.startsWith(EZ.slice(0,Y0))){MZ.endsWith("/")&&ZZ(MZ,KZ,bZ);let H0=EZ.slice(Y0+1);MZ.length>=EZ.length&&MZ.endsWith(H0)&&qZ(mZ,EZ)===1&&EZ.lastIndexOf("*")===Y0&&(mZ=EZ,hZ=MZ.slice(Y0,MZ.length-H0.length))}}if(mZ){let EZ=l(KZ,uZ[mZ],hZ,mZ,bZ,!0,!1,MZ.endsWith("/"),pZ);if(EZ==null)throw $Z(MZ,KZ,bZ);return EZ}throw $Z(MZ,KZ,bZ)}function qZ(KZ,MZ){let yZ=KZ.indexOf("*"),bZ=MZ.indexOf("*"),pZ=yZ===-1?KZ.length:yZ+1,uZ=bZ===-1?MZ.length:bZ+1;return pZ>uZ?-1:uZ>pZ||yZ===-1?1:bZ===-1||KZ.length>MZ.length?-1:MZ.length>KZ.length?1:0}function kZ(KZ,MZ,yZ){if(KZ==="#"||KZ.startsWith("#/")||KZ.endsWith("/"))throw new i(KZ,"is not a valid internal imports specifier name",(0,Z().fileURLToPath)(MZ));let bZ,pZ=_(MZ);if(pZ.exists){bZ=(0,Z().pathToFileURL)(pZ.pjsonPath);let uZ=pZ.imports;if(uZ)if(YZ.call(uZ,KZ)&&!KZ.includes("*")){let mZ=l(bZ,uZ[KZ],"",KZ,MZ,!1,!0,!1,yZ);if(mZ!=null)return mZ}else{let mZ="",hZ="",eZ=Object.getOwnPropertyNames(uZ),O0=-1;for(;++O0<eZ.length;){let EZ=eZ[O0],Y0=EZ.indexOf("*");if(Y0!==-1&&KZ.startsWith(EZ.slice(0,-1))){let H0=EZ.slice(Y0+1);KZ.length>=EZ.length&&KZ.endsWith(H0)&&qZ(mZ,EZ)===1&&EZ.lastIndexOf("*")===Y0&&(mZ=EZ,hZ=KZ.slice(Y0,KZ.length-H0.length))}}if(mZ){let EZ=l(bZ,uZ[mZ],hZ,mZ,MZ,!0,!0,!1,yZ);if(EZ!=null)return EZ}}}throw function(uZ,mZ,hZ){return new AZ(uZ,mZ&&(0,Z().fileURLToPath)(new(Z()).URL(".",mZ)),(0,Z().fileURLToPath)(hZ))}(KZ,bZ,MZ)}function lZ(KZ,MZ,yZ){if(R().builtinModules.includes(KZ))return new(Z()).URL("node:"+KZ);let{packageName:bZ,packageSubpath:pZ,isScoped:uZ}=function(EZ,Y0){let H0=EZ.indexOf("/"),M0=!0,v0=!1;EZ[0]==="@"&&(v0=!0,H0===-1||EZ.length===0?M0=!1:H0=EZ.indexOf("/",H0+1));let m0=H0===-1?EZ:EZ.slice(0,H0);if(VZ.exec(m0)!==null&&(M0=!1),!M0)throw new i(EZ,"is not a valid package name",(0,Z().fileURLToPath)(Y0));return{packageName:m0,packageSubpath:"."+(H0===-1?"":EZ.slice(H0)),isScoped:v0}}(KZ,MZ),mZ=_(MZ);if(mZ.exists){let EZ=(0,Z().pathToFileURL)(mZ.pjsonPath);if(mZ.name===bZ&&mZ.exports!==void 0&&mZ.exports!==null)return LZ(EZ,pZ,mZ,MZ,yZ)}let hZ,eZ=new(Z()).URL("./node_modules/"+bZ+"/package.json",MZ),O0=(0,Z().fileURLToPath)(eZ);do{let EZ=sZ(O0.slice(0,-13));if(!EZ||!EZ.isDirectory()){hZ=O0,eZ=new(Z()).URL((uZ?"../../../../node_modules/":"../../../node_modules/")+bZ+"/package.json",eZ),O0=(0,Z().fileURLToPath)(eZ);continue}let Y0=k(O0,{base:MZ,specifier:KZ});return Y0.exports!==void 0&&Y0.exports!==null?LZ(eZ,pZ,Y0,MZ,yZ):pZ==="."?dZ(eZ,Y0,MZ):new(Z()).URL(pZ,eZ)}while(O0.length!==hZ.length);throw new GZ(bZ,(0,Z().fileURLToPath)(MZ),!1)}function aZ(KZ){return KZ!==""&&(KZ[0]==="/"||function(MZ){if(MZ[0]==="."){if(MZ.length===1||MZ[1]==="/")return!0;if(MZ[1]==="."&&(MZ.length===2||MZ[2]==="/"))return!0}return!1}(KZ))}function W0(KZ,MZ,yZ,bZ){let pZ=MZ.protocol,uZ=pZ==="data:"||pZ==="http:"||pZ==="https:",mZ;if(aZ(KZ))try{mZ=new(Z()).URL(KZ,MZ)}catch(hZ){let eZ=new XZ(KZ,MZ);throw eZ.cause=hZ,eZ}else if(pZ==="file:"&&KZ[0]==="#")mZ=kZ(KZ,MZ,yZ);else try{mZ=new(Z()).URL(KZ)}catch(hZ){if(uZ&&!R().builtinModules.includes(KZ)){let eZ=new XZ(KZ,MZ);throw eZ.cause=hZ,eZ}mZ=lZ(KZ,MZ,yZ)}return Y()(mZ!==void 0,"expected to be defined"),mZ.protocol!=="file:"?mZ:function(hZ,eZ,O0){if(JZ.exec(hZ.pathname)!==null)throw new i(hZ.pathname,'must not include encoded "/" or "\\" characters',(0,Z().fileURLToPath)(eZ));let EZ;try{EZ=(0,Z().fileURLToPath)(hZ)}catch(H0){let M0=H0;throw Object.defineProperty(M0,"input",{value:String(hZ)}),Object.defineProperty(M0,"module",{value:String(eZ)}),M0}let Y0=sZ(EZ.endsWith("/")?EZ.slice(-1):EZ);if(Y0&&Y0.isDirectory()){let H0=new CZ(EZ,(0,Z().fileURLToPath)(eZ));throw H0.url=String(hZ),H0}if(!Y0||!Y0.isFile()){let H0=new GZ(EZ||hZ.pathname,eZ&&(0,Z().fileURLToPath)(eZ),!0);throw H0.url=String(hZ),H0}if(!O0){let H0=(0,j().realpathSync)(EZ),{search:M0,hash:v0}=hZ;(hZ=(0,Z().pathToFileURL)(H0+(EZ.endsWith(Q().sep)?"/":""))).search=M0,hZ.hash=v0}return hZ}(mZ,MZ,bZ)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/buffer.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0,X.default=class{constructor($,Y){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=$,this._indentChar=Y;for(let j=0;j<64;j++)this._fastIndentations.push(Y.repeat(j));this._allocQueue()}_allocQueue(){let $=this._queue;for(let Y=0;Y<16;Y++)$.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue($,Y,j,O,Z){let Q=this._queueCursor;Q===this._queue.length&&this._allocQueue();let R=this._queue[Q];R.char=$,R.repeat=Y,R.line=j,R.column=O,R.filename=Z,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let $=this._map,Y={code:(this._buf+this._str).trimRight(),decodedMap:$==null?void 0:$.getDecoded(),get __mergedMap(){return this.map},get map(){let j=$?$.get():null;return Y.map=j,j},set map(j){Object.defineProperty(Y,"map",{value:j,writable:!0})},get rawMappings(){let j=$==null?void 0:$.getRawMappings();return Y.rawMappings=j,j},set rawMappings(j){Object.defineProperty(Y,"rawMappings",{value:j,writable:!0})}};return Y}append($,Y){this._flush(),this._append($,this._sourcePosition,Y)}appendChar($){this._flush(),this._appendChar($,1,this._sourcePosition)}queue($){if($===10)for(;this._queueCursor!==0;){let j=this._queue[this._queueCursor-1].char;if(j!==32&&j!==9)break;this._queueCursor--}let Y=this._sourcePosition;this._pushQueue($,1,Y.line,Y.column,Y.filename)}queueIndentation($){$!==0&&this._pushQueue(-1,$,void 0,void 0,void 0)}_flush(){let $=this._queueCursor,Y=this._queue;for(let j=0;j<$;j++){let O=Y[j];this._appendChar(O.char,O.repeat,O)}this._queueCursor=0}_appendChar($,Y,j){if(this._last=$,$===-1){let O=this._fastIndentations[Y];this._str+=O!==void 0?O:Y>1?this._indentChar.repeat(Y):this._indentChar}else this._str+=Y>1?String.fromCharCode($).repeat(Y):String.fromCharCode($);$!==10?(this._mark(j.line,j.column,j.identifierName,j.identifierNamePos,j.filename),this._position.column+=Y):(this._position.line++,this._position.column=0),this._canMarkIdName&&(j.identifierName=void 0,j.identifierNamePos=void 0)}_append($,Y,j){let O=$.length,Z=this._position;if(this._last=$.charCodeAt(O-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=$,this._appendCount=0):this._str+=$,!j&&!this._map)return void(Z.column+=O);let{column:Q,identifierName:R,identifierNamePos:N,filename:U}=Y,M=Y.line;R==null&&N==null||!this._canMarkIdName||(Y.identifierName=void 0,Y.identifierNamePos=void 0);let G=$.indexOf(`
|
|
133
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function sZ(KZ){try{return(0,j().statSync)(KZ)}catch(MZ){}}function Q0(KZ){let MZ=(0,j().statSync)(KZ,{throwIfNoEntry:!1}),yZ=MZ?MZ.isFile():void 0;return yZ!=null&&yZ}function dZ(KZ,MZ,yZ){let bZ;if(MZ.main!==void 0){if(bZ=new(Z()).URL(MZ.main,KZ),Q0(bZ))return bZ;let mZ=[`./${MZ.main}.js`,`./${MZ.main}.json`,`./${MZ.main}.node`,`./${MZ.main}/index.js`,`./${MZ.main}/index.json`,`./${MZ.main}/index.node`],hZ=-1;for(;++hZ<mZ.length&&(bZ=new(Z()).URL(mZ[hZ],KZ),!Q0(bZ));)bZ=void 0;if(bZ)return nZ(bZ,KZ,yZ,MZ.main),bZ}let pZ=["./index.js","./index.json","./index.node"],uZ=-1;for(;++uZ<pZ.length&&(bZ=new(Z()).URL(pZ[uZ],KZ),!Q0(bZ));)bZ=void 0;if(bZ)return nZ(bZ,KZ,yZ,MZ.main),bZ;throw new GZ((0,Z().fileURLToPath)(new(Z()).URL(".",KZ)),(0,Z().fileURLToPath)(yZ))}function $Z(KZ,MZ,yZ){return new SZ((0,Z().fileURLToPath)(new(Z()).URL(".",MZ)),KZ,yZ&&(0,Z().fileURLToPath)(yZ))}function PZ(KZ,MZ,yZ,bZ,pZ){return MZ=typeof MZ=="object"&&MZ!==null?JSON.stringify(MZ,null,""):`${MZ}`,new HZ((0,Z().fileURLToPath)(new(Z()).URL(".",yZ)),KZ,MZ,bZ,pZ&&(0,Z().fileURLToPath)(pZ))}function wZ(KZ,MZ,yZ,bZ,pZ,uZ,mZ,hZ,eZ){if(MZ!==""&&!uZ&&KZ[KZ.length-1]!=="/")throw PZ(yZ,KZ,bZ,mZ,pZ);if(!KZ.startsWith("./")){if(mZ&&!KZ.startsWith("../")&&!KZ.startsWith("/")){let H0=!1;try{new(Z()).URL(KZ),H0=!0}catch(M0){}if(!H0)return lZ(uZ?b.call(jZ,KZ,()=>MZ):KZ+MZ,bZ,eZ)}throw PZ(yZ,KZ,bZ,mZ,pZ)}if(OZ.exec(KZ.slice(2))!==null){if(UZ.exec(KZ.slice(2))!==null)throw PZ(yZ,KZ,bZ,mZ,pZ);if(!hZ){let H0=uZ?yZ.replace("*",()=>MZ):yZ+MZ;TZ(uZ?b.call(jZ,KZ,()=>MZ):KZ,H0,yZ,bZ,mZ,pZ,!0)}}let J0=new(Z()).URL(KZ,bZ),EZ=J0.pathname,Y0=new(Z()).URL(".",bZ).pathname;if(!EZ.startsWith(Y0))throw PZ(yZ,KZ,bZ,mZ,pZ);if(MZ==="")return J0;if(OZ.exec(MZ)!==null){let H0=uZ?yZ.replace("*",()=>MZ):yZ+MZ;if(UZ.exec(MZ)===null){if(!hZ)TZ(uZ?b.call(jZ,KZ,()=>MZ):KZ,H0,yZ,bZ,mZ,pZ,!1)}else(function(M0,v0,m0,X5,d0){let u0=`request is not a valid match in pattern "${v0}" for the "${X5?"imports":"exports"}" resolution of ${(0,Z().fileURLToPath)(m0)}`;throw new i(M0,u0,d0&&(0,Z().fileURLToPath)(d0))})(H0,yZ,bZ,mZ,pZ)}return uZ?new(Z()).URL(b.call(jZ,J0.href,()=>MZ)):new(Z()).URL(MZ,J0)}function DZ(KZ){let MZ=Number(KZ);return`${MZ}`===KZ&&(MZ>=0&&MZ<4294967295)}function l(KZ,MZ,yZ,bZ,pZ,uZ,mZ,hZ,eZ){if(typeof MZ=="string")return wZ(MZ,yZ,bZ,KZ,pZ,uZ,mZ,hZ,eZ);if(Array.isArray(MZ)){let J0=MZ;if(J0.length===0)return null;let EZ,Y0=-1;for(;++Y0<J0.length;){let H0=J0[Y0],M0;try{M0=l(KZ,H0,yZ,bZ,pZ,uZ,mZ,hZ,eZ)}catch(v0){if(EZ=v0,v0.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw v0}if(M0!==void 0){if(M0!==null)return M0;EZ=null}}if(EZ==null)return null;throw EZ}if(typeof MZ=="object"&&MZ!==null){let J0=Object.getOwnPropertyNames(MZ),EZ=-1;for(;++EZ<J0.length;)if(DZ(J0[EZ]))throw new s((0,Z().fileURLToPath)(KZ),pZ,'"exports" cannot contain numeric property keys.');for(EZ=-1;++EZ<J0.length;){let Y0=J0[EZ];if(Y0==="default"||eZ&&eZ.has(Y0)){let H0=l(KZ,MZ[Y0],yZ,bZ,pZ,uZ,mZ,hZ,eZ);if(H0===void 0)continue;return H0}}return null}if(MZ===null)return null;throw PZ(bZ,MZ,KZ,mZ,pZ)}function ZZ(KZ,MZ,yZ){if(O().noDeprecation)return;let bZ=(0,Z().fileURLToPath)(MZ);NZ.has(bZ+"|"+KZ)||(NZ.add(bZ+"|"+KZ),O().emitWarning(`Use of deprecated trailing slash pattern mapping "${KZ}" in the "exports" field module resolution of the package at ${bZ}${yZ?` imported from ${(0,Z().fileURLToPath)(yZ)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function LZ(KZ,MZ,yZ,bZ,pZ){let uZ=yZ.exports;if(function(EZ,Y0,H0){if(typeof EZ=="string"||Array.isArray(EZ))return!0;if(typeof EZ!="object"||EZ===null)return!1;let M0=Object.getOwnPropertyNames(EZ),v0=!1,m0=0,X5=-1;for(;++X5<M0.length;){let d0=M0[X5],u0=d0===""||d0[0]!==".";if(m0++==0)v0=u0;else if(v0!==u0)throw new s((0,Z().fileURLToPath)(Y0),H0,`"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 v0}(uZ,KZ,bZ)&&(uZ={".":uZ}),YZ.call(uZ,MZ)&&!MZ.includes("*")&&!MZ.endsWith("/")){let EZ=l(KZ,uZ[MZ],"",MZ,bZ,!1,!1,!1,pZ);if(EZ==null)throw $Z(MZ,KZ,bZ);return EZ}let mZ="",hZ="",eZ=Object.getOwnPropertyNames(uZ),J0=-1;for(;++J0<eZ.length;){let EZ=eZ[J0],Y0=EZ.indexOf("*");if(Y0!==-1&&MZ.startsWith(EZ.slice(0,Y0))){MZ.endsWith("/")&&ZZ(MZ,KZ,bZ);let H0=EZ.slice(Y0+1);MZ.length>=EZ.length&&MZ.endsWith(H0)&&qZ(mZ,EZ)===1&&EZ.lastIndexOf("*")===Y0&&(mZ=EZ,hZ=MZ.slice(Y0,MZ.length-H0.length))}}if(mZ){let EZ=l(KZ,uZ[mZ],hZ,mZ,bZ,!0,!1,MZ.endsWith("/"),pZ);if(EZ==null)throw $Z(MZ,KZ,bZ);return EZ}throw $Z(MZ,KZ,bZ)}function qZ(KZ,MZ){let yZ=KZ.indexOf("*"),bZ=MZ.indexOf("*"),pZ=yZ===-1?KZ.length:yZ+1,uZ=bZ===-1?MZ.length:bZ+1;return pZ>uZ?-1:uZ>pZ||yZ===-1?1:bZ===-1||KZ.length>MZ.length?-1:MZ.length>KZ.length?1:0}function kZ(KZ,MZ,yZ){if(KZ==="#"||KZ.startsWith("#/")||KZ.endsWith("/"))throw new i(KZ,"is not a valid internal imports specifier name",(0,Z().fileURLToPath)(MZ));let bZ,pZ=_(MZ);if(pZ.exists){bZ=(0,Z().pathToFileURL)(pZ.pjsonPath);let uZ=pZ.imports;if(uZ)if(YZ.call(uZ,KZ)&&!KZ.includes("*")){let mZ=l(bZ,uZ[KZ],"",KZ,MZ,!1,!0,!1,yZ);if(mZ!=null)return mZ}else{let mZ="",hZ="",eZ=Object.getOwnPropertyNames(uZ),J0=-1;for(;++J0<eZ.length;){let EZ=eZ[J0],Y0=EZ.indexOf("*");if(Y0!==-1&&KZ.startsWith(EZ.slice(0,-1))){let H0=EZ.slice(Y0+1);KZ.length>=EZ.length&&KZ.endsWith(H0)&&qZ(mZ,EZ)===1&&EZ.lastIndexOf("*")===Y0&&(mZ=EZ,hZ=KZ.slice(Y0,KZ.length-H0.length))}}if(mZ){let EZ=l(bZ,uZ[mZ],hZ,mZ,MZ,!0,!0,!1,yZ);if(EZ!=null)return EZ}}}throw function(uZ,mZ,hZ){return new AZ(uZ,mZ&&(0,Z().fileURLToPath)(new(Z()).URL(".",mZ)),(0,Z().fileURLToPath)(hZ))}(KZ,bZ,MZ)}function lZ(KZ,MZ,yZ){if(R().builtinModules.includes(KZ))return new(Z()).URL("node:"+KZ);let{packageName:bZ,packageSubpath:pZ,isScoped:uZ}=function(EZ,Y0){let H0=EZ.indexOf("/"),M0=!0,v0=!1;EZ[0]==="@"&&(v0=!0,H0===-1||EZ.length===0?M0=!1:H0=EZ.indexOf("/",H0+1));let m0=H0===-1?EZ:EZ.slice(0,H0);if(VZ.exec(m0)!==null&&(M0=!1),!M0)throw new i(EZ,"is not a valid package name",(0,Z().fileURLToPath)(Y0));return{packageName:m0,packageSubpath:"."+(H0===-1?"":EZ.slice(H0)),isScoped:v0}}(KZ,MZ),mZ=_(MZ);if(mZ.exists){let EZ=(0,Z().pathToFileURL)(mZ.pjsonPath);if(mZ.name===bZ&&mZ.exports!==void 0&&mZ.exports!==null)return LZ(EZ,pZ,mZ,MZ,yZ)}let hZ,eZ=new(Z()).URL("./node_modules/"+bZ+"/package.json",MZ),J0=(0,Z().fileURLToPath)(eZ);do{let EZ=sZ(J0.slice(0,-13));if(!EZ||!EZ.isDirectory()){hZ=J0,eZ=new(Z()).URL((uZ?"../../../../node_modules/":"../../../node_modules/")+bZ+"/package.json",eZ),J0=(0,Z().fileURLToPath)(eZ);continue}let Y0=k(J0,{base:MZ,specifier:KZ});return Y0.exports!==void 0&&Y0.exports!==null?LZ(eZ,pZ,Y0,MZ,yZ):pZ==="."?dZ(eZ,Y0,MZ):new(Z()).URL(pZ,eZ)}while(J0.length!==hZ.length);throw new GZ(bZ,(0,Z().fileURLToPath)(MZ),!1)}function aZ(KZ){return KZ!==""&&(KZ[0]==="/"||function(MZ){if(MZ[0]==="."){if(MZ.length===1||MZ[1]==="/")return!0;if(MZ[1]==="."&&(MZ.length===2||MZ[2]==="/"))return!0}return!1}(KZ))}function W0(KZ,MZ,yZ,bZ){let pZ=MZ.protocol,uZ=pZ==="data:"||pZ==="http:"||pZ==="https:",mZ;if(aZ(KZ))try{mZ=new(Z()).URL(KZ,MZ)}catch(hZ){let eZ=new XZ(KZ,MZ);throw eZ.cause=hZ,eZ}else if(pZ==="file:"&&KZ[0]==="#")mZ=kZ(KZ,MZ,yZ);else try{mZ=new(Z()).URL(KZ)}catch(hZ){if(uZ&&!R().builtinModules.includes(KZ)){let eZ=new XZ(KZ,MZ);throw eZ.cause=hZ,eZ}mZ=lZ(KZ,MZ,yZ)}return Y()(mZ!==void 0,"expected to be defined"),mZ.protocol!=="file:"?mZ:function(hZ,eZ,J0){if(JZ.exec(hZ.pathname)!==null)throw new i(hZ.pathname,'must not include encoded "/" or "\\" characters',(0,Z().fileURLToPath)(eZ));let EZ;try{EZ=(0,Z().fileURLToPath)(hZ)}catch(H0){let M0=H0;throw Object.defineProperty(M0,"input",{value:String(hZ)}),Object.defineProperty(M0,"module",{value:String(eZ)}),M0}let Y0=sZ(EZ.endsWith("/")?EZ.slice(-1):EZ);if(Y0&&Y0.isDirectory()){let H0=new CZ(EZ,(0,Z().fileURLToPath)(eZ));throw H0.url=String(hZ),H0}if(!Y0||!Y0.isFile()){let H0=new GZ(EZ||hZ.pathname,eZ&&(0,Z().fileURLToPath)(eZ),!0);throw H0.url=String(hZ),H0}if(!J0){let H0=(0,j().realpathSync)(EZ),{search:M0,hash:v0}=hZ;(hZ=(0,Z().pathToFileURL)(H0+(EZ.endsWith(Q().sep)?"/":""))).search=M0,hZ.hash=v0}return hZ}(mZ,MZ,bZ)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/buffer.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0,X.default=class{constructor($,Y){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=$,this._indentChar=Y;for(let j=0;j<64;j++)this._fastIndentations.push(Y.repeat(j));this._allocQueue()}_allocQueue(){let $=this._queue;for(let Y=0;Y<16;Y++)$.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue($,Y,j,O,Z){let Q=this._queueCursor;Q===this._queue.length&&this._allocQueue();let R=this._queue[Q];R.char=$,R.repeat=Y,R.line=j,R.column=O,R.filename=Z,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let $=this._map,Y={code:(this._buf+this._str).trimRight(),decodedMap:$==null?void 0:$.getDecoded(),get __mergedMap(){return this.map},get map(){let j=$?$.get():null;return Y.map=j,j},set map(j){Object.defineProperty(Y,"map",{value:j,writable:!0})},get rawMappings(){let j=$==null?void 0:$.getRawMappings();return Y.rawMappings=j,j},set rawMappings(j){Object.defineProperty(Y,"rawMappings",{value:j,writable:!0})}};return Y}append($,Y){this._flush(),this._append($,this._sourcePosition,Y)}appendChar($){this._flush(),this._appendChar($,1,this._sourcePosition)}queue($){if($===10)for(;this._queueCursor!==0;){let j=this._queue[this._queueCursor-1].char;if(j!==32&&j!==9)break;this._queueCursor--}let Y=this._sourcePosition;this._pushQueue($,1,Y.line,Y.column,Y.filename)}queueIndentation($){$!==0&&this._pushQueue(-1,$,void 0,void 0,void 0)}_flush(){let $=this._queueCursor,Y=this._queue;for(let j=0;j<$;j++){let O=Y[j];this._appendChar(O.char,O.repeat,O)}this._queueCursor=0}_appendChar($,Y,j){if(this._last=$,$===-1){let O=this._fastIndentations[Y];this._str+=O!==void 0?O:Y>1?this._indentChar.repeat(Y):this._indentChar}else this._str+=Y>1?String.fromCharCode($).repeat(Y):String.fromCharCode($);$!==10?(this._mark(j.line,j.column,j.identifierName,j.identifierNamePos,j.filename),this._position.column+=Y):(this._position.line++,this._position.column=0),this._canMarkIdName&&(j.identifierName=void 0,j.identifierNamePos=void 0)}_append($,Y,j){let O=$.length,Z=this._position;if(this._last=$.charCodeAt(O-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=$,this._appendCount=0):this._str+=$,!j&&!this._map)return void(Z.column+=O);let{column:Q,identifierName:R,identifierNamePos:N,filename:U}=Y,M=Y.line;R==null&&N==null||!this._canMarkIdName||(Y.identifierName=void 0,Y.identifierNamePos=void 0);let G=$.indexOf(`
|
|
134
134
|
`),z=0;for(G!==0&&this._mark(M,Q,R,N,U);G!==-1;)Z.line++,Z.column=0,z=G+1,z<O&&M!==void 0&&this._mark(++M,0,null,null,U),G=$.indexOf(`
|
|
135
135
|
`,z);Z.column+=O-z}_mark($,Y,j,O,Z){var Q;(Q=this._map)==null||Q.mark(this._position,$,Y,j,O,Z)}removeTrailingNewline(){let $=this._queueCursor;$!==0&&this._queue[$-1].char===10&&this._queueCursor--}removeLastSemicolon(){let $=this._queueCursor;$!==0&&this._queue[$-1].char===59&&this._queueCursor--}getLastChar(){let $=this._queueCursor;return $!==0?this._queue[$-1].char:this._last}getNewlineCount(){let $=this._queueCursor,Y=0;if($===0)return this._last===10?1:0;for(let j=$-1;j>=0&&this._queue[j].char===10;j--)Y++;return Y===$&&this._last===10?Y+1:Y}endsWithCharAndNewline(){let $=this._queue,Y=this._queueCursor;if(Y!==0){if($[Y-1].char!==10)return;return Y>1?$[Y-2].char:this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource($,Y){if(!this._map)return void Y();this.source("start",$);let j=$.identifierName,O=this._sourcePosition;j&&(this._canMarkIdName=!1,O.identifierName=j),Y(),j&&(this._canMarkIdName=!0,O.identifierName=void 0,O.identifierNamePos=void 0),this.source("end",$)}source($,Y){this._map&&this._normalizePosition($,Y,0)}sourceWithOffset($,Y,j){this._map&&this._normalizePosition($,Y,j)}_normalizePosition($,Y,j){let O=Y[$],Z=this._sourcePosition;O&&(Z.line=O.line,Z.column=Math.max(O.column+j,0),Z.filename=Y.filename)}getCurrentColumn(){let $=this._queue,Y=this._queueCursor,j=-1,O=0;for(let Z=0;Z<Y;Z++){let Q=$[Z];Q.char===10&&(j=O),O+=Q.repeat}return j===-1?this._position.column+O:O-1-j}getCurrentLine(){let $=0,Y=this._queue;for(let j=0;j<this._queueCursor;j++)Y[j].char===10&&$++;return this._position.line+$}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/base.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.BlockStatement=function(j){var O;this.tokenChar(123);let Z=this.enterDelimited(),Q=(O=j.directives)==null?void 0:O.length;if(Q){var R;let N=j.body.length?2:1;this.printSequence(j.directives,!0,N),(R=j.directives[Q-1].trailingComments)!=null&&R.length||this.newline(N)}this.printSequence(j.body,!0),Z(),this.rightBrace(j)},X.Directive=function(j){this.print(j.value),this.semicolon()},X.DirectiveLiteral=function(j){let O=this.getPossibleRaw(j);if(!this.format.minified&&O!==void 0)return void this.token(O);let{value:Z}=j;if(Y.test(Z)){if($.test(Z))throw Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${Z}'`)}else this.token(`"${Z}"`)},X.File=function(j){j.program&&this.print(j.program.interpreter),this.print(j.program)},X.InterpreterDirective=function(j){this.token(`#!${j.value}`),this.newline(1,!0)},X.Placeholder=function(j){this.token("%%"),this.print(j.name),this.token("%%"),j.expectedNode==="Statement"&&this.semicolon()},X.Program=function(j){var O;this.noIndentInnerCommentsHere(),this.printInnerComments();let Z=(O=j.directives)==null?void 0:O.length;if(Z){var Q;let R=j.body.length?2:1;this.printSequence(j.directives,void 0,R),(Q=j.directives[Z-1].trailingComments)!=null&&Q.length||this.newline(R)}this.printSequence(j.body)};let $=/(?:^|[^\\])(?:\\\\)*'/,Y=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/classes.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.ClassAccessorProperty=function(Z){var Q;this.printJoin(Z.decorators);let R=(Q=Z.key.loc)==null||(Q=Q.end)==null?void 0:Q.line;R&&this.catchUp(R),this.tsPrintClassMemberModifiers(Z),this.word("accessor",!0),this.space(),Z.computed?(this.tokenChar(91),this.print(Z.key),this.tokenChar(93)):(this._variance(Z),this.print(Z.key)),Z.optional&&this.tokenChar(63),Z.definite&&this.tokenChar(33),this.print(Z.typeAnnotation),Z.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Z.value)),this.semicolon()},X.ClassBody=function(Z){if(this.tokenChar(123),Z.body.length===0)this.tokenChar(125);else{this.newline();let Q=function(N,U){if(!N.tokenMap||U.start==null||U.end==null)return null;let M=N.tokenMap.getIndexes(U);if(!M)return null;let G=1,z=0,V=0,F=()=>{for(;V<U.body.length&&U.body[V].start==null;)V++};return F(),(J)=>{V<=J&&(V=J+1,F());let A=V===U.body.length?U.end:U.body[V].start,T;for(;G<M.length&&N.tokenMap.matchesOriginal(T=N._tokens[M[G]],";")&&T.start<A;)N.token(";",void 0,z++),G++}}(this,Z);Q==null||Q(-1);let R=this.enterDelimited();this.printJoin(Z.body,!0,!0,Q,!0),R(),this.endsWith(10)||this.newline(),this.rightBrace(Z)}},X.ClassExpression=X.ClassDeclaration=function(Z,Q){(j(Q)||O(Q))&&this._shouldPrintDecoratorsBeforeExport(Q)||this.printJoin(Z.decorators),Z.declare&&(this.word("declare"),this.space()),Z.abstract&&(this.word("abstract"),this.space()),this.word("class"),Z.id&&(this.space(),this.print(Z.id)),this.print(Z.typeParameters),Z.superClass&&(this.space(),this.word("extends"),this.space(),this.print(Z.superClass),this.print(Z.superTypeParameters)),Z.implements&&(this.space(),this.word("implements"),this.space(),this.printList(Z.implements)),this.space(),this.print(Z.body)},X.ClassMethod=function(Z){this._classMethodHead(Z),this.space(),this.print(Z.body)},X.ClassPrivateMethod=function(Z){this._classMethodHead(Z),this.space(),this.print(Z.body)},X.ClassPrivateProperty=function(Z){this.printJoin(Z.decorators),Z.static&&(this.word("static"),this.space()),this.print(Z.key),this.print(Z.typeAnnotation),Z.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Z.value)),this.semicolon()},X.ClassProperty=function(Z){if(this.printJoin(Z.decorators),!Z.static&&!this.format.preserveFormat){var Q;let R=(Q=Z.key.loc)==null||(Q=Q.end)==null?void 0:Q.line;R&&this.catchUp(R)}this.tsPrintClassMemberModifiers(Z),Z.computed?(this.tokenChar(91),this.print(Z.key),this.tokenChar(93)):(this._variance(Z),this.print(Z.key)),Z.optional&&this.tokenChar(63),Z.definite&&this.tokenChar(33),this.print(Z.typeAnnotation),Z.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Z.value)),this.semicolon()},X.StaticBlock=function(Z){this.word("static"),this.space(),this.tokenChar(123),Z.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(Z.body,!0),this.rightBrace(Z))},X._classMethodHead=function(Z){if(this.printJoin(Z.decorators),!this.format.preserveFormat){var Q;let R=(Q=Z.key.loc)==null||(Q=Q.end)==null?void 0:Q.line;R&&this.catchUp(R)}this.tsPrintClassMemberModifiers(Z),this._methodHead(Z)};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:j,isExportNamedDeclaration:O}=Y},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/expressions.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.LogicalExpression=X.BinaryExpression=X.AssignmentExpression=function(U){this.print(U.left),this.space(),U.operator==="in"||U.operator==="instanceof"?this.word(U.operator):(this.token(U.operator),this._endsWithDiv=U.operator==="/"),this.space(),this.print(U.right)},X.AssignmentPattern=function(U){this.print(U.left),(U.left.type==="Identifier"||N(U.left))&&(U.left.optional&&this.tokenChar(63),this.print(U.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(U.right)},X.AwaitExpression=function(U){this.word("await"),U.argument&&(this.space(),this.printTerminatorless(U.argument))},X.BindExpression=function(U){this.print(U.object),this.token("::"),this.print(U.callee)},X.CallExpression=function(U){this.print(U.callee),this.print(U.typeArguments),this.print(U.typeParameters),this.tokenChar(40);let M=this.enterDelimited();this.printList(U.arguments,this.shouldPrintTrailingComma(")")),M(),this.rightParens(U)},X.ConditionalExpression=function(U){this.print(U.test),this.space(),this.tokenChar(63),this.space(),this.print(U.consequent),this.space(),this.tokenChar(58),this.space(),this.print(U.alternate)},X.Decorator=function(U){this.tokenChar(64),this.print(U.expression),this.newline()},X.DoExpression=function(U){U.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(U.body)},X.EmptyStatement=function(){this.semicolon(!0)},X.ExpressionStatement=function(U){this.tokenContext|=j.TokenContext.expressionStatement,this.print(U.expression),this.semicolon()},X.Import=function(){this.word("import")},X.MemberExpression=function(U){if(this.print(U.object),!U.computed&&Q(U.property))throw TypeError("Got a MemberExpression for MemberExpression property");let M=U.computed;if(Z(U.property)&&typeof U.property.value=="number"&&(M=!0),M){let G=this.enterDelimited();this.tokenChar(91),this.print(U.property),this.tokenChar(93),G()}else this.tokenChar(46),this.print(U.property)},X.MetaProperty=function(U){this.print(U.meta),this.tokenChar(46),this.print(U.property)},X.ModuleExpression=function(U){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:M}=U;(M.body.length||M.directives.length)&&this.newline(),this.print(M),this.dedent(),this.rightBrace(U)},X.NewExpression=function(U,M){if(this.word("new"),this.space(),this.print(U.callee),this.format.minified&&U.arguments.length===0&&!U.optional&&!O(M,{callee:U})&&!Q(M)&&!R(M))return;if(this.print(U.typeArguments),this.print(U.typeParameters),U.optional&&this.token("?."),U.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(U,")"))return;this.tokenChar(40);let G=this.enterDelimited();this.printList(U.arguments,this.shouldPrintTrailingComma(")")),G(),this.rightParens(U)},X.OptionalCallExpression=function(U){this.print(U.callee),this.print(U.typeParameters),U.optional&&this.token("?."),this.print(U.typeArguments),this.tokenChar(40);let M=this.enterDelimited();this.printList(U.arguments),M(),this.rightParens(U)},X.OptionalMemberExpression=function(U){let{computed:M}=U,{optional:G,property:z}=U;if(this.print(U.object),!M&&Q(z))throw TypeError("Got a MemberExpression for MemberExpression property");Z(z)&&typeof z.value=="number"&&(M=!0),G&&this.token("?."),M?(this.tokenChar(91),this.print(z),this.tokenChar(93)):(G||this.tokenChar(46),this.print(z))},X.ParenthesizedExpression=function(U){this.tokenChar(40);let M=this.enterDelimited();this.print(U.expression),M(),this.rightParens(U)},X.PrivateName=function(U){this.tokenChar(35),this.print(U.id)},X.SequenceExpression=function(U){this.printList(U.expressions)},X.Super=function(){this.word("super")},X.ThisExpression=function(){this.word("this")},X.UnaryExpression=function(U){let{operator:M}=U;M==="void"||M==="delete"||M==="typeof"||M==="throw"?(this.word(M),this.space()):this.token(M),this.print(U.argument)},X.UpdateExpression=function(U){U.prefix?(this.token(U.operator),this.print(U.argument)):(this.print(U.argument,!0),this.token(U.operator))},X.V8IntrinsicIdentifier=function(U){this.tokenChar(37),this.word(U.name)},X.YieldExpression=function(U){this.word("yield",!0),U.delegate?(this.tokenChar(42),U.argument&&(this.space(),this.print(U.argument))):U.argument&&(this.space(),this.printTerminatorless(U.argument))},X._shouldPrintDecoratorsBeforeExport=function(U){if(typeof this.format.decoratorsBeforeExport=="boolean")return this.format.decoratorsBeforeExport;return typeof U.start=="number"&&U.start===U.declaration.start};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:O,isLiteral:Z,isMemberExpression:Q,isNewExpression:R,isPattern:N}=Y},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/flow.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.AnyTypeAnnotation=function(){this.word("any")},X.ArrayTypeAnnotation=function(F){this.print(F.elementType,!0),this.tokenChar(91),this.tokenChar(93)},X.BooleanLiteralTypeAnnotation=function(F){this.word(F.value?"true":"false")},X.BooleanTypeAnnotation=function(){this.word("boolean")},X.DeclareClass=function(F,J){Q(J)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(F)},X.DeclareExportAllDeclaration=function(F){this.word("declare"),this.space(),j.ExportAllDeclaration.call(this,F)},X.DeclareExportDeclaration=function(F){this.word("declare"),this.space(),this.word("export"),this.space(),F.default&&(this.word("default"),this.space()),G.call(this,F)},X.DeclareFunction=function(F,J){Q(J)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(F.id),this.print(F.id.typeAnnotation.typeAnnotation),F.predicate&&(this.space(),this.print(F.predicate)),this.semicolon()},X.DeclareInterface=function(F){this.word("declare"),this.space(),this.InterfaceDeclaration(F)},X.DeclareModule=function(F){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(F.id),this.space(),this.print(F.body)},X.DeclareModuleExports=function(F){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(F.typeAnnotation)},X.DeclareOpaqueType=function(F,J){Q(J)||(this.word("declare"),this.space()),this.OpaqueType(F)},X.DeclareTypeAlias=function(F){this.word("declare"),this.space(),this.TypeAlias(F)},X.DeclareVariable=function(F,J){Q(J)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(F.id),this.print(F.id.typeAnnotation),this.semicolon()},X.DeclaredPredicate=function(F){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(F.value),this.tokenChar(41)},X.EmptyTypeAnnotation=function(){this.word("empty")},X.EnumBooleanBody=function(F){let{explicitType:J}=F;N(this,"boolean",J),U(this,F)},X.EnumBooleanMember=function(F){M(this,F)},X.EnumDeclaration=function(F){let{id:J,body:A}=F;this.word("enum"),this.space(),this.print(J),this.print(A)},X.EnumDefaultedMember=function(F){let{id:J}=F;this.print(J),this.tokenChar(44)},X.EnumNumberBody=function(F){let{explicitType:J}=F;N(this,"number",J),U(this,F)},X.EnumNumberMember=function(F){M(this,F)},X.EnumStringBody=function(F){let{explicitType:J}=F;N(this,"string",J),U(this,F)},X.EnumStringMember=function(F){M(this,F)},X.EnumSymbolBody=function(F){N(this,"symbol",!0),U(this,F)},X.ExistsTypeAnnotation=function(){this.tokenChar(42)},X.FunctionTypeAnnotation=function(F,J){this.print(F.typeParameters),this.tokenChar(40),F.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(F.this.typeAnnotation),(F.params.length||F.rest)&&(this.tokenChar(44),this.space())),this.printList(F.params),F.rest&&(F.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(F.rest)),this.tokenChar(41);let A=J==null?void 0:J.type;A!=null&&(A==="ObjectTypeCallProperty"||A==="ObjectTypeInternalSlot"||A==="DeclareFunction"||A==="ObjectTypeProperty"&&J.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(F.returnType)},X.FunctionTypeParam=function(F){this.print(F.name),F.optional&&this.tokenChar(63),F.name&&(this.tokenChar(58),this.space()),this.print(F.typeAnnotation)},X.IndexedAccessType=function(F){this.print(F.objectType,!0),this.tokenChar(91),this.print(F.indexType),this.tokenChar(93)},X.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},X.InterfaceDeclaration=function(F){this.word("interface"),this.space(),this._interfaceish(F)},X.GenericTypeAnnotation=X.ClassImplements=X.InterfaceExtends=function(F){this.print(F.id),this.print(F.typeParameters,!0)},X.InterfaceTypeAnnotation=function(F){var J;this.word("interface"),(J=F.extends)!=null&&J.length&&(this.space(),this.word("extends"),this.space(),this.printList(F.extends)),this.space(),this.print(F.body)},X.IntersectionTypeAnnotation=function(F){this.printJoin(F.types,void 0,void 0,z)},X.MixedTypeAnnotation=function(){this.word("mixed")},X.NullLiteralTypeAnnotation=function(){this.word("null")},X.NullableTypeAnnotation=function(F){this.tokenChar(63),this.print(F.typeAnnotation)},Object.defineProperty(X,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return Z.NumericLiteral}}),X.NumberTypeAnnotation=function(){this.word("number")},X.ObjectTypeAnnotation=function(F){F.exact?this.token("{|"):this.tokenChar(123);let J=[...F.properties,...F.callProperties||[],...F.indexers||[],...F.internalSlots||[]];J.length&&(this.newline(),this.space(),this.printJoin(J,!0,!0,void 0,void 0,function(A){if(A&&!J[0])return 1},()=>{(J.length!==1||F.inexact)&&(this.tokenChar(44),this.space())}),this.space()),F.inexact&&(this.indent(),this.token("..."),J.length&&this.newline(),this.dedent()),F.exact?this.token("|}"):this.tokenChar(125)},X.ObjectTypeCallProperty=function(F){F.static&&(this.word("static"),this.space()),this.print(F.value)},X.ObjectTypeIndexer=function(F){F.static&&(this.word("static"),this.space()),this._variance(F),this.tokenChar(91),F.id&&(this.print(F.id),this.tokenChar(58),this.space()),this.print(F.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(F.value)},X.ObjectTypeInternalSlot=function(F){F.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(F.id),this.tokenChar(93),this.tokenChar(93),F.optional&&this.tokenChar(63),F.method||(this.tokenChar(58),this.space()),this.print(F.value)},X.ObjectTypeProperty=function(F){F.proto&&(this.word("proto"),this.space()),F.static&&(this.word("static"),this.space()),F.kind!=="get"&&F.kind!=="set"||(this.word(F.kind),this.space()),this._variance(F),this.print(F.key),F.optional&&this.tokenChar(63),F.method||(this.tokenChar(58),this.space()),this.print(F.value)},X.ObjectTypeSpreadProperty=function(F){this.token("..."),this.print(F.argument)},X.OpaqueType=function(F){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(F.id),this.print(F.typeParameters),F.supertype&&(this.tokenChar(58),this.space(),this.print(F.supertype)),F.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(F.impltype)),this.semicolon()},X.OptionalIndexedAccessType=function(F){this.print(F.objectType),F.optional&&this.token("?."),this.tokenChar(91),this.print(F.indexType),this.tokenChar(93)},X.QualifiedTypeIdentifier=function(F){this.print(F.qualification),this.tokenChar(46),this.print(F.id)},Object.defineProperty(X,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return Z.StringLiteral}}),X.StringTypeAnnotation=function(){this.word("string")},X.SymbolTypeAnnotation=function(){this.word("symbol")},X.ThisTypeAnnotation=function(){this.word("this")},X.TupleTypeAnnotation=function(F){this.tokenChar(91),this.printList(F.types),this.tokenChar(93)},X.TypeAlias=function(F){this.word("type"),this.space(),this.print(F.id),this.print(F.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(F.right),this.semicolon()},X.TypeAnnotation=function(F,J){this.tokenChar(58),this.space(),J.type==="ArrowFunctionExpression"?this.tokenContext|=O.TokenContext.arrowFlowReturnType:F.optional&&this.tokenChar(63),this.print(F.typeAnnotation)},X.TypeCastExpression=function(F){this.tokenChar(40),this.print(F.expression),this.print(F.typeAnnotation),this.tokenChar(41)},X.TypeParameter=function(F){this._variance(F),this.word(F.name),F.bound&&this.print(F.bound),F.default&&(this.space(),this.tokenChar(61),this.space(),this.print(F.default))},X.TypeParameterDeclaration=X.TypeParameterInstantiation=function(F){this.tokenChar(60),this.printList(F.params),this.tokenChar(62)},X.TypeofTypeAnnotation=function(F){this.word("typeof"),this.space(),this.print(F.argument)},X.UnionTypeAnnotation=function(F){this.printJoin(F.types,void 0,void 0,V)},X.Variance=function(F){F.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},X.VoidTypeAnnotation=function(){this.word("void")},X._interfaceish=function(F){var J;if(this.print(F.id),this.print(F.typeParameters),(J=F.extends)!=null&&J.length&&(this.space(),this.word("extends"),this.space(),this.printList(F.extends)),F.type==="DeclareClass"){var A,T;(A=F.mixins)!=null&&A.length&&(this.space(),this.word("mixins"),this.space(),this.printList(F.mixins)),(T=F.implements)!=null&&T.length&&(this.space(),this.word("implements"),this.space(),this.printList(F.implements))}this.space(),this.print(F.body)},X._variance=function(F){var J;let A=(J=F.variance)==null?void 0:J.kind;A!=null&&(A==="plus"?this.tokenChar(43):A==="minus"&&this.tokenChar(45))};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js"),O=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js"),Z=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:Q,isStatement:R}=Y;function N(F,J,A){A&&(F.space(),F.word("of"),F.space(),F.word(J)),F.space()}function U(F,J){let{members:A}=J;F.token("{"),F.indent(),F.newline();for(let T of A)F.print(T),F.newline();J.hasUnknownMembers&&(F.token("..."),F.newline()),F.dedent(),F.token("}")}function M(F,J){F.print(J.id),F.space(),F.token("="),F.space(),F.print(J.init),F.token(",")}function G(F){if(F.declaration){let J=F.declaration;this.print(J),R(J)||this.semicolon()}else this.tokenChar(123),F.specifiers.length&&(this.space(),this.printList(F.specifiers),this.space()),this.tokenChar(125),F.source&&(this.space(),this.word("from"),this.space(),this.print(F.source)),this.semicolon()}function z(F){this.space(),this.token("&",!1,F),this.space()}function V(F){this.space(),this.token("|",!1,F),this.space()}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0});var Y=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(Y).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===Y[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return Y[V]}}))});var j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(j).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===j[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return j[V]}}))});var O=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(O).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===O[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return O[V]}}))});var Z=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(Z).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===Z[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return Z[V]}}))});var Q=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(Q).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===Q[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return Q[V]}}))});var R=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(R).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===R[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return R[V]}}))});var N=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js");Object.keys(N).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===N[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return N[V]}}))});var U=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(U).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===U[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return U[V]}}))});var M=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/base.js");Object.keys(M).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===M[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return M[V]}}))});var G=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(G).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===G[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return G[V]}}))});var z=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(z).forEach(function(V){V!=="default"&&V!=="__esModule"&&((V in X)&&X[V]===z[V]||Object.defineProperty(X,V,{enumerable:!0,get:function(){return z[V]}}))})},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/jsx.js":(n,X)=>{function $(){this.space()}Object.defineProperty(X,"__esModule",{value:!0}),X.JSXAttribute=function(Y){this.print(Y.name),Y.value&&(this.tokenChar(61),this.print(Y.value))},X.JSXClosingElement=function(Y){this.tokenChar(60),this.tokenChar(47),this.print(Y.name),this.tokenChar(62)},X.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},X.JSXElement=function(Y){let j=Y.openingElement;if(this.print(j),j.selfClosing)return;this.indent();for(let O of Y.children)this.print(O);this.dedent(),this.print(Y.closingElement)},X.JSXEmptyExpression=function(){this.printInnerComments()},X.JSXExpressionContainer=function(Y){this.tokenChar(123),this.print(Y.expression),this.rightBrace(Y)},X.JSXFragment=function(Y){this.print(Y.openingFragment),this.indent();for(let j of Y.children)this.print(j);this.dedent(),this.print(Y.closingFragment)},X.JSXIdentifier=function(Y){this.word(Y.name)},X.JSXMemberExpression=function(Y){this.print(Y.object),this.tokenChar(46),this.print(Y.property)},X.JSXNamespacedName=function(Y){this.print(Y.namespace),this.tokenChar(58),this.print(Y.name)},X.JSXOpeningElement=function(Y){this.tokenChar(60),this.print(Y.name),this.print(Y.typeParameters),Y.attributes.length>0&&(this.space(),this.printJoin(Y.attributes,void 0,void 0,$)),Y.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},X.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},X.JSXSpreadAttribute=function(Y){this.tokenChar(123),this.token("..."),this.print(Y.argument),this.rightBrace(Y)},X.JSXSpreadChild=function(Y){this.tokenChar(123),this.token("..."),this.print(Y.expression),this.rightBrace(Y)},X.JSXText=function(Y){let j=this.getPossibleRaw(Y);j!==void 0?this.token(j,!0):this.token(Y.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/methods.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.ArrowFunctionExpression=function(Q,R){Q.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(Q)?this._params(Q,void 0,R):this.print(Q.params[0],!0),this._predicate(Q,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=j.TokenContext.arrowBody,this.print(Q.body)},X.FunctionDeclaration=X.FunctionExpression=function(Q,R){this._functionHead(Q,R),this.space(),this.print(Q.body)},X._functionHead=function(Q,R){Q.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),Q.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),Q.id&&this.print(Q.id),this._params(Q,Q.id,R),Q.type!=="TSDeclareFunction"&&this._predicate(Q)},X._methodHead=function(Q){let{kind:R,key:N}=Q;R!=="get"&&R!=="set"||(this.word(R),this.space()),Q.async&&(this.word("async",!0),this.space()),R!=="method"&&R!=="init"||Q.generator&&this.tokenChar(42),Q.computed?(this.tokenChar(91),this.print(N),this.tokenChar(93)):this.print(N),Q.optional&&this.tokenChar(63),this._params(Q,Q.computed&&Q.key.type!=="StringLiteral"?void 0:Q.key,void 0)},X._param=function(Q){this.printJoin(Q.decorators),this.print(Q),Q.optional&&this.tokenChar(63),this.print(Q.typeAnnotation)},X._parameters=function(Q,R){let N=this.enterDelimited(),U=this.shouldPrintTrailingComma(R),M=Q.length;for(let G=0;G<M;G++)this._param(Q[G]),(U||G<M-1)&&(this.token(",",null,G),this.space());this.token(R),N()},X._params=function(Q,R,N){this.print(Q.typeParameters);let U=Z.call(this,R,N);U&&this.sourceIdentifierName(U.name,U.pos),this.tokenChar(40),this._parameters(Q.params,")");let M=Q.type==="ArrowFunctionExpression";this.print(Q.returnType,M),this._noLineTerminator=M},X._predicate=function(Q,R){Q.predicate&&(Q.returnType||this.tokenChar(58),this.space(),this.print(Q.predicate,R))},X._shouldPrintArrowParamsParens=function(Q){var R,N;if(Q.params.length!==1)return!0;if(Q.typeParameters||Q.returnType||Q.predicate)return!0;let U=Q.params[0];if(!O(U)||U.typeAnnotation||U.optional||(R=U.leadingComments)!=null&&R.length||(N=U.trailingComments)!=null&&N.length)return!0;if(this.tokenMap){if(Q.loc==null)return!0;if(this.tokenMap.findMatching(Q,"(")!==null)return!0;let M=this.tokenMap.findMatching(Q,"=>");return(M==null?void 0:M.loc)==null||M.loc.start.line!==Q.loc.start.line}return!!this.format.retainLines};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isIdentifier:O}=Y;function Z(Q,R){let N,U=Q;if(!U&&R){let F=R.type;F==="VariableDeclarator"?U=R.id:F==="AssignmentExpression"||F==="AssignmentPattern"?U=R.left:F==="ObjectProperty"||F==="ClassProperty"?R.computed&&R.key.type!=="StringLiteral"||(U=R.key):F!=="ClassPrivateProperty"&&F!=="ClassAccessorProperty"||(U=R.key)}if(U){var M,G;if(U.type==="Identifier")N={pos:(M=U.loc)==null?void 0:M.start,name:((G=U.loc)==null?void 0:G.identifierName)||U.name};else if(U.type==="PrivateName"){var z;N={pos:(z=U.loc)==null?void 0:z.start,name:"#"+U.id.name}}else if(U.type==="StringLiteral"){var V;N={pos:(V=U.loc)==null?void 0:V.start,name:U.value}}return N}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.ExportAllDeclaration=function(z){var V,F;this.word("export"),this.space(),z.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(V=z.attributes)!=null&&V.length||(F=z.assertions)!=null&&F.length?(this.print(z.source,!0),this.space(),this._printAttributes(z,!1)):this.print(z.source),this.semicolon()},X.ExportDefaultDeclaration=function(z){G(this,z),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=j.TokenContext.exportDefault;let V=z.declaration;this.print(V),U(V)||this.semicolon()},X.ExportDefaultSpecifier=function(z){this.print(z.exported)},X.ExportNamedDeclaration=function(z){if(G(this,z),this.word("export"),this.space(),z.declaration){let J=z.declaration;this.print(J),U(J)||this.semicolon()}else{z.exportKind==="type"&&(this.word("type"),this.space());let J=z.specifiers.slice(0),A=!1;for(;;){let I=J[0];if(!Z(I)&&!Q(I))break;A=!0,this.print(J.shift()),J.length&&(this.tokenChar(44),this.space())}let T=!1;var V,F;if((J.length||!J.length&&!A)&&(T=!0,this.tokenChar(123),J.length&&(this.space(),this.printList(J,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),z.source)this.space(),this.word("from"),this.space(),(V=z.attributes)!=null&&V.length||(F=z.assertions)!=null&&F.length?(this.print(z.source,!0),this.space(),this._printAttributes(z,T)):this.print(z.source);this.semicolon()}},X.ExportNamespaceSpecifier=function(z){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(z.exported)},X.ExportSpecifier=function(z){z.exportKind==="type"&&(this.word("type"),this.space()),this.print(z.local),z.exported&&z.local.name!==z.exported.name&&(this.space(),this.word("as"),this.space(),this.print(z.exported))},X.ImportAttribute=function(z){this.print(z.key),this.tokenChar(58),this.space(),this.print(z.value)},X.ImportDeclaration=function(z){var V,F;this.word("import"),this.space();let J=z.importKind==="type"||z.importKind==="typeof";J?(this.noIndentInnerCommentsHere(),this.word(z.importKind),this.space()):z.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):z.phase&&(this.noIndentInnerCommentsHere(),this.word(z.phase),this.space());let A=z.specifiers.slice(0),T=!!A.length;for(;T;){let P=A[0];if(!R(P)&&!N(P))break;this.print(A.shift()),A.length&&(this.tokenChar(44),this.space())}let I=!1;A.length?(I=!0,this.tokenChar(123),this.space(),this.printList(A,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):J&&!T&&(I=!0,this.tokenChar(123),this.tokenChar(125)),(T||J)&&(this.space(),this.word("from"),this.space()),(V=z.attributes)!=null&&V.length||(F=z.assertions)!=null&&F.length?(this.print(z.source,!0),this.space(),this._printAttributes(z,I)):this.print(z.source),this.semicolon()},X.ImportDefaultSpecifier=function(z){this.print(z.local)},X.ImportExpression=function(z){this.word("import"),z.phase&&(this.tokenChar(46),this.word(z.phase)),this.tokenChar(40),this.print(z.source),z.options!=null&&(this.tokenChar(44),this.space(),this.print(z.options)),this.tokenChar(41)},X.ImportNamespaceSpecifier=function(z){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(z.local)},X.ImportSpecifier=function(z){z.importKind!=="type"&&z.importKind!=="typeof"||(this.word(z.importKind),this.space()),this.print(z.imported),z.local&&z.local.name!==z.imported.name&&(this.space(),this.word("as"),this.space(),this.print(z.local))},X._printAttributes=function(z,V){let{importAttributesKeyword:F}=this.format,{attributes:J,assertions:A}=z;!J||F||M||(M=!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'));let T=F==="assert"||!F&&A;if(this.word(T?"assert":"with"),this.space(),!T&&F!=="with")return void this.printList(J||A);let I=V?1:0;this.token("{",null,I),this.space(),this.printList(J||A,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,I)};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isClassDeclaration:O,isExportDefaultSpecifier:Z,isExportNamespaceSpecifier:Q,isImportDefaultSpecifier:R,isImportNamespaceSpecifier:N,isStatement:U}=Y,M=!1;function G(z,V){O(V.declaration)&&z._shouldPrintDecoratorsBeforeExport(V)&&z.printJoin(V.declaration.decorators)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/statements.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.BreakStatement=function(G){this.word("break"),M(this,G.label)},X.CatchClause=function(G){this.word("catch"),this.space(),G.param&&(this.tokenChar(40),this.print(G.param),this.print(G.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(G.body)},X.ContinueStatement=function(G){this.word("continue"),M(this,G.label)},X.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},X.DoWhileStatement=function(G){this.word("do"),this.space(),this.print(G.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.semicolon()},X.ForOfStatement=X.ForInStatement=void 0,X.ForStatement=function(G){this.word("for"),this.space(),this.tokenChar(40);{let z=this.enterForStatementInit();this.tokenContext|=j.TokenContext.forHead,this.print(G.init),z()}this.tokenChar(59),G.test&&(this.space(),this.print(G.test)),this.token(";",!1,1),G.update&&(this.space(),this.print(G.update)),this.tokenChar(41),this.printBlock(G)},X.IfStatement=function(G){this.word("if"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.space();let z=G.alternate&&Q(N(G.consequent));z&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(G.consequent),z&&(this.dedent(),this.newline(),this.tokenChar(125)),G.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(G.alternate))},X.LabeledStatement=function(G){this.print(G.label),this.tokenChar(58),this.space(),this.print(G.body)},X.ReturnStatement=function(G){this.word("return"),M(this,G.argument)},X.SwitchCase=function(G){G.test?(this.word("case"),this.space(),this.print(G.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),G.consequent.length&&(this.newline(),this.printSequence(G.consequent,!0))},X.SwitchStatement=function(G){this.word("switch"),this.space(),this.tokenChar(40),this.print(G.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(G.cases,!0,void 0,function(z,V){if(!z&&G.cases[G.cases.length-1]===V)return-1}),this.rightBrace(G)},X.ThrowStatement=function(G){this.word("throw"),M(this,G.argument)},X.TryStatement=function(G){this.word("try"),this.space(),this.print(G.block),this.space(),G.handlers?this.print(G.handlers[0]):this.print(G.handler),G.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(G.finalizer))},X.VariableDeclaration=function(G,z){G.declare&&(this.word("declare"),this.space());let{kind:V}=G;V==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(V,V==="using"),this.space();let F=!1;if(!O(z))for(let J of G.declarations)J.init&&(F=!0);if(this.printList(G.declarations,void 0,void 0,G.declarations.length>1,F?function(J){this.token(",",!1,J),this.newline()}:void 0),O(z)){if(Z(z)){if(z.init===G)return}else if(z.left===G)return}this.semicolon()},X.VariableDeclarator=function(G){this.print(G.id),G.definite&&this.tokenChar(33),this.print(G.id.typeAnnotation),G.init&&(this.space(),this.tokenChar(61),this.space(),this.print(G.init))},X.WhileStatement=function(G){this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.printBlock(G)},X.WithStatement=function(G){this.word("with"),this.space(),this.tokenChar(40),this.print(G.object),this.tokenChar(41),this.printBlock(G)};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isFor:O,isForStatement:Z,isIfStatement:Q,isStatement:R}=Y;function N(G){let{body:z}=G;return R(z)===!1?G:N(z)}function U(G){this.word("for"),this.space();let z=G.type==="ForOfStatement";z&&G.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let V=z?null:this.enterForStatementInit();this.tokenContext|=z?j.TokenContext.forOfHead:j.TokenContext.forInHead,this.print(G.left),V==null||V()}this.space(),this.word(z?"of":"in"),this.space(),this.print(G.right),this.tokenChar(41),this.printBlock(G)}X.ForInStatement=U,X.ForOfStatement=U;function M(G,z){z&&(G.space(),G.printTerminatorless(z)),G.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/template-literals.js":(n,X)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.TaggedTemplateExpression=function($){this.print($.tag),this.print($.typeParameters),this.print($.quasi)},X.TemplateElement=function(){throw Error("TemplateElement printing is handled in TemplateLiteral")},X.TemplateLiteral=function($){let Y=$.quasis,j="`";for(let O=0;O<Y.length;O++)if(j+=Y[O].value.raw,O+1<Y.length&&(this.token(j+"${",!0),this.print($.expressions[O]),j="}",this.tokenMap)){let Z=this.tokenMap.findMatching($,"}",O);Z&&this._catchUpTo(Z.loc.start)}this.token(j+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.ArgumentPlaceholder=function(){this.tokenChar(63)},X.ArrayPattern=X.ArrayExpression=function(U){let M=U.elements,G=M.length;this.tokenChar(91);let z=this.enterDelimited();for(let V=0;V<M.length;V++){let F=M[V];F?(V>0&&this.space(),this.print(F),(V<G-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,V)):this.token(",",!1,V)}z(),this.tokenChar(93)},X.BigIntLiteral=function(U){let M=this.getPossibleRaw(U);if(!this.format.minified&&M!==void 0)return void this.word(M);this.word(U.value+"n")},X.BooleanLiteral=function(U){this.word(U.value?"true":"false")},X.DecimalLiteral=function(U){let M=this.getPossibleRaw(U);if(!this.format.minified&&M!==void 0)return void this.word(M);this.word(U.value+"m")},X.Identifier=function(U){var M;this.sourceIdentifierName(((M=U.loc)==null?void 0:M.identifierName)||U.name),this.word(this.tokenMap?this._getRawIdentifier(U):U.name)},X.NullLiteral=function(){this.word("null")},X.NumericLiteral=function(U){let M=this.getPossibleRaw(U),G=this.format.jsescOption,z=U.value,V=z+"";G.numbers?this.number(j(z,G),z):M==null?this.number(V,z):this.format.minified?this.number(M.length<V.length?M:V,z):this.number(M,z)},X.ObjectPattern=X.ObjectExpression=function(U){let M=U.properties;if(this.tokenChar(123),M.length){let G=this.enterDelimited();this.space(),this.printList(M,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),G()}this.sourceWithOffset("end",U.loc,-1),this.tokenChar(125)},X.ObjectMethod=function(U){this.printJoin(U.decorators),this._methodHead(U),this.space(),this.print(U.body)},X.ObjectProperty=function(U){if(this.printJoin(U.decorators),U.computed)this.tokenChar(91),this.print(U.key),this.tokenChar(93);else{if(O(U.value)&&Z(U.key)&&U.key.name===U.value.left.name)return void this.print(U.value);if(this.print(U.key),U.shorthand&&Z(U.key)&&Z(U.value)&&U.key.name===U.value.name)return}this.tokenChar(58),this.space(),this.print(U.value)},X.PipelineBareFunction=function(U){this.print(U.callee)},X.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},X.PipelineTopicExpression=function(U){this.print(U.expression)},X.RecordExpression=function(U){let M=U.properties,G,z;if(this.format.recordAndTupleSyntaxType==="bar")G="{|",z="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);G="#{",z="}"}this.token(G),M.length&&(this.space(),this.printList(M,this.shouldPrintTrailingComma(z),!0,!0),this.space()),this.token(z)},X.RegExpLiteral=function(U){this.word(`/${U.pattern}/${U.flags}`)},X.SpreadElement=X.RestElement=function(U){this.token("..."),this.print(U.argument)},X.StringLiteral=function(U){let M=this.getPossibleRaw(U);if(!this.format.minified&&M!==void 0)return void this.token(M);let G=j(U.value,this.format.jsescOption);this.token(G)},X.TopicReference=function(){let{topicToken:U}=this.format;if(!N.has(U)){let M=JSON.stringify(U),G=Array.from(N,(z)=>JSON.stringify(z));throw Error(`The "topicToken" generator option must be one of ${G.join(", ")} (${M} received instead).`)}this.token(U)},X.TupleExpression=function(U){let M=U.elements,G=M.length,z,V;if(this.format.recordAndTupleSyntaxType==="bar")z="[|",V="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);z="#[",V="]"}this.token(z);for(let F=0;F<M.length;F++){let J=M[F];J&&(F>0&&this.space(),this.print(J),(F<G-1||this.shouldPrintTrailingComma(V))&&this.token(",",!1,F))}this.token(V)},X._getRawIdentifier=function(U){if(U===Q)return R;Q=U;let{name:M}=U,G=this.tokenMap.find(U,(z)=>z.value===M);if(G)return R=this._originalCode.slice(G.start,G.end),R;return R=U.name};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:O,isIdentifier:Z}=Y,Q=null,R="",N=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/typescript.js":(n,X)=>{function $(Q,R){Q.tokenMap&&R.start&&R.end?Q.tokenMap.endMatches(R,",")?Q.token(","):Q.tokenMap.endMatches(R,";")&&Q.semicolon():Q.semicolon()}function Y(Q,R,N){var U;let M=0;(U=Q.tokenMap)!=null&&U.startMatches(R,N)&&(M=1,Q.token(N)),Q.printJoin(R.types,void 0,void 0,function(G){this.space(),this.token(N,null,G+M),this.space()})}function j(Q,R){R!==!0&&Q.token(R)}function O(Q,R,N){Q.token("{");let U=Q.enterDelimited();N(),U(),Q.rightBrace(R)}function Z(Q,R,N){var U;let M=new Set;for(let G of N)G&&M.add(G);(U=Q.tokenMap)==null||U.find(R,(G)=>{if(M.has(G.value))return Q.token(G.value),Q.space(),M.delete(G.value),M.size===0});for(let G of M)Q.word(G),Q.space()}Object.defineProperty(X,"__esModule",{value:!0}),X.TSAnyKeyword=function(){this.word("any")},X.TSArrayType=function(Q){this.print(Q.elementType,!0),this.tokenChar(91),this.tokenChar(93)},X.TSSatisfiesExpression=X.TSAsExpression=function(Q){let{type:R,expression:N,typeAnnotation:U}=Q;this.print(N,!0),this.space(),this.word(R==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(U)},X.TSBigIntKeyword=function(){this.word("bigint")},X.TSBooleanKeyword=function(){this.word("boolean")},X.TSCallSignatureDeclaration=function(Q){this.tsPrintSignatureDeclarationBase(Q),$(this,Q)},X.TSInterfaceHeritage=X.TSExpressionWithTypeArguments=X.TSClassImplements=function(Q){this.print(Q.expression),this.print(Q.typeParameters)},X.TSConditionalType=function(Q){this.print(Q.checkType),this.space(),this.word("extends"),this.space(),this.print(Q.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(Q.trueType),this.space(),this.tokenChar(58),this.space(),this.print(Q.falseType)},X.TSConstructSignatureDeclaration=function(Q){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(Q),$(this,Q)},X.TSConstructorType=function(Q){Q.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(Q)},X.TSDeclareFunction=function(Q,R){Q.declare&&(this.word("declare"),this.space()),this._functionHead(Q,R),this.semicolon()},X.TSDeclareMethod=function(Q){this._classMethodHead(Q),this.semicolon()},X.TSEnumDeclaration=function(Q){let{declare:R,const:N,id:U,members:M}=Q;R&&(this.word("declare"),this.space()),N&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(U),this.space(),O(this,Q,()=>{var G;return this.printList(M,(G=this.shouldPrintTrailingComma("}"))==null||G,!0,!0)})},X.TSEnumMember=function(Q){let{id:R,initializer:N}=Q;this.print(R),N&&(this.space(),this.tokenChar(61),this.space(),this.print(N))},X.TSExportAssignment=function(Q){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(Q.expression),this.semicolon()},X.TSExternalModuleReference=function(Q){this.token("require("),this.print(Q.expression),this.tokenChar(41)},X.TSFunctionType=function(Q){this.tsPrintFunctionOrConstructorType(Q)},X.TSImportEqualsDeclaration=function(Q){let{isExport:R,id:N,moduleReference:U}=Q;R&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(N),this.space(),this.tokenChar(61),this.space(),this.print(U),this.semicolon()},X.TSImportType=function(Q){let{argument:R,qualifier:N,typeParameters:U}=Q;this.word("import"),this.tokenChar(40),this.print(R),this.tokenChar(41),N&&(this.tokenChar(46),this.print(N)),U&&this.print(U)},X.TSIndexSignature=function(Q){let{readonly:R,static:N}=Q;N&&(this.word("static"),this.space()),R&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(Q.parameters,"]"),this.print(Q.typeAnnotation),$(this,Q)},X.TSIndexedAccessType=function(Q){this.print(Q.objectType,!0),this.tokenChar(91),this.print(Q.indexType),this.tokenChar(93)},X.TSInferType=function(Q){this.word("infer"),this.print(Q.typeParameter)},X.TSInstantiationExpression=function(Q){this.print(Q.expression),this.print(Q.typeParameters)},X.TSInterfaceBody=function(Q){O(this,Q,()=>this.printJoin(Q.body,!0,!0))},X.TSInterfaceDeclaration=function(Q){let{declare:R,id:N,typeParameters:U,extends:M,body:G}=Q;R&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(N),this.print(U),M!=null&&M.length&&(this.space(),this.word("extends"),this.space(),this.printList(M)),this.space(),this.print(G)},X.TSIntersectionType=function(Q){Y(this,Q,"&")},X.TSIntrinsicKeyword=function(){this.word("intrinsic")},X.TSLiteralType=function(Q){this.print(Q.literal)},X.TSMappedType=function(Q){let{nameType:R,optional:N,readonly:U,typeAnnotation:M}=Q;this.tokenChar(123);let G=this.enterDelimited();this.space(),U&&(j(this,U),this.word("readonly"),this.space()),this.tokenChar(91),this.word(Q.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(Q.typeParameter.constraint),R&&(this.space(),this.word("as"),this.space(),this.print(R)),this.tokenChar(93),N&&(j(this,N),this.tokenChar(63)),M&&(this.tokenChar(58),this.space(),this.print(M)),this.space(),G(),this.tokenChar(125)},X.TSMethodSignature=function(Q){let{kind:R}=Q;R!=="set"&&R!=="get"||(this.word(R),this.space()),this.tsPrintPropertyOrMethodName(Q),this.tsPrintSignatureDeclarationBase(Q),$(this,Q)},X.TSModuleBlock=function(Q){O(this,Q,()=>this.printSequence(Q.body,!0))},X.TSModuleDeclaration=function(Q){let{declare:R,id:N,kind:U}=Q;R&&(this.word("declare"),this.space());{if(Q.global||(this.word(U!=null?U:N.type==="Identifier"?"namespace":"module"),this.space()),this.print(N),!Q.body)return void this.semicolon();let M=Q.body;for(;M.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(M.id),M=M.body;this.space(),this.print(M)}},X.TSNamedTupleMember=function(Q){this.print(Q.label),Q.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(Q.elementType)},X.TSNamespaceExportDeclaration=function(Q){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(Q.id),this.semicolon()},X.TSNeverKeyword=function(){this.word("never")},X.TSNonNullExpression=function(Q){this.print(Q.expression),this.tokenChar(33)},X.TSNullKeyword=function(){this.word("null")},X.TSNumberKeyword=function(){this.word("number")},X.TSObjectKeyword=function(){this.word("object")},X.TSOptionalType=function(Q){this.print(Q.typeAnnotation),this.tokenChar(63)},X.TSParameterProperty=function(Q){Q.accessibility&&(this.word(Q.accessibility),this.space()),Q.readonly&&(this.word("readonly"),this.space()),this._param(Q.parameter)},X.TSParenthesizedType=function(Q){this.tokenChar(40),this.print(Q.typeAnnotation),this.tokenChar(41)},X.TSPropertySignature=function(Q){let{readonly:R}=Q;R&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(Q),this.print(Q.typeAnnotation),$(this,Q)},X.TSQualifiedName=function(Q){this.print(Q.left),this.tokenChar(46),this.print(Q.right)},X.TSRestType=function(Q){this.token("..."),this.print(Q.typeAnnotation)},X.TSStringKeyword=function(){this.word("string")},X.TSSymbolKeyword=function(){this.word("symbol")},X.TSThisType=function(){this.word("this")},X.TSTupleType=function(Q){this.tokenChar(91),this.printList(Q.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},X.TSTypeAliasDeclaration=function(Q){let{declare:R,id:N,typeParameters:U,typeAnnotation:M}=Q;R&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(N),this.print(U),this.space(),this.tokenChar(61),this.space(),this.print(M),this.semicolon()},X.TSTypeAnnotation=function(Q,R){this.token(R.type!=="TSFunctionType"&&R.type!=="TSConstructorType"||R.typeAnnotation!==Q?":":"=>"),this.space(),Q.optional&&this.tokenChar(63),this.print(Q.typeAnnotation)},X.TSTypeAssertion=function(Q){let{typeAnnotation:R,expression:N}=Q;this.tokenChar(60),this.print(R),this.tokenChar(62),this.space(),this.print(N)},X.TSTypeLiteral=function(Q){O(this,Q,()=>this.printJoin(Q.members,!0,!0))},X.TSTypeOperator=function(Q){this.word(Q.operator),this.space(),this.print(Q.typeAnnotation)},X.TSTypeParameter=function(Q){Q.in&&(this.word("in"),this.space()),Q.out&&(this.word("out"),this.space()),this.word(Q.name),Q.constraint&&(this.space(),this.word("extends"),this.space(),this.print(Q.constraint)),Q.default&&(this.space(),this.tokenChar(61),this.space(),this.print(Q.default))},X.TSTypeParameterDeclaration=X.TSTypeParameterInstantiation=function(Q,R){this.tokenChar(60);let N=R.type==="ArrowFunctionExpression"&&Q.params.length===1;this.tokenMap&&Q.start!=null&&Q.end!=null&&(N&&(N=!!this.tokenMap.find(Q,(U)=>this.tokenMap.matchesOriginal(U,","))),N||(N=this.shouldPrintTrailingComma(">"))),this.printList(Q.params,N),this.tokenChar(62)},X.TSTypePredicate=function(Q){Q.asserts&&(this.word("asserts"),this.space()),this.print(Q.parameterName),Q.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(Q.typeAnnotation.typeAnnotation))},X.TSTypeQuery=function(Q){this.word("typeof"),this.space(),this.print(Q.exprName),Q.typeParameters&&this.print(Q.typeParameters)},X.TSTypeReference=function(Q){this.print(Q.typeName,!!Q.typeParameters),this.print(Q.typeParameters)},X.TSUndefinedKeyword=function(){this.word("undefined")},X.TSUnionType=function(Q){Y(this,Q,"|")},X.TSUnknownKeyword=function(){this.word("unknown")},X.TSVoidKeyword=function(){this.word("void")},X.tsPrintClassMemberModifiers=function(Q){let R=Q.type==="ClassAccessorProperty"||Q.type==="ClassProperty";Z(this,Q,[R&&Q.declare&&"declare",Q.accessibility]),Q.static&&(this.word("static"),this.space()),Z(this,Q,[Q.override&&"override",Q.abstract&&"abstract",R&&Q.readonly&&"readonly"])},X.tsPrintFunctionOrConstructorType=function(Q){let{typeParameters:R}=Q,N=Q.parameters;this.print(R),this.tokenChar(40),this._parameters(N,")"),this.space();let U=Q.typeAnnotation;this.print(U)},X.tsPrintPropertyOrMethodName=function(Q){Q.computed&&this.tokenChar(91),this.print(Q.key),Q.computed&&this.tokenChar(93),Q.optional&&this.tokenChar(63)},X.tsPrintSignatureDeclarationBase=function(Q){let{typeParameters:R}=Q,N=Q.parameters;this.print(R),this.tokenChar(40),this._parameters(N,")");let U=Q.typeAnnotation;this.print(U)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=function(Z,Q={},R){let N=O(R,Q,Z),U=Q.sourceMaps?new Y.default(Q,R):null;return new j.default(N,U,Z.tokens,typeof R=="string"?R:null).generate(Z)};var Y=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/source-map.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/printer.js");function O(Z,Q,R){if(Q.experimental_preserveFormat){if(typeof Z!="string")throw Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!Q.retainLines)throw Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(Q.compact&&Q.compact!=="auto")throw Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(Q.minified)throw Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(Q.jsescOption)throw Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(R.tokens))throw Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let N={auxiliaryCommentBefore:Q.auxiliaryCommentBefore,auxiliaryCommentAfter:Q.auxiliaryCommentAfter,shouldPrintComment:Q.shouldPrintComment,preserveFormat:Q.experimental_preserveFormat,retainLines:Q.retainLines,retainFunctionParens:Q.retainFunctionParens,comments:Q.comments==null||Q.comments,compact:Q.compact,minified:Q.minified,concise:Q.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},Q.jsescOption),topicToken:Q.topicToken,importAttributesKeyword:Q.importAttributesKeyword};var U;N.decoratorsBeforeExport=Q.decoratorsBeforeExport,N.jsescOption.json=Q.jsonCompatibleStrings,N.recordAndTupleSyntaxType=(U=Q.recordAndTupleSyntaxType)!=null?U:"hash",N.minified?(N.compact=!0,N.shouldPrintComment=N.shouldPrintComment||(()=>N.comments)):N.shouldPrintComment=N.shouldPrintComment||((V)=>N.comments||V.includes("@license")||V.includes("@preserve")),N.compact==="auto"&&(N.compact=typeof Z=="string"&&Z.length>500000,N.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${Q.filename} as it exceeds the max of 500KB.`)),(N.compact||N.preserveFormat)&&(N.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:M,auxiliaryCommentAfter:G,shouldPrintComment:z}=N;return M&&!z(M)&&(N.auxiliaryCommentBefore=void 0),G&&!z(G)&&(N.auxiliaryCommentAfter=void 0),N}X.CodeGenerator=class{constructor(Z,Q={},R){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=Z,this._format=O(R,Q,Z),this._map=Q.sourceMaps?new Y.default(Q,R):null}generate(){return new j.default(this._format,this._map).generate(this._ast)}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.TokenContext=void 0,X.isLastChild=function(P,w){let D=Q[P.type];for(let E=D.length-1;E>=0;E--){let v=P[D[E]];if(v===w)return!0;if(Array.isArray(v)){let k=v.length-1;for(;k>=0&&v[k]===null;)k--;return k>=0&&v[k]===w}if(v)return!1}return!1},X.needsParens=function(P,w,D,E,v){var k;if(!w)return!1;if(G(w)&&w.callee===P&&A(P))return!0;if(N(w))return!(I(P)||R(P)&&I(P.callee)||z(P));return(k=F.get(P.type))==null?void 0:k(P,w,D,E,v)},X.needsWhitespace=T,X.needsWhitespaceAfter=function(P,w){return T(P,w,2)},X.needsWhitespaceBefore=function(P,w){return T(P,w,1)};var Y=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/whitespace.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/parentheses.js"),O=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:Z,VISITOR_KEYS:Q,isCallExpression:R,isDecorator:N,isExpressionStatement:U,isMemberExpression:M,isNewExpression:G,isParenthesizedExpression:z}=O;X.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function V(P){let w=new Map;function D(E,v){let k=w.get(E);w.set(E,k?function(_,r,t,f,q){var g;return(g=k(_,r,t,f,q))!=null?g:v(_,r,t,f,q)}:v)}for(let E of Object.keys(P)){let v=Z[E];if(v)for(let k of v)D(k,P[E]);else D(E,P[E])}return w}let F=V(j),J=V(Y.nodes);function A(P){return!!R(P)||M(P)&&A(P.object)}function T(P,w,D){var E;if(!P)return!1;U(P)&&(P=P.expression);let v=(E=J.get(P.type))==null?void 0:E(P,w);return typeof v=="number"&&!!(v&D)}function I(P){switch(P.type){case"Identifier":return!0;case"MemberExpression":return!P.computed&&P.property.type==="Identifier"&&I(P.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/parentheses.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.AssignmentExpression=function(v,k,_){return!(!P(_)||!M(v.left))||E(v,k)},X.Binary=w,X.BinaryExpression=function(v,k,_,r){return v.operator==="in"&&r},X.ClassExpression=function(v,k,_){return Boolean(_&(j.TokenContext.expressionStatement|j.TokenContext.exportDefault))},X.ArrowFunctionExpression=X.ConditionalExpression=E,X.DoExpression=function(v,k,_){return!v.async&&Boolean(_&j.TokenContext.expressionStatement)},X.FunctionExpression=function(v,k,_){return Boolean(_&(j.TokenContext.expressionStatement|j.TokenContext.exportDefault))},X.FunctionTypeAnnotation=function(v,k,_){let r=k.type;return r==="UnionTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="ArrayTypeAnnotation"||Boolean(_&j.TokenContext.arrowFlowReturnType)},X.Identifier=function(v,k,_,r,t){var f;let q=k.type;if((f=v.extra)!=null&&f.parenthesized&&q==="AssignmentExpression"&&k.left===v){let g=k.right.type;if((g==="FunctionExpression"||g==="ClassExpression")&&k.right.id==null)return!0}if(t&&t(v)!==v.name)return!1;if(v.name==="let")return!!((U(k,{object:v,computed:!0})||G(k,{object:v,computed:!0,optional:!1}))&&_&(j.TokenContext.expressionStatement|j.TokenContext.forHead|j.TokenContext.forInHead))||Boolean(_&j.TokenContext.forOfHead);return v.name==="async"&&R(k,{left:v,await:!1})},X.LogicalExpression=function(v,k){let _=k.type;if(A(_))return!0;if(_!=="LogicalExpression")return!1;switch(v.operator){case"||":return k.operator==="??"||k.operator==="&&";case"&&":return k.operator==="??";case"??":return k.operator!=="??"}},X.NullableTypeAnnotation=function(v,k){return O(k)},X.ObjectExpression=function(v,k,_){return P(_)},X.OptionalIndexedAccessType=function(v,k){return N(k)&&k.objectType===v},X.OptionalCallExpression=X.OptionalMemberExpression=function(v,k){return Q(k)&&k.callee===v||U(k)&&k.object===v},X.SequenceExpression=function(v,k){let _=k.type;if(_==="SequenceExpression"||_==="ParenthesizedExpression"||_==="MemberExpression"&&k.property===v||_==="OptionalMemberExpression"&&k.property===v||_==="TemplateLiteral")return!1;if(_==="ClassDeclaration")return!0;if(_==="ForOfStatement")return k.right===v;if(_==="ExportDefaultDeclaration")return!0;return!V(k)},X.TSSatisfiesExpression=X.TSAsExpression=function(v,k){if((k.type==="AssignmentExpression"||k.type==="AssignmentPattern")&&k.left===v)return!0;if(k.type==="BinaryExpression"&&(k.operator==="|"||k.operator==="&")&&v===k.left)return!0;return w(v,k)},X.TSInferType=function(v,k){let _=k.type;return _==="TSArrayType"||_==="TSOptionalType"},X.TSInstantiationExpression=function(v,k){let _=k.type;return(_==="CallExpression"||_==="OptionalCallExpression"||_==="NewExpression"||_==="TSInstantiationExpression")&&!!k.typeParameters},X.UnaryLike=X.TSTypeAssertion=D,X.TSIntersectionType=X.TSUnionType=function(v,k){let _=k.type;return _==="TSArrayType"||_==="TSOptionalType"||_==="TSIntersectionType"||_==="TSRestType"},X.IntersectionTypeAnnotation=X.UnionTypeAnnotation=function(v,k){let _=k.type;return _==="ArrayTypeAnnotation"||_==="NullableTypeAnnotation"||_==="IntersectionTypeAnnotation"||_==="UnionTypeAnnotation"},X.UpdateExpression=function(v,k){return I(v,k)||T(v,k)},X.AwaitExpression=X.YieldExpression=function(v,k){let _=k.type;return _==="BinaryExpression"||_==="LogicalExpression"||_==="UnaryExpression"||_==="SpreadElement"||I(v,k)||_==="AwaitExpression"&&z(v)||_==="ConditionalExpression"&&v===k.test||T(v,k)||A(_)};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isArrayTypeAnnotation:O,isBinaryExpression:Z,isCallExpression:Q,isForOfStatement:R,isIndexedAccessType:N,isMemberExpression:U,isObjectPattern:M,isOptionalMemberExpression:G,isYieldExpression:z,isStatement:V}=Y,F=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 J(v,k){return k==="BinaryExpression"||k==="LogicalExpression"?F.get(v.operator):k==="TSAsExpression"||k==="TSSatisfiesExpression"?F.get("in"):void 0}function A(v){return v==="TSAsExpression"||v==="TSSatisfiesExpression"||v==="TSTypeAssertion"}let T=(v,k)=>{let _=k.type;return(_==="ClassDeclaration"||_==="ClassExpression")&&k.superClass===v},I=(v,k)=>{let _=k.type;return(_==="MemberExpression"||_==="OptionalMemberExpression")&&k.object===v||(_==="CallExpression"||_==="OptionalCallExpression"||_==="NewExpression")&&k.callee===v||_==="TaggedTemplateExpression"&&k.tag===v||_==="TSNonNullExpression"};function P(v){return Boolean(v&(j.TokenContext.expressionStatement|j.TokenContext.arrowBody))}function w(v,k){let _=k.type;if(v.type==="BinaryExpression"&&v.operator==="**"&&_==="BinaryExpression"&&k.operator==="**")return k.left===v;if(T(v,k))return!0;if(I(v,k)||_==="UnaryExpression"||_==="SpreadElement"||_==="AwaitExpression")return!0;let r=J(k,_);if(r!=null){let t=J(v,v.type);if(r===t&&_==="BinaryExpression"&&k.right===v||r>t)return!0}}function D(v,k){return I(v,k)||Z(k)&&k.operator==="**"&&k.left===v||T(v,k)}function E(v,k){let _=k.type;return!!(_==="UnaryExpression"||_==="SpreadElement"||_==="BinaryExpression"||_==="LogicalExpression"||_==="ConditionalExpression"&&k.test===v||_==="AwaitExpression"||A(_))||D(v,k)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/whitespace.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.nodes=void 0;var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:j,isArrayExpression:O,isAssignmentExpression:Z,isBinary:Q,isBlockStatement:R,isCallExpression:N,isFunction:U,isIdentifier:M,isLiteral:G,isMemberExpression:z,isObjectExpression:V,isOptionalCallExpression:F,isOptionalMemberExpression:J,isStringLiteral:A}=Y;function T(E,v){return E?(z(E)||J(E)?(T(E.object,v),E.computed&&T(E.property,v)):Q(E)||Z(E)?(T(E.left,v),T(E.right,v)):N(E)||F(E)?(v.hasCall=!0,T(E.callee,v)):U(E)?v.hasFunction=!0:M(E)&&(v.hasHelper=v.hasHelper||E.callee&&P(E.callee)),v):v}function I(E){return T(E,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function P(E){return!!E&&(z(E)?P(E.object)||P(E.property):M(E)?E.name==="require"||E.name.charCodeAt(0)===95:N(E)?P(E.callee):!(!Q(E)&&!Z(E))&&(M(E.left)&&P(E.left)||P(E.right)))}function w(E){return G(E)||V(E)||O(E)||M(E)||z(E)}let D=X.nodes={AssignmentExpression(E){let v=I(E.right);if(v.hasCall&&v.hasHelper||v.hasFunction)return v.hasFunction?3:2},SwitchCase:(E,v)=>(E.consequent.length||v.cases[0]===E?1:0)|(E.consequent.length||v.cases[v.cases.length-1]!==E?0:2),LogicalExpression(E){if(U(E.left)||U(E.right))return 2},Literal(E){if(A(E)&&E.value==="use strict")return 2},CallExpression(E){if(U(E.callee)||P(E))return 3},OptionalCallExpression(E){if(U(E.callee))return 3},VariableDeclaration(E){for(let v=0;v<E.declarations.length;v++){let k=E.declarations[v],_=P(k.id)&&!w(k.init);if(!_&&k.init){let r=I(k.init);_=P(k.init)&&r.hasCall||r.hasFunction}if(_)return 3}},IfStatement(E){if(R(E.consequent))return 3}};D.ObjectProperty=D.ObjectTypeProperty=D.ObjectMethod=function(E,v){if(v.properties[0]===E)return 1},D.ObjectTypeCallProperty=function(E,v){var k;if(v.callProperties[0]===E&&((k=v.properties)==null||!k.length))return 1},D.ObjectTypeIndexer=function(E,v){var k,_;if(!(v.indexers[0]!==E||(k=v.properties)!=null&&k.length||(_=v.callProperties)!=null&&_.length))return 1},D.ObjectTypeInternalSlot=function(E,v){var k,_,r;if(!(v.internalSlots[0]!==E||(k=v.properties)!=null&&k.length||(_=v.callProperties)!=null&&_.length||(r=v.indexers)!=null&&r.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([E,v]){[E].concat(j[E]||[]).forEach(function(k){let _=v?3:0;D[k]=()=>_})})},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/printer.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/buffer.js"),j=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js"),O=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),Z=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/token-map.js"),Q=$("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/index.js");let{isExpression:R,isFunction:N,isStatement:U,isClassBody:M,isTSInterfaceBody:G,isTSEnumDeclaration:z}=O,V=/e/i,F=/\.0+$/,J=/[\n\r\u2028\u2029]/,A=/[\n\r\u2028\u2029]|\*\//;function T(D){return D.type==="CommentLine"||J.test(D.value)}let{needsParens:I}=j;class P{constructor(D,E,v,k){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=D,this._tokens=v,this._originalCode=k,this._indentRepeat=D.indent.style.length,this._inputMap=E==null?void 0:E._inputMap,this._buf=new Y.default(E,D.indent.style[0])}enterForStatementInit(){return this.inForStatementInit?()=>{}:(this.inForStatementInit=!0,()=>{this.inForStatementInit=!1})}enterDelimited(){let D=this.inForStatementInit,E=this._noLineTerminatorAfterNode;return D===!1&&E===null?()=>{}:(this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=D,this._noLineTerminatorAfterNode=E})}generate(D){return this.format.preserveFormat&&(this.tokenMap=new Z.TokenMap(D,this._tokens,this._originalCode)),this.print(D),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:D}=this;D.preserveFormat||D.compact||D.concise||this._indent++}dedent(){let{format:D}=this;D.preserveFormat||D.compact||D.concise||this._indent--}semicolon(D=!1){if(this._maybeAddAuxComment(),D)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){let E=this._currentNode;if(E.start!=null&&E.end!=null){if(!this.tokenMap.endMatches(E,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());let v=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[v[v.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(D){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",D.loc,-1),this.tokenChar(125)}rightParens(D){this.sourceWithOffset("end",D.loc,-1),this.tokenChar(41)}space(D=!1){let{format:E}=this;if(!E.compact&&!E.preserveFormat){if(D)this._space();else if(this._buf.hasContent()){let v=this.getLastChar();v!==32&&v!==10&&this._space()}}}word(D,E=!1){this.tokenContext=0,this._maybePrintInnerComments(D),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(D),(this._endsWithWord||this._endsWithDiv&&D.charCodeAt(0)===47)&&this._space(),this._append(D,!1),this._endsWithWord=!0,this._noLineTerminator=E}number(D,E){this.word(D),this._endsWithInteger=Number.isInteger(E)&&!function(v){if(v.length>2&&v.charCodeAt(0)===48){let k=v.charCodeAt(1);return k===98||k===111||k===120}return!1}(D)&&!V.test(D)&&!F.test(D)&&D.charCodeAt(D.length-1)!==46}token(D,E=!1,v=0){this.tokenContext=0,this._maybePrintInnerComments(D,v),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(D,v);let k=this.getLastChar(),_=D.charCodeAt(0);(k===33&&(D==="--"||_===61)||_===43&&k===43||_===45&&k===45||_===46&&this._endsWithInteger)&&this._space(),this._append(D,E),this._noLineTerminator=!1}tokenChar(D){this.tokenContext=0;let E=String.fromCharCode(D);this._maybePrintInnerComments(E),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(E);let v=this.getLastChar();(D===43&&v===43||D===45&&v===45||D===46&&this._endsWithInteger)&&this._space(),this._appendChar(D),this._noLineTerminator=!1}newline(D=1,E){if(!(D<=0)){if(!E){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}D>2&&(D=2),D-=this._buf.getNewlineCount();for(let v=0;v<D;v++)this._newline()}}endsWith(D){return this.getLastChar()===D}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(D,E){D?(this._catchUp("start",D),this._buf.exactSource(D,E)):E()}source(D,E){E&&(this._catchUp(D,E),this._buf.source(D,E))}sourceWithOffset(D,E,v){E&&!this.format.preserveFormat&&(this._catchUp(D,E),this._buf.sourceWithOffset(D,E,v))}sourceIdentifierName(D,E){if(!this._buf._canMarkIdName)return;let v=this._buf._sourcePosition;v.identifierNamePos=E,v.identifierName=D}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(D,E=0){let v=this.tokenMap.findMatching(this._currentNode,D,E);v&&this._catchUpTo(v.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(D,E){this._maybeIndent(D.charCodeAt(0)),this._buf.append(D,E),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(D){this._maybeIndent(D),this._buf.appendChar(D),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(D){this._maybeIndent(D),this._buf.queue(D),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(D){this._indent&&D!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(D){if(this._indent&&D!==10&&this.endsWith(10))return!0}catchUp(D){if(!this.format.retainLines)return;let E=D-this._buf.getCurrentLine();for(let v=0;v<E;v++)this._newline()}_catchUp(D,E){let{format:v}=this;if(!v.preserveFormat)return void(v.retainLines&&E!=null&&E[D]&&this.catchUp(E[D].line));let k=E==null?void 0:E[D];k!=null&&this._catchUpTo(k)}_catchUpTo({line:D,column:E,index:v}){let k=D-this._buf.getCurrentLine();if(k>0&&this._noLineTerminator)return;for(let r=0;r<k;r++)this._newline();let _=k>0?E:E-this._buf.getCurrentColumn();if(_>0){let r=this._originalCode?this._originalCode.slice(v-_,v).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(_);this._append(r,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(D){this._noLineTerminator=!0,this.print(D)}print(D,E,v){var k,_,r;if(!D)return;this._endsWithInnerRaw=!1;let t=D.type,f=this.format,q=f.concise;D._compact&&(f.concise=!0);let g=this[t];if(g===void 0)throw ReferenceError(`unknown node of type ${JSON.stringify(t)} with constructor ${JSON.stringify(D.constructor.name)}`);let u=this._currentNode;this._currentNode=D,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let a=this._insideAux;this._insideAux=D.loc==null,this._maybeAddAuxComment(this._insideAux&&!a);let d=(k=D.extra)==null?void 0:k.parenthesized,o=d&&f.preserveFormat||d&&f.retainFunctionParens&&t==="FunctionExpression"||I(D,u,this.tokenContext,this.inForStatementInit,f.preserveFormat?this._boundGetRawIdentifier:void 0);if(!o&&d&&(_=D.leadingComments)!=null&&_.length&&D.leadingComments[0].type==="CommentBlock")switch(u==null?void 0:u.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(u.callee!==D)break;default:o=!0}let m,b,p=!1;var i;(!o&&this._noLineTerminator&&((r=D.leadingComments)!=null&&r.some(T)||this.format.retainLines&&D.loc&&D.loc.start.line>this._buf.getCurrentLine())&&(o=!0,p=!0),o)||(E||(E=u&&this._noLineTerminatorAfterNode===u&&j.isLastChild(u,D)),E&&((i=D.trailingComments)!=null&&i.some(T)?R(D)&&(o=!0):(m=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=D))),o&&(this.tokenChar(40),p&&this.indent(),this._endsWithInnerRaw=!1,this.inForStatementInit&&(b=!0,this.inForStatementInit=!1),m=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(D,u);let s=t==="Program"||t==="File"?null:D.loc;this.exactSource(s,g.bind(this,D,u)),o?(this._printTrailingComments(D,u),p&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=E,b&&(this.inForStatementInit=!0)):E&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(D,u)):this._printTrailingComments(D,u,v),this._currentNode=u,f.concise=q,this._insideAux=a,m!==void 0&&(this._noLineTerminatorAfterNode=m),this._endsWithInnerRaw=!1}_maybeAddAuxComment(D){D&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let D=this.format.auxiliaryCommentBefore;D&&this._printComment({type:"CommentBlock",value:D},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let D=this.format.auxiliaryCommentAfter;D&&this._printComment({type:"CommentBlock",value:D},0)}getPossibleRaw(D){let E=D.extra;if((E==null?void 0:E.raw)!=null&&E.rawValue!=null&&D.value===E.rawValue)return E.raw}printJoin(D,E,v,k,_,r,t,f){if(D==null||!D.length)return;if(v==null&&this.format.retainLines){var q;let m=(q=D[0].loc)==null?void 0:q.start.line;m!=null&&m!==this._buf.getCurrentLine()&&(v=!0)}v&&this.indent();let g={addNewlines:r,nextNodeStartLine:0},u=k==null?void 0:k.bind(this),a=D.length;for(let m=0;m<a;m++){let b=D[m];var d;if(b){if(E&&this._printNewline(m===0,g),this.print(b,void 0,f||0),t==null||t(b,m),u!=null&&(m<a-1?u(m,!1):_&&u(m,!0)),E)if((d=b.trailingComments)!=null&&d.length||(this._lastCommentLine=0),m+1===a)this.newline(1);else{var o;let p=D[m+1];g.nextNodeStartLine=((o=p.loc)==null?void 0:o.start.line)||0,this._printNewline(!0,g)}}}v&&this.dedent()}printAndIndentOnComments(D){let E=D.leadingComments&&D.leadingComments.length>0;E&&this.indent(),this.print(D),E&&this.dedent()}printBlock(D){let E=D.body;E.type!=="EmptyStatement"&&this.space(),this.print(E)}_printTrailingComments(D,E,v){let{innerComments:k,trailingComments:_}=D;k!=null&&k.length&&this._printComments(2,k,D,E,v),_!=null&&_.length&&this._printComments(2,_,D,E,v)}_printLeadingComments(D,E){let v=D.leadingComments;v!=null&&v.length&&this._printComments(0,v,D,E)}_maybePrintInnerComments(D,E){var v;this._endsWithInnerRaw&&this.printInnerComments((v=this.tokenMap)==null?void 0:v.findMatching(this._currentNode,D,E)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(D){let E=this._currentNode,v=E.innerComments;if(v==null||!v.length)return;let k=this.endsWith(32),_=this._indentInnerComments,r=this._printedComments.size;_&&this.indent(),this._printComments(1,v,E,void 0,void 0,D),k&&r!==this._printedComments.size&&this.space(),_&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(D,E,v,k){this.printJoin(D,!0,E!=null&&E,void 0,void 0,k,void 0,v)}printList(D,E,v,k,_,r){this.printJoin(D,v,k,_!=null?_:w,E,void 0,r)}shouldPrintTrailingComma(D){if(!this.tokenMap)return null;let E=this.tokenMap.findLastIndex(this._currentNode,(v)=>this.tokenMap.matchesOriginal(v,D));return E<=0?null:this.tokenMap.matchesOriginal(this._tokens[E-1],",")}_printNewline(D,E){let v=this.format;if(v.retainLines||v.compact)return;if(v.concise)return void this.space();if(!D)return;let k=E.nextNodeStartLine,_=this._lastCommentLine;if(k>0&&_>0){let r=k-_;if(r>=0)return void this.newline(r||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(D,E){if(D.ignore)return 0;if(this._printedComments.has(D))return 0;if(this._noLineTerminator&&A.test(D.value))return 2;if(E&&this.tokenMap){let v=this.tokenMap.find(this._currentNode,(k)=>k.value===D.value);if(v&&v.start>E.start)return 2}return this._printedComments.add(D),this.format.shouldPrintComment(D.value)?1:0}_printComment(D,E){let v=this._noLineTerminator,k=D.type==="CommentBlock",_=k&&E!==1&&!this._noLineTerminator;_&&this._buf.hasContent()&&E!==2&&this.newline(1);let r=this.getLastChar(),t;if(r!==91&&r!==123&&r!==40&&this.space(),k){if(t=`/*${D.value}*/`,this.format.indent.adjustMultilineComment){var f;let q=(f=D.loc)==null?void 0:f.start.column;if(q){let g=new RegExp("\\n\\s{1,"+q+"}","g");t=t.replace(g,`
|
|
136
136
|
`)}if(this.format.concise)t=t.replace(/\n(?!$)/g,`
|
|
@@ -146,9 +146,9 @@ ${" ".repeat(g)}`)}}}else t=v?`/*${D.value}*/`:`//${D.value}`;if(this._endsWithD
|
|
|
146
146
|
)
|
|
147
147
|
`;A||D.arguments[1].body.directives.push(Y.types.directive(Y.types.directiveLiteral("use strict")));let E=D,v="arguments.1.body.body.0";return J&&(E=Y.template.statement.ast`let ${N} = ${D}`,v="declarations.0.init."+v),{instanceNodes:[Y.template.statement.ast`
|
|
148
148
|
${Y.types.cloneNode(F)}(this)
|
|
149
|
-
`],wrapClass:(k)=>(k.replaceWith(E),k.get(v))}},X.hasDecorators=function(N){return O(N)||N.body.body.some(O)},X.hasOwnDecorators=O;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),j=$("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js");function O(N){var U;return!((U=N.decorators)==null||!U.length)}function Z(N,U){return U?Y.types.objectProperty(Y.types.identifier(N),U):null}function Q(N){let U;return N.decorators&&N.decorators.length>0&&(U=Y.types.arrayExpression(N.decorators.map((M)=>M.expression))),N.decorators=void 0,U}function R(N){return N.computed?N.key:Y.types.isIdentifier(N.key)?Y.types.stringLiteral(N.key.name):Y.types.stringLiteral(String(N.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=function({assertVersion:XZ,assumption:YZ},{loose:OZ},UZ,VZ){var jZ,JZ;XZ(UZ==="2023-11"||UZ==="2023-05"||UZ==="2023-01"?"^7.21.0":UZ==="2021-12"?"^7.16.0":"^7.19.0");let NZ=new WeakSet,c=(jZ=YZ("constantSuper"))!=null?jZ:OZ,TZ=(JZ=YZ("ignoreFunctionLength"))!=null?JZ:OZ,nZ=function(Q0,dZ){function $Z(PZ,wZ,DZ){switch(wZ.type){case"StringLiteral":return Y.types.stringLiteral(wZ.value);case"NumericLiteral":case"BigIntLiteral":{let l=wZ.value+"";return PZ.get("key").replaceWith(Y.types.stringLiteral(l)),Y.types.stringLiteral(l)}default:{let l=PZ.scope.maybeGenerateMemoised(wZ);return PZ.get("key").replaceWith(Y.types.assignmentExpression("=",l,b(DZ,wZ))),Y.types.cloneNode(l)}}}return{VariableDeclarator(PZ,wZ){let DZ=PZ.node.id;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("init"));if(Q0(l)){let ZZ=DZ.name;dZ(l,wZ,ZZ)}}},AssignmentExpression(PZ,wZ){let DZ=PZ.node.left;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("right"));if(Q0(l))switch(PZ.node.operator){case"=":case"&&=":case"||=":case"??=":dZ(l,wZ,DZ.name)}}},AssignmentPattern(PZ,wZ){let DZ=PZ.node.left;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("right"));if(Q0(l)){let ZZ=DZ.name;dZ(l,wZ,ZZ)}}},ObjectExpression(PZ,wZ){for(let DZ of PZ.get("properties")){if(!DZ.isObjectProperty())continue;let{node:l}=DZ,ZZ=l.key,LZ=(0,O.skipTransparentExprWrappers)(DZ.get("value"));if(Q0(LZ)){if(l.computed){let qZ=$Z(DZ,ZZ,wZ);dZ(LZ,wZ,qZ)}else if(!HZ(ZZ))if(ZZ.type==="Identifier")dZ(LZ,wZ,ZZ.name);else{let qZ=Y.types.stringLiteral(ZZ.value+"");dZ(LZ,wZ,qZ)}}}},ClassPrivateProperty(PZ,wZ){let{node:DZ}=PZ,l=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(l)){let ZZ=Y.types.stringLiteral("#"+DZ.key.id.name);dZ(l,wZ,ZZ)}},ClassAccessorProperty(PZ,wZ){let{node:DZ}=PZ,l=DZ.key,ZZ=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(ZZ))if(DZ.computed){let LZ=$Z(PZ,l,wZ);dZ(ZZ,wZ,LZ)}else if(l.type==="Identifier")dZ(ZZ,wZ,l.name);else if(l.type==="PrivateName"){let LZ=Y.types.stringLiteral("#"+l.id.name);dZ(ZZ,wZ,LZ)}else{let LZ=Y.types.stringLiteral(l.value+"");dZ(ZZ,wZ,LZ)}},ClassProperty(PZ,wZ){let{node:DZ}=PZ,l=DZ.key,ZZ=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(ZZ))if(DZ.computed){let LZ=$Z(PZ,l,wZ);dZ(ZZ,wZ,LZ)}else if(l.type==="Identifier")dZ(ZZ,wZ,l.name);else{let LZ=Y.types.stringLiteral(l.value+"");dZ(ZZ,wZ,LZ)}}}}(SZ,sZ);function sZ(Q0,dZ,$Z){var PZ;if(NZ.has(Q0))return;let{node:wZ}=Q0;$Z!=null||($Z=(PZ=wZ.id)==null?void 0:PZ.name);let DZ=function(l,ZZ,LZ,qZ,kZ,lZ,aZ){var W0,KZ;let MZ=l.get("body.body"),yZ=l.node.decorators,bZ=!1,pZ=!1,uZ=!1,mZ=function(iZ){let cZ;return()=>(cZ||(cZ=function(gZ){let G0=[],B0=new Set;return gZ.traverse({PrivateName(A0){B0.add(A0.node.id.name)}}),()=>{let A0;do R(G0),A0=String.fromCharCode(...G0);while(B0.has(A0));return Y.types.privateName(Y.types.identifier(A0))}}(iZ)),cZ())}(l),hZ=[],eZ=l.scope.parent,O0=(iZ,cZ,gZ)=>{let G0=CZ(eZ,cZ);return gZ.push(Y.types.assignmentExpression("=",G0,iZ)),Y.types.cloneNode(G0)},EZ,Y0,H0=(W0=l.node.id)==null?void 0:W0.name,M0=typeof kZ=="object"?kZ:void 0,v0=(iZ)=>{try{return Y.types.traverseFast(iZ,(cZ)=>{if(Y.types.isThisExpression(cZ)||Y.types.isSuper(cZ)||Y.types.isYieldExpression(cZ)||Y.types.isAwaitExpression(cZ)||Y.types.isIdentifier(cZ,{name:"arguments"})||H0&&Y.types.isIdentifier(cZ,{name:H0})||Y.types.isMetaProperty(cZ)&&cZ.meta.name!=="import")throw null}),!1}catch(cZ){return!0}},m0=[];for(let iZ of MZ){if(!a(iZ))continue;let cZ=iZ.node;if(!cZ.static&&Y.types.isPrivateName(cZ.key)&&m0.push(cZ.key.id.name),GZ(cZ)){switch(cZ.type){case"ClassProperty":lZ.ClassProperty(iZ,ZZ);break;case"ClassPrivateProperty":lZ.ClassPrivateProperty(iZ,ZZ);break;case"ClassAccessorProperty":if(lZ.ClassAccessorProperty(iZ,ZZ),aZ==="2023-11")break;default:if(cZ.static)Y0!=null||(Y0=CZ(eZ,"initStatic"));else EZ!=null||(EZ=CZ(eZ,"initProto"))}bZ=!0,uZ||(uZ=cZ.decorators.some(v0))}else if(cZ.type==="ClassAccessorProperty"){lZ.ClassAccessorProperty(iZ,ZZ);let{key:gZ,value:G0,static:B0,computed:A0}=cZ,xZ=mZ(),j0=N(xZ,G0,B0),C0=iZ.get("key"),[T0]=iZ.replaceWith(j0),E0,P0;A0&&!C0.isConstantExpression()?(E0=(0,Q.memoiseComputedKey)(b(ZZ,gZ),eZ,eZ.generateUid("computedKey")),P0=Y.types.cloneNode(E0.left)):(E0=Y.types.cloneNode(gZ),P0=Y.types.cloneNode(gZ)),U(l,kZ),M(l.node.id,T0,E0,P0,xZ,A0,B0,aZ)}"computed"in iZ.node&&iZ.node.computed&&(pZ||(pZ=!eZ.isStatic(iZ.node.key)))}if(!yZ&&!bZ)return l.node.id||typeof kZ!="string"||(l.node.id=Y.types.identifier(kZ)),void(M0&&l.node.body.body.unshift(P([m(ZZ,M0)])));let X5=[],d0,u0=new Set,i0,I0,p0=null;function N0(iZ){let cZ=!1,gZ=!1,G0=[];for(let B0 of iZ){let{expression:A0}=B0,xZ;if((aZ==="2023-11"||aZ==="2023-05")&&Y.types.isMemberExpression(A0))if(Y.types.isSuper(A0.object))xZ=Y.types.thisExpression();else if(eZ.isStatic(A0.object))xZ=Y.types.cloneNode(A0.object);else p0!=null||(p0=CZ(eZ,"obj")),xZ=Y.types.assignmentExpression("=",Y.types.cloneNode(p0),A0.object),A0.object=Y.types.cloneNode(p0);G0.push(xZ),cZ||(cZ=!eZ.isStatic(A0)),gZ||(gZ=v0(B0))}return{hasSideEffects:cZ,usesFnContext:gZ,decoratorsThis:G0}}let P5=pZ||uZ||aZ!=="2023-11",L5,O5,J5=!1,G5=0,S5=[],c0=[];if(yZ){i0=CZ(eZ,"initClass"),J5=l.isClassDeclaration(),{id:I0,path:l}=function(xZ,j0){let C0=xZ.node.id,T0=xZ.scope;if(xZ.type==="ClassDeclaration"){let E0=C0.name,P0=T0.generateUidIdentifierBasedOnNode(C0),b0=Y.types.identifier(E0);return T0.rename(E0,P0.name),xZ.get("id").replaceWith(b0),{id:Y.types.cloneNode(P0),path:xZ}}{let E0;C0?(j0=C0.name,E0=CZ(T0.parent,j0),T0.rename(j0,E0.name)):E0=CZ(T0.parent,typeof j0=="string"?j0:"decorated_class");let P0=Y.types.classExpression(typeof j0=="string"?Y.types.identifier(j0):null,xZ.node.superClass,xZ.node.body),[b0]=xZ.replaceWith(Y.types.sequenceExpression([P0,E0]));return{id:Y.types.cloneNode(E0),path:b0.get("expressions.0")}}}(l,kZ),l.node.decorators=null;let iZ=yZ.some(i),{hasSideEffects:cZ,usesFnContext:gZ,decoratorsThis:G0}=N0(yZ),{haveThis:B0,decs:A0}=q(yZ,G0,aZ);if(G5=B0?1:0,S5=A0,(gZ||cZ&&P5||iZ)&&(L5=O0(Y.types.arrayExpression(S5),"classDecs",hZ)),!bZ)for(let xZ of l.get("body.body")){let{node:j0}=xZ;if("computed"in j0&&j0.computed)if(xZ.isClassProperty({static:!0})){if(!xZ.get("key").isConstantExpression()){let C0=j0.key,T0=(0,Q.memoiseComputedKey)(C0,eZ,eZ.generateUid("computedKey"));T0!=null&&(j0.key=Y.types.cloneNode(T0.left),c0.push(T0))}}else c0.length>0&&(F(c0,xZ),c0=[])}}else U(l,kZ),I0=Y.types.cloneNode(l.node.id);let F5=!1,K5=[],g0=[];if(bZ){if(EZ){let iZ=Y.types.callExpression(Y.types.cloneNode(EZ),[Y.types.thisExpression()]);K5.push(iZ)}for(let iZ of MZ){if(!a(iZ)){g0.length>0&&iZ.isStaticBlock()&&(A(g0,iZ),g0=[]);continue}let{node:cZ}=iZ,gZ=cZ.decorators,G0=!(gZ==null||!gZ.length),B0="computed"in cZ&&cZ.computed,A0,xZ,j0="computedKey";if(cZ.key.type==="PrivateName"?j0=cZ.key.id.name:B0||cZ.key.type!=="Identifier"||(j0=cZ.key.name),G0){let{hasSideEffects:e0,usesFnContext:o0,decoratorsThis:U0}=N0(gZ),{decs:Z5,haveThis:R5}=q(gZ,U0,aZ);xZ=R5,A0=Z5.length===1?Z5[0]:Y.types.arrayExpression(Z5),(o0||e0&&P5)&&(A0=O0(A0,j0+"Decs",c0))}if(B0&&!iZ.get("key").isConstantExpression()){let e0=cZ.key,o0=(0,Q.memoiseComputedKey)(G0?b(ZZ,e0):e0,eZ,eZ.generateUid("computedKey"));o0!=null&&(yZ&&iZ.isClassProperty({static:!0})?(cZ.key=Y.types.cloneNode(o0.left),c0.push(o0)):cZ.key=o0)}let{key:C0,static:T0}=cZ,E0=C0.type==="PrivateName",P0=f(iZ),b0;if(E0&&!T0&&(G0&&(F5=!0),!Y.types.isClassPrivateProperty(cZ)&&O5||(O5=C0)),iZ.isClassMethod({kind:"constructor"})&&(d0=iZ),G0){let e0,o0;if(o0=B0?V(iZ.get("key")):C0.type==="PrivateName"?Y.types.stringLiteral(C0.id.name):C0.type==="Identifier"?Y.types.stringLiteral(C0.name):Y.types.cloneNode(C0),P0===D){let{value:U0}=iZ.node,Z5=aZ==="2023-11"&&T0?[]:[Y.types.thisExpression()];U0&&Z5.push(Y.types.cloneNode(U0));let R5=mZ(),U5=CZ(eZ,`init_${j0}`),$5=N(R5,Y.types.callExpression(Y.types.cloneNode(U5),Z5),T0),[f5]=iZ.replaceWith($5);if(E0){e0=G(R5,aZ);let m5=CZ(eZ,`get_${j0}`),v5=CZ(eZ,`set_${j0}`);g(aZ,f5,C0,m5,v5,T0),b0=[U5,m5,v5]}else U(l,kZ),M(l.node.id,f5,Y.types.cloneNode(C0),Y.types.isAssignmentExpression(C0)?Y.types.cloneNode(C0.left):Y.types.cloneNode(C0),R5,B0,T0,aZ),b0=[U5]}else if(P0===w){let U0=CZ(eZ,`init_${j0}`),Z5=iZ.get("value"),R5=aZ==="2023-11"&&T0?[]:[Y.types.thisExpression()];Z5.node&&R5.push(Z5.node),Z5.replaceWith(Y.types.callExpression(Y.types.cloneNode(U0),R5)),b0=[U0],E0&&(e0=G(C0,aZ))}else if(E0){let U0=CZ(eZ,`call_${j0}`);if(b0=[U0],new j.default({constantSuper:LZ,methodPath:iZ,objectRef:I0,superRef:l.node.superClass,file:ZZ.file,refToPreserve:I0}).replace(),e0=[o(iZ.node)],P0===v||P0===k)u(iZ,Y.types.cloneNode(C0),Y.types.cloneNode(U0),T0);else{let Z5=iZ.node;l.node.body.body.unshift(Y.types.classPrivateProperty(C0,Y.types.cloneNode(U0),[],Z5.static)),u0.add(C0.id.name),iZ.remove()}}X5.push({kind:P0,decoratorsArray:A0,decoratorsHaveThis:xZ,name:o0,isStatic:T0,privateMethods:e0,locals:b0}),iZ.node&&(iZ.node.decorators=null)}if(B0&&c0.length>0&&(yZ&&iZ.isClassProperty({static:!0})||(F(c0,P0===D?iZ.getNextSibling():iZ),c0=[])),K5.length>0&&!T0&&(P0===w||P0===D)&&(J(K5,iZ),K5=[]),g0.length>0&&T0&&(P0===w||P0===D)&&(J(g0,iZ),g0=[]),G0&&aZ==="2023-11"&&(P0===w||P0===D)){let e0=CZ(eZ,`init_extra_${j0}`);b0.push(e0);let o0=Y.types.callExpression(Y.types.cloneNode(e0),T0?[]:[Y.types.thisExpression()]);T0?g0.push(o0):K5.push(o0)}}}if(c0.length>0){let iZ=l.get("body.body"),cZ;for(let gZ=iZ.length-1;gZ>=0;gZ--){let G0=iZ[gZ],B0=G0.node;if(B0.computed){if(yZ&&Y.types.isClassProperty(B0,{static:!0}))continue;cZ=G0;break}}cZ!=null&&(function(gZ,G0){let B0=G0.get("key"),A0=z(B0);if(A0.isConstantExpression())F(gZ,G0);else{let xZ=B0.scope.parent,j0=(0,Q.memoiseComputedKey)(A0.node,xZ,xZ.generateUid("computedKey"));if(j0){let C0=[...gZ,Y.types.cloneNode(j0.left)],T0=A0.parentPath;T0.isSequenceExpression()?T0.pushContainer("expressions",C0):A0.replaceWith(d([Y.types.cloneNode(j0),...C0]))}else F(gZ,G0)}}(c0,cZ),c0=[])}if(K5.length>0){let iZ=!!l.node.superClass;d0?iZ?function(cZ,gZ,G0){gZ.traverse({CallExpression:{exit(B0){if(!B0.get("callee").isSuper())return;let A0=[B0.node,...cZ.map((xZ)=>Y.types.cloneNode(xZ))];B0.isCompletionRecord()&&A0.push(Y.types.thisExpression()),B0.replaceWith(function(xZ,j0){if(j0){if(xZ.length>=2&&T(xZ[1],j0)){let C0=Y.types.callExpression(Y.types.cloneNode(j0),[xZ[0]]);xZ.splice(0,2,C0)}xZ.length>=2&&Y.types.isThisExpression(xZ[xZ.length-1])&&T(xZ[xZ.length-2],j0)&&xZ.splice(xZ.length-1,1)}return d(xZ)}(A0,G0)),B0.skip()}},ClassMethod(B0){B0.node.kind==="constructor"&&B0.skip()}})}(K5,d0,EZ):function(cZ,gZ){gZ.node.body.body.unshift(Y.types.expressionStatement(d(cZ)))}(K5,d0):l.node.body.body.unshift(I(K5,iZ)),K5=[]}g0.length>0&&(l.node.body.body.push(P(g0)),g0=[]);let j5=(I5=X5,[...I5.filter((iZ)=>iZ.isStatic&&iZ.kind>=D&&iZ.kind<=k),...I5.filter((iZ)=>!iZ.isStatic&&iZ.kind>=D&&iZ.kind<=k),...I5.filter((iZ)=>iZ.isStatic&&iZ.kind===w),...I5.filter((iZ)=>!iZ.isStatic&&iZ.kind===w)]),C5=function(iZ,cZ){return Y.types.arrayExpression(iZ.map((gZ)=>{let G0=gZ.kind;return gZ.isStatic&&(G0+=cZ==="2023-11"||cZ==="2023-05"?r:_),gZ.decoratorsHaveThis&&(G0+=t),Y.types.arrayExpression([gZ.decoratorsArray,Y.types.numericLiteral(G0),gZ.name,...gZ.privateMethods||[]])}))}(aZ==="2023-11"?X5:j5,aZ),W5=function(iZ){let cZ=[];for(let gZ of iZ){let{locals:G0}=gZ;Array.isArray(G0)?cZ.push(...G0):G0!==void 0&&cZ.push(G0)}return cZ}(j5);var I5;EZ&&W5.push(EZ),Y0&&W5.push(Y0);let q5=[],b5=!1,F0=i0&&Y.types.callExpression(Y.types.cloneNode(i0),[]),w5=l,N5=l.node,A5=[];if(yZ){q5.push(I0,i0);let iZ=[];if(l.get("body.body").forEach((cZ)=>{if(cZ.isStaticBlock()){if(s(cZ,m0)){let G0=O0((gZ=cZ.node,Y.types.functionExpression(null,[],Y.types.blockStatement(gZ.body))),"staticBlock",A5);g0.push(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("call")),[Y.types.thisExpression()]))}else g0.push(function(G0){return Y.types.callExpression(Y.types.arrowFunctionExpression([],Y.types.blockStatement(G0.body)),[])}(cZ.node));cZ.remove()}else{var gZ;if((cZ.isClassProperty()||cZ.isClassPrivateProperty())&&cZ.node.static){let G0=cZ.get("value");if(s(G0,m0)){let B0=O0(function(A0){return Y.types.functionExpression(null,[],Y.types.blockStatement([Y.types.returnStatement(A0)]))}(G0.node),"fieldValue",A5);G0.replaceWith(Y.types.callExpression(Y.types.memberExpression(B0,Y.types.identifier("call")),[Y.types.thisExpression()]))}g0.length>0&&(J(g0,cZ),g0=[]),cZ.node.static=!1,iZ.push(cZ.node),cZ.remove()}else if(cZ.isClassPrivateMethod({static:!0})){if(s(cZ,m0)){new j.default({constantSuper:LZ,methodPath:cZ,objectRef:I0,superRef:l.node.superClass,file:ZZ.file,refToPreserve:I0}).replace();let G0=O0(o(cZ.node),cZ.get("key.id").node.name,A5);qZ?(cZ.node.params=[Y.types.restElement(Y.types.identifier("arg"))],cZ.node.body=Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("apply")),[Y.types.thisExpression(),Y.types.identifier("arg")]))])):(cZ.node.params=cZ.node.params.map((B0,A0)=>Y.types.isRestElement(B0)?Y.types.restElement(Y.types.identifier("arg")):Y.types.identifier("_"+A0)),cZ.node.body=Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("apply")),[Y.types.thisExpression(),Y.types.identifier("arguments")]))]))}cZ.node.static=!1,iZ.push(cZ.node),cZ.remove()}}}),iZ.length>0||g0.length>0){let cZ=Y.template.expression.ast`
|
|
149
|
+
`],wrapClass:(k)=>(k.replaceWith(E),k.get(v))}},X.hasDecorators=function(N){return O(N)||N.body.body.some(O)},X.hasOwnDecorators=O;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),j=$("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js");function O(N){var U;return!((U=N.decorators)==null||!U.length)}function Z(N,U){return U?Y.types.objectProperty(Y.types.identifier(N),U):null}function Q(N){let U;return N.decorators&&N.decorators.length>0&&(U=Y.types.arrayExpression(N.decorators.map((M)=>M.expression))),N.decorators=void 0,U}function R(N){return N.computed?N.key:Y.types.isIdentifier(N.key)?Y.types.stringLiteral(N.key.name):Y.types.stringLiteral(String(N.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=function({assertVersion:XZ,assumption:YZ},{loose:OZ},UZ,VZ){var jZ,JZ;XZ(UZ==="2023-11"||UZ==="2023-05"||UZ==="2023-01"?"^7.21.0":UZ==="2021-12"?"^7.16.0":"^7.19.0");let NZ=new WeakSet,c=(jZ=YZ("constantSuper"))!=null?jZ:OZ,TZ=(JZ=YZ("ignoreFunctionLength"))!=null?JZ:OZ,nZ=function(Q0,dZ){function $Z(PZ,wZ,DZ){switch(wZ.type){case"StringLiteral":return Y.types.stringLiteral(wZ.value);case"NumericLiteral":case"BigIntLiteral":{let l=wZ.value+"";return PZ.get("key").replaceWith(Y.types.stringLiteral(l)),Y.types.stringLiteral(l)}default:{let l=PZ.scope.maybeGenerateMemoised(wZ);return PZ.get("key").replaceWith(Y.types.assignmentExpression("=",l,b(DZ,wZ))),Y.types.cloneNode(l)}}}return{VariableDeclarator(PZ,wZ){let DZ=PZ.node.id;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("init"));if(Q0(l)){let ZZ=DZ.name;dZ(l,wZ,ZZ)}}},AssignmentExpression(PZ,wZ){let DZ=PZ.node.left;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("right"));if(Q0(l))switch(PZ.node.operator){case"=":case"&&=":case"||=":case"??=":dZ(l,wZ,DZ.name)}}},AssignmentPattern(PZ,wZ){let DZ=PZ.node.left;if(DZ.type==="Identifier"){let l=(0,O.skipTransparentExprWrappers)(PZ.get("right"));if(Q0(l)){let ZZ=DZ.name;dZ(l,wZ,ZZ)}}},ObjectExpression(PZ,wZ){for(let DZ of PZ.get("properties")){if(!DZ.isObjectProperty())continue;let{node:l}=DZ,ZZ=l.key,LZ=(0,O.skipTransparentExprWrappers)(DZ.get("value"));if(Q0(LZ)){if(l.computed){let qZ=$Z(DZ,ZZ,wZ);dZ(LZ,wZ,qZ)}else if(!HZ(ZZ))if(ZZ.type==="Identifier")dZ(LZ,wZ,ZZ.name);else{let qZ=Y.types.stringLiteral(ZZ.value+"");dZ(LZ,wZ,qZ)}}}},ClassPrivateProperty(PZ,wZ){let{node:DZ}=PZ,l=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(l)){let ZZ=Y.types.stringLiteral("#"+DZ.key.id.name);dZ(l,wZ,ZZ)}},ClassAccessorProperty(PZ,wZ){let{node:DZ}=PZ,l=DZ.key,ZZ=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(ZZ))if(DZ.computed){let LZ=$Z(PZ,l,wZ);dZ(ZZ,wZ,LZ)}else if(l.type==="Identifier")dZ(ZZ,wZ,l.name);else if(l.type==="PrivateName"){let LZ=Y.types.stringLiteral("#"+l.id.name);dZ(ZZ,wZ,LZ)}else{let LZ=Y.types.stringLiteral(l.value+"");dZ(ZZ,wZ,LZ)}},ClassProperty(PZ,wZ){let{node:DZ}=PZ,l=DZ.key,ZZ=(0,O.skipTransparentExprWrappers)(PZ.get("value"));if(Q0(ZZ))if(DZ.computed){let LZ=$Z(PZ,l,wZ);dZ(ZZ,wZ,LZ)}else if(l.type==="Identifier")dZ(ZZ,wZ,l.name);else{let LZ=Y.types.stringLiteral(l.value+"");dZ(ZZ,wZ,LZ)}}}}(SZ,sZ);function sZ(Q0,dZ,$Z){var PZ;if(NZ.has(Q0))return;let{node:wZ}=Q0;$Z!=null||($Z=(PZ=wZ.id)==null?void 0:PZ.name);let DZ=function(l,ZZ,LZ,qZ,kZ,lZ,aZ){var W0,KZ;let MZ=l.get("body.body"),yZ=l.node.decorators,bZ=!1,pZ=!1,uZ=!1,mZ=function(iZ){let cZ;return()=>(cZ||(cZ=function(gZ){let G0=[],B0=new Set;return gZ.traverse({PrivateName(A0){B0.add(A0.node.id.name)}}),()=>{let A0;do R(G0),A0=String.fromCharCode(...G0);while(B0.has(A0));return Y.types.privateName(Y.types.identifier(A0))}}(iZ)),cZ())}(l),hZ=[],eZ=l.scope.parent,J0=(iZ,cZ,gZ)=>{let G0=CZ(eZ,cZ);return gZ.push(Y.types.assignmentExpression("=",G0,iZ)),Y.types.cloneNode(G0)},EZ,Y0,H0=(W0=l.node.id)==null?void 0:W0.name,M0=typeof kZ=="object"?kZ:void 0,v0=(iZ)=>{try{return Y.types.traverseFast(iZ,(cZ)=>{if(Y.types.isThisExpression(cZ)||Y.types.isSuper(cZ)||Y.types.isYieldExpression(cZ)||Y.types.isAwaitExpression(cZ)||Y.types.isIdentifier(cZ,{name:"arguments"})||H0&&Y.types.isIdentifier(cZ,{name:H0})||Y.types.isMetaProperty(cZ)&&cZ.meta.name!=="import")throw null}),!1}catch(cZ){return!0}},m0=[];for(let iZ of MZ){if(!a(iZ))continue;let cZ=iZ.node;if(!cZ.static&&Y.types.isPrivateName(cZ.key)&&m0.push(cZ.key.id.name),GZ(cZ)){switch(cZ.type){case"ClassProperty":lZ.ClassProperty(iZ,ZZ);break;case"ClassPrivateProperty":lZ.ClassPrivateProperty(iZ,ZZ);break;case"ClassAccessorProperty":if(lZ.ClassAccessorProperty(iZ,ZZ),aZ==="2023-11")break;default:if(cZ.static)Y0!=null||(Y0=CZ(eZ,"initStatic"));else EZ!=null||(EZ=CZ(eZ,"initProto"))}bZ=!0,uZ||(uZ=cZ.decorators.some(v0))}else if(cZ.type==="ClassAccessorProperty"){lZ.ClassAccessorProperty(iZ,ZZ);let{key:gZ,value:G0,static:B0,computed:A0}=cZ,xZ=mZ(),j0=N(xZ,G0,B0),C0=iZ.get("key"),[T0]=iZ.replaceWith(j0),E0,P0;A0&&!C0.isConstantExpression()?(E0=(0,Q.memoiseComputedKey)(b(ZZ,gZ),eZ,eZ.generateUid("computedKey")),P0=Y.types.cloneNode(E0.left)):(E0=Y.types.cloneNode(gZ),P0=Y.types.cloneNode(gZ)),U(l,kZ),M(l.node.id,T0,E0,P0,xZ,A0,B0,aZ)}"computed"in iZ.node&&iZ.node.computed&&(pZ||(pZ=!eZ.isStatic(iZ.node.key)))}if(!yZ&&!bZ)return l.node.id||typeof kZ!="string"||(l.node.id=Y.types.identifier(kZ)),void(M0&&l.node.body.body.unshift(P([m(ZZ,M0)])));let X5=[],d0,u0=new Set,i0,I0,p0=null;function N0(iZ){let cZ=!1,gZ=!1,G0=[];for(let B0 of iZ){let{expression:A0}=B0,xZ;if((aZ==="2023-11"||aZ==="2023-05")&&Y.types.isMemberExpression(A0))if(Y.types.isSuper(A0.object))xZ=Y.types.thisExpression();else if(eZ.isStatic(A0.object))xZ=Y.types.cloneNode(A0.object);else p0!=null||(p0=CZ(eZ,"obj")),xZ=Y.types.assignmentExpression("=",Y.types.cloneNode(p0),A0.object),A0.object=Y.types.cloneNode(p0);G0.push(xZ),cZ||(cZ=!eZ.isStatic(A0)),gZ||(gZ=v0(B0))}return{hasSideEffects:cZ,usesFnContext:gZ,decoratorsThis:G0}}let P5=pZ||uZ||aZ!=="2023-11",C5,J5,$5=!1,G5=0,S5=[],c0=[];if(yZ){i0=CZ(eZ,"initClass"),$5=l.isClassDeclaration(),{id:I0,path:l}=function(xZ,j0){let C0=xZ.node.id,T0=xZ.scope;if(xZ.type==="ClassDeclaration"){let E0=C0.name,P0=T0.generateUidIdentifierBasedOnNode(C0),b0=Y.types.identifier(E0);return T0.rename(E0,P0.name),xZ.get("id").replaceWith(b0),{id:Y.types.cloneNode(P0),path:xZ}}{let E0;C0?(j0=C0.name,E0=CZ(T0.parent,j0),T0.rename(j0,E0.name)):E0=CZ(T0.parent,typeof j0=="string"?j0:"decorated_class");let P0=Y.types.classExpression(typeof j0=="string"?Y.types.identifier(j0):null,xZ.node.superClass,xZ.node.body),[b0]=xZ.replaceWith(Y.types.sequenceExpression([P0,E0]));return{id:Y.types.cloneNode(E0),path:b0.get("expressions.0")}}}(l,kZ),l.node.decorators=null;let iZ=yZ.some(i),{hasSideEffects:cZ,usesFnContext:gZ,decoratorsThis:G0}=N0(yZ),{haveThis:B0,decs:A0}=q(yZ,G0,aZ);if(G5=B0?1:0,S5=A0,(gZ||cZ&&P5||iZ)&&(C5=J0(Y.types.arrayExpression(S5),"classDecs",hZ)),!bZ)for(let xZ of l.get("body.body")){let{node:j0}=xZ;if("computed"in j0&&j0.computed)if(xZ.isClassProperty({static:!0})){if(!xZ.get("key").isConstantExpression()){let C0=j0.key,T0=(0,Q.memoiseComputedKey)(C0,eZ,eZ.generateUid("computedKey"));T0!=null&&(j0.key=Y.types.cloneNode(T0.left),c0.push(T0))}}else c0.length>0&&(F(c0,xZ),c0=[])}}else U(l,kZ),I0=Y.types.cloneNode(l.node.id);let F5=!1,K5=[],g0=[];if(bZ){if(EZ){let iZ=Y.types.callExpression(Y.types.cloneNode(EZ),[Y.types.thisExpression()]);K5.push(iZ)}for(let iZ of MZ){if(!a(iZ)){g0.length>0&&iZ.isStaticBlock()&&(A(g0,iZ),g0=[]);continue}let{node:cZ}=iZ,gZ=cZ.decorators,G0=!(gZ==null||!gZ.length),B0="computed"in cZ&&cZ.computed,A0,xZ,j0="computedKey";if(cZ.key.type==="PrivateName"?j0=cZ.key.id.name:B0||cZ.key.type!=="Identifier"||(j0=cZ.key.name),G0){let{hasSideEffects:e0,usesFnContext:o0,decoratorsThis:U0}=N0(gZ),{decs:Z5,haveThis:R5}=q(gZ,U0,aZ);xZ=R5,A0=Z5.length===1?Z5[0]:Y.types.arrayExpression(Z5),(o0||e0&&P5)&&(A0=J0(A0,j0+"Decs",c0))}if(B0&&!iZ.get("key").isConstantExpression()){let e0=cZ.key,o0=(0,Q.memoiseComputedKey)(G0?b(ZZ,e0):e0,eZ,eZ.generateUid("computedKey"));o0!=null&&(yZ&&iZ.isClassProperty({static:!0})?(cZ.key=Y.types.cloneNode(o0.left),c0.push(o0)):cZ.key=o0)}let{key:C0,static:T0}=cZ,E0=C0.type==="PrivateName",P0=f(iZ),b0;if(E0&&!T0&&(G0&&(F5=!0),!Y.types.isClassPrivateProperty(cZ)&&J5||(J5=C0)),iZ.isClassMethod({kind:"constructor"})&&(d0=iZ),G0){let e0,o0;if(o0=B0?V(iZ.get("key")):C0.type==="PrivateName"?Y.types.stringLiteral(C0.id.name):C0.type==="Identifier"?Y.types.stringLiteral(C0.name):Y.types.cloneNode(C0),P0===D){let{value:U0}=iZ.node,Z5=aZ==="2023-11"&&T0?[]:[Y.types.thisExpression()];U0&&Z5.push(Y.types.cloneNode(U0));let R5=mZ(),L5=CZ(eZ,`init_${j0}`),M5=N(R5,Y.types.callExpression(Y.types.cloneNode(L5),Z5),T0),[f5]=iZ.replaceWith(M5);if(E0){e0=G(R5,aZ);let m5=CZ(eZ,`get_${j0}`),v5=CZ(eZ,`set_${j0}`);g(aZ,f5,C0,m5,v5,T0),b0=[L5,m5,v5]}else U(l,kZ),M(l.node.id,f5,Y.types.cloneNode(C0),Y.types.isAssignmentExpression(C0)?Y.types.cloneNode(C0.left):Y.types.cloneNode(C0),R5,B0,T0,aZ),b0=[L5]}else if(P0===w){let U0=CZ(eZ,`init_${j0}`),Z5=iZ.get("value"),R5=aZ==="2023-11"&&T0?[]:[Y.types.thisExpression()];Z5.node&&R5.push(Z5.node),Z5.replaceWith(Y.types.callExpression(Y.types.cloneNode(U0),R5)),b0=[U0],E0&&(e0=G(C0,aZ))}else if(E0){let U0=CZ(eZ,`call_${j0}`);if(b0=[U0],new j.default({constantSuper:LZ,methodPath:iZ,objectRef:I0,superRef:l.node.superClass,file:ZZ.file,refToPreserve:I0}).replace(),e0=[o(iZ.node)],P0===v||P0===k)u(iZ,Y.types.cloneNode(C0),Y.types.cloneNode(U0),T0);else{let Z5=iZ.node;l.node.body.body.unshift(Y.types.classPrivateProperty(C0,Y.types.cloneNode(U0),[],Z5.static)),u0.add(C0.id.name),iZ.remove()}}X5.push({kind:P0,decoratorsArray:A0,decoratorsHaveThis:xZ,name:o0,isStatic:T0,privateMethods:e0,locals:b0}),iZ.node&&(iZ.node.decorators=null)}if(B0&&c0.length>0&&(yZ&&iZ.isClassProperty({static:!0})||(F(c0,P0===D?iZ.getNextSibling():iZ),c0=[])),K5.length>0&&!T0&&(P0===w||P0===D)&&(J(K5,iZ),K5=[]),g0.length>0&&T0&&(P0===w||P0===D)&&(J(g0,iZ),g0=[]),G0&&aZ==="2023-11"&&(P0===w||P0===D)){let e0=CZ(eZ,`init_extra_${j0}`);b0.push(e0);let o0=Y.types.callExpression(Y.types.cloneNode(e0),T0?[]:[Y.types.thisExpression()]);T0?g0.push(o0):K5.push(o0)}}}if(c0.length>0){let iZ=l.get("body.body"),cZ;for(let gZ=iZ.length-1;gZ>=0;gZ--){let G0=iZ[gZ],B0=G0.node;if(B0.computed){if(yZ&&Y.types.isClassProperty(B0,{static:!0}))continue;cZ=G0;break}}cZ!=null&&(function(gZ,G0){let B0=G0.get("key"),A0=z(B0);if(A0.isConstantExpression())F(gZ,G0);else{let xZ=B0.scope.parent,j0=(0,Q.memoiseComputedKey)(A0.node,xZ,xZ.generateUid("computedKey"));if(j0){let C0=[...gZ,Y.types.cloneNode(j0.left)],T0=A0.parentPath;T0.isSequenceExpression()?T0.pushContainer("expressions",C0):A0.replaceWith(d([Y.types.cloneNode(j0),...C0]))}else F(gZ,G0)}}(c0,cZ),c0=[])}if(K5.length>0){let iZ=!!l.node.superClass;d0?iZ?function(cZ,gZ,G0){gZ.traverse({CallExpression:{exit(B0){if(!B0.get("callee").isSuper())return;let A0=[B0.node,...cZ.map((xZ)=>Y.types.cloneNode(xZ))];B0.isCompletionRecord()&&A0.push(Y.types.thisExpression()),B0.replaceWith(function(xZ,j0){if(j0){if(xZ.length>=2&&T(xZ[1],j0)){let C0=Y.types.callExpression(Y.types.cloneNode(j0),[xZ[0]]);xZ.splice(0,2,C0)}xZ.length>=2&&Y.types.isThisExpression(xZ[xZ.length-1])&&T(xZ[xZ.length-2],j0)&&xZ.splice(xZ.length-1,1)}return d(xZ)}(A0,G0)),B0.skip()}},ClassMethod(B0){B0.node.kind==="constructor"&&B0.skip()}})}(K5,d0,EZ):function(cZ,gZ){gZ.node.body.body.unshift(Y.types.expressionStatement(d(cZ)))}(K5,d0):l.node.body.body.unshift(I(K5,iZ)),K5=[]}g0.length>0&&(l.node.body.body.push(P(g0)),g0=[]);let j5=(T5=X5,[...T5.filter((iZ)=>iZ.isStatic&&iZ.kind>=D&&iZ.kind<=k),...T5.filter((iZ)=>!iZ.isStatic&&iZ.kind>=D&&iZ.kind<=k),...T5.filter((iZ)=>iZ.isStatic&&iZ.kind===w),...T5.filter((iZ)=>!iZ.isStatic&&iZ.kind===w)]),I5=function(iZ,cZ){return Y.types.arrayExpression(iZ.map((gZ)=>{let G0=gZ.kind;return gZ.isStatic&&(G0+=cZ==="2023-11"||cZ==="2023-05"?r:_),gZ.decoratorsHaveThis&&(G0+=t),Y.types.arrayExpression([gZ.decoratorsArray,Y.types.numericLiteral(G0),gZ.name,...gZ.privateMethods||[]])}))}(aZ==="2023-11"?X5:j5,aZ),W5=function(iZ){let cZ=[];for(let gZ of iZ){let{locals:G0}=gZ;Array.isArray(G0)?cZ.push(...G0):G0!==void 0&&cZ.push(G0)}return cZ}(j5);var T5;EZ&&W5.push(EZ),Y0&&W5.push(Y0);let q5=[],b5=!1,F0=i0&&Y.types.callExpression(Y.types.cloneNode(i0),[]),w5=l,A5=l.node,U5=[];if(yZ){q5.push(I0,i0);let iZ=[];if(l.get("body.body").forEach((cZ)=>{if(cZ.isStaticBlock()){if(s(cZ,m0)){let G0=J0((gZ=cZ.node,Y.types.functionExpression(null,[],Y.types.blockStatement(gZ.body))),"staticBlock",U5);g0.push(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("call")),[Y.types.thisExpression()]))}else g0.push(function(G0){return Y.types.callExpression(Y.types.arrowFunctionExpression([],Y.types.blockStatement(G0.body)),[])}(cZ.node));cZ.remove()}else{var gZ;if((cZ.isClassProperty()||cZ.isClassPrivateProperty())&&cZ.node.static){let G0=cZ.get("value");if(s(G0,m0)){let B0=J0(function(A0){return Y.types.functionExpression(null,[],Y.types.blockStatement([Y.types.returnStatement(A0)]))}(G0.node),"fieldValue",U5);G0.replaceWith(Y.types.callExpression(Y.types.memberExpression(B0,Y.types.identifier("call")),[Y.types.thisExpression()]))}g0.length>0&&(J(g0,cZ),g0=[]),cZ.node.static=!1,iZ.push(cZ.node),cZ.remove()}else if(cZ.isClassPrivateMethod({static:!0})){if(s(cZ,m0)){new j.default({constantSuper:LZ,methodPath:cZ,objectRef:I0,superRef:l.node.superClass,file:ZZ.file,refToPreserve:I0}).replace();let G0=J0(o(cZ.node),cZ.get("key.id").node.name,U5);qZ?(cZ.node.params=[Y.types.restElement(Y.types.identifier("arg"))],cZ.node.body=Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("apply")),[Y.types.thisExpression(),Y.types.identifier("arg")]))])):(cZ.node.params=cZ.node.params.map((B0,A0)=>Y.types.isRestElement(B0)?Y.types.restElement(Y.types.identifier("arg")):Y.types.identifier("_"+A0)),cZ.node.body=Y.types.blockStatement([Y.types.returnStatement(Y.types.callExpression(Y.types.memberExpression(G0,Y.types.identifier("apply")),[Y.types.thisExpression(),Y.types.identifier("arguments")]))]))}cZ.node.static=!1,iZ.push(cZ.node),cZ.remove()}}}),iZ.length>0||g0.length>0){let cZ=Y.template.expression.ast`
|
|
150
150
|
class extends ${ZZ.addHelper("identity")} {}
|
|
151
|
-
`;cZ.body.body=[Y.types.classProperty(Y.types.toExpression(
|
|
151
|
+
`;cZ.body.body=[Y.types.classProperty(Y.types.toExpression(A5),void 0,void 0,void 0,!0,!0),...iZ];let gZ=[],G0=Y.types.newExpression(cZ,[]);g0.length>0&&gZ.push(...g0),F0&&(b5=!0,gZ.push(F0)),gZ.length>0?(gZ.unshift(Y.types.callExpression(Y.types.super(),[Y.types.cloneNode(I0)])),cZ.body.body.push(I(gZ,!1))):G0.arguments.push(Y.types.cloneNode(I0));let[B0]=l.replaceWith(G0);w5=B0.get("callee").get("body").get("body.0.key")}}!b5&&F0&&l.node.body.body.push(Y.types.staticBlock([Y.types.expressionStatement(F0)]));let{superClass:D5}=A5;if(D5&&(aZ==="2023-11"||aZ==="2023-05")){let iZ=l.scope.maybeGenerateMemoised(D5);iZ&&(A5.superClass=Y.types.assignmentExpression("=",iZ,D5),D5=iZ)}let B5=Y.types.staticBlock([]);A5.body.body.unshift(B5);let H5=B5.body;if(c0.length>0){let iZ=w5.get("body.body"),cZ;for(let gZ of iZ)if((gZ.isClassProperty()||gZ.isClassMethod())&&gZ.node.kind!=="constructor"){cZ=gZ;break}cZ!=null?(function(gZ){let{node:G0}=gZ;G0.computed=!0,Y.types.isIdentifier(G0.key)&&(G0.key=Y.types.stringLiteral(G0.key.name))}(cZ),F(c0,cZ)):(A5.body.body.unshift(Y.types.classProperty(Y.types.sequenceExpression([...c0,Y.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),H5.push(Y.types.expressionStatement(Y.types.unaryExpression("delete",Y.types.memberExpression(Y.types.thisExpression(),Y.types.identifier("_")))))),c0=[]}if(H5.push(Y.types.expressionStatement(function(iZ,cZ,gZ,G0,B0,A0,xZ,j0,C0,T0){let E0,P0,b0=[xZ?m(C0,xZ):Y.types.thisExpression(),G0,gZ];if(T0!=="2023-11"&&b0.splice(1,2,gZ,G0),T0==="2021-12"||T0==="2022-03"&&!C0.availableHelper("applyDecs2203R"))return E0=Y.types.arrayPattern([...iZ,...cZ]),P0=Y.types.callExpression(C0.addHelper(T0==="2021-12"?"applyDecs":"applyDecs2203"),b0),Y.types.assignmentExpression("=",E0,P0);return T0==="2022-03"?P0=Y.types.callExpression(C0.addHelper("applyDecs2203R"),b0):T0==="2023-01"?(A0&&b0.push(p(A0)),P0=Y.types.callExpression(C0.addHelper("applyDecs2301"),b0)):T0==="2023-05"&&((A0||j0||B0.value!==0)&&b0.push(B0),A0?b0.push(p(A0)):j0&&b0.push(Y.types.unaryExpression("void",Y.types.numericLiteral(0))),j0&&b0.push(j0),P0=Y.types.callExpression(C0.addHelper("applyDecs2305"),b0)),T0==="2023-11"&&((A0||j0||B0.value!==0)&&b0.push(B0),A0?b0.push(p(A0)):j0&&b0.push(Y.types.unaryExpression("void",Y.types.numericLiteral(0))),j0&&b0.push(j0),P0=Y.types.callExpression(C0.addHelper("applyDecs2311"),b0)),iZ.length>0?cZ.length>0?E0=Y.types.objectPattern([Y.types.objectProperty(Y.types.identifier("e"),Y.types.arrayPattern(iZ)),Y.types.objectProperty(Y.types.identifier("c"),Y.types.arrayPattern(cZ))]):(E0=Y.types.arrayPattern(iZ),P0=Y.types.memberExpression(P0,Y.types.identifier("e"),!1,!1)):(E0=Y.types.arrayPattern(cZ),P0=Y.types.memberExpression(P0,Y.types.identifier("c"),!1,!1)),Y.types.assignmentExpression("=",E0,P0)}(W5,q5,I5,(KZ=C5)!=null?KZ:Y.types.arrayExpression(S5),Y.types.numericLiteral(G5),F5?J5:null,M0,Y.types.cloneNode(D5),ZZ,aZ))),Y0&&H5.push(Y.types.expressionStatement(Y.types.callExpression(Y.types.cloneNode(Y0),[Y.types.thisExpression()]))),U5.length>0&&H5.push(...U5.map((iZ)=>Y.types.expressionStatement(iZ))),l.insertBefore(hZ.map((iZ)=>Y.types.expressionStatement(iZ))),$5)if(eZ.getBinding(I0.name).constantViolations.length){let iZ=eZ.generateUidIdentifier("t"+I0.name),cZ=I0;l.replaceWithMultiple([Y.types.variableDeclaration("let",[Y.types.variableDeclarator(Y.types.cloneNode(cZ)),Y.types.variableDeclarator(iZ)]),Y.types.blockStatement([Y.types.variableDeclaration("let",[Y.types.variableDeclarator(Y.types.cloneNode(I0))]),l.node,Y.types.expressionStatement(Y.types.assignmentExpression("=",Y.types.cloneNode(iZ),Y.types.cloneNode(I0)))]),Y.types.expressionStatement(Y.types.assignmentExpression("=",Y.types.cloneNode(cZ),Y.types.cloneNode(iZ)))])}else l.insertBefore(Y.types.variableDeclaration("let",[Y.types.variableDeclarator(Y.types.cloneNode(I0))]));return u0.size>0&&function(iZ,cZ){let gZ=(0,Z.privateNameVisitorFactory)({PrivateName(B0,A0){if(!A0.privateNamesMap.has(B0.node.id.name))return;let xZ=B0.parentPath,j0=xZ.parentPath;if(j0.node.type==="AssignmentExpression"&&j0.node.left===xZ.node||j0.node.type==="UpdateExpression"||j0.node.type==="RestElement"||j0.node.type==="ArrayPattern"||j0.node.type==="ObjectProperty"&&j0.node.value===xZ.node&&j0.parentPath.type==="ObjectPattern"||j0.node.type==="ForOfStatement"&&j0.node.left===xZ.node)throw B0.buildCodeFrameError(`Decorated private methods are read-only, but "#${B0.node.id.name}" is updated via this expression.`)}}),G0=new Map;for(let B0 of cZ)G0.set(B0,null);iZ.traverse(gZ,{privateNamesMap:G0})}(l,u0),l.scope.crawl(),l}(Q0,dZ,c,TZ,$Z,nZ,UZ);DZ?NZ.add(DZ):NZ.add(Q0)}return{name:"proposal-decorators",inherits:VZ,visitor:Object.assign({ExportDefaultDeclaration(Q0,dZ){let{declaration:$Z}=Q0.node;if(($Z==null?void 0:$Z.type)==="ClassDeclaration"&&GZ($Z)){let PZ=!$Z.id;Q0.splitExportDeclaration!=null||(Q0.splitExportDeclaration=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration);let wZ=Q0.splitExportDeclaration();PZ&&sZ(wZ,dZ,Y.types.stringLiteral("default"))}},ExportNamedDeclaration(Q0){let{declaration:dZ}=Q0.node;(dZ==null?void 0:dZ.type)==="ClassDeclaration"&&GZ(dZ)&&(Q0.splitExportDeclaration!=null||(Q0.splitExportDeclaration=$("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),Q0.splitExportDeclaration())},Class(Q0,dZ){sZ(Q0,dZ,void 0)}},nZ)}};var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),j=$("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js"),O=$("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),Z=$("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),Q=$("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function R(XZ,YZ=XZ.length-1){if(YZ===-1)return void XZ.unshift(65);let OZ=XZ[YZ];OZ===90?XZ[YZ]=97:OZ===122?(XZ[YZ]=65,R(XZ,YZ-1)):XZ[YZ]=OZ+1}function N(XZ,YZ,OZ){return XZ.type==="PrivateName"?Y.types.classPrivateProperty(XZ,YZ,void 0,OZ):Y.types.classProperty(XZ,YZ,void 0,void 0,OZ)}function U(XZ,YZ){XZ.node.id||(XZ.node.id=typeof YZ=="string"?Y.types.identifier(YZ):XZ.scope.generateUidIdentifier("Class"))}function M(XZ,YZ,OZ,UZ,VZ,jZ,JZ,NZ){let c=NZ!=="2023-11"&&NZ!=="2023-05"||!JZ?Y.types.thisExpression():XZ,TZ=Y.types.blockStatement([Y.types.returnStatement(Y.types.memberExpression(Y.types.cloneNode(c),Y.types.cloneNode(VZ)))]),nZ=Y.types.blockStatement([Y.types.expressionStatement(Y.types.assignmentExpression("=",Y.types.memberExpression(Y.types.cloneNode(c),Y.types.cloneNode(VZ)),Y.types.identifier("v")))]),sZ,Q0;OZ.type==="PrivateName"?(sZ=Y.types.classPrivateMethod("get",OZ,[],TZ,JZ),Q0=Y.types.classPrivateMethod("set",UZ,[Y.types.identifier("v")],nZ,JZ)):(sZ=Y.types.classMethod("get",OZ,[],TZ,jZ,JZ),Q0=Y.types.classMethod("set",UZ,[Y.types.identifier("v")],nZ,jZ,JZ)),YZ.insertAfter(Q0),YZ.insertAfter(sZ)}function G(XZ,YZ){return YZ!=="2023-11"&&YZ!=="2023-05"&&YZ!=="2023-01"?[Y.template.expression.ast`
|
|
152
152
|
function () {
|
|
153
153
|
return this.${Y.types.cloneNode(XZ)};
|
|
154
154
|
}
|
|
@@ -340,12 +340,12 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
340
340
|
- Did you mean '${(0,Y.findSuggestion)(Q,Z)}'?`))}validateBooleanOption(j,O,Z){return O===void 0?Z:(this.invariant(typeof O=="boolean",`'${j}' option must be a boolean.`),O)}validateStringOption(j,O,Z){return O===void 0?Z:(this.invariant(typeof O=="string",`'${j}' option must be a string.`),O)}invariant(j,O){if(!j)throw Error(this.formatMessage(O))}formatMessage(j){return`${this.descriptor}: ${j}`}}},"./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/helpers-generated.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");function j(Z,Q,R){return Object.freeze({minVersion:Z,ast:()=>Y.default.program.ast(Q,{preserveComments:!0}),metadata:R})}let O=X.default={__proto__:null,OverloadYield:j("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:j("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),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.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:j("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.includes(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:j("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:j("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:j("7.18.0",`function _regeneratorRuntime(){"use strict";
|
|
341
341
|
/*! 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:j("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:j("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:j("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:j("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:j("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:j("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"]}}),superPropGet:j("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:j("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:j("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:j("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:j("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:j("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:j("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:j("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:j("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:j("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:j("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(O,{AwaitValue:j("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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:j("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.26.0/node_modules/@babel/helpers/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0,X.get=U,X.getDependencies=function(M){return N(M).getDependencies()},X.list=void 0,X.minVersion=function(M){return N(M).minVersion};var Y=$("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),j=$("./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:O,identifier:Z}=Y;function Q(M,G,z){try{let V=G.split("."),F=V.shift();for(;V.length>0;)M=M[F],F=V.shift();if(!(arguments.length>2))return M[F];M[F]=z}catch(V){throw V.message+=` (when accessing ${G})`,V}}let R=Object.create(null);function N(M){if(!R[M]){let G=j.default[M];if(!G)throw Object.assign(ReferenceError(`Unknown helper ${M}`),{code:"BABEL_HELPER_UNKNOWN",helper:M});R[M]={minVersion:G.minVersion,build(z,V,F,J){let A=G.ast();return function(T,I,P,w,D,E){let{locals:v,dependencies:k,exportBindingAssignments:_,exportName:r}=I,t=new Set(w||[]);P&&t.add(P);for(let[f,q]of(Object.entries||((g)=>Object.keys(g).map((u)=>[u,g[u]])))(v)){let g=f;if(P&&f===r)g=P;else for(;t.has(g);)g="_"+g;if(g!==f)for(let u of q)Q(T,u,Z(g))}for(let[f,q]of(Object.entries||((g)=>Object.keys(g).map((u)=>[u,g[u]])))(k)){let g=typeof D=="function"&&D(f)||Z(f);for(let u of q)Q(T,u,O(g))}E==null||E(T,r,(f)=>{_.forEach((q)=>Q(T,q,f(Q(T,q))))})}(A,G.metadata,V,F,z,J),{nodes:A.body,globals:G.metadata.globals}},getDependencies:()=>Object.keys(G.metadata.dependencies)}}return R[M]}function U(M,G,z,V,F){if(typeof z=="object"){let J=z;z=(J==null?void 0:J.type)==="Identifier"?J.name:void 0}return N(M).build(G,z,V,F)}X.ensure=(M)=>{N(M)},X.list=Object.keys(j.default).map((M)=>M.replace(/^_/,"")),X.default=U},"./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js":(n,X)=>{function $(H,K){if(H==null)return{};var B={};for(var L in H)if({}.hasOwnProperty.call(H,L)){if(K.includes(L))continue;B[L]=H[L]}return B}Object.defineProperty(X,"__esModule",{value:!0});class Y{constructor(H,K,B){this.line=void 0,this.column=void 0,this.index=void 0,this.line=H,this.column=K,this.index=B}}class j{constructor(H,K){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=H,this.end=K}}function O(H,K){let{line:B,column:L,index:S}=H;return new Y(B,L+K,S+K)}let Z="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var Q={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Z},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Z}};let R={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"},N=(H)=>H.type==="UpdateExpression"?R.UpdateExpression[`${H.prefix}`]:R[H.type];var U={AccessorIsGenerator:({kind:H})=>`A ${H}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:H})=>`Missing initializer in ${H} 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:H})=>`\`${H}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:H})=>`'import.${H}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:H,exportName:K})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
342
342
|
- Did you mean \`export { '${H}' as '${K}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:H})=>`'${H==="ForInStatement"?"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:H})=>`Unsyntactic ${H==="BreakStatement"?"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 `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:H})=>`A string literal cannot be used as an imported binding.
|
|
343
|
-
- Did you mean \`import { "${H}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:H})=>`Expected number in radix ${H}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:H})=>`Escape sequence in keyword ${H}.`,InvalidIdentifier:({identifierName:H})=>`Invalid identifier ${H}.`,InvalidLhs:({ancestor:H})=>`Invalid left-hand side in ${N(H)}.`,InvalidLhsBinding:({ancestor:H})=>`Binding invalid left-hand side in ${N(H)}.`,InvalidLhsOptionalChaining:({ancestor:H})=>`Invalid optional chaining in the left-hand side of ${N(H)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:H})=>`Unexpected character '${H}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:H})=>`Private name #${H} 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:H})=>`Label '${H}' 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:H})=>`This experimental syntax requires enabling the parser plugin: ${H.map((K)=>JSON.stringify(K)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:H})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${H.map((K)=>JSON.stringify(K)).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:H})=>`Duplicate key "${H}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:H})=>`An export name cannot include a lone surrogate, found '\\u${H.toString(16)}'.`,ModuleExportUndefined:({localName:H})=>`Export '${H}' 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:H})=>`Private names are only allowed in property accesses (\`obj.#${H}\`) or in \`in\` expressions (\`#${H} in obj\`).`,PrivateNameRedeclaration:({identifierName:H})=>`Duplicate private name #${H}.`,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:H})=>`Unexpected keyword '${H}'.`,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:H})=>`Unexpected reserved word '${H}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:H,unexpected:K})=>`Unexpected token${K?` '${K}'.`:""}${H?`, expected "${H}"`:""}`,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:H,onlyValidPropertyName:K})=>`The only valid meta property for ${H} is ${H}.${K}.`,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:H})=>`Identifier '${H}' 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."};let M=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var G={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:H})=>`Invalid topic token ${H}. In order to use ${H} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${H}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:H})=>`Hack-style pipe body cannot be an unparenthesized ${N({type:H})}; 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.'};let z=["message"];function V(H,K,B){Object.defineProperty(H,K,{enumerable:!1,configurable:!0,value:B})}function F({toMessage:H,code:K,reasonCode:B,syntaxPlugin:L}){let S=B==="MissingPlugin"||B==="MissingOneOfPlugins";{let x={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};x[B]&&(B=x[B])}return function x(e,WZ){let zZ=SyntaxError();return zZ.code=K,zZ.reasonCode=B,zZ.loc=e,zZ.pos=e.index,zZ.syntaxPlugin=L,S&&(zZ.missingPlugin=WZ.missingPlugin),V(zZ,"clone",function(FZ={}){var _Z;let{line:oZ,column:Z0,index:K0}=(_Z=FZ.loc)!=null?_Z:e;return x(new Y(oZ,Z0,K0),Object.assign({},WZ,FZ.details))}),V(zZ,"details",WZ),Object.defineProperty(zZ,"message",{configurable:!0,get(){let FZ=`${H(WZ)} (${e.line}:${e.column})`;return this.message=FZ,FZ},set(FZ){Object.defineProperty(this,"message",{value:FZ,writable:!0})}}),zZ}}function J(H,K){if(Array.isArray(H))return(L)=>J(L,H[0]);let B={};for(let L of Object.keys(H)){let S=H[L],x=typeof S=="string"?{message:()=>S}:typeof S=="function"?{message:S}:S,{message:e}=x,WZ=$(x,z),zZ=typeof e=="string"?()=>e:e;B[L]=F(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:L,toMessage:zZ},K?{syntaxPlugin:K}:{},WZ))}return B}let A=Object.assign({},J(Q),J(U),J({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:H})=>`Assigning to '${H}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:H})=>`Binding '${H}' 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."}),J`pipelineOperator`(G)),{defineProperty:T}=Object,I=(H,K)=>{H&&T(H,K,{enumerable:!1,value:H[K]})};function P(H){return I(H.loc.start,"index"),I(H.loc.end,"index"),H}class w{constructor(H,K){this.token=void 0,this.preserveSpace=void 0,this.token=H,this.preserveSpace=!!K}}let D={brace:new w("{"),j_oTag:new w("<tag"),j_cTag:new w("</tag"),j_expr:new w("<tag>...</tag>",!0)};D.template=new w("`",!0);class E{constructor(H,K={}){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=H,this.keyword=K.keyword,this.beforeExpr=!!K.beforeExpr,this.startsExpr=!!K.startsExpr,this.rightAssociative=!!K.rightAssociative,this.isLoop=!!K.isLoop,this.isAssign=!!K.isAssign,this.prefix=!!K.prefix,this.postfix=!!K.postfix,this.binop=K.binop!=null?K.binop:null,this.updateContext=null}}let v=new Map;function k(H,K={}){K.keyword=H;let B=d(H,K);return v.set(H,B),B}function _(H,K){return d(H,{beforeExpr:!0,binop:K})}let r=-1,t=[],f=[],q=[],g=[],u=[],a=[];function d(H,K={}){var B,L,S,x;return++r,f.push(H),q.push((B=K.binop)!=null?B:-1),g.push((L=K.beforeExpr)!=null&&L),u.push((S=K.startsExpr)!=null&&S),a.push((x=K.prefix)!=null&&x),t.push(new E(H,K)),r}function o(H,K={}){var B,L,S,x;return++r,v.set(H,r),f.push(H),q.push((B=K.binop)!=null?B:-1),g.push((L=K.beforeExpr)!=null&&L),u.push((S=K.startsExpr)!=null&&S),a.push((x=K.prefix)!=null&&x),t.push(new E("name",K)),r}let m={bracketL:d("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:d("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:d("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:d("]"),bracketBarR:d("|]"),braceL:d("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:d("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:d("#{",{beforeExpr:!0,startsExpr:!0}),braceR:d("}"),braceBarR:d("|}"),parenL:d("(",{beforeExpr:!0,startsExpr:!0}),parenR:d(")"),comma:d(",",{beforeExpr:!0}),semi:d(";",{beforeExpr:!0}),colon:d(":",{beforeExpr:!0}),doubleColon:d("::",{beforeExpr:!0}),dot:d("."),question:d("?",{beforeExpr:!0}),questionDot:d("?."),arrow:d("=>",{beforeExpr:!0}),template:d("template"),ellipsis:d("...",{beforeExpr:!0}),backQuote:d("`",{startsExpr:!0}),dollarBraceL:d("${",{beforeExpr:!0,startsExpr:!0}),templateTail:d("...`",{startsExpr:!0}),templateNonTail:d("...${",{beforeExpr:!0,startsExpr:!0}),at:d("@"),hash:d("#",{startsExpr:!0}),interpreterDirective:d("#!..."),eq:d("=",{beforeExpr:!0,isAssign:!0}),assign:d("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:d("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:d("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:d("_=",{beforeExpr:!0,isAssign:!0}),incDec:d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:d("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:d("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:d("^^",{startsExpr:!0}),doubleAt:d("@@",{startsExpr:!0}),pipeline:_("|>",0),nullishCoalescing:_("??",1),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),lt:_("</>/<=/>=",7),gt:_("</>/<=/>=",7),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),bitShiftL:_("<</>>/>>>",8),bitShiftR:_("<</>>/>>>",8),plusMin:d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:d("%",{binop:10,startsExpr:!0}),star:d("*",{binop:10}),slash:_("/",10),exponent:d("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:k("in",{beforeExpr:!0,binop:7}),_instanceof:k("instanceof",{beforeExpr:!0,binop:7}),_break:k("break"),_case:k("case",{beforeExpr:!0}),_catch:k("catch"),_continue:k("continue"),_debugger:k("debugger"),_default:k("default",{beforeExpr:!0}),_else:k("else",{beforeExpr:!0}),_finally:k("finally"),_function:k("function",{startsExpr:!0}),_if:k("if"),_return:k("return",{beforeExpr:!0}),_switch:k("switch"),_throw:k("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:k("try"),_var:k("var"),_const:k("const"),_with:k("with"),_new:k("new",{beforeExpr:!0,startsExpr:!0}),_this:k("this",{startsExpr:!0}),_super:k("super",{startsExpr:!0}),_class:k("class",{startsExpr:!0}),_extends:k("extends",{beforeExpr:!0}),_export:k("export"),_import:k("import",{startsExpr:!0}),_null:k("null",{startsExpr:!0}),_true:k("true",{startsExpr:!0}),_false:k("false",{startsExpr:!0}),_typeof:k("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:k("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:k("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:k("do",{isLoop:!0,beforeExpr:!0}),_for:k("for",{isLoop:!0}),_while:k("while",{isLoop:!0}),_as:o("as",{startsExpr:!0}),_assert:o("assert",{startsExpr:!0}),_async:o("async",{startsExpr:!0}),_await:o("await",{startsExpr:!0}),_defer:o("defer",{startsExpr:!0}),_from:o("from",{startsExpr:!0}),_get:o("get",{startsExpr:!0}),_let:o("let",{startsExpr:!0}),_meta:o("meta",{startsExpr:!0}),_of:o("of",{startsExpr:!0}),_sent:o("sent",{startsExpr:!0}),_set:o("set",{startsExpr:!0}),_source:o("source",{startsExpr:!0}),_static:o("static",{startsExpr:!0}),_using:o("using",{startsExpr:!0}),_yield:o("yield",{startsExpr:!0}),_asserts:o("asserts",{startsExpr:!0}),_checks:o("checks",{startsExpr:!0}),_exports:o("exports",{startsExpr:!0}),_global:o("global",{startsExpr:!0}),_implements:o("implements",{startsExpr:!0}),_intrinsic:o("intrinsic",{startsExpr:!0}),_infer:o("infer",{startsExpr:!0}),_is:o("is",{startsExpr:!0}),_mixins:o("mixins",{startsExpr:!0}),_proto:o("proto",{startsExpr:!0}),_require:o("require",{startsExpr:!0}),_satisfies:o("satisfies",{startsExpr:!0}),_keyof:o("keyof",{startsExpr:!0}),_readonly:o("readonly",{startsExpr:!0}),_unique:o("unique",{startsExpr:!0}),_abstract:o("abstract",{startsExpr:!0}),_declare:o("declare",{startsExpr:!0}),_enum:o("enum",{startsExpr:!0}),_module:o("module",{startsExpr:!0}),_namespace:o("namespace",{startsExpr:!0}),_interface:o("interface",{startsExpr:!0}),_type:o("type",{startsExpr:!0}),_opaque:o("opaque",{startsExpr:!0}),name:d("name",{startsExpr:!0}),placeholder:d("%%",{startsExpr:!0}),string:d("string",{startsExpr:!0}),num:d("num",{startsExpr:!0}),bigint:d("bigint",{startsExpr:!0}),decimal:d("decimal",{startsExpr:!0}),regexp:d("regexp",{startsExpr:!0}),privateName:d("#name",{startsExpr:!0}),eof:d("eof"),jsxName:d("jsxName"),jsxText:d("jsxText",{beforeExpr:!0}),jsxTagStart:d("jsxTagStart",{startsExpr:!0}),jsxTagEnd:d("jsxTagEnd")};function b(H){return H>=93&&H<=133}function p(H){return H>=58&&H<=133}function i(H){return H>=58&&H<=137}function s(H){return u[H]}function HZ(H){return H>=129&&H<=131}function GZ(H){return H>=58&&H<=92}function AZ(H){return f[H]}function SZ(H){return q[H]}function CZ(H){return H>=24&&H<=25}function XZ(H){return t[H]}t[8].updateContext=(H)=>{H.pop()},t[5].updateContext=t[7].updateContext=t[23].updateContext=(H)=>{H.push(D.brace)},t[22].updateContext=(H)=>{H[H.length-1]===D.template?H.pop():H.push(D.template)},t[143].updateContext=(H)=>{H.push(D.j_expr,D.j_oTag)};let YZ="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",OZ="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",UZ=new RegExp("["+YZ+"]"),VZ=new RegExp("["+YZ+OZ+"]");YZ=OZ=null;let jZ=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],JZ=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function NZ(H,K){let B=65536;for(let L=0,S=K.length;L<S;L+=2){if(B+=K[L],B>H)return!1;if(B+=K[L+1],B>=H)return!0}return!1}function c(H){return H<65?H===36:H<=90||(H<97?H===95:H<=122||(H<=65535?H>=170&&UZ.test(String.fromCharCode(H)):NZ(H,jZ)))}function TZ(H){return H<48?H===36:H<58||!(H<65)&&(H<=90||(H<97?H===95:H<=122||(H<=65535?H>=170&&VZ.test(String.fromCharCode(H)):NZ(H,jZ)||NZ(H,JZ))))}let nZ=["implements","interface","let","package","private","protected","public","static","yield"],sZ=["eval","arguments"],Q0=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"]),dZ=new Set(nZ),$Z=new Set(sZ);function PZ(H,K){return K&&H==="await"||H==="enum"}function wZ(H,K){return PZ(H,K)||dZ.has(H)}function DZ(H){return $Z.has(H)}function l(H,K){return wZ(H,K)||DZ(H)}let ZZ=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 LZ{constructor(H){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=H}}class qZ{constructor(H,K){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=H,this.inModule=K}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(){let H=this.currentThisScopeFlags();return(64&H)>0&&!(2&H)}get inStaticBlock(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(128&K)return!0;if(451&K)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(H){return new LZ(H)}enter(H){this.scopeStack.push(this.createScope(H))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(H){return!!(130&H.flags||!this.parser.inModule&&1&H.flags)}declareName(H,K,B){let L=this.currentScope();if(8&K||16&K){this.checkRedeclarationInScope(L,H,K,B);let S=L.names.get(H)||0;16&K?S|=4:(L.firstLexicalName||(L.firstLexicalName=H),S|=2),L.names.set(H,S),8&K&&this.maybeExportDefined(L,H)}else if(4&K)for(let S=this.scopeStack.length-1;S>=0&&(L=this.scopeStack[S],this.checkRedeclarationInScope(L,H,K,B),L.names.set(H,1|(L.names.get(H)||0)),this.maybeExportDefined(L,H),!(387&L.flags));--S);this.parser.inModule&&1&L.flags&&this.undefinedExports.delete(H)}maybeExportDefined(H,K){this.parser.inModule&&1&H.flags&&this.undefinedExports.delete(K)}checkRedeclarationInScope(H,K,B,L){this.isRedeclaredInScope(H,K,B)&&this.parser.raise(A.VarRedeclaration,L,{identifierName:K})}isRedeclaredInScope(H,K,B){if(!(1&B))return!1;if(8&B)return H.names.has(K);let L=H.names.get(K);return 16&B?(2&L)>0||!this.treatFunctionsAsVarInScope(H)&&(1&L)>0:(2&L)>0&&!(8&H.flags&&H.firstLexicalName===K)||!this.treatFunctionsAsVarInScope(H)&&(4&L)>0}checkLocalExport(H){let{name:K}=H;this.scopeStack[0].names.has(K)||this.undefinedExports.set(K,H.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(387&K)return K}}currentThisScopeFlags(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(451&K&&!(4&K))return K}}}class kZ extends LZ{constructor(...H){super(...H),this.declareFunctions=new Set}}class lZ extends qZ{createScope(H){return new kZ(H)}declareName(H,K,B){let L=this.currentScope();if(2048&K)return this.checkRedeclarationInScope(L,H,K,B),this.maybeExportDefined(L,H),void L.declareFunctions.add(H);super.declareName(H,K,B)}isRedeclaredInScope(H,K,B){if(super.isRedeclaredInScope(H,K,B))return!0;if(2048&B&&!H.declareFunctions.has(K)){let L=H.names.get(K);return(4&L)>0||(2&L)>0}return!1}checkLocalExport(H){this.scopeStack[0].declareFunctions.has(H.name)||super.checkLocalExport(H)}}class aZ{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(H){return H+this.startIndex}offsetToSourcePos(H){return H-this.startIndex}hasPlugin(H){if(typeof H=="string")return this.plugins.has(H);{let[K,B]=H;if(!this.hasPlugin(K))return!1;let L=this.plugins.get(K);for(let S of Object.keys(B))if((L==null?void 0:L[S])!==B[S])return!1;return!0}}getPluginOption(H,K){var B;return(B=this.plugins.get(H))==null?void 0:B[K]}}function W0(H,K){H.trailingComments===void 0?H.trailingComments=K:H.trailingComments.unshift(...K)}function KZ(H,K){H.innerComments===void 0?H.innerComments=K:H.innerComments.unshift(...K)}function MZ(H,K,B){let L=null,S=K.length;for(;L===null&&S>0;)L=K[--S];L===null||L.start>B.start?KZ(H,B.comments):W0(L,B.comments)}class yZ extends aZ{addComment(H){this.filename&&(H.loc.filename=this.filename);let{commentsLen:K}=this.state;this.comments.length!==K&&(this.comments.length=K),this.comments.push(H),this.state.commentsLen++}processComment(H){let{commentStack:K}=this.state,B=K.length;if(B===0)return;let L=B-1,S=K[L];S.start===H.end&&(S.leadingNode=H,L--);let{start:x}=H;for(;L>=0;L--){let e=K[L],WZ=e.end;if(!(WZ>x)){WZ===x&&(e.trailingNode=H);break}e.containingNode=H,this.finalizeComment(e),K.splice(L,1)}}finalizeComment(H){let{comments:K}=H;if(H.leadingNode!==null||H.trailingNode!==null)H.leadingNode!==null&&W0(H.leadingNode,K),H.trailingNode!==null&&function(B,L){B.leadingComments===void 0?B.leadingComments=L:B.leadingComments.unshift(...L)}(H.trailingNode,K);else{let{containingNode:B,start:L}=H;if(this.input.charCodeAt(this.offsetToSourcePos(L)-1)===44)switch(B.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":MZ(B,B.properties,H);break;case"CallExpression":case"OptionalCallExpression":MZ(B,B.arguments,H);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":MZ(B,B.params,H);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":MZ(B,B.elements,H);break;case"ExportNamedDeclaration":case"ImportDeclaration":MZ(B,B.specifiers,H);break;default:KZ(B,K)}else KZ(B,K)}}finalizeRemainingComments(){let{commentStack:H}=this.state;for(let K=H.length-1;K>=0;K--)this.finalizeComment(H[K]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(H){let{commentStack:K}=this.state,{length:B}=K;if(B===0)return;let L=K[B-1];L.leadingNode===H&&(L.leadingNode=null)}resetPreviousIdentifierLeadingComments(H){let{commentStack:K}=this.state,{length:B}=K;B!==0&&(K[B-1].trailingNode===H?K[B-1].trailingNode=null:B>=2&&K[B-2].trailingNode===H&&(K[B-2].trailingNode=null))}takeSurroundingComments(H,K,B){let{commentStack:L}=this.state,S=L.length;if(S===0)return;let x=S-1;for(;x>=0;x--){let e=L[x],WZ=e.end;if(e.start===B)e.leadingNode=H;else if(WZ===K)e.trailingNode=H;else if(WZ<K)break}}}let bZ=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function pZ(H){switch(H){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function uZ(H,K,B){for(let L=K;L<B;L++)if(pZ(H.charCodeAt(L)))return!0;return!1}let mZ=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,hZ=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function eZ(H){switch(H){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 O0{constructor(){this.flags=1024,this.startIndex=void 0,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=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[D.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(H){H?this.flags|=1:this.flags&=-2}init({strictMode:H,sourceType:K,startIndex:B,startLine:L,startColumn:S}){this.strict=H!==!1&&(H===!0||K==="module"),this.startIndex=B,this.curLine=L,this.lineStart=-S,this.startLoc=this.endLoc=new Y(L,S,B)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(H){H?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(H){H?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(H){H?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(H){H?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(H){H?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(H){H?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(H){H?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(H){H?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(H){H?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(H){H?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(H){H?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(H){H?this.flags|=4096:this.flags&=-4097}curPosition(){return new Y(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let H=new O0;return H.flags=this.flags,H.startIndex=this.startIndex,H.curLine=this.curLine,H.lineStart=this.lineStart,H.startLoc=this.startLoc,H.endLoc=this.endLoc,H.errors=this.errors.slice(),H.potentialArrowAt=this.potentialArrowAt,H.noArrowAt=this.noArrowAt.slice(),H.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),H.topicContext=this.topicContext,H.labels=this.labels.slice(),H.commentsLen=this.commentsLen,H.commentStack=this.commentStack.slice(),H.pos=this.pos,H.type=this.type,H.value=this.value,H.start=this.start,H.end=this.end,H.lastTokEndLoc=this.lastTokEndLoc,H.lastTokStartLoc=this.lastTokStartLoc,H.context=this.context.slice(),H.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,H.strictErrors=this.strictErrors,H.tokensLength=this.tokensLength,H}}var EZ=function(H){return H>=48&&H<=57};let Y0={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},H0={bin:(H)=>H===48||H===49,oct:(H)=>H>=48&&H<=55,dec:(H)=>H>=48&&H<=57,hex:(H)=>H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102};function M0(H,K,B,L,S,x){let e=B,WZ=L,zZ=S,FZ="",_Z=null,oZ=B,{length:Z0}=K;for(;;){if(B>=Z0){x.unterminated(e,WZ,zZ),FZ+=K.slice(oZ,B);break}let K0=K.charCodeAt(B);if(v0(H,K0,K,B)){FZ+=K.slice(oZ,B);break}if(K0===92){FZ+=K.slice(oZ,B);let D0=m0(K,B,L,S,H==="template",x);D0.ch!==null||_Z?FZ+=D0.ch:_Z={pos:B,lineStart:L,curLine:S},{pos:B,lineStart:L,curLine:S}=D0,oZ=B}else K0===8232||K0===8233?(++S,L=++B):K0===10||K0===13?H==="template"?(FZ+=K.slice(oZ,B)+`
|
|
343
|
+
- Did you mean \`import { "${H}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:H})=>`Expected number in radix ${H}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:H})=>`Escape sequence in keyword ${H}.`,InvalidIdentifier:({identifierName:H})=>`Invalid identifier ${H}.`,InvalidLhs:({ancestor:H})=>`Invalid left-hand side in ${N(H)}.`,InvalidLhsBinding:({ancestor:H})=>`Binding invalid left-hand side in ${N(H)}.`,InvalidLhsOptionalChaining:({ancestor:H})=>`Invalid optional chaining in the left-hand side of ${N(H)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:H})=>`Unexpected character '${H}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:H})=>`Private name #${H} 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:H})=>`Label '${H}' 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:H})=>`This experimental syntax requires enabling the parser plugin: ${H.map((K)=>JSON.stringify(K)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:H})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${H.map((K)=>JSON.stringify(K)).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:H})=>`Duplicate key "${H}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:H})=>`An export name cannot include a lone surrogate, found '\\u${H.toString(16)}'.`,ModuleExportUndefined:({localName:H})=>`Export '${H}' 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:H})=>`Private names are only allowed in property accesses (\`obj.#${H}\`) or in \`in\` expressions (\`#${H} in obj\`).`,PrivateNameRedeclaration:({identifierName:H})=>`Duplicate private name #${H}.`,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:H})=>`Unexpected keyword '${H}'.`,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:H})=>`Unexpected reserved word '${H}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:H,unexpected:K})=>`Unexpected token${K?` '${K}'.`:""}${H?`, expected "${H}"`:""}`,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:H,onlyValidPropertyName:K})=>`The only valid meta property for ${H} is ${H}.${K}.`,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:H})=>`Identifier '${H}' 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."};let M=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var G={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:H})=>`Invalid topic token ${H}. In order to use ${H} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${H}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:H})=>`Hack-style pipe body cannot be an unparenthesized ${N({type:H})}; 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.'};let z=["message"];function V(H,K,B){Object.defineProperty(H,K,{enumerable:!1,configurable:!0,value:B})}function F({toMessage:H,code:K,reasonCode:B,syntaxPlugin:L}){let S=B==="MissingPlugin"||B==="MissingOneOfPlugins";{let x={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};x[B]&&(B=x[B])}return function x(e,WZ){let zZ=SyntaxError();return zZ.code=K,zZ.reasonCode=B,zZ.loc=e,zZ.pos=e.index,zZ.syntaxPlugin=L,S&&(zZ.missingPlugin=WZ.missingPlugin),V(zZ,"clone",function(FZ={}){var _Z;let{line:oZ,column:Z0,index:K0}=(_Z=FZ.loc)!=null?_Z:e;return x(new Y(oZ,Z0,K0),Object.assign({},WZ,FZ.details))}),V(zZ,"details",WZ),Object.defineProperty(zZ,"message",{configurable:!0,get(){let FZ=`${H(WZ)} (${e.line}:${e.column})`;return this.message=FZ,FZ},set(FZ){Object.defineProperty(this,"message",{value:FZ,writable:!0})}}),zZ}}function J(H,K){if(Array.isArray(H))return(L)=>J(L,H[0]);let B={};for(let L of Object.keys(H)){let S=H[L],x=typeof S=="string"?{message:()=>S}:typeof S=="function"?{message:S}:S,{message:e}=x,WZ=$(x,z),zZ=typeof e=="string"?()=>e:e;B[L]=F(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:L,toMessage:zZ},K?{syntaxPlugin:K}:{},WZ))}return B}let A=Object.assign({},J(Q),J(U),J({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:H})=>`Assigning to '${H}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:H})=>`Binding '${H}' 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."}),J`pipelineOperator`(G)),{defineProperty:T}=Object,I=(H,K)=>{H&&T(H,K,{enumerable:!1,value:H[K]})};function P(H){return I(H.loc.start,"index"),I(H.loc.end,"index"),H}class w{constructor(H,K){this.token=void 0,this.preserveSpace=void 0,this.token=H,this.preserveSpace=!!K}}let D={brace:new w("{"),j_oTag:new w("<tag"),j_cTag:new w("</tag"),j_expr:new w("<tag>...</tag>",!0)};D.template=new w("`",!0);class E{constructor(H,K={}){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=H,this.keyword=K.keyword,this.beforeExpr=!!K.beforeExpr,this.startsExpr=!!K.startsExpr,this.rightAssociative=!!K.rightAssociative,this.isLoop=!!K.isLoop,this.isAssign=!!K.isAssign,this.prefix=!!K.prefix,this.postfix=!!K.postfix,this.binop=K.binop!=null?K.binop:null,this.updateContext=null}}let v=new Map;function k(H,K={}){K.keyword=H;let B=d(H,K);return v.set(H,B),B}function _(H,K){return d(H,{beforeExpr:!0,binop:K})}let r=-1,t=[],f=[],q=[],g=[],u=[],a=[];function d(H,K={}){var B,L,S,x;return++r,f.push(H),q.push((B=K.binop)!=null?B:-1),g.push((L=K.beforeExpr)!=null&&L),u.push((S=K.startsExpr)!=null&&S),a.push((x=K.prefix)!=null&&x),t.push(new E(H,K)),r}function o(H,K={}){var B,L,S,x;return++r,v.set(H,r),f.push(H),q.push((B=K.binop)!=null?B:-1),g.push((L=K.beforeExpr)!=null&&L),u.push((S=K.startsExpr)!=null&&S),a.push((x=K.prefix)!=null&&x),t.push(new E("name",K)),r}let m={bracketL:d("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:d("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:d("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:d("]"),bracketBarR:d("|]"),braceL:d("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:d("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:d("#{",{beforeExpr:!0,startsExpr:!0}),braceR:d("}"),braceBarR:d("|}"),parenL:d("(",{beforeExpr:!0,startsExpr:!0}),parenR:d(")"),comma:d(",",{beforeExpr:!0}),semi:d(";",{beforeExpr:!0}),colon:d(":",{beforeExpr:!0}),doubleColon:d("::",{beforeExpr:!0}),dot:d("."),question:d("?",{beforeExpr:!0}),questionDot:d("?."),arrow:d("=>",{beforeExpr:!0}),template:d("template"),ellipsis:d("...",{beforeExpr:!0}),backQuote:d("`",{startsExpr:!0}),dollarBraceL:d("${",{beforeExpr:!0,startsExpr:!0}),templateTail:d("...`",{startsExpr:!0}),templateNonTail:d("...${",{beforeExpr:!0,startsExpr:!0}),at:d("@"),hash:d("#",{startsExpr:!0}),interpreterDirective:d("#!..."),eq:d("=",{beforeExpr:!0,isAssign:!0}),assign:d("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:d("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:d("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:d("_=",{beforeExpr:!0,isAssign:!0}),incDec:d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:d("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:d("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:d("^^",{startsExpr:!0}),doubleAt:d("@@",{startsExpr:!0}),pipeline:_("|>",0),nullishCoalescing:_("??",1),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),lt:_("</>/<=/>=",7),gt:_("</>/<=/>=",7),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),bitShiftL:_("<</>>/>>>",8),bitShiftR:_("<</>>/>>>",8),plusMin:d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:d("%",{binop:10,startsExpr:!0}),star:d("*",{binop:10}),slash:_("/",10),exponent:d("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:k("in",{beforeExpr:!0,binop:7}),_instanceof:k("instanceof",{beforeExpr:!0,binop:7}),_break:k("break"),_case:k("case",{beforeExpr:!0}),_catch:k("catch"),_continue:k("continue"),_debugger:k("debugger"),_default:k("default",{beforeExpr:!0}),_else:k("else",{beforeExpr:!0}),_finally:k("finally"),_function:k("function",{startsExpr:!0}),_if:k("if"),_return:k("return",{beforeExpr:!0}),_switch:k("switch"),_throw:k("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:k("try"),_var:k("var"),_const:k("const"),_with:k("with"),_new:k("new",{beforeExpr:!0,startsExpr:!0}),_this:k("this",{startsExpr:!0}),_super:k("super",{startsExpr:!0}),_class:k("class",{startsExpr:!0}),_extends:k("extends",{beforeExpr:!0}),_export:k("export"),_import:k("import",{startsExpr:!0}),_null:k("null",{startsExpr:!0}),_true:k("true",{startsExpr:!0}),_false:k("false",{startsExpr:!0}),_typeof:k("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:k("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:k("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:k("do",{isLoop:!0,beforeExpr:!0}),_for:k("for",{isLoop:!0}),_while:k("while",{isLoop:!0}),_as:o("as",{startsExpr:!0}),_assert:o("assert",{startsExpr:!0}),_async:o("async",{startsExpr:!0}),_await:o("await",{startsExpr:!0}),_defer:o("defer",{startsExpr:!0}),_from:o("from",{startsExpr:!0}),_get:o("get",{startsExpr:!0}),_let:o("let",{startsExpr:!0}),_meta:o("meta",{startsExpr:!0}),_of:o("of",{startsExpr:!0}),_sent:o("sent",{startsExpr:!0}),_set:o("set",{startsExpr:!0}),_source:o("source",{startsExpr:!0}),_static:o("static",{startsExpr:!0}),_using:o("using",{startsExpr:!0}),_yield:o("yield",{startsExpr:!0}),_asserts:o("asserts",{startsExpr:!0}),_checks:o("checks",{startsExpr:!0}),_exports:o("exports",{startsExpr:!0}),_global:o("global",{startsExpr:!0}),_implements:o("implements",{startsExpr:!0}),_intrinsic:o("intrinsic",{startsExpr:!0}),_infer:o("infer",{startsExpr:!0}),_is:o("is",{startsExpr:!0}),_mixins:o("mixins",{startsExpr:!0}),_proto:o("proto",{startsExpr:!0}),_require:o("require",{startsExpr:!0}),_satisfies:o("satisfies",{startsExpr:!0}),_keyof:o("keyof",{startsExpr:!0}),_readonly:o("readonly",{startsExpr:!0}),_unique:o("unique",{startsExpr:!0}),_abstract:o("abstract",{startsExpr:!0}),_declare:o("declare",{startsExpr:!0}),_enum:o("enum",{startsExpr:!0}),_module:o("module",{startsExpr:!0}),_namespace:o("namespace",{startsExpr:!0}),_interface:o("interface",{startsExpr:!0}),_type:o("type",{startsExpr:!0}),_opaque:o("opaque",{startsExpr:!0}),name:d("name",{startsExpr:!0}),placeholder:d("%%",{startsExpr:!0}),string:d("string",{startsExpr:!0}),num:d("num",{startsExpr:!0}),bigint:d("bigint",{startsExpr:!0}),decimal:d("decimal",{startsExpr:!0}),regexp:d("regexp",{startsExpr:!0}),privateName:d("#name",{startsExpr:!0}),eof:d("eof"),jsxName:d("jsxName"),jsxText:d("jsxText",{beforeExpr:!0}),jsxTagStart:d("jsxTagStart",{startsExpr:!0}),jsxTagEnd:d("jsxTagEnd")};function b(H){return H>=93&&H<=133}function p(H){return H>=58&&H<=133}function i(H){return H>=58&&H<=137}function s(H){return u[H]}function HZ(H){return H>=129&&H<=131}function GZ(H){return H>=58&&H<=92}function AZ(H){return f[H]}function SZ(H){return q[H]}function CZ(H){return H>=24&&H<=25}function XZ(H){return t[H]}t[8].updateContext=(H)=>{H.pop()},t[5].updateContext=t[7].updateContext=t[23].updateContext=(H)=>{H.push(D.brace)},t[22].updateContext=(H)=>{H[H.length-1]===D.template?H.pop():H.push(D.template)},t[143].updateContext=(H)=>{H.push(D.j_expr,D.j_oTag)};let YZ="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",OZ="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",UZ=new RegExp("["+YZ+"]"),VZ=new RegExp("["+YZ+OZ+"]");YZ=OZ=null;let jZ=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],JZ=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function NZ(H,K){let B=65536;for(let L=0,S=K.length;L<S;L+=2){if(B+=K[L],B>H)return!1;if(B+=K[L+1],B>=H)return!0}return!1}function c(H){return H<65?H===36:H<=90||(H<97?H===95:H<=122||(H<=65535?H>=170&&UZ.test(String.fromCharCode(H)):NZ(H,jZ)))}function TZ(H){return H<48?H===36:H<58||!(H<65)&&(H<=90||(H<97?H===95:H<=122||(H<=65535?H>=170&&VZ.test(String.fromCharCode(H)):NZ(H,jZ)||NZ(H,JZ))))}let nZ=["implements","interface","let","package","private","protected","public","static","yield"],sZ=["eval","arguments"],Q0=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"]),dZ=new Set(nZ),$Z=new Set(sZ);function PZ(H,K){return K&&H==="await"||H==="enum"}function wZ(H,K){return PZ(H,K)||dZ.has(H)}function DZ(H){return $Z.has(H)}function l(H,K){return wZ(H,K)||DZ(H)}let ZZ=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 LZ{constructor(H){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=H}}class qZ{constructor(H,K){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=H,this.inModule=K}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(){let H=this.currentThisScopeFlags();return(64&H)>0&&!(2&H)}get inStaticBlock(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(128&K)return!0;if(451&K)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(H){return new LZ(H)}enter(H){this.scopeStack.push(this.createScope(H))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(H){return!!(130&H.flags||!this.parser.inModule&&1&H.flags)}declareName(H,K,B){let L=this.currentScope();if(8&K||16&K){this.checkRedeclarationInScope(L,H,K,B);let S=L.names.get(H)||0;16&K?S|=4:(L.firstLexicalName||(L.firstLexicalName=H),S|=2),L.names.set(H,S),8&K&&this.maybeExportDefined(L,H)}else if(4&K)for(let S=this.scopeStack.length-1;S>=0&&(L=this.scopeStack[S],this.checkRedeclarationInScope(L,H,K,B),L.names.set(H,1|(L.names.get(H)||0)),this.maybeExportDefined(L,H),!(387&L.flags));--S);this.parser.inModule&&1&L.flags&&this.undefinedExports.delete(H)}maybeExportDefined(H,K){this.parser.inModule&&1&H.flags&&this.undefinedExports.delete(K)}checkRedeclarationInScope(H,K,B,L){this.isRedeclaredInScope(H,K,B)&&this.parser.raise(A.VarRedeclaration,L,{identifierName:K})}isRedeclaredInScope(H,K,B){if(!(1&B))return!1;if(8&B)return H.names.has(K);let L=H.names.get(K);return 16&B?(2&L)>0||!this.treatFunctionsAsVarInScope(H)&&(1&L)>0:(2&L)>0&&!(8&H.flags&&H.firstLexicalName===K)||!this.treatFunctionsAsVarInScope(H)&&(4&L)>0}checkLocalExport(H){let{name:K}=H;this.scopeStack[0].names.has(K)||this.undefinedExports.set(K,H.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(387&K)return K}}currentThisScopeFlags(){for(let H=this.scopeStack.length-1;;H--){let{flags:K}=this.scopeStack[H];if(451&K&&!(4&K))return K}}}class kZ extends LZ{constructor(...H){super(...H),this.declareFunctions=new Set}}class lZ extends qZ{createScope(H){return new kZ(H)}declareName(H,K,B){let L=this.currentScope();if(2048&K)return this.checkRedeclarationInScope(L,H,K,B),this.maybeExportDefined(L,H),void L.declareFunctions.add(H);super.declareName(H,K,B)}isRedeclaredInScope(H,K,B){if(super.isRedeclaredInScope(H,K,B))return!0;if(2048&B&&!H.declareFunctions.has(K)){let L=H.names.get(K);return(4&L)>0||(2&L)>0}return!1}checkLocalExport(H){this.scopeStack[0].declareFunctions.has(H.name)||super.checkLocalExport(H)}}class aZ{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(H){return H+this.startIndex}offsetToSourcePos(H){return H-this.startIndex}hasPlugin(H){if(typeof H=="string")return this.plugins.has(H);{let[K,B]=H;if(!this.hasPlugin(K))return!1;let L=this.plugins.get(K);for(let S of Object.keys(B))if((L==null?void 0:L[S])!==B[S])return!1;return!0}}getPluginOption(H,K){var B;return(B=this.plugins.get(H))==null?void 0:B[K]}}function W0(H,K){H.trailingComments===void 0?H.trailingComments=K:H.trailingComments.unshift(...K)}function KZ(H,K){H.innerComments===void 0?H.innerComments=K:H.innerComments.unshift(...K)}function MZ(H,K,B){let L=null,S=K.length;for(;L===null&&S>0;)L=K[--S];L===null||L.start>B.start?KZ(H,B.comments):W0(L,B.comments)}class yZ extends aZ{addComment(H){this.filename&&(H.loc.filename=this.filename);let{commentsLen:K}=this.state;this.comments.length!==K&&(this.comments.length=K),this.comments.push(H),this.state.commentsLen++}processComment(H){let{commentStack:K}=this.state,B=K.length;if(B===0)return;let L=B-1,S=K[L];S.start===H.end&&(S.leadingNode=H,L--);let{start:x}=H;for(;L>=0;L--){let e=K[L],WZ=e.end;if(!(WZ>x)){WZ===x&&(e.trailingNode=H);break}e.containingNode=H,this.finalizeComment(e),K.splice(L,1)}}finalizeComment(H){let{comments:K}=H;if(H.leadingNode!==null||H.trailingNode!==null)H.leadingNode!==null&&W0(H.leadingNode,K),H.trailingNode!==null&&function(B,L){B.leadingComments===void 0?B.leadingComments=L:B.leadingComments.unshift(...L)}(H.trailingNode,K);else{let{containingNode:B,start:L}=H;if(this.input.charCodeAt(this.offsetToSourcePos(L)-1)===44)switch(B.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":MZ(B,B.properties,H);break;case"CallExpression":case"OptionalCallExpression":MZ(B,B.arguments,H);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":MZ(B,B.params,H);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":MZ(B,B.elements,H);break;case"ExportNamedDeclaration":case"ImportDeclaration":MZ(B,B.specifiers,H);break;default:KZ(B,K)}else KZ(B,K)}}finalizeRemainingComments(){let{commentStack:H}=this.state;for(let K=H.length-1;K>=0;K--)this.finalizeComment(H[K]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(H){let{commentStack:K}=this.state,{length:B}=K;if(B===0)return;let L=K[B-1];L.leadingNode===H&&(L.leadingNode=null)}resetPreviousIdentifierLeadingComments(H){let{commentStack:K}=this.state,{length:B}=K;B!==0&&(K[B-1].trailingNode===H?K[B-1].trailingNode=null:B>=2&&K[B-2].trailingNode===H&&(K[B-2].trailingNode=null))}takeSurroundingComments(H,K,B){let{commentStack:L}=this.state,S=L.length;if(S===0)return;let x=S-1;for(;x>=0;x--){let e=L[x],WZ=e.end;if(e.start===B)e.leadingNode=H;else if(WZ===K)e.trailingNode=H;else if(WZ<K)break}}}let bZ=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function pZ(H){switch(H){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function uZ(H,K,B){for(let L=K;L<B;L++)if(pZ(H.charCodeAt(L)))return!0;return!1}let mZ=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,hZ=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function eZ(H){switch(H){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 J0{constructor(){this.flags=1024,this.startIndex=void 0,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=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[D.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(H){H?this.flags|=1:this.flags&=-2}init({strictMode:H,sourceType:K,startIndex:B,startLine:L,startColumn:S}){this.strict=H!==!1&&(H===!0||K==="module"),this.startIndex=B,this.curLine=L,this.lineStart=-S,this.startLoc=this.endLoc=new Y(L,S,B)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(H){H?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(H){H?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(H){H?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(H){H?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(H){H?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(H){H?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(H){H?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(H){H?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(H){H?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(H){H?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(H){H?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(H){H?this.flags|=4096:this.flags&=-4097}curPosition(){return new Y(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let H=new J0;return H.flags=this.flags,H.startIndex=this.startIndex,H.curLine=this.curLine,H.lineStart=this.lineStart,H.startLoc=this.startLoc,H.endLoc=this.endLoc,H.errors=this.errors.slice(),H.potentialArrowAt=this.potentialArrowAt,H.noArrowAt=this.noArrowAt.slice(),H.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),H.topicContext=this.topicContext,H.labels=this.labels.slice(),H.commentsLen=this.commentsLen,H.commentStack=this.commentStack.slice(),H.pos=this.pos,H.type=this.type,H.value=this.value,H.start=this.start,H.end=this.end,H.lastTokEndLoc=this.lastTokEndLoc,H.lastTokStartLoc=this.lastTokStartLoc,H.context=this.context.slice(),H.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,H.strictErrors=this.strictErrors,H.tokensLength=this.tokensLength,H}}var EZ=function(H){return H>=48&&H<=57};let Y0={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},H0={bin:(H)=>H===48||H===49,oct:(H)=>H>=48&&H<=55,dec:(H)=>H>=48&&H<=57,hex:(H)=>H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102};function M0(H,K,B,L,S,x){let e=B,WZ=L,zZ=S,FZ="",_Z=null,oZ=B,{length:Z0}=K;for(;;){if(B>=Z0){x.unterminated(e,WZ,zZ),FZ+=K.slice(oZ,B);break}let K0=K.charCodeAt(B);if(v0(H,K0,K,B)){FZ+=K.slice(oZ,B);break}if(K0===92){FZ+=K.slice(oZ,B);let D0=m0(K,B,L,S,H==="template",x);D0.ch!==null||_Z?FZ+=D0.ch:_Z={pos:B,lineStart:L,curLine:S},{pos:B,lineStart:L,curLine:S}=D0,oZ=B}else K0===8232||K0===8233?(++S,L=++B):K0===10||K0===13?H==="template"?(FZ+=K.slice(oZ,B)+`
|
|
344
344
|
`,++B,K0===13&&K.charCodeAt(B)===10&&++B,++S,oZ=L=B):x.unterminated(e,WZ,zZ):++B}return{pos:B,str:FZ,firstInvalidLoc:_Z,lineStart:L,curLine:S,containsInvalid:!!_Z}}function v0(H,K,B,L){return H==="template"?K===96||K===36&&B.charCodeAt(L+1)===123:K===(H==="double"?34:39)}function m0(H,K,B,L,S,x){let e=!S;K++;let WZ=(FZ)=>({pos:K,ch:FZ,lineStart:B,curLine:L}),zZ=H.charCodeAt(K++);switch(zZ){case 110:return WZ(`
|
|
345
|
-
`);case 114:return WZ("\r");case 120:{let FZ;return{code:FZ,pos:K}=X5(H,K,B,L,2,!1,e,x),WZ(FZ===null?null:String.fromCharCode(FZ))}case 117:{let FZ;return{code:FZ,pos:K}=u0(H,K,B,L,e,x),WZ(FZ===null?null:String.fromCodePoint(FZ))}case 116:return WZ("\t");case 98:return WZ("\b");case 118:return WZ("\v");case 102:return WZ("\f");case 13:H.charCodeAt(K)===10&&++K;case 10:B=K,++L;case 8232:case 8233:return WZ("");case 56:case 57:if(S)return WZ(null);x.strictNumericEscape(K-1,B,L);default:if(zZ>=48&&zZ<=55){let FZ=K-1,_Z=/^[0-7]+/.exec(H.slice(FZ,K+2))[0],oZ=parseInt(_Z,8);oZ>255&&(_Z=_Z.slice(0,-1),oZ=parseInt(_Z,8)),K+=_Z.length-1;let Z0=H.charCodeAt(K);if(_Z!=="0"||Z0===56||Z0===57){if(S)return WZ(null);x.strictNumericEscape(FZ,B,L)}return WZ(String.fromCharCode(oZ))}return WZ(String.fromCharCode(zZ))}}function X5(H,K,B,L,S,x,e,WZ){let zZ=K,FZ;return{n:FZ,pos:K}=d0(H,K,B,L,16,S,x,!1,WZ,!e),FZ===null&&(e?WZ.invalidEscapeSequence(zZ,B,L):K=zZ-1),{code:FZ,pos:K}}function d0(H,K,B,L,S,x,e,WZ,zZ,FZ){let _Z=K,oZ=S===16?Y0.hex:Y0.decBinOct,Z0=S===16?H0.hex:S===10?H0.dec:S===8?H0.oct:H0.bin,K0=!1,D0=0;for(let r0=0,S0=x==null?1/0:x;r0<S0;++r0){let k0=H.charCodeAt(K),Q5;if(k0!==95||WZ==="bail"){if(Q5=k0>=97?k0-97+10:k0>=65?k0-65+10:EZ(k0)?k0-48:1/0,Q5>=S){if(Q5<=9&&FZ)return{n:null,pos:K};if(Q5<=9&&zZ.invalidDigit(K,B,L,S))Q5=0;else{if(!e)break;Q5=0,K0=!0}}++K,D0=D0*S+Q5}else{let i5=H.charCodeAt(K-1),y5=H.charCodeAt(K+1);if(WZ){if(Number.isNaN(y5)||!Z0(y5)||oZ.has(i5)||oZ.has(y5)){if(FZ)return{n:null,pos:K};zZ.unexpectedNumericSeparator(K,B,L)}}else{if(FZ)return{n:null,pos:K};zZ.numericSeparatorInEscapeSequence(K,B,L)}++K}}return K===_Z||x!=null&&K-_Z!==x||K0?{n:null,pos:K}:{n:D0,pos:K}}function u0(H,K,B,L,S,x){let e;if(H.charCodeAt(K)===123){if(++K,{code:e,pos:K}=X5(H,K,B,L,H.indexOf("}",K)-K,!0,S,x),++K,e!==null&&e>1114111){if(!S)return{code:null,pos:K};x.invalidCodePoint(K,B,L)}}else({code:e,pos:K}=X5(H,K,B,L,4,!1,S,x));return{code:e,pos:K}}function i0(H,K,B){return new Y(B,H-K,H)}let I0=new Set([103,109,115,105,121,117,100,118]);class p0{constructor(H){let K=H.startIndex||0;this.type=H.type,this.value=H.value,this.start=K+H.start,this.end=K+H.end,this.loc=new j(H.startLoc,H.endLoc)}}class N0 extends yZ{constructor(H,K){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(B,L,S,x)=>!!this.options.errorRecovery&&(this.raise(A.InvalidDigit,i0(B,L,S),{radix:x}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(A.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(A.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(A.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(A.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(B,L,S)=>{this.recordStrictModeErrors(A.StrictNumericEscape,i0(B,L,S))},unterminated:(B,L,S)=>{throw this.raise(A.UnterminatedString,i0(B-1,L,S))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(A.StrictNumericEscape),unterminated:(B,L,S)=>{throw this.raise(A.UnterminatedTemplate,i0(B,L,S))}}),this.state=new O0,this.state.init(H),this.input=K,this.length=K.length,this.comments=[],this.isLookahead=!1}pushToken(H){this.tokens.length=this.state.tokensLength,this.tokens.push(H),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new p0(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(H){return!!this.match(H)&&(this.next(),!0)}match(H){return this.state.type===H}createLookaheadState(H){return{pos:H.pos,value:null,type:H.type,start:H.start,end:H.end,context:[this.curContext()],inType:H.inType,startLoc:H.startLoc,lastTokEndLoc:H.lastTokEndLoc,curLine:H.curLine,lineStart:H.lineStart,curPosition:H.curPosition}}lookahead(){let H=this.state;this.state=this.createLookaheadState(H),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let K=this.state;return this.state=H,K}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(H){return mZ.lastIndex=H,mZ.test(this.input)?mZ.lastIndex:H}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(H){return hZ.lastIndex=H,hZ.test(this.input)?hZ.lastIndex:H}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(H){let K=this.input.charCodeAt(H);if((64512&K)==55296&&++H<this.input.length){let B=this.input.charCodeAt(H);(64512&B)==56320&&(K=65536+((1023&K)<<10)+(1023&B))}return K}setStrict(H){this.state.strict=H,H&&(this.state.strictErrors.forEach(([K,B])=>this.raise(K,B)),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(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(H){let K;this.isLookahead||(K=this.state.curPosition());let B=this.state.pos,L=this.input.indexOf(H,B+2);if(L===-1)throw this.raise(A.UnterminatedComment,this.state.curPosition());for(this.state.pos=L+H.length,bZ.lastIndex=B+2;bZ.test(this.input)&&bZ.lastIndex<=L;)++this.state.curLine,this.state.lineStart=bZ.lastIndex;if(this.isLookahead)return;let S={type:"CommentBlock",value:this.input.slice(B+2,L),start:this.sourceToOffsetPos(B),end:this.sourceToOffsetPos(L+H.length),loc:new j(K,this.state.curPosition())};return this.options.tokens&&this.pushToken(S),S}skipLineComment(H){let K=this.state.pos,B;this.isLookahead||(B=this.state.curPosition());let L=this.input.charCodeAt(this.state.pos+=H);if(this.state.pos<this.length)for(;!pZ(L)&&++this.state.pos<this.length;)L=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let S=this.state.pos,x={type:"CommentLine",value:this.input.slice(K+H,S),start:this.sourceToOffsetPos(K),end:this.sourceToOffsetPos(S),loc:new j(B,this.state.curPosition())};return this.options.tokens&&this.pushToken(x),x}skipSpace(){let H=this.state.pos,K=[];Z:for(;this.state.pos<this.length;){let B=this.input.charCodeAt(this.state.pos);switch(B){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++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:{let L=this.skipBlockComment("*/");L!==void 0&&(this.addComment(L),this.options.attachComment&&K.push(L));break}case 47:{let L=this.skipLineComment(2);L!==void 0&&(this.addComment(L),this.options.attachComment&&K.push(L));break}default:break Z}break;default:if(eZ(B))++this.state.pos;else if(B===45&&!this.inModule&&this.options.annexB){let L=this.state.pos;if(this.input.charCodeAt(L+1)!==45||this.input.charCodeAt(L+2)!==62||!(H===0||this.state.lineStart>H))break Z;{let S=this.skipLineComment(3);S!==void 0&&(this.addComment(S),this.options.attachComment&&K.push(S))}}else{if(B!==60||this.inModule||!this.options.annexB)break Z;{let L=this.state.pos;if(this.input.charCodeAt(L+1)!==33||this.input.charCodeAt(L+2)!==45||this.input.charCodeAt(L+3)!==45)break Z;{let S=this.skipLineComment(4);S!==void 0&&(this.addComment(S),this.options.attachComment&&K.push(S))}}}}}if(K.length>0){let B=this.state.pos,L={start:this.sourceToOffsetPos(H),end:this.sourceToOffsetPos(B),comments:K,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(L)}}finishToken(H,K){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let B=this.state.type;this.state.type=H,this.state.value=K,this.isLookahead||this.updateContext(B)}replaceToken(H){this.state.type=H,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let H=this.state.pos+1,K=this.codePointAtPos(H);if(K>=48&&K<=57)throw this.raise(A.UnexpectedDigitAfterHash,this.state.curPosition());if(K===123||K===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(K===123?A.RecordExpressionHashIncorrectStartSyntaxType:A.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,K===123?this.finishToken(7):this.finishToken(1)}else c(K)?(++this.state.pos,this.finishToken(139,this.readWord1(K))):K===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let H=this.input.charCodeAt(this.state.pos+1);H>=48&&H<=57?this.readNumber(!0):H===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let H=this.input.charCodeAt(this.state.pos+1);if(H!==33)return!1;let K=this.state.pos;for(this.state.pos+=1;!pZ(H)&&++this.state.pos<this.length;)H=this.input.charCodeAt(this.state.pos);let B=this.input.slice(K+2,this.state.pos);return this.finishToken(28,B),!0}readToken_mult_modulo(H){let K=H===42?55:54,B=1,L=this.input.charCodeAt(this.state.pos+1);H===42&&L===42&&(B++,L=this.input.charCodeAt(this.state.pos+2),K=57),L!==61||this.state.inType||(B++,K=H===37?33:30),this.finishOp(K,B)}readToken_pipe_amp(H){let K=this.input.charCodeAt(this.state.pos+1);if(K!==H){if(H===124){if(K===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&K===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&K===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}K!==61?this.finishOp(H===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(H===124?41:42,2)}readToken_caret(){let H=this.input.charCodeAt(this.state.pos+1);if(H!==61||this.state.inType)if(H===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}]))this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected();else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(H){let K=this.input.charCodeAt(this.state.pos+1);K!==H?K===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:H}=this.state,K=this.input.charCodeAt(H+1);if(K===60)return this.input.charCodeAt(H+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);K!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:H}=this.state,K=this.input.charCodeAt(H+1);if(K===62){let B=this.input.charCodeAt(H+2)===62?3:2;return this.input.charCodeAt(H+B)===61?void this.finishOp(30,B+1):void this.finishOp(52,B)}K!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(H){let K=this.input.charCodeAt(this.state.pos+1);if(K!==61)return H===61&&K===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(H===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let H=this.input.charCodeAt(this.state.pos+1),K=this.input.charCodeAt(this.state.pos+2);H===63?K===61?this.finishOp(30,3):this.finishOp(40,2):H!==46||K>=48&&K<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(H){switch(H){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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.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")&&this.input.charCodeAt(this.state.pos+1)===58?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:{let K=this.input.charCodeAt(this.state.pos+1);if(K===120||K===88)return void this.readRadixNumber(16);if(K===111||K===79)return void this.readRadixNumber(8);if(K===98||K===66)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(H);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(H);case 124:case 38:return void this.readToken_pipe_amp(H);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(H);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(H);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(c(H))return void this.readWord(H)}throw this.raise(A.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(H)})}finishOp(H,K){let B=this.input.slice(this.state.pos,this.state.pos+K);this.state.pos+=K,this.finishToken(H,B)}readRegexp(){let H=this.state.startLoc,K=this.state.start+1,B,L,{pos:S}=this.state;for(;;++S){if(S>=this.length)throw this.raise(A.UnterminatedRegExp,O(H,1));let zZ=this.input.charCodeAt(S);if(pZ(zZ))throw this.raise(A.UnterminatedRegExp,O(H,1));if(B)B=!1;else{if(zZ===91)L=!0;else if(zZ===93&&L)L=!1;else if(zZ===47&&!L)break;B=zZ===92}}let x=this.input.slice(K,S);++S;let e="",WZ=()=>O(H,S+2-K);for(;S<this.length;){let zZ=this.codePointAtPos(S),FZ=String.fromCharCode(zZ);if(I0.has(zZ))zZ===118?e.includes("u")&&this.raise(A.IncompatibleRegExpUVFlags,WZ()):zZ===117&&e.includes("v")&&this.raise(A.IncompatibleRegExpUVFlags,WZ()),e.includes(FZ)&&this.raise(A.DuplicateRegExpFlags,WZ());else{if(!TZ(zZ)&&zZ!==92)break;this.raise(A.MalformedRegExpFlags,WZ())}++S,e+=FZ}this.state.pos=S,this.finishToken(138,{pattern:x,flags:e})}readInt(H,K,B=!1,L=!0){let{n:S,pos:x}=d0(this.input,this.state.pos,this.state.lineStart,this.state.curLine,H,K,B,L,this.errorHandlers_readInt,!1);return this.state.pos=x,S}readRadixNumber(H){let K=this.state.pos,B=this.state.curPosition(),L=!1;this.state.pos+=2;let S=this.readInt(H);S==null&&this.raise(A.InvalidDigit,O(B,2),{radix:H});let x=this.input.charCodeAt(this.state.pos);if(x===110)++this.state.pos,L=!0;else if(x===109)throw this.raise(A.InvalidDecimal,B);if(c(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());if(L){let e=this.input.slice(K,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,e)}else this.finishToken(135,S)}readNumber(H){let K=this.state.pos,B=this.state.curPosition(),L=!1,S=!1,x=!1,e=!1;H||this.readInt(10)!==null||this.raise(A.InvalidNumber,this.state.curPosition());let WZ=this.state.pos-K>=2&&this.input.charCodeAt(K)===48;if(WZ){let Z0=this.input.slice(K,this.state.pos);if(this.recordStrictModeErrors(A.StrictOctalLiteral,B),!this.state.strict){let K0=Z0.indexOf("_");K0>0&&this.raise(A.ZeroDigitNumericSeparator,O(B,K0))}e=WZ&&!/[89]/.test(Z0)}let zZ=this.input.charCodeAt(this.state.pos);if(zZ!==46||e||(++this.state.pos,this.readInt(10),L=!0,zZ=this.input.charCodeAt(this.state.pos)),zZ!==69&&zZ!==101||e||(zZ=this.input.charCodeAt(++this.state.pos),zZ!==43&&zZ!==45||++this.state.pos,this.readInt(10)===null&&this.raise(A.InvalidOrMissingExponent,B),L=!0,x=!0,zZ=this.input.charCodeAt(this.state.pos)),zZ===110&&((L||WZ)&&this.raise(A.InvalidBigIntLiteral,B),++this.state.pos,S=!0),zZ===109){this.expectPlugin("decimal",this.state.curPosition()),(x||WZ)&&this.raise(A.InvalidDecimal,B),++this.state.pos;var FZ=!0}if(c(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());let _Z=this.input.slice(K,this.state.pos).replace(/[_mn]/g,"");if(S)return void this.finishToken(136,_Z);if(FZ)return void this.finishToken(137,_Z);let oZ=e?parseInt(_Z,8):parseFloat(_Z);this.finishToken(135,oZ)}readCodePoint(H){let{code:K,pos:B}=u0(this.input,this.state.pos,this.state.lineStart,this.state.curLine,H,this.errorHandlers_readCodePoint);return this.state.pos=B,K}readString(H){let{str:K,pos:B,curLine:L,lineStart:S}=M0(H===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=B+1,this.state.lineStart=S,this.state.curLine=L,this.finishToken(134,K)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let H=this.input[this.state.pos],{str:K,firstInvalidLoc:B,pos:L,curLine:S,lineStart:x}=M0("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=L+1,this.state.lineStart=x,this.state.curLine=S,B&&(this.state.firstInvalidTemplateEscapePos=new Y(B.curLine,B.pos-B.lineStart,this.sourceToOffsetPos(B.pos))),this.input.codePointAt(L)===96?this.finishToken(24,B?null:H+K+"`"):(this.state.pos++,this.finishToken(25,B?null:H+K+"${"))}recordStrictModeErrors(H,K){let B=K.index;this.state.strict&&!this.state.strictErrors.has(B)?this.raise(H,K):this.state.strictErrors.set(B,[H,K])}readWord1(H){this.state.containsEsc=!1;let K="",B=this.state.pos,L=this.state.pos;for(H!==void 0&&(this.state.pos+=H<=65535?1:2);this.state.pos<this.length;){let S=this.codePointAtPos(this.state.pos);if(TZ(S))this.state.pos+=S<=65535?1:2;else{if(S!==92)break;{this.state.containsEsc=!0,K+=this.input.slice(L,this.state.pos);let x=this.state.curPosition(),e=this.state.pos===B?c:TZ;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(A.MissingUnicodeEscape,this.state.curPosition()),L=this.state.pos-1;continue}++this.state.pos;let WZ=this.readCodePoint(!0);WZ!==null&&(e(WZ)||this.raise(A.EscapedCharNotAnIdentifier,x),K+=String.fromCodePoint(WZ)),L=this.state.pos}}}return K+this.input.slice(L,this.state.pos)}readWord(H){let K=this.readWord1(H),B=v.get(K);B!==void 0?this.finishToken(B,AZ(B)):this.finishToken(132,K)}checkKeywordEscapes(){let{type:H}=this.state;GZ(H)&&this.state.containsEsc&&this.raise(A.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:AZ(H)})}raise(H,K,B={}){let L=H(K instanceof Y?K:K.loc.start,B);if(!this.options.errorRecovery)throw L;return this.isLookahead||this.state.errors.push(L),L}raiseOverwrite(H,K,B={}){let L=K instanceof Y?K:K.loc.start,S=L.index,x=this.state.errors;for(let e=x.length-1;e>=0;e--){let WZ=x[e];if(WZ.loc.index===S)return x[e]=H(L,B);if(WZ.loc.index<S)break}return this.raise(H,K,B)}updateContext(H){}unexpected(H,K){throw this.raise(A.UnexpectedToken,H!=null?H:this.state.startLoc,{expected:K?AZ(K):null})}expectPlugin(H,K){if(this.hasPlugin(H))return!0;throw this.raise(A.MissingPlugin,K!=null?K:this.state.startLoc,{missingPlugin:[H]})}expectOnePlugin(H){if(!H.some((K)=>this.hasPlugin(K)))throw this.raise(A.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:H})}errorBuilder(H){return(K,B,L)=>{this.raise(H,i0(K,B,L))}}}class P5{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class L5{constructor(H){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=H}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new P5)}exit(){let H=this.stack.pop(),K=this.current();for(let[B,L]of Array.from(H.undefinedPrivateNames))K?K.undefinedPrivateNames.has(B)||K.undefinedPrivateNames.set(B,L):this.parser.raise(A.InvalidPrivateFieldResolution,L,{identifierName:B})}declarePrivateName(H,K,B){let{privateNames:L,loneAccessors:S,undefinedPrivateNames:x}=this.current(),e=L.has(H);if(3&K){let WZ=e&&S.get(H);if(WZ)e=(3&WZ)===(3&K)||(4&WZ)!==(4&K),e||S.delete(H);else e||S.set(H,K)}e&&this.parser.raise(A.PrivateNameRedeclaration,B,{identifierName:H}),L.add(H),x.delete(H)}usePrivateName(H,K){let B;for(B of this.stack)if(B.privateNames.has(H))return;B?B.undefinedPrivateNames.set(H,K):this.parser.raise(A.InvalidPrivateFieldResolution,K,{identifierName:H})}}class O5{constructor(H=0){this.type=H}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class J5 extends O5{constructor(H){super(H),this.declarationErrors=new Map}recordDeclarationError(H,K){let B=K.index;this.declarationErrors.set(B,[H,K])}clearDeclarationError(H){this.declarationErrors.delete(H)}iterateErrors(H){this.declarationErrors.forEach(H)}}class G5{constructor(H){this.parser=void 0,this.stack=[new O5],this.parser=H}enter(H){this.stack.push(H)}exit(){this.stack.pop()}recordParameterInitializerError(H,K){let B=K.loc.start,{stack:L}=this,S=L.length-1,x=L[S];for(;!x.isCertainlyParameterDeclaration();){if(!x.canBeArrowParameterDeclaration())return;x.recordDeclarationError(H,B),x=L[--S]}this.parser.raise(H,B)}recordArrowParameterBindingError(H,K){let{stack:B}=this,L=B[B.length-1],S=K.loc.start;if(L.isCertainlyParameterDeclaration())this.parser.raise(H,S);else{if(!L.canBeArrowParameterDeclaration())return;L.recordDeclarationError(H,S)}}recordAsyncArrowParametersError(H){let{stack:K}=this,B=K.length-1,L=K[B];for(;L.canBeArrowParameterDeclaration();)L.type===2&&L.recordDeclarationError(A.AwaitBindingIdentifier,H),L=K[--B]}validateAsPattern(){let{stack:H}=this,K=H[H.length-1];K.canBeArrowParameterDeclaration()&&K.iterateErrors(([B,L])=>{this.parser.raise(B,L);let S=H.length-2,x=H[S];for(;x.canBeArrowParameterDeclaration();)x.clearDeclarationError(L.index),x=H[--S]})}}function S5(){return new O5}class c0{constructor(){this.stacks=[]}enter(H){this.stacks.push(H)}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 F5(H,K){return(H?2:0)|(K?1:0)}class K5 extends N0{addExtra(H,K,B,L=!0){if(!H)return;let{extra:S}=H;S==null&&(S={},H.extra=S),L?S[K]=B:Object.defineProperty(S,K,{enumerable:L,value:B})}isContextual(H){return this.state.type===H&&!this.state.containsEsc}isUnparsedContextual(H,K){let B=H+K.length;if(this.input.slice(H,B)===K){let L=this.input.charCodeAt(B);return!(TZ(L)||(64512&L)==55296)}return!1}isLookaheadContextual(H){let K=this.nextTokenStart();return this.isUnparsedContextual(K,H)}eatContextual(H){return!!this.isContextual(H)&&(this.next(),!0)}expectContextual(H,K){if(!this.eatContextual(H)){if(K!=null)throw this.raise(K,this.state.startLoc);this.unexpected(null,H)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return uZ(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return uZ(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(H=!0){(H?this.isLineTerminator():this.eat(13))||this.raise(A.MissingSemicolon,this.state.lastTokEndLoc)}expect(H,K){this.eat(H)||this.unexpected(K,H)}tryParse(H,K=this.state.clone()){let B={node:null};try{let L=H((S=null)=>{throw B.node=S,B});if(this.state.errors.length>K.errors.length){let S=this.state;return this.state=K,this.state.tokensLength=S.tokensLength,{node:L,error:S.errors[K.errors.length],thrown:!1,aborted:!1,failState:S}}return{node:L,error:null,thrown:!1,aborted:!1,failState:null}}catch(L){let S=this.state;if(this.state=K,L instanceof SyntaxError)return{node:null,error:L,thrown:!0,aborted:!1,failState:S};if(L===B)return{node:B.node,error:null,thrown:!1,aborted:!0,failState:S};throw L}}checkExpressionErrors(H,K){if(!H)return!1;let{shorthandAssignLoc:B,doubleProtoLoc:L,privateKeyLoc:S,optionalParametersLoc:x}=H;if(!K)return!!(B||L||x||S);B!=null&&this.raise(A.InvalidCoverInitializedName,B),L!=null&&this.raise(A.DuplicateProto,L),S!=null&&this.raise(A.UnexpectedPrivateField,S),x!=null&&this.unexpected(x)}isLiteralPropertyName(){return i(this.state.type)}isPrivateName(H){return H.type==="PrivateName"}getPrivateNameSV(H){return H.id.name}hasPropertyAsPrivateName(H){return(H.type==="MemberExpression"||H.type==="OptionalMemberExpression")&&this.isPrivateName(H.property)}isObjectProperty(H){return H.type==="ObjectProperty"}isObjectMethod(H){return H.type==="ObjectMethod"}initializeScopes(H=this.options.sourceType==="module"){let K=this.state.labels;this.state.labels=[];let B=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let L=this.inModule;this.inModule=H;let S=this.scope,x=this.getScopeHandler();this.scope=new x(this,H);let e=this.prodParam;this.prodParam=new c0;let WZ=this.classScope;this.classScope=new L5(this);let zZ=this.expressionScope;return this.expressionScope=new G5(this),()=>{this.state.labels=K,this.exportedIdentifiers=B,this.inModule=L,this.scope=S,this.prodParam=e,this.classScope=WZ,this.expressionScope=zZ}}enterInitialScopes(){let H=0;this.inModule&&(H|=2),this.scope.enter(1),this.prodParam.enter(H)}checkDestructuringPrivate(H){let{privateKeyLoc:K}=H;K!==null&&this.expectPlugin("destructuringPrivate",K)}}class g0{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class j5{constructor(H,K,B){this.type="",this.start=K,this.end=0,this.loc=new j(B),H!=null&&H.options.ranges&&(this.range=[K,0]),H!=null&&H.filename&&(this.loc.filename=H.filename)}}let C5=j5.prototype;function W5(H){let{type:K,start:B,end:L,loc:S,range:x,extra:e,name:WZ}=H,zZ=Object.create(C5);return zZ.type=K,zZ.start=B,zZ.end=L,zZ.loc=S,zZ.range=x,zZ.extra=e,zZ.name=WZ,K==="Placeholder"&&(zZ.expectedNode=H.expectedNode),zZ}function I5(H){let{type:K,start:B,end:L,loc:S,range:x,extra:e}=H;if(K==="Placeholder")return function(zZ){return W5(zZ)}(H);let WZ=Object.create(C5);return WZ.type=K,WZ.start=B,WZ.end=L,WZ.loc=S,WZ.range=x,H.raw!==void 0?WZ.raw=H.raw:WZ.extra=e,WZ.value=H.value,WZ}C5.__clone=function(){let H=new j5(void 0,this.start,this.loc.start),K=Object.keys(this);for(let B=0,L=K.length;B<L;B++){let S=K[B];S!=="leadingComments"&&S!=="trailingComments"&&S!=="innerComments"&&(H[S]=this[S])}return H};class q5 extends K5{startNode(){let H=this.state.startLoc;return new j5(this,H.index,H)}startNodeAt(H){return new j5(this,H.index,H)}startNodeAtNode(H){return this.startNodeAt(H.loc.start)}finishNode(H,K){return this.finishNodeAt(H,K,this.state.lastTokEndLoc)}finishNodeAt(H,K,B){return H.type=K,H.end=B.index,H.loc.end=B,this.options.ranges&&(H.range[1]=B.index),this.options.attachComment&&this.processComment(H),H}resetStartLocation(H,K){H.start=K.index,H.loc.start=K,this.options.ranges&&(H.range[0]=K.index)}resetEndLocation(H,K=this.state.lastTokEndLoc){H.end=K.index,H.loc.end=K,this.options.ranges&&(H.range[1]=K.index)}resetStartLocationFromNode(H,K){this.resetStartLocation(H,K.loc.start)}}let b5=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),F0=J`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:H})=>`Cannot overwrite reserved type ${H}.`,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:H,enumName:K})=>`Boolean enum members need to be initialized. Use either \`${H} = true,\` or \`${H} = false,\` in enum \`${K}\`.`,EnumDuplicateMemberName:({memberName:H,enumName:K})=>`Enum member names need to be unique, but the name \`${H}\` has already been used before in enum \`${K}\`.`,EnumInconsistentMemberValues:({enumName:H})=>`Enum \`${H}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:H,enumName:K})=>`Enum type \`${H}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${K}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:H})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${H}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:H,memberName:K,explicitType:B})=>`Enum \`${H}\` has type \`${B}\`, so the initializer of \`${K}\` needs to be a ${B} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:H,memberName:K})=>`Symbol enum members cannot be initialized. Use \`${K},\` in enum \`${H}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:H,memberName:K})=>`The enum member initializer for \`${K}\` needs to be a literal (either a boolean, number, or string) in enum \`${H}\`.`,EnumInvalidMemberName:({enumName:H,memberName:K,suggestion:B})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${K}\`, consider using \`${B}\`, in enum \`${H}\`.`,EnumNumberMemberNotInitialized:({enumName:H,memberName:K})=>`Number enum members need to be initialized, e.g. \`${K} = 1\` in enum \`${H}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:H})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${H}\`.`,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:H})=>`Unexpected reserved type ${H}.`,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:H,suggestion:K})=>`\`declare export ${H}\` is not supported. Use \`${K}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function w5(H){return H.importKind==="type"||H.importKind==="typeof"}let N5={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},A5=/\*?\s*@((?:no)?flow)\b/,T5={__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:"♦"},B5=J`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:H})=>`Expected corresponding JSX closing tag for <${H}>.`,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:H,HTMLEntity:K})=>`Unexpected token \`${H}\`. Did you mean \`${K}\` or \`{'${H}'}\`?`,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 H5(H){return!!H&&(H.type==="JSXOpeningFragment"||H.type==="JSXClosingFragment")}function iZ(H){if(H.type==="JSXIdentifier")return H.name;if(H.type==="JSXNamespacedName")return H.namespace.name+":"+H.name.name;if(H.type==="JSXMemberExpression")return iZ(H.object)+"."+iZ(H.property);throw Error("Node had unexpected type: "+H.type)}class cZ extends LZ{constructor(...H){super(...H),this.tsNames=new Map}}class gZ extends qZ{constructor(...H){super(...H),this.importsStack=[]}createScope(H){return this.importsStack.push(new Set),new cZ(H)}enter(H){H===256&&this.importsStack.push(new Set),super.enter(H)}exit(){let H=super.exit();return H===256&&this.importsStack.pop(),H}hasImport(H,K){let B=this.importsStack.length;if(this.importsStack[B-1].has(H))return!0;if(!K&&B>1){for(let L=0;L<B-1;L++)if(this.importsStack[L].has(H))return!0}return!1}declareName(H,K,B){if(4096&K)return this.hasImport(H,!0)&&this.parser.raise(A.VarRedeclaration,B,{identifierName:H}),void this.importsStack[this.importsStack.length-1].add(H);let L=this.currentScope(),S=L.tsNames.get(H)||0;if(1024&K)return this.maybeExportDefined(L,H),void L.tsNames.set(H,16|S);super.declareName(H,K,B),2&K&&(1&K||(this.checkRedeclarationInScope(L,H,K,B),this.maybeExportDefined(L,H)),S|=1),256&K&&(S|=2),512&K&&(S|=4),128&K&&(S|=8),S&&L.tsNames.set(H,S)}isRedeclaredInScope(H,K,B){let L=H.tsNames.get(K);if((2&L)>0){if(256&B)return!!(512&B)!==(4&L)>0;return!0}return 128&B&&(8&L)>0?!!(2&H.names.get(K))&&!!(1&B):!!(2&B&&(1&L)>0)||super.isRedeclaredInScope(H,K,B)}checkLocalExport(H){let{name:K}=H;if(this.hasImport(K))return;for(let B=this.scopeStack.length-1;B>=0;B--){let L=this.scopeStack[B].tsNames.get(K);if((1&L)>0||(16&L)>0)return}super.checkLocalExport(H)}}let G0=(H)=>H.type==="ParenthesizedExpression"?G0(H.expression):H;class B0 extends q5{toAssignable(H,K=!1){var B,L;let S;switch((H.type==="ParenthesizedExpression"||(B=H.extra)!=null&&B.parenthesized)&&(S=G0(H),K?S.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(A.InvalidParenthesizedAssignment,H):S.type==="MemberExpression"||this.isOptionalMemberExpression(S)||this.raise(A.InvalidParenthesizedAssignment,H):this.raise(A.InvalidParenthesizedAssignment,H)),H.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":H.type="ObjectPattern";for(let e=0,WZ=H.properties.length,zZ=WZ-1;e<WZ;e++){var x;let FZ=H.properties[e],_Z=e===zZ;this.toAssignableObjectExpressionProp(FZ,_Z,K),_Z&&FZ.type==="RestElement"&&(x=H.extra)!=null&&x.trailingCommaLoc&&this.raise(A.RestTrailingComma,H.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:e,value:WZ}=H;this.isPrivateName(e)&&this.classScope.usePrivateName(this.getPrivateNameSV(e),e.loc.start),this.toAssignable(WZ,K);break}case"SpreadElement":throw Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":H.type="ArrayPattern",this.toAssignableList(H.elements,(L=H.extra)==null?void 0:L.trailingCommaLoc,K);break;case"AssignmentExpression":H.operator!=="="&&this.raise(A.MissingEqInAssignment,H.left.loc.end),H.type="AssignmentPattern",delete H.operator,this.toAssignable(H.left,K);break;case"ParenthesizedExpression":this.toAssignable(S,K)}}toAssignableObjectExpressionProp(H,K,B){if(H.type==="ObjectMethod")this.raise(H.kind==="get"||H.kind==="set"?A.PatternHasAccessor:A.PatternHasMethod,H.key);else if(H.type==="SpreadElement"){H.type="RestElement";let L=H.argument;this.checkToRestConversion(L,!1),this.toAssignable(L,B),K||this.raise(A.RestTrailingComma,H)}else this.toAssignable(H,B)}toAssignableList(H,K,B){let L=H.length-1;for(let S=0;S<=L;S++){let x=H[S];if(x){if(x.type==="SpreadElement"){x.type="RestElement";let e=x.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,B)}else this.toAssignable(x,B);x.type==="RestElement"&&(S<L?this.raise(A.RestTrailingComma,x):K&&this.raise(A.RestTrailingComma,K))}}}isAssignable(H,K){switch(H.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let B=H.properties.length-1;return H.properties.every((L,S)=>L.type!=="ObjectMethod"&&(S===B||L.type!=="SpreadElement")&&this.isAssignable(L))}case"ObjectProperty":return this.isAssignable(H.value);case"SpreadElement":return this.isAssignable(H.argument);case"ArrayExpression":return H.elements.every((B)=>B===null||this.isAssignable(B));case"AssignmentExpression":return H.operator==="=";case"ParenthesizedExpression":return this.isAssignable(H.expression);case"MemberExpression":case"OptionalMemberExpression":return!K;default:return!1}}toReferencedList(H,K){return H}toReferencedListDeep(H,K){this.toReferencedList(H,K);for(let B of H)(B==null?void 0:B.type)==="ArrayExpression"&&this.toReferencedListDeep(B.elements)}parseSpread(H){let K=this.startNode();return this.next(),K.argument=this.parseMaybeAssignAllowIn(H,void 0),this.finishNode(K,"SpreadElement")}parseRestBinding(){let H=this.startNode();return this.next(),H.argument=this.parseBindingAtom(),this.finishNode(H,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let H=this.startNode();return this.next(),H.elements=this.parseBindingList(3,93,1),this.finishNode(H,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(H,K,B){let L=1&B,S=[],x=!0;for(;!this.eat(H);)if(x?x=!1:this.expect(12),L&&this.match(12))S.push(null);else{if(this.eat(H))break;if(this.match(21)){let e=this.parseRestBinding();if((this.hasPlugin("flow")||2&B)&&(e=this.parseFunctionParamType(e)),S.push(e),!this.checkCommaAfterRest(K)){this.expect(H);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(A.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());S.push(this.parseAssignableListItem(B,e))}}return S}parseBindingRestProperty(H){return this.next(),H.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(H,"RestElement")}parseBindingProperty(){let{type:H,startLoc:K}=this.state;if(H===21)return this.parseBindingRestProperty(this.startNode());let B=this.startNode();return H===139?(this.expectPlugin("destructuringPrivate",K),this.classScope.usePrivateName(this.state.value,K),B.key=this.parsePrivateName()):this.parsePropertyName(B),B.method=!1,this.parseObjPropValue(B,K,!1,!1,!0,!1)}parseAssignableListItem(H,K){let B=this.parseMaybeDefault();(this.hasPlugin("flow")||2&H)&&this.parseFunctionParamType(B);let L=this.parseMaybeDefault(B.loc.start,B);return K.length&&(B.decorators=K),L}parseFunctionParamType(H){return H}parseMaybeDefault(H,K){var B;if(H!=null||(H=this.state.startLoc),K=(B=K)!=null?B:this.parseBindingAtom(),!this.eat(29))return K;let L=this.startNodeAt(H);return L.left=K,L.right=this.parseMaybeAssignAllowIn(),this.finishNode(L,"AssignmentPattern")}isValidLVal(H,K,B){switch(H){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(H){return H.type==="OptionalMemberExpression"}checkLVal(H,K,B=64,L=!1,S=!1,x=!1){var e;let WZ=H.type;if(this.isObjectMethod(H))return;let zZ=this.isOptionalMemberExpression(H);if(zZ||WZ==="MemberExpression")return zZ&&(this.expectPlugin("optionalChainingAssign",H.loc.start),K.type!=="AssignmentExpression"&&this.raise(A.InvalidLhsOptionalChaining,H,{ancestor:K})),void(B!==64&&this.raise(A.InvalidPropertyBindingPattern,H));if(WZ==="Identifier"){this.checkIdentifier(H,B,S);let{name:D0}=H;return void(L&&(L.has(D0)?this.raise(A.ParamDupe,H):L.add(D0)))}let FZ=this.isValidLVal(WZ,!(x||(e=H.extra)!=null&&e.parenthesized)&&K.type==="AssignmentExpression",B);if(FZ===!0)return;if(FZ===!1){let D0=B===64?A.InvalidLhs:A.InvalidLhsBinding;return void this.raise(D0,H,{ancestor:K})}let _Z,oZ;typeof FZ=="string"?(_Z=FZ,oZ=WZ==="ParenthesizedExpression"):[_Z,oZ]=FZ;let Z0=WZ==="ArrayPattern"||WZ==="ObjectPattern"?{type:WZ}:K,K0=H[_Z];if(Array.isArray(K0))for(let D0 of K0)D0&&this.checkLVal(D0,Z0,B,L,S,oZ);else K0&&this.checkLVal(K0,Z0,B,L,S,oZ)}checkIdentifier(H,K,B=!1){this.state.strict&&(B?l(H.name,this.inModule):DZ(H.name))&&(K===64?this.raise(A.StrictEvalArguments,H,{referenceName:H.name}):this.raise(A.StrictEvalArgumentsBinding,H,{bindingName:H.name})),8192&K&&H.name==="let"&&this.raise(A.LetInLexicalBinding,H),64&K||this.declareNameFromIdentifier(H,K)}declareNameFromIdentifier(H,K){this.scope.declareName(H.name,K,H.loc.start)}checkToRestConversion(H,K){switch(H.type){case"ParenthesizedExpression":this.checkToRestConversion(H.expression,K);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(K)break;default:this.raise(A.InvalidRestAssignmentPattern,H)}}checkCommaAfterRest(H){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===H?A.RestTrailingComma:A.ElementAfterRest,this.state.startLoc),!0)}}function A0(H){if(!H)throw Error("Assert fail")}let xZ=J`typescript`({AbstractMethodHasImplementation:({methodName:H})=>`Method '${H}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:H})=>`Property '${H}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:H})=>`'declare' is not allowed in ${H}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:H})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:H})=>`Duplicate modifier: '${H}'.`,EmptyHeritageClauseType:({token:H})=>`'${H}' 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:H})=>`'${H[0]}' modifier cannot be used with '${H[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:H})=>`Index signatures cannot have an accessibility modifier ('${H}').`,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:H})=>`'${H}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:H})=>`'${H}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:H})=>`'${H}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:H})=>`'${H[0]}' modifier must precede '${H[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:H})=>`Private elements cannot have an accessibility modifier ('${H}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:H})=>`Single type parameter ${H} should have a trailing comma. Example usage: <${H},>.`,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:H})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${H}.`});function j0(H){return H==="private"||H==="public"||H==="protected"}function C0(H){return H==="in"||H==="out"}function T0(H){if(H.type!=="MemberExpression")return!1;let{computed:K,property:B}=H;return(!K||B.type==="StringLiteral"||!(B.type!=="TemplateLiteral"||B.expressions.length>0))&&b0(H.object)}function E0(H,K){var B;let{type:L}=H;if((B=H.extra)!=null&&B.parenthesized)return!1;if(K){if(L==="Literal"){let{value:S}=H;if(typeof S=="string"||typeof S=="boolean")return!0}}else if(L==="StringLiteral"||L==="BooleanLiteral")return!0;return!(!P0(H,K)&&!function(S,x){if(S.type==="UnaryExpression"){let{operator:e,argument:WZ}=S;if(e==="-"&&P0(WZ,x))return!0}return!1}(H,K))||(L==="TemplateLiteral"&&H.expressions.length===0||!!T0(H))}function P0(H,K){return K?H.type==="Literal"&&(typeof H.value=="number"||("bigint"in H)):H.type==="NumericLiteral"||H.type==="BigIntLiteral"}function b0(H){return H.type==="Identifier"||H.type==="MemberExpression"&&!H.computed&&b0(H.object)}let e0=J`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),o0=["minimal","fsharp","hack","smart"],U0=["^^","@@","^","%","#"],Z5={estree:(H)=>class extends H{parse(){let K=P(super.parse());return this.options.tokens&&(K.tokens=K.tokens.map(P)),K}parseRegExpLiteral({pattern:K,flags:B}){let L=null;try{L=new RegExp(K,B)}catch(x){}let S=this.estreeParseLiteral(L);return S.regex={pattern:K,flags:B},S}parseBigIntLiteral(K){let B;try{B=BigInt(K)}catch(S){B=null}let L=this.estreeParseLiteral(B);return L.bigint=String(L.value||K),L}parseDecimalLiteral(K){let B=this.estreeParseLiteral(null);return B.decimal=String(B.value||K),B}estreeParseLiteral(K){return this.parseLiteral(K,"Literal")}parseStringLiteral(K){return this.estreeParseLiteral(K)}parseNumericLiteral(K){return this.estreeParseLiteral(K)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(K){return this.estreeParseLiteral(K)}directiveToStmt(K){let B=K.value;delete K.value,B.type="Literal",B.raw=B.extra.raw,B.value=B.extra.expressionValue;let L=K;return L.type="ExpressionStatement",L.expression=B,L.directive=B.extra.rawValue,delete B.extra,L}initFunction(K,B){super.initFunction(K,B),K.expression=!1}checkDeclaration(K){K!=null&&this.isObjectProperty(K)?this.checkDeclaration(K.value):super.checkDeclaration(K)}getObjectOrClassMethodParams(K){return K.value.params}isValidDirective(K){var B;return K.type==="ExpressionStatement"&&K.expression.type==="Literal"&&typeof K.expression.value=="string"&&!((B=K.expression.extra)!=null&&B.parenthesized)}parseBlockBody(K,B,L,S,x){super.parseBlockBody(K,B,L,S,x);let e=K.directives.map((WZ)=>this.directiveToStmt(WZ));K.body=e.concat(K.body),delete K.directives}pushClassMethod(K,B,L,S,x,e){this.parseMethod(B,L,S,x,e,"ClassMethod",!0),B.typeParameters&&(B.value.typeParameters=B.typeParameters,delete B.typeParameters),K.body.push(B)}parsePrivateName(){let K=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(K):K}convertPrivateNameToPrivateIdentifier(K){let B=super.getPrivateNameSV(K);return delete K.id,K.name=B,K.type="PrivateIdentifier",K}isPrivateName(K){return this.getPluginOption("estree","classFeatures")?K.type==="PrivateIdentifier":super.isPrivateName(K)}getPrivateNameSV(K){return this.getPluginOption("estree","classFeatures")?K.name:super.getPrivateNameSV(K)}parseLiteral(K,B){let L=super.parseLiteral(K,B);return L.raw=L.extra.raw,delete L.extra,L}parseFunctionBody(K,B,L=!1){super.parseFunctionBody(K,B,L),K.expression=K.body.type!=="BlockStatement"}parseMethod(K,B,L,S,x,e,WZ=!1){let zZ=this.startNode();return zZ.kind=K.kind,zZ=super.parseMethod(zZ,B,L,S,x,e,WZ),zZ.type="FunctionExpression",delete zZ.kind,K.value=zZ,e==="ClassPrivateMethod"&&(K.computed=!1),this.finishNode(K,"MethodDefinition")}nameIsConstructor(K){return K.type==="Literal"?K.value==="constructor":super.nameIsConstructor(K)}parseClassProperty(...K){let B=super.parseClassProperty(...K);return this.getPluginOption("estree","classFeatures")?(B.type="PropertyDefinition",B):B}parseClassPrivateProperty(...K){let B=super.parseClassPrivateProperty(...K);return this.getPluginOption("estree","classFeatures")?(B.type="PropertyDefinition",B.computed=!1,B):B}parseObjectMethod(K,B,L,S,x){let e=super.parseObjectMethod(K,B,L,S,x);return e&&(e.type="Property",e.kind==="method"&&(e.kind="init"),e.shorthand=!1),e}parseObjectProperty(K,B,L,S){let x=super.parseObjectProperty(K,B,L,S);return x&&(x.kind="init",x.type="Property"),x}isValidLVal(K,B,L){return K==="Property"?"value":super.isValidLVal(K,B,L)}isAssignable(K,B){return K!=null&&this.isObjectProperty(K)?this.isAssignable(K.value,B):super.isAssignable(K,B)}toAssignable(K,B=!1){if(K!=null&&this.isObjectProperty(K)){let{key:L,value:S}=K;this.isPrivateName(L)&&this.classScope.usePrivateName(this.getPrivateNameSV(L),L.loc.start),this.toAssignable(S,B)}else super.toAssignable(K,B)}toAssignableObjectExpressionProp(K,B,L){K.type!=="Property"||K.kind!=="get"&&K.kind!=="set"?K.type==="Property"&&K.method?this.raise(A.PatternHasMethod,K.key):super.toAssignableObjectExpressionProp(K,B,L):this.raise(A.PatternHasAccessor,K.key)}finishCallExpression(K,B){let L=super.finishCallExpression(K,B);var S,x;return L.callee.type==="Import"&&(L.type="ImportExpression",L.source=L.arguments[0],L.options=(S=L.arguments[1])!=null?S:null,L.attributes=(x=L.arguments[1])!=null?x:null,delete L.arguments,delete L.callee),L}toReferencedArguments(K){K.type!=="ImportExpression"&&super.toReferencedArguments(K)}parseExport(K,B){let L=this.state.lastTokStartLoc,S=super.parseExport(K,B);switch(S.type){case"ExportAllDeclaration":S.exported=null;break;case"ExportNamedDeclaration":S.specifiers.length===1&&S.specifiers[0].type==="ExportNamespaceSpecifier"&&(S.type="ExportAllDeclaration",S.exported=S.specifiers[0].exported,delete S.specifiers);case"ExportDefaultDeclaration":{var x;let{declaration:e}=S;(e==null?void 0:e.type)==="ClassDeclaration"&&((x=e.decorators)==null?void 0:x.length)>0&&e.start===S.start&&this.resetStartLocation(S,L)}}return S}parseSubscript(K,B,L,S){let x=super.parseSubscript(K,B,L,S);if(S.optionalChainMember){if(x.type!=="OptionalMemberExpression"&&x.type!=="OptionalCallExpression"||(x.type=x.type.substring(8)),S.stop){let e=this.startNodeAtNode(x);return e.expression=x,this.finishNode(e,"ChainExpression")}}else x.type!=="MemberExpression"&&x.type!=="CallExpression"||(x.optional=!1);return x}isOptionalMemberExpression(K){return K.type==="ChainExpression"?K.expression.type==="MemberExpression":super.isOptionalMemberExpression(K)}hasPropertyAsPrivateName(K){return K.type==="ChainExpression"&&(K=K.expression),super.hasPropertyAsPrivateName(K)}isObjectProperty(K){return K.type==="Property"&&K.kind==="init"&&!K.method}isObjectMethod(K){return K.type==="Property"&&(K.method||K.kind==="get"||K.kind==="set")}finishNodeAt(K,B,L){return P(super.finishNodeAt(K,B,L))}resetStartLocation(K,B){super.resetStartLocation(K,B),P(K)}resetEndLocation(K,B=this.state.lastTokEndLoc){super.resetEndLocation(K,B),P(K)}},jsx:(H)=>class extends H{jsxReadToken(){let K="",B=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(B5.UnterminatedJsxContent,this.state.startLoc);let L=this.input.charCodeAt(this.state.pos);switch(L){case 60:case 123:return this.state.pos===this.state.start?void(L===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(L)):(K+=this.input.slice(B,this.state.pos),void this.finishToken(142,K));case 38:K+=this.input.slice(B,this.state.pos),K+=this.jsxReadEntity(),B=this.state.pos;break;default:pZ(L)?(K+=this.input.slice(B,this.state.pos),K+=this.jsxReadNewLine(!0),B=this.state.pos):++this.state.pos}}}jsxReadNewLine(K){let B=this.input.charCodeAt(this.state.pos),L;return++this.state.pos,B===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,L=K?`
|
|
345
|
+
`);case 114:return WZ("\r");case 120:{let FZ;return{code:FZ,pos:K}=X5(H,K,B,L,2,!1,e,x),WZ(FZ===null?null:String.fromCharCode(FZ))}case 117:{let FZ;return{code:FZ,pos:K}=u0(H,K,B,L,e,x),WZ(FZ===null?null:String.fromCodePoint(FZ))}case 116:return WZ("\t");case 98:return WZ("\b");case 118:return WZ("\v");case 102:return WZ("\f");case 13:H.charCodeAt(K)===10&&++K;case 10:B=K,++L;case 8232:case 8233:return WZ("");case 56:case 57:if(S)return WZ(null);x.strictNumericEscape(K-1,B,L);default:if(zZ>=48&&zZ<=55){let FZ=K-1,_Z=/^[0-7]+/.exec(H.slice(FZ,K+2))[0],oZ=parseInt(_Z,8);oZ>255&&(_Z=_Z.slice(0,-1),oZ=parseInt(_Z,8)),K+=_Z.length-1;let Z0=H.charCodeAt(K);if(_Z!=="0"||Z0===56||Z0===57){if(S)return WZ(null);x.strictNumericEscape(FZ,B,L)}return WZ(String.fromCharCode(oZ))}return WZ(String.fromCharCode(zZ))}}function X5(H,K,B,L,S,x,e,WZ){let zZ=K,FZ;return{n:FZ,pos:K}=d0(H,K,B,L,16,S,x,!1,WZ,!e),FZ===null&&(e?WZ.invalidEscapeSequence(zZ,B,L):K=zZ-1),{code:FZ,pos:K}}function d0(H,K,B,L,S,x,e,WZ,zZ,FZ){let _Z=K,oZ=S===16?Y0.hex:Y0.decBinOct,Z0=S===16?H0.hex:S===10?H0.dec:S===8?H0.oct:H0.bin,K0=!1,D0=0;for(let r0=0,S0=x==null?1/0:x;r0<S0;++r0){let k0=H.charCodeAt(K),Q5;if(k0!==95||WZ==="bail"){if(Q5=k0>=97?k0-97+10:k0>=65?k0-65+10:EZ(k0)?k0-48:1/0,Q5>=S){if(Q5<=9&&FZ)return{n:null,pos:K};if(Q5<=9&&zZ.invalidDigit(K,B,L,S))Q5=0;else{if(!e)break;Q5=0,K0=!0}}++K,D0=D0*S+Q5}else{let i5=H.charCodeAt(K-1),y5=H.charCodeAt(K+1);if(WZ){if(Number.isNaN(y5)||!Z0(y5)||oZ.has(i5)||oZ.has(y5)){if(FZ)return{n:null,pos:K};zZ.unexpectedNumericSeparator(K,B,L)}}else{if(FZ)return{n:null,pos:K};zZ.numericSeparatorInEscapeSequence(K,B,L)}++K}}return K===_Z||x!=null&&K-_Z!==x||K0?{n:null,pos:K}:{n:D0,pos:K}}function u0(H,K,B,L,S,x){let e;if(H.charCodeAt(K)===123){if(++K,{code:e,pos:K}=X5(H,K,B,L,H.indexOf("}",K)-K,!0,S,x),++K,e!==null&&e>1114111){if(!S)return{code:null,pos:K};x.invalidCodePoint(K,B,L)}}else({code:e,pos:K}=X5(H,K,B,L,4,!1,S,x));return{code:e,pos:K}}function i0(H,K,B){return new Y(B,H-K,H)}let I0=new Set([103,109,115,105,121,117,100,118]);class p0{constructor(H){let K=H.startIndex||0;this.type=H.type,this.value=H.value,this.start=K+H.start,this.end=K+H.end,this.loc=new j(H.startLoc,H.endLoc)}}class N0 extends yZ{constructor(H,K){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(B,L,S,x)=>!!this.options.errorRecovery&&(this.raise(A.InvalidDigit,i0(B,L,S),{radix:x}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(A.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(A.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(A.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(A.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(B,L,S)=>{this.recordStrictModeErrors(A.StrictNumericEscape,i0(B,L,S))},unterminated:(B,L,S)=>{throw this.raise(A.UnterminatedString,i0(B-1,L,S))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(A.StrictNumericEscape),unterminated:(B,L,S)=>{throw this.raise(A.UnterminatedTemplate,i0(B,L,S))}}),this.state=new J0,this.state.init(H),this.input=K,this.length=K.length,this.comments=[],this.isLookahead=!1}pushToken(H){this.tokens.length=this.state.tokensLength,this.tokens.push(H),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new p0(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(H){return!!this.match(H)&&(this.next(),!0)}match(H){return this.state.type===H}createLookaheadState(H){return{pos:H.pos,value:null,type:H.type,start:H.start,end:H.end,context:[this.curContext()],inType:H.inType,startLoc:H.startLoc,lastTokEndLoc:H.lastTokEndLoc,curLine:H.curLine,lineStart:H.lineStart,curPosition:H.curPosition}}lookahead(){let H=this.state;this.state=this.createLookaheadState(H),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let K=this.state;return this.state=H,K}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(H){return mZ.lastIndex=H,mZ.test(this.input)?mZ.lastIndex:H}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(H){return hZ.lastIndex=H,hZ.test(this.input)?hZ.lastIndex:H}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(H){let K=this.input.charCodeAt(H);if((64512&K)==55296&&++H<this.input.length){let B=this.input.charCodeAt(H);(64512&B)==56320&&(K=65536+((1023&K)<<10)+(1023&B))}return K}setStrict(H){this.state.strict=H,H&&(this.state.strictErrors.forEach(([K,B])=>this.raise(K,B)),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(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(H){let K;this.isLookahead||(K=this.state.curPosition());let B=this.state.pos,L=this.input.indexOf(H,B+2);if(L===-1)throw this.raise(A.UnterminatedComment,this.state.curPosition());for(this.state.pos=L+H.length,bZ.lastIndex=B+2;bZ.test(this.input)&&bZ.lastIndex<=L;)++this.state.curLine,this.state.lineStart=bZ.lastIndex;if(this.isLookahead)return;let S={type:"CommentBlock",value:this.input.slice(B+2,L),start:this.sourceToOffsetPos(B),end:this.sourceToOffsetPos(L+H.length),loc:new j(K,this.state.curPosition())};return this.options.tokens&&this.pushToken(S),S}skipLineComment(H){let K=this.state.pos,B;this.isLookahead||(B=this.state.curPosition());let L=this.input.charCodeAt(this.state.pos+=H);if(this.state.pos<this.length)for(;!pZ(L)&&++this.state.pos<this.length;)L=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let S=this.state.pos,x={type:"CommentLine",value:this.input.slice(K+H,S),start:this.sourceToOffsetPos(K),end:this.sourceToOffsetPos(S),loc:new j(B,this.state.curPosition())};return this.options.tokens&&this.pushToken(x),x}skipSpace(){let H=this.state.pos,K=[];Z:for(;this.state.pos<this.length;){let B=this.input.charCodeAt(this.state.pos);switch(B){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++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:{let L=this.skipBlockComment("*/");L!==void 0&&(this.addComment(L),this.options.attachComment&&K.push(L));break}case 47:{let L=this.skipLineComment(2);L!==void 0&&(this.addComment(L),this.options.attachComment&&K.push(L));break}default:break Z}break;default:if(eZ(B))++this.state.pos;else if(B===45&&!this.inModule&&this.options.annexB){let L=this.state.pos;if(this.input.charCodeAt(L+1)!==45||this.input.charCodeAt(L+2)!==62||!(H===0||this.state.lineStart>H))break Z;{let S=this.skipLineComment(3);S!==void 0&&(this.addComment(S),this.options.attachComment&&K.push(S))}}else{if(B!==60||this.inModule||!this.options.annexB)break Z;{let L=this.state.pos;if(this.input.charCodeAt(L+1)!==33||this.input.charCodeAt(L+2)!==45||this.input.charCodeAt(L+3)!==45)break Z;{let S=this.skipLineComment(4);S!==void 0&&(this.addComment(S),this.options.attachComment&&K.push(S))}}}}}if(K.length>0){let B=this.state.pos,L={start:this.sourceToOffsetPos(H),end:this.sourceToOffsetPos(B),comments:K,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(L)}}finishToken(H,K){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let B=this.state.type;this.state.type=H,this.state.value=K,this.isLookahead||this.updateContext(B)}replaceToken(H){this.state.type=H,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let H=this.state.pos+1,K=this.codePointAtPos(H);if(K>=48&&K<=57)throw this.raise(A.UnexpectedDigitAfterHash,this.state.curPosition());if(K===123||K===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(K===123?A.RecordExpressionHashIncorrectStartSyntaxType:A.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,K===123?this.finishToken(7):this.finishToken(1)}else c(K)?(++this.state.pos,this.finishToken(139,this.readWord1(K))):K===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let H=this.input.charCodeAt(this.state.pos+1);H>=48&&H<=57?this.readNumber(!0):H===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let H=this.input.charCodeAt(this.state.pos+1);if(H!==33)return!1;let K=this.state.pos;for(this.state.pos+=1;!pZ(H)&&++this.state.pos<this.length;)H=this.input.charCodeAt(this.state.pos);let B=this.input.slice(K+2,this.state.pos);return this.finishToken(28,B),!0}readToken_mult_modulo(H){let K=H===42?55:54,B=1,L=this.input.charCodeAt(this.state.pos+1);H===42&&L===42&&(B++,L=this.input.charCodeAt(this.state.pos+2),K=57),L!==61||this.state.inType||(B++,K=H===37?33:30),this.finishOp(K,B)}readToken_pipe_amp(H){let K=this.input.charCodeAt(this.state.pos+1);if(K!==H){if(H===124){if(K===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&K===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&K===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}K!==61?this.finishOp(H===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(H===124?41:42,2)}readToken_caret(){let H=this.input.charCodeAt(this.state.pos+1);if(H!==61||this.state.inType)if(H===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}]))this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected();else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(H){let K=this.input.charCodeAt(this.state.pos+1);K!==H?K===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:H}=this.state,K=this.input.charCodeAt(H+1);if(K===60)return this.input.charCodeAt(H+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);K!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:H}=this.state,K=this.input.charCodeAt(H+1);if(K===62){let B=this.input.charCodeAt(H+2)===62?3:2;return this.input.charCodeAt(H+B)===61?void this.finishOp(30,B+1):void this.finishOp(52,B)}K!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(H){let K=this.input.charCodeAt(this.state.pos+1);if(K!==61)return H===61&&K===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(H===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let H=this.input.charCodeAt(this.state.pos+1),K=this.input.charCodeAt(this.state.pos+2);H===63?K===61?this.finishOp(30,3):this.finishOp(40,2):H!==46||K>=48&&K<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(H){switch(H){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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(A.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")&&this.input.charCodeAt(this.state.pos+1)===58?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:{let K=this.input.charCodeAt(this.state.pos+1);if(K===120||K===88)return void this.readRadixNumber(16);if(K===111||K===79)return void this.readRadixNumber(8);if(K===98||K===66)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(H);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(H);case 124:case 38:return void this.readToken_pipe_amp(H);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(H);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(H);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(c(H))return void this.readWord(H)}throw this.raise(A.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(H)})}finishOp(H,K){let B=this.input.slice(this.state.pos,this.state.pos+K);this.state.pos+=K,this.finishToken(H,B)}readRegexp(){let H=this.state.startLoc,K=this.state.start+1,B,L,{pos:S}=this.state;for(;;++S){if(S>=this.length)throw this.raise(A.UnterminatedRegExp,O(H,1));let zZ=this.input.charCodeAt(S);if(pZ(zZ))throw this.raise(A.UnterminatedRegExp,O(H,1));if(B)B=!1;else{if(zZ===91)L=!0;else if(zZ===93&&L)L=!1;else if(zZ===47&&!L)break;B=zZ===92}}let x=this.input.slice(K,S);++S;let e="",WZ=()=>O(H,S+2-K);for(;S<this.length;){let zZ=this.codePointAtPos(S),FZ=String.fromCharCode(zZ);if(I0.has(zZ))zZ===118?e.includes("u")&&this.raise(A.IncompatibleRegExpUVFlags,WZ()):zZ===117&&e.includes("v")&&this.raise(A.IncompatibleRegExpUVFlags,WZ()),e.includes(FZ)&&this.raise(A.DuplicateRegExpFlags,WZ());else{if(!TZ(zZ)&&zZ!==92)break;this.raise(A.MalformedRegExpFlags,WZ())}++S,e+=FZ}this.state.pos=S,this.finishToken(138,{pattern:x,flags:e})}readInt(H,K,B=!1,L=!0){let{n:S,pos:x}=d0(this.input,this.state.pos,this.state.lineStart,this.state.curLine,H,K,B,L,this.errorHandlers_readInt,!1);return this.state.pos=x,S}readRadixNumber(H){let K=this.state.pos,B=this.state.curPosition(),L=!1;this.state.pos+=2;let S=this.readInt(H);S==null&&this.raise(A.InvalidDigit,O(B,2),{radix:H});let x=this.input.charCodeAt(this.state.pos);if(x===110)++this.state.pos,L=!0;else if(x===109)throw this.raise(A.InvalidDecimal,B);if(c(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());if(L){let e=this.input.slice(K,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,e)}else this.finishToken(135,S)}readNumber(H){let K=this.state.pos,B=this.state.curPosition(),L=!1,S=!1,x=!1,e=!1;H||this.readInt(10)!==null||this.raise(A.InvalidNumber,this.state.curPosition());let WZ=this.state.pos-K>=2&&this.input.charCodeAt(K)===48;if(WZ){let Z0=this.input.slice(K,this.state.pos);if(this.recordStrictModeErrors(A.StrictOctalLiteral,B),!this.state.strict){let K0=Z0.indexOf("_");K0>0&&this.raise(A.ZeroDigitNumericSeparator,O(B,K0))}e=WZ&&!/[89]/.test(Z0)}let zZ=this.input.charCodeAt(this.state.pos);if(zZ!==46||e||(++this.state.pos,this.readInt(10),L=!0,zZ=this.input.charCodeAt(this.state.pos)),zZ!==69&&zZ!==101||e||(zZ=this.input.charCodeAt(++this.state.pos),zZ!==43&&zZ!==45||++this.state.pos,this.readInt(10)===null&&this.raise(A.InvalidOrMissingExponent,B),L=!0,x=!0,zZ=this.input.charCodeAt(this.state.pos)),zZ===110&&((L||WZ)&&this.raise(A.InvalidBigIntLiteral,B),++this.state.pos,S=!0),zZ===109){this.expectPlugin("decimal",this.state.curPosition()),(x||WZ)&&this.raise(A.InvalidDecimal,B),++this.state.pos;var FZ=!0}if(c(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());let _Z=this.input.slice(K,this.state.pos).replace(/[_mn]/g,"");if(S)return void this.finishToken(136,_Z);if(FZ)return void this.finishToken(137,_Z);let oZ=e?parseInt(_Z,8):parseFloat(_Z);this.finishToken(135,oZ)}readCodePoint(H){let{code:K,pos:B}=u0(this.input,this.state.pos,this.state.lineStart,this.state.curLine,H,this.errorHandlers_readCodePoint);return this.state.pos=B,K}readString(H){let{str:K,pos:B,curLine:L,lineStart:S}=M0(H===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=B+1,this.state.lineStart=S,this.state.curLine=L,this.finishToken(134,K)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let H=this.input[this.state.pos],{str:K,firstInvalidLoc:B,pos:L,curLine:S,lineStart:x}=M0("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=L+1,this.state.lineStart=x,this.state.curLine=S,B&&(this.state.firstInvalidTemplateEscapePos=new Y(B.curLine,B.pos-B.lineStart,this.sourceToOffsetPos(B.pos))),this.input.codePointAt(L)===96?this.finishToken(24,B?null:H+K+"`"):(this.state.pos++,this.finishToken(25,B?null:H+K+"${"))}recordStrictModeErrors(H,K){let B=K.index;this.state.strict&&!this.state.strictErrors.has(B)?this.raise(H,K):this.state.strictErrors.set(B,[H,K])}readWord1(H){this.state.containsEsc=!1;let K="",B=this.state.pos,L=this.state.pos;for(H!==void 0&&(this.state.pos+=H<=65535?1:2);this.state.pos<this.length;){let S=this.codePointAtPos(this.state.pos);if(TZ(S))this.state.pos+=S<=65535?1:2;else{if(S!==92)break;{this.state.containsEsc=!0,K+=this.input.slice(L,this.state.pos);let x=this.state.curPosition(),e=this.state.pos===B?c:TZ;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(A.MissingUnicodeEscape,this.state.curPosition()),L=this.state.pos-1;continue}++this.state.pos;let WZ=this.readCodePoint(!0);WZ!==null&&(e(WZ)||this.raise(A.EscapedCharNotAnIdentifier,x),K+=String.fromCodePoint(WZ)),L=this.state.pos}}}return K+this.input.slice(L,this.state.pos)}readWord(H){let K=this.readWord1(H),B=v.get(K);B!==void 0?this.finishToken(B,AZ(B)):this.finishToken(132,K)}checkKeywordEscapes(){let{type:H}=this.state;GZ(H)&&this.state.containsEsc&&this.raise(A.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:AZ(H)})}raise(H,K,B={}){let L=H(K instanceof Y?K:K.loc.start,B);if(!this.options.errorRecovery)throw L;return this.isLookahead||this.state.errors.push(L),L}raiseOverwrite(H,K,B={}){let L=K instanceof Y?K:K.loc.start,S=L.index,x=this.state.errors;for(let e=x.length-1;e>=0;e--){let WZ=x[e];if(WZ.loc.index===S)return x[e]=H(L,B);if(WZ.loc.index<S)break}return this.raise(H,K,B)}updateContext(H){}unexpected(H,K){throw this.raise(A.UnexpectedToken,H!=null?H:this.state.startLoc,{expected:K?AZ(K):null})}expectPlugin(H,K){if(this.hasPlugin(H))return!0;throw this.raise(A.MissingPlugin,K!=null?K:this.state.startLoc,{missingPlugin:[H]})}expectOnePlugin(H){if(!H.some((K)=>this.hasPlugin(K)))throw this.raise(A.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:H})}errorBuilder(H){return(K,B,L)=>{this.raise(H,i0(K,B,L))}}}class P5{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class C5{constructor(H){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=H}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new P5)}exit(){let H=this.stack.pop(),K=this.current();for(let[B,L]of Array.from(H.undefinedPrivateNames))K?K.undefinedPrivateNames.has(B)||K.undefinedPrivateNames.set(B,L):this.parser.raise(A.InvalidPrivateFieldResolution,L,{identifierName:B})}declarePrivateName(H,K,B){let{privateNames:L,loneAccessors:S,undefinedPrivateNames:x}=this.current(),e=L.has(H);if(3&K){let WZ=e&&S.get(H);if(WZ)e=(3&WZ)===(3&K)||(4&WZ)!==(4&K),e||S.delete(H);else e||S.set(H,K)}e&&this.parser.raise(A.PrivateNameRedeclaration,B,{identifierName:H}),L.add(H),x.delete(H)}usePrivateName(H,K){let B;for(B of this.stack)if(B.privateNames.has(H))return;B?B.undefinedPrivateNames.set(H,K):this.parser.raise(A.InvalidPrivateFieldResolution,K,{identifierName:H})}}class J5{constructor(H=0){this.type=H}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class $5 extends J5{constructor(H){super(H),this.declarationErrors=new Map}recordDeclarationError(H,K){let B=K.index;this.declarationErrors.set(B,[H,K])}clearDeclarationError(H){this.declarationErrors.delete(H)}iterateErrors(H){this.declarationErrors.forEach(H)}}class G5{constructor(H){this.parser=void 0,this.stack=[new J5],this.parser=H}enter(H){this.stack.push(H)}exit(){this.stack.pop()}recordParameterInitializerError(H,K){let B=K.loc.start,{stack:L}=this,S=L.length-1,x=L[S];for(;!x.isCertainlyParameterDeclaration();){if(!x.canBeArrowParameterDeclaration())return;x.recordDeclarationError(H,B),x=L[--S]}this.parser.raise(H,B)}recordArrowParameterBindingError(H,K){let{stack:B}=this,L=B[B.length-1],S=K.loc.start;if(L.isCertainlyParameterDeclaration())this.parser.raise(H,S);else{if(!L.canBeArrowParameterDeclaration())return;L.recordDeclarationError(H,S)}}recordAsyncArrowParametersError(H){let{stack:K}=this,B=K.length-1,L=K[B];for(;L.canBeArrowParameterDeclaration();)L.type===2&&L.recordDeclarationError(A.AwaitBindingIdentifier,H),L=K[--B]}validateAsPattern(){let{stack:H}=this,K=H[H.length-1];K.canBeArrowParameterDeclaration()&&K.iterateErrors(([B,L])=>{this.parser.raise(B,L);let S=H.length-2,x=H[S];for(;x.canBeArrowParameterDeclaration();)x.clearDeclarationError(L.index),x=H[--S]})}}function S5(){return new J5}class c0{constructor(){this.stacks=[]}enter(H){this.stacks.push(H)}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 F5(H,K){return(H?2:0)|(K?1:0)}class K5 extends N0{addExtra(H,K,B,L=!0){if(!H)return;let{extra:S}=H;S==null&&(S={},H.extra=S),L?S[K]=B:Object.defineProperty(S,K,{enumerable:L,value:B})}isContextual(H){return this.state.type===H&&!this.state.containsEsc}isUnparsedContextual(H,K){let B=H+K.length;if(this.input.slice(H,B)===K){let L=this.input.charCodeAt(B);return!(TZ(L)||(64512&L)==55296)}return!1}isLookaheadContextual(H){let K=this.nextTokenStart();return this.isUnparsedContextual(K,H)}eatContextual(H){return!!this.isContextual(H)&&(this.next(),!0)}expectContextual(H,K){if(!this.eatContextual(H)){if(K!=null)throw this.raise(K,this.state.startLoc);this.unexpected(null,H)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return uZ(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return uZ(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(H=!0){(H?this.isLineTerminator():this.eat(13))||this.raise(A.MissingSemicolon,this.state.lastTokEndLoc)}expect(H,K){this.eat(H)||this.unexpected(K,H)}tryParse(H,K=this.state.clone()){let B={node:null};try{let L=H((S=null)=>{throw B.node=S,B});if(this.state.errors.length>K.errors.length){let S=this.state;return this.state=K,this.state.tokensLength=S.tokensLength,{node:L,error:S.errors[K.errors.length],thrown:!1,aborted:!1,failState:S}}return{node:L,error:null,thrown:!1,aborted:!1,failState:null}}catch(L){let S=this.state;if(this.state=K,L instanceof SyntaxError)return{node:null,error:L,thrown:!0,aborted:!1,failState:S};if(L===B)return{node:B.node,error:null,thrown:!1,aborted:!0,failState:S};throw L}}checkExpressionErrors(H,K){if(!H)return!1;let{shorthandAssignLoc:B,doubleProtoLoc:L,privateKeyLoc:S,optionalParametersLoc:x}=H;if(!K)return!!(B||L||x||S);B!=null&&this.raise(A.InvalidCoverInitializedName,B),L!=null&&this.raise(A.DuplicateProto,L),S!=null&&this.raise(A.UnexpectedPrivateField,S),x!=null&&this.unexpected(x)}isLiteralPropertyName(){return i(this.state.type)}isPrivateName(H){return H.type==="PrivateName"}getPrivateNameSV(H){return H.id.name}hasPropertyAsPrivateName(H){return(H.type==="MemberExpression"||H.type==="OptionalMemberExpression")&&this.isPrivateName(H.property)}isObjectProperty(H){return H.type==="ObjectProperty"}isObjectMethod(H){return H.type==="ObjectMethod"}initializeScopes(H=this.options.sourceType==="module"){let K=this.state.labels;this.state.labels=[];let B=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let L=this.inModule;this.inModule=H;let S=this.scope,x=this.getScopeHandler();this.scope=new x(this,H);let e=this.prodParam;this.prodParam=new c0;let WZ=this.classScope;this.classScope=new C5(this);let zZ=this.expressionScope;return this.expressionScope=new G5(this),()=>{this.state.labels=K,this.exportedIdentifiers=B,this.inModule=L,this.scope=S,this.prodParam=e,this.classScope=WZ,this.expressionScope=zZ}}enterInitialScopes(){let H=0;this.inModule&&(H|=2),this.scope.enter(1),this.prodParam.enter(H)}checkDestructuringPrivate(H){let{privateKeyLoc:K}=H;K!==null&&this.expectPlugin("destructuringPrivate",K)}}class g0{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class j5{constructor(H,K,B){this.type="",this.start=K,this.end=0,this.loc=new j(B),H!=null&&H.options.ranges&&(this.range=[K,0]),H!=null&&H.filename&&(this.loc.filename=H.filename)}}let I5=j5.prototype;function W5(H){let{type:K,start:B,end:L,loc:S,range:x,extra:e,name:WZ}=H,zZ=Object.create(I5);return zZ.type=K,zZ.start=B,zZ.end=L,zZ.loc=S,zZ.range=x,zZ.extra=e,zZ.name=WZ,K==="Placeholder"&&(zZ.expectedNode=H.expectedNode),zZ}function T5(H){let{type:K,start:B,end:L,loc:S,range:x,extra:e}=H;if(K==="Placeholder")return function(zZ){return W5(zZ)}(H);let WZ=Object.create(I5);return WZ.type=K,WZ.start=B,WZ.end=L,WZ.loc=S,WZ.range=x,H.raw!==void 0?WZ.raw=H.raw:WZ.extra=e,WZ.value=H.value,WZ}I5.__clone=function(){let H=new j5(void 0,this.start,this.loc.start),K=Object.keys(this);for(let B=0,L=K.length;B<L;B++){let S=K[B];S!=="leadingComments"&&S!=="trailingComments"&&S!=="innerComments"&&(H[S]=this[S])}return H};class q5 extends K5{startNode(){let H=this.state.startLoc;return new j5(this,H.index,H)}startNodeAt(H){return new j5(this,H.index,H)}startNodeAtNode(H){return this.startNodeAt(H.loc.start)}finishNode(H,K){return this.finishNodeAt(H,K,this.state.lastTokEndLoc)}finishNodeAt(H,K,B){return H.type=K,H.end=B.index,H.loc.end=B,this.options.ranges&&(H.range[1]=B.index),this.options.attachComment&&this.processComment(H),H}resetStartLocation(H,K){H.start=K.index,H.loc.start=K,this.options.ranges&&(H.range[0]=K.index)}resetEndLocation(H,K=this.state.lastTokEndLoc){H.end=K.index,H.loc.end=K,this.options.ranges&&(H.range[1]=K.index)}resetStartLocationFromNode(H,K){this.resetStartLocation(H,K.loc.start)}}let b5=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),F0=J`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:H})=>`Cannot overwrite reserved type ${H}.`,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:H,enumName:K})=>`Boolean enum members need to be initialized. Use either \`${H} = true,\` or \`${H} = false,\` in enum \`${K}\`.`,EnumDuplicateMemberName:({memberName:H,enumName:K})=>`Enum member names need to be unique, but the name \`${H}\` has already been used before in enum \`${K}\`.`,EnumInconsistentMemberValues:({enumName:H})=>`Enum \`${H}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:H,enumName:K})=>`Enum type \`${H}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${K}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:H})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${H}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:H,memberName:K,explicitType:B})=>`Enum \`${H}\` has type \`${B}\`, so the initializer of \`${K}\` needs to be a ${B} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:H,memberName:K})=>`Symbol enum members cannot be initialized. Use \`${K},\` in enum \`${H}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:H,memberName:K})=>`The enum member initializer for \`${K}\` needs to be a literal (either a boolean, number, or string) in enum \`${H}\`.`,EnumInvalidMemberName:({enumName:H,memberName:K,suggestion:B})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${K}\`, consider using \`${B}\`, in enum \`${H}\`.`,EnumNumberMemberNotInitialized:({enumName:H,memberName:K})=>`Number enum members need to be initialized, e.g. \`${K} = 1\` in enum \`${H}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:H})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${H}\`.`,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:H})=>`Unexpected reserved type ${H}.`,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:H,suggestion:K})=>`\`declare export ${H}\` is not supported. Use \`${K}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function w5(H){return H.importKind==="type"||H.importKind==="typeof"}let A5={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},U5=/\*?\s*@((?:no)?flow)\b/,D5={__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:"♦"},B5=J`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:H})=>`Expected corresponding JSX closing tag for <${H}>.`,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:H,HTMLEntity:K})=>`Unexpected token \`${H}\`. Did you mean \`${K}\` or \`{'${H}'}\`?`,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 H5(H){return!!H&&(H.type==="JSXOpeningFragment"||H.type==="JSXClosingFragment")}function iZ(H){if(H.type==="JSXIdentifier")return H.name;if(H.type==="JSXNamespacedName")return H.namespace.name+":"+H.name.name;if(H.type==="JSXMemberExpression")return iZ(H.object)+"."+iZ(H.property);throw Error("Node had unexpected type: "+H.type)}class cZ extends LZ{constructor(...H){super(...H),this.tsNames=new Map}}class gZ extends qZ{constructor(...H){super(...H),this.importsStack=[]}createScope(H){return this.importsStack.push(new Set),new cZ(H)}enter(H){H===256&&this.importsStack.push(new Set),super.enter(H)}exit(){let H=super.exit();return H===256&&this.importsStack.pop(),H}hasImport(H,K){let B=this.importsStack.length;if(this.importsStack[B-1].has(H))return!0;if(!K&&B>1){for(let L=0;L<B-1;L++)if(this.importsStack[L].has(H))return!0}return!1}declareName(H,K,B){if(4096&K)return this.hasImport(H,!0)&&this.parser.raise(A.VarRedeclaration,B,{identifierName:H}),void this.importsStack[this.importsStack.length-1].add(H);let L=this.currentScope(),S=L.tsNames.get(H)||0;if(1024&K)return this.maybeExportDefined(L,H),void L.tsNames.set(H,16|S);super.declareName(H,K,B),2&K&&(1&K||(this.checkRedeclarationInScope(L,H,K,B),this.maybeExportDefined(L,H)),S|=1),256&K&&(S|=2),512&K&&(S|=4),128&K&&(S|=8),S&&L.tsNames.set(H,S)}isRedeclaredInScope(H,K,B){let L=H.tsNames.get(K);if((2&L)>0){if(256&B)return!!(512&B)!==(4&L)>0;return!0}return 128&B&&(8&L)>0?!!(2&H.names.get(K))&&!!(1&B):!!(2&B&&(1&L)>0)||super.isRedeclaredInScope(H,K,B)}checkLocalExport(H){let{name:K}=H;if(this.hasImport(K))return;for(let B=this.scopeStack.length-1;B>=0;B--){let L=this.scopeStack[B].tsNames.get(K);if((1&L)>0||(16&L)>0)return}super.checkLocalExport(H)}}let G0=(H)=>H.type==="ParenthesizedExpression"?G0(H.expression):H;class B0 extends q5{toAssignable(H,K=!1){var B,L;let S;switch((H.type==="ParenthesizedExpression"||(B=H.extra)!=null&&B.parenthesized)&&(S=G0(H),K?S.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(A.InvalidParenthesizedAssignment,H):S.type==="MemberExpression"||this.isOptionalMemberExpression(S)||this.raise(A.InvalidParenthesizedAssignment,H):this.raise(A.InvalidParenthesizedAssignment,H)),H.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":H.type="ObjectPattern";for(let e=0,WZ=H.properties.length,zZ=WZ-1;e<WZ;e++){var x;let FZ=H.properties[e],_Z=e===zZ;this.toAssignableObjectExpressionProp(FZ,_Z,K),_Z&&FZ.type==="RestElement"&&(x=H.extra)!=null&&x.trailingCommaLoc&&this.raise(A.RestTrailingComma,H.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:e,value:WZ}=H;this.isPrivateName(e)&&this.classScope.usePrivateName(this.getPrivateNameSV(e),e.loc.start),this.toAssignable(WZ,K);break}case"SpreadElement":throw Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":H.type="ArrayPattern",this.toAssignableList(H.elements,(L=H.extra)==null?void 0:L.trailingCommaLoc,K);break;case"AssignmentExpression":H.operator!=="="&&this.raise(A.MissingEqInAssignment,H.left.loc.end),H.type="AssignmentPattern",delete H.operator,this.toAssignable(H.left,K);break;case"ParenthesizedExpression":this.toAssignable(S,K)}}toAssignableObjectExpressionProp(H,K,B){if(H.type==="ObjectMethod")this.raise(H.kind==="get"||H.kind==="set"?A.PatternHasAccessor:A.PatternHasMethod,H.key);else if(H.type==="SpreadElement"){H.type="RestElement";let L=H.argument;this.checkToRestConversion(L,!1),this.toAssignable(L,B),K||this.raise(A.RestTrailingComma,H)}else this.toAssignable(H,B)}toAssignableList(H,K,B){let L=H.length-1;for(let S=0;S<=L;S++){let x=H[S];if(x){if(x.type==="SpreadElement"){x.type="RestElement";let e=x.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,B)}else this.toAssignable(x,B);x.type==="RestElement"&&(S<L?this.raise(A.RestTrailingComma,x):K&&this.raise(A.RestTrailingComma,K))}}}isAssignable(H,K){switch(H.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let B=H.properties.length-1;return H.properties.every((L,S)=>L.type!=="ObjectMethod"&&(S===B||L.type!=="SpreadElement")&&this.isAssignable(L))}case"ObjectProperty":return this.isAssignable(H.value);case"SpreadElement":return this.isAssignable(H.argument);case"ArrayExpression":return H.elements.every((B)=>B===null||this.isAssignable(B));case"AssignmentExpression":return H.operator==="=";case"ParenthesizedExpression":return this.isAssignable(H.expression);case"MemberExpression":case"OptionalMemberExpression":return!K;default:return!1}}toReferencedList(H,K){return H}toReferencedListDeep(H,K){this.toReferencedList(H,K);for(let B of H)(B==null?void 0:B.type)==="ArrayExpression"&&this.toReferencedListDeep(B.elements)}parseSpread(H){let K=this.startNode();return this.next(),K.argument=this.parseMaybeAssignAllowIn(H,void 0),this.finishNode(K,"SpreadElement")}parseRestBinding(){let H=this.startNode();return this.next(),H.argument=this.parseBindingAtom(),this.finishNode(H,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let H=this.startNode();return this.next(),H.elements=this.parseBindingList(3,93,1),this.finishNode(H,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(H,K,B){let L=1&B,S=[],x=!0;for(;!this.eat(H);)if(x?x=!1:this.expect(12),L&&this.match(12))S.push(null);else{if(this.eat(H))break;if(this.match(21)){let e=this.parseRestBinding();if((this.hasPlugin("flow")||2&B)&&(e=this.parseFunctionParamType(e)),S.push(e),!this.checkCommaAfterRest(K)){this.expect(H);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(A.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());S.push(this.parseAssignableListItem(B,e))}}return S}parseBindingRestProperty(H){return this.next(),H.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(H,"RestElement")}parseBindingProperty(){let{type:H,startLoc:K}=this.state;if(H===21)return this.parseBindingRestProperty(this.startNode());let B=this.startNode();return H===139?(this.expectPlugin("destructuringPrivate",K),this.classScope.usePrivateName(this.state.value,K),B.key=this.parsePrivateName()):this.parsePropertyName(B),B.method=!1,this.parseObjPropValue(B,K,!1,!1,!0,!1)}parseAssignableListItem(H,K){let B=this.parseMaybeDefault();(this.hasPlugin("flow")||2&H)&&this.parseFunctionParamType(B);let L=this.parseMaybeDefault(B.loc.start,B);return K.length&&(B.decorators=K),L}parseFunctionParamType(H){return H}parseMaybeDefault(H,K){var B;if(H!=null||(H=this.state.startLoc),K=(B=K)!=null?B:this.parseBindingAtom(),!this.eat(29))return K;let L=this.startNodeAt(H);return L.left=K,L.right=this.parseMaybeAssignAllowIn(),this.finishNode(L,"AssignmentPattern")}isValidLVal(H,K,B){switch(H){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(H){return H.type==="OptionalMemberExpression"}checkLVal(H,K,B=64,L=!1,S=!1,x=!1){var e;let WZ=H.type;if(this.isObjectMethod(H))return;let zZ=this.isOptionalMemberExpression(H);if(zZ||WZ==="MemberExpression")return zZ&&(this.expectPlugin("optionalChainingAssign",H.loc.start),K.type!=="AssignmentExpression"&&this.raise(A.InvalidLhsOptionalChaining,H,{ancestor:K})),void(B!==64&&this.raise(A.InvalidPropertyBindingPattern,H));if(WZ==="Identifier"){this.checkIdentifier(H,B,S);let{name:D0}=H;return void(L&&(L.has(D0)?this.raise(A.ParamDupe,H):L.add(D0)))}let FZ=this.isValidLVal(WZ,!(x||(e=H.extra)!=null&&e.parenthesized)&&K.type==="AssignmentExpression",B);if(FZ===!0)return;if(FZ===!1){let D0=B===64?A.InvalidLhs:A.InvalidLhsBinding;return void this.raise(D0,H,{ancestor:K})}let _Z,oZ;typeof FZ=="string"?(_Z=FZ,oZ=WZ==="ParenthesizedExpression"):[_Z,oZ]=FZ;let Z0=WZ==="ArrayPattern"||WZ==="ObjectPattern"?{type:WZ}:K,K0=H[_Z];if(Array.isArray(K0))for(let D0 of K0)D0&&this.checkLVal(D0,Z0,B,L,S,oZ);else K0&&this.checkLVal(K0,Z0,B,L,S,oZ)}checkIdentifier(H,K,B=!1){this.state.strict&&(B?l(H.name,this.inModule):DZ(H.name))&&(K===64?this.raise(A.StrictEvalArguments,H,{referenceName:H.name}):this.raise(A.StrictEvalArgumentsBinding,H,{bindingName:H.name})),8192&K&&H.name==="let"&&this.raise(A.LetInLexicalBinding,H),64&K||this.declareNameFromIdentifier(H,K)}declareNameFromIdentifier(H,K){this.scope.declareName(H.name,K,H.loc.start)}checkToRestConversion(H,K){switch(H.type){case"ParenthesizedExpression":this.checkToRestConversion(H.expression,K);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(K)break;default:this.raise(A.InvalidRestAssignmentPattern,H)}}checkCommaAfterRest(H){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===H?A.RestTrailingComma:A.ElementAfterRest,this.state.startLoc),!0)}}function A0(H){if(!H)throw Error("Assert fail")}let xZ=J`typescript`({AbstractMethodHasImplementation:({methodName:H})=>`Method '${H}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:H})=>`Property '${H}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:H})=>`'declare' is not allowed in ${H}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:H})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:H})=>`Duplicate modifier: '${H}'.`,EmptyHeritageClauseType:({token:H})=>`'${H}' 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:H})=>`'${H[0]}' modifier cannot be used with '${H[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:H})=>`Index signatures cannot have an accessibility modifier ('${H}').`,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:H})=>`'${H}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:H})=>`'${H}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:H})=>`'${H}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:H})=>`'${H[0]}' modifier must precede '${H[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:H})=>`Private elements cannot have an accessibility modifier ('${H}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:H})=>`Single type parameter ${H} should have a trailing comma. Example usage: <${H},>.`,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:H})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${H}.`});function j0(H){return H==="private"||H==="public"||H==="protected"}function C0(H){return H==="in"||H==="out"}function T0(H){if(H.type!=="MemberExpression")return!1;let{computed:K,property:B}=H;return(!K||B.type==="StringLiteral"||!(B.type!=="TemplateLiteral"||B.expressions.length>0))&&b0(H.object)}function E0(H,K){var B;let{type:L}=H;if((B=H.extra)!=null&&B.parenthesized)return!1;if(K){if(L==="Literal"){let{value:S}=H;if(typeof S=="string"||typeof S=="boolean")return!0}}else if(L==="StringLiteral"||L==="BooleanLiteral")return!0;return!(!P0(H,K)&&!function(S,x){if(S.type==="UnaryExpression"){let{operator:e,argument:WZ}=S;if(e==="-"&&P0(WZ,x))return!0}return!1}(H,K))||(L==="TemplateLiteral"&&H.expressions.length===0||!!T0(H))}function P0(H,K){return K?H.type==="Literal"&&(typeof H.value=="number"||("bigint"in H)):H.type==="NumericLiteral"||H.type==="BigIntLiteral"}function b0(H){return H.type==="Identifier"||H.type==="MemberExpression"&&!H.computed&&b0(H.object)}let e0=J`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),o0=["minimal","fsharp","hack","smart"],U0=["^^","@@","^","%","#"],Z5={estree:(H)=>class extends H{parse(){let K=P(super.parse());return this.options.tokens&&(K.tokens=K.tokens.map(P)),K}parseRegExpLiteral({pattern:K,flags:B}){let L=null;try{L=new RegExp(K,B)}catch(x){}let S=this.estreeParseLiteral(L);return S.regex={pattern:K,flags:B},S}parseBigIntLiteral(K){let B;try{B=BigInt(K)}catch(S){B=null}let L=this.estreeParseLiteral(B);return L.bigint=String(L.value||K),L}parseDecimalLiteral(K){let B=this.estreeParseLiteral(null);return B.decimal=String(B.value||K),B}estreeParseLiteral(K){return this.parseLiteral(K,"Literal")}parseStringLiteral(K){return this.estreeParseLiteral(K)}parseNumericLiteral(K){return this.estreeParseLiteral(K)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(K){return this.estreeParseLiteral(K)}directiveToStmt(K){let B=K.value;delete K.value,B.type="Literal",B.raw=B.extra.raw,B.value=B.extra.expressionValue;let L=K;return L.type="ExpressionStatement",L.expression=B,L.directive=B.extra.rawValue,delete B.extra,L}initFunction(K,B){super.initFunction(K,B),K.expression=!1}checkDeclaration(K){K!=null&&this.isObjectProperty(K)?this.checkDeclaration(K.value):super.checkDeclaration(K)}getObjectOrClassMethodParams(K){return K.value.params}isValidDirective(K){var B;return K.type==="ExpressionStatement"&&K.expression.type==="Literal"&&typeof K.expression.value=="string"&&!((B=K.expression.extra)!=null&&B.parenthesized)}parseBlockBody(K,B,L,S,x){super.parseBlockBody(K,B,L,S,x);let e=K.directives.map((WZ)=>this.directiveToStmt(WZ));K.body=e.concat(K.body),delete K.directives}pushClassMethod(K,B,L,S,x,e){this.parseMethod(B,L,S,x,e,"ClassMethod",!0),B.typeParameters&&(B.value.typeParameters=B.typeParameters,delete B.typeParameters),K.body.push(B)}parsePrivateName(){let K=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(K):K}convertPrivateNameToPrivateIdentifier(K){let B=super.getPrivateNameSV(K);return delete K.id,K.name=B,K.type="PrivateIdentifier",K}isPrivateName(K){return this.getPluginOption("estree","classFeatures")?K.type==="PrivateIdentifier":super.isPrivateName(K)}getPrivateNameSV(K){return this.getPluginOption("estree","classFeatures")?K.name:super.getPrivateNameSV(K)}parseLiteral(K,B){let L=super.parseLiteral(K,B);return L.raw=L.extra.raw,delete L.extra,L}parseFunctionBody(K,B,L=!1){super.parseFunctionBody(K,B,L),K.expression=K.body.type!=="BlockStatement"}parseMethod(K,B,L,S,x,e,WZ=!1){let zZ=this.startNode();return zZ.kind=K.kind,zZ=super.parseMethod(zZ,B,L,S,x,e,WZ),zZ.type="FunctionExpression",delete zZ.kind,K.value=zZ,e==="ClassPrivateMethod"&&(K.computed=!1),this.finishNode(K,"MethodDefinition")}nameIsConstructor(K){return K.type==="Literal"?K.value==="constructor":super.nameIsConstructor(K)}parseClassProperty(...K){let B=super.parseClassProperty(...K);return this.getPluginOption("estree","classFeatures")?(B.type="PropertyDefinition",B):B}parseClassPrivateProperty(...K){let B=super.parseClassPrivateProperty(...K);return this.getPluginOption("estree","classFeatures")?(B.type="PropertyDefinition",B.computed=!1,B):B}parseObjectMethod(K,B,L,S,x){let e=super.parseObjectMethod(K,B,L,S,x);return e&&(e.type="Property",e.kind==="method"&&(e.kind="init"),e.shorthand=!1),e}parseObjectProperty(K,B,L,S){let x=super.parseObjectProperty(K,B,L,S);return x&&(x.kind="init",x.type="Property"),x}isValidLVal(K,B,L){return K==="Property"?"value":super.isValidLVal(K,B,L)}isAssignable(K,B){return K!=null&&this.isObjectProperty(K)?this.isAssignable(K.value,B):super.isAssignable(K,B)}toAssignable(K,B=!1){if(K!=null&&this.isObjectProperty(K)){let{key:L,value:S}=K;this.isPrivateName(L)&&this.classScope.usePrivateName(this.getPrivateNameSV(L),L.loc.start),this.toAssignable(S,B)}else super.toAssignable(K,B)}toAssignableObjectExpressionProp(K,B,L){K.type!=="Property"||K.kind!=="get"&&K.kind!=="set"?K.type==="Property"&&K.method?this.raise(A.PatternHasMethod,K.key):super.toAssignableObjectExpressionProp(K,B,L):this.raise(A.PatternHasAccessor,K.key)}finishCallExpression(K,B){let L=super.finishCallExpression(K,B);var S,x;return L.callee.type==="Import"&&(L.type="ImportExpression",L.source=L.arguments[0],L.options=(S=L.arguments[1])!=null?S:null,L.attributes=(x=L.arguments[1])!=null?x:null,delete L.arguments,delete L.callee),L}toReferencedArguments(K){K.type!=="ImportExpression"&&super.toReferencedArguments(K)}parseExport(K,B){let L=this.state.lastTokStartLoc,S=super.parseExport(K,B);switch(S.type){case"ExportAllDeclaration":S.exported=null;break;case"ExportNamedDeclaration":S.specifiers.length===1&&S.specifiers[0].type==="ExportNamespaceSpecifier"&&(S.type="ExportAllDeclaration",S.exported=S.specifiers[0].exported,delete S.specifiers);case"ExportDefaultDeclaration":{var x;let{declaration:e}=S;(e==null?void 0:e.type)==="ClassDeclaration"&&((x=e.decorators)==null?void 0:x.length)>0&&e.start===S.start&&this.resetStartLocation(S,L)}}return S}parseSubscript(K,B,L,S){let x=super.parseSubscript(K,B,L,S);if(S.optionalChainMember){if(x.type!=="OptionalMemberExpression"&&x.type!=="OptionalCallExpression"||(x.type=x.type.substring(8)),S.stop){let e=this.startNodeAtNode(x);return e.expression=x,this.finishNode(e,"ChainExpression")}}else x.type!=="MemberExpression"&&x.type!=="CallExpression"||(x.optional=!1);return x}isOptionalMemberExpression(K){return K.type==="ChainExpression"?K.expression.type==="MemberExpression":super.isOptionalMemberExpression(K)}hasPropertyAsPrivateName(K){return K.type==="ChainExpression"&&(K=K.expression),super.hasPropertyAsPrivateName(K)}isObjectProperty(K){return K.type==="Property"&&K.kind==="init"&&!K.method}isObjectMethod(K){return K.type==="Property"&&(K.method||K.kind==="get"||K.kind==="set")}finishNodeAt(K,B,L){return P(super.finishNodeAt(K,B,L))}resetStartLocation(K,B){super.resetStartLocation(K,B),P(K)}resetEndLocation(K,B=this.state.lastTokEndLoc){super.resetEndLocation(K,B),P(K)}},jsx:(H)=>class extends H{jsxReadToken(){let K="",B=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(B5.UnterminatedJsxContent,this.state.startLoc);let L=this.input.charCodeAt(this.state.pos);switch(L){case 60:case 123:return this.state.pos===this.state.start?void(L===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(L)):(K+=this.input.slice(B,this.state.pos),void this.finishToken(142,K));case 38:K+=this.input.slice(B,this.state.pos),K+=this.jsxReadEntity(),B=this.state.pos;break;default:pZ(L)?(K+=this.input.slice(B,this.state.pos),K+=this.jsxReadNewLine(!0),B=this.state.pos):++this.state.pos}}}jsxReadNewLine(K){let B=this.input.charCodeAt(this.state.pos),L;return++this.state.pos,B===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,L=K?`
|
|
346
346
|
`:`\r
|
|
347
|
-
`):L=String.fromCharCode(B),++this.state.curLine,this.state.lineStart=this.state.pos,L}jsxReadString(K){let B="",L=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(A.UnterminatedString,this.state.startLoc);let S=this.input.charCodeAt(this.state.pos);if(S===K)break;S===38?(B+=this.input.slice(L,this.state.pos),B+=this.jsxReadEntity(),L=this.state.pos):pZ(S)?(B+=this.input.slice(L,this.state.pos),B+=this.jsxReadNewLine(!1),L=this.state.pos):++this.state.pos}B+=this.input.slice(L,this.state.pos++),this.finishToken(134,B)}jsxReadEntity(){let K=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let B=10;this.codePointAtPos(this.state.pos)===120&&(B=16,++this.state.pos);let L=this.readInt(B,void 0,!1,"bail");if(L!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(L)}else{let B=0,L=!1;for(;B++<10&&this.state.pos<this.length&&!(L=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(L){let S=this.input.slice(K,this.state.pos),x=T5[S];if(++this.state.pos,x)return x}}return this.state.pos=K,"&"}jsxReadWord(){let K,B=this.state.pos;do K=this.input.charCodeAt(++this.state.pos);while(TZ(K)||K===45);this.finishToken(141,this.input.slice(B,this.state.pos))}jsxParseIdentifier(){let K=this.startNode();return this.match(141)?K.name=this.state.value:GZ(this.state.type)?K.name=AZ(this.state.type):this.unexpected(),this.next(),this.finishNode(K,"JSXIdentifier")}jsxParseNamespacedName(){let K=this.state.startLoc,B=this.jsxParseIdentifier();if(!this.eat(14))return B;let L=this.startNodeAt(K);return L.namespace=B,L.name=this.jsxParseIdentifier(),this.finishNode(L,"JSXNamespacedName")}jsxParseElementName(){let K=this.state.startLoc,B=this.jsxParseNamespacedName();if(B.type==="JSXNamespacedName")return B;for(;this.eat(16);){let L=this.startNodeAt(K);L.object=B,L.property=this.jsxParseIdentifier(),B=this.finishNode(L,"JSXMemberExpression")}return B}jsxParseAttributeValue(){let K;switch(this.state.type){case 5:return K=this.startNode(),this.setContext(D.brace),this.next(),K=this.jsxParseExpressionContainer(K,D.j_oTag),K.expression.type==="JSXEmptyExpression"&&this.raise(B5.AttributeIsEmpty,K),K;case 143:case 134:return this.parseExprAtom();default:throw this.raise(B5.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let K=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(K,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(K){return this.next(),K.expression=this.parseExpression(),this.setContext(D.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXSpreadChild")}jsxParseExpressionContainer(K,B){if(this.match(8))K.expression=this.jsxParseEmptyExpression();else{let L=this.parseExpression();K.expression=L}return this.setContext(B),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXExpressionContainer")}jsxParseAttribute(){let K=this.startNode();return this.match(5)?(this.setContext(D.brace),this.next(),this.expect(21),K.argument=this.parseMaybeAssignAllowIn(),this.setContext(D.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXSpreadAttribute")):(K.name=this.jsxParseNamespacedName(),K.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(K,"JSXAttribute"))}jsxParseOpeningElementAt(K){let B=this.startNodeAt(K);return this.eat(144)?this.finishNode(B,"JSXOpeningFragment"):(B.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(B))}jsxParseOpeningElementAfterName(K){let B=[];for(;!this.match(56)&&!this.match(144);)B.push(this.jsxParseAttribute());return K.attributes=B,K.selfClosing=this.eat(56),this.expect(144),this.finishNode(K,"JSXOpeningElement")}jsxParseClosingElementAt(K){let B=this.startNodeAt(K);return this.eat(144)?this.finishNode(B,"JSXClosingFragment"):(B.name=this.jsxParseElementName(),this.expect(144),this.finishNode(B,"JSXClosingElement"))}jsxParseElementAt(K){let B=this.startNodeAt(K),L=[],S=this.jsxParseOpeningElementAt(K),x=null;if(!S.selfClosing){Z:for(;;)switch(this.state.type){case 143:if(K=this.state.startLoc,this.next(),this.eat(56)){x=this.jsxParseClosingElementAt(K);break Z}L.push(this.jsxParseElementAt(K));break;case 142:L.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let e=this.startNode();this.setContext(D.brace),this.next(),this.match(21)?L.push(this.jsxParseSpreadChild(e)):L.push(this.jsxParseExpressionContainer(e,D.j_expr));break}default:this.unexpected()}H5(S)&&!H5(x)&&x!==null?this.raise(B5.MissingClosingTagFragment,x):!H5(S)&&H5(x)?this.raise(B5.MissingClosingTagElement,x,{openingTagName:iZ(S.name)}):H5(S)||H5(x)||iZ(x.name)!==iZ(S.name)&&this.raise(B5.MissingClosingTagElement,x,{openingTagName:iZ(S.name)})}if(H5(S)?(B.openingFragment=S,B.closingFragment=x):(B.openingElement=S,B.closingElement=x),B.children=L,this.match(47))throw this.raise(B5.UnwrappedAdjacentJSXElements,this.state.startLoc);return H5(S)?this.finishNode(B,"JSXFragment"):this.finishNode(B,"JSXElement")}jsxParseElement(){let K=this.state.startLoc;return this.next(),this.jsxParseElementAt(K)}setContext(K){let{context:B}=this.state;B[B.length-1]=K}parseExprAtom(K){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(K)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(K){let B=this.curContext();if(B!==D.j_expr){if(B===D.j_oTag||B===D.j_cTag){if(c(K))return void this.jsxReadWord();if(K===62)return++this.state.pos,void this.finishToken(144);if((K===34||K===39)&&B===D.j_oTag)return void this.jsxReadString(K)}if(K===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(K)}else this.jsxReadToken()}updateContext(K){let{context:B,type:L}=this.state;if(L===56&&K===143)B.splice(-2,2,D.j_cTag),this.state.canStartJSXElement=!1;else if(L===143)B.push(D.j_oTag);else if(L===144){let S=B[B.length-1];S===D.j_oTag&&K===56||S===D.j_cTag?(B.pop(),this.state.canStartJSXElement=B[B.length-1]===D.j_expr):(this.setContext(D.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=g[L]}},flow:(H)=>class extends H{constructor(...K){super(...K),this.flowPragma=void 0}getScopeHandler(){return lZ}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(K,B){K!==134&&K!==13&&K!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(K,B)}addComment(K){if(this.flowPragma===void 0){let B=A5.exec(K.value);if(B)if(B[1]==="flow")this.flowPragma="flow";else{if(B[1]!=="noflow")throw Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(K)}flowParseTypeInitialiser(K){let B=this.state.inType;this.state.inType=!0,this.expect(K||14);let L=this.flowParseType();return this.state.inType=B,L}flowParsePredicate(){let K=this.startNode(),B=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>B.index+1&&this.raise(F0.UnexpectedSpaceBetweenModuloChecks,B),this.eat(10)?(K.value=super.parseExpression(),this.expect(11),this.finishNode(K,"DeclaredPredicate")):this.finishNode(K,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let K=this.state.inType;this.state.inType=!0,this.expect(14);let B=null,L=null;return this.match(54)?(this.state.inType=K,L=this.flowParsePredicate()):(B=this.flowParseType(),this.state.inType=K,this.match(54)&&(L=this.flowParsePredicate())),[B,L]}flowParseDeclareClass(K){return this.next(),this.flowParseInterfaceish(K,!0),this.finishNode(K,"DeclareClass")}flowParseDeclareFunction(K){this.next();let B=K.id=this.parseIdentifier(),L=this.startNode(),S=this.startNode();this.match(47)?L.typeParameters=this.flowParseTypeParameterDeclaration():L.typeParameters=null,this.expect(10);let x=this.flowParseFunctionTypeParams();return L.params=x.params,L.rest=x.rest,L.this=x._this,this.expect(11),[L.returnType,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),S.typeAnnotation=this.finishNode(L,"FunctionTypeAnnotation"),B.typeAnnotation=this.finishNode(S,"TypeAnnotation"),this.resetEndLocation(B),this.semicolon(),this.scope.declareName(K.id.name,2048,K.id.loc.start),this.finishNode(K,"DeclareFunction")}flowParseDeclare(K,B){return this.match(80)?this.flowParseDeclareClass(K):this.match(68)?this.flowParseDeclareFunction(K):this.match(74)?this.flowParseDeclareVariable(K):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(K):(B&&this.raise(F0.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(K)):this.isContextual(130)?this.flowParseDeclareTypeAlias(K):this.isContextual(131)?this.flowParseDeclareOpaqueType(K):this.isContextual(129)?this.flowParseDeclareInterface(K):this.match(82)?this.flowParseDeclareExportDeclaration(K,B):void this.unexpected()}flowParseDeclareVariable(K){return this.next(),K.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(K.id.name,5,K.id.loc.start),this.semicolon(),this.finishNode(K,"DeclareVariable")}flowParseDeclareModule(K){this.scope.enter(0),this.match(134)?K.id=super.parseExprAtom():K.id=this.parseIdentifier();let B=K.body=this.startNode(),L=B.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(F0.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(e)):(this.expectContextual(125,F0.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),L.push(e)}this.scope.exit(),this.expect(8),this.finishNode(B,"BlockStatement");let S=null,x=!1;return L.forEach((e)=>{!function(WZ){return WZ.type==="DeclareExportAllDeclaration"||WZ.type==="DeclareExportDeclaration"&&(!WZ.declaration||WZ.declaration.type!=="TypeAlias"&&WZ.declaration.type!=="InterfaceDeclaration")}(e)?e.type==="DeclareModuleExports"&&(x&&this.raise(F0.DuplicateDeclareModuleExports,e),S==="ES"&&this.raise(F0.AmbiguousDeclareModuleKind,e),S="CommonJS",x=!0):(S==="CommonJS"&&this.raise(F0.AmbiguousDeclareModuleKind,e),S="ES")}),K.kind=S||"CommonJS",this.finishNode(K,"DeclareModule")}flowParseDeclareExportDeclaration(K,B){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?K.declaration=this.flowParseDeclare(this.startNode()):(K.declaration=this.flowParseType(),this.semicolon()),K.default=!0,this.finishNode(K,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!B){let L=this.state.value;throw this.raise(F0.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:L,suggestion:N5[L]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(K.declaration=this.flowParseDeclare(this.startNode()),K.default=!1,this.finishNode(K,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((K=this.parseExport(K,null)).type==="ExportNamedDeclaration"&&(K.type="ExportDeclaration",K.default=!1,delete K.exportKind),K.type="Declare"+K.type,K):void this.unexpected()}flowParseDeclareModuleExports(K){return this.next(),this.expectContextual(111),K.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(K,"DeclareModuleExports")}flowParseDeclareTypeAlias(K){this.next();let B=this.flowParseTypeAlias(K);return B.type="DeclareTypeAlias",B}flowParseDeclareOpaqueType(K){this.next();let B=this.flowParseOpaqueType(K,!0);return B.type="DeclareOpaqueType",B}flowParseDeclareInterface(K){return this.next(),this.flowParseInterfaceish(K,!1),this.finishNode(K,"DeclareInterface")}flowParseInterfaceish(K,B){if(K.id=this.flowParseRestrictedIdentifier(!B,!0),this.scope.declareName(K.id.name,B?17:8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.extends=[],this.eat(81))do K.extends.push(this.flowParseInterfaceExtends());while(!B&&this.eat(12));if(B){if(K.implements=[],K.mixins=[],this.eatContextual(117))do K.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do K.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}K.body=this.flowParseObjectType({allowStatic:B,allowExact:!1,allowSpread:!1,allowProto:B,allowInexact:!1})}flowParseInterfaceExtends(){let K=this.startNode();return K.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?K.typeParameters=this.flowParseTypeParameterInstantiation():K.typeParameters=null,this.finishNode(K,"InterfaceExtends")}flowParseInterface(K){return this.flowParseInterfaceish(K,!1),this.finishNode(K,"InterfaceDeclaration")}checkNotUnderscore(K){K==="_"&&this.raise(F0.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(K,B,L){b5.has(K)&&this.raise(L?F0.AssignReservedType:F0.UnexpectedReservedType,B,{reservedType:K})}flowParseRestrictedIdentifier(K,B){return this.checkReservedType(this.state.value,this.state.startLoc,B),this.parseIdentifier(K)}flowParseTypeAlias(K){return K.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(K.id.name,8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(K,"TypeAlias")}flowParseOpaqueType(K,B){return this.expectContextual(130),K.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(K.id.name,8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.supertype=null,this.match(14)&&(K.supertype=this.flowParseTypeInitialiser(14)),K.impltype=null,B||(K.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(K,"OpaqueType")}flowParseTypeParameter(K=!1){let B=this.state.startLoc,L=this.startNode(),S=this.flowParseVariance(),x=this.flowParseTypeAnnotatableIdentifier();return L.name=x.name,L.variance=S,L.bound=x.typeAnnotation,this.match(29)?(this.eat(29),L.default=this.flowParseType()):K&&this.raise(F0.MissingTypeParamDefault,B),this.finishNode(L,"TypeParameter")}flowParseTypeParameterDeclaration(){let K=this.state.inType,B=this.startNode();B.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let L=!1;do{let S=this.flowParseTypeParameter(L);B.params.push(S),S.default&&(L=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=K,this.finishNode(B,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let K=this.startNode(),B=this.state.inType;K.params=[],this.state.inType=!0,this.expect(47);let L=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)K.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=L,this.expect(48),this.state.inType=B,this.finishNode(K,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let K=this.startNode(),B=this.state.inType;for(K.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)K.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=B,this.finishNode(K,"TypeParameterInstantiation")}flowParseInterfaceType(){let K=this.startNode();if(this.expectContextual(129),K.extends=[],this.eat(81))do K.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return K.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(K,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(K,B,L){return K.static=B,this.lookahead().type===14?(K.id=this.flowParseObjectPropertyKey(),K.key=this.flowParseTypeInitialiser()):(K.id=null,K.key=this.flowParseType()),this.expect(3),K.value=this.flowParseTypeInitialiser(),K.variance=L,this.finishNode(K,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(K,B){return K.static=B,K.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(K.method=!0,K.optional=!1,K.value=this.flowParseObjectTypeMethodish(this.startNodeAt(K.loc.start))):(K.method=!1,this.eat(17)&&(K.optional=!0),K.value=this.flowParseTypeInitialiser()),this.finishNode(K,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(K){for(K.params=[],K.rest=null,K.typeParameters=null,K.this=null,this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(K.this=this.flowParseFunctionTypeParam(!0),K.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)K.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(K.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),K.returnType=this.flowParseTypeInitialiser(),this.finishNode(K,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(K,B){let L=this.startNode();return K.static=B,K.value=this.flowParseObjectTypeMethodish(L),this.finishNode(K,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:K,allowExact:B,allowSpread:L,allowProto:S,allowInexact:x}){let e=this.state.inType;this.state.inType=!0;let WZ=this.startNode(),zZ,FZ;WZ.callProperties=[],WZ.properties=[],WZ.indexers=[],WZ.internalSlots=[];let _Z=!1;for(B&&this.match(6)?(this.expect(6),zZ=9,FZ=!0):(this.expect(5),zZ=8,FZ=!1),WZ.exact=FZ;!this.match(zZ);){let Z0=!1,K0=null,D0=null,r0=this.startNode();if(S&&this.isContextual(118)){let k0=this.lookahead();k0.type!==14&&k0.type!==17&&(this.next(),K0=this.state.startLoc,K=!1)}if(K&&this.isContextual(106)){let k0=this.lookahead();k0.type!==14&&k0.type!==17&&(this.next(),Z0=!0)}let S0=this.flowParseVariance();if(this.eat(0))K0!=null&&this.unexpected(K0),this.eat(0)?(S0&&this.unexpected(S0.loc.start),WZ.internalSlots.push(this.flowParseObjectTypeInternalSlot(r0,Z0))):WZ.indexers.push(this.flowParseObjectTypeIndexer(r0,Z0,S0));else if(this.match(10)||this.match(47))K0!=null&&this.unexpected(K0),S0&&this.unexpected(S0.loc.start),WZ.callProperties.push(this.flowParseObjectTypeCallProperty(r0,Z0));else{let k0="init";if(this.isContextual(99)||this.isContextual(104))i(this.lookahead().type)&&(k0=this.state.value,this.next());let Q5=this.flowParseObjectTypeProperty(r0,Z0,K0,S0,k0,L,x!=null?x:!FZ);Q5===null?(_Z=!0,D0=this.state.lastTokStartLoc):WZ.properties.push(Q5)}this.flowObjectTypeSemicolon(),!D0||this.match(8)||this.match(9)||this.raise(F0.UnexpectedExplicitInexactInObject,D0)}this.expect(zZ),L&&(WZ.inexact=_Z);let oZ=this.finishNode(WZ,"ObjectTypeAnnotation");return this.state.inType=e,oZ}flowParseObjectTypeProperty(K,B,L,S,x,e,WZ){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(e?WZ||this.raise(F0.InexactInsideExact,this.state.lastTokStartLoc):this.raise(F0.InexactInsideNonObject,this.state.lastTokStartLoc),S&&this.raise(F0.InexactVariance,S),null):(e||this.raise(F0.UnexpectedSpreadType,this.state.lastTokStartLoc),L!=null&&this.unexpected(L),S&&this.raise(F0.SpreadVariance,S),K.argument=this.flowParseType(),this.finishNode(K,"ObjectTypeSpreadProperty"));{K.key=this.flowParseObjectPropertyKey(),K.static=B,K.proto=L!=null,K.kind=x;let zZ=!1;return this.match(47)||this.match(10)?(K.method=!0,L!=null&&this.unexpected(L),S&&this.unexpected(S.loc.start),K.value=this.flowParseObjectTypeMethodish(this.startNodeAt(K.loc.start)),x!=="get"&&x!=="set"||this.flowCheckGetterSetterParams(K),!e&&K.key.name==="constructor"&&K.value.this&&this.raise(F0.ThisParamBannedInConstructor,K.value.this)):(x!=="init"&&this.unexpected(),K.method=!1,this.eat(17)&&(zZ=!0),K.value=this.flowParseTypeInitialiser(),K.variance=S),K.optional=zZ,this.finishNode(K,"ObjectTypeProperty")}}flowCheckGetterSetterParams(K){let B=K.kind==="get"?0:1,L=K.value.params.length+(K.value.rest?1:0);K.value.this&&this.raise(K.kind==="get"?F0.GetterMayNotHaveThisParam:F0.SetterMayNotHaveThisParam,K.value.this),L!==B&&this.raise(K.kind==="get"?A.BadGetterArity:A.BadSetterArity,K),K.kind==="set"&&K.value.rest&&this.raise(A.BadSetterRestParameter,K)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(K,B){K!=null||(K=this.state.startLoc);let L=B||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let S=this.startNodeAt(K);S.qualification=L,S.id=this.flowParseRestrictedIdentifier(!0),L=this.finishNode(S,"QualifiedTypeIdentifier")}return L}flowParseGenericType(K,B){let L=this.startNodeAt(K);return L.typeParameters=null,L.id=this.flowParseQualifiedTypeIdentifier(K,B),this.match(47)&&(L.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(L,"GenericTypeAnnotation")}flowParseTypeofType(){let K=this.startNode();return this.expect(87),K.argument=this.flowParsePrimaryType(),this.finishNode(K,"TypeofTypeAnnotation")}flowParseTupleType(){let K=this.startNode();for(K.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(K.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(K,"TupleTypeAnnotation")}flowParseFunctionTypeParam(K){let B=null,L=!1,S=null,x=this.startNode(),e=this.lookahead(),WZ=this.state.type===78;return e.type===14||e.type===17?(WZ&&!K&&this.raise(F0.ThisParamMustBeFirst,x),B=this.parseIdentifier(WZ),this.eat(17)&&(L=!0,WZ&&this.raise(F0.ThisParamMayNotBeOptional,x)),S=this.flowParseTypeInitialiser()):S=this.flowParseType(),x.name=B,x.optional=L,x.typeAnnotation=S,this.finishNode(x,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(K){let B=this.startNodeAt(K.loc.start);return B.name=null,B.optional=!1,B.typeAnnotation=K,this.finishNode(B,"FunctionTypeParam")}flowParseFunctionTypeParams(K=[]){let B=null,L=null;for(this.match(78)&&(L=this.flowParseFunctionTypeParam(!0),L.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)K.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(B=this.flowParseFunctionTypeParam(!1)),{params:K,rest:B,_this:L}}flowIdentToTypeAnnotation(K,B,L){switch(L.name){case"any":return this.finishNode(B,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(B,"BooleanTypeAnnotation");case"mixed":return this.finishNode(B,"MixedTypeAnnotation");case"empty":return this.finishNode(B,"EmptyTypeAnnotation");case"number":return this.finishNode(B,"NumberTypeAnnotation");case"string":return this.finishNode(B,"StringTypeAnnotation");case"symbol":return this.finishNode(B,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(L.name),this.flowParseGenericType(K,L)}}flowParsePrimaryType(){let K=this.state.startLoc,B=this.startNode(),L,S,x=!1,e=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,S=this.flowParseTupleType(),this.state.noAnonFunctionType=e,S;case 47:{let WZ=this.startNode();return WZ.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),L=this.flowParseFunctionTypeParams(),WZ.params=L.params,WZ.rest=L.rest,WZ.this=L._this,this.expect(11),this.expect(19),WZ.returnType=this.flowParseType(),this.finishNode(WZ,"FunctionTypeAnnotation")}case 10:{let WZ=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(b(this.state.type)||this.match(78)){let zZ=this.lookahead().type;x=zZ!==17&&zZ!==14}else x=!0;if(x){if(this.state.noAnonFunctionType=!1,S=this.flowParseType(),this.state.noAnonFunctionType=e,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),S;this.eat(12)}return L=S?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(S)]):this.flowParseFunctionTypeParams(),WZ.params=L.params,WZ.rest=L.rest,WZ.this=L._this,this.expect(11),this.expect(19),WZ.returnType=this.flowParseType(),WZ.typeParameters=null,this.finishNode(WZ,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return B.value=this.match(85),this.next(),this.finishNode(B,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",B);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",B);throw this.raise(F0.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(B,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(B,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(B,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(B,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(GZ(this.state.type)){let WZ=AZ(this.state.type);return this.next(),super.createIdentifier(B,WZ)}if(b(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(K,B,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let K=this.state.startLoc,B=this.flowParsePrimaryType(),L=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let S=this.startNodeAt(K),x=this.eat(18);L=L||x,this.expect(0),!x&&this.match(3)?(S.elementType=B,this.next(),B=this.finishNode(S,"ArrayTypeAnnotation")):(S.objectType=B,S.indexType=this.flowParseType(),this.expect(3),L?(S.optional=x,B=this.finishNode(S,"OptionalIndexedAccessType")):B=this.finishNode(S,"IndexedAccessType"))}return B}flowParsePrefixType(){let K=this.startNode();return this.eat(17)?(K.typeAnnotation=this.flowParsePrefixType(),this.finishNode(K,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let K=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let B=this.startNodeAt(K.loc.start);return B.params=[this.reinterpretTypeAsFunctionTypeParam(K)],B.rest=null,B.this=null,B.returnType=this.flowParseType(),B.typeParameters=null,this.finishNode(B,"FunctionTypeAnnotation")}return K}flowParseIntersectionType(){let K=this.startNode();this.eat(45);let B=this.flowParseAnonFunctionWithoutParens();for(K.types=[B];this.eat(45);)K.types.push(this.flowParseAnonFunctionWithoutParens());return K.types.length===1?B:this.finishNode(K,"IntersectionTypeAnnotation")}flowParseUnionType(){let K=this.startNode();this.eat(43);let B=this.flowParseIntersectionType();for(K.types=[B];this.eat(43);)K.types.push(this.flowParseIntersectionType());return K.types.length===1?B:this.finishNode(K,"UnionTypeAnnotation")}flowParseType(){let K=this.state.inType;this.state.inType=!0;let B=this.flowParseUnionType();return this.state.inType=K,B}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let K=this.state.startLoc,B=this.parseIdentifier();return this.flowParseGenericType(K,B)}return this.flowParseType()}flowParseTypeAnnotation(){let K=this.startNode();return K.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(K,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(K){let B=K?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(B.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(B)),B}typeCastToParameter(K){return K.expression.typeAnnotation=K.typeAnnotation,this.resetEndLocation(K.expression,K.typeAnnotation.loc.end),K.expression}flowParseVariance(){let K=null;return this.match(53)?(K=this.startNode(),this.state.value==="+"?K.kind="plus":K.kind="minus",this.next(),this.finishNode(K,"Variance")):K}parseFunctionBody(K,B,L=!1){B?this.forwardNoArrowParamsConversionAt(K,()=>super.parseFunctionBody(K,!0,L)):super.parseFunctionBody(K,!1,L)}parseFunctionBodyAndFinish(K,B,L=!1){if(this.match(14)){let S=this.startNode();[S.typeAnnotation,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),K.returnType=S.typeAnnotation?this.finishNode(S,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(K,B,L)}parseStatementLike(K){if(this.state.strict&&this.isContextual(129)){if(p(this.lookahead().type)){let L=this.startNode();return this.next(),this.flowParseInterface(L)}}else if(this.isContextual(126)){let L=this.startNode();return this.next(),this.flowParseEnumDeclaration(L)}let B=super.parseStatementLike(K);return this.flowPragma!==void 0||this.isValidDirective(B)||(this.flowPragma=null),B}parseExpressionStatement(K,B,L){if(B.type==="Identifier"){if(B.name==="declare"){if(this.match(80)||b(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(K)}else if(b(this.state.type)){if(B.name==="interface")return this.flowParseInterface(K);if(B.name==="type")return this.flowParseTypeAlias(K);if(B.name==="opaque")return this.flowParseOpaqueType(K,!1)}}return super.parseExpressionStatement(K,B,L)}shouldParseExportDeclaration(){let{type:K}=this.state;return K===126||HZ(K)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:K}=this.state;return K===126||HZ(K)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let K=this.startNode();return this.next(),this.flowParseEnumDeclaration(K)}return super.parseExportDefaultExpression()}parseConditional(K,B,L){if(!this.match(17))return K;if(this.state.maybeInArrowParameters){let oZ=this.lookaheadCharCode();if(oZ===44||oZ===61||oZ===58||oZ===41)return this.setOptionalParametersError(L),K}this.expect(17);let S=this.state.clone(),x=this.state.noArrowAt,e=this.startNodeAt(B),{consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent(),[FZ,_Z]=this.getArrowLikeExpressions(WZ);if(zZ||_Z.length>0){let oZ=[...x];if(_Z.length>0){this.state=S,this.state.noArrowAt=oZ;for(let Z0=0;Z0<_Z.length;Z0++)oZ.push(_Z[Z0].start);({consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent()),[FZ,_Z]=this.getArrowLikeExpressions(WZ)}zZ&&FZ.length>1&&this.raise(F0.AmbiguousConditionalArrow,S.startLoc),zZ&&FZ.length===1&&(this.state=S,oZ.push(FZ[0].start),this.state.noArrowAt=oZ,{consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(WZ,!0),this.state.noArrowAt=x,this.expect(14),e.test=K,e.consequent=WZ,e.alternate=this.forwardNoArrowParamsConversionAt(e,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(e,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let K=this.parseMaybeAssignAllowIn(),B=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:K,failed:B}}getArrowLikeExpressions(K,B){let L=[K],S=[];for(;L.length!==0;){let x=L.pop();x.type==="ArrowFunctionExpression"&&x.body.type!=="BlockStatement"?(x.typeParameters||!x.returnType?this.finishArrowValidation(x):S.push(x),L.push(x.body)):x.type==="ConditionalExpression"&&(L.push(x.consequent),L.push(x.alternate))}return B?(S.forEach((x)=>this.finishArrowValidation(x)),[S,[]]):function(x,e){let WZ=[],zZ=[];for(let FZ=0;FZ<x.length;FZ++)(e(x[FZ],FZ,x)?WZ:zZ).push(x[FZ]);return[WZ,zZ]}(S,(x)=>x.params.every((e)=>this.isAssignable(e,!0)))}finishArrowValidation(K){var B;this.toAssignableList(K.params,(B=K.extra)==null?void 0:B.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(K,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(K,B){let L;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),L=B(),this.state.noArrowParamsConversionAt.pop()):L=B(),L}parseParenItem(K,B){let L=super.parseParenItem(K,B);if(this.eat(17)&&(L.optional=!0,this.resetEndLocation(K)),this.match(14)){let S=this.startNodeAt(B);return S.expression=L,S.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(S,"TypeCastExpression")}return L}assertModuleNodeAllowed(K){K.type==="ImportDeclaration"&&(K.importKind==="type"||K.importKind==="typeof")||K.type==="ExportNamedDeclaration"&&K.exportKind==="type"||K.type==="ExportAllDeclaration"&&K.exportKind==="type"||super.assertModuleNodeAllowed(K)}parseExportDeclaration(K){if(this.isContextual(130)){K.exportKind="type";let B=this.startNode();return this.next(),this.match(5)?(K.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(K),null):this.flowParseTypeAlias(B)}if(this.isContextual(131)){K.exportKind="type";let B=this.startNode();return this.next(),this.flowParseOpaqueType(B,!1)}if(this.isContextual(129)){K.exportKind="type";let B=this.startNode();return this.next(),this.flowParseInterface(B)}if(this.isContextual(126)){K.exportKind="value";let B=this.startNode();return this.next(),this.flowParseEnumDeclaration(B)}return super.parseExportDeclaration(K)}eatExportStar(K){return!!super.eatExportStar(K)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(K.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(K){let{startLoc:B}=this.state,L=super.maybeParseExportNamespaceSpecifier(K);return L&&K.exportKind==="type"&&this.unexpected(B),L}parseClassId(K,B,L){super.parseClassId(K,B,L),this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(K,B,L){let{startLoc:S}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(K,B))return;B.declare=!0}super.parseClassMember(K,B,L),B.declare&&(B.type!=="ClassProperty"&&B.type!=="ClassPrivateProperty"&&B.type!=="PropertyDefinition"?this.raise(F0.DeclareClassElement,S):B.value&&this.raise(F0.DeclareClassFieldInitializer,B.value))}isIterator(K){return K==="iterator"||K==="asyncIterator"}readIterator(){let K=super.readWord1(),B="@@"+K;this.isIterator(K)&&this.state.inType||this.raise(A.InvalidIdentifier,this.state.curPosition(),{identifierName:B}),this.finishToken(132,B)}getTokenFromCode(K){let B=this.input.charCodeAt(this.state.pos+1);K===123&&B===124?this.finishOp(6,2):!this.state.inType||K!==62&&K!==60?this.state.inType&&K===63?B===46?this.finishOp(18,2):this.finishOp(17,1):!function(L,S,x){return L===64&&S===64&&c(x)}(K,B,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(K):(this.state.pos+=2,this.readIterator()):this.finishOp(K===62?48:47,1)}isAssignable(K,B){return K.type==="TypeCastExpression"?this.isAssignable(K.expression,B):super.isAssignable(K,B)}toAssignable(K,B=!1){B||K.type!=="AssignmentExpression"||K.left.type!=="TypeCastExpression"||(K.left=this.typeCastToParameter(K.left)),super.toAssignable(K,B)}toAssignableList(K,B,L){for(let S=0;S<K.length;S++){let x=K[S];(x==null?void 0:x.type)==="TypeCastExpression"&&(K[S]=this.typeCastToParameter(x))}super.toAssignableList(K,B,L)}toReferencedList(K,B){for(let S=0;S<K.length;S++){var L;let x=K[S];!x||x.type!=="TypeCastExpression"||(L=x.extra)!=null&&L.parenthesized||!(K.length>1)&&B||this.raise(F0.TypeCastInPattern,x.typeAnnotation)}return K}parseArrayLike(K,B,L,S){let x=super.parseArrayLike(K,B,L,S);return B&&!this.state.maybeInArrowParameters&&this.toReferencedList(x.elements),x}isValidLVal(K,B,L){return K==="TypeCastExpression"||super.isValidLVal(K,B,L)}parseClassProperty(K){return this.match(14)&&(K.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(K)}parseClassPrivateProperty(K){return this.match(14)&&(K.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(K)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(K){return!this.match(14)&&super.isNonstaticConstructor(K)}pushClassMethod(K,B,L,S,x,e){if(B.variance&&this.unexpected(B.variance.loc.start),delete B.variance,this.match(47)&&(B.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(K,B,L,S,x,e),B.params&&x){let WZ=B.params;WZ.length>0&&this.isThisParam(WZ[0])&&this.raise(F0.ThisParamBannedInConstructor,B)}else if(B.type==="MethodDefinition"&&x&&B.value.params){let WZ=B.value.params;WZ.length>0&&this.isThisParam(WZ[0])&&this.raise(F0.ThisParamBannedInConstructor,B)}}pushClassPrivateMethod(K,B,L,S){B.variance&&this.unexpected(B.variance.loc.start),delete B.variance,this.match(47)&&(B.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(K,B,L,S)}parseClassSuper(K){if(super.parseClassSuper(K),K.superClass&&this.match(47)&&(K.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let B=K.implements=[];do{let L=this.startNode();L.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?L.typeParameters=this.flowParseTypeParameterInstantiation():L.typeParameters=null,B.push(this.finishNode(L,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(K){super.checkGetterSetterParams(K);let B=this.getObjectOrClassMethodParams(K);if(B.length>0){let L=B[0];this.isThisParam(L)&&K.kind==="get"?this.raise(F0.GetterMayNotHaveThisParam,L):this.isThisParam(L)&&this.raise(F0.SetterMayNotHaveThisParam,L)}}parsePropertyNamePrefixOperator(K){K.variance=this.flowParseVariance()}parseObjPropValue(K,B,L,S,x,e,WZ){let zZ;K.variance&&this.unexpected(K.variance.loc.start),delete K.variance,this.match(47)&&!e&&(zZ=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let FZ=super.parseObjPropValue(K,B,L,S,x,e,WZ);return zZ&&((FZ.value||FZ).typeParameters=zZ),FZ}parseFunctionParamType(K){return this.eat(17)&&(K.type!=="Identifier"&&this.raise(F0.PatternIsOptional,K),this.isThisParam(K)&&this.raise(F0.ThisParamMayNotBeOptional,K),K.optional=!0),this.match(14)?K.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(K)&&this.raise(F0.ThisParamAnnotationRequired,K),this.match(29)&&this.isThisParam(K)&&this.raise(F0.ThisParamNoDefault,K),this.resetEndLocation(K),K}parseMaybeDefault(K,B){let L=super.parseMaybeDefault(K,B);return L.type==="AssignmentPattern"&&L.typeAnnotation&&L.right.start<L.typeAnnotation.start&&this.raise(F0.TypeBeforeInitializer,L.typeAnnotation),L}checkImportReflection(K){super.checkImportReflection(K),K.module&&K.importKind!=="value"&&this.raise(F0.ImportReflectionHasImportType,K.specifiers[0].loc.start)}parseImportSpecifierLocal(K,B,L){B.local=w5(K)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),K.specifiers.push(this.finishImportSpecifier(B,L))}isPotentialImportPhase(K){if(super.isPotentialImportPhase(K))return!0;if(this.isContextual(130)){if(!K)return!0;let B=this.lookaheadCharCode();return B===123||B===42}return!K&&this.isContextual(87)}applyImportPhase(K,B,L,S){if(super.applyImportPhase(K,B,L,S),B){if(!L&&this.match(65))return;K.exportKind=L==="type"?L:"value"}else L==="type"&&this.match(55)&&this.unexpected(),K.importKind=L==="type"||L==="typeof"?L:"value"}parseImportSpecifier(K,B,L,S,x){let e=K.imported,WZ=null;e.type==="Identifier"&&(e.name==="type"?WZ="type":e.name==="typeof"&&(WZ="typeof"));let zZ=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let _Z=this.parseIdentifier(!0);WZ===null||p(this.state.type)?(K.imported=e,K.importKind=null,K.local=this.parseIdentifier()):(K.imported=_Z,K.importKind=WZ,K.local=W5(_Z))}else{if(WZ!==null&&p(this.state.type))K.imported=this.parseIdentifier(!0),K.importKind=WZ;else{if(B)throw this.raise(A.ImportBindingIsString,K,{importName:e.value});K.imported=e,K.importKind=null}this.eatContextual(93)?K.local=this.parseIdentifier():(zZ=!0,K.local=W5(K.imported))}let FZ=w5(K);return L&&FZ&&this.raise(F0.ImportTypeShorthandOnlyInPureImport,K),(L||FZ)&&this.checkReservedType(K.local.name,K.local.loc.start,!0),!zZ||L||FZ||this.checkReservedWord(K.local.name,K.loc.start,!0,!0),this.finishImportSpecifier(K,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(K,B){let L=K.kind;L!=="get"&&L!=="set"&&this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(K,B)}parseVarId(K,B){super.parseVarId(K,B),this.match(14)&&(K.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(K.id))}parseAsyncArrowFromCallExpression(K,B){if(this.match(14)){let L=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,K.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=L}return super.parseAsyncArrowFromCallExpression(K,B)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(K,B){var L;let S,x=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(x=this.state.clone(),S=this.tryParse(()=>super.parseMaybeAssign(K,B),x),!S.error)return S.node;let{context:zZ}=this.state,FZ=zZ[zZ.length-1];FZ!==D.j_oTag&&FZ!==D.j_expr||zZ.pop()}if((L=S)!=null&&L.error||this.match(47)){var e,WZ;let zZ;x=x||this.state.clone();let FZ=this.tryParse((oZ)=>{var Z0;zZ=this.flowParseTypeParameterDeclaration();let K0=this.forwardNoArrowParamsConversionAt(zZ,()=>{let r0=super.parseMaybeAssign(K,B);return this.resetStartLocationFromNode(r0,zZ),r0});(Z0=K0.extra)!=null&&Z0.parenthesized&&oZ();let D0=this.maybeUnwrapTypeCastExpression(K0);return D0.type!=="ArrowFunctionExpression"&&oZ(),D0.typeParameters=zZ,this.resetStartLocationFromNode(D0,zZ),K0},x),_Z=null;if(FZ.node&&this.maybeUnwrapTypeCastExpression(FZ.node).type==="ArrowFunctionExpression"){if(!FZ.error&&!FZ.aborted)return FZ.node.async&&this.raise(F0.UnexpectedTypeParameterBeforeAsyncArrowFunction,zZ),FZ.node;_Z=FZ.node}if((e=S)!=null&&e.node)return this.state=S.failState,S.node;if(_Z)return this.state=FZ.failState,_Z;if((WZ=S)!=null&&WZ.thrown)throw S.error;if(FZ.thrown)throw FZ.error;throw this.raise(F0.UnexpectedTokenAfterTypeParameter,zZ)}return super.parseMaybeAssign(K,B)}parseArrow(K){if(this.match(14)){let B=this.tryParse(()=>{let L=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let S=this.startNode();return[S.typeAnnotation,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=L,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),S});if(B.thrown)return null;B.error&&(this.state=B.failState),K.returnType=B.node.typeAnnotation?this.finishNode(B.node,"TypeAnnotation"):null}return super.parseArrow(K)}shouldParseArrow(K){return this.match(14)||super.shouldParseArrow(K)}setArrowFunctionParameters(K,B){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))?K.params=B:super.setArrowFunctionParameters(K,B)}checkParams(K,B,L,S=!0){if(!L||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))){for(let x=0;x<K.params.length;x++)this.isThisParam(K.params[x])&&x>0&&this.raise(F0.ThisParamMustBeFirst,K.params[x]);super.checkParams(K,B,L,S)}}parseParenAndDistinguishExpression(K){return super.parseParenAndDistinguishExpression(K&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(K,B,L){if(K.type==="Identifier"&&K.name==="async"&&this.state.noArrowAt.includes(B.index)){this.next();let S=this.startNodeAt(B);S.callee=K,S.arguments=super.parseCallExpressionArguments(11),K=this.finishNode(S,"CallExpression")}else if(K.type==="Identifier"&&K.name==="async"&&this.match(47)){let S=this.state.clone(),x=this.tryParse((WZ)=>this.parseAsyncArrowWithTypeParameters(B)||WZ(),S);if(!x.error&&!x.aborted)return x.node;let e=this.tryParse(()=>super.parseSubscripts(K,B,L),S);if(e.node&&!e.error)return e.node;if(x.node)return this.state=x.failState,x.node;if(e.node)return this.state=e.failState,e.node;throw x.error||e.error}return super.parseSubscripts(K,B,L)}parseSubscript(K,B,L,S){if(this.match(18)&&this.isLookaheadToken_lt()){if(S.optionalChainMember=!0,L)return S.stop=!0,K;this.next();let x=this.startNodeAt(B);return x.callee=K,x.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),x.arguments=this.parseCallExpressionArguments(11),x.optional=!0,this.finishCallExpression(x,!0)}if(!L&&this.shouldParseTypes()&&this.match(47)){let x=this.startNodeAt(B);x.callee=K;let e=this.tryParse(()=>(x.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),x.arguments=super.parseCallExpressionArguments(11),S.optionalChainMember&&(x.optional=!1),this.finishCallExpression(x,S.optionalChainMember)));if(e.node)return e.error&&(this.state=e.failState),e.node}return super.parseSubscript(K,B,L,S)}parseNewCallee(K){super.parseNewCallee(K);let B=null;this.shouldParseTypes()&&this.match(47)&&(B=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),K.typeArguments=B}parseAsyncArrowWithTypeParameters(K){let B=this.startNodeAt(K);if(this.parseFunctionParams(B,!1),this.parseArrow(B))return super.parseArrowExpression(B,void 0,!0)}readToken_mult_modulo(K){let B=this.input.charCodeAt(this.state.pos+1);if(K===42&&B===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(K)}readToken_pipe_amp(K){let B=this.input.charCodeAt(this.state.pos+1);K!==124||B!==125?super.readToken_pipe_amp(K):this.finishOp(9,2)}parseTopLevel(K,B){let L=super.parseTopLevel(K,B);return this.state.hasFlowComment&&this.raise(F0.UnterminatedFlowComment,this.state.curPosition()),L}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(F0.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let K=this.skipFlowComment();K&&(this.state.pos+=K,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:K}=this.state,B=2;for(;[32,9].includes(this.input.charCodeAt(K+B));)B++;let L=this.input.charCodeAt(B+K),S=this.input.charCodeAt(B+K+1);return L===58&&S===58?B+2:this.input.slice(B+K,B+K+12)==="flow-include"?B+12:L===58&&S!==58&&B}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(A.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(K,{enumName:B,memberName:L}){this.raise(F0.EnumBooleanMemberNotInitialized,K,{memberName:L,enumName:B})}flowEnumErrorInvalidMemberInitializer(K,B){return this.raise(B.explicitType?B.explicitType==="symbol"?F0.EnumInvalidMemberInitializerSymbolType:F0.EnumInvalidMemberInitializerPrimaryType:F0.EnumInvalidMemberInitializerUnknownType,K,B)}flowEnumErrorNumberMemberNotInitialized(K,B){this.raise(F0.EnumNumberMemberNotInitialized,K,B)}flowEnumErrorStringMemberInconsistentlyInitialized(K,B){this.raise(F0.EnumStringMemberInconsistentlyInitialized,K,B)}flowEnumMemberInit(){let K=this.state.startLoc,B=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let L=this.parseNumericLiteral(this.state.value);return B()?{type:"number",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}case 134:{let L=this.parseStringLiteral(this.state.value);return B()?{type:"string",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}case 85:case 86:{let L=this.parseBooleanLiteral(this.match(85));return B()?{type:"boolean",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}default:return{type:"invalid",loc:K}}}flowEnumMemberRaw(){let K=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:K}}}flowEnumCheckExplicitTypeMismatch(K,B,L){let{explicitType:S}=B;S!==null&&S!==L&&this.flowEnumErrorInvalidMemberInitializer(K,B)}flowEnumMembers({enumName:K,explicitType:B}){let L=new Set,S={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},x=!1;for(;!this.match(8);){if(this.eat(21)){x=!0;break}let e=this.startNode(),{id:WZ,init:zZ}=this.flowEnumMemberRaw(),FZ=WZ.name;if(FZ==="")continue;/^[a-z]/.test(FZ)&&this.raise(F0.EnumInvalidMemberName,WZ,{memberName:FZ,suggestion:FZ[0].toUpperCase()+FZ.slice(1),enumName:K}),L.has(FZ)&&this.raise(F0.EnumDuplicateMemberName,WZ,{memberName:FZ,enumName:K}),L.add(FZ);let _Z={enumName:K,explicitType:B,memberName:FZ};switch(e.id=WZ,zZ.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"boolean"),e.init=zZ.value,S.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"number"),e.init=zZ.value,S.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"string"),e.init=zZ.value,S.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(zZ.loc,_Z);case"none":switch(B){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(zZ.loc,_Z);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(zZ.loc,_Z);break;default:S.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:S,hasUnknownMembers:x}}flowEnumStringMembers(K,B,{enumName:L}){if(K.length===0)return B;if(B.length===0)return K;if(B.length>K.length){for(let S of K)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:L});return B}for(let S of B)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:L});return K}flowEnumParseExplicitType({enumName:K}){if(!this.eatContextual(102))return null;if(!b(this.state.type))throw this.raise(F0.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:K});let{value:B}=this.state;return this.next(),B!=="boolean"&&B!=="number"&&B!=="string"&&B!=="symbol"&&this.raise(F0.EnumInvalidExplicitType,this.state.startLoc,{enumName:K,invalidEnumType:B}),B}flowEnumBody(K,B){let L=B.name,S=B.loc.start,x=this.flowEnumParseExplicitType({enumName:L});this.expect(5);let{members:e,hasUnknownMembers:WZ}=this.flowEnumMembers({enumName:L,explicitType:x});switch(K.hasUnknownMembers=WZ,x){case"boolean":return K.explicitType=!0,K.members=e.booleanMembers,this.expect(8),this.finishNode(K,"EnumBooleanBody");case"number":return K.explicitType=!0,K.members=e.numberMembers,this.expect(8),this.finishNode(K,"EnumNumberBody");case"string":return K.explicitType=!0,K.members=this.flowEnumStringMembers(e.stringMembers,e.defaultedMembers,{enumName:L}),this.expect(8),this.finishNode(K,"EnumStringBody");case"symbol":return K.members=e.defaultedMembers,this.expect(8),this.finishNode(K,"EnumSymbolBody");default:{let zZ=()=>(K.members=[],this.expect(8),this.finishNode(K,"EnumStringBody"));K.explicitType=!1;let FZ=e.booleanMembers.length,_Z=e.numberMembers.length,oZ=e.stringMembers.length,Z0=e.defaultedMembers.length;if(FZ||_Z||oZ||Z0){if(FZ||_Z){if(!_Z&&!oZ&&FZ>=Z0){for(let K0 of e.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(K0.loc.start,{enumName:L,memberName:K0.id.name});return K.members=e.booleanMembers,this.expect(8),this.finishNode(K,"EnumBooleanBody")}if(!FZ&&!oZ&&_Z>=Z0){for(let K0 of e.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(K0.loc.start,{enumName:L,memberName:K0.id.name});return K.members=e.numberMembers,this.expect(8),this.finishNode(K,"EnumNumberBody")}return this.raise(F0.EnumInconsistentMemberValues,S,{enumName:L}),zZ()}return K.members=this.flowEnumStringMembers(e.stringMembers,e.defaultedMembers,{enumName:L}),this.expect(8),this.finishNode(K,"EnumStringBody")}return zZ()}}}flowParseEnumDeclaration(K){let B=this.parseIdentifier();return K.id=B,K.body=this.flowEnumBody(this.startNode(),B),this.finishNode(K,"EnumDeclaration")}isLookaheadToken_lt(){let K=this.nextTokenStart();if(this.input.charCodeAt(K)===60){let B=this.input.charCodeAt(K+1);return B!==60&&B!==61}return!1}maybeUnwrapTypeCastExpression(K){return K.type==="TypeCastExpression"?K.expression:K}},typescript:(H)=>class extends H{constructor(...K){super(...K),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:xZ.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:xZ.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:xZ.InvalidModifierOnTypeParameter})}getScopeHandler(){return gZ}tsIsIdentifier(){return b(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(K,B){if(!b(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let L=this.state.value;if(K.includes(L)){if(B&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return L}}tsParseModifiers({allowedModifiers:K,disallowedModifiers:B,stopOnStartOfClassStaticBlock:L,errorTemplate:S=xZ.InvalidModifierOnTypeMember},x){let e=(zZ,FZ,_Z,oZ)=>{FZ===_Z&&x[oZ]&&this.raise(xZ.InvalidModifiersOrder,zZ,{orderedModifiers:[_Z,oZ]})},WZ=(zZ,FZ,_Z,oZ)=>{(x[_Z]&&FZ===oZ||x[oZ]&&FZ===_Z)&&this.raise(xZ.IncompatibleModifiers,zZ,{modifiers:[_Z,oZ]})};for(;;){let{startLoc:zZ}=this.state,FZ=this.tsParseModifier(K.concat(B!=null?B:[]),L);if(!FZ)break;j0(FZ)?x.accessibility?this.raise(xZ.DuplicateAccessibilityModifier,zZ,{modifier:FZ}):(e(zZ,FZ,FZ,"override"),e(zZ,FZ,FZ,"static"),e(zZ,FZ,FZ,"readonly"),x.accessibility=FZ):C0(FZ)?(x[FZ]&&this.raise(xZ.DuplicateModifier,zZ,{modifier:FZ}),x[FZ]=!0,e(zZ,FZ,"in","out")):(hasOwnProperty.call(x,FZ)?this.raise(xZ.DuplicateModifier,zZ,{modifier:FZ}):(e(zZ,FZ,"static","readonly"),e(zZ,FZ,"static","override"),e(zZ,FZ,"override","readonly"),e(zZ,FZ,"abstract","override"),WZ(zZ,FZ,"declare","override"),WZ(zZ,FZ,"static","abstract")),x[FZ]=!0),B!=null&&B.includes(FZ)&&this.raise(S,zZ,{modifier:FZ})}}tsIsListTerminator(K){switch(K){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(K,B){let L=[];for(;!this.tsIsListTerminator(K);)L.push(B());return L}tsParseDelimitedList(K,B,L){return function(S){if(S==null)throw Error(`Unexpected ${S} value.`);return S}(this.tsParseDelimitedListWorker(K,B,!0,L))}tsParseDelimitedListWorker(K,B,L,S){let x=[],e=-1;for(;!this.tsIsListTerminator(K);){e=-1;let WZ=B();if(WZ==null)return;if(x.push(WZ),!this.eat(12)){if(this.tsIsListTerminator(K))break;return void(L&&this.expect(12))}e=this.state.lastTokStartLoc.index}return S&&(S.value=e),x}tsParseBracketedList(K,B,L,S,x){S||(L?this.expect(0):this.expect(47));let e=this.tsParseDelimitedList(K,B,x);return L?this.expect(3):this.expect(48),e}tsParseImportType(){let K=this.startNode();return this.expect(83),this.expect(10),this.match(134)||this.raise(xZ.UnsupportedImportTypeArgument,this.state.startLoc),K.argument=super.parseExprAtom(),this.eat(12)&&!this.match(11)?(K.options=super.parseMaybeAssignAllowIn(),this.eat(12)):K.options=null,this.expect(11),this.eat(16)&&(K.qualifier=this.tsParseEntityName()),this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSImportType")}tsParseEntityName(K=!0){let B=this.parseIdentifier(K);for(;this.eat(16);){let L=this.startNodeAtNode(B);L.left=B,L.right=this.parseIdentifier(K),B=this.finishNode(L,"TSQualifiedName")}return B}tsParseTypeReference(){let K=this.startNode();return K.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSTypeReference")}tsParseThisTypePredicate(K){this.next();let B=this.startNodeAtNode(K);return B.parameterName=K,B.typeAnnotation=this.tsParseTypeAnnotation(!1),B.asserts=!1,this.finishNode(B,"TSTypePredicate")}tsParseThisTypeNode(){let K=this.startNode();return this.next(),this.finishNode(K,"TSThisType")}tsParseTypeQuery(){let K=this.startNode();return this.expect(87),this.match(83)?K.exprName=this.tsParseImportType():K.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSTypeQuery")}tsParseTypeParameter(K){let B=this.startNode();return K(B),B.name=this.tsParseTypeParameterName(),B.constraint=this.tsEatThenParseType(81),B.default=this.tsEatThenParseType(29),this.finishNode(B,"TSTypeParameter")}tsTryParseTypeParameters(K){if(this.match(47))return this.tsParseTypeParameters(K)}tsParseTypeParameters(K){let B=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let L={value:-1};return B.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,K),!1,!0,L),B.params.length===0&&this.raise(xZ.EmptyTypeParameters,B),L.value!==-1&&this.addExtra(B,"trailingComma",L.value),this.finishNode(B,"TSTypeParameterDeclaration")}tsFillSignature(K,B){let L=K===19;B.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),B.parameters=this.tsParseBindingListForSignature(),(L||this.match(K))&&(B.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(K))}tsParseBindingListForSignature(){let K=super.parseBindingList(11,41,2);for(let B of K){let{type:L}=B;L!=="AssignmentPattern"&&L!=="TSParameterProperty"||this.raise(xZ.UnsupportedSignatureParameterKind,B,{type:L})}return K}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(K,B){return this.tsFillSignature(14,B),this.tsParseTypeMemberSemicolon(),this.finishNode(B,K)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!b(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(K){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let B=this.parseIdentifier();B.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(B),this.expect(3),K.parameters=[B];let L=this.tsTryParseTypeAnnotation();return L&&(K.typeAnnotation=L),this.tsParseTypeMemberSemicolon(),this.finishNode(K,"TSIndexSignature")}tsParsePropertyOrMethodSignature(K,B){this.eat(17)&&(K.optional=!0);let L=K;if(this.match(10)||this.match(47)){B&&this.raise(xZ.ReadonlyForMethodSignature,K);let S=L;S.kind&&this.match(47)&&this.raise(xZ.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,S),this.tsParseTypeMemberSemicolon();let x="parameters",e="typeAnnotation";if(S.kind==="get")S[x].length>0&&(this.raise(A.BadGetterArity,this.state.curPosition()),this.isThisParam(S[x][0])&&this.raise(xZ.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(S.kind==="set"){if(S[x].length!==1)this.raise(A.BadSetterArity,this.state.curPosition());else{let WZ=S[x][0];this.isThisParam(WZ)&&this.raise(xZ.AccessorCannotDeclareThisParameter,this.state.curPosition()),WZ.type==="Identifier"&&WZ.optional&&this.raise(xZ.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),WZ.type==="RestElement"&&this.raise(xZ.SetAccessorCannotHaveRestParameter,this.state.curPosition())}S[e]&&this.raise(xZ.SetAccessorCannotHaveReturnType,S[e])}else S.kind="method";return this.finishNode(S,"TSMethodSignature")}{let S=L;B&&(S.readonly=!0);let x=this.tsTryParseTypeAnnotation();return x&&(S.typeAnnotation=x),this.tsParseTypeMemberSemicolon(),this.finishNode(S,"TSPropertySignature")}}tsParseTypeMember(){let K=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",K);if(this.match(77)){let L=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",K):(K.key=this.createIdentifier(L,"new"),this.tsParsePropertyOrMethodSignature(K,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},K),this.tsTryParseIndexSignature(K)||(super.parsePropertyName(K),K.computed||K.key.type!=="Identifier"||K.key.name!=="get"&&K.key.name!=="set"||!this.tsTokenCanFollowModifier()||(K.kind=K.key.name,super.parsePropertyName(K)),this.tsParsePropertyOrMethodSignature(K,!!K.readonly))}tsParseTypeLiteral(){let K=this.startNode();return K.members=this.tsParseObjectTypeMembers(),this.finishNode(K,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let K=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),K}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))))}tsParseMappedType(){let K=this.startNode();this.expect(5),this.match(53)?(K.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(K.readonly=!0),this.expect(0);{let B=this.startNode();B.name=this.tsParseTypeParameterName(),B.constraint=this.tsExpectThenParseType(58),K.typeParameter=this.finishNode(B,"TSTypeParameter")}return K.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(K.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(K.optional=!0),K.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(K,"TSMappedType")}tsParseTupleType(){let K=this.startNode();K.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let B=!1;return K.elementTypes.forEach((L)=>{let{type:S}=L;!B||S==="TSRestType"||S==="TSOptionalType"||S==="TSNamedTupleMember"&&L.optional||this.raise(xZ.OptionalTypeBeforeRequired,L),B||(B=S==="TSNamedTupleMember"&&L.optional||S==="TSOptionalType")}),this.finishNode(K,"TSTupleType")}tsParseTupleElementType(){let{startLoc:K}=this.state,B=this.eat(21),L,S,x,e,WZ=p(this.state.type)?this.lookaheadCharCode():null;if(WZ===58)L=!0,x=!1,S=this.parseIdentifier(!0),this.expect(14),e=this.tsParseType();else if(WZ===63){x=!0;let zZ=this.state.startLoc,FZ=this.state.value,_Z=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(L=!0,S=this.createIdentifier(this.startNodeAt(zZ),FZ),this.expect(17),this.expect(14),e=this.tsParseType()):(L=!1,e=_Z,this.expect(17))}else e=this.tsParseType(),x=this.eat(17),L=this.eat(14);if(L){let zZ;S?(zZ=this.startNodeAtNode(S),zZ.optional=x,zZ.label=S,zZ.elementType=e,this.eat(17)&&(zZ.optional=!0,this.raise(xZ.TupleOptionalAfterType,this.state.lastTokStartLoc))):(zZ=this.startNodeAtNode(e),zZ.optional=x,this.raise(xZ.InvalidTupleMemberLabel,e),zZ.label=e,zZ.elementType=this.tsParseType()),e=this.finishNode(zZ,"TSNamedTupleMember")}else if(x){let zZ=this.startNodeAtNode(e);zZ.typeAnnotation=e,e=this.finishNode(zZ,"TSOptionalType")}if(B){let zZ=this.startNodeAt(K);zZ.typeAnnotation=e,e=this.finishNode(zZ,"TSRestType")}return e}tsParseParenthesizedType(){let K=this.startNode();return this.expect(10),K.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(K,"TSParenthesizedType")}tsParseFunctionOrConstructorType(K,B){let L=this.startNode();return K==="TSConstructorType"&&(L.abstract=!!B,B&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,L)),this.finishNode(L,K)}tsParseLiteralTypeNode(){let K=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:K.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(K,"TSLiteralType")}tsParseTemplateLiteralType(){let K=this.startNode();return K.literal=super.parseTemplate(!1),this.finishNode(K,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let K=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(K):K}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let K=this.startNode(),B=this.lookahead();return B.type!==135&&B.type!==136&&this.unexpected(),K.literal=this.parseMaybeUnary(),this.finishNode(K,"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:{let{type:K}=this.state;if(b(K)||K===88||K===84){let B=K===88?"TSVoidKeyword":K===84?"TSNullKeyword":function(L){switch(L){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(B!==void 0&&this.lookaheadCharCode()!==46){let L=this.startNode();return this.next(),this.finishNode(L,B)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let K=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let B=this.startNodeAtNode(K);B.elementType=K,this.expect(3),K=this.finishNode(B,"TSArrayType")}else{let B=this.startNodeAtNode(K);B.objectType=K,B.indexType=this.tsParseType(),this.expect(3),K=this.finishNode(B,"TSIndexedAccessType")}return K}tsParseTypeOperator(){let K=this.startNode(),B=this.state.value;return this.next(),K.operator=B,K.typeAnnotation=this.tsParseTypeOperatorOrHigher(),B==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(K),this.finishNode(K,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(K){switch(K.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(xZ.UnexpectedReadonly,K)}}tsParseInferType(){let K=this.startNode();this.expectContextual(115);let B=this.startNode();return B.name=this.tsParseTypeParameterName(),B.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),K.typeParameter=this.finishNode(B,"TSTypeParameter"),this.finishNode(K,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let K=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return K}}tsParseTypeOperatorOrHigher(){var K;return(K=this.state.type)>=121&&K<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(K,B,L){let S=this.startNode(),x=this.eat(L),e=[];do e.push(B());while(this.eat(L));return e.length!==1||x?(S.types=e,this.finishNode(S,K)):e[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(b(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:K}=this.state,B=K.length;try{return this.parseObjectLike(8,!0),K.length===B}catch(L){return!1}}if(this.match(0)){this.next();let{errors:K}=this.state,B=K.length;try{return super.parseBindingList(3,93,1),K.length===B}catch(L){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(K){return this.tsInType(()=>{let B=this.startNode();this.expect(K);let L=this.startNode(),S=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(S&&this.match(78)){let WZ=this.tsParseThisTypeOrThisTypePredicate();return WZ.type==="TSThisType"?(L.parameterName=WZ,L.asserts=!0,L.typeAnnotation=null,WZ=this.finishNode(L,"TSTypePredicate")):(this.resetStartLocationFromNode(WZ,L),WZ.asserts=!0),B.typeAnnotation=WZ,this.finishNode(B,"TSTypeAnnotation")}let x=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!x)return S?(L.parameterName=this.parseIdentifier(),L.asserts=S,L.typeAnnotation=null,B.typeAnnotation=this.finishNode(L,"TSTypePredicate"),this.finishNode(B,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,B);let e=this.tsParseTypeAnnotation(!1);return L.parameterName=x,L.typeAnnotation=e,L.asserts=S,B.typeAnnotation=this.finishNode(L,"TSTypePredicate"),this.finishNode(B,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let K=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),K}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let K=this.state.containsEsc;return this.next(),!(!b(this.state.type)&&!this.match(78))&&(K&&this.raise(A.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(K=!0,B=this.startNode()){return this.tsInType(()=>{K&&this.expect(14),B.typeAnnotation=this.tsParseType()}),this.finishNode(B,"TSTypeAnnotation")}tsParseType(){A0(this.state.inType);let K=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return K;let B=this.startNodeAtNode(K);return B.checkType=K,B.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),B.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),B.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(B,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}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(xZ.ReservedTypeAssertion,this.state.startLoc);let K=this.startNode();return K.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),K.expression=this.parseMaybeUnary(),this.finishNode(K,"TSTypeAssertion")}tsParseHeritageClause(K){let B=this.state.startLoc,L=this.tsParseDelimitedList("HeritageClauseElement",()=>{let S=this.startNode();return S.expression=this.tsParseEntityName(),this.match(47)&&(S.typeParameters=this.tsParseTypeArguments()),this.finishNode(S,"TSExpressionWithTypeArguments")});return L.length||this.raise(xZ.EmptyHeritageClauseType,B,{token:K}),L}tsParseInterfaceDeclaration(K,B={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),B.declare&&(K.declare=!0),b(this.state.type)?(K.id=this.parseIdentifier(),this.checkIdentifier(K.id,130)):(K.id=null,this.raise(xZ.MissingInterfaceName,this.state.startLoc)),K.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(K.extends=this.tsParseHeritageClause("extends"));let L=this.startNode();return L.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),K.body=this.finishNode(L,"TSInterfaceBody"),this.finishNode(K,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(K){return K.id=this.parseIdentifier(),this.checkIdentifier(K.id,2),K.typeAnnotation=this.tsInType(()=>{if(K.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let B=this.startNode();return this.next(),this.finishNode(B,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(K,"TSTypeAliasDeclaration")}tsInNoContext(K){let B=this.state.context;this.state.context=[B[0]];try{return K()}finally{this.state.context=B}}tsInType(K){let B=this.state.inType;this.state.inType=!0;try{return K()}finally{this.state.inType=B}}tsInDisallowConditionalTypesContext(K){let B=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return K()}finally{this.state.inDisallowConditionalTypesContext=B}}tsInAllowConditionalTypesContext(K){let B=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return K()}finally{this.state.inDisallowConditionalTypesContext=B}}tsEatThenParseType(K){if(this.match(K))return this.tsNextThenParseType()}tsExpectThenParseType(K){return this.tsInType(()=>(this.expect(K),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let K=this.startNode();return K.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(K.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(K,"TSEnumMember")}tsParseEnumDeclaration(K,B={}){return B.const&&(K.const=!0),B.declare&&(K.declare=!0),this.expectContextual(126),K.id=this.parseIdentifier(),this.checkIdentifier(K.id,K.const?8971:8459),this.expect(5),K.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(K,"TSEnumDeclaration")}tsParseModuleBlock(){let K=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(K.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(K,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(K,B=!1){if(K.id=this.parseIdentifier(),B||this.checkIdentifier(K.id,1024),this.eat(16)){let L=this.startNode();this.tsParseModuleOrNamespaceDeclaration(L,!0),K.body=L}else this.scope.enter(256),this.prodParam.enter(0),K.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(K,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(K){return this.isContextual(112)?(K.kind="global",K.global=!0,K.id=this.parseIdentifier()):this.match(134)?(K.kind="module",K.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),K.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(K,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(K,B,L){K.isExport=L||!1,K.id=B||this.parseIdentifier(),this.checkIdentifier(K.id,4096),this.expect(29);let S=this.tsParseModuleReference();return K.importKind==="type"&&S.type!=="TSExternalModuleReference"&&this.raise(xZ.ImportAliasHasImportType,S),K.moduleReference=S,this.semicolon(),this.finishNode(K,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let K=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),K.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(K,"TSExternalModuleReference")}tsLookAhead(K){let B=this.state.clone(),L=K();return this.state=B,L}tsTryParseAndCatch(K){let B=this.tryParse((L)=>K()||L());if(!B.aborted&&B.node)return B.error&&(this.state=B.failState),B.node}tsTryParse(K){let B=this.state.clone(),L=K();if(L!==void 0&&L!==!1)return L;this.state=B}tsTryParseDeclare(K){if(this.isLineTerminator())return;let B,L=this.state.type;return this.isContextual(100)&&(L=74,B="let"),this.tsInAmbientContext(()=>{switch(L){case 68:return K.declare=!0,super.parseFunctionStatement(K,!1,!1);case 80:return K.declare=!0,this.parseClass(K,!0,!1);case 126:return this.tsParseEnumDeclaration(K,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(K);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(K,{const:!0,declare:!0})):(K.declare=!0,this.parseVarStatement(K,B||this.state.value,!0));case 129:{let S=this.tsParseInterfaceDeclaration(K,{declare:!0});if(S)return S}default:if(b(L))return this.tsParseDeclaration(K,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(K,B,L){switch(B.name){case"declare":{let S=this.tsTryParseDeclare(K);return S&&(S.declare=!0),S}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let S=K;return S.kind="global",K.global=!0,S.id=B,S.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(S,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(K,B.name,!1,L)}}tsParseDeclaration(K,B,L,S){switch(B){case"abstract":if(this.tsCheckLineTerminator(L)&&(this.match(80)||b(this.state.type)))return this.tsParseAbstractDeclaration(K,S);break;case"module":if(this.tsCheckLineTerminator(L)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(K);if(b(this.state.type))return K.kind="module",this.tsParseModuleOrNamespaceDeclaration(K)}break;case"namespace":if(this.tsCheckLineTerminator(L)&&b(this.state.type))return K.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(K);break;case"type":if(this.tsCheckLineTerminator(L)&&b(this.state.type))return this.tsParseTypeAliasDeclaration(K)}}tsCheckLineTerminator(K){return K?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(K){if(!this.match(47))return;let B=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let L=this.tsTryParseAndCatch(()=>{let S=this.startNodeAt(K);return S.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(S),S.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),S});return this.state.maybeInArrowParameters=B,L?super.parseArrowExpression(L,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let K=this.startNode();return K.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),K.params.length===0?this.raise(xZ.EmptyTypeArguments,K):this.state.inType||this.curContext()!==D.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(K,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(K=this.state.type)>=124&&K<=130;var K}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(K,B){let L=this.state.startLoc,S={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},S);let{accessibility:x,override:e,readonly:WZ}=S;4&K||!(x||WZ||e)||this.raise(xZ.UnexpectedParameterModifier,L);let zZ=this.parseMaybeDefault();2&K&&this.parseFunctionParamType(zZ);let FZ=this.parseMaybeDefault(zZ.loc.start,zZ);if(x||WZ||e){let _Z=this.startNodeAt(L);return B.length&&(_Z.decorators=B),x&&(_Z.accessibility=x),WZ&&(_Z.readonly=WZ),e&&(_Z.override=e),FZ.type!=="Identifier"&&FZ.type!=="AssignmentPattern"&&this.raise(xZ.UnsupportedParameterPropertyKind,_Z),_Z.parameter=FZ,this.finishNode(_Z,"TSParameterProperty")}return B.length&&(zZ.decorators=B),FZ}isSimpleParameter(K){return K.type==="TSParameterProperty"&&super.isSimpleParameter(K.parameter)||super.isSimpleParameter(K)}tsDisallowOptionalPattern(K){for(let B of K.params)B.type!=="Identifier"&&B.optional&&!this.state.isAmbientContext&&this.raise(xZ.PatternIsOptional,B)}setArrowFunctionParameters(K,B,L){super.setArrowFunctionParameters(K,B,L),this.tsDisallowOptionalPattern(K)}parseFunctionBodyAndFinish(K,B,L=!1){this.match(14)&&(K.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let S=B==="FunctionDeclaration"?"TSDeclareFunction":B==="ClassMethod"||B==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return S&&!this.match(5)&&this.isLineTerminator()?this.finishNode(K,S):S==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(xZ.DeclareFunctionHasImplementation,K),K.declare)?super.parseFunctionBodyAndFinish(K,S,L):(this.tsDisallowOptionalPattern(K),super.parseFunctionBodyAndFinish(K,B,L))}registerFunctionStatementId(K){!K.body&&K.id?this.checkIdentifier(K.id,1024):super.registerFunctionStatementId(K)}tsCheckForInvalidTypeCasts(K){K.forEach((B)=>{(B==null?void 0:B.type)==="TSTypeCastExpression"&&this.raise(xZ.UnexpectedTypeAnnotation,B.typeAnnotation)})}toReferencedList(K,B){return this.tsCheckForInvalidTypeCasts(K),K}parseArrayLike(K,B,L,S){let x=super.parseArrayLike(K,B,L,S);return x.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(x.elements),x}parseSubscript(K,B,L,S){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let e=this.startNodeAt(B);return e.expression=K,this.finishNode(e,"TSNonNullExpression")}let x=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(L)return S.stop=!0,K;S.optionalChainMember=x=!0,this.next()}if(this.match(47)||this.match(51)){let e,WZ=this.tsTryParseAndCatch(()=>{if(!L&&this.atPossibleAsyncArrow(K)){let oZ=this.tsTryParseGenericAsyncArrowFunction(B);if(oZ)return oZ}let zZ=this.tsParseTypeArgumentsInExpression();if(!zZ)return;if(x&&!this.match(10))return void(e=this.state.curPosition());if(CZ(this.state.type)){let oZ=super.parseTaggedTemplateExpression(K,B,S);return oZ.typeParameters=zZ,oZ}if(!L&&this.eat(10)){let oZ=this.startNodeAt(B);return oZ.callee=K,oZ.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(oZ.arguments),oZ.typeParameters=zZ,S.optionalChainMember&&(oZ.optional=x),this.finishCallExpression(oZ,S.optionalChainMember)}let FZ=this.state.type;if(FZ===48||FZ===52||FZ!==10&&s(FZ)&&!this.hasPrecedingLineBreak())return;let _Z=this.startNodeAt(B);return _Z.expression=K,_Z.typeParameters=zZ,this.finishNode(_Z,"TSInstantiationExpression")});if(e&&this.unexpected(e,10),WZ)return WZ.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(xZ.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),WZ}return super.parseSubscript(K,B,L,S)}parseNewCallee(K){var B;super.parseNewCallee(K);let{callee:L}=K;L.type!=="TSInstantiationExpression"||(B=L.extra)!=null&&B.parenthesized||(K.typeParameters=L.typeParameters,K.callee=L.expression)}parseExprOp(K,B,L){let S;if(SZ(58)>L&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(S=this.isContextual(120)))){let x=this.startNodeAt(B);return x.expression=K,x.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(S&&this.raise(A.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(x,S?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(x,B,L)}return super.parseExprOp(K,B,L)}checkReservedWord(K,B,L,S){this.state.isAmbientContext||super.checkReservedWord(K,B,L,S)}checkImportReflection(K){super.checkImportReflection(K),K.module&&K.importKind!=="value"&&this.raise(xZ.ImportReflectionHasImportType,K.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(K){if(super.isPotentialImportPhase(K))return!0;if(this.isContextual(130)){let B=this.lookaheadCharCode();return K?B===123||B===42:B!==61}return!K&&this.isContextual(87)}applyImportPhase(K,B,L,S){super.applyImportPhase(K,B,L,S),B?K.exportKind=L==="type"?"type":"value":K.importKind=L==="type"||L==="typeof"?L:"value"}parseImport(K){if(this.match(134))return K.importKind="value",super.parseImport(K);let B;if(b(this.state.type)&&this.lookaheadCharCode()===61)return K.importKind="value",this.tsParseImportEqualsDeclaration(K);if(this.isContextual(130)){let L=this.parseMaybeImportPhase(K,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(K,L);B=super.parseImportSpecifiersAndAfter(K,L)}else B=super.parseImport(K);return B.importKind==="type"&&B.specifiers.length>1&&B.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(xZ.TypeImportCannotSpecifyDefaultAndNamed,B),B}parseExport(K,B){if(this.match(83)){this.next();let L=K,S=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?S=this.parseMaybeImportPhase(L,!1):L.importKind="value",this.tsParseImportEqualsDeclaration(L,S,!0)}if(this.eat(29)){let L=K;return L.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(L,"TSExportAssignment")}if(this.eatContextual(93)){let L=K;return this.expectContextual(128),L.id=this.parseIdentifier(),this.semicolon(),this.finishNode(L,"TSNamespaceExportDeclaration")}return super.parseExport(K,B)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let K=this.startNode();return this.next(),K.abstract=!0,this.parseClass(K,!0,!0)}if(this.match(129)){let K=this.tsParseInterfaceDeclaration(this.startNode());if(K)return K}return super.parseExportDefaultExpression()}parseVarStatement(K,B,L=!1){let{isAmbientContext:S}=this.state,x=super.parseVarStatement(K,B,L||S);if(!S)return x;for(let{id:e,init:WZ}of x.declarations)WZ&&(B!=="const"||e.typeAnnotation?this.raise(xZ.InitializerNotAllowedInAmbientContext,WZ):E0(WZ,this.hasPlugin("estree"))||this.raise(xZ.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,WZ));return x}parseStatementContent(K,B){if(this.match(75)&&this.isLookaheadContextual("enum")){let L=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(L,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let L=this.tsParseInterfaceDeclaration(this.startNode());if(L)return L}return super.parseStatementContent(K,B)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(K,B){return B.some((L)=>j0(L)?K.accessibility===L:!!K[L])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(K,B,L){let S=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:S,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:xZ.InvalidModifierOnTypeParameterPositions},B);let x=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(B,S)&&this.raise(xZ.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(K,B)):this.parseClassMemberWithIsStatic(K,B,L,!!B.static)};B.declare?this.tsInAmbientContext(x):x()}parseClassMemberWithIsStatic(K,B,L,S){let x=this.tsTryParseIndexSignature(B);if(x)return K.body.push(x),B.abstract&&this.raise(xZ.IndexSignatureHasAbstract,B),B.accessibility&&this.raise(xZ.IndexSignatureHasAccessibility,B,{modifier:B.accessibility}),B.declare&&this.raise(xZ.IndexSignatureHasDeclare,B),void(B.override&&this.raise(xZ.IndexSignatureHasOverride,B));!this.state.inAbstractClass&&B.abstract&&this.raise(xZ.NonAbstractClassHasAbstractMethod,B),B.override&&(L.hadSuperClass||this.raise(xZ.OverrideNotInSubClass,B)),super.parseClassMemberWithIsStatic(K,B,L,S)}parsePostMemberNameModifiers(K){this.eat(17)&&(K.optional=!0),K.readonly&&this.match(10)&&this.raise(xZ.ClassMethodHasReadonly,K),K.declare&&this.match(10)&&this.raise(xZ.ClassMethodHasDeclare,K)}parseExpressionStatement(K,B,L){return(B.type==="Identifier"?this.tsParseExpressionStatement(K,B,L):void 0)||super.parseExpressionStatement(K,B,L)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(K,B,L){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(K,B,L);let S=this.tryParse(()=>super.parseConditional(K,B));return S.node?(S.error&&(this.state=S.failState),S.node):(S.error&&super.setOptionalParametersError(L,S.error),K)}parseParenItem(K,B){let L=super.parseParenItem(K,B);if(this.eat(17)&&(L.optional=!0,this.resetEndLocation(K)),this.match(14)){let S=this.startNodeAt(B);return S.expression=K,S.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(S,"TSTypeCastExpression")}return K}parseExportDeclaration(K){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(K));let B=this.state.startLoc,L=this.eatContextual(125);if(L&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(xZ.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let S=b(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(K);return S?((S.type==="TSInterfaceDeclaration"||S.type==="TSTypeAliasDeclaration"||L)&&(K.exportKind="type"),L&&(this.resetStartLocation(S,B),S.declare=!0),S):null}parseClassId(K,B,L,S){if((!B||L)&&this.isContextual(113))return;super.parseClassId(K,B,L,K.declare?1024:8331);let x=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);x&&(K.typeParameters=x)}parseClassPropertyAnnotation(K){K.optional||(this.eat(35)?K.definite=!0:this.eat(17)&&(K.optional=!0));let B=this.tsTryParseTypeAnnotation();B&&(K.typeAnnotation=B)}parseClassProperty(K){if(this.parseClassPropertyAnnotation(K),this.state.isAmbientContext&&(!K.readonly||K.typeAnnotation)&&this.match(29)&&this.raise(xZ.DeclareClassFieldHasInitializer,this.state.startLoc),K.abstract&&this.match(29)){let{key:B}=K;this.raise(xZ.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:B.type!=="Identifier"||K.computed?`[${this.input.slice(this.offsetToSourcePos(B.start),this.offsetToSourcePos(B.end))}]`:B.name})}return super.parseClassProperty(K)}parseClassPrivateProperty(K){return K.abstract&&this.raise(xZ.PrivateElementHasAbstract,K),K.accessibility&&this.raise(xZ.PrivateElementHasAccessibility,K,{modifier:K.accessibility}),this.parseClassPropertyAnnotation(K),super.parseClassPrivateProperty(K)}parseClassAccessorProperty(K){return this.parseClassPropertyAnnotation(K),K.optional&&this.raise(xZ.AccessorCannotBeOptional,K),super.parseClassAccessorProperty(K)}pushClassMethod(K,B,L,S,x,e){let WZ=this.tsTryParseTypeParameters(this.tsParseConstModifier);WZ&&x&&this.raise(xZ.ConstructorHasTypeParameters,WZ);let{declare:zZ=!1,kind:FZ}=B;!zZ||FZ!=="get"&&FZ!=="set"||this.raise(xZ.DeclareAccessor,B,{kind:FZ}),WZ&&(B.typeParameters=WZ),super.pushClassMethod(K,B,L,S,x,e)}pushClassPrivateMethod(K,B,L,S){let x=this.tsTryParseTypeParameters(this.tsParseConstModifier);x&&(B.typeParameters=x),super.pushClassPrivateMethod(K,B,L,S)}declareClassPrivateMethodInScope(K,B){K.type!=="TSDeclareMethod"&&(K.type!=="MethodDefinition"||hasOwnProperty.call(K.value,"body"))&&super.declareClassPrivateMethodInScope(K,B)}parseClassSuper(K){super.parseClassSuper(K),K.superClass&&(this.match(47)||this.match(51))&&(K.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(K.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(K,B,L,S,x,e,WZ){let zZ=this.tsTryParseTypeParameters(this.tsParseConstModifier);return zZ&&(K.typeParameters=zZ),super.parseObjPropValue(K,B,L,S,x,e,WZ)}parseFunctionParams(K,B){let L=this.tsTryParseTypeParameters(this.tsParseConstModifier);L&&(K.typeParameters=L),super.parseFunctionParams(K,B)}parseVarId(K,B){super.parseVarId(K,B),K.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(K.definite=!0);let L=this.tsTryParseTypeAnnotation();L&&(K.id.typeAnnotation=L,this.resetEndLocation(K.id))}parseAsyncArrowFromCallExpression(K,B){return this.match(14)&&(K.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(K,B)}parseMaybeAssign(K,B){var L,S,x,e,WZ;let zZ,FZ,_Z,oZ;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(zZ=this.state.clone(),FZ=this.tryParse(()=>super.parseMaybeAssign(K,B),zZ),!FZ.error)return FZ.node;let{context:K0}=this.state,D0=K0[K0.length-1];D0!==D.j_oTag&&D0!==D.j_expr||K0.pop()}if(!((L=FZ)!=null&&L.error||this.match(47)))return super.parseMaybeAssign(K,B);zZ&&zZ!==this.state||(zZ=this.state.clone());let Z0=this.tryParse((K0)=>{var D0,r0;oZ=this.tsParseTypeParameters(this.tsParseConstModifier);let S0=super.parseMaybeAssign(K,B);return(S0.type!=="ArrowFunctionExpression"||(D0=S0.extra)!=null&&D0.parenthesized)&&K0(),((r0=oZ)==null?void 0:r0.params.length)!==0&&this.resetStartLocationFromNode(S0,oZ),S0.typeParameters=oZ,S0},zZ);if(!Z0.error&&!Z0.aborted)return oZ&&this.reportReservedArrowTypeParam(oZ),Z0.node;if(!FZ&&(A0(!this.hasPlugin("jsx")),_Z=this.tryParse(()=>super.parseMaybeAssign(K,B),zZ),!_Z.error))return _Z.node;if((S=FZ)!=null&&S.node)return this.state=FZ.failState,FZ.node;if(Z0.node)return this.state=Z0.failState,oZ&&this.reportReservedArrowTypeParam(oZ),Z0.node;if((x=_Z)!=null&&x.node)return this.state=_Z.failState,_Z.node;throw((e=FZ)==null?void 0:e.error)||Z0.error||((WZ=_Z)==null?void 0:WZ.error)}reportReservedArrowTypeParam(K){var B;K.params.length!==1||K.params[0].constraint||(B=K.extra)!=null&&B.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(xZ.ReservedArrowTypeParam,K)}parseMaybeUnary(K,B){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(K,B)}parseArrow(K){if(this.match(14)){let B=this.tryParse((L)=>{let S=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||L(),S});if(B.aborted)return;B.thrown||(B.error&&(this.state=B.failState),K.returnType=B.node)}return super.parseArrow(K)}parseFunctionParamType(K){this.eat(17)&&(K.optional=!0);let B=this.tsTryParseTypeAnnotation();return B&&(K.typeAnnotation=B),this.resetEndLocation(K),K}isAssignable(K,B){switch(K.type){case"TSTypeCastExpression":return this.isAssignable(K.expression,B);case"TSParameterProperty":return!0;default:return super.isAssignable(K,B)}}toAssignable(K,B=!1){switch(K.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(K,B);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":B?this.expressionScope.recordArrowParameterBindingError(xZ.UnexpectedTypeCastInParameter,K):this.raise(xZ.UnexpectedTypeCastInParameter,K),this.toAssignable(K.expression,B);break;case"AssignmentExpression":B||K.left.type!=="TSTypeCastExpression"||(K.left=this.typeCastToParameter(K.left));default:super.toAssignable(K,B)}}toAssignableParenthesizedExpression(K,B){switch(K.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(K.expression,B);break;default:super.toAssignable(K,B)}}checkToRestConversion(K,B){switch(K.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(K.expression,!1);break;default:super.checkToRestConversion(K,B)}}isValidLVal(K,B,L){switch(K){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(L!==64||!B)&&["expression",!0];default:return super.isValidLVal(K,B,L)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(K){if(this.match(47)||this.match(51)){let B=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let L=super.parseMaybeDecoratorArguments(K);return L.typeParameters=B,L}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(K)}checkCommaAfterRest(K){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===K?(this.next(),!1):super.checkCommaAfterRest(K)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(K,B){let L=super.parseMaybeDefault(K,B);return L.type==="AssignmentPattern"&&L.typeAnnotation&&L.right.start<L.typeAnnotation.start&&this.raise(xZ.TypeAnnotationAfterAssign,L.typeAnnotation),L}getTokenFromCode(K){if(this.state.inType){if(K===62)return void this.finishOp(48,1);if(K===60)return void this.finishOp(47,1)}super.getTokenFromCode(K)}reScan_lt_gt(){let{type:K}=this.state;K===47?(this.state.pos-=1,this.readToken_lt()):K===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:K}=this.state;return K===51?(this.state.pos-=2,this.finishOp(47,1),47):K}toAssignableList(K,B,L){for(let S=0;S<K.length;S++){let x=K[S];(x==null?void 0:x.type)==="TSTypeCastExpression"&&(K[S]=this.typeCastToParameter(x))}super.toAssignableList(K,B,L)}typeCastToParameter(K){return K.expression.typeAnnotation=K.typeAnnotation,this.resetEndLocation(K.expression,K.typeAnnotation.loc.end),K.expression}shouldParseArrow(K){return this.match(14)?K.every((B)=>this.isAssignable(B,!0)):super.shouldParseArrow(K)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(K){if(this.match(47)||this.match(51)){let B=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());B&&(K.typeParameters=B)}return super.jsxParseOpeningElementAfterName(K)}getGetterSetterExpectedParamCount(K){let B=super.getGetterSetterExpectedParamCount(K),L=this.getObjectOrClassMethodParams(K)[0];return L&&this.isThisParam(L)?B+1:B}parseCatchClauseParam(){let K=super.parseCatchClauseParam(),B=this.tsTryParseTypeAnnotation();return B&&(K.typeAnnotation=B,this.resetEndLocation(K)),K}tsInAmbientContext(K){let{isAmbientContext:B,strict:L}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return K()}finally{this.state.isAmbientContext=B,this.state.strict=L}}parseClass(K,B,L){let S=this.state.inAbstractClass;this.state.inAbstractClass=!!K.abstract;try{return super.parseClass(K,B,L)}finally{this.state.inAbstractClass=S}}tsParseAbstractDeclaration(K,B){if(this.match(80))return K.abstract=!0,this.maybeTakeDecorators(B,this.parseClass(K,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return K.abstract=!0,this.raise(xZ.NonClassMethodPropertyHasAbstractModifer,K),this.tsParseInterfaceDeclaration(K)}else this.unexpected(null,80)}parseMethod(K,B,L,S,x,e,WZ){let zZ=super.parseMethod(K,B,L,S,x,e,WZ);if(zZ.abstract){if(this.hasPlugin("estree")?!!zZ.value.body:!!zZ.body){let{key:FZ}=zZ;this.raise(xZ.AbstractMethodHasImplementation,zZ,{methodName:FZ.type!=="Identifier"||zZ.computed?`[${this.input.slice(this.offsetToSourcePos(FZ.start),this.offsetToSourcePos(FZ.end))}]`:FZ.name})}}return zZ}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(K,B,L,S){return!B&&S?(this.parseTypeOnlyImportExportSpecifier(K,!1,L),this.finishNode(K,"ExportSpecifier")):(K.exportKind="value",super.parseExportSpecifier(K,B,L,S))}parseImportSpecifier(K,B,L,S,x){return!B&&S?(this.parseTypeOnlyImportExportSpecifier(K,!0,L),this.finishNode(K,"ImportSpecifier")):(K.importKind="value",super.parseImportSpecifier(K,B,L,S,L?4098:4096))}parseTypeOnlyImportExportSpecifier(K,B,L){let S=B?"imported":"local",x=B?"local":"exported",e,WZ=K[S],zZ=!1,FZ=!0,_Z=WZ.loc.start;if(this.isContextual(93)){let oZ=this.parseIdentifier();if(this.isContextual(93)){let Z0=this.parseIdentifier();p(this.state.type)?(zZ=!0,WZ=oZ,e=B?this.parseIdentifier():this.parseModuleExportName(),FZ=!1):(e=Z0,FZ=!1)}else p(this.state.type)?(FZ=!1,e=B?this.parseIdentifier():this.parseModuleExportName()):(zZ=!0,WZ=oZ)}else p(this.state.type)&&(zZ=!0,B?(WZ=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(WZ.name,WZ.loc.start,!0,!0)):WZ=this.parseModuleExportName());zZ&&L&&this.raise(B?xZ.TypeModifierIsUsedInTypeImports:xZ.TypeModifierIsUsedInTypeExports,_Z),K[S]=WZ,K[x]=e,K[B?"importKind":"exportKind"]=zZ?"type":"value",FZ&&this.eatContextual(93)&&(K[x]=B?this.parseIdentifier():this.parseModuleExportName()),K[x]||(K[x]=W5(K[S])),B&&this.checkIdentifier(K[x],zZ?4098:4096)}},v8intrinsic:(H)=>class extends H{parseV8Intrinsic(){if(this.match(54)){let K=this.state.startLoc,B=this.startNode();if(this.next(),b(this.state.type)){let L=this.parseIdentifierName(),S=this.createIdentifier(B,L);if(S.type="V8IntrinsicIdentifier",this.match(10))return S}this.unexpected(K)}}parseExprAtom(K){return this.parseV8Intrinsic()||super.parseExprAtom(K)}},placeholders:(H)=>class extends H{parsePlaceholder(K){if(this.match(133)){let B=this.startNode();return this.next(),this.assertNoSpace(),B.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(B,K)}}finishPlaceholder(K,B){let L=K;return L.expectedNode&&L.type||(L=this.finishNode(L,"Placeholder")),L.expectedNode=B,L}getTokenFromCode(K){K===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(K)}parseExprAtom(K){return this.parsePlaceholder("Expression")||super.parseExprAtom(K)}parseIdentifier(K){return this.parsePlaceholder("Identifier")||super.parseIdentifier(K)}checkReservedWord(K,B,L,S){K!==void 0&&super.checkReservedWord(K,B,L,S)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(K,B,L){return K==="Placeholder"||super.isValidLVal(K,B,L)}toAssignable(K,B){K&&K.type==="Placeholder"&&K.expectedNode==="Expression"?K.expectedNode="Pattern":super.toAssignable(K,B)}chStartsBindingIdentifier(K,B){if(super.chStartsBindingIdentifier(K,B))return!0;return this.lookahead().type===133}verifyBreakContinue(K,B){K.label&&K.label.type==="Placeholder"||super.verifyBreakContinue(K,B)}parseExpressionStatement(K,B){var L;if(B.type!=="Placeholder"||(L=B.extra)!=null&&L.parenthesized)return super.parseExpressionStatement(K,B);if(this.match(14)){let x=K;return x.label=this.finishPlaceholder(B,"Identifier"),this.next(),x.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(x,"LabeledStatement")}this.semicolon();let S=K;return S.name=B.name,this.finishPlaceholder(S,"Statement")}parseBlock(K,B,L){return this.parsePlaceholder("BlockStatement")||super.parseBlock(K,B,L)}parseFunctionId(K){return this.parsePlaceholder("Identifier")||super.parseFunctionId(K)}parseClass(K,B,L){let S=B?"ClassDeclaration":"ClassExpression";this.next();let x=this.state.strict,e=this.parsePlaceholder("Identifier");if(e){if(!(this.match(81)||this.match(133)||this.match(5))){if(L||!B)return K.id=null,K.body=this.finishPlaceholder(e,"ClassBody"),this.finishNode(K,S);throw this.raise(e0.ClassNameIsRequired,this.state.startLoc)}K.id=e}else this.parseClassId(K,B,L);return super.parseClassSuper(K),K.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!K.superClass,x),this.finishNode(K,S)}parseExport(K,B){let L=this.parsePlaceholder("Identifier");if(!L)return super.parseExport(K,B);let S=K;if(!this.isContextual(98)&&!this.match(12))return S.specifiers=[],S.source=null,S.declaration=this.finishPlaceholder(L,"Declaration"),this.finishNode(S,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let x=this.startNode();return x.exported=L,S.specifiers=[this.finishNode(x,"ExportDefaultSpecifier")],super.parseExport(S,B)}isExportDefaultSpecifier(){if(this.match(65)){let K=this.nextTokenStart();if(this.isUnparsedContextual(K,"from")&&this.input.startsWith(AZ(133),this.nextTokenStartSince(K+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(K,B){var L;return!((L=K.specifiers)==null||!L.length)||super.maybeParseExportDefaultSpecifier(K,B)}checkExport(K){let{specifiers:B}=K;B!=null&&B.length&&(K.specifiers=B.filter((L)=>L.exported.type==="Placeholder")),super.checkExport(K),K.specifiers=B}parseImport(K){let B=this.parsePlaceholder("Identifier");if(!B)return super.parseImport(K);if(K.specifiers=[],!this.isContextual(98)&&!this.match(12))return K.source=this.finishPlaceholder(B,"StringLiteral"),this.semicolon(),this.finishNode(K,"ImportDeclaration");let L=this.startNodeAtNode(B);if(L.local=B,K.specifiers.push(this.finishNode(L,"ImportDefaultSpecifier")),this.eat(12))this.maybeParseStarImportSpecifier(K)||this.parseNamedImportSpecifiers(K);return this.expectContextual(98),K.source=this.parseImportSource(),this.semicolon(),this.finishNode(K,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(e0.UnexpectedSpace,this.state.lastTokEndLoc)}}},R5=Object.keys(Z5);class U5 extends B0{checkProto(H,K,B,L){if(H.type==="SpreadElement"||this.isObjectMethod(H)||H.computed||H.shorthand)return;let S=H.key;if((S.type==="Identifier"?S.name:S.value)==="__proto__"){if(K)return void this.raise(A.RecordNoProto,S);B.used&&(L?L.doubleProtoLoc===null&&(L.doubleProtoLoc=S.loc.start):this.raise(A.DuplicateProto,S)),B.used=!0}}shouldExitDescending(H,K){return H.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(H.start)===K}getExpression(){this.enterInitialScopes(),this.nextToken();let H=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),H.comments=this.comments,H.errors=this.state.errors,this.options.tokens&&(H.tokens=this.tokens),H}parseExpression(H,K){return H?this.disallowInAnd(()=>this.parseExpressionBase(K)):this.allowInAnd(()=>this.parseExpressionBase(K))}parseExpressionBase(H){let K=this.state.startLoc,B=this.parseMaybeAssign(H);if(this.match(12)){let L=this.startNodeAt(K);for(L.expressions=[B];this.eat(12);)L.expressions.push(this.parseMaybeAssign(H));return this.toReferencedList(L.expressions),this.finishNode(L,"SequenceExpression")}return B}parseMaybeAssignDisallowIn(H,K){return this.disallowInAnd(()=>this.parseMaybeAssign(H,K))}parseMaybeAssignAllowIn(H,K){return this.allowInAnd(()=>this.parseMaybeAssign(H,K))}setOptionalParametersError(H,K){var B;H.optionalParametersLoc=(B=K==null?void 0:K.loc)!=null?B:this.state.startLoc}parseMaybeAssign(H,K){let B=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let WZ=this.parseYield();return K&&(WZ=K.call(this,WZ,B)),WZ}let L;H?L=!1:(H=new g0,L=!0);let{type:S}=this.state;(S===10||b(S))&&(this.state.potentialArrowAt=this.state.start);let x=this.parseMaybeConditional(H);if(K&&(x=K.call(this,x,B)),(e=this.state.type)>=29&&e<=33){let WZ=this.startNodeAt(B),zZ=this.state.value;if(WZ.operator=zZ,this.match(29)){this.toAssignable(x,!0),WZ.left=x;let FZ=B.index;H.doubleProtoLoc!=null&&H.doubleProtoLoc.index>=FZ&&(H.doubleProtoLoc=null),H.shorthandAssignLoc!=null&&H.shorthandAssignLoc.index>=FZ&&(H.shorthandAssignLoc=null),H.privateKeyLoc!=null&&H.privateKeyLoc.index>=FZ&&(this.checkDestructuringPrivate(H),H.privateKeyLoc=null)}else WZ.left=x;return this.next(),WZ.right=this.parseMaybeAssign(),this.checkLVal(x,this.finishNode(WZ,"AssignmentExpression")),WZ}var e;return L&&this.checkExpressionErrors(H,!0),x}parseMaybeConditional(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseExprOps(H);return this.shouldExitDescending(L,B)?L:this.parseConditional(L,K,H)}parseConditional(H,K,B){if(this.eat(17)){let L=this.startNodeAt(K);return L.test=H,L.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),L.alternate=this.parseMaybeAssign(),this.finishNode(L,"ConditionalExpression")}return H}parseMaybeUnaryOrPrivate(H){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(H)}parseExprOps(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseMaybeUnaryOrPrivate(H);return this.shouldExitDescending(L,B)?L:this.parseExprOp(L,K,-1)}parseExprOp(H,K,B){if(this.isPrivateName(H)){let x=this.getPrivateNameSV(H);(B>=SZ(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(A.PrivateInExpectedIn,H,{identifierName:x}),this.classScope.usePrivateName(x,H.loc.start)}let L=this.state.type;if((S=L)>=39&&S<=59&&(this.prodParam.hasIn||!this.match(58))){let x=SZ(L);if(x>B){if(L===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return H;this.checkPipelineAtInfixOperator(H,K)}let e=this.startNodeAt(K);e.left=H,e.operator=this.state.value;let WZ=L===41||L===42,zZ=L===40;if(zZ&&(x=SZ(42)),this.next(),L===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(A.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);e.right=this.parseExprOpRightExpr(L,x);let FZ=this.finishNode(e,WZ||zZ?"LogicalExpression":"BinaryExpression"),_Z=this.state.type;if(zZ&&(_Z===41||_Z===42)||WZ&&_Z===40)throw this.raise(A.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(FZ,K,B)}}var S;return H}parseExprOpRightExpr(H,K){let B=this.state.startLoc;if(H===39)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(A.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(H,K),B)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(K))}return this.parseExprOpBaseRightExpr(H,K)}parseExprOpBaseRightExpr(H,K){let B=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),B,H===57?K-1:K)}parseHackPipeBody(){var H;let{startLoc:K}=this.state,B=this.parseMaybeAssign();return!M.has(B.type)||(H=B.extra)!=null&&H.parenthesized||this.raise(A.PipeUnparenthesizedBody,K,{type:B.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipeTopicUnused,K),B}checkExponentialAfterUnary(H){this.match(57)&&this.raise(A.UnexpectedTokenUnaryExponentiation,H.argument)}parseMaybeUnary(H,K){let B=this.state.startLoc,L=this.isContextual(96);if(L&&this.recordAwaitIfAllowed()){this.next();let zZ=this.parseAwait(B);return K||this.checkExponentialAfterUnary(zZ),zZ}let S=this.match(34),x=this.startNode();if(e=this.state.type,a[e]){x.operator=this.state.value,x.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let zZ=this.match(89);if(this.next(),x.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(H,!0),this.state.strict&&zZ){let FZ=x.argument;FZ.type==="Identifier"?this.raise(A.StrictDelete,x):this.hasPropertyAsPrivateName(FZ)&&this.raise(A.DeletePrivateField,x)}if(!S)return K||this.checkExponentialAfterUnary(x),this.finishNode(x,"UnaryExpression")}var e;let WZ=this.parseUpdate(x,S,H);if(L){let{type:zZ}=this.state;if((this.hasPlugin("v8intrinsic")?s(zZ):s(zZ)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(A.AwaitNotInAsyncContext,B),this.parseAwait(B)}return WZ}parseUpdate(H,K,B){if(K){let x=H;return this.checkLVal(x.argument,this.finishNode(x,"UpdateExpression")),H}let L=this.state.startLoc,S=this.parseExprSubscripts(B);if(this.checkExpressionErrors(B,!1))return S;for(;this.state.type===34&&!this.canInsertSemicolon();){let x=this.startNodeAt(L);x.operator=this.state.value,x.prefix=!1,x.argument=S,this.next(),this.checkLVal(S,S=this.finishNode(x,"UpdateExpression"))}return S}parseExprSubscripts(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseExprAtom(H);return this.shouldExitDescending(L,B)?L:this.parseSubscripts(L,K)}parseSubscripts(H,K,B){let L={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(H),stop:!1};do H=this.parseSubscript(H,K,B,L),L.maybeAsyncArrow=!1;while(!L.stop);return H}parseSubscript(H,K,B,L){let{type:S}=this.state;if(!B&&S===15)return this.parseBind(H,K,B,L);if(CZ(S))return this.parseTaggedTemplateExpression(H,K,L);let x=!1;if(S===18){if(B&&(this.raise(A.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return L.stop=!0,H;L.optionalChainMember=x=!0,this.next()}if(!B&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(H,K,L,x);{let e=this.eat(0);return e||x||this.eat(16)?this.parseMember(H,K,L,e,x):(L.stop=!0,H)}}parseMember(H,K,B,L,S){let x=this.startNodeAt(K);return x.object=H,x.computed=L,L?(x.property=this.parseExpression(),this.expect(3)):this.match(139)?(H.type==="Super"&&this.raise(A.SuperPrivateField,K),this.classScope.usePrivateName(this.state.value,this.state.startLoc),x.property=this.parsePrivateName()):x.property=this.parseIdentifier(!0),B.optionalChainMember?(x.optional=S,this.finishNode(x,"OptionalMemberExpression")):this.finishNode(x,"MemberExpression")}parseBind(H,K,B,L){let S=this.startNodeAt(K);return S.object=H,this.next(),S.callee=this.parseNoCallExpr(),L.stop=!0,this.parseSubscripts(this.finishNode(S,"BindExpression"),K,B)}parseCoverCallAndAsyncArrowHead(H,K,B,L){let S=this.state.maybeInArrowParameters,x=null;this.state.maybeInArrowParameters=!0,this.next();let e=this.startNodeAt(K);e.callee=H;let{maybeAsyncArrow:WZ,optionalChainMember:zZ}=B;WZ&&(this.expressionScope.enter(new J5(2)),x=new g0),zZ&&(e.optional=L),e.arguments=L?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,H.type!=="Super",e,x);let FZ=this.finishCallExpression(e,zZ);return WZ&&this.shouldParseAsyncArrow()&&!L?(B.stop=!0,this.checkDestructuringPrivate(x),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),FZ=this.parseAsyncArrowFromCallExpression(this.startNodeAt(K),FZ)):(WZ&&(this.checkExpressionErrors(x,!0),this.expressionScope.exit()),this.toReferencedArguments(FZ)),this.state.maybeInArrowParameters=S,FZ}toReferencedArguments(H,K){this.toReferencedListDeep(H.arguments,K)}parseTaggedTemplateExpression(H,K,B){let L=this.startNodeAt(K);return L.tag=H,L.quasi=this.parseTemplate(!0),B.optionalChainMember&&this.raise(A.OptionalChainingNoTemplate,K),this.finishNode(L,"TaggedTemplateExpression")}atPossibleAsyncArrow(H){return H.type==="Identifier"&&H.name==="async"&&this.state.lastTokEndLoc.index===H.end&&!this.canInsertSemicolon()&&H.end-H.start==5&&this.offsetToSourcePos(H.start)===this.state.potentialArrowAt}finishCallExpression(H,K){if(H.callee.type==="Import")if(H.arguments.length===0||H.arguments.length>2)this.raise(A.ImportCallArity,H);else for(let B of H.arguments)B.type==="SpreadElement"&&this.raise(A.ImportCallSpreadArgument,B);return this.finishNode(H,K?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(H,K,B,L){let S=[],x=!0,e=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(H);){if(x)x=!1;else if(this.expect(12),this.match(H)){B&&this.addTrailingCommaExtraToNode(B),this.next();break}S.push(this.parseExprListItem(!1,L,K))}return this.state.inFSharpPipelineDirectBody=e,S}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(H,K){var B;return this.resetPreviousNodeTrailingComments(K),this.expect(19),this.parseArrowExpression(H,K.arguments,!0,(B=K.extra)==null?void 0:B.trailingCommaLoc),K.innerComments&&KZ(H,K.innerComments),K.callee.trailingComments&&KZ(H,K.callee.trailingComments),H}parseNoCallExpr(){let H=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),H,!0)}parseExprAtom(H){let K,B=null,{type:L}=this.state;switch(L){case 79:return this.parseSuper();case 83:return K=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(K):this.match(10)?this.options.createImportExpressions?this.parseImportCall(K):this.finishNode(K,"Import"):(this.raise(A.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(K,"Import"));case 78:return K=this.startNode(),this.next(),this.finishNode(K,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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:{let S=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(S)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,H);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,H);case 68:return this.parseFunctionOrFunctionSent();case 26:B=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(B,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{K=this.startNode(),this.next(),K.object=null;let S=K.callee=this.parseNoCallExpr();if(S.type==="MemberExpression")return this.finishNode(K,"BindExpression");throw this.raise(A.UnsupportedBind,S)}case 139:return this.raise(A.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:{let S=this.getPluginOption("pipelineOperator","proposal");if(S)return this.parseTopicReference(S);this.unexpected();break}case 47:{let S=this.input.codePointAt(this.nextTokenStart());c(S)||S===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(L===137)return this.parseDecimalLiteral(this.state.value);if(b(L)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let S=this.state.potentialArrowAt===this.state.start,x=this.state.containsEsc,e=this.parseIdentifier();if(!x&&e.name==="async"&&!this.canInsertSemicolon()){let{type:WZ}=this.state;if(WZ===68)return this.resetPreviousNodeTrailingComments(e),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(e));if(b(WZ))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(e)):e;if(WZ===90)return this.resetPreviousNodeTrailingComments(e),this.parseDo(this.startNodeAtNode(e),!0)}return S&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(e),[e],!1)):e}this.unexpected()}}parseTopicReferenceThenEqualsSign(H,K){let B=this.getPluginOption("pipelineOperator","proposal");if(B)return this.state.type=H,this.state.value=K,this.state.pos--,this.state.end--,this.state.endLoc=O(this.state.endLoc,-1),this.parseTopicReference(B);this.unexpected()}parseTopicReference(H){let K=this.startNode(),B=this.state.startLoc,L=this.state.type;return this.next(),this.finishTopicReference(K,B,H,L)}finishTopicReference(H,K,B,L){if(this.testTopicReferenceConfiguration(B,K,L)){let S=B==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(B==="smart"?A.PrimaryTopicNotAllowed:A.PipeTopicUnbound,K),this.registerTopicReference(),this.finishNode(H,S)}throw this.raise(A.PipeTopicUnconfiguredToken,K,{token:AZ(L)})}testTopicReferenceConfiguration(H,K,B){switch(H){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:AZ(B)}]);case"smart":return B===27;default:throw this.raise(A.PipeTopicRequiresHackPipes,K)}}parseAsyncArrowUnaryFunction(H){this.prodParam.enter(F5(!0,this.prodParam.hasYield));let K=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(A.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(H,K,!0)}parseDo(H,K){this.expectPlugin("doExpressions"),K&&this.expectPlugin("asyncDoExpressions"),H.async=K,this.next();let B=this.state.labels;return this.state.labels=[],K?(this.prodParam.enter(2),H.body=this.parseBlock(),this.prodParam.exit()):H.body=this.parseBlock(),this.state.labels=B,this.finishNode(H,"DoExpression")}parseSuper(){let H=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(A.UnexpectedSuper,H):this.raise(A.SuperNotAllowed,H),this.match(10)||this.match(0)||this.match(16)||this.raise(A.UnsupportedSuper,H),this.finishNode(H,"Super")}parsePrivateName(){let H=this.startNode(),K=this.startNodeAt(O(this.state.startLoc,1)),B=this.state.value;return this.next(),H.id=this.createIdentifier(K,B),this.finishNode(H,"PrivateName")}parseFunctionOrFunctionSent(){let H=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let K=this.createIdentifier(this.startNodeAtNode(H),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(H,K,"sent")}return this.parseFunction(H)}parseMetaProperty(H,K,B){H.meta=K;let L=this.state.containsEsc;return H.property=this.parseIdentifier(!0),(H.property.name!==B||L)&&this.raise(A.UnsupportedMetaProperty,H.property,{target:K.name,onlyValidPropertyName:B}),this.finishNode(H,"MetaProperty")}parseImportMetaProperty(H){let K=this.createIdentifier(this.startNodeAtNode(H),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(A.ImportMetaOutsideModule,K),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let B=this.isContextual(105);if(B||this.unexpected(),this.expectPlugin(B?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(A.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),H.phase=B?"source":"defer",this.parseImportCall(H)}return this.parseMetaProperty(H,K,"meta")}parseLiteralAtNode(H,K,B){return this.addExtra(B,"rawValue",H),this.addExtra(B,"raw",this.input.slice(this.offsetToSourcePos(B.start),this.state.end)),B.value=H,this.next(),this.finishNode(B,K)}parseLiteral(H,K){let B=this.startNode();return this.parseLiteralAtNode(H,K,B)}parseStringLiteral(H){return this.parseLiteral(H,"StringLiteral")}parseNumericLiteral(H){return this.parseLiteral(H,"NumericLiteral")}parseBigIntLiteral(H){return this.parseLiteral(H,"BigIntLiteral")}parseDecimalLiteral(H){return this.parseLiteral(H,"DecimalLiteral")}parseRegExpLiteral(H){let K=this.startNode();return this.addExtra(K,"raw",this.input.slice(this.offsetToSourcePos(K.start),this.state.end)),K.pattern=H.pattern,K.flags=H.flags,this.next(),this.finishNode(K,"RegExpLiteral")}parseBooleanLiteral(H){let K=this.startNode();return K.value=H,this.next(),this.finishNode(K,"BooleanLiteral")}parseNullLiteral(){let H=this.startNode();return this.next(),this.finishNode(H,"NullLiteral")}parseParenAndDistinguishExpression(H){let K=this.state.startLoc,B;this.next(),this.expressionScope.enter(new J5(1));let L=this.state.maybeInArrowParameters,S=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let x=this.state.startLoc,e=[],WZ=new g0,zZ,FZ,_Z=!0;for(;!this.match(11);){if(_Z)_Z=!1;else if(this.expect(12,WZ.optionalParametersLoc===null?null:WZ.optionalParametersLoc),this.match(11)){FZ=this.state.startLoc;break}if(this.match(21)){let K0=this.state.startLoc;if(zZ=this.state.startLoc,e.push(this.parseParenItem(this.parseRestBinding(),K0)),!this.checkCommaAfterRest(41))break}else e.push(this.parseMaybeAssignAllowIn(WZ,this.parseParenItem))}let oZ=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=L,this.state.inFSharpPipelineDirectBody=S;let Z0=this.startNodeAt(K);return H&&this.shouldParseArrow(e)&&(Z0=this.parseArrow(Z0))?(this.checkDestructuringPrivate(WZ),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Z0,e,!1),Z0):(this.expressionScope.exit(),e.length||this.unexpected(this.state.lastTokStartLoc),FZ&&this.unexpected(FZ),zZ&&this.unexpected(zZ),this.checkExpressionErrors(WZ,!0),this.toReferencedListDeep(e,!0),e.length>1?(B=this.startNodeAt(x),B.expressions=e,this.finishNode(B,"SequenceExpression"),this.resetEndLocation(B,oZ)):B=e[0],this.wrapParenthesis(K,B))}wrapParenthesis(H,K){if(!this.options.createParenthesizedExpressions)return this.addExtra(K,"parenthesized",!0),this.addExtra(K,"parenStart",H.index),this.takeSurroundingComments(K,H.index,this.state.lastTokEndLoc.index),K;let B=this.startNodeAt(H);return B.expression=K,this.finishNode(B,"ParenthesizedExpression")}shouldParseArrow(H){return!this.canInsertSemicolon()}parseArrow(H){if(this.eat(19))return H}parseParenItem(H,K){return H}parseNewOrNewTarget(){let H=this.startNode();if(this.next(),this.match(16)){let K=this.createIdentifier(this.startNodeAtNode(H),"new");this.next();let B=this.parseMetaProperty(H,K,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(A.UnexpectedNewTarget,B),B}return this.parseNew(H)}parseNew(H){if(this.parseNewCallee(H),this.eat(10)){let K=this.parseExprList(11);this.toReferencedList(K),H.arguments=K}else H.arguments=[];return this.finishNode(H,"NewExpression")}parseNewCallee(H){let K=this.match(83),B=this.parseNoCallExpr();H.callee=B,!K||B.type!=="Import"&&B.type!=="ImportExpression"||this.raise(A.ImportCallNotNewExpression,B)}parseTemplateElement(H){let{start:K,startLoc:B,end:L,value:S}=this.state,x=K+1,e=this.startNodeAt(O(B,1));S===null&&(H||this.raise(A.InvalidEscapeSequenceTemplate,O(this.state.firstInvalidTemplateEscapePos,1)));let WZ=this.match(24),zZ=WZ?-1:-2,FZ=L+zZ;e.value={raw:this.input.slice(x,FZ).replace(/\r\n?/g,`
|
|
348
|
-
`),cooked:S===null?null:S.slice(1,zZ)},e.tail=WZ,this.next();let _Z=this.finishNode(e,"TemplateElement");return this.resetEndLocation(_Z,O(this.state.lastTokEndLoc,zZ)),_Z}parseTemplate(H){let K=this.startNode(),B=this.parseTemplateElement(H),L=[B],S=[];for(;!B.tail;)S.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),L.push(B=this.parseTemplateElement(H));return K.expressions=S,K.quasis=L,this.finishNode(K,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(H,K,B,L){B&&this.expectPlugin("recordAndTuple");let S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let x=Object.create(null),e=!0,WZ=this.startNode();for(WZ.properties=[],this.next();!this.match(H);){if(e)e=!1;else if(this.expect(12),this.match(H)){this.addTrailingCommaExtraToNode(WZ);break}let FZ;K?FZ=this.parseBindingProperty():(FZ=this.parsePropertyDefinition(L),this.checkProto(FZ,B,x,L)),B&&!this.isObjectProperty(FZ)&&FZ.type!=="SpreadElement"&&this.raise(A.InvalidRecordProperty,FZ),FZ.shorthand&&this.addExtra(FZ,"shorthand",!0),WZ.properties.push(FZ)}this.next(),this.state.inFSharpPipelineDirectBody=S;let zZ="ObjectExpression";return K?zZ="ObjectPattern":B&&(zZ="RecordExpression"),this.finishNode(WZ,zZ)}addTrailingCommaExtraToNode(H){this.addExtra(H,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(H,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(H){return!H.computed&&H.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(H){let K=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(A.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)K.push(this.parseDecorator());let B=this.startNode(),L,S=!1,x=!1;if(this.match(21))return K.length&&this.unexpected(),this.parseSpread();K.length&&(B.decorators=K,K=[]),B.method=!1,H&&(L=this.state.startLoc);let e=this.eat(55);this.parsePropertyNamePrefixOperator(B);let WZ=this.state.containsEsc;if(this.parsePropertyName(B,H),!e&&!WZ&&this.maybeAsyncOrAccessorProp(B)){let{key:zZ}=B,FZ=zZ.name;FZ!=="async"||this.hasPrecedingLineBreak()||(S=!0,this.resetPreviousNodeTrailingComments(zZ),e=this.eat(55),this.parsePropertyName(B)),FZ!=="get"&&FZ!=="set"||(x=!0,this.resetPreviousNodeTrailingComments(zZ),B.kind=FZ,this.match(55)&&(e=!0,this.raise(A.AccessorIsGenerator,this.state.curPosition(),{kind:FZ}),this.next()),this.parsePropertyName(B))}return this.parseObjPropValue(B,L,e,S,!1,x,H)}getGetterSetterExpectedParamCount(H){return H.kind==="get"?0:1}getObjectOrClassMethodParams(H){return H.params}checkGetterSetterParams(H){var K;let B=this.getGetterSetterExpectedParamCount(H),L=this.getObjectOrClassMethodParams(H);L.length!==B&&this.raise(H.kind==="get"?A.BadGetterArity:A.BadSetterArity,H),H.kind==="set"&&((K=L[L.length-1])==null?void 0:K.type)==="RestElement"&&this.raise(A.BadSetterRestParameter,H)}parseObjectMethod(H,K,B,L,S){if(S){let x=this.parseMethod(H,K,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(x),x}if(B||K||this.match(10))return L&&this.unexpected(),H.kind="method",H.method=!0,this.parseMethod(H,K,B,!1,!1,"ObjectMethod")}parseObjectProperty(H,K,B,L){if(H.shorthand=!1,this.eat(14))return H.value=B?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(L),this.finishNode(H,"ObjectProperty");if(!H.computed&&H.key.type==="Identifier"){if(this.checkReservedWord(H.key.name,H.key.loc.start,!0,!1),B)H.value=this.parseMaybeDefault(K,W5(H.key));else if(this.match(29)){let S=this.state.startLoc;L!=null?L.shorthandAssignLoc===null&&(L.shorthandAssignLoc=S):this.raise(A.InvalidCoverInitializedName,S),H.value=this.parseMaybeDefault(K,W5(H.key))}else H.value=W5(H.key);return H.shorthand=!0,this.finishNode(H,"ObjectProperty")}}parseObjPropValue(H,K,B,L,S,x,e){let WZ=this.parseObjectMethod(H,B,L,S,x)||this.parseObjectProperty(H,K,S,e);return WZ||this.unexpected(),WZ}parsePropertyName(H,K){if(this.eat(0))H.computed=!0,H.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:B,value:L}=this.state,S;if(p(B))S=this.parseIdentifier(!0);else switch(B){case 135:S=this.parseNumericLiteral(L);break;case 134:S=this.parseStringLiteral(L);break;case 136:S=this.parseBigIntLiteral(L);break;case 139:{let x=this.state.startLoc;K!=null?K.privateKeyLoc===null&&(K.privateKeyLoc=x):this.raise(A.UnexpectedPrivateField,x),S=this.parsePrivateName();break}default:if(B===137){S=this.parseDecimalLiteral(L);break}this.unexpected()}H.key=S,B!==139&&(H.computed=!1)}}initFunction(H,K){H.id=null,H.generator=!1,H.async=K}parseMethod(H,K,B,L,S,x,e=!1){this.initFunction(H,B),H.generator=K,this.scope.enter(18|(e?64:0)|(S?32:0)),this.prodParam.enter(F5(B,H.generator)),this.parseFunctionParams(H,L);let WZ=this.parseFunctionBodyAndFinish(H,x,!0);return this.prodParam.exit(),this.scope.exit(),WZ}parseArrayLike(H,K,B,L){B&&this.expectPlugin("recordAndTuple");let S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let x=this.startNode();return this.next(),x.elements=this.parseExprList(H,!B,L,x),this.state.inFSharpPipelineDirectBody=S,this.finishNode(x,B?"TupleExpression":"ArrayExpression")}parseArrowExpression(H,K,B,L){this.scope.enter(6);let S=F5(B,!1);!this.match(5)&&this.prodParam.hasIn&&(S|=8),this.prodParam.enter(S),this.initFunction(H,B);let x=this.state.maybeInArrowParameters;return K&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(H,K,L)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(H,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=x,this.finishNode(H,"ArrowFunctionExpression")}setArrowFunctionParameters(H,K,B){this.toAssignableList(K,B,!1),H.params=K}parseFunctionBodyAndFinish(H,K,B=!1){return this.parseFunctionBody(H,!1,B),this.finishNode(H,K)}parseFunctionBody(H,K,B=!1){let L=K&&!this.match(5);if(this.expressionScope.enter(S5()),L)H.body=this.parseMaybeAssign(),this.checkParams(H,!1,K,!1);else{let S=this.state.strict,x=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),H.body=this.parseBlock(!0,!1,(e)=>{let WZ=!this.isSimpleParamList(H.params);e&&WZ&&this.raise(A.IllegalLanguageModeDirective,H.kind!=="method"&&H.kind!=="constructor"||!H.key?H:H.key.loc.end);let zZ=!S&&this.state.strict;this.checkParams(H,!(this.state.strict||K||B||WZ),K,zZ),this.state.strict&&H.id&&this.checkIdentifier(H.id,65,zZ)}),this.prodParam.exit(),this.state.labels=x}this.expressionScope.exit()}isSimpleParameter(H){return H.type==="Identifier"}isSimpleParamList(H){for(let K=0,B=H.length;K<B;K++)if(!this.isSimpleParameter(H[K]))return!1;return!0}checkParams(H,K,B,L=!0){let S=!K&&new Set,x={type:"FormalParameters"};for(let e of H.params)this.checkLVal(e,x,5,S,L)}parseExprList(H,K,B,L){let S=[],x=!0;for(;!this.eat(H);){if(x)x=!1;else if(this.expect(12),this.match(H)){L&&this.addTrailingCommaExtraToNode(L),this.next();break}S.push(this.parseExprListItem(K,B))}return S}parseExprListItem(H,K,B){let L;if(this.match(12))H||this.raise(A.UnexpectedToken,this.state.curPosition(),{unexpected:","}),L=null;else if(this.match(21)){let S=this.state.startLoc;L=this.parseParenItem(this.parseSpread(K),S)}else if(this.match(17)){this.expectPlugin("partialApplication"),B||this.raise(A.UnexpectedArgumentPlaceholder,this.state.startLoc);let S=this.startNode();this.next(),L=this.finishNode(S,"ArgumentPlaceholder")}else L=this.parseMaybeAssignAllowIn(K,this.parseParenItem);return L}parseIdentifier(H){let K=this.startNode(),B=this.parseIdentifierName(H);return this.createIdentifier(K,B)}createIdentifier(H,K){return H.name=K,H.loc.identifierName=K,this.finishNode(H,"Identifier")}parseIdentifierName(H){let K,{startLoc:B,type:L}=this.state;p(L)?K=this.state.value:this.unexpected();let S=L<=92;return H?S&&this.replaceToken(132):this.checkReservedWord(K,B,S,!1),this.next(),K}checkReservedWord(H,K,B,L){if(H.length>10)return;if(!function(S){return ZZ.has(S)}(H))return;if(B&&function(S){return Q0.has(S)}(H))return void this.raise(A.UnexpectedKeyword,K,{keyword:H});if((this.state.strict?L?l:wZ:PZ)(H,this.inModule))this.raise(A.UnexpectedReservedWord,K,{reservedWord:H});else if(H==="yield"){if(this.prodParam.hasYield)return void this.raise(A.YieldBindingIdentifier,K)}else if(H==="await"){if(this.prodParam.hasAwait)return void this.raise(A.AwaitBindingIdentifier,K);if(this.scope.inStaticBlock)return void this.raise(A.AwaitBindingIdentifierInStaticBlock,K);this.expressionScope.recordAsyncArrowParametersError(K)}else if(H==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(A.ArgumentsInClass,K)}recordAwaitIfAllowed(){let H=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return H&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),H}parseAwait(H){let K=this.startNodeAt(H);return this.expressionScope.recordParameterInitializerError(A.AwaitExpressionFormalParameter,K),this.eat(55)&&this.raise(A.ObsoleteAwaitStar,K),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(K.argument=this.parseMaybeUnary(null,!0)),this.finishNode(K,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:H}=this.state;return H===53||H===10||H===0||CZ(H)||H===102&&!this.state.containsEsc||H===138||H===56||this.hasPlugin("v8intrinsic")&&H===54}parseYield(){let H=this.startNode();this.expressionScope.recordParameterInitializerError(A.YieldInParameter,H),this.next();let K=!1,B=null;if(!this.hasPrecedingLineBreak())switch(K=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!K)break;default:B=this.parseMaybeAssign()}return H.delegate=K,H.argument=B,this.finishNode(H,"YieldExpression")}parseImportCall(H){if(this.next(),H.source=this.parseMaybeAssignAllowIn(),H.options=null,this.eat(12)&&!this.match(11)&&(H.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(A.ImportCallArity,H)}return this.expect(11),this.finishNode(H,"ImportExpression")}checkPipelineAtInfixOperator(H,K){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&H.type==="SequenceExpression"&&this.raise(A.PipelineHeadSequenceExpression,K)}parseSmartPipelineBodyInStyle(H,K){if(this.isSimpleReference(H)){let B=this.startNodeAt(K);return B.callee=H,this.finishNode(B,"PipelineBareFunction")}{let B=this.startNodeAt(K);return this.checkSmartPipeTopicBodyEarlyErrors(K),B.expression=H,this.finishNode(B,"PipelineTopicExpression")}}isSimpleReference(H){switch(H.type){case"MemberExpression":return!H.computed&&this.isSimpleReference(H.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(H){if(this.match(19))throw this.raise(A.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipelineTopicUnused,H)}withTopicBindingContext(H){let K=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return H()}finally{this.state.topicContext=K}}withSmartMixTopicForbiddingContext(H){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return H();{let K=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return H()}finally{this.state.topicContext=K}}}withSoloAwaitPermittingContext(H){let K=this.state.soloAwait;this.state.soloAwait=!0;try{return H()}finally{this.state.soloAwait=K}}allowInAnd(H){let K=this.prodParam.currentFlags();if(8&~K){this.prodParam.enter(8|K);try{return H()}finally{this.prodParam.exit()}}return H()}disallowInAnd(H){let K=this.prodParam.currentFlags();if(8&K){this.prodParam.enter(-9&K);try{return H()}finally{this.prodParam.exit()}}return H()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(H){let K=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let B=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let L=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),K,H);return this.state.inFSharpPipelineDirectBody=B,L}parseModuleExpression(){this.expectPlugin("moduleBlocks");let H=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let K=this.startNodeAt(this.state.endLoc);this.next();let B=this.initializeScopes(!0);this.enterInitialScopes();try{H.body=this.parseProgram(K,8,"module")}finally{B()}return this.finishNode(H,"ModuleExpression")}parsePropertyNamePrefixOperator(H){}}let $5={kind:1},f5={kind:2},m5=/[\uD800-\uDFFF]/u,v5=/in(?:stanceof)?/y;class c5 extends U5{parseTopLevel(H,K){return H.program=this.parseProgram(K),H.comments=this.comments,this.options.tokens&&(H.tokens=function(B,L,S){for(let x=0;x<B.length;x++){let e=B[x],{type:WZ}=e;if(typeof WZ=="number"){if(WZ===139){let{loc:zZ,start:FZ,value:_Z,end:oZ}=e,Z0=FZ+1,K0=O(zZ.start,1);B.splice(x,1,new p0({type:XZ(27),value:"#",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}),new p0({type:XZ(132),value:_Z,start:Z0,end:oZ,startLoc:K0,endLoc:zZ.end})),x++;continue}if(CZ(WZ)){let{loc:zZ,start:FZ,value:_Z,end:oZ}=e,Z0=FZ+1,K0=O(zZ.start,1),D0,r0,S0,k0,Q5;D0=L.charCodeAt(FZ-S)===96?new p0({type:XZ(22),value:"`",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}):new p0({type:XZ(8),value:"}",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}),WZ===24?(S0=oZ-1,k0=O(zZ.end,-1),r0=_Z===null?null:_Z.slice(1,-1),Q5=new p0({type:XZ(22),value:"`",start:S0,end:oZ,startLoc:k0,endLoc:zZ.end})):(S0=oZ-2,k0=O(zZ.end,-2),r0=_Z===null?null:_Z.slice(1,-2),Q5=new p0({type:XZ(23),value:"${",start:S0,end:oZ,startLoc:k0,endLoc:zZ.end})),B.splice(x,1,D0,new p0({type:XZ(20),value:r0,start:Z0,end:S0,startLoc:K0,endLoc:k0}),Q5),x+=2;continue}e.type=XZ(WZ)}}return B}(this.tokens,this.input,this.startIndex)),this.finishNode(H,"File")}parseProgram(H,K=140,B=this.options.sourceType){if(H.sourceType=B,H.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(H,!0,!0,K),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[S,x]of Array.from(this.scope.undefinedExports))this.raise(A.ModuleExportUndefined,x,{localName:S});this.addExtra(H,"topLevelAwait",this.state.hasTopLevelAwait)}let L;return L=K===140?this.finishNode(H,"Program"):this.finishNodeAt(H,"Program",O(this.state.startLoc,-1)),L}stmtToDirective(H){let K=H;K.type="Directive",K.value=K.expression,delete K.expression;let B=K.value,L=B.value,S=this.input.slice(this.offsetToSourcePos(B.start),this.offsetToSourcePos(B.end)),x=B.value=S.slice(1,-1);return this.addExtra(B,"raw",S),this.addExtra(B,"rawValue",x),this.addExtra(B,"expressionValue",L),B.type="DirectiveLiteral",K}parseInterpreterDirective(){if(!this.match(28))return null;let H=this.startNode();return H.value=this.state.value,this.next(),this.finishNode(H,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(H,K){if(c(H)){if(v5.lastIndex=K,v5.test(this.input)){let B=this.codePointAtPos(v5.lastIndex);if(!TZ(B)&&B!==92)return!1}return!0}return H===92}chStartsBindingPattern(H){return H===91||H===123}hasFollowingBindingAtom(){let H=this.nextTokenStart(),K=this.codePointAtPos(H);return this.chStartsBindingPattern(K)||this.chStartsBindingIdentifier(K,H)}hasInLineFollowingBindingIdentifierOrBrace(){let H=this.nextTokenInLineStart(),K=this.codePointAtPos(H);return K===123||this.chStartsBindingIdentifier(K,H)}startsUsingForOf(){let{type:H,containsEsc:K}=this.lookahead();return!(H===102&&!K)&&(b(H)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let H=this.nextTokenInLineStart();if(this.isUnparsedContextual(H,"using")){H=this.nextTokenInLineStartSince(H+5);let K=this.codePointAtPos(H);if(this.chStartsBindingIdentifier(K,H))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(H=!1){let K=0;return this.options.annexB&&!this.state.strict&&(K|=4,H&&(K|=8)),this.parseStatementLike(K)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(H){let K=null;return this.match(26)&&(K=this.parseDecorators(!0)),this.parseStatementContent(H,K)}parseStatementContent(H,K){let B=this.state.type,L=this.startNode(),S=!!(2&H),x=!!(4&H),e=1&H;switch(B){case 60:return this.parseBreakContinueStatement(L,!0);case 63:return this.parseBreakContinueStatement(L,!1);case 64:return this.parseDebuggerStatement(L);case 90:return this.parseDoWhileStatement(L);case 91:return this.parseForStatement(L);case 68:if(this.lookaheadCharCode()===46)break;return x||this.raise(this.state.strict?A.StrictFunction:this.options.annexB?A.SloppyFunctionAnnexB:A.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(L,!1,!S&&x);case 80:return S||this.unexpected(),this.parseClass(this.maybeTakeDecorators(K,L),!0);case 69:return this.parseIfStatement(L);case 70:return this.parseReturnStatement(L);case 71:return this.parseSwitchStatement(L);case 72:return this.parseThrowStatement(L);case 73:return this.parseTryStatement(L);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?S||this.raise(A.UnexpectedLexicalDeclaration,L):this.raise(A.AwaitUsingNotInAsyncContext,L),this.next(),this.parseVarStatement(L,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(A.UnexpectedUsingDeclaration,this.state.startLoc):S||this.raise(A.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(L,"using");case 100:{if(this.state.containsEsc)break;let FZ=this.nextTokenStart(),_Z=this.codePointAtPos(FZ);if(_Z!==91){if(!S&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(_Z,FZ)&&_Z!==123)break}}case 75:S||this.raise(A.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let FZ=this.state.value;return this.parseVarStatement(L,FZ)}case 92:return this.parseWhileStatement(L);case 76:return this.parseWithStatement(L);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(L);case 83:{let FZ=this.lookaheadCharCode();if(FZ===40||FZ===46)break}case 82:{let FZ;return this.options.allowImportExportEverywhere||e||this.raise(A.UnexpectedImportExport,this.state.startLoc),this.next(),B===83?(FZ=this.parseImport(L),FZ.type!=="ImportDeclaration"||FZ.importKind&&FZ.importKind!=="value"||(this.sawUnambiguousESM=!0)):(FZ=this.parseExport(L,K),(FZ.type!=="ExportNamedDeclaration"||FZ.exportKind&&FZ.exportKind!=="value")&&(FZ.type!=="ExportAllDeclaration"||FZ.exportKind&&FZ.exportKind!=="value")&&FZ.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(FZ),FZ}default:if(this.isAsyncFunction())return S||this.raise(A.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(L,!0,!S&&x)}let WZ=this.state.value,zZ=this.parseExpression();return b(B)&&zZ.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(L,WZ,zZ,H):this.parseExpressionStatement(L,zZ,K)}assertModuleNodeAllowed(H){this.options.allowImportExportEverywhere||this.inModule||this.raise(A.ImportOutsideModule,H)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(H,K,B){return H&&(K.decorators&&K.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(A.DecoratorsBeforeAfterExport,K.decorators[0]),K.decorators.unshift(...H)):K.decorators=H,this.resetStartLocationFromNode(K,H[0]),B&&this.resetStartLocationFromNode(B,K)),K}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(H){let K=[];do K.push(this.parseDecorator());while(this.match(26));if(this.match(82))H||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(A.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(A.UnexpectedLeadingDecorator,this.state.startLoc);return K}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let H=this.startNode();if(this.next(),this.hasPlugin("decorators")){let K=this.state.startLoc,B;if(this.match(10)){let L=this.state.startLoc;this.next(),B=this.parseExpression(),this.expect(11),B=this.wrapParenthesis(L,B);let S=this.state.startLoc;H.expression=this.parseMaybeDecoratorArguments(B),this.getPluginOption("decorators","allowCallParenthesized")===!1&&H.expression!==B&&this.raise(A.DecoratorArgumentsOutsideParentheses,S)}else{for(B=this.parseIdentifier(!1);this.eat(16);){let L=this.startNodeAt(K);L.object=B,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),L.property=this.parsePrivateName()):L.property=this.parseIdentifier(!0),L.computed=!1,B=this.finishNode(L,"MemberExpression")}H.expression=this.parseMaybeDecoratorArguments(B)}}else H.expression=this.parseExprSubscripts();return this.finishNode(H,"Decorator")}parseMaybeDecoratorArguments(H){if(this.eat(10)){let K=this.startNodeAtNode(H);return K.callee=H,K.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(K.arguments),this.finishNode(K,"CallExpression")}return H}parseBreakContinueStatement(H,K){return this.next(),this.isLineTerminator()?H.label=null:(H.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(H,K),this.finishNode(H,K?"BreakStatement":"ContinueStatement")}verifyBreakContinue(H,K){let B;for(B=0;B<this.state.labels.length;++B){let L=this.state.labels[B];if(H.label==null||L.name===H.label.name){if(L.kind!=null&&(K||L.kind===1))break;if(H.label&&K)break}}if(B===this.state.labels.length){let L=K?"BreakStatement":"ContinueStatement";this.raise(A.IllegalBreakContinue,H,{type:L})}}parseDebuggerStatement(H){return this.next(),this.semicolon(),this.finishNode(H,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let H=this.parseExpression();return this.expect(11),H}parseDoWhileStatement(H){return this.next(),this.state.labels.push($5),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),H.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(H,"DoWhileStatement")}parseForStatement(H){this.next(),this.state.labels.push($5);let K=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(K=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return K!==null&&this.unexpected(K),this.parseFor(H,null);let B=this.isContextual(100);{let WZ=this.isContextual(96)&&this.startsAwaitUsing(),zZ=WZ||this.isContextual(107)&&this.startsUsingForOf(),FZ=B&&this.hasFollowingBindingAtom()||zZ;if(this.match(74)||this.match(75)||FZ){let _Z=this.startNode(),oZ;WZ?(oZ="await using",this.recordAwaitIfAllowed()||this.raise(A.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):oZ=this.state.value,this.next(),this.parseVar(_Z,!0,oZ);let Z0=this.finishNode(_Z,"VariableDeclaration"),K0=this.match(58);return K0&&zZ&&this.raise(A.ForInUsing,Z0),(K0||this.isContextual(102))&&Z0.declarations.length===1?this.parseForIn(H,Z0,K):(K!==null&&this.unexpected(K),this.parseFor(H,Z0))}}let L=this.isContextual(95),S=new g0,x=this.parseExpression(!0,S),e=this.isContextual(102);if(e&&(B&&this.raise(A.ForOfLet,x),K===null&&L&&x.type==="Identifier"&&this.raise(A.ForOfAsync,x)),e||this.match(58)){this.checkDestructuringPrivate(S),this.toAssignable(x,!0);let WZ=e?"ForOfStatement":"ForInStatement";return this.checkLVal(x,{type:WZ}),this.parseForIn(H,x,K)}return this.checkExpressionErrors(S,!0),K!==null&&this.unexpected(K),this.parseFor(H,x)}parseFunctionStatement(H,K,B){return this.next(),this.parseFunction(H,1|(B?2:0)|(K?8:0))}parseIfStatement(H){return this.next(),H.test=this.parseHeaderExpression(),H.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),H.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(H,"IfStatement")}parseReturnStatement(H){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(A.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?H.argument=null:(H.argument=this.parseExpression(),this.semicolon()),this.finishNode(H,"ReturnStatement")}parseSwitchStatement(H){this.next(),H.discriminant=this.parseHeaderExpression();let K=H.cases=[],B;this.expect(5),this.state.labels.push(f5),this.scope.enter(0);for(let L;!this.match(8);)if(this.match(61)||this.match(65)){let S=this.match(61);B&&this.finishNode(B,"SwitchCase"),K.push(B=this.startNode()),B.consequent=[],this.next(),S?B.test=this.parseExpression():(L&&this.raise(A.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),L=!0,B.test=null),this.expect(14)}else B?B.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),B&&this.finishNode(B,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(H,"SwitchStatement")}parseThrowStatement(H){return this.next(),this.hasPrecedingLineBreak()&&this.raise(A.NewlineAfterThrow,this.state.lastTokEndLoc),H.argument=this.parseExpression(),this.semicolon(),this.finishNode(H,"ThrowStatement")}parseCatchClauseParam(){let H=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&H.type==="Identifier"?8:0),this.checkLVal(H,{type:"CatchClause"},9),H}parseTryStatement(H){if(this.next(),H.block=this.parseBlock(),H.handler=null,this.match(62)){let K=this.startNode();this.next(),this.match(10)?(this.expect(10),K.param=this.parseCatchClauseParam(),this.expect(11)):(K.param=null,this.scope.enter(0)),K.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),H.handler=this.finishNode(K,"CatchClause")}return H.finalizer=this.eat(67)?this.parseBlock():null,H.handler||H.finalizer||this.raise(A.NoCatchOrFinally,H),this.finishNode(H,"TryStatement")}parseVarStatement(H,K,B=!1){return this.next(),this.parseVar(H,!1,K,B),this.semicolon(),this.finishNode(H,"VariableDeclaration")}parseWhileStatement(H){return this.next(),H.test=this.parseHeaderExpression(),this.state.labels.push($5),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(H,"WhileStatement")}parseWithStatement(H){return this.state.strict&&this.raise(A.StrictWith,this.state.startLoc),this.next(),H.object=this.parseHeaderExpression(),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(H,"WithStatement")}parseEmptyStatement(H){return this.next(),this.finishNode(H,"EmptyStatement")}parseLabeledStatement(H,K,B,L){for(let e of this.state.labels)e.name===K&&this.raise(A.LabelRedeclaration,B,{labelName:K});let S=(x=this.state.type)>=90&&x<=92?1:this.match(71)?2:null;var x;for(let e=this.state.labels.length-1;e>=0;e--){let WZ=this.state.labels[e];if(WZ.statementStart!==H.start)break;WZ.statementStart=this.sourceToOffsetPos(this.state.start),WZ.kind=S}return this.state.labels.push({name:K,kind:S,statementStart:this.sourceToOffsetPos(this.state.start)}),H.body=8&L?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),H.label=B,this.finishNode(H,"LabeledStatement")}parseExpressionStatement(H,K,B){return H.expression=K,this.semicolon(),this.finishNode(H,"ExpressionStatement")}parseBlock(H=!1,K=!0,B){let L=this.startNode();return H&&this.state.strictErrors.clear(),this.expect(5),K&&this.scope.enter(0),this.parseBlockBody(L,H,!1,8,B),K&&this.scope.exit(),this.finishNode(L,"BlockStatement")}isValidDirective(H){return H.type==="ExpressionStatement"&&H.expression.type==="StringLiteral"&&!H.expression.extra.parenthesized}parseBlockBody(H,K,B,L,S){let x=H.body=[],e=H.directives=[];this.parseBlockOrModuleBlockBody(x,K?e:void 0,B,L,S)}parseBlockOrModuleBlockBody(H,K,B,L,S){let x=this.state.strict,e=!1,WZ=!1;for(;!this.match(L);){let zZ=B?this.parseModuleItem():this.parseStatementListItem();if(K&&!WZ){if(this.isValidDirective(zZ)){let FZ=this.stmtToDirective(zZ);K.push(FZ),e||FZ.value.value!=="use strict"||(e=!0,this.setStrict(!0));continue}WZ=!0,this.state.strictErrors.clear()}H.push(zZ)}S==null||S.call(this,e),x||this.setStrict(!1),this.next()}parseFor(H,K){return H.init=K,this.semicolon(!1),H.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),H.update=this.match(11)?null:this.parseExpression(),this.expect(11),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(H,"ForStatement")}parseForIn(H,K,B){let L=this.match(58);return this.next(),L?B!==null&&this.unexpected(B):H.await=B!==null,K.type!=="VariableDeclaration"||K.declarations[0].init==null||L&&this.options.annexB&&!this.state.strict&&K.kind==="var"&&K.declarations[0].id.type==="Identifier"||this.raise(A.ForInOfLoopInitializer,K,{type:L?"ForInStatement":"ForOfStatement"}),K.type==="AssignmentPattern"&&this.raise(A.InvalidLhs,K,{ancestor:{type:"ForStatement"}}),H.left=K,H.right=L?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(H,L?"ForInStatement":"ForOfStatement")}parseVar(H,K,B,L=!1){let S=H.declarations=[];for(H.kind=B;;){let x=this.startNode();if(this.parseVarId(x,B),x.init=this.eat(29)?K?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,x.init!==null||L||(x.id.type==="Identifier"||K&&(this.match(58)||this.isContextual(102))?B!=="const"&&B!=="using"&&B!=="await using"||this.match(58)||this.isContextual(102)||this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:B}):this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),S.push(this.finishNode(x,"VariableDeclarator")),!this.eat(12))break}return H}parseVarId(H,K){let B=this.parseBindingAtom();K!=="using"&&K!=="await using"||B.type!=="ArrayPattern"&&B.type!=="ObjectPattern"||this.raise(A.UsingDeclarationHasBindingPattern,B.loc.start),this.checkLVal(B,{type:"VariableDeclarator"},K==="var"?5:8201),H.id=B}parseAsyncFunctionExpression(H){return this.parseFunction(H,8)}parseFunction(H,K=0){let B=2&K,L=!!(1&K),S=L&&!(4&K),x=!!(8&K);this.initFunction(H,x),this.match(55)&&(B&&this.raise(A.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),H.generator=!0),L&&(H.id=this.parseFunctionId(S));let e=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(F5(x,H.generator)),L||(H.id=this.parseFunctionId()),this.parseFunctionParams(H,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(H,L?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),L&&!B&&this.registerFunctionStatementId(H),this.state.maybeInArrowParameters=e,H}parseFunctionId(H){return H||b(this.state.type)?this.parseIdentifier():null}parseFunctionParams(H,K){this.expect(10),this.expressionScope.enter(new O5(3)),H.params=this.parseBindingList(11,41,2|(K?4:0)),this.expressionScope.exit()}registerFunctionStatementId(H){H.id&&this.scope.declareName(H.id.name,!this.options.annexB||this.state.strict||H.generator||H.async?this.scope.treatFunctionsAsVar?5:8201:17,H.id.loc.start)}parseClass(H,K,B){this.next();let L=this.state.strict;return this.state.strict=!0,this.parseClassId(H,K,B),this.parseClassSuper(H),H.body=this.parseClassBody(!!H.superClass,L),this.finishNode(H,K?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(H){return H.type==="Identifier"&&H.name==="constructor"||H.type==="StringLiteral"&&H.value==="constructor"}isNonstaticConstructor(H){return!H.computed&&!H.static&&this.nameIsConstructor(H.key)}parseClassBody(H,K){this.classScope.enter();let B={hadConstructor:!1,hadSuperClass:H},L=[],S=this.startNode();if(S.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(L.length>0)throw this.raise(A.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){L.push(this.parseDecorator());continue}let x=this.startNode();L.length&&(x.decorators=L,this.resetStartLocationFromNode(x,L[0]),L=[]),this.parseClassMember(S,x,B),x.kind==="constructor"&&x.decorators&&x.decorators.length>0&&this.raise(A.DecoratorConstructor,x)}}),this.state.strict=K,this.next(),L.length)throw this.raise(A.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(S,"ClassBody")}parseClassMemberFromModifier(H,K){let B=this.parseIdentifier(!0);if(this.isClassMethod()){let L=K;return L.kind="method",L.computed=!1,L.key=B,L.static=!1,this.pushClassMethod(H,L,!1,!1,!1,!1),!0}if(this.isClassProperty()){let L=K;return L.computed=!1,L.key=B,L.static=!1,H.body.push(this.parseClassProperty(L)),!0}return this.resetPreviousNodeTrailingComments(B),!1}parseClassMember(H,K,B){let L=this.isContextual(106);if(L){if(this.parseClassMemberFromModifier(H,K))return;if(this.eat(5))return void this.parseClassStaticBlock(H,K)}this.parseClassMemberWithIsStatic(H,K,B,L)}parseClassMemberWithIsStatic(H,K,B,L){let S=K,x=K,e=K,WZ=K,zZ=K,FZ=S,_Z=S;if(K.static=L,this.parsePropertyNamePrefixOperator(K),this.eat(55)){FZ.kind="method";let S0=this.match(139);return this.parseClassElementName(FZ),S0?void this.pushClassPrivateMethod(H,x,!0,!1):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsGenerator,S.key),void this.pushClassMethod(H,S,!0,!1,!1,!1))}let oZ=!this.state.containsEsc&&b(this.state.type),Z0=this.parseClassElementName(K),K0=oZ?Z0.name:null,D0=this.isPrivateName(Z0),r0=this.state.startLoc;if(this.parsePostMemberNameModifiers(_Z),this.isClassMethod()){if(FZ.kind="method",D0)return void this.pushClassPrivateMethod(H,x,!1,!1);let S0=this.isNonstaticConstructor(S),k0=!1;S0&&(S.kind="constructor",B.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(A.DuplicateConstructor,Z0),S0&&this.hasPlugin("typescript")&&K.override&&this.raise(A.OverrideOnConstructor,Z0),B.hadConstructor=!0,k0=B.hadSuperClass),this.pushClassMethod(H,S,!1,!1,S0,k0)}else if(this.isClassProperty())D0?this.pushClassPrivateProperty(H,WZ):this.pushClassProperty(H,e);else if(K0!=="async"||this.isLineTerminator())if(K0!=="get"&&K0!=="set"||this.match(55)&&this.isLineTerminator())if(K0!=="accessor"||this.isLineTerminator())this.isLineTerminator()?D0?this.pushClassPrivateProperty(H,WZ):this.pushClassProperty(H,e):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Z0);let S0=this.match(139);this.parseClassElementName(e),this.pushClassAccessorProperty(H,zZ,S0)}else{this.resetPreviousNodeTrailingComments(Z0),FZ.kind=K0;let S0=this.match(139);this.parseClassElementName(S),S0?this.pushClassPrivateMethod(H,x,!1,!1):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsAccessor,S.key),this.pushClassMethod(H,S,!1,!1,!1,!1)),this.checkGetterSetterParams(S)}else{this.resetPreviousNodeTrailingComments(Z0);let S0=this.eat(55);_Z.optional&&this.unexpected(r0),FZ.kind="method";let k0=this.match(139);this.parseClassElementName(FZ),this.parsePostMemberNameModifiers(_Z),k0?this.pushClassPrivateMethod(H,x,S0,!0):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsAsync,S.key),this.pushClassMethod(H,S,S0,!0,!1,!1))}}parseClassElementName(H){let{type:K,value:B}=this.state;if(K!==132&&K!==134||!H.static||B!=="prototype"||this.raise(A.StaticPrototype,this.state.startLoc),K===139){B==="constructor"&&this.raise(A.ConstructorClassPrivateField,this.state.startLoc);let L=this.parsePrivateName();return H.key=L,L}return this.parsePropertyName(H),H.key}parseClassStaticBlock(H,K){var B;this.scope.enter(208);let L=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let S=K.body=[];this.parseBlockOrModuleBlockBody(S,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=L,H.body.push(this.finishNode(K,"StaticBlock")),(B=K.decorators)!=null&&B.length&&this.raise(A.DecoratorStaticBlock,K)}pushClassProperty(H,K){!K.computed&&this.nameIsConstructor(K.key)&&this.raise(A.ConstructorClassField,K.key),H.body.push(this.parseClassProperty(K))}pushClassPrivateProperty(H,K){let B=this.parseClassPrivateProperty(K);H.body.push(B),this.classScope.declarePrivateName(this.getPrivateNameSV(B.key),0,B.key.loc.start)}pushClassAccessorProperty(H,K,B){B||K.computed||!this.nameIsConstructor(K.key)||this.raise(A.ConstructorClassField,K.key);let L=this.parseClassAccessorProperty(K);H.body.push(L),B&&this.classScope.declarePrivateName(this.getPrivateNameSV(L.key),0,L.key.loc.start)}pushClassMethod(H,K,B,L,S,x){H.body.push(this.parseMethod(K,B,L,S,x,"ClassMethod",!0))}pushClassPrivateMethod(H,K,B,L){let S=this.parseMethod(K,B,L,!1,!1,"ClassPrivateMethod",!0);H.body.push(S);let x=S.kind==="get"?S.static?6:2:S.kind==="set"?S.static?5:1:0;this.declareClassPrivateMethodInScope(S,x)}declareClassPrivateMethodInScope(H,K){this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),K,H.key.loc.start)}parsePostMemberNameModifiers(H){}parseClassPrivateProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassPrivateProperty")}parseClassProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassProperty")}parseClassAccessorProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassAccessorProperty")}parseInitializer(H){this.scope.enter(80),this.expressionScope.enter(S5()),this.prodParam.enter(0),H.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(H,K,B,L=8331){if(b(this.state.type))H.id=this.parseIdentifier(),K&&this.declareNameFromIdentifier(H.id,L);else{if(!B&&K)throw this.raise(A.MissingClassName,this.state.startLoc);H.id=null}}parseClassSuper(H){H.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(H,K){let B=this.parseMaybeImportPhase(H,!0),L=this.maybeParseExportDefaultSpecifier(H,B),S=!L||this.eat(12),x=S&&this.eatExportStar(H),e=x&&this.maybeParseExportNamespaceSpecifier(H),WZ=S&&(!e||this.eat(12)),zZ=L||x;if(x&&!e){if(L&&this.unexpected(),K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.parseExportFrom(H,!0),this.finishNode(H,"ExportAllDeclaration")}let FZ=this.maybeParseExportNamedSpecifiers(H),_Z;if(L&&S&&!x&&!FZ&&this.unexpected(null,5),e&&WZ&&this.unexpected(null,98),zZ||FZ){if(_Z=!1,K)throw this.raise(A.UnsupportedDecoratorExport,H);this.parseExportFrom(H,zZ)}else _Z=this.maybeParseExportDeclaration(H);if(zZ||FZ||_Z){var oZ;let Z0=H;if(this.checkExport(Z0,!0,!1,!!Z0.source),((oZ=Z0.declaration)==null?void 0:oZ.type)==="ClassDeclaration")this.maybeTakeDecorators(K,Z0.declaration,Z0);else if(K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.finishNode(Z0,"ExportNamedDeclaration")}if(this.eat(65)){let Z0=H,K0=this.parseExportDefaultExpression();if(Z0.declaration=K0,K0.type==="ClassDeclaration")this.maybeTakeDecorators(K,K0,Z0);else if(K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.checkExport(Z0,!0,!0),this.finishNode(Z0,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(H){return this.eat(55)}maybeParseExportDefaultSpecifier(H,K){if(K||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",K==null?void 0:K.loc.start);let B=K||this.parseIdentifier(!0),L=this.startNodeAtNode(B);return L.exported=B,H.specifiers=[this.finishNode(L,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(H){if(this.isContextual(93)){var K;(K=H).specifiers!=null||(K.specifiers=[]);let B=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),B.exported=this.parseModuleExportName(),H.specifiers.push(this.finishNode(B,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(H){if(this.match(5)){let K=H;K.specifiers||(K.specifiers=[]);let B=K.exportKind==="type";return K.specifiers.push(...this.parseExportSpecifiers(B)),K.source=null,K.declaration=null,this.hasPlugin("importAssertions")&&(K.assertions=[]),!0}return!1}maybeParseExportDeclaration(H){return!!this.shouldParseExportDeclaration()&&(H.specifiers=[],H.source=null,this.hasPlugin("importAssertions")&&(H.assertions=[]),H.declaration=this.parseExportDeclaration(H),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let H=this.nextTokenInLineStart();return this.isUnparsedContextual(H,"function")}parseExportDefaultExpression(){let H=this.startNode();if(this.match(68))return this.next(),this.parseFunction(H,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(H,13);if(this.match(80))return this.parseClass(H,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(A.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(A.UnsupportedDefaultExport,this.state.startLoc);let K=this.parseMaybeAssignAllowIn();return this.semicolon(),K}parseExportDeclaration(H){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:H}=this.state;if(b(H)){if(H===95&&!this.state.containsEsc||H===100)return!1;if((H===130||H===129)&&!this.state.containsEsc){let{type:L}=this.lookahead();if(b(L)&&L!==98||L===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let K=this.nextTokenStart(),B=this.isUnparsedContextual(K,"from");if(this.input.charCodeAt(K)===44||b(this.state.type)&&B)return!0;if(this.match(65)&&B){let L=this.input.charCodeAt(this.nextTokenStartSince(K+4));return L===34||L===39}return!1}parseExportFrom(H,K){this.eatContextual(98)?(H.source=this.parseImportSource(),this.checkExport(H),this.maybeParseImportAttributes(H),this.checkJSONModuleImport(H)):K&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:H}=this.state;return H===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(A.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(A.UsingDeclarationExport,this.state.startLoc),!0):H===74||H===75||H===68||H===80||this.isLet()||this.isAsyncFunction()}checkExport(H,K,B,L){var S;if(K){if(B){if(this.checkDuplicateExports(H,"default"),this.hasPlugin("exportDefaultFrom")){var x;let e=H.declaration;e.type!=="Identifier"||e.name!=="from"||e.end-e.start!=4||(x=e.extra)!=null&&x.parenthesized||this.raise(A.ExportDefaultFromAsIdentifier,e)}}else if((S=H.specifiers)!=null&&S.length)for(let e of H.specifiers){let{exported:WZ}=e,zZ=WZ.type==="Identifier"?WZ.name:WZ.value;if(this.checkDuplicateExports(e,zZ),!L&&e.local){let{local:FZ}=e;FZ.type!=="Identifier"?this.raise(A.ExportBindingIsString,e,{localName:FZ.value,exportName:zZ}):(this.checkReservedWord(FZ.name,FZ.loc.start,!0,!1),this.scope.checkLocalExport(FZ))}}else if(H.declaration){let e=H.declaration;if(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"){let{id:WZ}=e;if(!WZ)throw Error("Assertion failure");this.checkDuplicateExports(H,WZ.name)}else if(e.type==="VariableDeclaration")for(let WZ of e.declarations)this.checkDeclaration(WZ.id)}}}checkDeclaration(H){if(H.type==="Identifier")this.checkDuplicateExports(H,H.name);else if(H.type==="ObjectPattern")for(let K of H.properties)this.checkDeclaration(K);else if(H.type==="ArrayPattern")for(let K of H.elements)K&&this.checkDeclaration(K);else H.type==="ObjectProperty"?this.checkDeclaration(H.value):H.type==="RestElement"?this.checkDeclaration(H.argument):H.type==="AssignmentPattern"&&this.checkDeclaration(H.left)}checkDuplicateExports(H,K){this.exportedIdentifiers.has(K)&&(K==="default"?this.raise(A.DuplicateDefaultExport,H):this.raise(A.DuplicateExport,H,{exportName:K})),this.exportedIdentifiers.add(K)}parseExportSpecifiers(H){let K=[],B=!0;for(this.expect(5);!this.eat(8);){if(B)B=!1;else if(this.expect(12),this.eat(8))break;let L=this.isContextual(130),S=this.match(134),x=this.startNode();x.local=this.parseModuleExportName(),K.push(this.parseExportSpecifier(x,S,H,L))}return K}parseExportSpecifier(H,K,B,L){return this.eatContextual(93)?H.exported=this.parseModuleExportName():K?H.exported=I5(H.local):H.exported||(H.exported=W5(H.local)),this.finishNode(H,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let H=this.parseStringLiteral(this.state.value),K=m5.exec(H.value);return K&&this.raise(A.ModuleExportNameHasLoneSurrogate,H,{surrogateCharCode:K[0].charCodeAt(0)}),H}return this.parseIdentifier(!0)}isJSONModuleImport(H){return H.assertions!=null&&H.assertions.some(({key:K,value:B})=>B.value==="json"&&(K.type==="Identifier"?K.name==="type":K.value==="type"))}checkImportReflection(H){let{specifiers:K}=H,B=K.length===1?K[0].type:null;if(H.phase==="source")B!=="ImportDefaultSpecifier"&&this.raise(A.SourcePhaseImportRequiresDefault,K[0].loc.start);else if(H.phase==="defer")B!=="ImportNamespaceSpecifier"&&this.raise(A.DeferImportRequiresNamespace,K[0].loc.start);else if(H.module){var L;B!=="ImportDefaultSpecifier"&&this.raise(A.ImportReflectionNotBinding,K[0].loc.start),((L=H.assertions)==null?void 0:L.length)>0&&this.raise(A.ImportReflectionHasAssertion,K[0].loc.start)}}checkJSONModuleImport(H){if(this.isJSONModuleImport(H)&&H.type!=="ExportAllDeclaration"){let{specifiers:K}=H;if(K!=null){let B=K.find((L)=>{let S;if(L.type==="ExportSpecifier"?S=L.local:L.type==="ImportSpecifier"&&(S=L.imported),S!==void 0)return S.type==="Identifier"?S.name!=="default":S.value!=="default"});B!==void 0&&this.raise(A.ImportJSONBindingNotDefault,B.loc.start)}}}isPotentialImportPhase(H){return!H&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(H,K,B,L){K||(B==="module"?(this.expectPlugin("importReflection",L),H.module=!0):this.hasPlugin("importReflection")&&(H.module=!1),B==="source"?(this.expectPlugin("sourcePhaseImports",L),H.phase="source"):B==="defer"?(this.expectPlugin("deferredImportEvaluation",L),H.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(H.phase=null))}parseMaybeImportPhase(H,K){if(!this.isPotentialImportPhase(K))return this.applyImportPhase(H,K,null),null;let B=this.parseIdentifier(!0),{type:L}=this.state;return(p(L)?L!==98||this.lookaheadCharCode()===102:L!==12)?(this.resetPreviousIdentifierLeadingComments(B),this.applyImportPhase(H,K,B.name,B.loc.start),null):(this.applyImportPhase(H,K,null),B)}isPrecedingIdImportPhase(H){let{type:K}=this.state;return b(K)?K!==98||this.lookaheadCharCode()===102:K!==12}parseImport(H){return this.match(134)?this.parseImportSourceAndAttributes(H):this.parseImportSpecifiersAndAfter(H,this.parseMaybeImportPhase(H,!1))}parseImportSpecifiersAndAfter(H,K){H.specifiers=[];let B=!this.maybeParseDefaultImportSpecifier(H,K)||this.eat(12),L=B&&this.maybeParseStarImportSpecifier(H);return B&&!L&&this.parseNamedImportSpecifiers(H),this.expectContextual(98),this.parseImportSourceAndAttributes(H)}parseImportSourceAndAttributes(H){return H.specifiers!=null||(H.specifiers=[]),H.source=this.parseImportSource(),this.maybeParseImportAttributes(H),this.checkImportReflection(H),this.checkJSONModuleImport(H),this.semicolon(),this.finishNode(H,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(H,K,B){K.local=this.parseIdentifier(),H.specifiers.push(this.finishImportSpecifier(K,B))}finishImportSpecifier(H,K,B=8201){return this.checkLVal(H.local,{type:K},B),this.finishNode(H,K)}parseImportAttributes(){this.expect(5);let H=[],K=new Set;do{if(this.match(8))break;let B=this.startNode(),L=this.state.value;if(K.has(L)&&this.raise(A.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:L}),K.add(L),this.match(134)?B.key=this.parseStringLiteral(L):B.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),H.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return this.expect(8),H}parseModuleAttributes(){let H=[],K=new Set;do{let B=this.startNode();if(B.key=this.parseIdentifier(!0),B.key.name!=="type"&&this.raise(A.ModuleAttributeDifferentFromType,B.key),K.has(B.key.name)&&this.raise(A.ModuleAttributesWithDuplicateKeys,B.key,{key:B.key.name}),K.add(B.key.name),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),H.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return H}maybeParseImportAttributes(H){let K;var B=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),K=this.hasPlugin("moduleAttributes")?this.parseModuleAttributes():this.parseImportAttributes(),B=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(A.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(H,"deprecatedAssertSyntax",!0),this.next(),K=this.parseImportAttributes()):K=[];!B&&this.hasPlugin("importAssertions")?H.assertions=K:H.attributes=K}maybeParseDefaultImportSpecifier(H,K){if(K){let B=this.startNodeAtNode(K);return B.local=K,H.specifiers.push(this.finishImportSpecifier(B,"ImportDefaultSpecifier")),!0}return!!p(this.state.type)&&(this.parseImportSpecifierLocal(H,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(H){if(this.match(55)){let K=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(H,K,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(H){let K=!0;for(this.expect(5);!this.eat(8);){if(K)K=!1;else{if(this.eat(14))throw this.raise(A.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let B=this.startNode(),L=this.match(134),S=this.isContextual(130);B.imported=this.parseModuleExportName();let x=this.parseImportSpecifier(B,L,H.importKind==="type"||H.importKind==="typeof",S,void 0);H.specifiers.push(x)}}parseImportSpecifier(H,K,B,L,S){if(this.eatContextual(93))H.local=this.parseIdentifier();else{let{imported:x}=H;if(K)throw this.raise(A.ImportBindingIsString,H,{importName:x.value});this.checkReservedWord(x.name,H.loc.start,!0,!0),H.local||(H.local=W5(x))}return this.finishImportSpecifier(H,"ImportSpecifier",S)}isThisParam(H){return H.type==="Identifier"&&H.name==="this"}}class x5 extends c5{constructor(H,K,B){super(H=function(L){let S={sourceType:"script",sourceFilename:void 0,startIndex: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};if(L==null)return S;if(L.annexB!=null&&L.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");for(let x of Object.keys(S))L[x]!=null&&(S[x]=L[x]);if(S.startLine===1)L.startIndex==null&&S.startColumn>0?S.startIndex=S.startColumn:L.startColumn==null&&S.startIndex>0&&(S.startColumn=S.startIndex);else if((L.startColumn==null||L.startIndex==null)&&L.startIndex!=null)throw Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return S}(H),K),this.options=H,this.initializeScopes(),this.plugins=B,this.filename=H.sourceFilename,this.startIndex=H.startIndex}getScopeHandler(){return qZ}parse(){this.enterInitialScopes();let H=this.startNode(),K=this.startNode();return this.nextToken(),H.errors=null,this.parseTopLevel(H,K),H.errors=this.state.errors,H.comments.length=this.state.commentsLen,H}}let l5=function(H){let K={};for(let B of Object.keys(H))K[B]=XZ(H[B]);return K}(m);function R0(H,K){let B=x5,L=new Map;if(H!=null&&H.plugins){for(let S of H.plugins){let x,e;typeof S=="string"?x=S:[x,e]=S,L.has(x)||L.set(x,e||{})}(function(S){if(S.has("decorators")){if(S.has("decorators-legacy"))throw Error("Cannot use the decorators and decorators-legacy plugin together");let e=S.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw Error("'decoratorsBeforeExport' must be a boolean, if specified.");let WZ=S.get("decorators").allowCallParenthesized;if(WZ!=null&&typeof WZ!="boolean")throw Error("'allowCallParenthesized' must be a boolean.")}if(S.has("flow")&&S.has("typescript"))throw Error("Cannot combine flow and typescript plugins.");if(S.has("placeholders")&&S.has("v8intrinsic"))throw Error("Cannot combine placeholders and v8intrinsic plugins.");if(S.has("pipelineOperator")){var x;let e=S.get("pipelineOperator").proposal;if(!o0.includes(e)){let zZ=o0.map((FZ)=>`"${FZ}"`).join(", ");throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${zZ}.`)}let WZ=((x=S.get("recordAndTuple"))==null?void 0:x.syntaxType)==="hash";if(e==="hack"){if(S.has("placeholders"))throw Error("Cannot combine placeholders plugin and Hack-style pipes.");if(S.has("v8intrinsic"))throw Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let zZ=S.get("pipelineOperator").topicToken;if(!U0.includes(zZ)){let FZ=U0.map((_Z)=>`"${_Z}"`).join(", ");throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${FZ}.`)}if(zZ==="#"&&WZ)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",S.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&WZ)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",S.get("recordAndTuple")])}\`.`)}if(S.has("moduleAttributes")){if(S.has("deprecatedImportAssert")||S.has("importAssertions"))throw Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(S.get("moduleAttributes").version!=="may-2020")throw Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(S.has("importAssertions")&&S.has("deprecatedImportAssert"))throw Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!S.has("deprecatedImportAssert")&&S.has("importAttributes")&&S.get("importAttributes").deprecatedAssertSyntax&&S.set("deprecatedImportAssert",{}),S.has("recordAndTuple")){let e=S.get("recordAndTuple").syntaxType;if(e!=null){let WZ=["hash","bar"];if(!WZ.includes(e))throw Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+WZ.map((zZ)=>`'${zZ}'`).join(", "))}}if(S.has("asyncDoExpressions")&&!S.has("doExpressions")){let e=Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(S.has("optionalChainingAssign")&&S.get("optionalChainingAssign").version!=="2023-07")throw Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")})(L),B=function(S){let x=[];for(let zZ of R5)S.has(zZ)&&x.push(zZ);let e=x.join("|"),WZ=M5.get(e);if(!WZ){WZ=x5;for(let zZ of x)WZ=Z5[zZ](WZ);M5.set(e,WZ)}return WZ}(L)}return new B(H,K,L)}let M5=new Map;X.parse=function(H,K){var B;if(((B=K)==null?void 0:B.sourceType)!=="unambiguous")return R0(K,H).parse();K=Object.assign({},K);try{K.sourceType="module";let L=R0(K,H),S=L.parse();if(L.sawUnambiguousESM)return S;if(L.ambiguousScriptDifferentAst)try{return K.sourceType="script",R0(K,H).parse()}catch(x){}else S.program.sourceType="script";return S}catch(L){try{return K.sourceType="script",R0(K,H).parse()}catch(S){}throw L}},X.parseExpression=function(H,K){let B=R0(K,H);return B.options.strictMode&&(B.state.strict=!0),B.getExpression()},X.tokTypes=l5},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),j=$("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),O=$("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),Z=$("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");X.default=(0,Y.declare)((Q,R)=>{Q.assertVersion(7);var{legacy:N}=R;let{version:U}=R;if(N||U==="legacy")return{name:"proposal-decorators",inherits:j.default,visitor:Z.default};if(U&&U!=="2018-09"&&U!=="2021-12"&&U!=="2022-03"&&U!=="2023-01"&&U!=="2023-05"&&U!=="2023-11")throw Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return Q.assertVersion("^7.0.2"),(0,O.createClassFeaturePlugin)({name:"proposal-decorators",api:Q,feature:O.FEATURES.decorators,inherits:j.default,decoratorVersion:U})})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");let j=Y.template.statement(`
|
|
347
|
+
`):L=String.fromCharCode(B),++this.state.curLine,this.state.lineStart=this.state.pos,L}jsxReadString(K){let B="",L=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(A.UnterminatedString,this.state.startLoc);let S=this.input.charCodeAt(this.state.pos);if(S===K)break;S===38?(B+=this.input.slice(L,this.state.pos),B+=this.jsxReadEntity(),L=this.state.pos):pZ(S)?(B+=this.input.slice(L,this.state.pos),B+=this.jsxReadNewLine(!1),L=this.state.pos):++this.state.pos}B+=this.input.slice(L,this.state.pos++),this.finishToken(134,B)}jsxReadEntity(){let K=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let B=10;this.codePointAtPos(this.state.pos)===120&&(B=16,++this.state.pos);let L=this.readInt(B,void 0,!1,"bail");if(L!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(L)}else{let B=0,L=!1;for(;B++<10&&this.state.pos<this.length&&!(L=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(L){let S=this.input.slice(K,this.state.pos),x=D5[S];if(++this.state.pos,x)return x}}return this.state.pos=K,"&"}jsxReadWord(){let K,B=this.state.pos;do K=this.input.charCodeAt(++this.state.pos);while(TZ(K)||K===45);this.finishToken(141,this.input.slice(B,this.state.pos))}jsxParseIdentifier(){let K=this.startNode();return this.match(141)?K.name=this.state.value:GZ(this.state.type)?K.name=AZ(this.state.type):this.unexpected(),this.next(),this.finishNode(K,"JSXIdentifier")}jsxParseNamespacedName(){let K=this.state.startLoc,B=this.jsxParseIdentifier();if(!this.eat(14))return B;let L=this.startNodeAt(K);return L.namespace=B,L.name=this.jsxParseIdentifier(),this.finishNode(L,"JSXNamespacedName")}jsxParseElementName(){let K=this.state.startLoc,B=this.jsxParseNamespacedName();if(B.type==="JSXNamespacedName")return B;for(;this.eat(16);){let L=this.startNodeAt(K);L.object=B,L.property=this.jsxParseIdentifier(),B=this.finishNode(L,"JSXMemberExpression")}return B}jsxParseAttributeValue(){let K;switch(this.state.type){case 5:return K=this.startNode(),this.setContext(D.brace),this.next(),K=this.jsxParseExpressionContainer(K,D.j_oTag),K.expression.type==="JSXEmptyExpression"&&this.raise(B5.AttributeIsEmpty,K),K;case 143:case 134:return this.parseExprAtom();default:throw this.raise(B5.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let K=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(K,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(K){return this.next(),K.expression=this.parseExpression(),this.setContext(D.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXSpreadChild")}jsxParseExpressionContainer(K,B){if(this.match(8))K.expression=this.jsxParseEmptyExpression();else{let L=this.parseExpression();K.expression=L}return this.setContext(B),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXExpressionContainer")}jsxParseAttribute(){let K=this.startNode();return this.match(5)?(this.setContext(D.brace),this.next(),this.expect(21),K.argument=this.parseMaybeAssignAllowIn(),this.setContext(D.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(K,"JSXSpreadAttribute")):(K.name=this.jsxParseNamespacedName(),K.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(K,"JSXAttribute"))}jsxParseOpeningElementAt(K){let B=this.startNodeAt(K);return this.eat(144)?this.finishNode(B,"JSXOpeningFragment"):(B.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(B))}jsxParseOpeningElementAfterName(K){let B=[];for(;!this.match(56)&&!this.match(144);)B.push(this.jsxParseAttribute());return K.attributes=B,K.selfClosing=this.eat(56),this.expect(144),this.finishNode(K,"JSXOpeningElement")}jsxParseClosingElementAt(K){let B=this.startNodeAt(K);return this.eat(144)?this.finishNode(B,"JSXClosingFragment"):(B.name=this.jsxParseElementName(),this.expect(144),this.finishNode(B,"JSXClosingElement"))}jsxParseElementAt(K){let B=this.startNodeAt(K),L=[],S=this.jsxParseOpeningElementAt(K),x=null;if(!S.selfClosing){Z:for(;;)switch(this.state.type){case 143:if(K=this.state.startLoc,this.next(),this.eat(56)){x=this.jsxParseClosingElementAt(K);break Z}L.push(this.jsxParseElementAt(K));break;case 142:L.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let e=this.startNode();this.setContext(D.brace),this.next(),this.match(21)?L.push(this.jsxParseSpreadChild(e)):L.push(this.jsxParseExpressionContainer(e,D.j_expr));break}default:this.unexpected()}H5(S)&&!H5(x)&&x!==null?this.raise(B5.MissingClosingTagFragment,x):!H5(S)&&H5(x)?this.raise(B5.MissingClosingTagElement,x,{openingTagName:iZ(S.name)}):H5(S)||H5(x)||iZ(x.name)!==iZ(S.name)&&this.raise(B5.MissingClosingTagElement,x,{openingTagName:iZ(S.name)})}if(H5(S)?(B.openingFragment=S,B.closingFragment=x):(B.openingElement=S,B.closingElement=x),B.children=L,this.match(47))throw this.raise(B5.UnwrappedAdjacentJSXElements,this.state.startLoc);return H5(S)?this.finishNode(B,"JSXFragment"):this.finishNode(B,"JSXElement")}jsxParseElement(){let K=this.state.startLoc;return this.next(),this.jsxParseElementAt(K)}setContext(K){let{context:B}=this.state;B[B.length-1]=K}parseExprAtom(K){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(K)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(K){let B=this.curContext();if(B!==D.j_expr){if(B===D.j_oTag||B===D.j_cTag){if(c(K))return void this.jsxReadWord();if(K===62)return++this.state.pos,void this.finishToken(144);if((K===34||K===39)&&B===D.j_oTag)return void this.jsxReadString(K)}if(K===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(K)}else this.jsxReadToken()}updateContext(K){let{context:B,type:L}=this.state;if(L===56&&K===143)B.splice(-2,2,D.j_cTag),this.state.canStartJSXElement=!1;else if(L===143)B.push(D.j_oTag);else if(L===144){let S=B[B.length-1];S===D.j_oTag&&K===56||S===D.j_cTag?(B.pop(),this.state.canStartJSXElement=B[B.length-1]===D.j_expr):(this.setContext(D.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=g[L]}},flow:(H)=>class extends H{constructor(...K){super(...K),this.flowPragma=void 0}getScopeHandler(){return lZ}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(K,B){K!==134&&K!==13&&K!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(K,B)}addComment(K){if(this.flowPragma===void 0){let B=U5.exec(K.value);if(B)if(B[1]==="flow")this.flowPragma="flow";else{if(B[1]!=="noflow")throw Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(K)}flowParseTypeInitialiser(K){let B=this.state.inType;this.state.inType=!0,this.expect(K||14);let L=this.flowParseType();return this.state.inType=B,L}flowParsePredicate(){let K=this.startNode(),B=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>B.index+1&&this.raise(F0.UnexpectedSpaceBetweenModuloChecks,B),this.eat(10)?(K.value=super.parseExpression(),this.expect(11),this.finishNode(K,"DeclaredPredicate")):this.finishNode(K,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let K=this.state.inType;this.state.inType=!0,this.expect(14);let B=null,L=null;return this.match(54)?(this.state.inType=K,L=this.flowParsePredicate()):(B=this.flowParseType(),this.state.inType=K,this.match(54)&&(L=this.flowParsePredicate())),[B,L]}flowParseDeclareClass(K){return this.next(),this.flowParseInterfaceish(K,!0),this.finishNode(K,"DeclareClass")}flowParseDeclareFunction(K){this.next();let B=K.id=this.parseIdentifier(),L=this.startNode(),S=this.startNode();this.match(47)?L.typeParameters=this.flowParseTypeParameterDeclaration():L.typeParameters=null,this.expect(10);let x=this.flowParseFunctionTypeParams();return L.params=x.params,L.rest=x.rest,L.this=x._this,this.expect(11),[L.returnType,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),S.typeAnnotation=this.finishNode(L,"FunctionTypeAnnotation"),B.typeAnnotation=this.finishNode(S,"TypeAnnotation"),this.resetEndLocation(B),this.semicolon(),this.scope.declareName(K.id.name,2048,K.id.loc.start),this.finishNode(K,"DeclareFunction")}flowParseDeclare(K,B){return this.match(80)?this.flowParseDeclareClass(K):this.match(68)?this.flowParseDeclareFunction(K):this.match(74)?this.flowParseDeclareVariable(K):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(K):(B&&this.raise(F0.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(K)):this.isContextual(130)?this.flowParseDeclareTypeAlias(K):this.isContextual(131)?this.flowParseDeclareOpaqueType(K):this.isContextual(129)?this.flowParseDeclareInterface(K):this.match(82)?this.flowParseDeclareExportDeclaration(K,B):void this.unexpected()}flowParseDeclareVariable(K){return this.next(),K.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(K.id.name,5,K.id.loc.start),this.semicolon(),this.finishNode(K,"DeclareVariable")}flowParseDeclareModule(K){this.scope.enter(0),this.match(134)?K.id=super.parseExprAtom():K.id=this.parseIdentifier();let B=K.body=this.startNode(),L=B.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(F0.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(e)):(this.expectContextual(125,F0.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),L.push(e)}this.scope.exit(),this.expect(8),this.finishNode(B,"BlockStatement");let S=null,x=!1;return L.forEach((e)=>{!function(WZ){return WZ.type==="DeclareExportAllDeclaration"||WZ.type==="DeclareExportDeclaration"&&(!WZ.declaration||WZ.declaration.type!=="TypeAlias"&&WZ.declaration.type!=="InterfaceDeclaration")}(e)?e.type==="DeclareModuleExports"&&(x&&this.raise(F0.DuplicateDeclareModuleExports,e),S==="ES"&&this.raise(F0.AmbiguousDeclareModuleKind,e),S="CommonJS",x=!0):(S==="CommonJS"&&this.raise(F0.AmbiguousDeclareModuleKind,e),S="ES")}),K.kind=S||"CommonJS",this.finishNode(K,"DeclareModule")}flowParseDeclareExportDeclaration(K,B){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?K.declaration=this.flowParseDeclare(this.startNode()):(K.declaration=this.flowParseType(),this.semicolon()),K.default=!0,this.finishNode(K,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!B){let L=this.state.value;throw this.raise(F0.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:L,suggestion:A5[L]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(K.declaration=this.flowParseDeclare(this.startNode()),K.default=!1,this.finishNode(K,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((K=this.parseExport(K,null)).type==="ExportNamedDeclaration"&&(K.type="ExportDeclaration",K.default=!1,delete K.exportKind),K.type="Declare"+K.type,K):void this.unexpected()}flowParseDeclareModuleExports(K){return this.next(),this.expectContextual(111),K.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(K,"DeclareModuleExports")}flowParseDeclareTypeAlias(K){this.next();let B=this.flowParseTypeAlias(K);return B.type="DeclareTypeAlias",B}flowParseDeclareOpaqueType(K){this.next();let B=this.flowParseOpaqueType(K,!0);return B.type="DeclareOpaqueType",B}flowParseDeclareInterface(K){return this.next(),this.flowParseInterfaceish(K,!1),this.finishNode(K,"DeclareInterface")}flowParseInterfaceish(K,B){if(K.id=this.flowParseRestrictedIdentifier(!B,!0),this.scope.declareName(K.id.name,B?17:8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.extends=[],this.eat(81))do K.extends.push(this.flowParseInterfaceExtends());while(!B&&this.eat(12));if(B){if(K.implements=[],K.mixins=[],this.eatContextual(117))do K.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do K.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}K.body=this.flowParseObjectType({allowStatic:B,allowExact:!1,allowSpread:!1,allowProto:B,allowInexact:!1})}flowParseInterfaceExtends(){let K=this.startNode();return K.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?K.typeParameters=this.flowParseTypeParameterInstantiation():K.typeParameters=null,this.finishNode(K,"InterfaceExtends")}flowParseInterface(K){return this.flowParseInterfaceish(K,!1),this.finishNode(K,"InterfaceDeclaration")}checkNotUnderscore(K){K==="_"&&this.raise(F0.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(K,B,L){b5.has(K)&&this.raise(L?F0.AssignReservedType:F0.UnexpectedReservedType,B,{reservedType:K})}flowParseRestrictedIdentifier(K,B){return this.checkReservedType(this.state.value,this.state.startLoc,B),this.parseIdentifier(K)}flowParseTypeAlias(K){return K.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(K.id.name,8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(K,"TypeAlias")}flowParseOpaqueType(K,B){return this.expectContextual(130),K.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(K.id.name,8201,K.id.loc.start),this.match(47)?K.typeParameters=this.flowParseTypeParameterDeclaration():K.typeParameters=null,K.supertype=null,this.match(14)&&(K.supertype=this.flowParseTypeInitialiser(14)),K.impltype=null,B||(K.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(K,"OpaqueType")}flowParseTypeParameter(K=!1){let B=this.state.startLoc,L=this.startNode(),S=this.flowParseVariance(),x=this.flowParseTypeAnnotatableIdentifier();return L.name=x.name,L.variance=S,L.bound=x.typeAnnotation,this.match(29)?(this.eat(29),L.default=this.flowParseType()):K&&this.raise(F0.MissingTypeParamDefault,B),this.finishNode(L,"TypeParameter")}flowParseTypeParameterDeclaration(){let K=this.state.inType,B=this.startNode();B.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let L=!1;do{let S=this.flowParseTypeParameter(L);B.params.push(S),S.default&&(L=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=K,this.finishNode(B,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let K=this.startNode(),B=this.state.inType;K.params=[],this.state.inType=!0,this.expect(47);let L=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)K.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=L,this.expect(48),this.state.inType=B,this.finishNode(K,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let K=this.startNode(),B=this.state.inType;for(K.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)K.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=B,this.finishNode(K,"TypeParameterInstantiation")}flowParseInterfaceType(){let K=this.startNode();if(this.expectContextual(129),K.extends=[],this.eat(81))do K.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return K.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(K,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(K,B,L){return K.static=B,this.lookahead().type===14?(K.id=this.flowParseObjectPropertyKey(),K.key=this.flowParseTypeInitialiser()):(K.id=null,K.key=this.flowParseType()),this.expect(3),K.value=this.flowParseTypeInitialiser(),K.variance=L,this.finishNode(K,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(K,B){return K.static=B,K.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(K.method=!0,K.optional=!1,K.value=this.flowParseObjectTypeMethodish(this.startNodeAt(K.loc.start))):(K.method=!1,this.eat(17)&&(K.optional=!0),K.value=this.flowParseTypeInitialiser()),this.finishNode(K,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(K){for(K.params=[],K.rest=null,K.typeParameters=null,K.this=null,this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(K.this=this.flowParseFunctionTypeParam(!0),K.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)K.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(K.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),K.returnType=this.flowParseTypeInitialiser(),this.finishNode(K,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(K,B){let L=this.startNode();return K.static=B,K.value=this.flowParseObjectTypeMethodish(L),this.finishNode(K,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:K,allowExact:B,allowSpread:L,allowProto:S,allowInexact:x}){let e=this.state.inType;this.state.inType=!0;let WZ=this.startNode(),zZ,FZ;WZ.callProperties=[],WZ.properties=[],WZ.indexers=[],WZ.internalSlots=[];let _Z=!1;for(B&&this.match(6)?(this.expect(6),zZ=9,FZ=!0):(this.expect(5),zZ=8,FZ=!1),WZ.exact=FZ;!this.match(zZ);){let Z0=!1,K0=null,D0=null,r0=this.startNode();if(S&&this.isContextual(118)){let k0=this.lookahead();k0.type!==14&&k0.type!==17&&(this.next(),K0=this.state.startLoc,K=!1)}if(K&&this.isContextual(106)){let k0=this.lookahead();k0.type!==14&&k0.type!==17&&(this.next(),Z0=!0)}let S0=this.flowParseVariance();if(this.eat(0))K0!=null&&this.unexpected(K0),this.eat(0)?(S0&&this.unexpected(S0.loc.start),WZ.internalSlots.push(this.flowParseObjectTypeInternalSlot(r0,Z0))):WZ.indexers.push(this.flowParseObjectTypeIndexer(r0,Z0,S0));else if(this.match(10)||this.match(47))K0!=null&&this.unexpected(K0),S0&&this.unexpected(S0.loc.start),WZ.callProperties.push(this.flowParseObjectTypeCallProperty(r0,Z0));else{let k0="init";if(this.isContextual(99)||this.isContextual(104))i(this.lookahead().type)&&(k0=this.state.value,this.next());let Q5=this.flowParseObjectTypeProperty(r0,Z0,K0,S0,k0,L,x!=null?x:!FZ);Q5===null?(_Z=!0,D0=this.state.lastTokStartLoc):WZ.properties.push(Q5)}this.flowObjectTypeSemicolon(),!D0||this.match(8)||this.match(9)||this.raise(F0.UnexpectedExplicitInexactInObject,D0)}this.expect(zZ),L&&(WZ.inexact=_Z);let oZ=this.finishNode(WZ,"ObjectTypeAnnotation");return this.state.inType=e,oZ}flowParseObjectTypeProperty(K,B,L,S,x,e,WZ){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(e?WZ||this.raise(F0.InexactInsideExact,this.state.lastTokStartLoc):this.raise(F0.InexactInsideNonObject,this.state.lastTokStartLoc),S&&this.raise(F0.InexactVariance,S),null):(e||this.raise(F0.UnexpectedSpreadType,this.state.lastTokStartLoc),L!=null&&this.unexpected(L),S&&this.raise(F0.SpreadVariance,S),K.argument=this.flowParseType(),this.finishNode(K,"ObjectTypeSpreadProperty"));{K.key=this.flowParseObjectPropertyKey(),K.static=B,K.proto=L!=null,K.kind=x;let zZ=!1;return this.match(47)||this.match(10)?(K.method=!0,L!=null&&this.unexpected(L),S&&this.unexpected(S.loc.start),K.value=this.flowParseObjectTypeMethodish(this.startNodeAt(K.loc.start)),x!=="get"&&x!=="set"||this.flowCheckGetterSetterParams(K),!e&&K.key.name==="constructor"&&K.value.this&&this.raise(F0.ThisParamBannedInConstructor,K.value.this)):(x!=="init"&&this.unexpected(),K.method=!1,this.eat(17)&&(zZ=!0),K.value=this.flowParseTypeInitialiser(),K.variance=S),K.optional=zZ,this.finishNode(K,"ObjectTypeProperty")}}flowCheckGetterSetterParams(K){let B=K.kind==="get"?0:1,L=K.value.params.length+(K.value.rest?1:0);K.value.this&&this.raise(K.kind==="get"?F0.GetterMayNotHaveThisParam:F0.SetterMayNotHaveThisParam,K.value.this),L!==B&&this.raise(K.kind==="get"?A.BadGetterArity:A.BadSetterArity,K),K.kind==="set"&&K.value.rest&&this.raise(A.BadSetterRestParameter,K)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(K,B){K!=null||(K=this.state.startLoc);let L=B||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let S=this.startNodeAt(K);S.qualification=L,S.id=this.flowParseRestrictedIdentifier(!0),L=this.finishNode(S,"QualifiedTypeIdentifier")}return L}flowParseGenericType(K,B){let L=this.startNodeAt(K);return L.typeParameters=null,L.id=this.flowParseQualifiedTypeIdentifier(K,B),this.match(47)&&(L.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(L,"GenericTypeAnnotation")}flowParseTypeofType(){let K=this.startNode();return this.expect(87),K.argument=this.flowParsePrimaryType(),this.finishNode(K,"TypeofTypeAnnotation")}flowParseTupleType(){let K=this.startNode();for(K.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(K.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(K,"TupleTypeAnnotation")}flowParseFunctionTypeParam(K){let B=null,L=!1,S=null,x=this.startNode(),e=this.lookahead(),WZ=this.state.type===78;return e.type===14||e.type===17?(WZ&&!K&&this.raise(F0.ThisParamMustBeFirst,x),B=this.parseIdentifier(WZ),this.eat(17)&&(L=!0,WZ&&this.raise(F0.ThisParamMayNotBeOptional,x)),S=this.flowParseTypeInitialiser()):S=this.flowParseType(),x.name=B,x.optional=L,x.typeAnnotation=S,this.finishNode(x,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(K){let B=this.startNodeAt(K.loc.start);return B.name=null,B.optional=!1,B.typeAnnotation=K,this.finishNode(B,"FunctionTypeParam")}flowParseFunctionTypeParams(K=[]){let B=null,L=null;for(this.match(78)&&(L=this.flowParseFunctionTypeParam(!0),L.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)K.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(B=this.flowParseFunctionTypeParam(!1)),{params:K,rest:B,_this:L}}flowIdentToTypeAnnotation(K,B,L){switch(L.name){case"any":return this.finishNode(B,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(B,"BooleanTypeAnnotation");case"mixed":return this.finishNode(B,"MixedTypeAnnotation");case"empty":return this.finishNode(B,"EmptyTypeAnnotation");case"number":return this.finishNode(B,"NumberTypeAnnotation");case"string":return this.finishNode(B,"StringTypeAnnotation");case"symbol":return this.finishNode(B,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(L.name),this.flowParseGenericType(K,L)}}flowParsePrimaryType(){let K=this.state.startLoc,B=this.startNode(),L,S,x=!1,e=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,S=this.flowParseTupleType(),this.state.noAnonFunctionType=e,S;case 47:{let WZ=this.startNode();return WZ.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),L=this.flowParseFunctionTypeParams(),WZ.params=L.params,WZ.rest=L.rest,WZ.this=L._this,this.expect(11),this.expect(19),WZ.returnType=this.flowParseType(),this.finishNode(WZ,"FunctionTypeAnnotation")}case 10:{let WZ=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(b(this.state.type)||this.match(78)){let zZ=this.lookahead().type;x=zZ!==17&&zZ!==14}else x=!0;if(x){if(this.state.noAnonFunctionType=!1,S=this.flowParseType(),this.state.noAnonFunctionType=e,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),S;this.eat(12)}return L=S?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(S)]):this.flowParseFunctionTypeParams(),WZ.params=L.params,WZ.rest=L.rest,WZ.this=L._this,this.expect(11),this.expect(19),WZ.returnType=this.flowParseType(),WZ.typeParameters=null,this.finishNode(WZ,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return B.value=this.match(85),this.next(),this.finishNode(B,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",B);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",B);throw this.raise(F0.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(B,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(B,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(B,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(B,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(GZ(this.state.type)){let WZ=AZ(this.state.type);return this.next(),super.createIdentifier(B,WZ)}if(b(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(K,B,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let K=this.state.startLoc,B=this.flowParsePrimaryType(),L=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let S=this.startNodeAt(K),x=this.eat(18);L=L||x,this.expect(0),!x&&this.match(3)?(S.elementType=B,this.next(),B=this.finishNode(S,"ArrayTypeAnnotation")):(S.objectType=B,S.indexType=this.flowParseType(),this.expect(3),L?(S.optional=x,B=this.finishNode(S,"OptionalIndexedAccessType")):B=this.finishNode(S,"IndexedAccessType"))}return B}flowParsePrefixType(){let K=this.startNode();return this.eat(17)?(K.typeAnnotation=this.flowParsePrefixType(),this.finishNode(K,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let K=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let B=this.startNodeAt(K.loc.start);return B.params=[this.reinterpretTypeAsFunctionTypeParam(K)],B.rest=null,B.this=null,B.returnType=this.flowParseType(),B.typeParameters=null,this.finishNode(B,"FunctionTypeAnnotation")}return K}flowParseIntersectionType(){let K=this.startNode();this.eat(45);let B=this.flowParseAnonFunctionWithoutParens();for(K.types=[B];this.eat(45);)K.types.push(this.flowParseAnonFunctionWithoutParens());return K.types.length===1?B:this.finishNode(K,"IntersectionTypeAnnotation")}flowParseUnionType(){let K=this.startNode();this.eat(43);let B=this.flowParseIntersectionType();for(K.types=[B];this.eat(43);)K.types.push(this.flowParseIntersectionType());return K.types.length===1?B:this.finishNode(K,"UnionTypeAnnotation")}flowParseType(){let K=this.state.inType;this.state.inType=!0;let B=this.flowParseUnionType();return this.state.inType=K,B}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let K=this.state.startLoc,B=this.parseIdentifier();return this.flowParseGenericType(K,B)}return this.flowParseType()}flowParseTypeAnnotation(){let K=this.startNode();return K.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(K,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(K){let B=K?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(B.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(B)),B}typeCastToParameter(K){return K.expression.typeAnnotation=K.typeAnnotation,this.resetEndLocation(K.expression,K.typeAnnotation.loc.end),K.expression}flowParseVariance(){let K=null;return this.match(53)?(K=this.startNode(),this.state.value==="+"?K.kind="plus":K.kind="minus",this.next(),this.finishNode(K,"Variance")):K}parseFunctionBody(K,B,L=!1){B?this.forwardNoArrowParamsConversionAt(K,()=>super.parseFunctionBody(K,!0,L)):super.parseFunctionBody(K,!1,L)}parseFunctionBodyAndFinish(K,B,L=!1){if(this.match(14)){let S=this.startNode();[S.typeAnnotation,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),K.returnType=S.typeAnnotation?this.finishNode(S,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(K,B,L)}parseStatementLike(K){if(this.state.strict&&this.isContextual(129)){if(p(this.lookahead().type)){let L=this.startNode();return this.next(),this.flowParseInterface(L)}}else if(this.isContextual(126)){let L=this.startNode();return this.next(),this.flowParseEnumDeclaration(L)}let B=super.parseStatementLike(K);return this.flowPragma!==void 0||this.isValidDirective(B)||(this.flowPragma=null),B}parseExpressionStatement(K,B,L){if(B.type==="Identifier"){if(B.name==="declare"){if(this.match(80)||b(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(K)}else if(b(this.state.type)){if(B.name==="interface")return this.flowParseInterface(K);if(B.name==="type")return this.flowParseTypeAlias(K);if(B.name==="opaque")return this.flowParseOpaqueType(K,!1)}}return super.parseExpressionStatement(K,B,L)}shouldParseExportDeclaration(){let{type:K}=this.state;return K===126||HZ(K)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:K}=this.state;return K===126||HZ(K)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let K=this.startNode();return this.next(),this.flowParseEnumDeclaration(K)}return super.parseExportDefaultExpression()}parseConditional(K,B,L){if(!this.match(17))return K;if(this.state.maybeInArrowParameters){let oZ=this.lookaheadCharCode();if(oZ===44||oZ===61||oZ===58||oZ===41)return this.setOptionalParametersError(L),K}this.expect(17);let S=this.state.clone(),x=this.state.noArrowAt,e=this.startNodeAt(B),{consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent(),[FZ,_Z]=this.getArrowLikeExpressions(WZ);if(zZ||_Z.length>0){let oZ=[...x];if(_Z.length>0){this.state=S,this.state.noArrowAt=oZ;for(let Z0=0;Z0<_Z.length;Z0++)oZ.push(_Z[Z0].start);({consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent()),[FZ,_Z]=this.getArrowLikeExpressions(WZ)}zZ&&FZ.length>1&&this.raise(F0.AmbiguousConditionalArrow,S.startLoc),zZ&&FZ.length===1&&(this.state=S,oZ.push(FZ[0].start),this.state.noArrowAt=oZ,{consequent:WZ,failed:zZ}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(WZ,!0),this.state.noArrowAt=x,this.expect(14),e.test=K,e.consequent=WZ,e.alternate=this.forwardNoArrowParamsConversionAt(e,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(e,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let K=this.parseMaybeAssignAllowIn(),B=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:K,failed:B}}getArrowLikeExpressions(K,B){let L=[K],S=[];for(;L.length!==0;){let x=L.pop();x.type==="ArrowFunctionExpression"&&x.body.type!=="BlockStatement"?(x.typeParameters||!x.returnType?this.finishArrowValidation(x):S.push(x),L.push(x.body)):x.type==="ConditionalExpression"&&(L.push(x.consequent),L.push(x.alternate))}return B?(S.forEach((x)=>this.finishArrowValidation(x)),[S,[]]):function(x,e){let WZ=[],zZ=[];for(let FZ=0;FZ<x.length;FZ++)(e(x[FZ],FZ,x)?WZ:zZ).push(x[FZ]);return[WZ,zZ]}(S,(x)=>x.params.every((e)=>this.isAssignable(e,!0)))}finishArrowValidation(K){var B;this.toAssignableList(K.params,(B=K.extra)==null?void 0:B.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(K,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(K,B){let L;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),L=B(),this.state.noArrowParamsConversionAt.pop()):L=B(),L}parseParenItem(K,B){let L=super.parseParenItem(K,B);if(this.eat(17)&&(L.optional=!0,this.resetEndLocation(K)),this.match(14)){let S=this.startNodeAt(B);return S.expression=L,S.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(S,"TypeCastExpression")}return L}assertModuleNodeAllowed(K){K.type==="ImportDeclaration"&&(K.importKind==="type"||K.importKind==="typeof")||K.type==="ExportNamedDeclaration"&&K.exportKind==="type"||K.type==="ExportAllDeclaration"&&K.exportKind==="type"||super.assertModuleNodeAllowed(K)}parseExportDeclaration(K){if(this.isContextual(130)){K.exportKind="type";let B=this.startNode();return this.next(),this.match(5)?(K.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(K),null):this.flowParseTypeAlias(B)}if(this.isContextual(131)){K.exportKind="type";let B=this.startNode();return this.next(),this.flowParseOpaqueType(B,!1)}if(this.isContextual(129)){K.exportKind="type";let B=this.startNode();return this.next(),this.flowParseInterface(B)}if(this.isContextual(126)){K.exportKind="value";let B=this.startNode();return this.next(),this.flowParseEnumDeclaration(B)}return super.parseExportDeclaration(K)}eatExportStar(K){return!!super.eatExportStar(K)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(K.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(K){let{startLoc:B}=this.state,L=super.maybeParseExportNamespaceSpecifier(K);return L&&K.exportKind==="type"&&this.unexpected(B),L}parseClassId(K,B,L){super.parseClassId(K,B,L),this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(K,B,L){let{startLoc:S}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(K,B))return;B.declare=!0}super.parseClassMember(K,B,L),B.declare&&(B.type!=="ClassProperty"&&B.type!=="ClassPrivateProperty"&&B.type!=="PropertyDefinition"?this.raise(F0.DeclareClassElement,S):B.value&&this.raise(F0.DeclareClassFieldInitializer,B.value))}isIterator(K){return K==="iterator"||K==="asyncIterator"}readIterator(){let K=super.readWord1(),B="@@"+K;this.isIterator(K)&&this.state.inType||this.raise(A.InvalidIdentifier,this.state.curPosition(),{identifierName:B}),this.finishToken(132,B)}getTokenFromCode(K){let B=this.input.charCodeAt(this.state.pos+1);K===123&&B===124?this.finishOp(6,2):!this.state.inType||K!==62&&K!==60?this.state.inType&&K===63?B===46?this.finishOp(18,2):this.finishOp(17,1):!function(L,S,x){return L===64&&S===64&&c(x)}(K,B,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(K):(this.state.pos+=2,this.readIterator()):this.finishOp(K===62?48:47,1)}isAssignable(K,B){return K.type==="TypeCastExpression"?this.isAssignable(K.expression,B):super.isAssignable(K,B)}toAssignable(K,B=!1){B||K.type!=="AssignmentExpression"||K.left.type!=="TypeCastExpression"||(K.left=this.typeCastToParameter(K.left)),super.toAssignable(K,B)}toAssignableList(K,B,L){for(let S=0;S<K.length;S++){let x=K[S];(x==null?void 0:x.type)==="TypeCastExpression"&&(K[S]=this.typeCastToParameter(x))}super.toAssignableList(K,B,L)}toReferencedList(K,B){for(let S=0;S<K.length;S++){var L;let x=K[S];!x||x.type!=="TypeCastExpression"||(L=x.extra)!=null&&L.parenthesized||!(K.length>1)&&B||this.raise(F0.TypeCastInPattern,x.typeAnnotation)}return K}parseArrayLike(K,B,L,S){let x=super.parseArrayLike(K,B,L,S);return B&&!this.state.maybeInArrowParameters&&this.toReferencedList(x.elements),x}isValidLVal(K,B,L){return K==="TypeCastExpression"||super.isValidLVal(K,B,L)}parseClassProperty(K){return this.match(14)&&(K.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(K)}parseClassPrivateProperty(K){return this.match(14)&&(K.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(K)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(K){return!this.match(14)&&super.isNonstaticConstructor(K)}pushClassMethod(K,B,L,S,x,e){if(B.variance&&this.unexpected(B.variance.loc.start),delete B.variance,this.match(47)&&(B.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(K,B,L,S,x,e),B.params&&x){let WZ=B.params;WZ.length>0&&this.isThisParam(WZ[0])&&this.raise(F0.ThisParamBannedInConstructor,B)}else if(B.type==="MethodDefinition"&&x&&B.value.params){let WZ=B.value.params;WZ.length>0&&this.isThisParam(WZ[0])&&this.raise(F0.ThisParamBannedInConstructor,B)}}pushClassPrivateMethod(K,B,L,S){B.variance&&this.unexpected(B.variance.loc.start),delete B.variance,this.match(47)&&(B.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(K,B,L,S)}parseClassSuper(K){if(super.parseClassSuper(K),K.superClass&&this.match(47)&&(K.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let B=K.implements=[];do{let L=this.startNode();L.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?L.typeParameters=this.flowParseTypeParameterInstantiation():L.typeParameters=null,B.push(this.finishNode(L,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(K){super.checkGetterSetterParams(K);let B=this.getObjectOrClassMethodParams(K);if(B.length>0){let L=B[0];this.isThisParam(L)&&K.kind==="get"?this.raise(F0.GetterMayNotHaveThisParam,L):this.isThisParam(L)&&this.raise(F0.SetterMayNotHaveThisParam,L)}}parsePropertyNamePrefixOperator(K){K.variance=this.flowParseVariance()}parseObjPropValue(K,B,L,S,x,e,WZ){let zZ;K.variance&&this.unexpected(K.variance.loc.start),delete K.variance,this.match(47)&&!e&&(zZ=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let FZ=super.parseObjPropValue(K,B,L,S,x,e,WZ);return zZ&&((FZ.value||FZ).typeParameters=zZ),FZ}parseFunctionParamType(K){return this.eat(17)&&(K.type!=="Identifier"&&this.raise(F0.PatternIsOptional,K),this.isThisParam(K)&&this.raise(F0.ThisParamMayNotBeOptional,K),K.optional=!0),this.match(14)?K.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(K)&&this.raise(F0.ThisParamAnnotationRequired,K),this.match(29)&&this.isThisParam(K)&&this.raise(F0.ThisParamNoDefault,K),this.resetEndLocation(K),K}parseMaybeDefault(K,B){let L=super.parseMaybeDefault(K,B);return L.type==="AssignmentPattern"&&L.typeAnnotation&&L.right.start<L.typeAnnotation.start&&this.raise(F0.TypeBeforeInitializer,L.typeAnnotation),L}checkImportReflection(K){super.checkImportReflection(K),K.module&&K.importKind!=="value"&&this.raise(F0.ImportReflectionHasImportType,K.specifiers[0].loc.start)}parseImportSpecifierLocal(K,B,L){B.local=w5(K)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),K.specifiers.push(this.finishImportSpecifier(B,L))}isPotentialImportPhase(K){if(super.isPotentialImportPhase(K))return!0;if(this.isContextual(130)){if(!K)return!0;let B=this.lookaheadCharCode();return B===123||B===42}return!K&&this.isContextual(87)}applyImportPhase(K,B,L,S){if(super.applyImportPhase(K,B,L,S),B){if(!L&&this.match(65))return;K.exportKind=L==="type"?L:"value"}else L==="type"&&this.match(55)&&this.unexpected(),K.importKind=L==="type"||L==="typeof"?L:"value"}parseImportSpecifier(K,B,L,S,x){let e=K.imported,WZ=null;e.type==="Identifier"&&(e.name==="type"?WZ="type":e.name==="typeof"&&(WZ="typeof"));let zZ=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let _Z=this.parseIdentifier(!0);WZ===null||p(this.state.type)?(K.imported=e,K.importKind=null,K.local=this.parseIdentifier()):(K.imported=_Z,K.importKind=WZ,K.local=W5(_Z))}else{if(WZ!==null&&p(this.state.type))K.imported=this.parseIdentifier(!0),K.importKind=WZ;else{if(B)throw this.raise(A.ImportBindingIsString,K,{importName:e.value});K.imported=e,K.importKind=null}this.eatContextual(93)?K.local=this.parseIdentifier():(zZ=!0,K.local=W5(K.imported))}let FZ=w5(K);return L&&FZ&&this.raise(F0.ImportTypeShorthandOnlyInPureImport,K),(L||FZ)&&this.checkReservedType(K.local.name,K.local.loc.start,!0),!zZ||L||FZ||this.checkReservedWord(K.local.name,K.loc.start,!0,!0),this.finishImportSpecifier(K,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(K,B){let L=K.kind;L!=="get"&&L!=="set"&&this.match(47)&&(K.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(K,B)}parseVarId(K,B){super.parseVarId(K,B),this.match(14)&&(K.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(K.id))}parseAsyncArrowFromCallExpression(K,B){if(this.match(14)){let L=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,K.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=L}return super.parseAsyncArrowFromCallExpression(K,B)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(K,B){var L;let S,x=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(x=this.state.clone(),S=this.tryParse(()=>super.parseMaybeAssign(K,B),x),!S.error)return S.node;let{context:zZ}=this.state,FZ=zZ[zZ.length-1];FZ!==D.j_oTag&&FZ!==D.j_expr||zZ.pop()}if((L=S)!=null&&L.error||this.match(47)){var e,WZ;let zZ;x=x||this.state.clone();let FZ=this.tryParse((oZ)=>{var Z0;zZ=this.flowParseTypeParameterDeclaration();let K0=this.forwardNoArrowParamsConversionAt(zZ,()=>{let r0=super.parseMaybeAssign(K,B);return this.resetStartLocationFromNode(r0,zZ),r0});(Z0=K0.extra)!=null&&Z0.parenthesized&&oZ();let D0=this.maybeUnwrapTypeCastExpression(K0);return D0.type!=="ArrowFunctionExpression"&&oZ(),D0.typeParameters=zZ,this.resetStartLocationFromNode(D0,zZ),K0},x),_Z=null;if(FZ.node&&this.maybeUnwrapTypeCastExpression(FZ.node).type==="ArrowFunctionExpression"){if(!FZ.error&&!FZ.aborted)return FZ.node.async&&this.raise(F0.UnexpectedTypeParameterBeforeAsyncArrowFunction,zZ),FZ.node;_Z=FZ.node}if((e=S)!=null&&e.node)return this.state=S.failState,S.node;if(_Z)return this.state=FZ.failState,_Z;if((WZ=S)!=null&&WZ.thrown)throw S.error;if(FZ.thrown)throw FZ.error;throw this.raise(F0.UnexpectedTokenAfterTypeParameter,zZ)}return super.parseMaybeAssign(K,B)}parseArrow(K){if(this.match(14)){let B=this.tryParse(()=>{let L=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let S=this.startNode();return[S.typeAnnotation,K.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=L,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),S});if(B.thrown)return null;B.error&&(this.state=B.failState),K.returnType=B.node.typeAnnotation?this.finishNode(B.node,"TypeAnnotation"):null}return super.parseArrow(K)}shouldParseArrow(K){return this.match(14)||super.shouldParseArrow(K)}setArrowFunctionParameters(K,B){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))?K.params=B:super.setArrowFunctionParameters(K,B)}checkParams(K,B,L,S=!0){if(!L||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(K.start))){for(let x=0;x<K.params.length;x++)this.isThisParam(K.params[x])&&x>0&&this.raise(F0.ThisParamMustBeFirst,K.params[x]);super.checkParams(K,B,L,S)}}parseParenAndDistinguishExpression(K){return super.parseParenAndDistinguishExpression(K&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(K,B,L){if(K.type==="Identifier"&&K.name==="async"&&this.state.noArrowAt.includes(B.index)){this.next();let S=this.startNodeAt(B);S.callee=K,S.arguments=super.parseCallExpressionArguments(11),K=this.finishNode(S,"CallExpression")}else if(K.type==="Identifier"&&K.name==="async"&&this.match(47)){let S=this.state.clone(),x=this.tryParse((WZ)=>this.parseAsyncArrowWithTypeParameters(B)||WZ(),S);if(!x.error&&!x.aborted)return x.node;let e=this.tryParse(()=>super.parseSubscripts(K,B,L),S);if(e.node&&!e.error)return e.node;if(x.node)return this.state=x.failState,x.node;if(e.node)return this.state=e.failState,e.node;throw x.error||e.error}return super.parseSubscripts(K,B,L)}parseSubscript(K,B,L,S){if(this.match(18)&&this.isLookaheadToken_lt()){if(S.optionalChainMember=!0,L)return S.stop=!0,K;this.next();let x=this.startNodeAt(B);return x.callee=K,x.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),x.arguments=this.parseCallExpressionArguments(11),x.optional=!0,this.finishCallExpression(x,!0)}if(!L&&this.shouldParseTypes()&&this.match(47)){let x=this.startNodeAt(B);x.callee=K;let e=this.tryParse(()=>(x.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),x.arguments=super.parseCallExpressionArguments(11),S.optionalChainMember&&(x.optional=!1),this.finishCallExpression(x,S.optionalChainMember)));if(e.node)return e.error&&(this.state=e.failState),e.node}return super.parseSubscript(K,B,L,S)}parseNewCallee(K){super.parseNewCallee(K);let B=null;this.shouldParseTypes()&&this.match(47)&&(B=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),K.typeArguments=B}parseAsyncArrowWithTypeParameters(K){let B=this.startNodeAt(K);if(this.parseFunctionParams(B,!1),this.parseArrow(B))return super.parseArrowExpression(B,void 0,!0)}readToken_mult_modulo(K){let B=this.input.charCodeAt(this.state.pos+1);if(K===42&&B===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(K)}readToken_pipe_amp(K){let B=this.input.charCodeAt(this.state.pos+1);K!==124||B!==125?super.readToken_pipe_amp(K):this.finishOp(9,2)}parseTopLevel(K,B){let L=super.parseTopLevel(K,B);return this.state.hasFlowComment&&this.raise(F0.UnterminatedFlowComment,this.state.curPosition()),L}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(F0.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let K=this.skipFlowComment();K&&(this.state.pos+=K,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:K}=this.state,B=2;for(;[32,9].includes(this.input.charCodeAt(K+B));)B++;let L=this.input.charCodeAt(B+K),S=this.input.charCodeAt(B+K+1);return L===58&&S===58?B+2:this.input.slice(B+K,B+K+12)==="flow-include"?B+12:L===58&&S!==58&&B}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(A.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(K,{enumName:B,memberName:L}){this.raise(F0.EnumBooleanMemberNotInitialized,K,{memberName:L,enumName:B})}flowEnumErrorInvalidMemberInitializer(K,B){return this.raise(B.explicitType?B.explicitType==="symbol"?F0.EnumInvalidMemberInitializerSymbolType:F0.EnumInvalidMemberInitializerPrimaryType:F0.EnumInvalidMemberInitializerUnknownType,K,B)}flowEnumErrorNumberMemberNotInitialized(K,B){this.raise(F0.EnumNumberMemberNotInitialized,K,B)}flowEnumErrorStringMemberInconsistentlyInitialized(K,B){this.raise(F0.EnumStringMemberInconsistentlyInitialized,K,B)}flowEnumMemberInit(){let K=this.state.startLoc,B=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let L=this.parseNumericLiteral(this.state.value);return B()?{type:"number",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}case 134:{let L=this.parseStringLiteral(this.state.value);return B()?{type:"string",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}case 85:case 86:{let L=this.parseBooleanLiteral(this.match(85));return B()?{type:"boolean",loc:L.loc.start,value:L}:{type:"invalid",loc:K}}default:return{type:"invalid",loc:K}}}flowEnumMemberRaw(){let K=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:K}}}flowEnumCheckExplicitTypeMismatch(K,B,L){let{explicitType:S}=B;S!==null&&S!==L&&this.flowEnumErrorInvalidMemberInitializer(K,B)}flowEnumMembers({enumName:K,explicitType:B}){let L=new Set,S={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},x=!1;for(;!this.match(8);){if(this.eat(21)){x=!0;break}let e=this.startNode(),{id:WZ,init:zZ}=this.flowEnumMemberRaw(),FZ=WZ.name;if(FZ==="")continue;/^[a-z]/.test(FZ)&&this.raise(F0.EnumInvalidMemberName,WZ,{memberName:FZ,suggestion:FZ[0].toUpperCase()+FZ.slice(1),enumName:K}),L.has(FZ)&&this.raise(F0.EnumDuplicateMemberName,WZ,{memberName:FZ,enumName:K}),L.add(FZ);let _Z={enumName:K,explicitType:B,memberName:FZ};switch(e.id=WZ,zZ.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"boolean"),e.init=zZ.value,S.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"number"),e.init=zZ.value,S.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(zZ.loc,_Z,"string"),e.init=zZ.value,S.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(zZ.loc,_Z);case"none":switch(B){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(zZ.loc,_Z);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(zZ.loc,_Z);break;default:S.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:S,hasUnknownMembers:x}}flowEnumStringMembers(K,B,{enumName:L}){if(K.length===0)return B;if(B.length===0)return K;if(B.length>K.length){for(let S of K)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:L});return B}for(let S of B)this.flowEnumErrorStringMemberInconsistentlyInitialized(S,{enumName:L});return K}flowEnumParseExplicitType({enumName:K}){if(!this.eatContextual(102))return null;if(!b(this.state.type))throw this.raise(F0.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:K});let{value:B}=this.state;return this.next(),B!=="boolean"&&B!=="number"&&B!=="string"&&B!=="symbol"&&this.raise(F0.EnumInvalidExplicitType,this.state.startLoc,{enumName:K,invalidEnumType:B}),B}flowEnumBody(K,B){let L=B.name,S=B.loc.start,x=this.flowEnumParseExplicitType({enumName:L});this.expect(5);let{members:e,hasUnknownMembers:WZ}=this.flowEnumMembers({enumName:L,explicitType:x});switch(K.hasUnknownMembers=WZ,x){case"boolean":return K.explicitType=!0,K.members=e.booleanMembers,this.expect(8),this.finishNode(K,"EnumBooleanBody");case"number":return K.explicitType=!0,K.members=e.numberMembers,this.expect(8),this.finishNode(K,"EnumNumberBody");case"string":return K.explicitType=!0,K.members=this.flowEnumStringMembers(e.stringMembers,e.defaultedMembers,{enumName:L}),this.expect(8),this.finishNode(K,"EnumStringBody");case"symbol":return K.members=e.defaultedMembers,this.expect(8),this.finishNode(K,"EnumSymbolBody");default:{let zZ=()=>(K.members=[],this.expect(8),this.finishNode(K,"EnumStringBody"));K.explicitType=!1;let FZ=e.booleanMembers.length,_Z=e.numberMembers.length,oZ=e.stringMembers.length,Z0=e.defaultedMembers.length;if(FZ||_Z||oZ||Z0){if(FZ||_Z){if(!_Z&&!oZ&&FZ>=Z0){for(let K0 of e.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(K0.loc.start,{enumName:L,memberName:K0.id.name});return K.members=e.booleanMembers,this.expect(8),this.finishNode(K,"EnumBooleanBody")}if(!FZ&&!oZ&&_Z>=Z0){for(let K0 of e.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(K0.loc.start,{enumName:L,memberName:K0.id.name});return K.members=e.numberMembers,this.expect(8),this.finishNode(K,"EnumNumberBody")}return this.raise(F0.EnumInconsistentMemberValues,S,{enumName:L}),zZ()}return K.members=this.flowEnumStringMembers(e.stringMembers,e.defaultedMembers,{enumName:L}),this.expect(8),this.finishNode(K,"EnumStringBody")}return zZ()}}}flowParseEnumDeclaration(K){let B=this.parseIdentifier();return K.id=B,K.body=this.flowEnumBody(this.startNode(),B),this.finishNode(K,"EnumDeclaration")}isLookaheadToken_lt(){let K=this.nextTokenStart();if(this.input.charCodeAt(K)===60){let B=this.input.charCodeAt(K+1);return B!==60&&B!==61}return!1}maybeUnwrapTypeCastExpression(K){return K.type==="TypeCastExpression"?K.expression:K}},typescript:(H)=>class extends H{constructor(...K){super(...K),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:xZ.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:xZ.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:xZ.InvalidModifierOnTypeParameter})}getScopeHandler(){return gZ}tsIsIdentifier(){return b(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(K,B){if(!b(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let L=this.state.value;if(K.includes(L)){if(B&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return L}}tsParseModifiers({allowedModifiers:K,disallowedModifiers:B,stopOnStartOfClassStaticBlock:L,errorTemplate:S=xZ.InvalidModifierOnTypeMember},x){let e=(zZ,FZ,_Z,oZ)=>{FZ===_Z&&x[oZ]&&this.raise(xZ.InvalidModifiersOrder,zZ,{orderedModifiers:[_Z,oZ]})},WZ=(zZ,FZ,_Z,oZ)=>{(x[_Z]&&FZ===oZ||x[oZ]&&FZ===_Z)&&this.raise(xZ.IncompatibleModifiers,zZ,{modifiers:[_Z,oZ]})};for(;;){let{startLoc:zZ}=this.state,FZ=this.tsParseModifier(K.concat(B!=null?B:[]),L);if(!FZ)break;j0(FZ)?x.accessibility?this.raise(xZ.DuplicateAccessibilityModifier,zZ,{modifier:FZ}):(e(zZ,FZ,FZ,"override"),e(zZ,FZ,FZ,"static"),e(zZ,FZ,FZ,"readonly"),x.accessibility=FZ):C0(FZ)?(x[FZ]&&this.raise(xZ.DuplicateModifier,zZ,{modifier:FZ}),x[FZ]=!0,e(zZ,FZ,"in","out")):(hasOwnProperty.call(x,FZ)?this.raise(xZ.DuplicateModifier,zZ,{modifier:FZ}):(e(zZ,FZ,"static","readonly"),e(zZ,FZ,"static","override"),e(zZ,FZ,"override","readonly"),e(zZ,FZ,"abstract","override"),WZ(zZ,FZ,"declare","override"),WZ(zZ,FZ,"static","abstract")),x[FZ]=!0),B!=null&&B.includes(FZ)&&this.raise(S,zZ,{modifier:FZ})}}tsIsListTerminator(K){switch(K){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(K,B){let L=[];for(;!this.tsIsListTerminator(K);)L.push(B());return L}tsParseDelimitedList(K,B,L){return function(S){if(S==null)throw Error(`Unexpected ${S} value.`);return S}(this.tsParseDelimitedListWorker(K,B,!0,L))}tsParseDelimitedListWorker(K,B,L,S){let x=[],e=-1;for(;!this.tsIsListTerminator(K);){e=-1;let WZ=B();if(WZ==null)return;if(x.push(WZ),!this.eat(12)){if(this.tsIsListTerminator(K))break;return void(L&&this.expect(12))}e=this.state.lastTokStartLoc.index}return S&&(S.value=e),x}tsParseBracketedList(K,B,L,S,x){S||(L?this.expect(0):this.expect(47));let e=this.tsParseDelimitedList(K,B,x);return L?this.expect(3):this.expect(48),e}tsParseImportType(){let K=this.startNode();return this.expect(83),this.expect(10),this.match(134)||this.raise(xZ.UnsupportedImportTypeArgument,this.state.startLoc),K.argument=super.parseExprAtom(),this.eat(12)&&!this.match(11)?(K.options=super.parseMaybeAssignAllowIn(),this.eat(12)):K.options=null,this.expect(11),this.eat(16)&&(K.qualifier=this.tsParseEntityName()),this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSImportType")}tsParseEntityName(K=!0){let B=this.parseIdentifier(K);for(;this.eat(16);){let L=this.startNodeAtNode(B);L.left=B,L.right=this.parseIdentifier(K),B=this.finishNode(L,"TSQualifiedName")}return B}tsParseTypeReference(){let K=this.startNode();return K.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSTypeReference")}tsParseThisTypePredicate(K){this.next();let B=this.startNodeAtNode(K);return B.parameterName=K,B.typeAnnotation=this.tsParseTypeAnnotation(!1),B.asserts=!1,this.finishNode(B,"TSTypePredicate")}tsParseThisTypeNode(){let K=this.startNode();return this.next(),this.finishNode(K,"TSThisType")}tsParseTypeQuery(){let K=this.startNode();return this.expect(87),this.match(83)?K.exprName=this.tsParseImportType():K.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(K.typeParameters=this.tsParseTypeArguments()),this.finishNode(K,"TSTypeQuery")}tsParseTypeParameter(K){let B=this.startNode();return K(B),B.name=this.tsParseTypeParameterName(),B.constraint=this.tsEatThenParseType(81),B.default=this.tsEatThenParseType(29),this.finishNode(B,"TSTypeParameter")}tsTryParseTypeParameters(K){if(this.match(47))return this.tsParseTypeParameters(K)}tsParseTypeParameters(K){let B=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let L={value:-1};return B.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,K),!1,!0,L),B.params.length===0&&this.raise(xZ.EmptyTypeParameters,B),L.value!==-1&&this.addExtra(B,"trailingComma",L.value),this.finishNode(B,"TSTypeParameterDeclaration")}tsFillSignature(K,B){let L=K===19;B.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),B.parameters=this.tsParseBindingListForSignature(),(L||this.match(K))&&(B.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(K))}tsParseBindingListForSignature(){let K=super.parseBindingList(11,41,2);for(let B of K){let{type:L}=B;L!=="AssignmentPattern"&&L!=="TSParameterProperty"||this.raise(xZ.UnsupportedSignatureParameterKind,B,{type:L})}return K}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(K,B){return this.tsFillSignature(14,B),this.tsParseTypeMemberSemicolon(),this.finishNode(B,K)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!b(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(K){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let B=this.parseIdentifier();B.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(B),this.expect(3),K.parameters=[B];let L=this.tsTryParseTypeAnnotation();return L&&(K.typeAnnotation=L),this.tsParseTypeMemberSemicolon(),this.finishNode(K,"TSIndexSignature")}tsParsePropertyOrMethodSignature(K,B){this.eat(17)&&(K.optional=!0);let L=K;if(this.match(10)||this.match(47)){B&&this.raise(xZ.ReadonlyForMethodSignature,K);let S=L;S.kind&&this.match(47)&&this.raise(xZ.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,S),this.tsParseTypeMemberSemicolon();let x="parameters",e="typeAnnotation";if(S.kind==="get")S[x].length>0&&(this.raise(A.BadGetterArity,this.state.curPosition()),this.isThisParam(S[x][0])&&this.raise(xZ.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(S.kind==="set"){if(S[x].length!==1)this.raise(A.BadSetterArity,this.state.curPosition());else{let WZ=S[x][0];this.isThisParam(WZ)&&this.raise(xZ.AccessorCannotDeclareThisParameter,this.state.curPosition()),WZ.type==="Identifier"&&WZ.optional&&this.raise(xZ.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),WZ.type==="RestElement"&&this.raise(xZ.SetAccessorCannotHaveRestParameter,this.state.curPosition())}S[e]&&this.raise(xZ.SetAccessorCannotHaveReturnType,S[e])}else S.kind="method";return this.finishNode(S,"TSMethodSignature")}{let S=L;B&&(S.readonly=!0);let x=this.tsTryParseTypeAnnotation();return x&&(S.typeAnnotation=x),this.tsParseTypeMemberSemicolon(),this.finishNode(S,"TSPropertySignature")}}tsParseTypeMember(){let K=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",K);if(this.match(77)){let L=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",K):(K.key=this.createIdentifier(L,"new"),this.tsParsePropertyOrMethodSignature(K,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},K),this.tsTryParseIndexSignature(K)||(super.parsePropertyName(K),K.computed||K.key.type!=="Identifier"||K.key.name!=="get"&&K.key.name!=="set"||!this.tsTokenCanFollowModifier()||(K.kind=K.key.name,super.parsePropertyName(K)),this.tsParsePropertyOrMethodSignature(K,!!K.readonly))}tsParseTypeLiteral(){let K=this.startNode();return K.members=this.tsParseObjectTypeMembers(),this.finishNode(K,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let K=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),K}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))))}tsParseMappedType(){let K=this.startNode();this.expect(5),this.match(53)?(K.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(K.readonly=!0),this.expect(0);{let B=this.startNode();B.name=this.tsParseTypeParameterName(),B.constraint=this.tsExpectThenParseType(58),K.typeParameter=this.finishNode(B,"TSTypeParameter")}return K.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(K.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(K.optional=!0),K.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(K,"TSMappedType")}tsParseTupleType(){let K=this.startNode();K.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let B=!1;return K.elementTypes.forEach((L)=>{let{type:S}=L;!B||S==="TSRestType"||S==="TSOptionalType"||S==="TSNamedTupleMember"&&L.optional||this.raise(xZ.OptionalTypeBeforeRequired,L),B||(B=S==="TSNamedTupleMember"&&L.optional||S==="TSOptionalType")}),this.finishNode(K,"TSTupleType")}tsParseTupleElementType(){let{startLoc:K}=this.state,B=this.eat(21),L,S,x,e,WZ=p(this.state.type)?this.lookaheadCharCode():null;if(WZ===58)L=!0,x=!1,S=this.parseIdentifier(!0),this.expect(14),e=this.tsParseType();else if(WZ===63){x=!0;let zZ=this.state.startLoc,FZ=this.state.value,_Z=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(L=!0,S=this.createIdentifier(this.startNodeAt(zZ),FZ),this.expect(17),this.expect(14),e=this.tsParseType()):(L=!1,e=_Z,this.expect(17))}else e=this.tsParseType(),x=this.eat(17),L=this.eat(14);if(L){let zZ;S?(zZ=this.startNodeAtNode(S),zZ.optional=x,zZ.label=S,zZ.elementType=e,this.eat(17)&&(zZ.optional=!0,this.raise(xZ.TupleOptionalAfterType,this.state.lastTokStartLoc))):(zZ=this.startNodeAtNode(e),zZ.optional=x,this.raise(xZ.InvalidTupleMemberLabel,e),zZ.label=e,zZ.elementType=this.tsParseType()),e=this.finishNode(zZ,"TSNamedTupleMember")}else if(x){let zZ=this.startNodeAtNode(e);zZ.typeAnnotation=e,e=this.finishNode(zZ,"TSOptionalType")}if(B){let zZ=this.startNodeAt(K);zZ.typeAnnotation=e,e=this.finishNode(zZ,"TSRestType")}return e}tsParseParenthesizedType(){let K=this.startNode();return this.expect(10),K.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(K,"TSParenthesizedType")}tsParseFunctionOrConstructorType(K,B){let L=this.startNode();return K==="TSConstructorType"&&(L.abstract=!!B,B&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,L)),this.finishNode(L,K)}tsParseLiteralTypeNode(){let K=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:K.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(K,"TSLiteralType")}tsParseTemplateLiteralType(){let K=this.startNode();return K.literal=super.parseTemplate(!1),this.finishNode(K,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let K=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(K):K}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let K=this.startNode(),B=this.lookahead();return B.type!==135&&B.type!==136&&this.unexpected(),K.literal=this.parseMaybeUnary(),this.finishNode(K,"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:{let{type:K}=this.state;if(b(K)||K===88||K===84){let B=K===88?"TSVoidKeyword":K===84?"TSNullKeyword":function(L){switch(L){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(B!==void 0&&this.lookaheadCharCode()!==46){let L=this.startNode();return this.next(),this.finishNode(L,B)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let K=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let B=this.startNodeAtNode(K);B.elementType=K,this.expect(3),K=this.finishNode(B,"TSArrayType")}else{let B=this.startNodeAtNode(K);B.objectType=K,B.indexType=this.tsParseType(),this.expect(3),K=this.finishNode(B,"TSIndexedAccessType")}return K}tsParseTypeOperator(){let K=this.startNode(),B=this.state.value;return this.next(),K.operator=B,K.typeAnnotation=this.tsParseTypeOperatorOrHigher(),B==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(K),this.finishNode(K,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(K){switch(K.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(xZ.UnexpectedReadonly,K)}}tsParseInferType(){let K=this.startNode();this.expectContextual(115);let B=this.startNode();return B.name=this.tsParseTypeParameterName(),B.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),K.typeParameter=this.finishNode(B,"TSTypeParameter"),this.finishNode(K,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let K=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return K}}tsParseTypeOperatorOrHigher(){var K;return(K=this.state.type)>=121&&K<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(K,B,L){let S=this.startNode(),x=this.eat(L),e=[];do e.push(B());while(this.eat(L));return e.length!==1||x?(S.types=e,this.finishNode(S,K)):e[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(b(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:K}=this.state,B=K.length;try{return this.parseObjectLike(8,!0),K.length===B}catch(L){return!1}}if(this.match(0)){this.next();let{errors:K}=this.state,B=K.length;try{return super.parseBindingList(3,93,1),K.length===B}catch(L){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(K){return this.tsInType(()=>{let B=this.startNode();this.expect(K);let L=this.startNode(),S=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(S&&this.match(78)){let WZ=this.tsParseThisTypeOrThisTypePredicate();return WZ.type==="TSThisType"?(L.parameterName=WZ,L.asserts=!0,L.typeAnnotation=null,WZ=this.finishNode(L,"TSTypePredicate")):(this.resetStartLocationFromNode(WZ,L),WZ.asserts=!0),B.typeAnnotation=WZ,this.finishNode(B,"TSTypeAnnotation")}let x=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!x)return S?(L.parameterName=this.parseIdentifier(),L.asserts=S,L.typeAnnotation=null,B.typeAnnotation=this.finishNode(L,"TSTypePredicate"),this.finishNode(B,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,B);let e=this.tsParseTypeAnnotation(!1);return L.parameterName=x,L.typeAnnotation=e,L.asserts=S,B.typeAnnotation=this.finishNode(L,"TSTypePredicate"),this.finishNode(B,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let K=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),K}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let K=this.state.containsEsc;return this.next(),!(!b(this.state.type)&&!this.match(78))&&(K&&this.raise(A.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(K=!0,B=this.startNode()){return this.tsInType(()=>{K&&this.expect(14),B.typeAnnotation=this.tsParseType()}),this.finishNode(B,"TSTypeAnnotation")}tsParseType(){A0(this.state.inType);let K=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return K;let B=this.startNodeAtNode(K);return B.checkType=K,B.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),B.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),B.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(B,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}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(xZ.ReservedTypeAssertion,this.state.startLoc);let K=this.startNode();return K.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),K.expression=this.parseMaybeUnary(),this.finishNode(K,"TSTypeAssertion")}tsParseHeritageClause(K){let B=this.state.startLoc,L=this.tsParseDelimitedList("HeritageClauseElement",()=>{let S=this.startNode();return S.expression=this.tsParseEntityName(),this.match(47)&&(S.typeParameters=this.tsParseTypeArguments()),this.finishNode(S,"TSExpressionWithTypeArguments")});return L.length||this.raise(xZ.EmptyHeritageClauseType,B,{token:K}),L}tsParseInterfaceDeclaration(K,B={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),B.declare&&(K.declare=!0),b(this.state.type)?(K.id=this.parseIdentifier(),this.checkIdentifier(K.id,130)):(K.id=null,this.raise(xZ.MissingInterfaceName,this.state.startLoc)),K.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(K.extends=this.tsParseHeritageClause("extends"));let L=this.startNode();return L.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),K.body=this.finishNode(L,"TSInterfaceBody"),this.finishNode(K,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(K){return K.id=this.parseIdentifier(),this.checkIdentifier(K.id,2),K.typeAnnotation=this.tsInType(()=>{if(K.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let B=this.startNode();return this.next(),this.finishNode(B,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(K,"TSTypeAliasDeclaration")}tsInNoContext(K){let B=this.state.context;this.state.context=[B[0]];try{return K()}finally{this.state.context=B}}tsInType(K){let B=this.state.inType;this.state.inType=!0;try{return K()}finally{this.state.inType=B}}tsInDisallowConditionalTypesContext(K){let B=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return K()}finally{this.state.inDisallowConditionalTypesContext=B}}tsInAllowConditionalTypesContext(K){let B=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return K()}finally{this.state.inDisallowConditionalTypesContext=B}}tsEatThenParseType(K){if(this.match(K))return this.tsNextThenParseType()}tsExpectThenParseType(K){return this.tsInType(()=>(this.expect(K),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let K=this.startNode();return K.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(K.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(K,"TSEnumMember")}tsParseEnumDeclaration(K,B={}){return B.const&&(K.const=!0),B.declare&&(K.declare=!0),this.expectContextual(126),K.id=this.parseIdentifier(),this.checkIdentifier(K.id,K.const?8971:8459),this.expect(5),K.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(K,"TSEnumDeclaration")}tsParseModuleBlock(){let K=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(K.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(K,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(K,B=!1){if(K.id=this.parseIdentifier(),B||this.checkIdentifier(K.id,1024),this.eat(16)){let L=this.startNode();this.tsParseModuleOrNamespaceDeclaration(L,!0),K.body=L}else this.scope.enter(256),this.prodParam.enter(0),K.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(K,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(K){return this.isContextual(112)?(K.kind="global",K.global=!0,K.id=this.parseIdentifier()):this.match(134)?(K.kind="module",K.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),K.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(K,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(K,B,L){K.isExport=L||!1,K.id=B||this.parseIdentifier(),this.checkIdentifier(K.id,4096),this.expect(29);let S=this.tsParseModuleReference();return K.importKind==="type"&&S.type!=="TSExternalModuleReference"&&this.raise(xZ.ImportAliasHasImportType,S),K.moduleReference=S,this.semicolon(),this.finishNode(K,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let K=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),K.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(K,"TSExternalModuleReference")}tsLookAhead(K){let B=this.state.clone(),L=K();return this.state=B,L}tsTryParseAndCatch(K){let B=this.tryParse((L)=>K()||L());if(!B.aborted&&B.node)return B.error&&(this.state=B.failState),B.node}tsTryParse(K){let B=this.state.clone(),L=K();if(L!==void 0&&L!==!1)return L;this.state=B}tsTryParseDeclare(K){if(this.isLineTerminator())return;let B,L=this.state.type;return this.isContextual(100)&&(L=74,B="let"),this.tsInAmbientContext(()=>{switch(L){case 68:return K.declare=!0,super.parseFunctionStatement(K,!1,!1);case 80:return K.declare=!0,this.parseClass(K,!0,!1);case 126:return this.tsParseEnumDeclaration(K,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(K);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(K,{const:!0,declare:!0})):(K.declare=!0,this.parseVarStatement(K,B||this.state.value,!0));case 129:{let S=this.tsParseInterfaceDeclaration(K,{declare:!0});if(S)return S}default:if(b(L))return this.tsParseDeclaration(K,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(K,B,L){switch(B.name){case"declare":{let S=this.tsTryParseDeclare(K);return S&&(S.declare=!0),S}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let S=K;return S.kind="global",K.global=!0,S.id=B,S.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(S,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(K,B.name,!1,L)}}tsParseDeclaration(K,B,L,S){switch(B){case"abstract":if(this.tsCheckLineTerminator(L)&&(this.match(80)||b(this.state.type)))return this.tsParseAbstractDeclaration(K,S);break;case"module":if(this.tsCheckLineTerminator(L)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(K);if(b(this.state.type))return K.kind="module",this.tsParseModuleOrNamespaceDeclaration(K)}break;case"namespace":if(this.tsCheckLineTerminator(L)&&b(this.state.type))return K.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(K);break;case"type":if(this.tsCheckLineTerminator(L)&&b(this.state.type))return this.tsParseTypeAliasDeclaration(K)}}tsCheckLineTerminator(K){return K?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(K){if(!this.match(47))return;let B=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let L=this.tsTryParseAndCatch(()=>{let S=this.startNodeAt(K);return S.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(S),S.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),S});return this.state.maybeInArrowParameters=B,L?super.parseArrowExpression(L,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let K=this.startNode();return K.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),K.params.length===0?this.raise(xZ.EmptyTypeArguments,K):this.state.inType||this.curContext()!==D.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(K,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(K=this.state.type)>=124&&K<=130;var K}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(K,B){let L=this.state.startLoc,S={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},S);let{accessibility:x,override:e,readonly:WZ}=S;4&K||!(x||WZ||e)||this.raise(xZ.UnexpectedParameterModifier,L);let zZ=this.parseMaybeDefault();2&K&&this.parseFunctionParamType(zZ);let FZ=this.parseMaybeDefault(zZ.loc.start,zZ);if(x||WZ||e){let _Z=this.startNodeAt(L);return B.length&&(_Z.decorators=B),x&&(_Z.accessibility=x),WZ&&(_Z.readonly=WZ),e&&(_Z.override=e),FZ.type!=="Identifier"&&FZ.type!=="AssignmentPattern"&&this.raise(xZ.UnsupportedParameterPropertyKind,_Z),_Z.parameter=FZ,this.finishNode(_Z,"TSParameterProperty")}return B.length&&(zZ.decorators=B),FZ}isSimpleParameter(K){return K.type==="TSParameterProperty"&&super.isSimpleParameter(K.parameter)||super.isSimpleParameter(K)}tsDisallowOptionalPattern(K){for(let B of K.params)B.type!=="Identifier"&&B.optional&&!this.state.isAmbientContext&&this.raise(xZ.PatternIsOptional,B)}setArrowFunctionParameters(K,B,L){super.setArrowFunctionParameters(K,B,L),this.tsDisallowOptionalPattern(K)}parseFunctionBodyAndFinish(K,B,L=!1){this.match(14)&&(K.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let S=B==="FunctionDeclaration"?"TSDeclareFunction":B==="ClassMethod"||B==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return S&&!this.match(5)&&this.isLineTerminator()?this.finishNode(K,S):S==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(xZ.DeclareFunctionHasImplementation,K),K.declare)?super.parseFunctionBodyAndFinish(K,S,L):(this.tsDisallowOptionalPattern(K),super.parseFunctionBodyAndFinish(K,B,L))}registerFunctionStatementId(K){!K.body&&K.id?this.checkIdentifier(K.id,1024):super.registerFunctionStatementId(K)}tsCheckForInvalidTypeCasts(K){K.forEach((B)=>{(B==null?void 0:B.type)==="TSTypeCastExpression"&&this.raise(xZ.UnexpectedTypeAnnotation,B.typeAnnotation)})}toReferencedList(K,B){return this.tsCheckForInvalidTypeCasts(K),K}parseArrayLike(K,B,L,S){let x=super.parseArrayLike(K,B,L,S);return x.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(x.elements),x}parseSubscript(K,B,L,S){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let e=this.startNodeAt(B);return e.expression=K,this.finishNode(e,"TSNonNullExpression")}let x=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(L)return S.stop=!0,K;S.optionalChainMember=x=!0,this.next()}if(this.match(47)||this.match(51)){let e,WZ=this.tsTryParseAndCatch(()=>{if(!L&&this.atPossibleAsyncArrow(K)){let oZ=this.tsTryParseGenericAsyncArrowFunction(B);if(oZ)return oZ}let zZ=this.tsParseTypeArgumentsInExpression();if(!zZ)return;if(x&&!this.match(10))return void(e=this.state.curPosition());if(CZ(this.state.type)){let oZ=super.parseTaggedTemplateExpression(K,B,S);return oZ.typeParameters=zZ,oZ}if(!L&&this.eat(10)){let oZ=this.startNodeAt(B);return oZ.callee=K,oZ.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(oZ.arguments),oZ.typeParameters=zZ,S.optionalChainMember&&(oZ.optional=x),this.finishCallExpression(oZ,S.optionalChainMember)}let FZ=this.state.type;if(FZ===48||FZ===52||FZ!==10&&s(FZ)&&!this.hasPrecedingLineBreak())return;let _Z=this.startNodeAt(B);return _Z.expression=K,_Z.typeParameters=zZ,this.finishNode(_Z,"TSInstantiationExpression")});if(e&&this.unexpected(e,10),WZ)return WZ.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(xZ.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),WZ}return super.parseSubscript(K,B,L,S)}parseNewCallee(K){var B;super.parseNewCallee(K);let{callee:L}=K;L.type!=="TSInstantiationExpression"||(B=L.extra)!=null&&B.parenthesized||(K.typeParameters=L.typeParameters,K.callee=L.expression)}parseExprOp(K,B,L){let S;if(SZ(58)>L&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(S=this.isContextual(120)))){let x=this.startNodeAt(B);return x.expression=K,x.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(S&&this.raise(A.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(x,S?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(x,B,L)}return super.parseExprOp(K,B,L)}checkReservedWord(K,B,L,S){this.state.isAmbientContext||super.checkReservedWord(K,B,L,S)}checkImportReflection(K){super.checkImportReflection(K),K.module&&K.importKind!=="value"&&this.raise(xZ.ImportReflectionHasImportType,K.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(K){if(super.isPotentialImportPhase(K))return!0;if(this.isContextual(130)){let B=this.lookaheadCharCode();return K?B===123||B===42:B!==61}return!K&&this.isContextual(87)}applyImportPhase(K,B,L,S){super.applyImportPhase(K,B,L,S),B?K.exportKind=L==="type"?"type":"value":K.importKind=L==="type"||L==="typeof"?L:"value"}parseImport(K){if(this.match(134))return K.importKind="value",super.parseImport(K);let B;if(b(this.state.type)&&this.lookaheadCharCode()===61)return K.importKind="value",this.tsParseImportEqualsDeclaration(K);if(this.isContextual(130)){let L=this.parseMaybeImportPhase(K,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(K,L);B=super.parseImportSpecifiersAndAfter(K,L)}else B=super.parseImport(K);return B.importKind==="type"&&B.specifiers.length>1&&B.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(xZ.TypeImportCannotSpecifyDefaultAndNamed,B),B}parseExport(K,B){if(this.match(83)){this.next();let L=K,S=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?S=this.parseMaybeImportPhase(L,!1):L.importKind="value",this.tsParseImportEqualsDeclaration(L,S,!0)}if(this.eat(29)){let L=K;return L.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(L,"TSExportAssignment")}if(this.eatContextual(93)){let L=K;return this.expectContextual(128),L.id=this.parseIdentifier(),this.semicolon(),this.finishNode(L,"TSNamespaceExportDeclaration")}return super.parseExport(K,B)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let K=this.startNode();return this.next(),K.abstract=!0,this.parseClass(K,!0,!0)}if(this.match(129)){let K=this.tsParseInterfaceDeclaration(this.startNode());if(K)return K}return super.parseExportDefaultExpression()}parseVarStatement(K,B,L=!1){let{isAmbientContext:S}=this.state,x=super.parseVarStatement(K,B,L||S);if(!S)return x;for(let{id:e,init:WZ}of x.declarations)WZ&&(B!=="const"||e.typeAnnotation?this.raise(xZ.InitializerNotAllowedInAmbientContext,WZ):E0(WZ,this.hasPlugin("estree"))||this.raise(xZ.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,WZ));return x}parseStatementContent(K,B){if(this.match(75)&&this.isLookaheadContextual("enum")){let L=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(L,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let L=this.tsParseInterfaceDeclaration(this.startNode());if(L)return L}return super.parseStatementContent(K,B)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(K,B){return B.some((L)=>j0(L)?K.accessibility===L:!!K[L])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(K,B,L){let S=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:S,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:xZ.InvalidModifierOnTypeParameterPositions},B);let x=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(B,S)&&this.raise(xZ.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(K,B)):this.parseClassMemberWithIsStatic(K,B,L,!!B.static)};B.declare?this.tsInAmbientContext(x):x()}parseClassMemberWithIsStatic(K,B,L,S){let x=this.tsTryParseIndexSignature(B);if(x)return K.body.push(x),B.abstract&&this.raise(xZ.IndexSignatureHasAbstract,B),B.accessibility&&this.raise(xZ.IndexSignatureHasAccessibility,B,{modifier:B.accessibility}),B.declare&&this.raise(xZ.IndexSignatureHasDeclare,B),void(B.override&&this.raise(xZ.IndexSignatureHasOverride,B));!this.state.inAbstractClass&&B.abstract&&this.raise(xZ.NonAbstractClassHasAbstractMethod,B),B.override&&(L.hadSuperClass||this.raise(xZ.OverrideNotInSubClass,B)),super.parseClassMemberWithIsStatic(K,B,L,S)}parsePostMemberNameModifiers(K){this.eat(17)&&(K.optional=!0),K.readonly&&this.match(10)&&this.raise(xZ.ClassMethodHasReadonly,K),K.declare&&this.match(10)&&this.raise(xZ.ClassMethodHasDeclare,K)}parseExpressionStatement(K,B,L){return(B.type==="Identifier"?this.tsParseExpressionStatement(K,B,L):void 0)||super.parseExpressionStatement(K,B,L)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(K,B,L){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(K,B,L);let S=this.tryParse(()=>super.parseConditional(K,B));return S.node?(S.error&&(this.state=S.failState),S.node):(S.error&&super.setOptionalParametersError(L,S.error),K)}parseParenItem(K,B){let L=super.parseParenItem(K,B);if(this.eat(17)&&(L.optional=!0,this.resetEndLocation(K)),this.match(14)){let S=this.startNodeAt(B);return S.expression=K,S.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(S,"TSTypeCastExpression")}return K}parseExportDeclaration(K){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(K));let B=this.state.startLoc,L=this.eatContextual(125);if(L&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(xZ.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let S=b(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(K);return S?((S.type==="TSInterfaceDeclaration"||S.type==="TSTypeAliasDeclaration"||L)&&(K.exportKind="type"),L&&(this.resetStartLocation(S,B),S.declare=!0),S):null}parseClassId(K,B,L,S){if((!B||L)&&this.isContextual(113))return;super.parseClassId(K,B,L,K.declare?1024:8331);let x=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);x&&(K.typeParameters=x)}parseClassPropertyAnnotation(K){K.optional||(this.eat(35)?K.definite=!0:this.eat(17)&&(K.optional=!0));let B=this.tsTryParseTypeAnnotation();B&&(K.typeAnnotation=B)}parseClassProperty(K){if(this.parseClassPropertyAnnotation(K),this.state.isAmbientContext&&(!K.readonly||K.typeAnnotation)&&this.match(29)&&this.raise(xZ.DeclareClassFieldHasInitializer,this.state.startLoc),K.abstract&&this.match(29)){let{key:B}=K;this.raise(xZ.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:B.type!=="Identifier"||K.computed?`[${this.input.slice(this.offsetToSourcePos(B.start),this.offsetToSourcePos(B.end))}]`:B.name})}return super.parseClassProperty(K)}parseClassPrivateProperty(K){return K.abstract&&this.raise(xZ.PrivateElementHasAbstract,K),K.accessibility&&this.raise(xZ.PrivateElementHasAccessibility,K,{modifier:K.accessibility}),this.parseClassPropertyAnnotation(K),super.parseClassPrivateProperty(K)}parseClassAccessorProperty(K){return this.parseClassPropertyAnnotation(K),K.optional&&this.raise(xZ.AccessorCannotBeOptional,K),super.parseClassAccessorProperty(K)}pushClassMethod(K,B,L,S,x,e){let WZ=this.tsTryParseTypeParameters(this.tsParseConstModifier);WZ&&x&&this.raise(xZ.ConstructorHasTypeParameters,WZ);let{declare:zZ=!1,kind:FZ}=B;!zZ||FZ!=="get"&&FZ!=="set"||this.raise(xZ.DeclareAccessor,B,{kind:FZ}),WZ&&(B.typeParameters=WZ),super.pushClassMethod(K,B,L,S,x,e)}pushClassPrivateMethod(K,B,L,S){let x=this.tsTryParseTypeParameters(this.tsParseConstModifier);x&&(B.typeParameters=x),super.pushClassPrivateMethod(K,B,L,S)}declareClassPrivateMethodInScope(K,B){K.type!=="TSDeclareMethod"&&(K.type!=="MethodDefinition"||hasOwnProperty.call(K.value,"body"))&&super.declareClassPrivateMethodInScope(K,B)}parseClassSuper(K){super.parseClassSuper(K),K.superClass&&(this.match(47)||this.match(51))&&(K.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(K.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(K,B,L,S,x,e,WZ){let zZ=this.tsTryParseTypeParameters(this.tsParseConstModifier);return zZ&&(K.typeParameters=zZ),super.parseObjPropValue(K,B,L,S,x,e,WZ)}parseFunctionParams(K,B){let L=this.tsTryParseTypeParameters(this.tsParseConstModifier);L&&(K.typeParameters=L),super.parseFunctionParams(K,B)}parseVarId(K,B){super.parseVarId(K,B),K.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(K.definite=!0);let L=this.tsTryParseTypeAnnotation();L&&(K.id.typeAnnotation=L,this.resetEndLocation(K.id))}parseAsyncArrowFromCallExpression(K,B){return this.match(14)&&(K.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(K,B)}parseMaybeAssign(K,B){var L,S,x,e,WZ;let zZ,FZ,_Z,oZ;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(zZ=this.state.clone(),FZ=this.tryParse(()=>super.parseMaybeAssign(K,B),zZ),!FZ.error)return FZ.node;let{context:K0}=this.state,D0=K0[K0.length-1];D0!==D.j_oTag&&D0!==D.j_expr||K0.pop()}if(!((L=FZ)!=null&&L.error||this.match(47)))return super.parseMaybeAssign(K,B);zZ&&zZ!==this.state||(zZ=this.state.clone());let Z0=this.tryParse((K0)=>{var D0,r0;oZ=this.tsParseTypeParameters(this.tsParseConstModifier);let S0=super.parseMaybeAssign(K,B);return(S0.type!=="ArrowFunctionExpression"||(D0=S0.extra)!=null&&D0.parenthesized)&&K0(),((r0=oZ)==null?void 0:r0.params.length)!==0&&this.resetStartLocationFromNode(S0,oZ),S0.typeParameters=oZ,S0},zZ);if(!Z0.error&&!Z0.aborted)return oZ&&this.reportReservedArrowTypeParam(oZ),Z0.node;if(!FZ&&(A0(!this.hasPlugin("jsx")),_Z=this.tryParse(()=>super.parseMaybeAssign(K,B),zZ),!_Z.error))return _Z.node;if((S=FZ)!=null&&S.node)return this.state=FZ.failState,FZ.node;if(Z0.node)return this.state=Z0.failState,oZ&&this.reportReservedArrowTypeParam(oZ),Z0.node;if((x=_Z)!=null&&x.node)return this.state=_Z.failState,_Z.node;throw((e=FZ)==null?void 0:e.error)||Z0.error||((WZ=_Z)==null?void 0:WZ.error)}reportReservedArrowTypeParam(K){var B;K.params.length!==1||K.params[0].constraint||(B=K.extra)!=null&&B.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(xZ.ReservedArrowTypeParam,K)}parseMaybeUnary(K,B){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(K,B)}parseArrow(K){if(this.match(14)){let B=this.tryParse((L)=>{let S=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||L(),S});if(B.aborted)return;B.thrown||(B.error&&(this.state=B.failState),K.returnType=B.node)}return super.parseArrow(K)}parseFunctionParamType(K){this.eat(17)&&(K.optional=!0);let B=this.tsTryParseTypeAnnotation();return B&&(K.typeAnnotation=B),this.resetEndLocation(K),K}isAssignable(K,B){switch(K.type){case"TSTypeCastExpression":return this.isAssignable(K.expression,B);case"TSParameterProperty":return!0;default:return super.isAssignable(K,B)}}toAssignable(K,B=!1){switch(K.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(K,B);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":B?this.expressionScope.recordArrowParameterBindingError(xZ.UnexpectedTypeCastInParameter,K):this.raise(xZ.UnexpectedTypeCastInParameter,K),this.toAssignable(K.expression,B);break;case"AssignmentExpression":B||K.left.type!=="TSTypeCastExpression"||(K.left=this.typeCastToParameter(K.left));default:super.toAssignable(K,B)}}toAssignableParenthesizedExpression(K,B){switch(K.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(K.expression,B);break;default:super.toAssignable(K,B)}}checkToRestConversion(K,B){switch(K.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(K.expression,!1);break;default:super.checkToRestConversion(K,B)}}isValidLVal(K,B,L){switch(K){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(L!==64||!B)&&["expression",!0];default:return super.isValidLVal(K,B,L)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(K){if(this.match(47)||this.match(51)){let B=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let L=super.parseMaybeDecoratorArguments(K);return L.typeParameters=B,L}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(K)}checkCommaAfterRest(K){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===K?(this.next(),!1):super.checkCommaAfterRest(K)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(K,B){let L=super.parseMaybeDefault(K,B);return L.type==="AssignmentPattern"&&L.typeAnnotation&&L.right.start<L.typeAnnotation.start&&this.raise(xZ.TypeAnnotationAfterAssign,L.typeAnnotation),L}getTokenFromCode(K){if(this.state.inType){if(K===62)return void this.finishOp(48,1);if(K===60)return void this.finishOp(47,1)}super.getTokenFromCode(K)}reScan_lt_gt(){let{type:K}=this.state;K===47?(this.state.pos-=1,this.readToken_lt()):K===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:K}=this.state;return K===51?(this.state.pos-=2,this.finishOp(47,1),47):K}toAssignableList(K,B,L){for(let S=0;S<K.length;S++){let x=K[S];(x==null?void 0:x.type)==="TSTypeCastExpression"&&(K[S]=this.typeCastToParameter(x))}super.toAssignableList(K,B,L)}typeCastToParameter(K){return K.expression.typeAnnotation=K.typeAnnotation,this.resetEndLocation(K.expression,K.typeAnnotation.loc.end),K.expression}shouldParseArrow(K){return this.match(14)?K.every((B)=>this.isAssignable(B,!0)):super.shouldParseArrow(K)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(K){if(this.match(47)||this.match(51)){let B=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());B&&(K.typeParameters=B)}return super.jsxParseOpeningElementAfterName(K)}getGetterSetterExpectedParamCount(K){let B=super.getGetterSetterExpectedParamCount(K),L=this.getObjectOrClassMethodParams(K)[0];return L&&this.isThisParam(L)?B+1:B}parseCatchClauseParam(){let K=super.parseCatchClauseParam(),B=this.tsTryParseTypeAnnotation();return B&&(K.typeAnnotation=B,this.resetEndLocation(K)),K}tsInAmbientContext(K){let{isAmbientContext:B,strict:L}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return K()}finally{this.state.isAmbientContext=B,this.state.strict=L}}parseClass(K,B,L){let S=this.state.inAbstractClass;this.state.inAbstractClass=!!K.abstract;try{return super.parseClass(K,B,L)}finally{this.state.inAbstractClass=S}}tsParseAbstractDeclaration(K,B){if(this.match(80))return K.abstract=!0,this.maybeTakeDecorators(B,this.parseClass(K,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return K.abstract=!0,this.raise(xZ.NonClassMethodPropertyHasAbstractModifer,K),this.tsParseInterfaceDeclaration(K)}else this.unexpected(null,80)}parseMethod(K,B,L,S,x,e,WZ){let zZ=super.parseMethod(K,B,L,S,x,e,WZ);if(zZ.abstract){if(this.hasPlugin("estree")?!!zZ.value.body:!!zZ.body){let{key:FZ}=zZ;this.raise(xZ.AbstractMethodHasImplementation,zZ,{methodName:FZ.type!=="Identifier"||zZ.computed?`[${this.input.slice(this.offsetToSourcePos(FZ.start),this.offsetToSourcePos(FZ.end))}]`:FZ.name})}}return zZ}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(K,B,L,S){return!B&&S?(this.parseTypeOnlyImportExportSpecifier(K,!1,L),this.finishNode(K,"ExportSpecifier")):(K.exportKind="value",super.parseExportSpecifier(K,B,L,S))}parseImportSpecifier(K,B,L,S,x){return!B&&S?(this.parseTypeOnlyImportExportSpecifier(K,!0,L),this.finishNode(K,"ImportSpecifier")):(K.importKind="value",super.parseImportSpecifier(K,B,L,S,L?4098:4096))}parseTypeOnlyImportExportSpecifier(K,B,L){let S=B?"imported":"local",x=B?"local":"exported",e,WZ=K[S],zZ=!1,FZ=!0,_Z=WZ.loc.start;if(this.isContextual(93)){let oZ=this.parseIdentifier();if(this.isContextual(93)){let Z0=this.parseIdentifier();p(this.state.type)?(zZ=!0,WZ=oZ,e=B?this.parseIdentifier():this.parseModuleExportName(),FZ=!1):(e=Z0,FZ=!1)}else p(this.state.type)?(FZ=!1,e=B?this.parseIdentifier():this.parseModuleExportName()):(zZ=!0,WZ=oZ)}else p(this.state.type)&&(zZ=!0,B?(WZ=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(WZ.name,WZ.loc.start,!0,!0)):WZ=this.parseModuleExportName());zZ&&L&&this.raise(B?xZ.TypeModifierIsUsedInTypeImports:xZ.TypeModifierIsUsedInTypeExports,_Z),K[S]=WZ,K[x]=e,K[B?"importKind":"exportKind"]=zZ?"type":"value",FZ&&this.eatContextual(93)&&(K[x]=B?this.parseIdentifier():this.parseModuleExportName()),K[x]||(K[x]=W5(K[S])),B&&this.checkIdentifier(K[x],zZ?4098:4096)}},v8intrinsic:(H)=>class extends H{parseV8Intrinsic(){if(this.match(54)){let K=this.state.startLoc,B=this.startNode();if(this.next(),b(this.state.type)){let L=this.parseIdentifierName(),S=this.createIdentifier(B,L);if(S.type="V8IntrinsicIdentifier",this.match(10))return S}this.unexpected(K)}}parseExprAtom(K){return this.parseV8Intrinsic()||super.parseExprAtom(K)}},placeholders:(H)=>class extends H{parsePlaceholder(K){if(this.match(133)){let B=this.startNode();return this.next(),this.assertNoSpace(),B.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(B,K)}}finishPlaceholder(K,B){let L=K;return L.expectedNode&&L.type||(L=this.finishNode(L,"Placeholder")),L.expectedNode=B,L}getTokenFromCode(K){K===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(K)}parseExprAtom(K){return this.parsePlaceholder("Expression")||super.parseExprAtom(K)}parseIdentifier(K){return this.parsePlaceholder("Identifier")||super.parseIdentifier(K)}checkReservedWord(K,B,L,S){K!==void 0&&super.checkReservedWord(K,B,L,S)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(K,B,L){return K==="Placeholder"||super.isValidLVal(K,B,L)}toAssignable(K,B){K&&K.type==="Placeholder"&&K.expectedNode==="Expression"?K.expectedNode="Pattern":super.toAssignable(K,B)}chStartsBindingIdentifier(K,B){if(super.chStartsBindingIdentifier(K,B))return!0;return this.lookahead().type===133}verifyBreakContinue(K,B){K.label&&K.label.type==="Placeholder"||super.verifyBreakContinue(K,B)}parseExpressionStatement(K,B){var L;if(B.type!=="Placeholder"||(L=B.extra)!=null&&L.parenthesized)return super.parseExpressionStatement(K,B);if(this.match(14)){let x=K;return x.label=this.finishPlaceholder(B,"Identifier"),this.next(),x.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(x,"LabeledStatement")}this.semicolon();let S=K;return S.name=B.name,this.finishPlaceholder(S,"Statement")}parseBlock(K,B,L){return this.parsePlaceholder("BlockStatement")||super.parseBlock(K,B,L)}parseFunctionId(K){return this.parsePlaceholder("Identifier")||super.parseFunctionId(K)}parseClass(K,B,L){let S=B?"ClassDeclaration":"ClassExpression";this.next();let x=this.state.strict,e=this.parsePlaceholder("Identifier");if(e){if(!(this.match(81)||this.match(133)||this.match(5))){if(L||!B)return K.id=null,K.body=this.finishPlaceholder(e,"ClassBody"),this.finishNode(K,S);throw this.raise(e0.ClassNameIsRequired,this.state.startLoc)}K.id=e}else this.parseClassId(K,B,L);return super.parseClassSuper(K),K.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!K.superClass,x),this.finishNode(K,S)}parseExport(K,B){let L=this.parsePlaceholder("Identifier");if(!L)return super.parseExport(K,B);let S=K;if(!this.isContextual(98)&&!this.match(12))return S.specifiers=[],S.source=null,S.declaration=this.finishPlaceholder(L,"Declaration"),this.finishNode(S,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let x=this.startNode();return x.exported=L,S.specifiers=[this.finishNode(x,"ExportDefaultSpecifier")],super.parseExport(S,B)}isExportDefaultSpecifier(){if(this.match(65)){let K=this.nextTokenStart();if(this.isUnparsedContextual(K,"from")&&this.input.startsWith(AZ(133),this.nextTokenStartSince(K+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(K,B){var L;return!((L=K.specifiers)==null||!L.length)||super.maybeParseExportDefaultSpecifier(K,B)}checkExport(K){let{specifiers:B}=K;B!=null&&B.length&&(K.specifiers=B.filter((L)=>L.exported.type==="Placeholder")),super.checkExport(K),K.specifiers=B}parseImport(K){let B=this.parsePlaceholder("Identifier");if(!B)return super.parseImport(K);if(K.specifiers=[],!this.isContextual(98)&&!this.match(12))return K.source=this.finishPlaceholder(B,"StringLiteral"),this.semicolon(),this.finishNode(K,"ImportDeclaration");let L=this.startNodeAtNode(B);if(L.local=B,K.specifiers.push(this.finishNode(L,"ImportDefaultSpecifier")),this.eat(12))this.maybeParseStarImportSpecifier(K)||this.parseNamedImportSpecifiers(K);return this.expectContextual(98),K.source=this.parseImportSource(),this.semicolon(),this.finishNode(K,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(e0.UnexpectedSpace,this.state.lastTokEndLoc)}}},R5=Object.keys(Z5);class L5 extends B0{checkProto(H,K,B,L){if(H.type==="SpreadElement"||this.isObjectMethod(H)||H.computed||H.shorthand)return;let S=H.key;if((S.type==="Identifier"?S.name:S.value)==="__proto__"){if(K)return void this.raise(A.RecordNoProto,S);B.used&&(L?L.doubleProtoLoc===null&&(L.doubleProtoLoc=S.loc.start):this.raise(A.DuplicateProto,S)),B.used=!0}}shouldExitDescending(H,K){return H.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(H.start)===K}getExpression(){this.enterInitialScopes(),this.nextToken();let H=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),H.comments=this.comments,H.errors=this.state.errors,this.options.tokens&&(H.tokens=this.tokens),H}parseExpression(H,K){return H?this.disallowInAnd(()=>this.parseExpressionBase(K)):this.allowInAnd(()=>this.parseExpressionBase(K))}parseExpressionBase(H){let K=this.state.startLoc,B=this.parseMaybeAssign(H);if(this.match(12)){let L=this.startNodeAt(K);for(L.expressions=[B];this.eat(12);)L.expressions.push(this.parseMaybeAssign(H));return this.toReferencedList(L.expressions),this.finishNode(L,"SequenceExpression")}return B}parseMaybeAssignDisallowIn(H,K){return this.disallowInAnd(()=>this.parseMaybeAssign(H,K))}parseMaybeAssignAllowIn(H,K){return this.allowInAnd(()=>this.parseMaybeAssign(H,K))}setOptionalParametersError(H,K){var B;H.optionalParametersLoc=(B=K==null?void 0:K.loc)!=null?B:this.state.startLoc}parseMaybeAssign(H,K){let B=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let WZ=this.parseYield();return K&&(WZ=K.call(this,WZ,B)),WZ}let L;H?L=!1:(H=new g0,L=!0);let{type:S}=this.state;(S===10||b(S))&&(this.state.potentialArrowAt=this.state.start);let x=this.parseMaybeConditional(H);if(K&&(x=K.call(this,x,B)),(e=this.state.type)>=29&&e<=33){let WZ=this.startNodeAt(B),zZ=this.state.value;if(WZ.operator=zZ,this.match(29)){this.toAssignable(x,!0),WZ.left=x;let FZ=B.index;H.doubleProtoLoc!=null&&H.doubleProtoLoc.index>=FZ&&(H.doubleProtoLoc=null),H.shorthandAssignLoc!=null&&H.shorthandAssignLoc.index>=FZ&&(H.shorthandAssignLoc=null),H.privateKeyLoc!=null&&H.privateKeyLoc.index>=FZ&&(this.checkDestructuringPrivate(H),H.privateKeyLoc=null)}else WZ.left=x;return this.next(),WZ.right=this.parseMaybeAssign(),this.checkLVal(x,this.finishNode(WZ,"AssignmentExpression")),WZ}var e;return L&&this.checkExpressionErrors(H,!0),x}parseMaybeConditional(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseExprOps(H);return this.shouldExitDescending(L,B)?L:this.parseConditional(L,K,H)}parseConditional(H,K,B){if(this.eat(17)){let L=this.startNodeAt(K);return L.test=H,L.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),L.alternate=this.parseMaybeAssign(),this.finishNode(L,"ConditionalExpression")}return H}parseMaybeUnaryOrPrivate(H){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(H)}parseExprOps(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseMaybeUnaryOrPrivate(H);return this.shouldExitDescending(L,B)?L:this.parseExprOp(L,K,-1)}parseExprOp(H,K,B){if(this.isPrivateName(H)){let x=this.getPrivateNameSV(H);(B>=SZ(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(A.PrivateInExpectedIn,H,{identifierName:x}),this.classScope.usePrivateName(x,H.loc.start)}let L=this.state.type;if((S=L)>=39&&S<=59&&(this.prodParam.hasIn||!this.match(58))){let x=SZ(L);if(x>B){if(L===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return H;this.checkPipelineAtInfixOperator(H,K)}let e=this.startNodeAt(K);e.left=H,e.operator=this.state.value;let WZ=L===41||L===42,zZ=L===40;if(zZ&&(x=SZ(42)),this.next(),L===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(A.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);e.right=this.parseExprOpRightExpr(L,x);let FZ=this.finishNode(e,WZ||zZ?"LogicalExpression":"BinaryExpression"),_Z=this.state.type;if(zZ&&(_Z===41||_Z===42)||WZ&&_Z===40)throw this.raise(A.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(FZ,K,B)}}var S;return H}parseExprOpRightExpr(H,K){let B=this.state.startLoc;if(H===39)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(A.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(H,K),B)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(K))}return this.parseExprOpBaseRightExpr(H,K)}parseExprOpBaseRightExpr(H,K){let B=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),B,H===57?K-1:K)}parseHackPipeBody(){var H;let{startLoc:K}=this.state,B=this.parseMaybeAssign();return!M.has(B.type)||(H=B.extra)!=null&&H.parenthesized||this.raise(A.PipeUnparenthesizedBody,K,{type:B.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipeTopicUnused,K),B}checkExponentialAfterUnary(H){this.match(57)&&this.raise(A.UnexpectedTokenUnaryExponentiation,H.argument)}parseMaybeUnary(H,K){let B=this.state.startLoc,L=this.isContextual(96);if(L&&this.recordAwaitIfAllowed()){this.next();let zZ=this.parseAwait(B);return K||this.checkExponentialAfterUnary(zZ),zZ}let S=this.match(34),x=this.startNode();if(e=this.state.type,a[e]){x.operator=this.state.value,x.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let zZ=this.match(89);if(this.next(),x.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(H,!0),this.state.strict&&zZ){let FZ=x.argument;FZ.type==="Identifier"?this.raise(A.StrictDelete,x):this.hasPropertyAsPrivateName(FZ)&&this.raise(A.DeletePrivateField,x)}if(!S)return K||this.checkExponentialAfterUnary(x),this.finishNode(x,"UnaryExpression")}var e;let WZ=this.parseUpdate(x,S,H);if(L){let{type:zZ}=this.state;if((this.hasPlugin("v8intrinsic")?s(zZ):s(zZ)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(A.AwaitNotInAsyncContext,B),this.parseAwait(B)}return WZ}parseUpdate(H,K,B){if(K){let x=H;return this.checkLVal(x.argument,this.finishNode(x,"UpdateExpression")),H}let L=this.state.startLoc,S=this.parseExprSubscripts(B);if(this.checkExpressionErrors(B,!1))return S;for(;this.state.type===34&&!this.canInsertSemicolon();){let x=this.startNodeAt(L);x.operator=this.state.value,x.prefix=!1,x.argument=S,this.next(),this.checkLVal(S,S=this.finishNode(x,"UpdateExpression"))}return S}parseExprSubscripts(H){let K=this.state.startLoc,B=this.state.potentialArrowAt,L=this.parseExprAtom(H);return this.shouldExitDescending(L,B)?L:this.parseSubscripts(L,K)}parseSubscripts(H,K,B){let L={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(H),stop:!1};do H=this.parseSubscript(H,K,B,L),L.maybeAsyncArrow=!1;while(!L.stop);return H}parseSubscript(H,K,B,L){let{type:S}=this.state;if(!B&&S===15)return this.parseBind(H,K,B,L);if(CZ(S))return this.parseTaggedTemplateExpression(H,K,L);let x=!1;if(S===18){if(B&&(this.raise(A.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return L.stop=!0,H;L.optionalChainMember=x=!0,this.next()}if(!B&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(H,K,L,x);{let e=this.eat(0);return e||x||this.eat(16)?this.parseMember(H,K,L,e,x):(L.stop=!0,H)}}parseMember(H,K,B,L,S){let x=this.startNodeAt(K);return x.object=H,x.computed=L,L?(x.property=this.parseExpression(),this.expect(3)):this.match(139)?(H.type==="Super"&&this.raise(A.SuperPrivateField,K),this.classScope.usePrivateName(this.state.value,this.state.startLoc),x.property=this.parsePrivateName()):x.property=this.parseIdentifier(!0),B.optionalChainMember?(x.optional=S,this.finishNode(x,"OptionalMemberExpression")):this.finishNode(x,"MemberExpression")}parseBind(H,K,B,L){let S=this.startNodeAt(K);return S.object=H,this.next(),S.callee=this.parseNoCallExpr(),L.stop=!0,this.parseSubscripts(this.finishNode(S,"BindExpression"),K,B)}parseCoverCallAndAsyncArrowHead(H,K,B,L){let S=this.state.maybeInArrowParameters,x=null;this.state.maybeInArrowParameters=!0,this.next();let e=this.startNodeAt(K);e.callee=H;let{maybeAsyncArrow:WZ,optionalChainMember:zZ}=B;WZ&&(this.expressionScope.enter(new $5(2)),x=new g0),zZ&&(e.optional=L),e.arguments=L?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,H.type!=="Super",e,x);let FZ=this.finishCallExpression(e,zZ);return WZ&&this.shouldParseAsyncArrow()&&!L?(B.stop=!0,this.checkDestructuringPrivate(x),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),FZ=this.parseAsyncArrowFromCallExpression(this.startNodeAt(K),FZ)):(WZ&&(this.checkExpressionErrors(x,!0),this.expressionScope.exit()),this.toReferencedArguments(FZ)),this.state.maybeInArrowParameters=S,FZ}toReferencedArguments(H,K){this.toReferencedListDeep(H.arguments,K)}parseTaggedTemplateExpression(H,K,B){let L=this.startNodeAt(K);return L.tag=H,L.quasi=this.parseTemplate(!0),B.optionalChainMember&&this.raise(A.OptionalChainingNoTemplate,K),this.finishNode(L,"TaggedTemplateExpression")}atPossibleAsyncArrow(H){return H.type==="Identifier"&&H.name==="async"&&this.state.lastTokEndLoc.index===H.end&&!this.canInsertSemicolon()&&H.end-H.start==5&&this.offsetToSourcePos(H.start)===this.state.potentialArrowAt}finishCallExpression(H,K){if(H.callee.type==="Import")if(H.arguments.length===0||H.arguments.length>2)this.raise(A.ImportCallArity,H);else for(let B of H.arguments)B.type==="SpreadElement"&&this.raise(A.ImportCallSpreadArgument,B);return this.finishNode(H,K?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(H,K,B,L){let S=[],x=!0,e=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(H);){if(x)x=!1;else if(this.expect(12),this.match(H)){B&&this.addTrailingCommaExtraToNode(B),this.next();break}S.push(this.parseExprListItem(!1,L,K))}return this.state.inFSharpPipelineDirectBody=e,S}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(H,K){var B;return this.resetPreviousNodeTrailingComments(K),this.expect(19),this.parseArrowExpression(H,K.arguments,!0,(B=K.extra)==null?void 0:B.trailingCommaLoc),K.innerComments&&KZ(H,K.innerComments),K.callee.trailingComments&&KZ(H,K.callee.trailingComments),H}parseNoCallExpr(){let H=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),H,!0)}parseExprAtom(H){let K,B=null,{type:L}=this.state;switch(L){case 79:return this.parseSuper();case 83:return K=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(K):this.match(10)?this.options.createImportExpressions?this.parseImportCall(K):this.finishNode(K,"Import"):(this.raise(A.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(K,"Import"));case 78:return K=this.startNode(),this.next(),this.finishNode(K,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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:{let S=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(S)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,H);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,H);case 68:return this.parseFunctionOrFunctionSent();case 26:B=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(B,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{K=this.startNode(),this.next(),K.object=null;let S=K.callee=this.parseNoCallExpr();if(S.type==="MemberExpression")return this.finishNode(K,"BindExpression");throw this.raise(A.UnsupportedBind,S)}case 139:return this.raise(A.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:{let S=this.getPluginOption("pipelineOperator","proposal");if(S)return this.parseTopicReference(S);this.unexpected();break}case 47:{let S=this.input.codePointAt(this.nextTokenStart());c(S)||S===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(L===137)return this.parseDecimalLiteral(this.state.value);if(b(L)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let S=this.state.potentialArrowAt===this.state.start,x=this.state.containsEsc,e=this.parseIdentifier();if(!x&&e.name==="async"&&!this.canInsertSemicolon()){let{type:WZ}=this.state;if(WZ===68)return this.resetPreviousNodeTrailingComments(e),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(e));if(b(WZ))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(e)):e;if(WZ===90)return this.resetPreviousNodeTrailingComments(e),this.parseDo(this.startNodeAtNode(e),!0)}return S&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(e),[e],!1)):e}this.unexpected()}}parseTopicReferenceThenEqualsSign(H,K){let B=this.getPluginOption("pipelineOperator","proposal");if(B)return this.state.type=H,this.state.value=K,this.state.pos--,this.state.end--,this.state.endLoc=O(this.state.endLoc,-1),this.parseTopicReference(B);this.unexpected()}parseTopicReference(H){let K=this.startNode(),B=this.state.startLoc,L=this.state.type;return this.next(),this.finishTopicReference(K,B,H,L)}finishTopicReference(H,K,B,L){if(this.testTopicReferenceConfiguration(B,K,L)){let S=B==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(B==="smart"?A.PrimaryTopicNotAllowed:A.PipeTopicUnbound,K),this.registerTopicReference(),this.finishNode(H,S)}throw this.raise(A.PipeTopicUnconfiguredToken,K,{token:AZ(L)})}testTopicReferenceConfiguration(H,K,B){switch(H){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:AZ(B)}]);case"smart":return B===27;default:throw this.raise(A.PipeTopicRequiresHackPipes,K)}}parseAsyncArrowUnaryFunction(H){this.prodParam.enter(F5(!0,this.prodParam.hasYield));let K=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(A.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(H,K,!0)}parseDo(H,K){this.expectPlugin("doExpressions"),K&&this.expectPlugin("asyncDoExpressions"),H.async=K,this.next();let B=this.state.labels;return this.state.labels=[],K?(this.prodParam.enter(2),H.body=this.parseBlock(),this.prodParam.exit()):H.body=this.parseBlock(),this.state.labels=B,this.finishNode(H,"DoExpression")}parseSuper(){let H=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(A.UnexpectedSuper,H):this.raise(A.SuperNotAllowed,H),this.match(10)||this.match(0)||this.match(16)||this.raise(A.UnsupportedSuper,H),this.finishNode(H,"Super")}parsePrivateName(){let H=this.startNode(),K=this.startNodeAt(O(this.state.startLoc,1)),B=this.state.value;return this.next(),H.id=this.createIdentifier(K,B),this.finishNode(H,"PrivateName")}parseFunctionOrFunctionSent(){let H=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let K=this.createIdentifier(this.startNodeAtNode(H),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(H,K,"sent")}return this.parseFunction(H)}parseMetaProperty(H,K,B){H.meta=K;let L=this.state.containsEsc;return H.property=this.parseIdentifier(!0),(H.property.name!==B||L)&&this.raise(A.UnsupportedMetaProperty,H.property,{target:K.name,onlyValidPropertyName:B}),this.finishNode(H,"MetaProperty")}parseImportMetaProperty(H){let K=this.createIdentifier(this.startNodeAtNode(H),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(A.ImportMetaOutsideModule,K),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let B=this.isContextual(105);if(B||this.unexpected(),this.expectPlugin(B?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(A.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),H.phase=B?"source":"defer",this.parseImportCall(H)}return this.parseMetaProperty(H,K,"meta")}parseLiteralAtNode(H,K,B){return this.addExtra(B,"rawValue",H),this.addExtra(B,"raw",this.input.slice(this.offsetToSourcePos(B.start),this.state.end)),B.value=H,this.next(),this.finishNode(B,K)}parseLiteral(H,K){let B=this.startNode();return this.parseLiteralAtNode(H,K,B)}parseStringLiteral(H){return this.parseLiteral(H,"StringLiteral")}parseNumericLiteral(H){return this.parseLiteral(H,"NumericLiteral")}parseBigIntLiteral(H){return this.parseLiteral(H,"BigIntLiteral")}parseDecimalLiteral(H){return this.parseLiteral(H,"DecimalLiteral")}parseRegExpLiteral(H){let K=this.startNode();return this.addExtra(K,"raw",this.input.slice(this.offsetToSourcePos(K.start),this.state.end)),K.pattern=H.pattern,K.flags=H.flags,this.next(),this.finishNode(K,"RegExpLiteral")}parseBooleanLiteral(H){let K=this.startNode();return K.value=H,this.next(),this.finishNode(K,"BooleanLiteral")}parseNullLiteral(){let H=this.startNode();return this.next(),this.finishNode(H,"NullLiteral")}parseParenAndDistinguishExpression(H){let K=this.state.startLoc,B;this.next(),this.expressionScope.enter(new $5(1));let L=this.state.maybeInArrowParameters,S=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let x=this.state.startLoc,e=[],WZ=new g0,zZ,FZ,_Z=!0;for(;!this.match(11);){if(_Z)_Z=!1;else if(this.expect(12,WZ.optionalParametersLoc===null?null:WZ.optionalParametersLoc),this.match(11)){FZ=this.state.startLoc;break}if(this.match(21)){let K0=this.state.startLoc;if(zZ=this.state.startLoc,e.push(this.parseParenItem(this.parseRestBinding(),K0)),!this.checkCommaAfterRest(41))break}else e.push(this.parseMaybeAssignAllowIn(WZ,this.parseParenItem))}let oZ=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=L,this.state.inFSharpPipelineDirectBody=S;let Z0=this.startNodeAt(K);return H&&this.shouldParseArrow(e)&&(Z0=this.parseArrow(Z0))?(this.checkDestructuringPrivate(WZ),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Z0,e,!1),Z0):(this.expressionScope.exit(),e.length||this.unexpected(this.state.lastTokStartLoc),FZ&&this.unexpected(FZ),zZ&&this.unexpected(zZ),this.checkExpressionErrors(WZ,!0),this.toReferencedListDeep(e,!0),e.length>1?(B=this.startNodeAt(x),B.expressions=e,this.finishNode(B,"SequenceExpression"),this.resetEndLocation(B,oZ)):B=e[0],this.wrapParenthesis(K,B))}wrapParenthesis(H,K){if(!this.options.createParenthesizedExpressions)return this.addExtra(K,"parenthesized",!0),this.addExtra(K,"parenStart",H.index),this.takeSurroundingComments(K,H.index,this.state.lastTokEndLoc.index),K;let B=this.startNodeAt(H);return B.expression=K,this.finishNode(B,"ParenthesizedExpression")}shouldParseArrow(H){return!this.canInsertSemicolon()}parseArrow(H){if(this.eat(19))return H}parseParenItem(H,K){return H}parseNewOrNewTarget(){let H=this.startNode();if(this.next(),this.match(16)){let K=this.createIdentifier(this.startNodeAtNode(H),"new");this.next();let B=this.parseMetaProperty(H,K,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(A.UnexpectedNewTarget,B),B}return this.parseNew(H)}parseNew(H){if(this.parseNewCallee(H),this.eat(10)){let K=this.parseExprList(11);this.toReferencedList(K),H.arguments=K}else H.arguments=[];return this.finishNode(H,"NewExpression")}parseNewCallee(H){let K=this.match(83),B=this.parseNoCallExpr();H.callee=B,!K||B.type!=="Import"&&B.type!=="ImportExpression"||this.raise(A.ImportCallNotNewExpression,B)}parseTemplateElement(H){let{start:K,startLoc:B,end:L,value:S}=this.state,x=K+1,e=this.startNodeAt(O(B,1));S===null&&(H||this.raise(A.InvalidEscapeSequenceTemplate,O(this.state.firstInvalidTemplateEscapePos,1)));let WZ=this.match(24),zZ=WZ?-1:-2,FZ=L+zZ;e.value={raw:this.input.slice(x,FZ).replace(/\r\n?/g,`
|
|
348
|
+
`),cooked:S===null?null:S.slice(1,zZ)},e.tail=WZ,this.next();let _Z=this.finishNode(e,"TemplateElement");return this.resetEndLocation(_Z,O(this.state.lastTokEndLoc,zZ)),_Z}parseTemplate(H){let K=this.startNode(),B=this.parseTemplateElement(H),L=[B],S=[];for(;!B.tail;)S.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),L.push(B=this.parseTemplateElement(H));return K.expressions=S,K.quasis=L,this.finishNode(K,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(H,K,B,L){B&&this.expectPlugin("recordAndTuple");let S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let x=Object.create(null),e=!0,WZ=this.startNode();for(WZ.properties=[],this.next();!this.match(H);){if(e)e=!1;else if(this.expect(12),this.match(H)){this.addTrailingCommaExtraToNode(WZ);break}let FZ;K?FZ=this.parseBindingProperty():(FZ=this.parsePropertyDefinition(L),this.checkProto(FZ,B,x,L)),B&&!this.isObjectProperty(FZ)&&FZ.type!=="SpreadElement"&&this.raise(A.InvalidRecordProperty,FZ),FZ.shorthand&&this.addExtra(FZ,"shorthand",!0),WZ.properties.push(FZ)}this.next(),this.state.inFSharpPipelineDirectBody=S;let zZ="ObjectExpression";return K?zZ="ObjectPattern":B&&(zZ="RecordExpression"),this.finishNode(WZ,zZ)}addTrailingCommaExtraToNode(H){this.addExtra(H,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(H,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(H){return!H.computed&&H.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(H){let K=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(A.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)K.push(this.parseDecorator());let B=this.startNode(),L,S=!1,x=!1;if(this.match(21))return K.length&&this.unexpected(),this.parseSpread();K.length&&(B.decorators=K,K=[]),B.method=!1,H&&(L=this.state.startLoc);let e=this.eat(55);this.parsePropertyNamePrefixOperator(B);let WZ=this.state.containsEsc;if(this.parsePropertyName(B,H),!e&&!WZ&&this.maybeAsyncOrAccessorProp(B)){let{key:zZ}=B,FZ=zZ.name;FZ!=="async"||this.hasPrecedingLineBreak()||(S=!0,this.resetPreviousNodeTrailingComments(zZ),e=this.eat(55),this.parsePropertyName(B)),FZ!=="get"&&FZ!=="set"||(x=!0,this.resetPreviousNodeTrailingComments(zZ),B.kind=FZ,this.match(55)&&(e=!0,this.raise(A.AccessorIsGenerator,this.state.curPosition(),{kind:FZ}),this.next()),this.parsePropertyName(B))}return this.parseObjPropValue(B,L,e,S,!1,x,H)}getGetterSetterExpectedParamCount(H){return H.kind==="get"?0:1}getObjectOrClassMethodParams(H){return H.params}checkGetterSetterParams(H){var K;let B=this.getGetterSetterExpectedParamCount(H),L=this.getObjectOrClassMethodParams(H);L.length!==B&&this.raise(H.kind==="get"?A.BadGetterArity:A.BadSetterArity,H),H.kind==="set"&&((K=L[L.length-1])==null?void 0:K.type)==="RestElement"&&this.raise(A.BadSetterRestParameter,H)}parseObjectMethod(H,K,B,L,S){if(S){let x=this.parseMethod(H,K,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(x),x}if(B||K||this.match(10))return L&&this.unexpected(),H.kind="method",H.method=!0,this.parseMethod(H,K,B,!1,!1,"ObjectMethod")}parseObjectProperty(H,K,B,L){if(H.shorthand=!1,this.eat(14))return H.value=B?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(L),this.finishNode(H,"ObjectProperty");if(!H.computed&&H.key.type==="Identifier"){if(this.checkReservedWord(H.key.name,H.key.loc.start,!0,!1),B)H.value=this.parseMaybeDefault(K,W5(H.key));else if(this.match(29)){let S=this.state.startLoc;L!=null?L.shorthandAssignLoc===null&&(L.shorthandAssignLoc=S):this.raise(A.InvalidCoverInitializedName,S),H.value=this.parseMaybeDefault(K,W5(H.key))}else H.value=W5(H.key);return H.shorthand=!0,this.finishNode(H,"ObjectProperty")}}parseObjPropValue(H,K,B,L,S,x,e){let WZ=this.parseObjectMethod(H,B,L,S,x)||this.parseObjectProperty(H,K,S,e);return WZ||this.unexpected(),WZ}parsePropertyName(H,K){if(this.eat(0))H.computed=!0,H.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:B,value:L}=this.state,S;if(p(B))S=this.parseIdentifier(!0);else switch(B){case 135:S=this.parseNumericLiteral(L);break;case 134:S=this.parseStringLiteral(L);break;case 136:S=this.parseBigIntLiteral(L);break;case 139:{let x=this.state.startLoc;K!=null?K.privateKeyLoc===null&&(K.privateKeyLoc=x):this.raise(A.UnexpectedPrivateField,x),S=this.parsePrivateName();break}default:if(B===137){S=this.parseDecimalLiteral(L);break}this.unexpected()}H.key=S,B!==139&&(H.computed=!1)}}initFunction(H,K){H.id=null,H.generator=!1,H.async=K}parseMethod(H,K,B,L,S,x,e=!1){this.initFunction(H,B),H.generator=K,this.scope.enter(18|(e?64:0)|(S?32:0)),this.prodParam.enter(F5(B,H.generator)),this.parseFunctionParams(H,L);let WZ=this.parseFunctionBodyAndFinish(H,x,!0);return this.prodParam.exit(),this.scope.exit(),WZ}parseArrayLike(H,K,B,L){B&&this.expectPlugin("recordAndTuple");let S=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let x=this.startNode();return this.next(),x.elements=this.parseExprList(H,!B,L,x),this.state.inFSharpPipelineDirectBody=S,this.finishNode(x,B?"TupleExpression":"ArrayExpression")}parseArrowExpression(H,K,B,L){this.scope.enter(6);let S=F5(B,!1);!this.match(5)&&this.prodParam.hasIn&&(S|=8),this.prodParam.enter(S),this.initFunction(H,B);let x=this.state.maybeInArrowParameters;return K&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(H,K,L)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(H,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=x,this.finishNode(H,"ArrowFunctionExpression")}setArrowFunctionParameters(H,K,B){this.toAssignableList(K,B,!1),H.params=K}parseFunctionBodyAndFinish(H,K,B=!1){return this.parseFunctionBody(H,!1,B),this.finishNode(H,K)}parseFunctionBody(H,K,B=!1){let L=K&&!this.match(5);if(this.expressionScope.enter(S5()),L)H.body=this.parseMaybeAssign(),this.checkParams(H,!1,K,!1);else{let S=this.state.strict,x=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),H.body=this.parseBlock(!0,!1,(e)=>{let WZ=!this.isSimpleParamList(H.params);e&&WZ&&this.raise(A.IllegalLanguageModeDirective,H.kind!=="method"&&H.kind!=="constructor"||!H.key?H:H.key.loc.end);let zZ=!S&&this.state.strict;this.checkParams(H,!(this.state.strict||K||B||WZ),K,zZ),this.state.strict&&H.id&&this.checkIdentifier(H.id,65,zZ)}),this.prodParam.exit(),this.state.labels=x}this.expressionScope.exit()}isSimpleParameter(H){return H.type==="Identifier"}isSimpleParamList(H){for(let K=0,B=H.length;K<B;K++)if(!this.isSimpleParameter(H[K]))return!1;return!0}checkParams(H,K,B,L=!0){let S=!K&&new Set,x={type:"FormalParameters"};for(let e of H.params)this.checkLVal(e,x,5,S,L)}parseExprList(H,K,B,L){let S=[],x=!0;for(;!this.eat(H);){if(x)x=!1;else if(this.expect(12),this.match(H)){L&&this.addTrailingCommaExtraToNode(L),this.next();break}S.push(this.parseExprListItem(K,B))}return S}parseExprListItem(H,K,B){let L;if(this.match(12))H||this.raise(A.UnexpectedToken,this.state.curPosition(),{unexpected:","}),L=null;else if(this.match(21)){let S=this.state.startLoc;L=this.parseParenItem(this.parseSpread(K),S)}else if(this.match(17)){this.expectPlugin("partialApplication"),B||this.raise(A.UnexpectedArgumentPlaceholder,this.state.startLoc);let S=this.startNode();this.next(),L=this.finishNode(S,"ArgumentPlaceholder")}else L=this.parseMaybeAssignAllowIn(K,this.parseParenItem);return L}parseIdentifier(H){let K=this.startNode(),B=this.parseIdentifierName(H);return this.createIdentifier(K,B)}createIdentifier(H,K){return H.name=K,H.loc.identifierName=K,this.finishNode(H,"Identifier")}parseIdentifierName(H){let K,{startLoc:B,type:L}=this.state;p(L)?K=this.state.value:this.unexpected();let S=L<=92;return H?S&&this.replaceToken(132):this.checkReservedWord(K,B,S,!1),this.next(),K}checkReservedWord(H,K,B,L){if(H.length>10)return;if(!function(S){return ZZ.has(S)}(H))return;if(B&&function(S){return Q0.has(S)}(H))return void this.raise(A.UnexpectedKeyword,K,{keyword:H});if((this.state.strict?L?l:wZ:PZ)(H,this.inModule))this.raise(A.UnexpectedReservedWord,K,{reservedWord:H});else if(H==="yield"){if(this.prodParam.hasYield)return void this.raise(A.YieldBindingIdentifier,K)}else if(H==="await"){if(this.prodParam.hasAwait)return void this.raise(A.AwaitBindingIdentifier,K);if(this.scope.inStaticBlock)return void this.raise(A.AwaitBindingIdentifierInStaticBlock,K);this.expressionScope.recordAsyncArrowParametersError(K)}else if(H==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(A.ArgumentsInClass,K)}recordAwaitIfAllowed(){let H=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return H&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),H}parseAwait(H){let K=this.startNodeAt(H);return this.expressionScope.recordParameterInitializerError(A.AwaitExpressionFormalParameter,K),this.eat(55)&&this.raise(A.ObsoleteAwaitStar,K),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(K.argument=this.parseMaybeUnary(null,!0)),this.finishNode(K,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:H}=this.state;return H===53||H===10||H===0||CZ(H)||H===102&&!this.state.containsEsc||H===138||H===56||this.hasPlugin("v8intrinsic")&&H===54}parseYield(){let H=this.startNode();this.expressionScope.recordParameterInitializerError(A.YieldInParameter,H),this.next();let K=!1,B=null;if(!this.hasPrecedingLineBreak())switch(K=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!K)break;default:B=this.parseMaybeAssign()}return H.delegate=K,H.argument=B,this.finishNode(H,"YieldExpression")}parseImportCall(H){if(this.next(),H.source=this.parseMaybeAssignAllowIn(),H.options=null,this.eat(12)&&!this.match(11)&&(H.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(A.ImportCallArity,H)}return this.expect(11),this.finishNode(H,"ImportExpression")}checkPipelineAtInfixOperator(H,K){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&H.type==="SequenceExpression"&&this.raise(A.PipelineHeadSequenceExpression,K)}parseSmartPipelineBodyInStyle(H,K){if(this.isSimpleReference(H)){let B=this.startNodeAt(K);return B.callee=H,this.finishNode(B,"PipelineBareFunction")}{let B=this.startNodeAt(K);return this.checkSmartPipeTopicBodyEarlyErrors(K),B.expression=H,this.finishNode(B,"PipelineTopicExpression")}}isSimpleReference(H){switch(H.type){case"MemberExpression":return!H.computed&&this.isSimpleReference(H.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(H){if(this.match(19))throw this.raise(A.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipelineTopicUnused,H)}withTopicBindingContext(H){let K=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return H()}finally{this.state.topicContext=K}}withSmartMixTopicForbiddingContext(H){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return H();{let K=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return H()}finally{this.state.topicContext=K}}}withSoloAwaitPermittingContext(H){let K=this.state.soloAwait;this.state.soloAwait=!0;try{return H()}finally{this.state.soloAwait=K}}allowInAnd(H){let K=this.prodParam.currentFlags();if(8&~K){this.prodParam.enter(8|K);try{return H()}finally{this.prodParam.exit()}}return H()}disallowInAnd(H){let K=this.prodParam.currentFlags();if(8&K){this.prodParam.enter(-9&K);try{return H()}finally{this.prodParam.exit()}}return H()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(H){let K=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let B=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let L=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),K,H);return this.state.inFSharpPipelineDirectBody=B,L}parseModuleExpression(){this.expectPlugin("moduleBlocks");let H=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let K=this.startNodeAt(this.state.endLoc);this.next();let B=this.initializeScopes(!0);this.enterInitialScopes();try{H.body=this.parseProgram(K,8,"module")}finally{B()}return this.finishNode(H,"ModuleExpression")}parsePropertyNamePrefixOperator(H){}}let M5={kind:1},f5={kind:2},m5=/[\uD800-\uDFFF]/u,v5=/in(?:stanceof)?/y;class c5 extends L5{parseTopLevel(H,K){return H.program=this.parseProgram(K),H.comments=this.comments,this.options.tokens&&(H.tokens=function(B,L,S){for(let x=0;x<B.length;x++){let e=B[x],{type:WZ}=e;if(typeof WZ=="number"){if(WZ===139){let{loc:zZ,start:FZ,value:_Z,end:oZ}=e,Z0=FZ+1,K0=O(zZ.start,1);B.splice(x,1,new p0({type:XZ(27),value:"#",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}),new p0({type:XZ(132),value:_Z,start:Z0,end:oZ,startLoc:K0,endLoc:zZ.end})),x++;continue}if(CZ(WZ)){let{loc:zZ,start:FZ,value:_Z,end:oZ}=e,Z0=FZ+1,K0=O(zZ.start,1),D0,r0,S0,k0,Q5;D0=L.charCodeAt(FZ-S)===96?new p0({type:XZ(22),value:"`",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}):new p0({type:XZ(8),value:"}",start:FZ,end:Z0,startLoc:zZ.start,endLoc:K0}),WZ===24?(S0=oZ-1,k0=O(zZ.end,-1),r0=_Z===null?null:_Z.slice(1,-1),Q5=new p0({type:XZ(22),value:"`",start:S0,end:oZ,startLoc:k0,endLoc:zZ.end})):(S0=oZ-2,k0=O(zZ.end,-2),r0=_Z===null?null:_Z.slice(1,-2),Q5=new p0({type:XZ(23),value:"${",start:S0,end:oZ,startLoc:k0,endLoc:zZ.end})),B.splice(x,1,D0,new p0({type:XZ(20),value:r0,start:Z0,end:S0,startLoc:K0,endLoc:k0}),Q5),x+=2;continue}e.type=XZ(WZ)}}return B}(this.tokens,this.input,this.startIndex)),this.finishNode(H,"File")}parseProgram(H,K=140,B=this.options.sourceType){if(H.sourceType=B,H.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(H,!0,!0,K),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[S,x]of Array.from(this.scope.undefinedExports))this.raise(A.ModuleExportUndefined,x,{localName:S});this.addExtra(H,"topLevelAwait",this.state.hasTopLevelAwait)}let L;return L=K===140?this.finishNode(H,"Program"):this.finishNodeAt(H,"Program",O(this.state.startLoc,-1)),L}stmtToDirective(H){let K=H;K.type="Directive",K.value=K.expression,delete K.expression;let B=K.value,L=B.value,S=this.input.slice(this.offsetToSourcePos(B.start),this.offsetToSourcePos(B.end)),x=B.value=S.slice(1,-1);return this.addExtra(B,"raw",S),this.addExtra(B,"rawValue",x),this.addExtra(B,"expressionValue",L),B.type="DirectiveLiteral",K}parseInterpreterDirective(){if(!this.match(28))return null;let H=this.startNode();return H.value=this.state.value,this.next(),this.finishNode(H,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(H,K){if(c(H)){if(v5.lastIndex=K,v5.test(this.input)){let B=this.codePointAtPos(v5.lastIndex);if(!TZ(B)&&B!==92)return!1}return!0}return H===92}chStartsBindingPattern(H){return H===91||H===123}hasFollowingBindingAtom(){let H=this.nextTokenStart(),K=this.codePointAtPos(H);return this.chStartsBindingPattern(K)||this.chStartsBindingIdentifier(K,H)}hasInLineFollowingBindingIdentifierOrBrace(){let H=this.nextTokenInLineStart(),K=this.codePointAtPos(H);return K===123||this.chStartsBindingIdentifier(K,H)}startsUsingForOf(){let{type:H,containsEsc:K}=this.lookahead();return!(H===102&&!K)&&(b(H)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let H=this.nextTokenInLineStart();if(this.isUnparsedContextual(H,"using")){H=this.nextTokenInLineStartSince(H+5);let K=this.codePointAtPos(H);if(this.chStartsBindingIdentifier(K,H))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(H=!1){let K=0;return this.options.annexB&&!this.state.strict&&(K|=4,H&&(K|=8)),this.parseStatementLike(K)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(H){let K=null;return this.match(26)&&(K=this.parseDecorators(!0)),this.parseStatementContent(H,K)}parseStatementContent(H,K){let B=this.state.type,L=this.startNode(),S=!!(2&H),x=!!(4&H),e=1&H;switch(B){case 60:return this.parseBreakContinueStatement(L,!0);case 63:return this.parseBreakContinueStatement(L,!1);case 64:return this.parseDebuggerStatement(L);case 90:return this.parseDoWhileStatement(L);case 91:return this.parseForStatement(L);case 68:if(this.lookaheadCharCode()===46)break;return x||this.raise(this.state.strict?A.StrictFunction:this.options.annexB?A.SloppyFunctionAnnexB:A.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(L,!1,!S&&x);case 80:return S||this.unexpected(),this.parseClass(this.maybeTakeDecorators(K,L),!0);case 69:return this.parseIfStatement(L);case 70:return this.parseReturnStatement(L);case 71:return this.parseSwitchStatement(L);case 72:return this.parseThrowStatement(L);case 73:return this.parseTryStatement(L);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?S||this.raise(A.UnexpectedLexicalDeclaration,L):this.raise(A.AwaitUsingNotInAsyncContext,L),this.next(),this.parseVarStatement(L,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(A.UnexpectedUsingDeclaration,this.state.startLoc):S||this.raise(A.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(L,"using");case 100:{if(this.state.containsEsc)break;let FZ=this.nextTokenStart(),_Z=this.codePointAtPos(FZ);if(_Z!==91){if(!S&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(_Z,FZ)&&_Z!==123)break}}case 75:S||this.raise(A.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let FZ=this.state.value;return this.parseVarStatement(L,FZ)}case 92:return this.parseWhileStatement(L);case 76:return this.parseWithStatement(L);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(L);case 83:{let FZ=this.lookaheadCharCode();if(FZ===40||FZ===46)break}case 82:{let FZ;return this.options.allowImportExportEverywhere||e||this.raise(A.UnexpectedImportExport,this.state.startLoc),this.next(),B===83?(FZ=this.parseImport(L),FZ.type!=="ImportDeclaration"||FZ.importKind&&FZ.importKind!=="value"||(this.sawUnambiguousESM=!0)):(FZ=this.parseExport(L,K),(FZ.type!=="ExportNamedDeclaration"||FZ.exportKind&&FZ.exportKind!=="value")&&(FZ.type!=="ExportAllDeclaration"||FZ.exportKind&&FZ.exportKind!=="value")&&FZ.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(FZ),FZ}default:if(this.isAsyncFunction())return S||this.raise(A.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(L,!0,!S&&x)}let WZ=this.state.value,zZ=this.parseExpression();return b(B)&&zZ.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(L,WZ,zZ,H):this.parseExpressionStatement(L,zZ,K)}assertModuleNodeAllowed(H){this.options.allowImportExportEverywhere||this.inModule||this.raise(A.ImportOutsideModule,H)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(H,K,B){return H&&(K.decorators&&K.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(A.DecoratorsBeforeAfterExport,K.decorators[0]),K.decorators.unshift(...H)):K.decorators=H,this.resetStartLocationFromNode(K,H[0]),B&&this.resetStartLocationFromNode(B,K)),K}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(H){let K=[];do K.push(this.parseDecorator());while(this.match(26));if(this.match(82))H||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(A.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(A.UnexpectedLeadingDecorator,this.state.startLoc);return K}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let H=this.startNode();if(this.next(),this.hasPlugin("decorators")){let K=this.state.startLoc,B;if(this.match(10)){let L=this.state.startLoc;this.next(),B=this.parseExpression(),this.expect(11),B=this.wrapParenthesis(L,B);let S=this.state.startLoc;H.expression=this.parseMaybeDecoratorArguments(B),this.getPluginOption("decorators","allowCallParenthesized")===!1&&H.expression!==B&&this.raise(A.DecoratorArgumentsOutsideParentheses,S)}else{for(B=this.parseIdentifier(!1);this.eat(16);){let L=this.startNodeAt(K);L.object=B,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),L.property=this.parsePrivateName()):L.property=this.parseIdentifier(!0),L.computed=!1,B=this.finishNode(L,"MemberExpression")}H.expression=this.parseMaybeDecoratorArguments(B)}}else H.expression=this.parseExprSubscripts();return this.finishNode(H,"Decorator")}parseMaybeDecoratorArguments(H){if(this.eat(10)){let K=this.startNodeAtNode(H);return K.callee=H,K.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(K.arguments),this.finishNode(K,"CallExpression")}return H}parseBreakContinueStatement(H,K){return this.next(),this.isLineTerminator()?H.label=null:(H.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(H,K),this.finishNode(H,K?"BreakStatement":"ContinueStatement")}verifyBreakContinue(H,K){let B;for(B=0;B<this.state.labels.length;++B){let L=this.state.labels[B];if(H.label==null||L.name===H.label.name){if(L.kind!=null&&(K||L.kind===1))break;if(H.label&&K)break}}if(B===this.state.labels.length){let L=K?"BreakStatement":"ContinueStatement";this.raise(A.IllegalBreakContinue,H,{type:L})}}parseDebuggerStatement(H){return this.next(),this.semicolon(),this.finishNode(H,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let H=this.parseExpression();return this.expect(11),H}parseDoWhileStatement(H){return this.next(),this.state.labels.push(M5),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),H.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(H,"DoWhileStatement")}parseForStatement(H){this.next(),this.state.labels.push(M5);let K=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(K=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return K!==null&&this.unexpected(K),this.parseFor(H,null);let B=this.isContextual(100);{let WZ=this.isContextual(96)&&this.startsAwaitUsing(),zZ=WZ||this.isContextual(107)&&this.startsUsingForOf(),FZ=B&&this.hasFollowingBindingAtom()||zZ;if(this.match(74)||this.match(75)||FZ){let _Z=this.startNode(),oZ;WZ?(oZ="await using",this.recordAwaitIfAllowed()||this.raise(A.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):oZ=this.state.value,this.next(),this.parseVar(_Z,!0,oZ);let Z0=this.finishNode(_Z,"VariableDeclaration"),K0=this.match(58);return K0&&zZ&&this.raise(A.ForInUsing,Z0),(K0||this.isContextual(102))&&Z0.declarations.length===1?this.parseForIn(H,Z0,K):(K!==null&&this.unexpected(K),this.parseFor(H,Z0))}}let L=this.isContextual(95),S=new g0,x=this.parseExpression(!0,S),e=this.isContextual(102);if(e&&(B&&this.raise(A.ForOfLet,x),K===null&&L&&x.type==="Identifier"&&this.raise(A.ForOfAsync,x)),e||this.match(58)){this.checkDestructuringPrivate(S),this.toAssignable(x,!0);let WZ=e?"ForOfStatement":"ForInStatement";return this.checkLVal(x,{type:WZ}),this.parseForIn(H,x,K)}return this.checkExpressionErrors(S,!0),K!==null&&this.unexpected(K),this.parseFor(H,x)}parseFunctionStatement(H,K,B){return this.next(),this.parseFunction(H,1|(B?2:0)|(K?8:0))}parseIfStatement(H){return this.next(),H.test=this.parseHeaderExpression(),H.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),H.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(H,"IfStatement")}parseReturnStatement(H){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(A.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?H.argument=null:(H.argument=this.parseExpression(),this.semicolon()),this.finishNode(H,"ReturnStatement")}parseSwitchStatement(H){this.next(),H.discriminant=this.parseHeaderExpression();let K=H.cases=[],B;this.expect(5),this.state.labels.push(f5),this.scope.enter(0);for(let L;!this.match(8);)if(this.match(61)||this.match(65)){let S=this.match(61);B&&this.finishNode(B,"SwitchCase"),K.push(B=this.startNode()),B.consequent=[],this.next(),S?B.test=this.parseExpression():(L&&this.raise(A.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),L=!0,B.test=null),this.expect(14)}else B?B.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),B&&this.finishNode(B,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(H,"SwitchStatement")}parseThrowStatement(H){return this.next(),this.hasPrecedingLineBreak()&&this.raise(A.NewlineAfterThrow,this.state.lastTokEndLoc),H.argument=this.parseExpression(),this.semicolon(),this.finishNode(H,"ThrowStatement")}parseCatchClauseParam(){let H=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&H.type==="Identifier"?8:0),this.checkLVal(H,{type:"CatchClause"},9),H}parseTryStatement(H){if(this.next(),H.block=this.parseBlock(),H.handler=null,this.match(62)){let K=this.startNode();this.next(),this.match(10)?(this.expect(10),K.param=this.parseCatchClauseParam(),this.expect(11)):(K.param=null,this.scope.enter(0)),K.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),H.handler=this.finishNode(K,"CatchClause")}return H.finalizer=this.eat(67)?this.parseBlock():null,H.handler||H.finalizer||this.raise(A.NoCatchOrFinally,H),this.finishNode(H,"TryStatement")}parseVarStatement(H,K,B=!1){return this.next(),this.parseVar(H,!1,K,B),this.semicolon(),this.finishNode(H,"VariableDeclaration")}parseWhileStatement(H){return this.next(),H.test=this.parseHeaderExpression(),this.state.labels.push(M5),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(H,"WhileStatement")}parseWithStatement(H){return this.state.strict&&this.raise(A.StrictWith,this.state.startLoc),this.next(),H.object=this.parseHeaderExpression(),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(H,"WithStatement")}parseEmptyStatement(H){return this.next(),this.finishNode(H,"EmptyStatement")}parseLabeledStatement(H,K,B,L){for(let e of this.state.labels)e.name===K&&this.raise(A.LabelRedeclaration,B,{labelName:K});let S=(x=this.state.type)>=90&&x<=92?1:this.match(71)?2:null;var x;for(let e=this.state.labels.length-1;e>=0;e--){let WZ=this.state.labels[e];if(WZ.statementStart!==H.start)break;WZ.statementStart=this.sourceToOffsetPos(this.state.start),WZ.kind=S}return this.state.labels.push({name:K,kind:S,statementStart:this.sourceToOffsetPos(this.state.start)}),H.body=8&L?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),H.label=B,this.finishNode(H,"LabeledStatement")}parseExpressionStatement(H,K,B){return H.expression=K,this.semicolon(),this.finishNode(H,"ExpressionStatement")}parseBlock(H=!1,K=!0,B){let L=this.startNode();return H&&this.state.strictErrors.clear(),this.expect(5),K&&this.scope.enter(0),this.parseBlockBody(L,H,!1,8,B),K&&this.scope.exit(),this.finishNode(L,"BlockStatement")}isValidDirective(H){return H.type==="ExpressionStatement"&&H.expression.type==="StringLiteral"&&!H.expression.extra.parenthesized}parseBlockBody(H,K,B,L,S){let x=H.body=[],e=H.directives=[];this.parseBlockOrModuleBlockBody(x,K?e:void 0,B,L,S)}parseBlockOrModuleBlockBody(H,K,B,L,S){let x=this.state.strict,e=!1,WZ=!1;for(;!this.match(L);){let zZ=B?this.parseModuleItem():this.parseStatementListItem();if(K&&!WZ){if(this.isValidDirective(zZ)){let FZ=this.stmtToDirective(zZ);K.push(FZ),e||FZ.value.value!=="use strict"||(e=!0,this.setStrict(!0));continue}WZ=!0,this.state.strictErrors.clear()}H.push(zZ)}S==null||S.call(this,e),x||this.setStrict(!1),this.next()}parseFor(H,K){return H.init=K,this.semicolon(!1),H.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),H.update=this.match(11)?null:this.parseExpression(),this.expect(11),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(H,"ForStatement")}parseForIn(H,K,B){let L=this.match(58);return this.next(),L?B!==null&&this.unexpected(B):H.await=B!==null,K.type!=="VariableDeclaration"||K.declarations[0].init==null||L&&this.options.annexB&&!this.state.strict&&K.kind==="var"&&K.declarations[0].id.type==="Identifier"||this.raise(A.ForInOfLoopInitializer,K,{type:L?"ForInStatement":"ForOfStatement"}),K.type==="AssignmentPattern"&&this.raise(A.InvalidLhs,K,{ancestor:{type:"ForStatement"}}),H.left=K,H.right=L?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),H.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(H,L?"ForInStatement":"ForOfStatement")}parseVar(H,K,B,L=!1){let S=H.declarations=[];for(H.kind=B;;){let x=this.startNode();if(this.parseVarId(x,B),x.init=this.eat(29)?K?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,x.init!==null||L||(x.id.type==="Identifier"||K&&(this.match(58)||this.isContextual(102))?B!=="const"&&B!=="using"&&B!=="await using"||this.match(58)||this.isContextual(102)||this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:B}):this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),S.push(this.finishNode(x,"VariableDeclarator")),!this.eat(12))break}return H}parseVarId(H,K){let B=this.parseBindingAtom();K!=="using"&&K!=="await using"||B.type!=="ArrayPattern"&&B.type!=="ObjectPattern"||this.raise(A.UsingDeclarationHasBindingPattern,B.loc.start),this.checkLVal(B,{type:"VariableDeclarator"},K==="var"?5:8201),H.id=B}parseAsyncFunctionExpression(H){return this.parseFunction(H,8)}parseFunction(H,K=0){let B=2&K,L=!!(1&K),S=L&&!(4&K),x=!!(8&K);this.initFunction(H,x),this.match(55)&&(B&&this.raise(A.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),H.generator=!0),L&&(H.id=this.parseFunctionId(S));let e=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(F5(x,H.generator)),L||(H.id=this.parseFunctionId()),this.parseFunctionParams(H,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(H,L?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),L&&!B&&this.registerFunctionStatementId(H),this.state.maybeInArrowParameters=e,H}parseFunctionId(H){return H||b(this.state.type)?this.parseIdentifier():null}parseFunctionParams(H,K){this.expect(10),this.expressionScope.enter(new J5(3)),H.params=this.parseBindingList(11,41,2|(K?4:0)),this.expressionScope.exit()}registerFunctionStatementId(H){H.id&&this.scope.declareName(H.id.name,!this.options.annexB||this.state.strict||H.generator||H.async?this.scope.treatFunctionsAsVar?5:8201:17,H.id.loc.start)}parseClass(H,K,B){this.next();let L=this.state.strict;return this.state.strict=!0,this.parseClassId(H,K,B),this.parseClassSuper(H),H.body=this.parseClassBody(!!H.superClass,L),this.finishNode(H,K?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(H){return H.type==="Identifier"&&H.name==="constructor"||H.type==="StringLiteral"&&H.value==="constructor"}isNonstaticConstructor(H){return!H.computed&&!H.static&&this.nameIsConstructor(H.key)}parseClassBody(H,K){this.classScope.enter();let B={hadConstructor:!1,hadSuperClass:H},L=[],S=this.startNode();if(S.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(L.length>0)throw this.raise(A.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){L.push(this.parseDecorator());continue}let x=this.startNode();L.length&&(x.decorators=L,this.resetStartLocationFromNode(x,L[0]),L=[]),this.parseClassMember(S,x,B),x.kind==="constructor"&&x.decorators&&x.decorators.length>0&&this.raise(A.DecoratorConstructor,x)}}),this.state.strict=K,this.next(),L.length)throw this.raise(A.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(S,"ClassBody")}parseClassMemberFromModifier(H,K){let B=this.parseIdentifier(!0);if(this.isClassMethod()){let L=K;return L.kind="method",L.computed=!1,L.key=B,L.static=!1,this.pushClassMethod(H,L,!1,!1,!1,!1),!0}if(this.isClassProperty()){let L=K;return L.computed=!1,L.key=B,L.static=!1,H.body.push(this.parseClassProperty(L)),!0}return this.resetPreviousNodeTrailingComments(B),!1}parseClassMember(H,K,B){let L=this.isContextual(106);if(L){if(this.parseClassMemberFromModifier(H,K))return;if(this.eat(5))return void this.parseClassStaticBlock(H,K)}this.parseClassMemberWithIsStatic(H,K,B,L)}parseClassMemberWithIsStatic(H,K,B,L){let S=K,x=K,e=K,WZ=K,zZ=K,FZ=S,_Z=S;if(K.static=L,this.parsePropertyNamePrefixOperator(K),this.eat(55)){FZ.kind="method";let S0=this.match(139);return this.parseClassElementName(FZ),S0?void this.pushClassPrivateMethod(H,x,!0,!1):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsGenerator,S.key),void this.pushClassMethod(H,S,!0,!1,!1,!1))}let oZ=!this.state.containsEsc&&b(this.state.type),Z0=this.parseClassElementName(K),K0=oZ?Z0.name:null,D0=this.isPrivateName(Z0),r0=this.state.startLoc;if(this.parsePostMemberNameModifiers(_Z),this.isClassMethod()){if(FZ.kind="method",D0)return void this.pushClassPrivateMethod(H,x,!1,!1);let S0=this.isNonstaticConstructor(S),k0=!1;S0&&(S.kind="constructor",B.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(A.DuplicateConstructor,Z0),S0&&this.hasPlugin("typescript")&&K.override&&this.raise(A.OverrideOnConstructor,Z0),B.hadConstructor=!0,k0=B.hadSuperClass),this.pushClassMethod(H,S,!1,!1,S0,k0)}else if(this.isClassProperty())D0?this.pushClassPrivateProperty(H,WZ):this.pushClassProperty(H,e);else if(K0!=="async"||this.isLineTerminator())if(K0!=="get"&&K0!=="set"||this.match(55)&&this.isLineTerminator())if(K0!=="accessor"||this.isLineTerminator())this.isLineTerminator()?D0?this.pushClassPrivateProperty(H,WZ):this.pushClassProperty(H,e):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Z0);let S0=this.match(139);this.parseClassElementName(e),this.pushClassAccessorProperty(H,zZ,S0)}else{this.resetPreviousNodeTrailingComments(Z0),FZ.kind=K0;let S0=this.match(139);this.parseClassElementName(S),S0?this.pushClassPrivateMethod(H,x,!1,!1):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsAccessor,S.key),this.pushClassMethod(H,S,!1,!1,!1,!1)),this.checkGetterSetterParams(S)}else{this.resetPreviousNodeTrailingComments(Z0);let S0=this.eat(55);_Z.optional&&this.unexpected(r0),FZ.kind="method";let k0=this.match(139);this.parseClassElementName(FZ),this.parsePostMemberNameModifiers(_Z),k0?this.pushClassPrivateMethod(H,x,S0,!0):(this.isNonstaticConstructor(S)&&this.raise(A.ConstructorIsAsync,S.key),this.pushClassMethod(H,S,S0,!0,!1,!1))}}parseClassElementName(H){let{type:K,value:B}=this.state;if(K!==132&&K!==134||!H.static||B!=="prototype"||this.raise(A.StaticPrototype,this.state.startLoc),K===139){B==="constructor"&&this.raise(A.ConstructorClassPrivateField,this.state.startLoc);let L=this.parsePrivateName();return H.key=L,L}return this.parsePropertyName(H),H.key}parseClassStaticBlock(H,K){var B;this.scope.enter(208);let L=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let S=K.body=[];this.parseBlockOrModuleBlockBody(S,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=L,H.body.push(this.finishNode(K,"StaticBlock")),(B=K.decorators)!=null&&B.length&&this.raise(A.DecoratorStaticBlock,K)}pushClassProperty(H,K){!K.computed&&this.nameIsConstructor(K.key)&&this.raise(A.ConstructorClassField,K.key),H.body.push(this.parseClassProperty(K))}pushClassPrivateProperty(H,K){let B=this.parseClassPrivateProperty(K);H.body.push(B),this.classScope.declarePrivateName(this.getPrivateNameSV(B.key),0,B.key.loc.start)}pushClassAccessorProperty(H,K,B){B||K.computed||!this.nameIsConstructor(K.key)||this.raise(A.ConstructorClassField,K.key);let L=this.parseClassAccessorProperty(K);H.body.push(L),B&&this.classScope.declarePrivateName(this.getPrivateNameSV(L.key),0,L.key.loc.start)}pushClassMethod(H,K,B,L,S,x){H.body.push(this.parseMethod(K,B,L,S,x,"ClassMethod",!0))}pushClassPrivateMethod(H,K,B,L){let S=this.parseMethod(K,B,L,!1,!1,"ClassPrivateMethod",!0);H.body.push(S);let x=S.kind==="get"?S.static?6:2:S.kind==="set"?S.static?5:1:0;this.declareClassPrivateMethodInScope(S,x)}declareClassPrivateMethodInScope(H,K){this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),K,H.key.loc.start)}parsePostMemberNameModifiers(H){}parseClassPrivateProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassPrivateProperty")}parseClassProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassProperty")}parseClassAccessorProperty(H){return this.parseInitializer(H),this.semicolon(),this.finishNode(H,"ClassAccessorProperty")}parseInitializer(H){this.scope.enter(80),this.expressionScope.enter(S5()),this.prodParam.enter(0),H.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(H,K,B,L=8331){if(b(this.state.type))H.id=this.parseIdentifier(),K&&this.declareNameFromIdentifier(H.id,L);else{if(!B&&K)throw this.raise(A.MissingClassName,this.state.startLoc);H.id=null}}parseClassSuper(H){H.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(H,K){let B=this.parseMaybeImportPhase(H,!0),L=this.maybeParseExportDefaultSpecifier(H,B),S=!L||this.eat(12),x=S&&this.eatExportStar(H),e=x&&this.maybeParseExportNamespaceSpecifier(H),WZ=S&&(!e||this.eat(12)),zZ=L||x;if(x&&!e){if(L&&this.unexpected(),K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.parseExportFrom(H,!0),this.finishNode(H,"ExportAllDeclaration")}let FZ=this.maybeParseExportNamedSpecifiers(H),_Z;if(L&&S&&!x&&!FZ&&this.unexpected(null,5),e&&WZ&&this.unexpected(null,98),zZ||FZ){if(_Z=!1,K)throw this.raise(A.UnsupportedDecoratorExport,H);this.parseExportFrom(H,zZ)}else _Z=this.maybeParseExportDeclaration(H);if(zZ||FZ||_Z){var oZ;let Z0=H;if(this.checkExport(Z0,!0,!1,!!Z0.source),((oZ=Z0.declaration)==null?void 0:oZ.type)==="ClassDeclaration")this.maybeTakeDecorators(K,Z0.declaration,Z0);else if(K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.finishNode(Z0,"ExportNamedDeclaration")}if(this.eat(65)){let Z0=H,K0=this.parseExportDefaultExpression();if(Z0.declaration=K0,K0.type==="ClassDeclaration")this.maybeTakeDecorators(K,K0,Z0);else if(K)throw this.raise(A.UnsupportedDecoratorExport,H);return this.checkExport(Z0,!0,!0),this.finishNode(Z0,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(H){return this.eat(55)}maybeParseExportDefaultSpecifier(H,K){if(K||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",K==null?void 0:K.loc.start);let B=K||this.parseIdentifier(!0),L=this.startNodeAtNode(B);return L.exported=B,H.specifiers=[this.finishNode(L,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(H){if(this.isContextual(93)){var K;(K=H).specifiers!=null||(K.specifiers=[]);let B=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),B.exported=this.parseModuleExportName(),H.specifiers.push(this.finishNode(B,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(H){if(this.match(5)){let K=H;K.specifiers||(K.specifiers=[]);let B=K.exportKind==="type";return K.specifiers.push(...this.parseExportSpecifiers(B)),K.source=null,K.declaration=null,this.hasPlugin("importAssertions")&&(K.assertions=[]),!0}return!1}maybeParseExportDeclaration(H){return!!this.shouldParseExportDeclaration()&&(H.specifiers=[],H.source=null,this.hasPlugin("importAssertions")&&(H.assertions=[]),H.declaration=this.parseExportDeclaration(H),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let H=this.nextTokenInLineStart();return this.isUnparsedContextual(H,"function")}parseExportDefaultExpression(){let H=this.startNode();if(this.match(68))return this.next(),this.parseFunction(H,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(H,13);if(this.match(80))return this.parseClass(H,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(A.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(A.UnsupportedDefaultExport,this.state.startLoc);let K=this.parseMaybeAssignAllowIn();return this.semicolon(),K}parseExportDeclaration(H){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:H}=this.state;if(b(H)){if(H===95&&!this.state.containsEsc||H===100)return!1;if((H===130||H===129)&&!this.state.containsEsc){let{type:L}=this.lookahead();if(b(L)&&L!==98||L===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let K=this.nextTokenStart(),B=this.isUnparsedContextual(K,"from");if(this.input.charCodeAt(K)===44||b(this.state.type)&&B)return!0;if(this.match(65)&&B){let L=this.input.charCodeAt(this.nextTokenStartSince(K+4));return L===34||L===39}return!1}parseExportFrom(H,K){this.eatContextual(98)?(H.source=this.parseImportSource(),this.checkExport(H),this.maybeParseImportAttributes(H),this.checkJSONModuleImport(H)):K&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:H}=this.state;return H===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(A.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(A.UsingDeclarationExport,this.state.startLoc),!0):H===74||H===75||H===68||H===80||this.isLet()||this.isAsyncFunction()}checkExport(H,K,B,L){var S;if(K){if(B){if(this.checkDuplicateExports(H,"default"),this.hasPlugin("exportDefaultFrom")){var x;let e=H.declaration;e.type!=="Identifier"||e.name!=="from"||e.end-e.start!=4||(x=e.extra)!=null&&x.parenthesized||this.raise(A.ExportDefaultFromAsIdentifier,e)}}else if((S=H.specifiers)!=null&&S.length)for(let e of H.specifiers){let{exported:WZ}=e,zZ=WZ.type==="Identifier"?WZ.name:WZ.value;if(this.checkDuplicateExports(e,zZ),!L&&e.local){let{local:FZ}=e;FZ.type!=="Identifier"?this.raise(A.ExportBindingIsString,e,{localName:FZ.value,exportName:zZ}):(this.checkReservedWord(FZ.name,FZ.loc.start,!0,!1),this.scope.checkLocalExport(FZ))}}else if(H.declaration){let e=H.declaration;if(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"){let{id:WZ}=e;if(!WZ)throw Error("Assertion failure");this.checkDuplicateExports(H,WZ.name)}else if(e.type==="VariableDeclaration")for(let WZ of e.declarations)this.checkDeclaration(WZ.id)}}}checkDeclaration(H){if(H.type==="Identifier")this.checkDuplicateExports(H,H.name);else if(H.type==="ObjectPattern")for(let K of H.properties)this.checkDeclaration(K);else if(H.type==="ArrayPattern")for(let K of H.elements)K&&this.checkDeclaration(K);else H.type==="ObjectProperty"?this.checkDeclaration(H.value):H.type==="RestElement"?this.checkDeclaration(H.argument):H.type==="AssignmentPattern"&&this.checkDeclaration(H.left)}checkDuplicateExports(H,K){this.exportedIdentifiers.has(K)&&(K==="default"?this.raise(A.DuplicateDefaultExport,H):this.raise(A.DuplicateExport,H,{exportName:K})),this.exportedIdentifiers.add(K)}parseExportSpecifiers(H){let K=[],B=!0;for(this.expect(5);!this.eat(8);){if(B)B=!1;else if(this.expect(12),this.eat(8))break;let L=this.isContextual(130),S=this.match(134),x=this.startNode();x.local=this.parseModuleExportName(),K.push(this.parseExportSpecifier(x,S,H,L))}return K}parseExportSpecifier(H,K,B,L){return this.eatContextual(93)?H.exported=this.parseModuleExportName():K?H.exported=T5(H.local):H.exported||(H.exported=W5(H.local)),this.finishNode(H,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let H=this.parseStringLiteral(this.state.value),K=m5.exec(H.value);return K&&this.raise(A.ModuleExportNameHasLoneSurrogate,H,{surrogateCharCode:K[0].charCodeAt(0)}),H}return this.parseIdentifier(!0)}isJSONModuleImport(H){return H.assertions!=null&&H.assertions.some(({key:K,value:B})=>B.value==="json"&&(K.type==="Identifier"?K.name==="type":K.value==="type"))}checkImportReflection(H){let{specifiers:K}=H,B=K.length===1?K[0].type:null;if(H.phase==="source")B!=="ImportDefaultSpecifier"&&this.raise(A.SourcePhaseImportRequiresDefault,K[0].loc.start);else if(H.phase==="defer")B!=="ImportNamespaceSpecifier"&&this.raise(A.DeferImportRequiresNamespace,K[0].loc.start);else if(H.module){var L;B!=="ImportDefaultSpecifier"&&this.raise(A.ImportReflectionNotBinding,K[0].loc.start),((L=H.assertions)==null?void 0:L.length)>0&&this.raise(A.ImportReflectionHasAssertion,K[0].loc.start)}}checkJSONModuleImport(H){if(this.isJSONModuleImport(H)&&H.type!=="ExportAllDeclaration"){let{specifiers:K}=H;if(K!=null){let B=K.find((L)=>{let S;if(L.type==="ExportSpecifier"?S=L.local:L.type==="ImportSpecifier"&&(S=L.imported),S!==void 0)return S.type==="Identifier"?S.name!=="default":S.value!=="default"});B!==void 0&&this.raise(A.ImportJSONBindingNotDefault,B.loc.start)}}}isPotentialImportPhase(H){return!H&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(H,K,B,L){K||(B==="module"?(this.expectPlugin("importReflection",L),H.module=!0):this.hasPlugin("importReflection")&&(H.module=!1),B==="source"?(this.expectPlugin("sourcePhaseImports",L),H.phase="source"):B==="defer"?(this.expectPlugin("deferredImportEvaluation",L),H.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(H.phase=null))}parseMaybeImportPhase(H,K){if(!this.isPotentialImportPhase(K))return this.applyImportPhase(H,K,null),null;let B=this.parseIdentifier(!0),{type:L}=this.state;return(p(L)?L!==98||this.lookaheadCharCode()===102:L!==12)?(this.resetPreviousIdentifierLeadingComments(B),this.applyImportPhase(H,K,B.name,B.loc.start),null):(this.applyImportPhase(H,K,null),B)}isPrecedingIdImportPhase(H){let{type:K}=this.state;return b(K)?K!==98||this.lookaheadCharCode()===102:K!==12}parseImport(H){return this.match(134)?this.parseImportSourceAndAttributes(H):this.parseImportSpecifiersAndAfter(H,this.parseMaybeImportPhase(H,!1))}parseImportSpecifiersAndAfter(H,K){H.specifiers=[];let B=!this.maybeParseDefaultImportSpecifier(H,K)||this.eat(12),L=B&&this.maybeParseStarImportSpecifier(H);return B&&!L&&this.parseNamedImportSpecifiers(H),this.expectContextual(98),this.parseImportSourceAndAttributes(H)}parseImportSourceAndAttributes(H){return H.specifiers!=null||(H.specifiers=[]),H.source=this.parseImportSource(),this.maybeParseImportAttributes(H),this.checkImportReflection(H),this.checkJSONModuleImport(H),this.semicolon(),this.finishNode(H,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(H,K,B){K.local=this.parseIdentifier(),H.specifiers.push(this.finishImportSpecifier(K,B))}finishImportSpecifier(H,K,B=8201){return this.checkLVal(H.local,{type:K},B),this.finishNode(H,K)}parseImportAttributes(){this.expect(5);let H=[],K=new Set;do{if(this.match(8))break;let B=this.startNode(),L=this.state.value;if(K.has(L)&&this.raise(A.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:L}),K.add(L),this.match(134)?B.key=this.parseStringLiteral(L):B.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),H.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return this.expect(8),H}parseModuleAttributes(){let H=[],K=new Set;do{let B=this.startNode();if(B.key=this.parseIdentifier(!0),B.key.name!=="type"&&this.raise(A.ModuleAttributeDifferentFromType,B.key),K.has(B.key.name)&&this.raise(A.ModuleAttributesWithDuplicateKeys,B.key,{key:B.key.name}),K.add(B.key.name),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);B.value=this.parseStringLiteral(this.state.value),H.push(this.finishNode(B,"ImportAttribute"))}while(this.eat(12));return H}maybeParseImportAttributes(H){let K;var B=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),K=this.hasPlugin("moduleAttributes")?this.parseModuleAttributes():this.parseImportAttributes(),B=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(A.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(H,"deprecatedAssertSyntax",!0),this.next(),K=this.parseImportAttributes()):K=[];!B&&this.hasPlugin("importAssertions")?H.assertions=K:H.attributes=K}maybeParseDefaultImportSpecifier(H,K){if(K){let B=this.startNodeAtNode(K);return B.local=K,H.specifiers.push(this.finishImportSpecifier(B,"ImportDefaultSpecifier")),!0}return!!p(this.state.type)&&(this.parseImportSpecifierLocal(H,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(H){if(this.match(55)){let K=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(H,K,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(H){let K=!0;for(this.expect(5);!this.eat(8);){if(K)K=!1;else{if(this.eat(14))throw this.raise(A.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let B=this.startNode(),L=this.match(134),S=this.isContextual(130);B.imported=this.parseModuleExportName();let x=this.parseImportSpecifier(B,L,H.importKind==="type"||H.importKind==="typeof",S,void 0);H.specifiers.push(x)}}parseImportSpecifier(H,K,B,L,S){if(this.eatContextual(93))H.local=this.parseIdentifier();else{let{imported:x}=H;if(K)throw this.raise(A.ImportBindingIsString,H,{importName:x.value});this.checkReservedWord(x.name,H.loc.start,!0,!0),H.local||(H.local=W5(x))}return this.finishImportSpecifier(H,"ImportSpecifier",S)}isThisParam(H){return H.type==="Identifier"&&H.name==="this"}}class x5 extends c5{constructor(H,K,B){super(H=function(L){let S={sourceType:"script",sourceFilename:void 0,startIndex: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};if(L==null)return S;if(L.annexB!=null&&L.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");for(let x of Object.keys(S))L[x]!=null&&(S[x]=L[x]);if(S.startLine===1)L.startIndex==null&&S.startColumn>0?S.startIndex=S.startColumn:L.startColumn==null&&S.startIndex>0&&(S.startColumn=S.startIndex);else if((L.startColumn==null||L.startIndex==null)&&L.startIndex!=null)throw Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return S}(H),K),this.options=H,this.initializeScopes(),this.plugins=B,this.filename=H.sourceFilename,this.startIndex=H.startIndex}getScopeHandler(){return qZ}parse(){this.enterInitialScopes();let H=this.startNode(),K=this.startNode();return this.nextToken(),H.errors=null,this.parseTopLevel(H,K),H.errors=this.state.errors,H.comments.length=this.state.commentsLen,H}}let l5=function(H){let K={};for(let B of Object.keys(H))K[B]=XZ(H[B]);return K}(m);function R0(H,K){let B=x5,L=new Map;if(H!=null&&H.plugins){for(let S of H.plugins){let x,e;typeof S=="string"?x=S:[x,e]=S,L.has(x)||L.set(x,e||{})}(function(S){if(S.has("decorators")){if(S.has("decorators-legacy"))throw Error("Cannot use the decorators and decorators-legacy plugin together");let e=S.get("decorators").decoratorsBeforeExport;if(e!=null&&typeof e!="boolean")throw Error("'decoratorsBeforeExport' must be a boolean, if specified.");let WZ=S.get("decorators").allowCallParenthesized;if(WZ!=null&&typeof WZ!="boolean")throw Error("'allowCallParenthesized' must be a boolean.")}if(S.has("flow")&&S.has("typescript"))throw Error("Cannot combine flow and typescript plugins.");if(S.has("placeholders")&&S.has("v8intrinsic"))throw Error("Cannot combine placeholders and v8intrinsic plugins.");if(S.has("pipelineOperator")){var x;let e=S.get("pipelineOperator").proposal;if(!o0.includes(e)){let zZ=o0.map((FZ)=>`"${FZ}"`).join(", ");throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${zZ}.`)}let WZ=((x=S.get("recordAndTuple"))==null?void 0:x.syntaxType)==="hash";if(e==="hack"){if(S.has("placeholders"))throw Error("Cannot combine placeholders plugin and Hack-style pipes.");if(S.has("v8intrinsic"))throw Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let zZ=S.get("pipelineOperator").topicToken;if(!U0.includes(zZ)){let FZ=U0.map((_Z)=>`"${_Z}"`).join(", ");throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${FZ}.`)}if(zZ==="#"&&WZ)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",S.get("recordAndTuple")])}\`.`)}else if(e==="smart"&&WZ)throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",S.get("recordAndTuple")])}\`.`)}if(S.has("moduleAttributes")){if(S.has("deprecatedImportAssert")||S.has("importAssertions"))throw Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(S.get("moduleAttributes").version!=="may-2020")throw Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(S.has("importAssertions")&&S.has("deprecatedImportAssert"))throw Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!S.has("deprecatedImportAssert")&&S.has("importAttributes")&&S.get("importAttributes").deprecatedAssertSyntax&&S.set("deprecatedImportAssert",{}),S.has("recordAndTuple")){let e=S.get("recordAndTuple").syntaxType;if(e!=null){let WZ=["hash","bar"];if(!WZ.includes(e))throw Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+WZ.map((zZ)=>`'${zZ}'`).join(", "))}}if(S.has("asyncDoExpressions")&&!S.has("doExpressions")){let e=Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(S.has("optionalChainingAssign")&&S.get("optionalChainingAssign").version!=="2023-07")throw Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")})(L),B=function(S){let x=[];for(let zZ of R5)S.has(zZ)&&x.push(zZ);let e=x.join("|"),WZ=N5.get(e);if(!WZ){WZ=x5;for(let zZ of x)WZ=Z5[zZ](WZ);N5.set(e,WZ)}return WZ}(L)}return new B(H,K,L)}let N5=new Map;X.parse=function(H,K){var B;if(((B=K)==null?void 0:B.sourceType)!=="unambiguous")return R0(K,H).parse();K=Object.assign({},K);try{K.sourceType="module";let L=R0(K,H),S=L.parse();if(L.sawUnambiguousESM)return S;if(L.ambiguousScriptDifferentAst)try{return K.sourceType="script",R0(K,H).parse()}catch(x){}else S.program.sourceType="script";return S}catch(L){try{return K.sourceType="script",R0(K,H).parse()}catch(S){}throw L}},X.parseExpression=function(H,K){let B=R0(K,H);return B.options.strictMode&&(B.state.strict=!0),B.getExpression()},X.tokTypes=l5},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),j=$("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),O=$("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),Z=$("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");X.default=(0,Y.declare)((Q,R)=>{Q.assertVersion(7);var{legacy:N}=R;let{version:U}=R;if(N||U==="legacy")return{name:"proposal-decorators",inherits:j.default,visitor:Z.default};if(U&&U!=="2018-09"&&U!=="2021-12"&&U!=="2022-03"&&U!=="2023-01"&&U!=="2023-05"&&U!=="2023-11")throw Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return Q.assertVersion("^7.0.2"),(0,O.createClassFeaturePlugin)({name:"proposal-decorators",api:Q,feature:O.FEATURES.decorators,inherits:j.default,decoratorVersion:U})})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(n,X,$)=>{Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var Y=$("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");let j=Y.template.statement(`
|
|
349
349
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
350
350
|
`),O=(0,Y.template)(`
|
|
351
351
|
CLASS_REF.prototype;
|
|
@@ -443,4 +443,4 @@ ${Q}`)};let $=new Set},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@b
|
|
|
443
443
|
`+NZ+"]"}return s.pop(),SZ=NZ,c}(jZ):function(JZ){if(s.indexOf(JZ)>=0)throw TypeError("Converting circular structure to JSON5");s.push(JZ);let NZ=SZ;SZ+=CZ;let c,TZ=HZ||Object.keys(JZ),nZ=[];for(let sZ of TZ){let Q0=XZ(sZ,JZ);if(Q0!==void 0){let dZ=OZ(sZ)+":";CZ!==""&&(dZ+=" "),dZ+=Q0,nZ.push(dZ)}}if(nZ.length===0)c="{}";else{let sZ;if(CZ==="")sZ=nZ.join(","),c="{"+sZ+"}";else{let Q0=`,
|
|
444
444
|
`+SZ;sZ=nZ.join(Q0),c=`{
|
|
445
445
|
`+SZ+sZ+`,
|
|
446
|
-
`+NZ+"}"}}return s.pop(),SZ=NZ,c}(jZ):void 0}function YZ(UZ){let VZ={"'":0.1,'"':0.2},jZ={"'":"\\'",'"':"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},JZ="";for(let c=0;c<UZ.length;c++){let TZ=UZ[c];switch(TZ){case"'":case'"':VZ[TZ]++,JZ+=TZ;continue;case"\x00":if(j.isDigit(UZ[c+1])){JZ+="\\x00";continue}}if(jZ[TZ])JZ+=jZ[TZ];else if(TZ<" "){let nZ=TZ.charCodeAt(0).toString(16);JZ+="\\x"+("00"+nZ).substring(nZ.length)}else JZ+=TZ}let NZ=AZ||Object.keys(VZ).reduce((c,TZ)=>VZ[c]<VZ[TZ]?c:TZ);return JZ=JZ.replace(new RegExp(NZ,"g"),jZ[NZ]),NZ+JZ+NZ}function OZ(UZ){if(UZ.length===0)return YZ(UZ);let VZ=String.fromCodePoint(UZ.codePointAt(0));if(!j.isIdStartChar(VZ))return YZ(UZ);for(let jZ=VZ.length;jZ<UZ.length;jZ++)if(!j.isIdContinueChar(String.fromCodePoint(UZ.codePointAt(jZ))))return YZ(UZ);return UZ}}}},"./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/package.json":(n)=>{n.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.26.0","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.25.9","@babel/helper-validator-option":"^7.25.9","@babel/plugin-syntax-jsx":"^7.25.9","@babel/plugin-transform-modules-commonjs":"^7.25.9","@babel/plugin-transform-typescript":"^7.25.9"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.26.0","@babel/helper-plugin-test-runner":"^7.25.9"},"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":(n)=>{n.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}}')}},$0={};function X0(n){var X=$0[n];if(X!==void 0)return X.exports;var $=$0[n]={exports:{}};return tZ[n].call($.exports,$,$.exports,X0),$.exports}X0.d=(n,X)=>{for(var $ in X)X0.o(X,$)&&!X0.o(n,$)&&Object.defineProperty(n,$,{enumerable:!0,get:X[$]})},X0.o=(n,X)=>Object.prototype.hasOwnProperty.call(n,X),X0.r=(n)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var a0={};(()=>{X0.d(a0,{default:()=>O});var n=X0("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),X=X0("url"),$=X0("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");function Y(Z,Q){return{name:"transform-import-meta",visitor:{Program(R){let N=[];if(R.traverse({MemberExpression(U){let{node:M}=U;M.object.type==="MetaProperty"&&M.object.meta.name==="import"&&M.object.property.name==="meta"&&M.property.type==="Identifier"&&M.property.name==="url"&&N.push(U)}}),N.length!==0)for(let U of N)U.replaceWith($.smart.ast`${Q.filename?JSON.stringify((0,X.pathToFileURL)(Q.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function j({template:Z,types:Q}){return{name:"@import-meta-env/babel",visitor:{Identifier(R){if(!Q.isIdentifier(R))return;if(!Q.isMemberExpression(R.parentPath)&&!Q.isOptionalMemberExpression(R.parentPath))return;if(!Q.isMemberExpression(R.parentPath.node))return;let N=R.parentPath.node;if(!Q.isMetaProperty(N.object))return;let U=N.object;U.meta.name==="import"&&U.property.name==="meta"&&N.property.name==="env"&&R.parentPath.replaceWith(Z.expression.ast("process.env"))}}}}function O(Z){var Q,R,N,U,M,G;let z=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof Z.retainLines!="boolean"||Z.retainLines,filename:"",cwd:"/"},Z.babel),{plugins:[[X0("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[X0("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[Y,{filename:Z.filename}],[X0("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[X0("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[j]]});Z.ts&&(z.plugins.push([X0("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),z.plugins.unshift([X0("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[X0("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),z.plugins.push(X0("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.26.0_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),Z.legacy&&(z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),Z.babel&&Array.isArray(Z.babel.plugins)&&((Q=z.plugins)===null||Q===void 0||Q.push(...Z.babel.plugins));try{return{code:((R=(0,n.transformSync)(Z.source,z))===null||R===void 0?void 0:R.code)||""}}catch(V){return{error:V,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:Z.filename,line:((N=V.loc)===null||N===void 0?void 0:N.line)||0,column:((U=V.loc)===null||U===void 0?void 0:U.column)||0,code:(M=V.code)===null||M===void 0?void 0:M.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(G=V.message)===null||G===void 0?void 0:G.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),E6.exports=a0.default})()});var k6=X6((q8,y6)=>{function b7(tZ){throw tZ}y6.exports=function($0,X0){let a0=v6();if(X0={onError:b7,...X0},!X0.transform)X0.transform=b6();return a0($0,X0)}});var m6=v7(k6(),1);import{existsSync as y7}from"node:fs";import{builtinModules as k7,createRequire as f7}from"node:module";import{dirname as m7,resolve as D5}from"node:path";import{fileURLToPath as g7}from"node:url";function f6(tZ){return typeof tZ==="object"&&tZ!==null}function _7(tZ,$0){if(!f6(tZ))throw Error(`Invalid plugin module: ${$0}`);if(typeof tZ.name!=="string"||!tZ.name)throw Error(`Invalid plugin name: ${$0}`);if(!f6(tZ.manifest))throw Error(`Invalid plugin manifest: ${$0}`)}var h7=0,g6=new Map,x7=m7(g7(import.meta.url)),u7=p7(x7),c7=new Set(k7.flatMap((tZ)=>[tZ,tZ.replace(/^node:/,"")]));function l7(tZ){let $0=tZ instanceof Error?tZ.message:String(tZ),X0=tZ instanceof Error?tZ.stack:void 0;return{message:$0,stack:X0}}function Q6(tZ,$0,X0,a0){if(!process.send)return;process.send({type:"response",id:tZ,ok:$0,result:X0,error:a0})}function i7(tZ,$0){if(!process.send)return;process.send({type:"event",name:tZ,payload:$0})}globalThis.__clinePluginHost={emitEvent:i7};function d7(tZ){if(!tZ||typeof tZ!=="object")return{};return tZ}function h5(tZ,$0){return`${tZ}_${$0}_${Math.random().toString(36).slice(2,10)}`}function s5(tZ){let $0=g6.get(tZ);if(!$0)throw Error(`Unknown sandbox plugin id: ${tZ}`);return $0}function p7(tZ){let $0=D5(tZ,"..","..","..",".."),X0={},a0={"@clinebot/agents":D5($0,"packages/agents/src/index.ts"),"@clinebot/core":D5($0,"packages/core/src/index.node.ts"),"@clinebot/llms":D5($0,"packages/llms/src/index.ts"),"@clinebot/rpc":D5($0,"packages/rpc/src/index.ts"),"@clinebot/scheduler":D5($0,"packages/scheduler/src/index.ts"),"@clinebot/shared":D5($0,"packages/shared/src/index.ts"),"@clinebot/shared/storage":D5($0,"packages/shared/src/storage/index.ts"),"@clinebot/shared/db":D5($0,"packages/shared/src/db/index.ts")};for(let[n,X]of Object.entries(a0))if(y7(X))X0[n]=X;return X0}function r7(tZ){let $0=f7(tZ),X0={};for(let[a0,n]of Object.entries(u7)){try{$0.resolve(a0);continue}catch{}X0[a0]=n}return X0}async function n7(tZ){let $0=r7(tZ);return await m6.default(tZ,{alias:$0,cache:!1,requireCache:!1,esmResolve:!0,interopDefault:!1,nativeModules:[...c7],transformModules:Object.keys($0)}).import(tZ,{})}async function a7(tZ){let $0=[],X0=tZ.exportName||"plugin";for(let a0 of tZ.pluginPaths||[]){let n=await n7(a0),X=n.default??n[X0];_7(X,a0);let $=`plugin_${++h7}`,Y={tools:[],commands:[],shortcuts:[],flags:[],messageRenderers:[],providers:[]},j={tools:new Map,commands:new Map,messageRenderers:new Map},O={registerTool:(Z)=>{let Q=h5($,"tool");j.tools.set(Q,Z.execute),Y.tools.push({id:Q,name:Z.name,description:Z.description,inputSchema:Z.inputSchema,timeoutMs:Z.timeoutMs,retryable:Z.retryable})},registerCommand:(Z)=>{let Q=h5($,"command");if(typeof Z.handler==="function")j.commands.set(Q,Z.handler);Y.commands.push({id:Q,name:Z.name,description:Z.description})},registerShortcut:(Z)=>{Y.shortcuts.push({id:h5($,"shortcut"),name:Z.name,value:Z.value,description:Z.description})},registerFlag:(Z)=>{Y.flags.push({id:h5($,"flag"),name:Z.name,description:Z.description,defaultValue:Z.defaultValue})},registerMessageRenderer:(Z)=>{let Q=h5($,"renderer");j.messageRenderers.set(Q,Z.render),Y.messageRenderers.push({id:Q,name:Z.name})},registerProvider:(Z)=>{Y.providers.push({id:h5($,"provider"),name:Z.name,description:Z.description,metadata:d7(Z.metadata)})}};if(typeof X.setup==="function")await X.setup(O);g6.set($,{plugin:X,handlers:j}),$0.push({pluginId:$,name:X.name,manifest:X.manifest,contributions:Y})}return $0}async function s7(tZ){let X0=s5(tZ.pluginId).plugin[tZ.hookName];if(typeof X0!=="function")return;return await X0(tZ.payload)}async function o7(tZ){let X0=s5(tZ.pluginId).handlers.tools.get(tZ.contributionId);if(typeof X0!=="function")throw Error("Unknown sandbox tool contribution");return await X0(tZ.input,tZ.context)}async function t7(tZ){let X0=s5(tZ.pluginId).handlers.commands.get(tZ.contributionId);if(typeof X0!=="function")return"";return await X0(tZ.input)}async function e7(tZ){let X0=s5(tZ.pluginId).handlers.messageRenderers.get(tZ.contributionId);if(typeof X0!=="function")return"";return await X0(tZ.message)}var Z8={initialize:a7,invokeHook:s7,executeTool:o7,executeCommand:t7,renderMessage:e7};process.on("message",async(tZ)=>{if(!tZ||tZ.type!=="call")return;let $0=Z8[tZ.method];if(!$0){Q6(tZ.id,!1,void 0,{message:`Unknown method: ${String(tZ.method)}`});return}try{let X0=await $0(tZ.args||{});Q6(tZ.id,!0,X0)}catch(X0){Q6(tZ.id,!1,void 0,l7(X0))}});
|
|
446
|
+
`+NZ+"}"}}return s.pop(),SZ=NZ,c}(jZ):void 0}function YZ(UZ){let VZ={"'":0.1,'"':0.2},jZ={"'":"\\'",'"':"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},JZ="";for(let c=0;c<UZ.length;c++){let TZ=UZ[c];switch(TZ){case"'":case'"':VZ[TZ]++,JZ+=TZ;continue;case"\x00":if(j.isDigit(UZ[c+1])){JZ+="\\x00";continue}}if(jZ[TZ])JZ+=jZ[TZ];else if(TZ<" "){let nZ=TZ.charCodeAt(0).toString(16);JZ+="\\x"+("00"+nZ).substring(nZ.length)}else JZ+=TZ}let NZ=AZ||Object.keys(VZ).reduce((c,TZ)=>VZ[c]<VZ[TZ]?c:TZ);return JZ=JZ.replace(new RegExp(NZ,"g"),jZ[NZ]),NZ+JZ+NZ}function OZ(UZ){if(UZ.length===0)return YZ(UZ);let VZ=String.fromCodePoint(UZ.codePointAt(0));if(!j.isIdStartChar(VZ))return YZ(UZ);for(let jZ=VZ.length;jZ<UZ.length;jZ++)if(!j.isIdContinueChar(String.fromCodePoint(UZ.codePointAt(jZ))))return YZ(UZ);return UZ}}}},"./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/package.json":(n)=>{n.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.26.0","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.25.9","@babel/helper-validator-option":"^7.25.9","@babel/plugin-syntax-jsx":"^7.25.9","@babel/plugin-transform-modules-commonjs":"^7.25.9","@babel/plugin-transform-typescript":"^7.25.9"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.26.0","@babel/helper-plugin-test-runner":"^7.25.9"},"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":(n)=>{n.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}}')}},O0={};function X0(n){var X=O0[n];if(X!==void 0)return X.exports;var $=O0[n]={exports:{}};return tZ[n].call($.exports,$,$.exports,X0),$.exports}X0.d=(n,X)=>{for(var $ in X)X0.o(X,$)&&!X0.o(n,$)&&Object.defineProperty(n,$,{enumerable:!0,get:X[$]})},X0.o=(n,X)=>Object.prototype.hasOwnProperty.call(n,X),X0.r=(n)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var a0={};(()=>{X0.d(a0,{default:()=>O});var n=X0("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),X=X0("url"),$=X0("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");function Y(Z,Q){return{name:"transform-import-meta",visitor:{Program(R){let N=[];if(R.traverse({MemberExpression(U){let{node:M}=U;M.object.type==="MetaProperty"&&M.object.meta.name==="import"&&M.object.property.name==="meta"&&M.property.type==="Identifier"&&M.property.name==="url"&&N.push(U)}}),N.length!==0)for(let U of N)U.replaceWith($.smart.ast`${Q.filename?JSON.stringify((0,X.pathToFileURL)(Q.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function j({template:Z,types:Q}){return{name:"@import-meta-env/babel",visitor:{Identifier(R){if(!Q.isIdentifier(R))return;if(!Q.isMemberExpression(R.parentPath)&&!Q.isOptionalMemberExpression(R.parentPath))return;if(!Q.isMemberExpression(R.parentPath.node))return;let N=R.parentPath.node;if(!Q.isMetaProperty(N.object))return;let U=N.object;U.meta.name==="import"&&U.property.name==="meta"&&N.property.name==="env"&&R.parentPath.replaceWith(Z.expression.ast("process.env"))}}}}function O(Z){var Q,R,N,U,M,G;let z=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof Z.retainLines!="boolean"||Z.retainLines,filename:"",cwd:"/"},Z.babel),{plugins:[[X0("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[X0("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[Y,{filename:Z.filename}],[X0("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[X0("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[j]]});Z.ts&&(z.plugins.push([X0("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),z.plugins.unshift([X0("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[X0("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),z.plugins.push(X0("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.26.0_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),Z.legacy&&(z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),z.plugins.push(X0("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),Z.babel&&Array.isArray(Z.babel.plugins)&&((Q=z.plugins)===null||Q===void 0||Q.push(...Z.babel.plugins));try{return{code:((R=(0,n.transformSync)(Z.source,z))===null||R===void 0?void 0:R.code)||""}}catch(V){return{error:V,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:Z.filename,line:((N=V.loc)===null||N===void 0?void 0:N.line)||0,column:((U=V.loc)===null||U===void 0?void 0:U.column)||0,code:(M=V.code)===null||M===void 0?void 0:M.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(G=V.message)===null||G===void 0?void 0:G.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),E6.exports=a0.default})()});var k6=X6((q8,y6)=>{function b7(tZ){throw tZ}y6.exports=function(O0,X0){let a0=v6();if(X0={onError:b7,...X0},!X0.transform)X0.transform=b6();return a0(O0,X0)}});var m6=v7(k6(),1);import{existsSync as y7}from"node:fs";import{builtinModules as k7,createRequire as f7}from"node:module";import{dirname as m7,resolve as O5}from"node:path";import{fileURLToPath as g7}from"node:url";function f6(tZ){return typeof tZ==="object"&&tZ!==null}function _7(tZ,O0){if(!f6(tZ))throw Error(`Invalid plugin module: ${O0}`);if(typeof tZ.name!=="string"||!tZ.name)throw Error(`Invalid plugin name: ${O0}`);if(!f6(tZ.manifest))throw Error(`Invalid plugin manifest: ${O0}`)}var h7=0,g6=new Map,x7=m7(g7(import.meta.url)),u7=p7(x7),c7=new Set(k7.flatMap((tZ)=>[tZ,tZ.replace(/^node:/,"")]));function l7(tZ){let O0=tZ instanceof Error?tZ.message:String(tZ),X0=tZ instanceof Error?tZ.stack:void 0;return{message:O0,stack:X0}}function Q6(tZ,O0,X0,a0){if(!process.send)return;process.send({type:"response",id:tZ,ok:O0,result:X0,error:a0})}function i7(tZ,O0){if(!process.send)return;process.send({type:"event",name:tZ,payload:O0})}globalThis.__clinePluginHost={emitEvent:i7};function d7(tZ){if(!tZ||typeof tZ!=="object")return{};return tZ}function h5(tZ,O0){return`${tZ}_${O0}_${Math.random().toString(36).slice(2,10)}`}function s5(tZ){let O0=g6.get(tZ);if(!O0)throw Error(`Unknown sandbox plugin id: ${tZ}`);return O0}function p7(tZ){let O0=O5(tZ,"..","..","..",".."),X0={},a0={"@clinebot/agents":O5(O0,"packages/agents/src/index.ts"),"@clinebot/core":O5(O0,"packages/core/src/index.ts"),"@clinebot/llms":O5(O0,"packages/llms/src/index.ts"),"@clinebot/llms/models":O5(O0,"packages/llms/src/models.ts"),"@clinebot/llms/providers":O5(O0,"packages/llms/src/providers.ts"),"@clinebot/llms/runtime":O5(O0,"packages/llms/src/runtime.ts"),"@clinebot/rpc":O5(O0,"packages/rpc/src/index.ts"),"@clinebot/scheduler":O5(O0,"packages/scheduler/src/index.ts"),"@clinebot/shared":O5(O0,"packages/shared/src/index.ts"),"@clinebot/shared/storage":O5(O0,"packages/shared/src/storage/index.ts"),"@clinebot/shared/db":O5(O0,"packages/shared/src/db/index.ts")};for(let[n,X]of Object.entries(a0))if(y7(X))X0[n]=X;return X0}function r7(tZ){let O0=f7(tZ),X0={};for(let[a0,n]of Object.entries(u7)){try{O0.resolve(a0);continue}catch{}X0[a0]=n}return X0}async function n7(tZ){let O0=r7(tZ);return await m6.default(tZ,{alias:O0,cache:!1,requireCache:!1,esmResolve:!0,interopDefault:!1,nativeModules:[...c7],transformModules:Object.keys(O0)}).import(tZ,{})}async function a7(tZ){let O0=[],X0=tZ.exportName||"plugin";for(let a0 of tZ.pluginPaths||[]){let n=await n7(a0),X=n.default??n[X0];_7(X,a0);let $=`plugin_${++h7}`,Y={tools:[],commands:[],shortcuts:[],flags:[],messageRenderers:[],providers:[]},j={tools:new Map,commands:new Map,messageRenderers:new Map},O={registerTool:(Z)=>{let Q=h5($,"tool");j.tools.set(Q,Z.execute),Y.tools.push({id:Q,name:Z.name,description:Z.description,inputSchema:Z.inputSchema,timeoutMs:Z.timeoutMs,retryable:Z.retryable})},registerCommand:(Z)=>{let Q=h5($,"command");if(typeof Z.handler==="function")j.commands.set(Q,Z.handler);Y.commands.push({id:Q,name:Z.name,description:Z.description})},registerShortcut:(Z)=>{Y.shortcuts.push({id:h5($,"shortcut"),name:Z.name,value:Z.value,description:Z.description})},registerFlag:(Z)=>{Y.flags.push({id:h5($,"flag"),name:Z.name,description:Z.description,defaultValue:Z.defaultValue})},registerMessageRenderer:(Z)=>{let Q=h5($,"renderer");j.messageRenderers.set(Q,Z.render),Y.messageRenderers.push({id:Q,name:Z.name})},registerProvider:(Z)=>{Y.providers.push({id:h5($,"provider"),name:Z.name,description:Z.description,metadata:d7(Z.metadata)})}};if(typeof X.setup==="function")await X.setup(O);g6.set($,{plugin:X,handlers:j}),O0.push({pluginId:$,name:X.name,manifest:X.manifest,contributions:Y})}return O0}async function s7(tZ){let X0=s5(tZ.pluginId).plugin[tZ.hookName];if(typeof X0!=="function")return;return await X0(tZ.payload)}async function o7(tZ){let X0=s5(tZ.pluginId).handlers.tools.get(tZ.contributionId);if(typeof X0!=="function")throw Error("Unknown sandbox tool contribution");return await X0(tZ.input,tZ.context)}async function t7(tZ){let X0=s5(tZ.pluginId).handlers.commands.get(tZ.contributionId);if(typeof X0!=="function")return"";return await X0(tZ.input)}async function e7(tZ){let X0=s5(tZ.pluginId).handlers.messageRenderers.get(tZ.contributionId);if(typeof X0!=="function")return"";return await X0(tZ.message)}var Z8={initialize:a7,invokeHook:s7,executeTool:o7,executeCommand:t7,renderMessage:e7};process.on("message",async(tZ)=>{if(!tZ||tZ.type!=="call")return;let O0=Z8[tZ.method];if(!O0){Q6(tZ.id,!1,void 0,{message:`Unknown method: ${String(tZ.method)}`});return}try{let X0=await O0(tZ.args||{});Q6(tZ.id,!0,X0)}catch(X0){Q6(tZ.id,!1,void 0,l7(X0))}});
|