@storm-software/config-tools 1.138.2 → 1.138.3
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/README.md +1 -1
- package/dist/{acorn-BKIQKJ4F.js → acorn-L4DOC4MD.cjs} +104 -104
- package/dist/{acorn-646RJR5S.mjs → acorn-W3WKDYQS.js} +1 -1
- package/dist/{angular-IJH6AEQ2.js → angular-KZBUGLAB.cjs} +158 -158
- package/dist/{angular-BK32YZBC.mjs → angular-QCZRQONA.js} +1 -1
- package/dist/{babel-MD4YJE3Y.js → babel-2YQL7BNO.cjs} +192 -192
- package/dist/{babel-FTNSNFRG.mjs → babel-66ARC5Z7.js} +1 -1
- package/dist/chunk-2AAM5DJO.cjs +70 -0
- package/dist/{chunk-D7EEDW3J.mjs → chunk-2CJNMJST.js} +1 -1
- package/dist/{chunk-SNQO46A7.mjs → chunk-2NUTLYUV.js} +1 -1
- package/dist/{chunk-RN6XO6AG.mjs → chunk-2VY6OHKB.js} +2 -2
- package/dist/{chunk-N34NGVL6.js → chunk-3ALZEFKM.cjs} +76 -75
- package/dist/{chunk-TELFFQLC.mjs → chunk-3ONY7NB3.js} +9 -9
- package/dist/chunk-3W5JECK3.cjs +6 -0
- package/dist/{chunk-CMYWKSBB.mjs → chunk-46O7IOH6.js} +1 -1
- package/dist/{chunk-GVQZFZ6E.js → chunk-4AYNBMPP.cjs} +3 -3
- package/dist/{chunk-L5GOANHL.mjs → chunk-4OURELB7.js} +1 -1
- package/dist/{chunk-DANGEXD7.js → chunk-56YHC4NM.cjs} +6 -6
- package/dist/chunk-5C56XWG7.cjs +50 -0
- package/dist/{chunk-5QGWRJPB.mjs → chunk-5EL2OHUB.js} +1 -1
- package/dist/{chunk-QP46I4IQ.js → chunk-6E5A2ZAH.cjs} +44 -44
- package/dist/{chunk-RRSNGPTK.js → chunk-6KJOU57T.cjs} +388 -388
- package/dist/{chunk-FMJGAM5D.js → chunk-6O7E2ODJ.cjs} +4 -4
- package/dist/chunk-6X6TZM2G.cjs +51 -0
- package/dist/{chunk-CALEYND5.mjs → chunk-BDW32BZK.js} +3 -3
- package/dist/{chunk-5Z3NLDDE.mjs → chunk-BVYQ2BKK.js} +2 -2
- package/dist/{chunk-R4TY5O2X.mjs → chunk-C47MHGNY.js} +1 -1
- package/dist/{chunk-3FDEYZAK.js → chunk-DBERGKMJ.cjs} +32 -32
- package/dist/{chunk-2VOSOR3T.mjs → chunk-E6R4LOUF.js} +4 -4
- package/dist/{chunk-UFIZSM4F.js → chunk-EG6MZ74D.cjs} +27 -27
- package/dist/{chunk-P4J2TNZ7.mjs → chunk-EGAP6KEW.js} +3 -3
- package/dist/{chunk-WVJHCVAR.js → chunk-FBGCL5ZA.cjs} +3 -3
- package/dist/chunk-G5KDHCJJ.cjs +28 -0
- package/dist/{chunk-SZUBX3MF.js → chunk-GNNKAT6C.cjs} +10 -10
- package/dist/{chunk-7IQFOM5E.js → chunk-GTJILL6U.cjs} +23 -23
- package/dist/{chunk-GWRO5VMM.js → chunk-GWLF37RE.cjs} +3 -3
- package/dist/{chunk-OW5ANXN5.mjs → chunk-GYCLBSTB.js} +3 -2
- package/dist/{chunk-Q5A4EAHJ.mjs → chunk-HBVGMJMF.js} +1 -1
- package/dist/{chunk-YZQZ4M2I.mjs → chunk-HKXAGPSU.js} +2 -2
- package/dist/{chunk-HHCEURYJ.mjs → chunk-JMTLS4UN.js} +1 -1
- package/dist/{chunk-O3Q5GFR2.js → chunk-JPL6SA45.cjs} +4 -4
- package/dist/{chunk-UMD3QNEF.js → chunk-KRV5ZLBN.cjs} +40 -40
- package/dist/{chunk-J3YI5D2E.mjs → chunk-KZ2WZ3XN.js} +7 -7
- package/dist/{chunk-GGBZLABE.mjs → chunk-LQFUWYSF.js} +2 -2
- package/dist/{chunk-IUNS4YZO.js → chunk-MUKNCWDC.cjs} +8 -8
- package/dist/{chunk-D6HJ3XEE.mjs → chunk-N3ELM5YV.js} +3 -3
- package/dist/{chunk-4NFOBMSM.mjs → chunk-NLLVE3DA.js} +3 -3
- package/dist/{chunk-OL53L7AE.mjs → chunk-NO5ZHAIA.js} +2 -2
- package/dist/{chunk-NZRYCDJ5.js → chunk-NXXPCLO3.cjs} +2741 -2741
- package/dist/{chunk-X3LZL2FA.js → chunk-O4SGVAEB.cjs} +2 -2
- package/dist/{chunk-E25ESST2.mjs → chunk-OL4KMEX5.js} +2 -2
- package/dist/{chunk-EMP3EUPT.mjs → chunk-PEPDFP2O.js} +1 -1
- package/dist/{chunk-G6TE7BPR.js → chunk-PKJKHCLN.cjs} +11 -11
- package/dist/chunk-QHDHDNID.cjs +6 -0
- package/dist/{chunk-LAHKY3SQ.js → chunk-QQSU3QR2.cjs} +27 -27
- package/dist/{chunk-PDBEDRIM.mjs → chunk-RFXZQQFC.js} +4 -4
- package/dist/chunk-SKMG52TD.cjs +6 -0
- package/dist/{chunk-NJBMJX5P.mjs → chunk-SPZ2RSU7.js} +11 -11
- package/dist/{chunk-JTLTCOIF.mjs → chunk-TRG5FOW5.js} +1 -1
- package/dist/{chunk-N3H7WTUT.mjs → chunk-TVUMXFOR.js} +1 -1
- package/dist/{chunk-A2B7JKBP.js → chunk-UIA5EFWJ.cjs} +163 -163
- package/dist/{chunk-35WYVRRU.js → chunk-VPMAS2N2.cjs} +138 -138
- package/dist/{chunk-NTEE4J2K.js → chunk-VSGLIY6F.cjs} +7 -7
- package/dist/{chunk-WDQJ7FQS.mjs → chunk-WTEHBMCM.js} +1 -1
- package/dist/{chunk-USQ3J2G6.js → chunk-XFNPYG4X.cjs} +111 -111
- package/dist/chunk-XFZK7476.js +50 -0
- package/dist/{chunk-ARQBMHSM.mjs → chunk-XQXUMNEU.js} +2 -2
- package/dist/chunk-YJSIQHKP.cjs +6 -0
- package/dist/chunk-ZBZWMZ72.cjs +137 -0
- package/dist/{chunk-OKAFRVSY.mjs → chunk-ZQV3QSH5.js} +2 -2
- package/dist/{chunk-5YZA7ARA.mjs → chunk-ZY35TVMB.js} +2 -2
- package/dist/config-file/get-config-file.cjs +32 -0
- package/dist/config-file/{get-config-file.d.mts → get-config-file.d.cts} +1 -1
- package/dist/config-file/get-config-file.js +32 -32
- package/dist/config-file/index.cjs +33 -0
- package/dist/config-file/{index.d.mts → index.d.cts} +2 -2
- package/dist/config-file/index.js +33 -33
- package/dist/create-storm-config.cjs +39 -0
- package/dist/{create-storm-config.d.mts → create-storm-config.d.cts} +1 -1
- package/dist/create-storm-config.js +39 -39
- package/dist/{dist-IKT3RN2B.js → dist-M3E36L2G.cjs} +1020 -1020
- package/dist/{dist-ESY54GEK.mjs → dist-M5DWQXRA.js} +9 -9
- package/dist/env/get-env.cjs +13 -0
- package/dist/env/{get-env.d.mts → get-env.d.cts} +2 -2
- package/dist/env/get-env.js +13 -13
- package/dist/env/index.cjs +20 -0
- package/dist/env/index.d.cts +5 -0
- package/dist/env/index.js +20 -20
- package/dist/env/set-env.cjs +12 -0
- package/dist/env/{set-env.d.mts → set-env.d.cts} +1 -1
- package/dist/env/set-env.js +12 -12
- package/dist/{esm-CHY33BEA.js → esm-HOUHOM6T.cjs} +46 -46
- package/dist/{esm-GXBYTNSY.mjs → esm-KALGCEZT.js} +1 -1
- package/dist/{estree-OISRK7S3.mjs → estree-OTYURYPI.js} +1 -1
- package/dist/{estree-ROOTGONW.js → estree-VNPZ3XG5.cjs} +517 -517
- package/dist/{execa-OBTCQJ4R.js → execa-XEKRORBS.cjs} +220 -220
- package/dist/{execa-Q37TRODQ.mjs → execa-XN4WNY2K.js} +1 -1
- package/dist/{flow-6CYXU2JU.js → flow-3RTSTJJN.cjs} +1231 -1231
- package/dist/{flow-CVR7JYJR.mjs → flow-BEGL6EBU.js} +1 -1
- package/dist/{glimmer-KC46TXCG.js → glimmer-SJ3NEFEI.cjs} +287 -287
- package/dist/{glimmer-HPLV3CEI.mjs → glimmer-T7L4DGCA.js} +1 -1
- package/dist/{graphql-QEQ22DRF.js → graphql-N7VNZRCY.cjs} +97 -97
- package/dist/{graphql-HGTQLI6G.mjs → graphql-ZGKSF4HS.js} +1 -1
- package/dist/{html-SQTQQXQE.js → html-76MY4VK3.cjs} +284 -284
- package/dist/{html-BQF3QJLP.mjs → html-PSA3ZLF3.js} +1 -1
- package/dist/index.cjs +154 -0
- package/dist/{index.d.mts → index.d.cts} +20 -20
- package/dist/index.js +152 -152
- package/dist/json5-AWKL3VDN.js +10 -0
- package/dist/json5-H2TAIKSA.cjs +10 -0
- package/dist/{jsonc-QMXWMKWV.mjs → jsonc-AGNNV3TC.js} +3 -3
- package/dist/jsonc-QNZQN4WT.cjs +15 -0
- package/dist/logger/chalk.cjs +7 -0
- package/dist/logger/chalk.js +7 -7
- package/dist/logger/console-icons.cjs +9 -0
- package/dist/logger/{console-icons.d.mts → console-icons.d.cts} +2 -2
- package/dist/logger/console-icons.js +9 -9
- package/dist/logger/console.cjs +38 -0
- package/dist/logger/{console.d.mts → console.d.cts} +3 -3
- package/dist/logger/console.js +38 -38
- package/dist/logger/create-logger.cjs +19 -0
- package/dist/logger/{create-logger.d.mts → create-logger.d.cts} +2 -2
- package/dist/logger/create-logger.js +19 -19
- package/dist/logger/format-timestamp.cjs +7 -0
- package/dist/logger/format-timestamp.js +7 -7
- package/dist/logger/get-log-level.cjs +12 -0
- package/dist/logger/{get-log-level.d.mts → get-log-level.d.cts} +2 -2
- package/dist/logger/get-log-level.js +12 -12
- package/dist/logger/index.cjs +62 -0
- package/dist/logger/index.d.cts +10 -0
- package/dist/logger/index.js +62 -62
- package/dist/logger/is-unicode-supported.cjs +7 -0
- package/dist/logger/is-unicode-supported.js +7 -7
- package/dist/{markdown-GDAB6YZK.mjs → markdown-C7FDHMIG.js} +1 -1
- package/dist/{markdown-VAH7N2ZD.js → markdown-GO2SD6ZH.cjs} +390 -390
- package/dist/{meriyah-KXJRAU2O.js → meriyah-BAACQM2N.cjs} +243 -243
- package/dist/{meriyah-64TJZ2NR.mjs → meriyah-ED62ZUKL.js} +1 -1
- package/dist/{multipart-parser-XTEGLYUH.mjs → multipart-parser-6JNXK7VG.js} +2 -2
- package/dist/{multipart-parser-ACF3MON7.js → multipart-parser-MXQWMODT.cjs} +11 -11
- package/dist/{postcss-ULTRDB4V.js → postcss-2EUHH6PK.cjs} +337 -337
- package/dist/{postcss-CTT2C6VM.mjs → postcss-KWRUITUE.js} +1 -1
- package/dist/{prettier-RSMQU2HG.js → prettier-U2A22JOI.cjs} +1079 -1079
- package/dist/{prettier-A4TSHMHI.mjs → prettier-XP4HJJUI.js} +14 -14
- package/dist/toml-E3DJZTNR.js +10 -0
- package/dist/toml-VAFZQSC5.cjs +10 -0
- package/dist/types.cjs +9 -0
- package/dist/{types.d.mts → types.d.cts} +1 -1
- package/dist/types.js +9 -9
- package/dist/{typescript-DSR4LFJ2.mjs → typescript-YFBMA3EY.js} +1 -1
- package/dist/{typescript-CCR5BUC6.js → typescript-ZI3EJ455.cjs} +1893 -1893
- package/dist/utilities/apply-workspace-tokens.cjs +14 -0
- package/dist/utilities/{apply-workspace-tokens.d.mts → apply-workspace-tokens.d.cts} +2 -2
- package/dist/utilities/apply-workspace-tokens.js +14 -14
- package/dist/utilities/correct-paths.cjs +9 -0
- package/dist/utilities/correct-paths.js +9 -9
- package/dist/utilities/file-path-utils.cjs +9 -0
- package/dist/utilities/file-path-utils.js +9 -9
- package/dist/utilities/find-up.cjs +7 -0
- package/dist/utilities/find-up.js +7 -7
- package/dist/utilities/find-workspace-root.cjs +11 -0
- package/dist/utilities/find-workspace-root.js +11 -11
- package/dist/utilities/get-default-config.cjs +13 -0
- package/dist/utilities/{get-default-config.d.mts → get-default-config.d.cts} +1 -1
- package/dist/utilities/get-default-config.js +13 -13
- package/dist/utilities/index.cjs +61 -0
- package/dist/utilities/{index.d.mts → index.d.cts} +9 -9
- package/dist/utilities/index.js +61 -61
- package/dist/utilities/process-handler.cjs +23 -0
- package/dist/utilities/{process-handler.d.mts → process-handler.d.cts} +1 -1
- package/dist/utilities/process-handler.js +23 -23
- package/dist/utilities/run.cjs +11 -0
- package/dist/utilities/{run.d.mts → run.d.cts} +1 -1
- package/dist/utilities/run.js +11 -11
- package/dist/yaml-2WY5XICX.js +10 -0
- package/dist/{yaml-SVET52GC.mjs → yaml-6R64VIIN.js} +1 -1
- package/dist/{yaml-I7POIORV.js → yaml-KDDF5JAF.cjs} +325 -325
- package/dist/yaml-X7EHFDS4.cjs +10 -0
- package/package.json +52 -51
- package/dist/chunk-2CB5TTMS.mjs +0 -51
- package/dist/chunk-4C5ULXHZ.js +0 -6
- package/dist/chunk-4GHDOSDL.js +0 -6
- package/dist/chunk-C4XTMKFS.js +0 -51
- package/dist/chunk-HDZVYW2P.js +0 -70
- package/dist/chunk-LNE3WDH6.js +0 -6
- package/dist/chunk-PHAIVEXJ.js +0 -6
- package/dist/chunk-TPPODXVQ.js +0 -51
- package/dist/chunk-UMKNQWMO.js +0 -137
- package/dist/chunk-WT74SYKM.js +0 -28
- package/dist/config-file/get-config-file.mjs +0 -32
- package/dist/config-file/index.mjs +0 -33
- package/dist/create-storm-config.mjs +0 -39
- package/dist/env/get-env.mjs +0 -13
- package/dist/env/index.d.mts +0 -5
- package/dist/env/index.mjs +0 -20
- package/dist/env/set-env.mjs +0 -12
- package/dist/index.mjs +0 -154
- package/dist/json5-FGCHX2C5.js +0 -10
- package/dist/json5-PFHFTE3S.mjs +0 -10
- package/dist/jsonc-JYPKWISW.js +0 -15
- package/dist/logger/chalk.mjs +0 -7
- package/dist/logger/console-icons.mjs +0 -9
- package/dist/logger/console.mjs +0 -38
- package/dist/logger/create-logger.mjs +0 -19
- package/dist/logger/format-timestamp.mjs +0 -7
- package/dist/logger/get-log-level.mjs +0 -12
- package/dist/logger/index.d.mts +0 -10
- package/dist/logger/index.mjs +0 -62
- package/dist/logger/is-unicode-supported.mjs +0 -7
- package/dist/toml-5DG5WNM7.mjs +0 -10
- package/dist/toml-S745O2YV.js +0 -10
- package/dist/types.mjs +0 -9
- package/dist/utilities/apply-workspace-tokens.mjs +0 -14
- package/dist/utilities/correct-paths.mjs +0 -9
- package/dist/utilities/file-path-utils.mjs +0 -9
- package/dist/utilities/find-up.mjs +0 -7
- package/dist/utilities/find-workspace-root.mjs +0 -11
- package/dist/utilities/get-default-config.mjs +0 -13
- package/dist/utilities/index.mjs +0 -61
- package/dist/utilities/process-handler.mjs +0 -23
- package/dist/utilities/run.mjs +0 -11
- package/dist/yaml-FXUEXKW3.js +0 -10
- package/dist/yaml-KYTKYGLP.mjs +0 -10
- /package/dist/{chunk-RZYA76H7.mjs → chunk-BFNZYC5O.js} +0 -0
- /package/dist/{chunk-5YOGYZEG.js → chunk-DFJNOFN2.cjs} +0 -0
- /package/dist/logger/{chalk.d.mts → chalk.d.cts} +0 -0
- /package/dist/logger/{format-timestamp.d.mts → format-timestamp.d.cts} +0 -0
- /package/dist/logger/{is-unicode-supported.d.mts → is-unicode-supported.d.cts} +0 -0
- /package/dist/{types-CN4ccKlk.d.mts → types-CN4ccKlk.d.cts} +0 -0
- /package/dist/utilities/{correct-paths.d.mts → correct-paths.d.cts} +0 -0
- /package/dist/utilities/{file-path-utils.d.mts → file-path-utils.d.cts} +0 -0
- /package/dist/utilities/{find-up.d.mts → find-up.d.cts} +0 -0
- /package/dist/utilities/{find-workspace-root.d.mts → find-workspace-root.d.cts} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/plugins/babel.mjs
|
|
8
8
|
function ve(a) {
|
|
@@ -108,7 +108,7 @@ function br(a, t = "type") {
|
|
|
108
108
|
if (!Array.isArray(r)) throw Object.assign(new Error(`Missing visitor keys for '${i}'.`), { node: s });
|
|
109
109
|
return r;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, e, "e");
|
|
112
112
|
return e;
|
|
113
113
|
}
|
|
114
114
|
function St(a, t) {
|
|
@@ -320,24 +320,24 @@ function re(a) {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
var Bs, Re, Rs, Us, _s, js, $s, zs, Vs, It, gt, Et, Be, ta, rs, sa, as, ns, os, hs, ls, cs, Le, dr, Tt, ye, ps, xr, xe, bt, us, Pe, Tr, fs, ds, Ar, ms, De, xs, Me, Oe, Er, se, Ir, Nr, kr, vr, Ps, Lr, gs, Dr, Mr, W, Ss, Fe, ie, Ur, ws, Cs, $, _r, Vr, vs, Es, Is, Ns, ks, Ls, qr, Ds, Ms, Ct, Kr, Fs, Hr, Cn;
|
|
323
|
-
var init_babel =
|
|
323
|
+
var init_babel = _chunkDFJNOFN2cjs.__esm.call(void 0, {
|
|
324
324
|
"../../node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/plugins/babel.mjs"() {
|
|
325
|
-
|
|
325
|
+
_chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
|
|
326
326
|
Bs = Object.create;
|
|
327
327
|
Re = Object.defineProperty;
|
|
328
328
|
Rs = Object.getOwnPropertyDescriptor;
|
|
329
329
|
Us = Object.getOwnPropertyNames;
|
|
330
330
|
_s = Object.getPrototypeOf;
|
|
331
331
|
js = Object.prototype.hasOwnProperty;
|
|
332
|
-
$s = /* @__PURE__ */
|
|
333
|
-
zs = /* @__PURE__ */
|
|
332
|
+
$s = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t) => () => (t || a((t = { exports: {} }).exports, t), t.exports), "$s");
|
|
333
|
+
zs = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t) => {
|
|
334
334
|
for (var e in t) Re(a, e, { get: t[e], enumerable: true });
|
|
335
335
|
}, "zs");
|
|
336
|
-
Vs = /* @__PURE__ */
|
|
337
|
-
if (t && typeof t == "object" || typeof t == "function") for (let i of Us(t)) !js.call(a, i) && i !== e && Re(a, i, { get: /* @__PURE__ */
|
|
336
|
+
Vs = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t, e, s) => {
|
|
337
|
+
if (t && typeof t == "object" || typeof t == "function") for (let i of Us(t)) !js.call(a, i) && i !== e && Re(a, i, { get: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => t[i], "get"), enumerable: !(s = Rs(t, i)) || s.enumerable });
|
|
338
338
|
return a;
|
|
339
339
|
}, "Vs");
|
|
340
|
-
It = /* @__PURE__ */
|
|
340
|
+
It = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t, e) => (e = a != null ? Bs(_s(a)) : {}, Vs(t || !a || !a.__esModule ? Re(e, "default", { value: a, enumerable: true }) : e, a)), "It");
|
|
341
341
|
gt = $s((me) => {
|
|
342
342
|
"use strict";
|
|
343
343
|
Object.defineProperty(me, "__esModule", { value: true });
|
|
@@ -350,17 +350,17 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
350
350
|
}
|
|
351
351
|
return e;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, qs, "qs");
|
|
354
354
|
var O = class {
|
|
355
355
|
static {
|
|
356
|
-
|
|
356
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "O");
|
|
357
357
|
}
|
|
358
358
|
constructor(t, e, s) {
|
|
359
359
|
this.line = void 0, this.column = void 0, this.index = void 0, this.line = t, this.column = e, this.index = s;
|
|
360
360
|
}
|
|
361
361
|
}, Z = class {
|
|
362
362
|
static {
|
|
363
|
-
|
|
363
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Z");
|
|
364
364
|
}
|
|
365
365
|
constructor(t, e) {
|
|
366
366
|
this.start = void 0, this.end = void 0, this.filename = void 0, this.identifierName = void 0, this.start = t, this.end = e;
|
|
@@ -370,21 +370,21 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
370
370
|
let { line: e, column: s, index: i } = a;
|
|
371
371
|
return new O(e, s + t, i + t);
|
|
372
372
|
}
|
|
373
|
-
|
|
374
|
-
var Nt = "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED", Ks = { ImportMetaOutsideModule: { message: `import.meta may appear only with 'sourceType: "module"'`, code: Nt }, ImportOutsideModule: { message: `'import' and 'export' may appear only with 'sourceType: "module"'`, code: Nt } }, kt = { 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" }, Se = /* @__PURE__ */
|
|
375
|
-
- Did you mean \`export { '${a}' as '${t}' } from 'some-module'\`?`, "ExportBindingIsString"), ExportDefaultFromAsIdentifier: "'from' is not allowed as an identifier after 'export default'.", ForInOfLoopInitializer: /* @__PURE__ */
|
|
376
|
-
- Did you mean \`import { "${a}" as foo }\`?`, "ImportBindingIsString"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ radix: a }) => `Expected number in radix ${a}.`, "InvalidDigit"), InvalidEscapeSequence: "Bad character escape sequence.", InvalidEscapeSequenceTemplate: "Invalid escape sequence in template.", InvalidEscapedReservedWord: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ reservedWord: a }) => `Escape sequence in keyword ${a}.`, "InvalidEscapedReservedWord"), InvalidIdentifier: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ identifierName: a }) => `Invalid identifier ${a}.`, "InvalidIdentifier"), InvalidLhs: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ ancestor: a }) => `Invalid left-hand side in ${Se(a)}.`, "InvalidLhs"), InvalidLhsBinding: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ ancestor: a }) => `Binding invalid left-hand side in ${Se(a)}.`, "InvalidLhsBinding"), InvalidLhsOptionalChaining: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ ancestor: a }) => `Invalid optional chaining in the left-hand side of ${Se(a)}.`, "InvalidLhsOptionalChaining"), InvalidNumber: "Invalid number.", InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.", InvalidOrUnexpectedToken: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ unexpected: a }) => `Unexpected character '${a}'.`, "InvalidOrUnexpectedToken"), InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern.", InvalidPrivateFieldResolution: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ identifierName: a }) => `Private name #${a} is not defined.`, "InvalidPrivateFieldResolution"), InvalidPropertyBindingPattern: "Binding member expression.", InvalidRecordProperty: "Only properties and spread elements are allowed in record definitions.", InvalidRestAssignmentPattern: "Invalid rest operator's argument.", LabelRedeclaration: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ labelName: a }) => `Label '${a}' is already declared.`, "LabelRedeclaration"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ missingPlugin: a }) => `This experimental syntax requires enabling the parser plugin: ${a.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingPlugin"), MissingOneOfPlugins: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ missingPlugin: a }) => `This experimental syntax requires enabling one of the following parser plugin(s): ${a.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingOneOfPlugins"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ key: a }) => `Duplicate key "${a}" is not allowed in module attributes.`, "ModuleAttributesWithDuplicateKeys"), ModuleExportNameHasLoneSurrogate: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ surrogateCharCode: a }) => `An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`, "ModuleExportNameHasLoneSurrogate"), ModuleExportUndefined: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ localName: a }) => `Export '${a}' is not defined.`, "ModuleExportUndefined"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ identifierName: a }) => `Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`, "PrivateInExpectedIn"), PrivateNameRedeclaration: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ identifierName: a }) => `Duplicate private name #${a}.`, "PrivateNameRedeclaration"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ keyword: a }) => `Unexpected keyword '${a}'.`, "UnexpectedKeyword"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ reservedWord: a }) => `Unexpected reserved word '${a}'.`, "UnexpectedReservedWord"), UnexpectedSuper: "'super' is only allowed in object methods and classes.", UnexpectedToken: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ expected: a, unexpected: t }) => `Unexpected token${t ? ` '${t}'.` : ""}${a ? `, expected "${a}"` : ""}`, "UnexpectedToken"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ target: a, onlyValidPropertyName: t }) => `The only valid meta property for ${a} is ${a}.${t}.`, "UnsupportedMetaProperty"), 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ identifierName: a }) => `Identifier '${a}' has already been declared.`, "VarRedeclaration"), 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." }, Js = { StrictDelete: "Deleting local variable in strict mode.", StrictEvalArguments: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ referenceName: a }) => `Assigning to '${a}' in strict mode.`, "StrictEvalArguments"), StrictEvalArgumentsBinding: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ bindingName: a }) => `Binding '${a}' in strict mode.`, "StrictEvalArgumentsBinding"), 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." }, Ws = /* @__PURE__ */ new Set(["ArrowFunctionExpression", "AssignmentExpression", "ConditionalExpression", "YieldExpression"]), Xs = { 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: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ token: a }) => `Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`, "PipeTopicUnconfiguredToken"), PipeTopicUnused: "Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.", PipeUnparenthesizedBody: /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, ({ type: a }) => `Hack-style pipe body cannot be an unparenthesized ${Se({ type: a })}; please wrap it in parentheses.`, "PipeUnparenthesizedBody"), 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.' }, Gs = ["message"];
|
|
373
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, v, "v");
|
|
374
|
+
var Nt = "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED", Ks = { ImportMetaOutsideModule: { message: `import.meta may appear only with 'sourceType: "module"'`, code: Nt }, ImportOutsideModule: { message: `'import' and 'export' may appear only with 'sourceType: "module"'`, code: Nt } }, kt = { 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" }, Se = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a.type === "UpdateExpression" ? kt.UpdateExpression[`${a.prefix}`] : kt[a.type], "Se"), Hs = { AccessorIsGenerator: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ kind: a }) => `A ${a}ter cannot be a generator.`, "AccessorIsGenerator"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ kind: a }) => `Missing initializer in ${a} declaration.`, "DeclarationMissingInitializer"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ exportName: a }) => `\`${a}\` has already been exported. Exported identifiers must be unique.`, "DuplicateExport"), DuplicateProto: "Redefinition of __proto__ property.", DuplicateRegExpFlags: "Duplicate regular expression flag.", DynamicImportPhaseRequiresImportExpressions: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ phase: a }) => `'import.${a}(...)' can only be parsed when using the 'createImportExpressions' option.`, "DynamicImportPhaseRequiresImportExpressions"), ElementAfterRest: "Rest element must be last element.", EscapedCharNotAnIdentifier: "Invalid Unicode escape.", ExportBindingIsString: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ localName: a, exportName: t }) => `A string literal cannot be used as an exported binding without \`from\`.
|
|
375
|
+
- Did you mean \`export { '${a}' as '${t}' } from 'some-module'\`?`, "ExportBindingIsString"), ExportDefaultFromAsIdentifier: "'from' is not allowed as an identifier after 'export default'.", ForInOfLoopInitializer: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ type: a }) => `'${a === "ForInStatement" ? "for-in" : "for-of"}' loop variable declaration may not have an initializer.`, "ForInOfLoopInitializer"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ type: a }) => `Unsyntactic ${a === "BreakStatement" ? "break" : "continue"}.`, "IllegalBreakContinue"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ importName: a }) => `A string literal cannot be used as an imported binding.
|
|
376
|
+
- Did you mean \`import { "${a}" as foo }\`?`, "ImportBindingIsString"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ radix: a }) => `Expected number in radix ${a}.`, "InvalidDigit"), InvalidEscapeSequence: "Bad character escape sequence.", InvalidEscapeSequenceTemplate: "Invalid escape sequence in template.", InvalidEscapedReservedWord: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ reservedWord: a }) => `Escape sequence in keyword ${a}.`, "InvalidEscapedReservedWord"), InvalidIdentifier: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ identifierName: a }) => `Invalid identifier ${a}.`, "InvalidIdentifier"), InvalidLhs: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ ancestor: a }) => `Invalid left-hand side in ${Se(a)}.`, "InvalidLhs"), InvalidLhsBinding: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ ancestor: a }) => `Binding invalid left-hand side in ${Se(a)}.`, "InvalidLhsBinding"), InvalidLhsOptionalChaining: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ ancestor: a }) => `Invalid optional chaining in the left-hand side of ${Se(a)}.`, "InvalidLhsOptionalChaining"), InvalidNumber: "Invalid number.", InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.", InvalidOrUnexpectedToken: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ unexpected: a }) => `Unexpected character '${a}'.`, "InvalidOrUnexpectedToken"), InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern.", InvalidPrivateFieldResolution: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ identifierName: a }) => `Private name #${a} is not defined.`, "InvalidPrivateFieldResolution"), InvalidPropertyBindingPattern: "Binding member expression.", InvalidRecordProperty: "Only properties and spread elements are allowed in record definitions.", InvalidRestAssignmentPattern: "Invalid rest operator's argument.", LabelRedeclaration: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ labelName: a }) => `Label '${a}' is already declared.`, "LabelRedeclaration"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ missingPlugin: a }) => `This experimental syntax requires enabling the parser plugin: ${a.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingPlugin"), MissingOneOfPlugins: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ missingPlugin: a }) => `This experimental syntax requires enabling one of the following parser plugin(s): ${a.map((t) => JSON.stringify(t)).join(", ")}.`, "MissingOneOfPlugins"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ key: a }) => `Duplicate key "${a}" is not allowed in module attributes.`, "ModuleAttributesWithDuplicateKeys"), ModuleExportNameHasLoneSurrogate: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ surrogateCharCode: a }) => `An export name cannot include a lone surrogate, found '\\u${a.toString(16)}'.`, "ModuleExportNameHasLoneSurrogate"), ModuleExportUndefined: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ localName: a }) => `Export '${a}' is not defined.`, "ModuleExportUndefined"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ identifierName: a }) => `Private names are only allowed in property accesses (\`obj.#${a}\`) or in \`in\` expressions (\`#${a} in obj\`).`, "PrivateInExpectedIn"), PrivateNameRedeclaration: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ identifierName: a }) => `Duplicate private name #${a}.`, "PrivateNameRedeclaration"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ keyword: a }) => `Unexpected keyword '${a}'.`, "UnexpectedKeyword"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ reservedWord: a }) => `Unexpected reserved word '${a}'.`, "UnexpectedReservedWord"), UnexpectedSuper: "'super' is only allowed in object methods and classes.", UnexpectedToken: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ expected: a, unexpected: t }) => `Unexpected token${t ? ` '${t}'.` : ""}${a ? `, expected "${a}"` : ""}`, "UnexpectedToken"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ target: a, onlyValidPropertyName: t }) => `The only valid meta property for ${a} is ${a}.${t}.`, "UnsupportedMetaProperty"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ identifierName: a }) => `Identifier '${a}' has already been declared.`, "VarRedeclaration"), 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." }, Js = { StrictDelete: "Deleting local variable in strict mode.", StrictEvalArguments: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ referenceName: a }) => `Assigning to '${a}' in strict mode.`, "StrictEvalArguments"), StrictEvalArgumentsBinding: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ bindingName: a }) => `Binding '${a}' in strict mode.`, "StrictEvalArgumentsBinding"), 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." }, Ws = /* @__PURE__ */ new Set(["ArrowFunctionExpression", "AssignmentExpression", "ConditionalExpression", "YieldExpression"]), Xs = { 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ token: a }) => `Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`, "PipeTopicUnconfiguredToken"), PipeTopicUnused: "Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.", PipeUnparenthesizedBody: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ type: a }) => `Hack-style pipe body cannot be an unparenthesized ${Se({ type: a })}; please wrap it in parentheses.`, "PipeUnparenthesizedBody"), 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.' }, Gs = ["message"];
|
|
377
377
|
function vt(a, t, e) {
|
|
378
378
|
Object.defineProperty(a, t, { enumerable: false, configurable: true, value: e });
|
|
379
379
|
}
|
|
380
|
-
|
|
380
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, vt, "vt");
|
|
381
381
|
function Ys({ toMessage: a, code: t, reasonCode: e, syntaxPlugin: s }) {
|
|
382
382
|
let i = e === "MissingPlugin" || e === "MissingOneOfPlugins";
|
|
383
383
|
{
|
|
384
384
|
let r = { AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter", AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters", ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference", SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter", SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter", SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType" };
|
|
385
385
|
r[e] && (e = r[e]);
|
|
386
386
|
}
|
|
387
|
-
return /* @__PURE__ */
|
|
387
|
+
return /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, function r(n, o) {
|
|
388
388
|
let h = new SyntaxError();
|
|
389
389
|
return h.code = t, h.reasonCode = e, h.loc = n, h.pos = n.index, h.syntaxPlugin = s, i && (h.missingPlugin = o.missingPlugin), vt(h, "clone", function(c = {}) {
|
|
390
390
|
var u;
|
|
@@ -398,25 +398,25 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
398
398
|
} }), h;
|
|
399
399
|
}, "r");
|
|
400
400
|
}
|
|
401
|
-
|
|
401
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ys, "Ys");
|
|
402
402
|
function U(a, t) {
|
|
403
403
|
if (Array.isArray(a)) return (s) => U(s, a[0]);
|
|
404
404
|
let e = {};
|
|
405
405
|
for (let s of Object.keys(a)) {
|
|
406
|
-
let i = a[s], r = typeof i == "string" ? { message: /* @__PURE__ */
|
|
406
|
+
let i = a[s], r = typeof i == "string" ? { message: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => i, "message") } : typeof i == "function" ? { message: i } : i, { message: n } = r, o = qs(r, Gs), h = typeof n == "string" ? () => n : n;
|
|
407
407
|
e[s] = Ys(Object.assign({ code: "BABEL_PARSER_SYNTAX_ERROR", reasonCode: s, toMessage: h }, t ? { syntaxPlugin: t } : {}, o));
|
|
408
408
|
}
|
|
409
409
|
return e;
|
|
410
410
|
}
|
|
411
|
-
|
|
412
|
-
var p = Object.assign({}, U(Ks), U(Hs), U(Js), U`pipelineOperator`(Xs)), { defineProperty: Qs } = Object, Lt = /* @__PURE__ */
|
|
411
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, U, "U");
|
|
412
|
+
var p = Object.assign({}, U(Ks), U(Hs), U(Js), U`pipelineOperator`(Xs)), { defineProperty: Qs } = Object, Lt = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t) => {
|
|
413
413
|
a && Qs(a, t, { enumerable: false, value: a[t] });
|
|
414
414
|
}, "Lt");
|
|
415
415
|
function ne(a) {
|
|
416
416
|
return Lt(a.loc.start, "index"), Lt(a.loc.end, "index"), a;
|
|
417
417
|
}
|
|
418
|
-
|
|
419
|
-
var Zs = /* @__PURE__ */
|
|
418
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ne, "ne");
|
|
419
|
+
var Zs = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
420
420
|
parse() {
|
|
421
421
|
let e = ne(super.parse());
|
|
422
422
|
return this.options.tokens && (e.tokens = e.tokens.map(ne)), e;
|
|
@@ -607,7 +607,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
607
607
|
}
|
|
608
608
|
}, "Zs"), J = class {
|
|
609
609
|
static {
|
|
610
|
-
|
|
610
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "J");
|
|
611
611
|
}
|
|
612
612
|
constructor(t, e) {
|
|
613
613
|
this.token = void 0, this.preserveSpace = void 0, this.token = t, this.preserveSpace = !!e;
|
|
@@ -616,7 +616,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
616
616
|
E.template = new J("`", true);
|
|
617
617
|
var b = true, m = true, Ue = true, oe = true, z = true, ei = true, Ee = class {
|
|
618
618
|
static {
|
|
619
|
-
|
|
619
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Ee");
|
|
620
620
|
}
|
|
621
621
|
constructor(t, e = {}) {
|
|
622
622
|
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 = t, this.keyword = e.keyword, this.beforeExpr = !!e.beforeExpr, this.startsExpr = !!e.startsExpr, this.rightAssociative = !!e.rightAssociative, this.isLoop = !!e.isLoop, this.isAssign = !!e.isAssign, this.prefix = !!e.prefix, this.postfix = !!e.postfix, this.binop = e.binop != null ? e.binop : null, this.updateContext = null;
|
|
@@ -627,103 +627,103 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
627
627
|
let e = P(a, t);
|
|
628
628
|
return lt.set(a, e), e;
|
|
629
629
|
}
|
|
630
|
-
|
|
630
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, A, "A");
|
|
631
631
|
function k(a, t) {
|
|
632
632
|
return P(a, { beforeExpr: b, binop: t });
|
|
633
633
|
}
|
|
634
|
-
|
|
634
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, k, "k");
|
|
635
635
|
var pe = -1, B = [], ct = [], pt = [], ut = [], ft = [], dt = [];
|
|
636
636
|
function P(a, t = {}) {
|
|
637
637
|
var e, s, i, r;
|
|
638
638
|
return ++pe, ct.push(a), pt.push((e = t.binop) != null ? e : -1), ut.push((s = t.beforeExpr) != null ? s : false), ft.push((i = t.startsExpr) != null ? i : false), dt.push((r = t.prefix) != null ? r : false), B.push(new Ee(a, t)), pe;
|
|
639
639
|
}
|
|
640
|
-
|
|
640
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, P, "P");
|
|
641
641
|
function T(a, t = {}) {
|
|
642
642
|
var e, s, i, r;
|
|
643
643
|
return ++pe, lt.set(a, pe), ct.push(a), pt.push((e = t.binop) != null ? e : -1), ut.push((s = t.beforeExpr) != null ? s : false), ft.push((i = t.startsExpr) != null ? i : false), dt.push((r = t.prefix) != null ? r : false), B.push(new Ee("name", t)), pe;
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, T, "T");
|
|
646
646
|
var ti = { bracketL: P("[", { beforeExpr: b, startsExpr: m }), bracketHashL: P("#[", { beforeExpr: b, startsExpr: m }), bracketBarL: P("[|", { beforeExpr: b, startsExpr: m }), bracketR: P("]"), bracketBarR: P("|]"), braceL: P("{", { beforeExpr: b, startsExpr: m }), braceBarL: P("{|", { beforeExpr: b, startsExpr: m }), braceHashL: P("#{", { beforeExpr: b, startsExpr: m }), braceR: P("}"), braceBarR: P("|}"), parenL: P("(", { beforeExpr: b, startsExpr: m }), parenR: P(")"), comma: P(",", { beforeExpr: b }), semi: P(";", { beforeExpr: b }), colon: P(":", { beforeExpr: b }), doubleColon: P("::", { beforeExpr: b }), dot: P("."), question: P("?", { beforeExpr: b }), questionDot: P("?."), arrow: P("=>", { beforeExpr: b }), template: P("template"), ellipsis: P("...", { beforeExpr: b }), backQuote: P("`", { startsExpr: m }), dollarBraceL: P("${", { beforeExpr: b, startsExpr: m }), templateTail: P("...`", { startsExpr: m }), templateNonTail: P("...${", { beforeExpr: b, startsExpr: m }), at: P("@"), hash: P("#", { startsExpr: m }), interpreterDirective: P("#!..."), eq: P("=", { beforeExpr: b, isAssign: oe }), assign: P("_=", { beforeExpr: b, isAssign: oe }), slashAssign: P("_=", { beforeExpr: b, isAssign: oe }), xorAssign: P("_=", { beforeExpr: b, isAssign: oe }), moduloAssign: P("_=", { beforeExpr: b, isAssign: oe }), incDec: P("++/--", { prefix: z, postfix: ei, startsExpr: m }), bang: P("!", { beforeExpr: b, prefix: z, startsExpr: m }), tilde: P("~", { beforeExpr: b, prefix: z, startsExpr: m }), doubleCaret: P("^^", { startsExpr: m }), doubleAt: P("@@", { startsExpr: m }), pipeline: k("|>", 0), nullishCoalescing: k("??", 1), logicalOR: k("||", 1), logicalAND: k("&&", 2), bitwiseOR: k("|", 3), bitwiseXOR: k("^", 4), bitwiseAND: k("&", 5), equality: k("==/!=/===/!==", 6), lt: k("</>/<=/>=", 7), gt: k("</>/<=/>=", 7), relational: k("</>/<=/>=", 7), bitShift: k("<</>>/>>>", 8), bitShiftL: k("<</>>/>>>", 8), bitShiftR: k("<</>>/>>>", 8), plusMin: P("+/-", { beforeExpr: b, binop: 9, prefix: z, startsExpr: m }), modulo: P("%", { binop: 10, startsExpr: m }), star: P("*", { binop: 10 }), slash: k("/", 10), exponent: P("**", { beforeExpr: b, binop: 11, rightAssociative: true }), _in: A("in", { beforeExpr: b, binop: 7 }), _instanceof: A("instanceof", { beforeExpr: b, binop: 7 }), _break: A("break"), _case: A("case", { beforeExpr: b }), _catch: A("catch"), _continue: A("continue"), _debugger: A("debugger"), _default: A("default", { beforeExpr: b }), _else: A("else", { beforeExpr: b }), _finally: A("finally"), _function: A("function", { startsExpr: m }), _if: A("if"), _return: A("return", { beforeExpr: b }), _switch: A("switch"), _throw: A("throw", { beforeExpr: b, prefix: z, startsExpr: m }), _try: A("try"), _var: A("var"), _const: A("const"), _with: A("with"), _new: A("new", { beforeExpr: b, startsExpr: m }), _this: A("this", { startsExpr: m }), _super: A("super", { startsExpr: m }), _class: A("class", { startsExpr: m }), _extends: A("extends", { beforeExpr: b }), _export: A("export"), _import: A("import", { startsExpr: m }), _null: A("null", { startsExpr: m }), _true: A("true", { startsExpr: m }), _false: A("false", { startsExpr: m }), _typeof: A("typeof", { beforeExpr: b, prefix: z, startsExpr: m }), _void: A("void", { beforeExpr: b, prefix: z, startsExpr: m }), _delete: A("delete", { beforeExpr: b, prefix: z, startsExpr: m }), _do: A("do", { isLoop: Ue, beforeExpr: b }), _for: A("for", { isLoop: Ue }), _while: A("while", { isLoop: Ue }), _as: T("as", { startsExpr: m }), _assert: T("assert", { startsExpr: m }), _async: T("async", { startsExpr: m }), _await: T("await", { startsExpr: m }), _defer: T("defer", { startsExpr: m }), _from: T("from", { startsExpr: m }), _get: T("get", { startsExpr: m }), _let: T("let", { startsExpr: m }), _meta: T("meta", { startsExpr: m }), _of: T("of", { startsExpr: m }), _sent: T("sent", { startsExpr: m }), _set: T("set", { startsExpr: m }), _source: T("source", { startsExpr: m }), _static: T("static", { startsExpr: m }), _using: T("using", { startsExpr: m }), _yield: T("yield", { startsExpr: m }), _asserts: T("asserts", { startsExpr: m }), _checks: T("checks", { startsExpr: m }), _exports: T("exports", { startsExpr: m }), _global: T("global", { startsExpr: m }), _implements: T("implements", { startsExpr: m }), _intrinsic: T("intrinsic", { startsExpr: m }), _infer: T("infer", { startsExpr: m }), _is: T("is", { startsExpr: m }), _mixins: T("mixins", { startsExpr: m }), _proto: T("proto", { startsExpr: m }), _require: T("require", { startsExpr: m }), _satisfies: T("satisfies", { startsExpr: m }), _keyof: T("keyof", { startsExpr: m }), _readonly: T("readonly", { startsExpr: m }), _unique: T("unique", { startsExpr: m }), _abstract: T("abstract", { startsExpr: m }), _declare: T("declare", { startsExpr: m }), _enum: T("enum", { startsExpr: m }), _module: T("module", { startsExpr: m }), _namespace: T("namespace", { startsExpr: m }), _interface: T("interface", { startsExpr: m }), _type: T("type", { startsExpr: m }), _opaque: T("opaque", { startsExpr: m }), name: P("name", { startsExpr: m }), placeholder: P("%%", { startsExpr: true }), string: P("string", { startsExpr: m }), num: P("num", { startsExpr: m }), bigint: P("bigint", { startsExpr: m }), decimal: P("decimal", { startsExpr: m }), regexp: P("regexp", { startsExpr: m }), privateName: P("#name", { startsExpr: m }), eof: P("eof"), jsxName: P("jsxName"), jsxText: P("jsxText", { beforeExpr: true }), jsxTagStart: P("jsxTagStart", { startsExpr: true }), jsxTagEnd: P("jsxTagEnd") };
|
|
647
647
|
function C(a) {
|
|
648
648
|
return a >= 93 && a <= 133;
|
|
649
649
|
}
|
|
650
|
-
|
|
650
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, C, "C");
|
|
651
651
|
function si(a) {
|
|
652
652
|
return a <= 92;
|
|
653
653
|
}
|
|
654
|
-
|
|
654
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, si, "si");
|
|
655
655
|
function D(a) {
|
|
656
656
|
return a >= 58 && a <= 133;
|
|
657
657
|
}
|
|
658
|
-
|
|
658
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, D, "D");
|
|
659
659
|
function Vt(a) {
|
|
660
660
|
return a >= 58 && a <= 137;
|
|
661
661
|
}
|
|
662
|
-
|
|
662
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Vt, "Vt");
|
|
663
663
|
function ii(a) {
|
|
664
664
|
return ut[a];
|
|
665
665
|
}
|
|
666
|
-
|
|
666
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ii, "ii");
|
|
667
667
|
function Ve(a) {
|
|
668
668
|
return ft[a];
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ve, "Ve");
|
|
671
671
|
function ri(a) {
|
|
672
672
|
return a >= 29 && a <= 33;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ri, "ri");
|
|
675
675
|
function Dt(a) {
|
|
676
676
|
return a >= 129 && a <= 131;
|
|
677
677
|
}
|
|
678
|
-
|
|
678
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Dt, "Dt");
|
|
679
679
|
function ai(a) {
|
|
680
680
|
return a >= 90 && a <= 92;
|
|
681
681
|
}
|
|
682
|
-
|
|
682
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ai, "ai");
|
|
683
683
|
function mt(a) {
|
|
684
684
|
return a >= 58 && a <= 92;
|
|
685
685
|
}
|
|
686
|
-
|
|
686
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, mt, "mt");
|
|
687
687
|
function ni(a) {
|
|
688
688
|
return a >= 39 && a <= 59;
|
|
689
689
|
}
|
|
690
|
-
|
|
690
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ni, "ni");
|
|
691
691
|
function oi(a) {
|
|
692
692
|
return a === 34;
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, oi, "oi");
|
|
695
695
|
function hi(a) {
|
|
696
696
|
return dt[a];
|
|
697
697
|
}
|
|
698
|
-
|
|
698
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, hi, "hi");
|
|
699
699
|
function li(a) {
|
|
700
700
|
return a >= 121 && a <= 123;
|
|
701
701
|
}
|
|
702
|
-
|
|
702
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, li, "li");
|
|
703
703
|
function ci(a) {
|
|
704
704
|
return a >= 124 && a <= 130;
|
|
705
705
|
}
|
|
706
|
-
|
|
706
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ci, "ci");
|
|
707
707
|
function q(a) {
|
|
708
708
|
return ct[a];
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, q, "q");
|
|
711
711
|
function we(a) {
|
|
712
712
|
return pt[a];
|
|
713
713
|
}
|
|
714
|
-
|
|
714
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, we, "we");
|
|
715
715
|
function pi(a) {
|
|
716
716
|
return a === 57;
|
|
717
717
|
}
|
|
718
|
-
|
|
718
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, pi, "pi");
|
|
719
719
|
function Ie(a) {
|
|
720
720
|
return a >= 24 && a <= 25;
|
|
721
721
|
}
|
|
722
|
-
|
|
722
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ie, "Ie");
|
|
723
723
|
function F(a) {
|
|
724
724
|
return B[a];
|
|
725
725
|
}
|
|
726
|
-
|
|
726
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, F, "F");
|
|
727
727
|
B[8].updateContext = (a) => {
|
|
728
728
|
a.pop();
|
|
729
729
|
}, B[5].updateContext = B[7].updateContext = B[23].updateContext = (a) => {
|
|
@@ -744,55 +744,55 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
744
744
|
}
|
|
745
745
|
return false;
|
|
746
746
|
}
|
|
747
|
-
|
|
747
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, qe, "qe");
|
|
748
748
|
function R(a) {
|
|
749
749
|
return a < 65 ? a === 36 : a <= 90 ? true : a < 97 ? a === 95 : a <= 122 ? true : a <= 65535 ? a >= 170 && ui.test(String.fromCharCode(a)) : qe(a, Kt);
|
|
750
750
|
}
|
|
751
|
-
|
|
751
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, R, "R");
|
|
752
752
|
function G(a) {
|
|
753
753
|
return a < 48 ? a === 36 : a < 58 ? true : a < 65 ? false : a <= 90 ? true : a < 97 ? a === 95 : a <= 122 ? true : a <= 65535 ? a >= 170 && fi.test(String.fromCharCode(a)) : qe(a, Kt) || qe(a, di);
|
|
754
754
|
}
|
|
755
|
-
|
|
755
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, G, "G");
|
|
756
756
|
var xt = { keyword: ["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"], strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], strictBind: ["eval", "arguments"] }, mi = new Set(xt.keyword), yi = new Set(xt.strict), xi = new Set(xt.strictBind);
|
|
757
757
|
function Ht(a, t) {
|
|
758
758
|
return t && a === "await" || a === "enum";
|
|
759
759
|
}
|
|
760
|
-
|
|
760
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ht, "Ht");
|
|
761
761
|
function Jt(a, t) {
|
|
762
762
|
return Ht(a, t) || yi.has(a);
|
|
763
763
|
}
|
|
764
|
-
|
|
764
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Jt, "Jt");
|
|
765
765
|
function Wt(a) {
|
|
766
766
|
return xi.has(a);
|
|
767
767
|
}
|
|
768
|
-
|
|
768
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Wt, "Wt");
|
|
769
769
|
function Xt(a, t) {
|
|
770
770
|
return Jt(a, t) || Wt(a);
|
|
771
771
|
}
|
|
772
|
-
|
|
772
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Xt, "Xt");
|
|
773
773
|
function Pi(a) {
|
|
774
774
|
return mi.has(a);
|
|
775
775
|
}
|
|
776
|
-
|
|
776
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Pi, "Pi");
|
|
777
777
|
function gi(a, t, e) {
|
|
778
778
|
return a === 64 && t === 64 && R(e);
|
|
779
779
|
}
|
|
780
|
-
|
|
780
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, gi, "gi");
|
|
781
781
|
var Ti = /* @__PURE__ */ 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"]);
|
|
782
782
|
function bi(a) {
|
|
783
783
|
return Ti.has(a);
|
|
784
784
|
}
|
|
785
|
-
|
|
785
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, bi, "bi");
|
|
786
786
|
var ue = class {
|
|
787
787
|
static {
|
|
788
|
-
|
|
788
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "ue");
|
|
789
789
|
}
|
|
790
790
|
constructor(t) {
|
|
791
791
|
this.flags = 0, this.names = /* @__PURE__ */ new Map(), this.firstLexicalName = "", this.flags = t;
|
|
792
792
|
}
|
|
793
793
|
}, fe = class {
|
|
794
794
|
static {
|
|
795
|
-
|
|
795
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "fe");
|
|
796
796
|
}
|
|
797
797
|
constructor(t, e) {
|
|
798
798
|
this.parser = void 0, this.scopeStack = [], this.inModule = void 0, this.undefinedExports = /* @__PURE__ */ new Map(), this.parser = t, this.inModule = e;
|
|
@@ -883,14 +883,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
883
883
|
}
|
|
884
884
|
}, Ke = class extends ue {
|
|
885
885
|
static {
|
|
886
|
-
|
|
886
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Ke");
|
|
887
887
|
}
|
|
888
888
|
constructor(...t) {
|
|
889
889
|
super(...t), this.declareFunctions = /* @__PURE__ */ new Set();
|
|
890
890
|
}
|
|
891
891
|
}, He = class extends fe {
|
|
892
892
|
static {
|
|
893
|
-
|
|
893
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "He");
|
|
894
894
|
}
|
|
895
895
|
createScope(t) {
|
|
896
896
|
return new Ke(t);
|
|
@@ -916,7 +916,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
916
916
|
}
|
|
917
917
|
}, Je = class {
|
|
918
918
|
static {
|
|
919
|
-
|
|
919
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Je");
|
|
920
920
|
}
|
|
921
921
|
constructor() {
|
|
922
922
|
this.sawUnambiguousESM = false, this.ambiguousScriptDifferentAst = false;
|
|
@@ -945,24 +945,24 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
945
945
|
function Gt(a, t) {
|
|
946
946
|
a.trailingComments === void 0 ? a.trailingComments = t : a.trailingComments.unshift(...t);
|
|
947
947
|
}
|
|
948
|
-
|
|
948
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Gt, "Gt");
|
|
949
949
|
function Ai(a, t) {
|
|
950
950
|
a.leadingComments === void 0 ? a.leadingComments = t : a.leadingComments.unshift(...t);
|
|
951
951
|
}
|
|
952
|
-
|
|
952
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ai, "Ai");
|
|
953
953
|
function de(a, t) {
|
|
954
954
|
a.innerComments === void 0 ? a.innerComments = t : a.innerComments.unshift(...t);
|
|
955
955
|
}
|
|
956
|
-
|
|
956
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, de, "de");
|
|
957
957
|
function he(a, t, e) {
|
|
958
958
|
let s = null, i = t.length;
|
|
959
959
|
for (; s === null && i > 0; ) s = t[--i];
|
|
960
960
|
s === null || s.start > e.start ? de(a, e.comments) : Gt(s, e.comments);
|
|
961
961
|
}
|
|
962
|
-
|
|
962
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, he, "he");
|
|
963
963
|
var We = class extends Je {
|
|
964
964
|
static {
|
|
965
|
-
|
|
965
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "We");
|
|
966
966
|
}
|
|
967
967
|
addComment(t) {
|
|
968
968
|
this.filename && (t.loc.filename = this.filename);
|
|
@@ -1060,12 +1060,12 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1060
1060
|
return false;
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
|
-
|
|
1063
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Y, "Y");
|
|
1064
1064
|
function Mt(a, t, e) {
|
|
1065
1065
|
for (let s = t; s < e; s++) if (Y(a.charCodeAt(s))) return true;
|
|
1066
1066
|
return false;
|
|
1067
1067
|
}
|
|
1068
|
-
|
|
1068
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Mt, "Mt");
|
|
1069
1069
|
var _e = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, je = /(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;
|
|
1070
1070
|
function wi(a) {
|
|
1071
1071
|
switch (a) {
|
|
@@ -1095,10 +1095,10 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1095
1095
|
return false;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
|
-
|
|
1098
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, wi, "wi");
|
|
1099
1099
|
var Xe = class a {
|
|
1100
1100
|
static {
|
|
1101
|
-
|
|
1101
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "a");
|
|
1102
1102
|
}
|
|
1103
1103
|
constructor() {
|
|
1104
1104
|
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 = [E.brace], this.firstInvalidTemplateEscapePos = null, this.strictErrors = /* @__PURE__ */ new Map(), this.tokensLength = 0;
|
|
@@ -1191,9 +1191,9 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1191
1191
|
let t = new a();
|
|
1192
1192
|
return t.flags = this.flags, t.startIndex = this.startIndex, t.curLine = this.curLine, t.lineStart = this.lineStart, t.startLoc = this.startLoc, t.endLoc = this.endLoc, t.errors = this.errors.slice(), t.potentialArrowAt = this.potentialArrowAt, t.noArrowAt = this.noArrowAt.slice(), t.noArrowParamsConversionAt = this.noArrowParamsConversionAt.slice(), t.topicContext = this.topicContext, t.labels = this.labels.slice(), t.commentsLen = this.commentsLen, t.commentStack = this.commentStack.slice(), t.pos = this.pos, t.type = this.type, t.value = this.value, t.start = this.start, t.end = this.end, t.lastTokEndLoc = this.lastTokEndLoc, t.lastTokStartLoc = this.lastTokStartLoc, t.context = this.context.slice(), t.firstInvalidTemplateEscapePos = this.firstInvalidTemplateEscapePos, t.strictErrors = this.strictErrors, t.tokensLength = this.tokensLength, t;
|
|
1193
1193
|
}
|
|
1194
|
-
}, Ci = /* @__PURE__ */
|
|
1194
|
+
}, Ci = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, function(t) {
|
|
1195
1195
|
return t >= 48 && t <= 57;
|
|
1196
|
-
}, "Ci"), Ot = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Ae = { bin: /* @__PURE__ */
|
|
1196
|
+
}, "Ci"), Ot = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Ae = { bin: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a === 48 || a === 49, "bin"), oct: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a >= 48 && a <= 55, "oct"), dec: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a >= 48 && a <= 57, "dec"), hex: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102, "hex") };
|
|
1197
1197
|
function Ft(a, t, e, s, i, r) {
|
|
1198
1198
|
let n = e, o = s, h = i, l = "", c = null, u = e, { length: f } = t;
|
|
1199
1199
|
for (; ; ) {
|
|
@@ -1215,15 +1215,15 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
return { pos: e, str: l, firstInvalidLoc: c, lineStart: s, curLine: i, containsInvalid: !!c };
|
|
1217
1217
|
}
|
|
1218
|
-
|
|
1218
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ft, "Ft");
|
|
1219
1219
|
function Ei(a, t, e, s) {
|
|
1220
1220
|
return a === "template" ? t === 96 || t === 36 && e.charCodeAt(s + 1) === 123 : t === (a === "double" ? 34 : 39);
|
|
1221
1221
|
}
|
|
1222
|
-
|
|
1222
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ei, "Ei");
|
|
1223
1223
|
function Ii(a, t, e, s, i, r) {
|
|
1224
1224
|
let n = !i;
|
|
1225
1225
|
t++;
|
|
1226
|
-
let o = /* @__PURE__ */
|
|
1226
|
+
let o = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (l) => ({ pos: t, ch: l, lineStart: e, curLine: s }), "o"), h = a.charCodeAt(t++);
|
|
1227
1227
|
switch (h) {
|
|
1228
1228
|
case 110:
|
|
1229
1229
|
return o(`
|
|
@@ -1271,12 +1271,12 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1271
1271
|
return o(String.fromCharCode(h));
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
|
|
1274
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ii, "Ii");
|
|
1275
1275
|
function Ge(a, t, e, s, i, r, n, o) {
|
|
1276
1276
|
let h = t, l;
|
|
1277
1277
|
return { n: l, pos: t } = Yt(a, t, e, s, 16, i, r, false, o, !n), l === null && (n ? o.invalidEscapeSequence(h, e, s) : t = h - 1), { code: l, pos: t };
|
|
1278
1278
|
}
|
|
1279
|
-
|
|
1279
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ge, "Ge");
|
|
1280
1280
|
function Yt(a, t, e, s, i, r, n, o, h, l) {
|
|
1281
1281
|
let c = t, u = i === 16 ? Ot.hex : Ot.decBinOct, f = i === 16 ? Ae.hex : i === 10 ? Ae.dec : i === 8 ? Ae.oct : Ae.bin, d = false, x = 0;
|
|
1282
1282
|
for (let S = 0, N = _nullishCoalesce(r, () => ( 1 / 0)); S < N; ++S) {
|
|
@@ -1305,7 +1305,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return t === c || r != null && t - c !== r || d ? { n: null, pos: t } : { n: x, pos: t };
|
|
1307
1307
|
}
|
|
1308
|
-
|
|
1308
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Yt, "Yt");
|
|
1309
1309
|
function Qt(a, t, e, s, i, r) {
|
|
1310
1310
|
let n = a.charCodeAt(t), o;
|
|
1311
1311
|
if (n === 123) {
|
|
@@ -1314,14 +1314,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1314
1314
|
} else ({ code: o, pos: t } = Ge(a, t, e, s, 4, false, i, r));
|
|
1315
1315
|
return { code: o, pos: t };
|
|
1316
1316
|
}
|
|
1317
|
-
|
|
1317
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Qt, "Qt");
|
|
1318
1318
|
function le(a, t, e) {
|
|
1319
1319
|
return new O(e, a - t, a);
|
|
1320
1320
|
}
|
|
1321
|
-
|
|
1321
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, le, "le");
|
|
1322
1322
|
var Ni = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]), M = class {
|
|
1323
1323
|
static {
|
|
1324
|
-
|
|
1324
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "M");
|
|
1325
1325
|
}
|
|
1326
1326
|
constructor(t) {
|
|
1327
1327
|
let e = t.startIndex || 0;
|
|
@@ -1329,14 +1329,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
}, Ye = class extends We {
|
|
1331
1331
|
static {
|
|
1332
|
-
|
|
1332
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Ye");
|
|
1333
1333
|
}
|
|
1334
1334
|
constructor(t, e) {
|
|
1335
|
-
super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = { invalidDigit: /* @__PURE__ */
|
|
1335
|
+
super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = { invalidDigit: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (s, i, r, n) => this.options.errorRecovery ? (this.raise(p.InvalidDigit, le(s, i, r), { radix: n }), true) : false, "invalidDigit"), numericSeparatorInEscapeSequence: this.errorBuilder(p.NumericSeparatorInEscapeSequence), unexpectedNumericSeparator: this.errorBuilder(p.UnexpectedNumericSeparator) }, this.errorHandlers_readCodePoint = Object.assign({}, this.errorHandlers_readInt, { invalidEscapeSequence: this.errorBuilder(p.InvalidEscapeSequence), invalidCodePoint: this.errorBuilder(p.InvalidCodePoint) }), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (s, i, r) => {
|
|
1336
1336
|
this.recordStrictModeErrors(p.StrictNumericEscape, le(s, i, r));
|
|
1337
|
-
}, "strictNumericEscape"), unterminated: /* @__PURE__ */
|
|
1337
|
+
}, "strictNumericEscape"), unterminated: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (s, i, r) => {
|
|
1338
1338
|
throw this.raise(p.UnterminatedString, le(s - 1, i, r));
|
|
1339
|
-
}, "unterminated") }), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: this.errorBuilder(p.StrictNumericEscape), unterminated: /* @__PURE__ */
|
|
1339
|
+
}, "unterminated") }), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: this.errorBuilder(p.StrictNumericEscape), unterminated: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (s, i, r) => {
|
|
1340
1340
|
throw this.raise(p.UnterminatedTemplate, le(s, i, r));
|
|
1341
1341
|
}, "unterminated") }), this.state = new Xe(), this.state.init(t), this.input = e, this.length = e.length, this.comments = [], this.isLookahead = false;
|
|
1342
1342
|
}
|
|
@@ -1749,7 +1749,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
let n = this.input.slice(e, r);
|
|
1751
1751
|
++r;
|
|
1752
|
-
let o = "", h = /* @__PURE__ */
|
|
1752
|
+
let o = "", h = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => v(t, r + 2 - e), "h");
|
|
1753
1753
|
for (; r < this.length; ) {
|
|
1754
1754
|
let l = this.codePointAtPos(r), c = String.fromCharCode(l);
|
|
1755
1755
|
if (Ni.has(l)) l === 118 ? o.includes("u") && this.raise(p.IncompatibleRegExpUVFlags, h()) : l === 117 && o.includes("v") && this.raise(p.IncompatibleRegExpUVFlags, h()), o.includes(c) && this.raise(p.DuplicateRegExpFlags, h());
|
|
@@ -1889,14 +1889,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
}, Qe = class {
|
|
1891
1891
|
static {
|
|
1892
|
-
|
|
1892
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Qe");
|
|
1893
1893
|
}
|
|
1894
1894
|
constructor() {
|
|
1895
1895
|
this.privateNames = /* @__PURE__ */ new Set(), this.loneAccessors = /* @__PURE__ */ new Map(), this.undefinedPrivateNames = /* @__PURE__ */ new Map();
|
|
1896
1896
|
}
|
|
1897
1897
|
}, Ze = class {
|
|
1898
1898
|
static {
|
|
1899
|
-
|
|
1899
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Ze");
|
|
1900
1900
|
}
|
|
1901
1901
|
constructor(t) {
|
|
1902
1902
|
this.parser = void 0, this.stack = [], this.undefinedPrivateNames = /* @__PURE__ */ new Map(), this.parser = t;
|
|
@@ -1929,7 +1929,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
}, ee = class {
|
|
1931
1931
|
static {
|
|
1932
|
-
|
|
1932
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "ee");
|
|
1933
1933
|
}
|
|
1934
1934
|
constructor(t = 0) {
|
|
1935
1935
|
this.type = t;
|
|
@@ -1942,7 +1942,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
}, Ne = class extends ee {
|
|
1944
1944
|
static {
|
|
1945
|
-
|
|
1945
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Ne");
|
|
1946
1946
|
}
|
|
1947
1947
|
constructor(t) {
|
|
1948
1948
|
super(t), this.declarationErrors = /* @__PURE__ */ new Map();
|
|
@@ -1959,7 +1959,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
}, et = class {
|
|
1961
1961
|
static {
|
|
1962
|
-
|
|
1962
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "et");
|
|
1963
1963
|
}
|
|
1964
1964
|
constructor(t) {
|
|
1965
1965
|
this.parser = void 0, this.stack = [new ee()], this.parser = t;
|
|
@@ -2001,22 +2001,22 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
2001
2001
|
function ki() {
|
|
2002
2002
|
return new ee(3);
|
|
2003
2003
|
}
|
|
2004
|
-
|
|
2004
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ki, "ki");
|
|
2005
2005
|
function vi() {
|
|
2006
2006
|
return new Ne(1);
|
|
2007
2007
|
}
|
|
2008
|
-
|
|
2008
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, vi, "vi");
|
|
2009
2009
|
function Li() {
|
|
2010
2010
|
return new Ne(2);
|
|
2011
2011
|
}
|
|
2012
|
-
|
|
2012
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Li, "Li");
|
|
2013
2013
|
function Zt() {
|
|
2014
2014
|
return new ee();
|
|
2015
2015
|
}
|
|
2016
|
-
|
|
2016
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Zt, "Zt");
|
|
2017
2017
|
var tt = class {
|
|
2018
2018
|
static {
|
|
2019
|
-
|
|
2019
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "tt");
|
|
2020
2020
|
}
|
|
2021
2021
|
constructor() {
|
|
2022
2022
|
this.stacks = [];
|
|
@@ -2046,10 +2046,10 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
2046
2046
|
function Ce(a, t) {
|
|
2047
2047
|
return (a ? 2 : 0) | (t ? 1 : 0);
|
|
2048
2048
|
}
|
|
2049
|
-
|
|
2049
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ce, "Ce");
|
|
2050
2050
|
var st = class extends Ye {
|
|
2051
2051
|
static {
|
|
2052
|
-
|
|
2052
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "st");
|
|
2053
2053
|
}
|
|
2054
2054
|
addExtra(t, e, s, i = true) {
|
|
2055
2055
|
if (!t) return;
|
|
@@ -2168,14 +2168,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
}, Q = class {
|
|
2170
2170
|
static {
|
|
2171
|
-
|
|
2171
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "Q");
|
|
2172
2172
|
}
|
|
2173
2173
|
constructor() {
|
|
2174
2174
|
this.shorthandAssignLoc = null, this.doubleProtoLoc = null, this.privateKeyLoc = null, this.optionalParametersLoc = null;
|
|
2175
2175
|
}
|
|
2176
2176
|
}, te = class {
|
|
2177
2177
|
static {
|
|
2178
|
-
|
|
2178
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "te");
|
|
2179
2179
|
}
|
|
2180
2180
|
constructor(t, e, s) {
|
|
2181
2181
|
this.type = "", this.start = e, this.end = 0, this.loc = new Z(s), t != null && t.options.ranges && (this.range = [e, 0]), t != null && t.filename && (this.loc.filename = t.filename);
|
|
@@ -2192,22 +2192,22 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
2192
2192
|
function Di(a) {
|
|
2193
2193
|
return _(a);
|
|
2194
2194
|
}
|
|
2195
|
-
|
|
2195
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Di, "Di");
|
|
2196
2196
|
function _(a) {
|
|
2197
2197
|
let { type: t, start: e, end: s, loc: i, range: r, extra: n, name: o } = a, h = Object.create(Pt);
|
|
2198
2198
|
return h.type = t, h.start = e, h.end = s, h.loc = i, h.range = r, h.extra = n, h.name = o, t === "Placeholder" && (h.expectedNode = a.expectedNode), h;
|
|
2199
2199
|
}
|
|
2200
|
-
|
|
2200
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, _, "_");
|
|
2201
2201
|
function Mi(a) {
|
|
2202
2202
|
let { type: t, start: e, end: s, loc: i, range: r, extra: n } = a;
|
|
2203
2203
|
if (t === "Placeholder") return Di(a);
|
|
2204
2204
|
let o = Object.create(Pt);
|
|
2205
2205
|
return o.type = t, o.start = e, o.end = s, o.loc = i, o.range = r, a.raw !== void 0 ? o.raw = a.raw : o.extra = n, o.value = a.value, o;
|
|
2206
2206
|
}
|
|
2207
|
-
|
|
2207
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Mi, "Mi");
|
|
2208
2208
|
var it = class extends st {
|
|
2209
2209
|
static {
|
|
2210
|
-
|
|
2210
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "it");
|
|
2211
2211
|
}
|
|
2212
2212
|
startNode() {
|
|
2213
2213
|
let t = this.state.startLoc;
|
|
@@ -2234,23 +2234,23 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
2234
2234
|
resetStartLocationFromNode(t, e) {
|
|
2235
2235
|
this.resetStartLocation(t, e.loc.start);
|
|
2236
2236
|
}
|
|
2237
|
-
}, Oi = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), g = U`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: /* @__PURE__ */
|
|
2237
|
+
}, Oi = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), g = U`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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ reservedType: a }) => `Cannot overwrite reserved type ${a}.`, "AssignReservedType"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ memberName: a, enumName: t }) => `Boolean enum members need to be initialized. Use either \`${a} = true,\` or \`${a} = false,\` in enum \`${t}\`.`, "EnumBooleanMemberNotInitialized"), EnumDuplicateMemberName: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ memberName: a, enumName: t }) => `Enum member names need to be unique, but the name \`${a}\` has already been used before in enum \`${t}\`.`, "EnumDuplicateMemberName"), EnumInconsistentMemberValues: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a }) => `Enum \`${a}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`, "EnumInconsistentMemberValues"), EnumInvalidExplicitType: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ invalidEnumType: a, enumName: t }) => `Enum type \`${a}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`, "EnumInvalidExplicitType"), EnumInvalidExplicitTypeUnknownSupplied: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a }) => `Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`, "EnumInvalidExplicitTypeUnknownSupplied"), EnumInvalidMemberInitializerPrimaryType: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a, memberName: t, explicitType: e }) => `Enum \`${a}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`, "EnumInvalidMemberInitializerPrimaryType"), EnumInvalidMemberInitializerSymbolType: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a, memberName: t }) => `Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${a}\`.`, "EnumInvalidMemberInitializerSymbolType"), EnumInvalidMemberInitializerUnknownType: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a, memberName: t }) => `The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${a}\`.`, "EnumInvalidMemberInitializerUnknownType"), EnumInvalidMemberName: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a, memberName: t, suggestion: e }) => `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${a}\`.`, "EnumInvalidMemberName"), EnumNumberMemberNotInitialized: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a, memberName: t }) => `Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${a}\`.`, "EnumNumberMemberNotInitialized"), EnumStringMemberInconsistentlyInitialized: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ enumName: a }) => `String enum members need to consistently either all use initializers, or use no initializers, in enum \`${a}\`.`, "EnumStringMemberInconsistentlyInitialized"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ reservedType: a }) => `Unexpected reserved type ${a}.`, "UnexpectedReservedType"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ unsupportedExportKind: a, suggestion: t }) => `\`declare export ${a}\` is not supported. Use \`${t}\` instead.`, "UnsupportedDeclareExportKind"), UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module.", UnterminatedFlowComment: "Unterminated flow-comment." });
|
|
2238
2238
|
function Fi(a) {
|
|
2239
2239
|
return a.type === "DeclareExportAllDeclaration" || a.type === "DeclareExportDeclaration" && (!a.declaration || a.declaration.type !== "TypeAlias" && a.declaration.type !== "InterfaceDeclaration");
|
|
2240
2240
|
}
|
|
2241
|
-
|
|
2241
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Fi, "Fi");
|
|
2242
2242
|
function Bt(a) {
|
|
2243
2243
|
return a.importKind === "type" || a.importKind === "typeof";
|
|
2244
2244
|
}
|
|
2245
|
-
|
|
2245
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Bt, "Bt");
|
|
2246
2246
|
var Bi = { const: "declare export var", let: "declare export var", type: "export type", interface: "export interface" };
|
|
2247
2247
|
function Ri(a, t) {
|
|
2248
2248
|
let e = [], s = [];
|
|
2249
2249
|
for (let i = 0; i < a.length; i++) (t(a[i], i, a) ? e : s).push(a[i]);
|
|
2250
2250
|
return [e, s];
|
|
2251
2251
|
}
|
|
2252
|
-
|
|
2253
|
-
var Ui = /\*?\s*@((?:no)?flow)\b/, _i = /* @__PURE__ */
|
|
2252
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ri, "Ri");
|
|
2253
|
+
var Ui = /\*?\s*@((?:no)?flow)\b/, _i = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
2254
2254
|
constructor(...e) {
|
|
2255
2255
|
super(...e), this.flowPragma = void 0;
|
|
2256
2256
|
}
|
|
@@ -3123,7 +3123,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3123
3123
|
this.raise(g.EnumStringMemberInconsistentlyInitialized, e, s);
|
|
3124
3124
|
}
|
|
3125
3125
|
flowEnumMemberInit() {
|
|
3126
|
-
let e = this.state.startLoc, s = /* @__PURE__ */
|
|
3126
|
+
let e = this.state.startLoc, s = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => this.match(12) || this.match(8), "s");
|
|
3127
3127
|
switch (this.state.type) {
|
|
3128
3128
|
case 135: {
|
|
3129
3129
|
let i = this.parseNumericLiteral(this.state.value);
|
|
@@ -3223,7 +3223,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3223
3223
|
case "symbol":
|
|
3224
3224
|
return e.members = o.defaultedMembers, this.expect(8), this.finishNode(e, "EnumSymbolBody");
|
|
3225
3225
|
default: {
|
|
3226
|
-
let l = /* @__PURE__ */
|
|
3226
|
+
let l = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => (e.members = [], this.expect(8), this.finishNode(e, "EnumStringBody")), "l");
|
|
3227
3227
|
e.explicitType = false;
|
|
3228
3228
|
let c = o.booleanMembers.length, u = o.numberMembers.length, f = o.stringMembers.length, d = o.defaultedMembers.length;
|
|
3229
3229
|
if (!c && !u && !f && !d) return l();
|
|
@@ -3253,19 +3253,19 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3253
3253
|
maybeUnwrapTypeCastExpression(e) {
|
|
3254
3254
|
return e.type === "TypeCastExpression" ? e.expression : e;
|
|
3255
3255
|
}
|
|
3256
|
-
}, "_i"), H = U`jsx`({ AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", MissingClosingTagElement: /* @__PURE__ */
|
|
3256
|
+
}, "_i"), H = U`jsx`({ AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", MissingClosingTagElement: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ openingTagName: a }) => `Expected corresponding JSX closing tag for <${a}>.`, "MissingClosingTagElement"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ unexpected: a, HTMLEntity: t }) => `Unexpected token \`${a}\`. Did you mean \`${t}\` or \`{'${a}'}\`?`, "UnexpectedToken"), 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 <>...</>?" });
|
|
3257
3257
|
function V(a) {
|
|
3258
3258
|
return a ? a.type === "JSXOpeningFragment" || a.type === "JSXClosingFragment" : false;
|
|
3259
3259
|
}
|
|
3260
|
-
|
|
3260
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, V, "V");
|
|
3261
3261
|
function X(a) {
|
|
3262
3262
|
if (a.type === "JSXIdentifier") return a.name;
|
|
3263
3263
|
if (a.type === "JSXNamespacedName") return a.namespace.name + ":" + a.name.name;
|
|
3264
3264
|
if (a.type === "JSXMemberExpression") return X(a.object) + "." + X(a.property);
|
|
3265
3265
|
throw new Error("Node had unexpected type: " + a.type);
|
|
3266
3266
|
}
|
|
3267
|
-
|
|
3268
|
-
var ji = /* @__PURE__ */
|
|
3267
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, X, "X");
|
|
3268
|
+
var ji = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
3269
3269
|
jsxReadToken() {
|
|
3270
3270
|
let e = "", s = this.state.pos;
|
|
3271
3271
|
for (; ; ) {
|
|
@@ -3472,14 +3472,14 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3472
3472
|
}
|
|
3473
3473
|
}, "ji"), rt = class extends ue {
|
|
3474
3474
|
static {
|
|
3475
|
-
|
|
3475
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "rt");
|
|
3476
3476
|
}
|
|
3477
3477
|
constructor(...t) {
|
|
3478
3478
|
super(...t), this.tsNames = /* @__PURE__ */ new Map();
|
|
3479
3479
|
}
|
|
3480
3480
|
}, at = class extends fe {
|
|
3481
3481
|
static {
|
|
3482
|
-
|
|
3482
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "at");
|
|
3483
3483
|
}
|
|
3484
3484
|
constructor(...t) {
|
|
3485
3485
|
super(...t), this.importsStack = [];
|
|
@@ -3535,9 +3535,9 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3535
3535
|
}
|
|
3536
3536
|
super.checkLocalExport(t);
|
|
3537
3537
|
}
|
|
3538
|
-
}, es = /* @__PURE__ */
|
|
3538
|
+
}, es = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => a.type === "ParenthesizedExpression" ? es(a.expression) : a, "es"), nt = class extends it {
|
|
3539
3539
|
static {
|
|
3540
|
-
|
|
3540
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "nt");
|
|
3541
3541
|
}
|
|
3542
3542
|
toAssignable(t, e = false) {
|
|
3543
3543
|
var s, i;
|
|
@@ -3772,12 +3772,12 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3772
3772
|
if (a == null) throw new Error(`Unexpected ${a} value.`);
|
|
3773
3773
|
return a;
|
|
3774
3774
|
}
|
|
3775
|
-
|
|
3775
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, $i, "$i");
|
|
3776
3776
|
function Rt(a) {
|
|
3777
3777
|
if (!a) throw new Error("Assert fail");
|
|
3778
3778
|
}
|
|
3779
|
-
|
|
3780
|
-
var y = U`typescript`({ AbstractMethodHasImplementation: /* @__PURE__ */
|
|
3779
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Rt, "Rt");
|
|
3780
|
+
var y = U`typescript`({ AbstractMethodHasImplementation: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ methodName: a }) => `Method '${a}' cannot have an implementation because it is marked abstract.`, "AbstractMethodHasImplementation"), AbstractPropertyHasInitializer: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ propertyName: a }) => `Property '${a}' cannot have an initializer because it is marked abstract.`, "AbstractPropertyHasInitializer"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ kind: a }) => `'declare' is not allowed in ${a}ters.`, "DeclareAccessor"), DeclareClassFieldHasInitializer: "Initializers are not allowed in ambient contexts.", DeclareFunctionHasImplementation: "An implementation cannot be declared in ambient contexts.", DuplicateAccessibilityModifier: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => "Accessibility modifier already seen.", "DuplicateAccessibilityModifier"), DuplicateModifier: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `Duplicate modifier: '${a}'.`, "DuplicateModifier"), EmptyHeritageClauseType: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ token: a }) => `'${a}' list cannot be empty.`, "EmptyHeritageClauseType"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifiers: a }) => `'${a[0]}' modifier cannot be used with '${a[1]}' modifier.`, "IncompatibleModifiers"), IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier.", IndexSignatureHasAccessibility: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `Index signatures cannot have an accessibility modifier ('${a}').`, "IndexSignatureHasAccessibility"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `'${a}' modifier cannot appear on a type member.`, "InvalidModifierOnTypeMember"), InvalidModifierOnTypeParameter: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `'${a}' modifier cannot appear on a type parameter.`, "InvalidModifierOnTypeParameter"), InvalidModifierOnTypeParameterPositions: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `'${a}' modifier can only appear on a type parameter of a class, interface or type alias.`, "InvalidModifierOnTypeParameterPositions"), InvalidModifiersOrder: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ orderedModifiers: a }) => `'${a[0]}' modifier must precede '${a[1]}' modifier.`, "InvalidModifiersOrder"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ modifier: a }) => `Private elements cannot have an accessibility modifier ('${a}').`, "PrivateElementHasAccessibility"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ typeParameterName: a }) => `Single type parameter ${a} should have a trailing comma. Example usage: <${a},>.`, "SingleTypeParameterWithoutTrailingComma"), 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: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, ({ type: a }) => `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${a}.`, "UnsupportedSignatureParameterKind") });
|
|
3781
3781
|
function zi(a) {
|
|
3782
3782
|
switch (a) {
|
|
3783
3783
|
case "any":
|
|
@@ -3804,16 +3804,16 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3804
3804
|
return;
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
|
-
|
|
3807
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, zi, "zi");
|
|
3808
3808
|
function Ut(a) {
|
|
3809
3809
|
return a === "private" || a === "public" || a === "protected";
|
|
3810
3810
|
}
|
|
3811
|
-
|
|
3811
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ut, "Ut");
|
|
3812
3812
|
function Vi(a) {
|
|
3813
3813
|
return a === "in" || a === "out";
|
|
3814
3814
|
}
|
|
3815
|
-
|
|
3816
|
-
var qi = /* @__PURE__ */
|
|
3815
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Vi, "Vi");
|
|
3816
|
+
var qi = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
3817
3817
|
constructor(...e) {
|
|
3818
3818
|
super(...e), this.tsParseInOutModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out"], disallowedModifiers: ["const", "public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: y.InvalidModifierOnTypeParameter }), this.tsParseConstModifier = this.tsParseModifiers.bind(this, { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: y.InvalidModifierOnTypeParameterPositions }), this.tsParseInOutConstModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out", "const"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: y.InvalidModifierOnTypeParameter });
|
|
3819
3819
|
}
|
|
@@ -3841,9 +3841,9 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
3841
3841
|
}
|
|
3842
3842
|
}
|
|
3843
3843
|
tsParseModifiers({ allowedModifiers: e, disallowedModifiers: s, stopOnStartOfClassStaticBlock: i, errorTemplate: r = y.InvalidModifierOnTypeMember }, n) {
|
|
3844
|
-
let o = /* @__PURE__ */
|
|
3844
|
+
let o = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (l, c, u, f) => {
|
|
3845
3845
|
c === u && n[f] && this.raise(y.InvalidModifiersOrder, l, { orderedModifiers: [u, f] });
|
|
3846
|
-
}, "o"), h = /* @__PURE__ */
|
|
3846
|
+
}, "o"), h = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (l, c, u, f) => {
|
|
3847
3847
|
(n[u] && c === f || n[f] && c === u) && this.raise(y.IncompatibleModifiers, l, { modifiers: [u, f] });
|
|
3848
3848
|
}, "h");
|
|
3849
3849
|
for (; ; ) {
|
|
@@ -4654,7 +4654,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
4654
4654
|
parseClassMember(e, s, i) {
|
|
4655
4655
|
let r = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"];
|
|
4656
4656
|
this.tsParseModifiers({ allowedModifiers: r, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: true, errorTemplate: y.InvalidModifierOnTypeParameterPositions }, s);
|
|
4657
|
-
let n = /* @__PURE__ */
|
|
4657
|
+
let n = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => {
|
|
4658
4658
|
this.tsIsStartOfStaticBlocks() ? (this.next(), this.next(), this.tsHasSomeModifiers(s, r) && this.raise(y.StaticBlockCannotHaveModifier, this.state.curPosition()), super.parseClassStaticBlock(e, s)) : this.parseClassMemberWithIsStatic(e, s, i, !!s.static);
|
|
4659
4659
|
}, "n");
|
|
4660
4660
|
s.declare ? this.tsInAmbientContext(n) : n();
|
|
@@ -5018,7 +5018,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5018
5018
|
let { computed: t, property: e } = a;
|
|
5019
5019
|
return t && e.type !== "StringLiteral" && (e.type !== "TemplateLiteral" || e.expressions.length > 0) ? false : ss(a.object);
|
|
5020
5020
|
}
|
|
5021
|
-
|
|
5021
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ki, "Ki");
|
|
5022
5022
|
function Hi(a, t) {
|
|
5023
5023
|
var e;
|
|
5024
5024
|
let { type: s } = a;
|
|
@@ -5031,11 +5031,11 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5031
5031
|
} else if (s === "StringLiteral" || s === "BooleanLiteral") return true;
|
|
5032
5032
|
return !!(ts(a, t) || Ji(a, t) || s === "TemplateLiteral" && a.expressions.length === 0 || Ki(a));
|
|
5033
5033
|
}
|
|
5034
|
-
|
|
5034
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Hi, "Hi");
|
|
5035
5035
|
function ts(a, t) {
|
|
5036
5036
|
return t ? a.type === "Literal" && (typeof a.value == "number" || "bigint" in a) : a.type === "NumericLiteral" || a.type === "BigIntLiteral";
|
|
5037
5037
|
}
|
|
5038
|
-
|
|
5038
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ts, "ts");
|
|
5039
5039
|
function Ji(a, t) {
|
|
5040
5040
|
if (a.type === "UnaryExpression") {
|
|
5041
5041
|
let { operator: e, argument: s } = a;
|
|
@@ -5043,12 +5043,12 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5043
5043
|
}
|
|
5044
5044
|
return false;
|
|
5045
5045
|
}
|
|
5046
|
-
|
|
5046
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ji, "Ji");
|
|
5047
5047
|
function ss(a) {
|
|
5048
5048
|
return a.type === "Identifier" ? true : a.type !== "MemberExpression" || a.computed ? false : ss(a.object);
|
|
5049
5049
|
}
|
|
5050
|
-
|
|
5051
|
-
var _t = U`placeholders`({ ClassNameIsRequired: "A class name is required.", UnexpectedSpace: "Unexpected space in placeholder." }), Wi = /* @__PURE__ */
|
|
5050
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ss, "ss");
|
|
5051
|
+
var _t = U`placeholders`({ ClassNameIsRequired: "A class name is required.", UnexpectedSpace: "Unexpected space in placeholder." }), Wi = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
5052
5052
|
parsePlaceholder(e) {
|
|
5053
5053
|
if (this.match(133)) {
|
|
5054
5054
|
let s = this.startNode();
|
|
@@ -5152,7 +5152,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5152
5152
|
assertNoSpace() {
|
|
5153
5153
|
this.state.start > this.offsetToSourcePos(this.state.lastTokEndLoc.index) && this.raise(_t.UnexpectedSpace, this.state.lastTokEndLoc);
|
|
5154
5154
|
}
|
|
5155
|
-
}, "Wi"), Xi = /* @__PURE__ */
|
|
5155
|
+
}, "Wi"), Xi = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => class extends a {
|
|
5156
5156
|
parseV8Intrinsic() {
|
|
5157
5157
|
if (this.match(54)) {
|
|
5158
5158
|
let e = this.state.startLoc, s = this.startNode();
|
|
@@ -5214,12 +5214,12 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5214
5214
|
}
|
|
5215
5215
|
if (a.has("optionalChainingAssign") && a.get("optionalChainingAssign").version !== "2023-07") throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");
|
|
5216
5216
|
}
|
|
5217
|
-
|
|
5217
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Gi, "Gi");
|
|
5218
5218
|
var is = { estree: Zs, jsx: ji, flow: _i, typescript: qi, v8intrinsic: Xi, placeholders: Wi }, Yi = Object.keys(is);
|
|
5219
5219
|
function Qi() {
|
|
5220
5220
|
return { sourceType: "script", sourceFilename: void 0, startIndex: 0, startColumn: 0, startLine: 1, allowAwaitOutsideFunction: false, allowReturnOutsideFunction: false, allowNewTargetOutsideFunction: false, allowImportExportEverywhere: false, allowSuperOutsideMethod: false, allowUndeclaredExports: false, plugins: [], strictMode: null, ranges: false, tokens: false, createImportExpressions: false, createParenthesizedExpressions: false, errorRecovery: false, attachComment: true, annexB: true };
|
|
5221
5221
|
}
|
|
5222
|
-
|
|
5222
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Qi, "Qi");
|
|
5223
5223
|
function Zi(a) {
|
|
5224
5224
|
let t = Qi();
|
|
5225
5225
|
if (a == null) return t;
|
|
@@ -5229,10 +5229,10 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
5229
5229
|
else if ((a.startColumn == null || a.startIndex == null) && a.startIndex != null) throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");
|
|
5230
5230
|
return t;
|
|
5231
5231
|
}
|
|
5232
|
-
|
|
5232
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Zi, "Zi");
|
|
5233
5233
|
var ot = class extends nt {
|
|
5234
5234
|
static {
|
|
5235
|
-
|
|
5235
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "ot");
|
|
5236
5236
|
}
|
|
5237
5237
|
checkProto(t, e, s, i) {
|
|
5238
5238
|
if (t.type === "SpreadElement" || this.isObjectMethod(t) || t.computed || t.shorthand) return;
|
|
@@ -6155,10 +6155,10 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
6155
6155
|
}
|
|
6156
6156
|
return a;
|
|
6157
6157
|
}
|
|
6158
|
-
|
|
6158
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, sr, "sr");
|
|
6159
6159
|
var ht = class extends ot {
|
|
6160
6160
|
static {
|
|
6161
|
-
|
|
6161
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "ht");
|
|
6162
6162
|
}
|
|
6163
6163
|
parseTopLevel(t, e) {
|
|
6164
6164
|
return t.program = this.parseProgram(e), t.comments = this.comments, this.options.tokens && (t.tokens = sr(this.tokens, this.input, this.startIndex)), this.finishNode(t, "File");
|
|
@@ -6970,7 +6970,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
6970
6970
|
}
|
|
6971
6971
|
}, ke = class extends ht {
|
|
6972
6972
|
static {
|
|
6973
|
-
|
|
6973
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, this, "ke");
|
|
6974
6974
|
}
|
|
6975
6975
|
constructor(t, e, s) {
|
|
6976
6976
|
t = Zi(t), super(t, e), this.options = t, this.initializeScopes(), this.plugins = s, this.filename = t.sourceFilename, this.startIndex = t.startIndex;
|
|
@@ -7007,18 +7007,18 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
7007
7007
|
}
|
|
7008
7008
|
} else return ce(t, a).parse();
|
|
7009
7009
|
}
|
|
7010
|
-
|
|
7010
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ir, "ir");
|
|
7011
7011
|
function rr(a, t) {
|
|
7012
7012
|
let e = ce(t, a);
|
|
7013
7013
|
return e.options.strictMode && (e.state.strict = true), e.getExpression();
|
|
7014
7014
|
}
|
|
7015
|
-
|
|
7015
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, rr, "rr");
|
|
7016
7016
|
function ar(a) {
|
|
7017
7017
|
let t = {};
|
|
7018
7018
|
for (let e of Object.keys(a)) t[e] = F(a[e]);
|
|
7019
7019
|
return t;
|
|
7020
7020
|
}
|
|
7021
|
-
|
|
7021
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ar, "ar");
|
|
7022
7022
|
var nr = ar(ti);
|
|
7023
7023
|
function ce(a, t) {
|
|
7024
7024
|
let e = ke, s = /* @__PURE__ */ new Map();
|
|
@@ -7031,7 +7031,7 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
7031
7031
|
}
|
|
7032
7032
|
return new e(a, t, s);
|
|
7033
7033
|
}
|
|
7034
|
-
|
|
7034
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ce, "ce");
|
|
7035
7035
|
var zt = /* @__PURE__ */ new Map();
|
|
7036
7036
|
function or(a) {
|
|
7037
7037
|
let t = [];
|
|
@@ -7044,68 +7044,68 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
7044
7044
|
}
|
|
7045
7045
|
return s;
|
|
7046
7046
|
}
|
|
7047
|
-
|
|
7047
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, or, "or");
|
|
7048
7048
|
me.parse = ir;
|
|
7049
7049
|
me.parseExpression = rr;
|
|
7050
7050
|
me.tokTypes = nr;
|
|
7051
7051
|
});
|
|
7052
7052
|
Et = {};
|
|
7053
|
-
zs(Et, { parsers: /* @__PURE__ */
|
|
7053
|
+
zs(Et, { parsers: /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, () => Hr, "parsers") });
|
|
7054
7054
|
Be = It(gt(), 1);
|
|
7055
|
-
|
|
7055
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ve, "ve");
|
|
7056
7056
|
ta = ve(/\s/u);
|
|
7057
7057
|
rs = ve(" ");
|
|
7058
7058
|
sa = ve(",; ");
|
|
7059
7059
|
as = ve(/[^\n\r]/u);
|
|
7060
|
-
|
|
7060
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, hr, "hr");
|
|
7061
7061
|
ns = hr;
|
|
7062
|
-
|
|
7062
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, lr, "lr");
|
|
7063
7063
|
os = lr;
|
|
7064
|
-
|
|
7064
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, cr, "cr");
|
|
7065
7065
|
hs = cr;
|
|
7066
|
-
|
|
7066
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, pr, "pr");
|
|
7067
7067
|
ls = pr;
|
|
7068
|
-
|
|
7068
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ur, "ur");
|
|
7069
7069
|
cs = ur;
|
|
7070
|
-
|
|
7070
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, fr, "fr");
|
|
7071
7071
|
Le = fr;
|
|
7072
|
-
dr = /* @__PURE__ */
|
|
7072
|
+
dr = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t, e) => {
|
|
7073
7073
|
if (!(a && t == null)) return Array.isArray(t) || typeof t == "string" ? t[e < 0 ? t.length + e : e] : t.at(e);
|
|
7074
7074
|
}, "dr");
|
|
7075
7075
|
Tt = dr;
|
|
7076
|
-
|
|
7076
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, mr, "mr");
|
|
7077
7077
|
ye = mr;
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7078
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, L, "L");
|
|
7079
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, j, "j");
|
|
7080
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, yr, "yr");
|
|
7081
7081
|
ps = yr;
|
|
7082
7082
|
xr = ps(["Block", "CommentBlock", "MultiLine"]);
|
|
7083
7083
|
xe = xr;
|
|
7084
|
-
|
|
7084
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Pr, "Pr");
|
|
7085
7085
|
bt = Pr;
|
|
7086
|
-
|
|
7086
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, gr, "gr");
|
|
7087
7087
|
us = gr;
|
|
7088
7088
|
Pe = null;
|
|
7089
|
-
|
|
7089
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ge, "ge");
|
|
7090
7090
|
Tr = 10;
|
|
7091
7091
|
for (let a = 0; a <= Tr; a++) ge();
|
|
7092
|
-
|
|
7093
|
-
|
|
7092
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, At, "At");
|
|
7093
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, br, "br");
|
|
7094
7094
|
fs = br;
|
|
7095
7095
|
ds = { ArrayExpression: ["elements"], AssignmentExpression: ["left", "right"], BinaryExpression: ["left", "right"], InterpreterDirective: [], Directive: ["value"], DirectiveLiteral: [], BlockStatement: ["directives", "body"], BreakStatement: ["label"], CallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], CatchClause: ["param", "body"], ConditionalExpression: ["test", "consequent", "alternate"], ContinueStatement: ["label"], DebuggerStatement: [], DoWhileStatement: ["body", "test"], EmptyStatement: [], ExpressionStatement: ["expression"], File: ["program"], ForInStatement: ["left", "right", "body"], ForStatement: ["init", "test", "update", "body"], FunctionDeclaration: ["id", "typeParameters", "params", "returnType", "body", "predicate"], FunctionExpression: ["id", "typeParameters", "params", "returnType", "body"], Identifier: ["typeAnnotation", "decorators"], IfStatement: ["test", "consequent", "alternate"], LabeledStatement: ["label", "body"], StringLiteral: [], NumericLiteral: [], NullLiteral: [], BooleanLiteral: [], RegExpLiteral: [], LogicalExpression: ["left", "right"], MemberExpression: ["object", "property"], NewExpression: ["callee", "arguments", "typeParameters", "typeArguments"], Program: ["directives", "body"], ObjectExpression: ["properties"], ObjectMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], ObjectProperty: ["key", "value", "decorators"], RestElement: ["argument", "typeAnnotation", "decorators"], ReturnStatement: ["argument"], SequenceExpression: ["expressions"], ParenthesizedExpression: ["expression"], SwitchCase: ["test", "consequent"], SwitchStatement: ["discriminant", "cases"], ThisExpression: [], ThrowStatement: ["argument"], TryStatement: ["block", "handler", "finalizer"], UnaryExpression: ["argument"], UpdateExpression: ["argument"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id", "init"], WhileStatement: ["test", "body"], WithStatement: ["object", "body"], AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"], ArrayPattern: ["elements", "typeAnnotation", "decorators"], ArrowFunctionExpression: ["typeParameters", "params", "returnType", "body", "predicate"], ClassBody: ["body"], ClassExpression: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"], ClassDeclaration: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"], ExportAllDeclaration: ["source", "attributes", "exported"], ExportDefaultDeclaration: ["declaration"], ExportNamedDeclaration: ["declaration", "specifiers", "source", "attributes"], ExportSpecifier: ["local", "exported"], ForOfStatement: ["left", "right", "body"], ImportDeclaration: ["specifiers", "source", "attributes"], ImportDefaultSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportSpecifier: ["imported", "local"], ImportExpression: ["source", "options"], MetaProperty: ["meta", "property"], ClassMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], ObjectPattern: ["properties", "typeAnnotation", "decorators"], SpreadElement: ["argument"], Super: [], TaggedTemplateExpression: ["tag", "typeParameters", "quasi", "typeArguments"], TemplateElement: [], TemplateLiteral: ["quasis", "expressions"], YieldExpression: ["argument"], AwaitExpression: ["argument"], BigIntLiteral: [], ExportNamespaceSpecifier: ["exported"], OptionalMemberExpression: ["object", "property"], OptionalCallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], ClassProperty: ["decorators", "key", "typeAnnotation", "value", "variance"], ClassAccessorProperty: ["decorators", "key", "typeAnnotation", "value"], ClassPrivateProperty: ["decorators", "key", "typeAnnotation", "value", "variance"], ClassPrivateMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], PrivateName: ["id"], StaticBlock: ["body"], AnyTypeAnnotation: [], ArrayTypeAnnotation: ["elementType"], BooleanTypeAnnotation: [], BooleanLiteralTypeAnnotation: [], NullLiteralTypeAnnotation: [], ClassImplements: ["id", "typeParameters"], DeclareClass: ["id", "typeParameters", "extends", "mixins", "implements", "body"], DeclareFunction: ["id", "predicate"], DeclareInterface: ["id", "typeParameters", "extends", "body"], DeclareModule: ["id", "body"], DeclareModuleExports: ["typeAnnotation"], DeclareTypeAlias: ["id", "typeParameters", "right"], DeclareOpaqueType: ["id", "typeParameters", "supertype"], DeclareVariable: ["id"], DeclareExportDeclaration: ["declaration", "specifiers", "source", "attributes"], DeclareExportAllDeclaration: ["source", "attributes"], DeclaredPredicate: ["value"], ExistsTypeAnnotation: [], FunctionTypeAnnotation: ["typeParameters", "params", "rest", "returnType", "this"], FunctionTypeParam: ["name", "typeAnnotation"], GenericTypeAnnotation: ["id", "typeParameters"], InferredPredicate: [], InterfaceExtends: ["id", "typeParameters"], InterfaceDeclaration: ["id", "typeParameters", "extends", "body"], InterfaceTypeAnnotation: ["extends", "body"], IntersectionTypeAnnotation: ["types"], MixedTypeAnnotation: [], EmptyTypeAnnotation: [], NullableTypeAnnotation: ["typeAnnotation"], NumberLiteralTypeAnnotation: [], NumberTypeAnnotation: [], ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"], ObjectTypeInternalSlot: ["id", "value"], ObjectTypeCallProperty: ["value"], ObjectTypeIndexer: ["variance", "id", "key", "value"], ObjectTypeProperty: ["key", "value", "variance"], ObjectTypeSpreadProperty: ["argument"], OpaqueType: ["id", "typeParameters", "supertype", "impltype"], QualifiedTypeIdentifier: ["qualification", "id"], StringLiteralTypeAnnotation: [], StringTypeAnnotation: [], SymbolTypeAnnotation: [], ThisTypeAnnotation: [], TupleTypeAnnotation: ["types", "elementTypes"], TypeofTypeAnnotation: ["argument", "typeArguments"], TypeAlias: ["id", "typeParameters", "right"], TypeAnnotation: ["typeAnnotation"], TypeCastExpression: ["expression", "typeAnnotation"], TypeParameter: ["bound", "default", "variance"], TypeParameterDeclaration: ["params"], TypeParameterInstantiation: ["params"], UnionTypeAnnotation: ["types"], Variance: [], VoidTypeAnnotation: [], EnumDeclaration: ["id", "body"], EnumBooleanBody: ["members"], EnumNumberBody: ["members"], EnumStringBody: ["members"], EnumSymbolBody: ["members"], EnumBooleanMember: ["id", "init"], EnumNumberMember: ["id", "init"], EnumStringMember: ["id", "init"], EnumDefaultedMember: ["id"], IndexedAccessType: ["objectType", "indexType"], OptionalIndexedAccessType: ["objectType", "indexType"], JSXAttribute: ["name", "value"], JSXClosingElement: ["name"], JSXElement: ["openingElement", "children", "closingElement"], JSXEmptyExpression: [], JSXExpressionContainer: ["expression"], JSXSpreadChild: ["expression"], JSXIdentifier: [], JSXMemberExpression: ["object", "property"], JSXNamespacedName: ["namespace", "name"], JSXOpeningElement: ["name", "attributes", "typeArguments", "typeParameters"], JSXSpreadAttribute: ["argument"], JSXText: [], JSXFragment: ["openingFragment", "children", "closingFragment"], JSXOpeningFragment: [], JSXClosingFragment: [], Noop: [], Placeholder: [], V8IntrinsicIdentifier: [], ArgumentPlaceholder: [], BindExpression: ["object", "callee"], ImportAttribute: ["key", "value"], Decorator: ["expression"], DoExpression: ["body"], ExportDefaultSpecifier: ["exported"], RecordExpression: ["properties"], TupleExpression: ["elements"], ModuleExpression: ["body"], TopicReference: [], PipelineTopicExpression: ["expression"], PipelineBareFunction: ["callee"], PipelinePrimaryTopicReference: [], TSParameterProperty: ["parameter", "decorators"], TSDeclareFunction: ["id", "typeParameters", "params", "returnType", "body"], TSDeclareMethod: ["decorators", "key", "typeParameters", "params", "returnType"], TSQualifiedName: ["left", "right"], TSCallSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSPropertySignature: ["key", "typeAnnotation"], TSMethodSignature: ["key", "typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSIndexSignature: ["parameters", "typeAnnotation"], TSAnyKeyword: [], TSBooleanKeyword: [], TSBigIntKeyword: [], TSIntrinsicKeyword: [], TSNeverKeyword: [], TSNullKeyword: [], TSNumberKeyword: [], TSObjectKeyword: [], TSStringKeyword: [], TSSymbolKeyword: [], TSUndefinedKeyword: [], TSUnknownKeyword: [], TSVoidKeyword: [], TSThisType: [], TSFunctionType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructorType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSTypeReference: ["typeName", "typeParameters", "typeArguments"], TSTypePredicate: ["parameterName", "typeAnnotation"], TSTypeQuery: ["exprName", "typeParameters", "typeArguments"], TSTypeLiteral: ["members"], TSArrayType: ["elementType"], TSTupleType: ["elementTypes"], TSOptionalType: ["typeAnnotation"], TSRestType: ["typeAnnotation"], TSNamedTupleMember: ["label", "elementType"], TSUnionType: ["types"], TSIntersectionType: ["types"], TSConditionalType: ["checkType", "extendsType", "trueType", "falseType"], TSInferType: ["typeParameter"], TSParenthesizedType: ["typeAnnotation"], TSTypeOperator: ["typeAnnotation"], TSIndexedAccessType: ["objectType", "indexType"], TSMappedType: ["typeParameter", "nameType", "typeAnnotation"], TSLiteralType: ["literal"], TSExpressionWithTypeArguments: ["expression", "typeParameters"], TSInterfaceDeclaration: ["id", "typeParameters", "extends", "body"], TSInterfaceBody: ["body"], TSTypeAliasDeclaration: ["id", "typeParameters", "typeAnnotation"], TSInstantiationExpression: ["expression", "typeParameters", "typeArguments"], TSAsExpression: ["expression", "typeAnnotation"], TSSatisfiesExpression: ["expression", "typeAnnotation"], TSTypeAssertion: ["typeAnnotation", "expression"], TSEnumDeclaration: ["id", "members"], TSEnumMember: ["id", "initializer"], TSModuleDeclaration: ["id", "body"], TSModuleBlock: ["body"], TSImportType: ["argument", "qualifier", "typeParameters", "typeArguments"], TSImportEqualsDeclaration: ["id", "moduleReference"], TSExternalModuleReference: ["expression"], TSNonNullExpression: ["expression"], TSExportAssignment: ["expression"], TSNamespaceExportDeclaration: ["id"], TSTypeAnnotation: ["typeAnnotation"], TSTypeParameterInstantiation: ["params"], TSTypeParameterDeclaration: ["params"], TSTypeParameter: ["constraint", "default", "name"], ChainExpression: ["expression"], ExperimentalRestProperty: ["argument"], ExperimentalSpreadProperty: ["argument"], Literal: [], MethodDefinition: ["decorators", "key", "value"], PrivateIdentifier: [], Property: ["key", "value"], PropertyDefinition: ["decorators", "key", "typeAnnotation", "value", "variance"], AccessorProperty: ["decorators", "key", "typeAnnotation", "value"], TSAbstractAccessorProperty: ["decorators", "key", "typeAnnotation"], TSAbstractKeyword: [], TSAbstractMethodDefinition: ["key", "value"], TSAbstractPropertyDefinition: ["decorators", "key", "typeAnnotation"], TSAsyncKeyword: [], TSClassImplements: ["expression", "typeArguments", "typeParameters"], TSDeclareKeyword: [], TSEmptyBodyFunctionExpression: ["id", "typeParameters", "params", "returnType"], TSEnumBody: ["members"], TSExportKeyword: [], TSInterfaceHeritage: ["expression", "typeArguments", "typeParameters"], TSPrivateKeyword: [], TSProtectedKeyword: [], TSPublicKeyword: [], TSReadonlyKeyword: [], TSStaticKeyword: [], TSTemplateLiteralType: ["quasis", "types"], AsConstExpression: ["expression"], AsExpression: ["expression", "typeAnnotation"], BigIntLiteralTypeAnnotation: [], BigIntTypeAnnotation: [], ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"], ComponentParameter: ["name", "local"], ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"], ComponentTypeParameter: ["name", "typeAnnotation"], ConditionalTypeAnnotation: ["checkType", "extendsType", "trueType", "falseType"], DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"], DeclareEnum: ["id", "body"], DeclareHook: ["id"], DeclareNamespace: ["id", "body"], EnumBigIntBody: ["members"], EnumBigIntMember: ["id", "init"], HookDeclaration: ["id", "params", "body", "typeParameters", "returnType"], HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"], InferTypeAnnotation: ["typeParameter"], KeyofTypeAnnotation: ["argument"], ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"], QualifiedTypeofIdentifier: ["qualification", "id"], TupleTypeLabeledElement: ["label", "elementType", "variance"], TupleTypeSpreadElement: ["label", "typeAnnotation"], TypeOperator: ["typeAnnotation"], TypePredicate: ["parameterName", "typeAnnotation", "asserts"], NGRoot: ["node"], NGPipeExpression: ["left", "right", "arguments"], NGChainedExpression: ["expressions"], NGEmptyExpression: [], NGMicrosyntax: ["body"], NGMicrosyntaxKey: [], NGMicrosyntaxExpression: ["expression", "alias"], NGMicrosyntaxKeyedExpression: ["key", "expression"], NGMicrosyntaxLet: ["key", "value"], NGMicrosyntaxAs: ["key", "alias"], JsExpressionRoot: ["node"], JsonRoot: ["node"], TSJSDocAllType: [], TSJSDocUnknownType: [], TSJSDocNullableType: ["typeAnnotation"], TSJSDocNonNullableType: ["typeAnnotation"], NeverTypeAnnotation: [], UndefinedTypeAnnotation: [], UnknownTypeAnnotation: [], SatisfiesExpression: ["expression", "typeAnnotation"] };
|
|
7096
7096
|
Ar = fs(ds);
|
|
7097
7097
|
ms = Ar;
|
|
7098
|
-
|
|
7098
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, St, "St");
|
|
7099
7099
|
De = St;
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7100
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Sr, "Sr");
|
|
7101
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, ys, "ys");
|
|
7102
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, wt, "wt");
|
|
7103
7103
|
xs = Sr;
|
|
7104
|
-
|
|
7104
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, wr, "wr");
|
|
7105
7105
|
Me = wr;
|
|
7106
|
-
|
|
7106
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Cr, "Cr");
|
|
7107
7107
|
Oe = Cr;
|
|
7108
|
-
Er = /* @__PURE__ */
|
|
7108
|
+
Er = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t, e, s) => {
|
|
7109
7109
|
if (!(a && t == null)) return t.replaceAll ? t.replaceAll(e, s) : e.global ? t.replace(e, s) : t.split(e).join(s);
|
|
7110
7110
|
}, "Er");
|
|
7111
7111
|
se = Er;
|
|
@@ -7118,25 +7118,25 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
7118
7118
|
gs = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
|
|
7119
7119
|
Dr = /(\r?\n|^) *\* ?/g;
|
|
7120
7120
|
Mr = [];
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7121
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Ts, "Ts");
|
|
7122
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, bs, "bs");
|
|
7123
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Or, "Or");
|
|
7124
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, As, "As");
|
|
7125
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Fr, "Fr");
|
|
7126
7126
|
W = Fr;
|
|
7127
|
-
|
|
7127
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Br, "Br");
|
|
7128
7128
|
Ss = Br;
|
|
7129
|
-
|
|
7129
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Rr, "Rr");
|
|
7130
7130
|
Fe = Rr;
|
|
7131
|
-
ie = /* @__PURE__ */
|
|
7131
|
+
ie = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a) => W(zr(a)), "ie");
|
|
7132
7132
|
Ur = { sourceType: "module", allowImportExportEverywhere: true, allowReturnOutsideFunction: true, allowNewTargetOutsideFunction: true, allowSuperOutsideMethod: true, allowUndeclaredExports: true, errorRecovery: true, createParenthesizedExpressions: true, createImportExpressions: true, plugins: ["doExpressions", "exportDefaultFrom", "functionBind", "functionSent", "throwExpressions", "partialApplication", "decorators", "moduleBlocks", "asyncDoExpressions", "destructuringPrivate", "decoratorAutoAccessors", "explicitResourceManagement", "sourcePhaseImports", "deferredImportEvaluation", ["optionalChainingAssign", { version: "2023-07" }], "recordAndTuple"], tokens: true, ranges: true };
|
|
7133
7133
|
ws = "v8intrinsic";
|
|
7134
7134
|
Cs = [["pipelineOperator", { proposal: "hack", topicToken: "%" }], ["pipelineOperator", { proposal: "fsharp" }]];
|
|
7135
|
-
$ = /* @__PURE__ */
|
|
7135
|
+
$ = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (a, t = Ur) => ({ ...t, plugins: [...t.plugins, ...a] }), "$");
|
|
7136
7136
|
_r = /@(?:no)?flow\b/u;
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7137
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, jr, "jr");
|
|
7138
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, $r, "$r");
|
|
7139
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, zr, "zr");
|
|
7140
7140
|
Vr = /* @__PURE__ */ new Set(["StrictNumericEscape", "StrictWith", "StrictOctalLiteral", "StrictDelete", "StrictEvalArguments", "StrictEvalArgumentsBinding", "StrictFunction", "ForInOfLoopInitializer", "EmptyTypeArguments", "EmptyTypeParameters", "ConstructorHasTypeParameters", "UnsupportedParameterPropertyKind", "DecoratorExportClass", "ParamDupe", "InvalidDecimal", "RestTrailingComma", "UnsupportedParameterDecorator", "UnterminatedJsxContent", "UnexpectedReservedWord", "ModuleAttributesWithDuplicateKeys", "LineTerminatorBeforeArrow", "InvalidEscapeSequenceTemplate", "NonAbstractClassHasAbstractMethod", "OptionalTypeBeforeRequired", "PatternIsOptional", "OptionalBindingPattern", "DeclareClassFieldHasInitializer", "TypeImportCannotSpecifyDefaultAndNamed", "ConstructorClassField", "VarRedeclaration", "InvalidPrivateFieldResolution", "DuplicateExport", "ImportAttributesUseAssert"]);
|
|
7141
7141
|
vs = [$(["jsx"])];
|
|
7142
7142
|
Es = ie({ optionsCombinations: vs });
|
|
@@ -7147,9 +7147,9 @@ var init_babel = _chunk5YOGYZEGjs.__esm.call(void 0, {
|
|
|
7147
7147
|
qr = ie({ optionsCombinations: vs.map((a) => $(["estree"], a)) });
|
|
7148
7148
|
Ds = { babel: Es, "babel-flow": Ls, "babel-ts": Is, __js_expression: Ns, __ts_expression: ks, __vue_expression: Ns, __vue_ts_expression: ks, __vue_event_binding: Es, __vue_ts_event_binding: Is, __babel_estree: qr };
|
|
7149
7149
|
Ms = It(gt(), 1);
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7150
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, Os, "Os");
|
|
7151
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, K, "K");
|
|
7152
|
+
_chunkDFJNOFN2cjs.__name.call(void 0, re, "re");
|
|
7153
7153
|
Ct = Os();
|
|
7154
7154
|
Kr = { json: W({ parse: Ct, hasPragma() {
|
|
7155
7155
|
return true;
|