soonjs 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +540 -538
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -277,12 +277,12 @@ function nd(e, t, r, i, n) {
|
|
|
277
277
|
if (o || (o = Ga(b, u || a)), !o)
|
|
278
278
|
throw new TypeError(`Ambiguous pattern for "${l.name}": ${Qi}`);
|
|
279
279
|
if (o = !n || Ga(b, p), a = "", r.push(l), h === "+" || h === "*") {
|
|
280
|
-
const k = h === "*" ? "?" : "",
|
|
281
|
-
if (!
|
|
280
|
+
const k = h === "*" ? "?" : "", E = t(f);
|
|
281
|
+
if (!E)
|
|
282
282
|
throw new TypeError(`Missing separator for "${l.name}": ${Qi}`);
|
|
283
283
|
if (o || (o = !n || Ga(b, f)), !o)
|
|
284
284
|
throw new TypeError(`Ambiguous pattern for "${l.name}" separator: ${Qi}`);
|
|
285
|
-
return o = !n, `(?:${d}(${T}(?:${
|
|
285
|
+
return o = !n, `(?:${d}(${T}(?:${E}${T})*)${m})${k}`;
|
|
286
286
|
}
|
|
287
287
|
return `(?:${d}(${T})${m})${h}`;
|
|
288
288
|
}
|
|
@@ -1135,8 +1135,8 @@ var nl = k0, Xc = nl.custom, Jc = bd(Xc) ? Xc : null, K0 = function e(t, r, i, n
|
|
|
1135
1135
|
if (sl(t)) {
|
|
1136
1136
|
if (t.length === 0)
|
|
1137
1137
|
return "[]";
|
|
1138
|
-
var
|
|
1139
|
-
return p && !aE(
|
|
1138
|
+
var E = Bn(t, f);
|
|
1139
|
+
return p && !aE(E) ? "[" + al(E, p) + "]" : "[ " + er.call(E, ", ") + " ]";
|
|
1140
1140
|
}
|
|
1141
1141
|
if (H0(t)) {
|
|
1142
1142
|
var Q = Bn(t, f);
|
|
@@ -1626,7 +1626,7 @@ var Pd = Ai, Ci = D0, lE = K0, uE = cn, Fn = Pd("%WeakMap%", !0), jn = Pd("%Map%
|
|
|
1626
1626
|
}, RE = function(t) {
|
|
1627
1627
|
return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
|
|
1628
1628
|
}, ao = {}, BE = function e(t, r, i, n, s, a, o, l, c, u, p, f, h, d, m, T, b, k) {
|
|
1629
|
-
for (var
|
|
1629
|
+
for (var E = t, Q = k, G = 0, z = !1; (Q = Q.get(ao)) !== void 0 && !z; ) {
|
|
1630
1630
|
var R = Q.get(t);
|
|
1631
1631
|
if (G += 1, typeof R < "u") {
|
|
1632
1632
|
if (R === G)
|
|
@@ -1635,39 +1635,39 @@ var Pd = Ai, Ci = D0, lE = K0, uE = cn, Fn = Pd("%WeakMap%", !0), jn = Pd("%Map%
|
|
|
1635
1635
|
}
|
|
1636
1636
|
typeof Q.get(ao) > "u" && (G = 0);
|
|
1637
1637
|
}
|
|
1638
|
-
if (typeof u == "function" ?
|
|
1638
|
+
if (typeof u == "function" ? E = u(r, E) : E instanceof Date ? E = h(E) : i === "comma" && Zt(E) && (E = bs.maybeMap(E, function(X) {
|
|
1639
1639
|
return X instanceof Date ? h(X) : X;
|
|
1640
|
-
})),
|
|
1640
|
+
})), E === null) {
|
|
1641
1641
|
if (a)
|
|
1642
1642
|
return c && !T ? c(r, ht.encoder, b, "key", d) : r;
|
|
1643
|
-
|
|
1643
|
+
E = "";
|
|
1644
1644
|
}
|
|
1645
|
-
if (RE(
|
|
1645
|
+
if (RE(E) || bs.isBuffer(E)) {
|
|
1646
1646
|
if (c) {
|
|
1647
1647
|
var V = T ? r : c(r, ht.encoder, b, "key", d);
|
|
1648
|
-
return [m(V) + "=" + m(c(
|
|
1648
|
+
return [m(V) + "=" + m(c(E, ht.encoder, b, "value", d))];
|
|
1649
1649
|
}
|
|
1650
|
-
return [m(r) + "=" + m(String(
|
|
1650
|
+
return [m(r) + "=" + m(String(E))];
|
|
1651
1651
|
}
|
|
1652
1652
|
var W = [];
|
|
1653
|
-
if (typeof
|
|
1653
|
+
if (typeof E > "u")
|
|
1654
1654
|
return W;
|
|
1655
1655
|
var U;
|
|
1656
|
-
if (i === "comma" && Zt(
|
|
1657
|
-
T && c && (
|
|
1656
|
+
if (i === "comma" && Zt(E))
|
|
1657
|
+
T && c && (E = bs.maybeMap(E, c)), U = [{ value: E.length > 0 ? E.join(",") || null : void 0 }];
|
|
1658
1658
|
else if (Zt(u))
|
|
1659
1659
|
U = u;
|
|
1660
1660
|
else {
|
|
1661
|
-
var w = Object.keys(
|
|
1661
|
+
var w = Object.keys(E);
|
|
1662
1662
|
U = p ? w.sort(p) : w;
|
|
1663
1663
|
}
|
|
1664
|
-
var H = l ? r.replace(/\./g, "%2E") : r, B = n && Zt(
|
|
1665
|
-
if (s && Zt(
|
|
1664
|
+
var H = l ? r.replace(/\./g, "%2E") : r, B = n && Zt(E) && E.length === 1 ? H + "[]" : H;
|
|
1665
|
+
if (s && Zt(E) && E.length === 0)
|
|
1666
1666
|
return B + "[]";
|
|
1667
1667
|
for (var Z = 0; Z < U.length; ++Z) {
|
|
1668
|
-
var N = U[Z], C = typeof N == "object" && typeof N.value < "u" ? N.value :
|
|
1668
|
+
var N = U[Z], C = typeof N == "object" && typeof N.value < "u" ? N.value : E[N];
|
|
1669
1669
|
if (!(o && C === null)) {
|
|
1670
|
-
var $ = f && l ? N.replace(/\./g, "%2E") : N, O = Zt(
|
|
1670
|
+
var $ = f && l ? N.replace(/\./g, "%2E") : N, O = Zt(E) ? typeof i == "function" ? i(B, $) : B : B + (f ? "." + $ : "[" + $ + "]");
|
|
1671
1671
|
k.set(t, G);
|
|
1672
1672
|
var q = Cd();
|
|
1673
1673
|
q.set(ao, k), Id(W, e(
|
|
@@ -1679,7 +1679,7 @@ var Pd = Ai, Ci = D0, lE = K0, uE = cn, Fn = Pd("%WeakMap%", !0), jn = Pd("%Map%
|
|
|
1679
1679
|
a,
|
|
1680
1680
|
o,
|
|
1681
1681
|
l,
|
|
1682
|
-
i === "comma" && T && Zt(
|
|
1682
|
+
i === "comma" && T && Zt(E) ? null : c,
|
|
1683
1683
|
u,
|
|
1684
1684
|
p,
|
|
1685
1685
|
f,
|
|
@@ -2942,7 +2942,7 @@ const gf = pn, {
|
|
|
2942
2942
|
e.isPrefix !== !0 && (e.depth = e.isGlobstar ? 1 / 0 : 1);
|
|
2943
2943
|
}, RP = (e, t) => {
|
|
2944
2944
|
const r = t || {}, i = e.length - 1, n = r.parts === !0 || r.scanToEnd === !0, s = [], a = [], o = [];
|
|
2945
|
-
let l = e, c = -1, u = 0, p = 0, f = !1, h = !1, d = !1, m = !1, T = !1, b = !1, k = !1,
|
|
2945
|
+
let l = e, c = -1, u = 0, p = 0, f = !1, h = !1, d = !1, m = !1, T = !1, b = !1, k = !1, E = !1, Q = !1, G = !1, z = 0, R, V, W = { value: "", depth: 0, isGlob: !1 };
|
|
2946
2946
|
const U = () => c >= i, w = () => l.charCodeAt(c + 1), H = () => (R = V, l.charCodeAt(++c));
|
|
2947
2947
|
for (; c < i; ) {
|
|
2948
2948
|
V = H();
|
|
@@ -3031,7 +3031,7 @@ const gf = pn, {
|
|
|
3031
3031
|
break;
|
|
3032
3032
|
}
|
|
3033
3033
|
if (r.nonegate !== !0 && V === mo && c === u) {
|
|
3034
|
-
|
|
3034
|
+
E = W.negated = !0, u++;
|
|
3035
3035
|
continue;
|
|
3036
3036
|
}
|
|
3037
3037
|
if (r.noparen !== !0 && V === go) {
|
|
@@ -3070,7 +3070,7 @@ const gf = pn, {
|
|
|
3070
3070
|
isGlob: d,
|
|
3071
3071
|
isExtglob: m,
|
|
3072
3072
|
isGlobstar: T,
|
|
3073
|
-
negated:
|
|
3073
|
+
negated: E,
|
|
3074
3074
|
negatedExtglob: Q
|
|
3075
3075
|
};
|
|
3076
3076
|
if (r.tokens === !0 && (C.maxDepth = 0, bf(V) || a.push(W), C.tokens = a), r.parts === !0 || r.tokens === !0) {
|
|
@@ -3122,11 +3122,11 @@ const Ls = ta, Ot = pn, {
|
|
|
3122
3122
|
NO_DOT: T,
|
|
3123
3123
|
NO_DOT_SLASH: b,
|
|
3124
3124
|
NO_DOTS_SLASH: k,
|
|
3125
|
-
QMARK:
|
|
3125
|
+
QMARK: E,
|
|
3126
3126
|
QMARK_NO_DOT: Q,
|
|
3127
3127
|
STAR: G,
|
|
3128
3128
|
START_ANCHOR: z
|
|
3129
|
-
} = c, R = (le) => `(${o}(?:(?!${z}${le.dot ? m : p}).)*?)`, V = r.dot ? "" : T, W = r.dot ?
|
|
3129
|
+
} = c, R = (le) => `(${o}(?:(?!${z}${le.dot ? m : p}).)*?)`, V = r.dot ? "" : T, W = r.dot ? E : Q;
|
|
3130
3130
|
let U = r.bash === !0 ? R(r) : G;
|
|
3131
3131
|
r.capture && (U = `(${U})`), typeof r.noext == "boolean" && (r.noextglob = r.noext);
|
|
3132
3132
|
const w = {
|
|
@@ -3190,7 +3190,7 @@ const Ls = ta, Ot = pn, {
|
|
|
3190
3190
|
K({ type: "paren", extglob: !0, value: C, output: de }), J("parens");
|
|
3191
3191
|
};
|
|
3192
3192
|
if (r.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(e)) {
|
|
3193
|
-
let le = !1, de = e.replace($P, (ue, me, be, Me, Oe, Ae) => Me === "\\" ? (le = !0, ue) : Me === "?" ? me ? me + Me + (Oe ?
|
|
3193
|
+
let le = !1, de = e.replace($P, (ue, me, be, Me, Oe, Ae) => Me === "\\" ? (le = !0, ue) : Me === "?" ? me ? me + Me + (Oe ? E.repeat(Oe.length) : "") : Ae === 0 ? W + (Oe ? E.repeat(Oe.length) : "") : E.repeat(be.length) : Me === "." ? p.repeat(be.length) : Me === "*" ? me ? me + Me + (Oe ? U : "") : U : me ? ue : `\\${ue}`);
|
|
3194
3194
|
return le === !0 && (r.unescape === !0 ? de = de.replace(/\\/g, "") : de = de.replace(/\\+/g, (ue) => ue.length % 2 === 0 ? "\\\\" : ue ? "\\" : "")), de === e && r.contains === !0 ? (w.output = e, w) : (w.output = Ot.wrapOutput(de, w, t), w);
|
|
3195
3195
|
}
|
|
3196
3196
|
for (; !$(); ) {
|
|
@@ -3364,7 +3364,7 @@ const Ls = ta, Ot = pn, {
|
|
|
3364
3364
|
K({ type: "qmark", value: C, output: Q });
|
|
3365
3365
|
continue;
|
|
3366
3366
|
}
|
|
3367
|
-
K({ type: "qmark", value: C, output:
|
|
3367
|
+
K({ type: "qmark", value: C, output: E });
|
|
3368
3368
|
continue;
|
|
3369
3369
|
}
|
|
3370
3370
|
if (C === "!") {
|
|
@@ -3503,26 +3503,26 @@ su.fastpaths = (e, t) => {
|
|
|
3503
3503
|
STAR: h,
|
|
3504
3504
|
START_ANCHOR: d
|
|
3505
3505
|
} = Ls.globChars(s), m = r.dot ? p : u, T = r.dot ? f : u, b = r.capture ? "" : "?:", k = { negated: !1, prefix: "" };
|
|
3506
|
-
let
|
|
3507
|
-
r.capture && (
|
|
3508
|
-
const Q = (V) => V.noglobstar === !0 ?
|
|
3506
|
+
let E = r.bash === !0 ? ".*?" : h;
|
|
3507
|
+
r.capture && (E = `(${E})`);
|
|
3508
|
+
const Q = (V) => V.noglobstar === !0 ? E : `(${b}(?:(?!${d}${V.dot ? c : a}).)*?)`, G = (V) => {
|
|
3509
3509
|
switch (V) {
|
|
3510
3510
|
case "*":
|
|
3511
|
-
return `${m}${l}${
|
|
3511
|
+
return `${m}${l}${E}`;
|
|
3512
3512
|
case ".*":
|
|
3513
|
-
return `${a}${l}${
|
|
3513
|
+
return `${a}${l}${E}`;
|
|
3514
3514
|
case "*.*":
|
|
3515
|
-
return `${m}${
|
|
3515
|
+
return `${m}${E}${a}${l}${E}`;
|
|
3516
3516
|
case "*/*":
|
|
3517
|
-
return `${m}${
|
|
3517
|
+
return `${m}${E}${o}${l}${T}${E}`;
|
|
3518
3518
|
case "**":
|
|
3519
3519
|
return m + Q(r);
|
|
3520
3520
|
case "**/*":
|
|
3521
|
-
return `(?:${m}${Q(r)}${o})?${T}${l}${
|
|
3521
|
+
return `(?:${m}${Q(r)}${o})?${T}${l}${E}`;
|
|
3522
3522
|
case "**/*.*":
|
|
3523
|
-
return `(?:${m}${Q(r)}${o})?${T}${
|
|
3523
|
+
return `(?:${m}${Q(r)}${o})?${T}${E}${a}${l}${E}`;
|
|
3524
3524
|
case "**/.*":
|
|
3525
|
-
return `(?:${m}${Q(r)}${o})?${a}${l}${
|
|
3525
|
+
return `(?:${m}${Q(r)}${o})?${a}${l}${E}`;
|
|
3526
3526
|
default: {
|
|
3527
3527
|
const W = /^(.*?)\.(\w+)$/.exec(V);
|
|
3528
3528
|
if (!W) return;
|
|
@@ -4350,7 +4350,7 @@ function gm(e, t, r) {
|
|
|
4350
4350
|
unshift: T,
|
|
4351
4351
|
empty: Mt,
|
|
4352
4352
|
kill: k,
|
|
4353
|
-
killAndDrain:
|
|
4353
|
+
killAndDrain: E,
|
|
4354
4354
|
error: Q
|
|
4355
4355
|
};
|
|
4356
4356
|
return l;
|
|
@@ -4399,7 +4399,7 @@ function gm(e, t, r) {
|
|
|
4399
4399
|
function k() {
|
|
4400
4400
|
n = null, s = null, l.drain = Mt;
|
|
4401
4401
|
}
|
|
4402
|
-
function
|
|
4402
|
+
function E() {
|
|
4403
4403
|
n = null, s = null, l.drain(), l.drain = Mt;
|
|
4404
4404
|
}
|
|
4405
4405
|
function Q(G) {
|
|
@@ -5204,6 +5204,7 @@ const So = /* @__PURE__ */ Gs(vs), V1 = `declare module 'soonjs/auto/client' {
|
|
|
5204
5204
|
body?: any;
|
|
5205
5205
|
url?: string;
|
|
5206
5206
|
query?: Record<string, string>;
|
|
5207
|
+
extra?: Record<string, string>;
|
|
5207
5208
|
};
|
|
5208
5209
|
type SoonOnFetch = (args: SoonFetchOptions) => Promise<any>;
|
|
5209
5210
|
function soonClientConfig(options: { baseUrl: string; onFetch: SoonOnFetch; defaultMethod: string }): Promise<any>;
|
|
@@ -5294,43 +5295,43 @@ function lK(e) {
|
|
|
5294
5295
|
},
|
|
5295
5296
|
async load(b) {
|
|
5296
5297
|
if (b === d)
|
|
5297
|
-
return e != null && e.disableApis ? "export const apis = [];" : (s = (await So([vs.convertPathToPattern(Ke.join(i, "/**/*.ts"))])).map((
|
|
5298
|
+
return e != null && e.disableApis ? "export const apis = [];" : (s = (await So([vs.convertPathToPattern(Ke.join(i, "/**/*.ts"))])).map((E) => ({
|
|
5298
5299
|
id: "__api__" + m() + "_",
|
|
5299
|
-
importPath: f(
|
|
5300
|
-
file:
|
|
5301
|
-
fullPath: Ke.join(r,
|
|
5302
|
-
apiPath: "/" + Ke.relative(i,
|
|
5303
|
-
clientDtsImportPath: Ke.join(".soonjs",
|
|
5304
|
-
})), l = (await So([vs.convertPathToPattern(Ke.join(a, "/**/*.ts"))])).map((
|
|
5300
|
+
importPath: f(E == null ? void 0 : E.replace(/\.ts$/, "")),
|
|
5301
|
+
file: E,
|
|
5302
|
+
fullPath: Ke.join(r, E),
|
|
5303
|
+
apiPath: "/" + Ke.relative(i, E).replace(/\.ts$/, "").replace(/\\/g, "/"),
|
|
5304
|
+
clientDtsImportPath: Ke.join(".soonjs", E == null ? void 0 : E.replace(/\.ts$/, "")).replace(/\\/g, "/")
|
|
5305
|
+
})), l = (await So([vs.convertPathToPattern(Ke.join(a, "/**/*.ts"))])).map((E) => ({
|
|
5305
5306
|
id: "__auto__" + m() + "_",
|
|
5306
|
-
importPath: ".soonjs/" + (
|
|
5307
|
-
file:
|
|
5308
|
-
fullPath: Ke.join(r,
|
|
5309
|
-
apiPath: "/" + Ke.relative(a,
|
|
5310
|
-
clientDtsImportPath: Ke.join(".soonjs",
|
|
5311
|
-
})), p = (await So([vs.convertPathToPattern(Ke.join(c, "/**/*.ts"))])).map((
|
|
5307
|
+
importPath: ".soonjs/" + (E == null ? void 0 : E.replace(/\.ts$/, "")),
|
|
5308
|
+
file: E,
|
|
5309
|
+
fullPath: Ke.join(r, E),
|
|
5310
|
+
apiPath: "/" + Ke.relative(a, E).replace(/\.ts$/, "").replace(/\\/g, "/"),
|
|
5311
|
+
clientDtsImportPath: Ke.join(".soonjs", E == null ? void 0 : E.replace(/\.ts$/, "")).replace(/\\/g, "/")
|
|
5312
|
+
})), p = (await So([vs.convertPathToPattern(Ke.join(c, "/**/*.ts"))])).map((E) => ({
|
|
5312
5313
|
id: "__service__" + m() + "_",
|
|
5313
|
-
importPath: f(
|
|
5314
|
-
file:
|
|
5315
|
-
fullPath: Ke.join(r,
|
|
5316
|
-
servicePath: "/" + Ke.relative(c,
|
|
5317
|
-
clientDtsImportPath: Ke.join(".soonjs",
|
|
5314
|
+
importPath: f(E == null ? void 0 : E.replace(/\.ts$/, "")),
|
|
5315
|
+
file: E,
|
|
5316
|
+
fullPath: Ke.join(r, E),
|
|
5317
|
+
servicePath: "/" + Ke.relative(c, E).replace(/\.ts$/, "").replace(/\\/g, "/"),
|
|
5318
|
+
clientDtsImportPath: Ke.join(".soonjs", E == null ? void 0 : E.replace(/\.ts$/, "")).replace(/\\/g, "/")
|
|
5318
5319
|
})), `import { soonApiSymbol, soonServiceSymbol, defineMiddleware } from 'soonjs';
|
|
5319
5320
|
import { exists, mkdir, writeFile } from 'fs';
|
|
5320
5321
|
import path from 'path';
|
|
5321
5322
|
|
|
5322
|
-
${s.map((
|
|
5323
|
+
${s.map((E) => `import * as ${E.id} from "${E.importPath}";`).join(`
|
|
5323
5324
|
`)}
|
|
5324
5325
|
|
|
5325
|
-
${l.map((
|
|
5326
|
+
${l.map((E) => `import * as ${E.id} from "${E.importPath}";`).join(`
|
|
5326
5327
|
`)}
|
|
5327
5328
|
|
|
5328
|
-
${p.map((
|
|
5329
|
+
${p.map((E) => `import * as ${E.id} from "${E.importPath}";`).join(`
|
|
5329
5330
|
`)}
|
|
5330
5331
|
|
|
5331
5332
|
const exportedApis = [];
|
|
5332
5333
|
const autoApis = [
|
|
5333
|
-
${s.map((
|
|
5334
|
+
${s.map((E) => `{ module: ${E.id}, path: '${E.apiPath}', importPath: '${E.clientDtsImportPath}', id: '${E.id}' }`).join(",")}
|
|
5334
5335
|
].reduce((acc, cur) => {
|
|
5335
5336
|
const module = cur.module;
|
|
5336
5337
|
const exported = { importPath: cur.importPath, id: cur.id, apis: [] };
|
|
@@ -5350,7 +5351,7 @@ function lK(e) {
|
|
|
5350
5351
|
return acc;
|
|
5351
5352
|
}, []);
|
|
5352
5353
|
const autoApisFromClient = [
|
|
5353
|
-
${l.map((
|
|
5354
|
+
${l.map((E) => `{ module: ${E.id} }`).join(",")}
|
|
5354
5355
|
].reduce((acc, cur) => {
|
|
5355
5356
|
const module = cur.module;
|
|
5356
5357
|
for (const key in module) {
|
|
@@ -5376,7 +5377,7 @@ function lK(e) {
|
|
|
5376
5377
|
|
|
5377
5378
|
const autoInjectServices = [];
|
|
5378
5379
|
const exportedServices = [];
|
|
5379
|
-
const serviceFiltered = [${p.map((
|
|
5380
|
+
const serviceFiltered = [${p.map((E) => `{ module: ${E.id}, importPath: '${E.clientDtsImportPath}', id: '${E.id}' }`).join(",")}].reduce((acc, cur) => {
|
|
5380
5381
|
const module = cur.module;
|
|
5381
5382
|
const exported = { importPath: cur.importPath, id: cur.id, services: [] };
|
|
5382
5383
|
const autoInjected = { importPath: cur.importPath, id: cur.id, services: [] };
|
|
@@ -7187,9 +7188,9 @@ function _m(e, t, r, i, n, s, a, o, l, c) {
|
|
|
7187
7188
|
const b = e.charCodeAt(t);
|
|
7188
7189
|
let k;
|
|
7189
7190
|
if (b === 95 && o !== "bail") {
|
|
7190
|
-
const
|
|
7191
|
+
const E = e.charCodeAt(t - 1), Q = e.charCodeAt(t + 1);
|
|
7191
7192
|
if (o) {
|
|
7192
|
-
if (Number.isNaN(Q) || !f(Q) || p.has(
|
|
7193
|
+
if (Number.isNaN(Q) || !f(Q) || p.has(E) || p.has(Q)) {
|
|
7193
7194
|
if (c) return {
|
|
7194
7195
|
n: null,
|
|
7195
7196
|
pos: t
|
|
@@ -8732,8 +8733,8 @@ var zC = (e) => class extends e {
|
|
|
8732
8733
|
const Q = this.lookahead();
|
|
8733
8734
|
Em(Q.type) && (k = this.state.value, this.next());
|
|
8734
8735
|
}
|
|
8735
|
-
const
|
|
8736
|
-
|
|
8736
|
+
const E = this.flowParseObjectTypeProperty(T, h, d, b, k, n, a ?? !u);
|
|
8737
|
+
E === null ? (p = !0, m = this.state.lastTokStartLoc) : l.properties.push(E);
|
|
8737
8738
|
}
|
|
8738
8739
|
this.flowObjectTypeSemicolon(), m && !this.match(8) && !this.match(9) && this.raise(xe.UnexpectedExplicitInexactInObject, m);
|
|
8739
8740
|
}
|
|
@@ -14657,8 +14658,8 @@ function Fm() {
|
|
|
14657
14658
|
function T(...b) {
|
|
14658
14659
|
if (!T.enabled)
|
|
14659
14660
|
return;
|
|
14660
|
-
const k = T,
|
|
14661
|
-
k.diff = Q, k.prev = f, k.curr =
|
|
14661
|
+
const k = T, E = Number(/* @__PURE__ */ new Date()), Q = E - (f || E);
|
|
14662
|
+
k.diff = Q, k.prev = f, k.curr = E, f = E, b[0] = i.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
|
|
14662
14663
|
let G = 0;
|
|
14663
14664
|
b[0] = b[0].replace(/%([a-zA-Z%])/g, (R, V) => {
|
|
14664
14665
|
if (R === "%%")
|
|
@@ -15081,7 +15082,7 @@ function Ow() {
|
|
|
15081
15082
|
}(Gn, Gn.exports)), Gn.exports;
|
|
15082
15083
|
}
|
|
15083
15084
|
typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? Al.exports = ww() : Al.exports = Ow();
|
|
15084
|
-
var Nw = Al.exports, Fi = {}, ji = {}, No = {}, fa = {}, pa = {}, ha = {},
|
|
15085
|
+
var Nw = Al.exports, Fi = {}, ji = {}, No = {}, fa = {}, pa = {}, ha = {}, v = {}, Tn = {};
|
|
15085
15086
|
Object.defineProperty(Tn, "__esModule", {
|
|
15086
15087
|
value: !0
|
|
15087
15088
|
});
|
|
@@ -15128,313 +15129,313 @@ function Lw(e, t) {
|
|
|
15128
15129
|
`)
|
|
15129
15130
|
};
|
|
15130
15131
|
}
|
|
15131
|
-
Object.defineProperty(
|
|
15132
|
+
Object.defineProperty(v, "__esModule", {
|
|
15132
15133
|
value: !0
|
|
15133
15134
|
});
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15159
|
-
|
|
15160
|
-
|
|
15161
|
-
|
|
15162
|
-
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
|
-
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
|
-
|
|
15302
|
-
|
|
15303
|
-
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
15315
|
-
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15413
|
-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
|
|
15437
|
-
|
|
15135
|
+
v.isAccessor = Y2;
|
|
15136
|
+
v.isAnyTypeAnnotation = m_;
|
|
15137
|
+
v.isArgumentPlaceholder = qO;
|
|
15138
|
+
v.isArrayExpression = Mw;
|
|
15139
|
+
v.isArrayPattern = kI;
|
|
15140
|
+
v.isArrayTypeAnnotation = y_;
|
|
15141
|
+
v.isArrowFunctionExpression = LI;
|
|
15142
|
+
v.isAssignmentExpression = Rw;
|
|
15143
|
+
v.isAssignmentPattern = DI;
|
|
15144
|
+
v.isAwaitExpression = i_;
|
|
15145
|
+
v.isBigIntLiteral = s_;
|
|
15146
|
+
v.isBinary = g2;
|
|
15147
|
+
v.isBinaryExpression = Bw;
|
|
15148
|
+
v.isBindExpression = WO;
|
|
15149
|
+
v.isBlock = b2;
|
|
15150
|
+
v.isBlockParent = S2;
|
|
15151
|
+
v.isBlockStatement = Uw;
|
|
15152
|
+
v.isBooleanLiteral = lI;
|
|
15153
|
+
v.isBooleanLiteralTypeAnnotation = T_;
|
|
15154
|
+
v.isBooleanTypeAnnotation = g_;
|
|
15155
|
+
v.isBreakStatement = Vw;
|
|
15156
|
+
v.isCallExpression = Kw;
|
|
15157
|
+
v.isCatchClause = qw;
|
|
15158
|
+
v.isClass = W2;
|
|
15159
|
+
v.isClassAccessorProperty = c_;
|
|
15160
|
+
v.isClassBody = MI;
|
|
15161
|
+
v.isClassDeclaration = BI;
|
|
15162
|
+
v.isClassExpression = RI;
|
|
15163
|
+
v.isClassImplements = b_;
|
|
15164
|
+
v.isClassMethod = XI;
|
|
15165
|
+
v.isClassPrivateMethod = p_;
|
|
15166
|
+
v.isClassPrivateProperty = f_;
|
|
15167
|
+
v.isClassProperty = u_;
|
|
15168
|
+
v.isCompletionStatement = P2;
|
|
15169
|
+
v.isConditional = x2;
|
|
15170
|
+
v.isConditionalExpression = Ww;
|
|
15171
|
+
v.isContinueStatement = Hw;
|
|
15172
|
+
v.isDebuggerStatement = Gw;
|
|
15173
|
+
v.isDecimalLiteral = QO;
|
|
15174
|
+
v.isDeclaration = k2;
|
|
15175
|
+
v.isDeclareClass = E_;
|
|
15176
|
+
v.isDeclareExportAllDeclaration = O_;
|
|
15177
|
+
v.isDeclareExportDeclaration = __;
|
|
15178
|
+
v.isDeclareFunction = v_;
|
|
15179
|
+
v.isDeclareInterface = P_;
|
|
15180
|
+
v.isDeclareModule = x_;
|
|
15181
|
+
v.isDeclareModuleExports = A_;
|
|
15182
|
+
v.isDeclareOpaqueType = w_;
|
|
15183
|
+
v.isDeclareTypeAlias = C_;
|
|
15184
|
+
v.isDeclareVariable = I_;
|
|
15185
|
+
v.isDeclaredPredicate = N_;
|
|
15186
|
+
v.isDecorator = GO;
|
|
15187
|
+
v.isDirective = jw;
|
|
15188
|
+
v.isDirectiveLiteral = $w;
|
|
15189
|
+
v.isDoExpression = YO;
|
|
15190
|
+
v.isDoWhileStatement = Yw;
|
|
15191
|
+
v.isEmptyStatement = Xw;
|
|
15192
|
+
v.isEmptyTypeAnnotation = V_;
|
|
15193
|
+
v.isEnumBody = tD;
|
|
15194
|
+
v.isEnumBooleanBody = yO;
|
|
15195
|
+
v.isEnumBooleanMember = bO;
|
|
15196
|
+
v.isEnumDeclaration = mO;
|
|
15197
|
+
v.isEnumDefaultedMember = PO;
|
|
15198
|
+
v.isEnumMember = rD;
|
|
15199
|
+
v.isEnumNumberBody = gO;
|
|
15200
|
+
v.isEnumNumberMember = EO;
|
|
15201
|
+
v.isEnumStringBody = TO;
|
|
15202
|
+
v.isEnumStringMember = vO;
|
|
15203
|
+
v.isEnumSymbolBody = SO;
|
|
15204
|
+
v.isExistsTypeAnnotation = D_;
|
|
15205
|
+
v.isExportAllDeclaration = FI;
|
|
15206
|
+
v.isExportDeclaration = H2;
|
|
15207
|
+
v.isExportDefaultDeclaration = jI;
|
|
15208
|
+
v.isExportDefaultSpecifier = XO;
|
|
15209
|
+
v.isExportNamedDeclaration = $I;
|
|
15210
|
+
v.isExportNamespaceSpecifier = a_;
|
|
15211
|
+
v.isExportSpecifier = UI;
|
|
15212
|
+
v.isExpression = y2;
|
|
15213
|
+
v.isExpressionStatement = Jw;
|
|
15214
|
+
v.isExpressionWrapper = w2;
|
|
15215
|
+
v.isFile = zw;
|
|
15216
|
+
v.isFlow = J2;
|
|
15217
|
+
v.isFlowBaseAnnotation = Q2;
|
|
15218
|
+
v.isFlowDeclaration = Z2;
|
|
15219
|
+
v.isFlowPredicate = eD;
|
|
15220
|
+
v.isFlowType = z2;
|
|
15221
|
+
v.isFor = I2;
|
|
15222
|
+
v.isForInStatement = Qw;
|
|
15223
|
+
v.isForOfStatement = VI;
|
|
15224
|
+
v.isForStatement = Zw;
|
|
15225
|
+
v.isForXStatement = _2;
|
|
15226
|
+
v.isFunction = O2;
|
|
15227
|
+
v.isFunctionDeclaration = eI;
|
|
15228
|
+
v.isFunctionExpression = tI;
|
|
15229
|
+
v.isFunctionParent = N2;
|
|
15230
|
+
v.isFunctionTypeAnnotation = k_;
|
|
15231
|
+
v.isFunctionTypeParam = L_;
|
|
15232
|
+
v.isGenericTypeAnnotation = M_;
|
|
15233
|
+
v.isIdentifier = rI;
|
|
15234
|
+
v.isIfStatement = iI;
|
|
15235
|
+
v.isImmutable = F2;
|
|
15236
|
+
v.isImport = n_;
|
|
15237
|
+
v.isImportAttribute = HO;
|
|
15238
|
+
v.isImportDeclaration = KI;
|
|
15239
|
+
v.isImportDefaultSpecifier = qI;
|
|
15240
|
+
v.isImportExpression = GI;
|
|
15241
|
+
v.isImportNamespaceSpecifier = WI;
|
|
15242
|
+
v.isImportOrExportDeclaration = jm;
|
|
15243
|
+
v.isImportSpecifier = HI;
|
|
15244
|
+
v.isIndexedAccessType = xO;
|
|
15245
|
+
v.isInferredPredicate = R_;
|
|
15246
|
+
v.isInterfaceDeclaration = F_;
|
|
15247
|
+
v.isInterfaceExtends = B_;
|
|
15248
|
+
v.isInterfaceTypeAnnotation = j_;
|
|
15249
|
+
v.isInterpreterDirective = Fw;
|
|
15250
|
+
v.isIntersectionTypeAnnotation = $_;
|
|
15251
|
+
v.isJSX = iD;
|
|
15252
|
+
v.isJSXAttribute = CO;
|
|
15253
|
+
v.isJSXClosingElement = wO;
|
|
15254
|
+
v.isJSXClosingFragment = $O;
|
|
15255
|
+
v.isJSXElement = IO;
|
|
15256
|
+
v.isJSXEmptyExpression = _O;
|
|
15257
|
+
v.isJSXExpressionContainer = OO;
|
|
15258
|
+
v.isJSXFragment = FO;
|
|
15259
|
+
v.isJSXIdentifier = DO;
|
|
15260
|
+
v.isJSXMemberExpression = kO;
|
|
15261
|
+
v.isJSXNamespacedName = LO;
|
|
15262
|
+
v.isJSXOpeningElement = MO;
|
|
15263
|
+
v.isJSXOpeningFragment = jO;
|
|
15264
|
+
v.isJSXSpreadAttribute = RO;
|
|
15265
|
+
v.isJSXSpreadChild = NO;
|
|
15266
|
+
v.isJSXText = BO;
|
|
15267
|
+
v.isLVal = M2;
|
|
15268
|
+
v.isLabeledStatement = nI;
|
|
15269
|
+
v.isLiteral = B2;
|
|
15270
|
+
v.isLogicalExpression = cI;
|
|
15271
|
+
v.isLoop = A2;
|
|
15272
|
+
v.isMemberExpression = fI;
|
|
15273
|
+
v.isMetaProperty = YI;
|
|
15274
|
+
v.isMethod = $2;
|
|
15275
|
+
v.isMiscellaneous = nD;
|
|
15276
|
+
v.isMixedTypeAnnotation = U_;
|
|
15277
|
+
v.isModuleDeclaration = hD;
|
|
15278
|
+
v.isModuleExpression = ZO;
|
|
15279
|
+
v.isModuleSpecifier = G2;
|
|
15280
|
+
v.isNewExpression = pI;
|
|
15281
|
+
v.isNoop = UO;
|
|
15282
|
+
v.isNullLiteral = oI;
|
|
15283
|
+
v.isNullLiteralTypeAnnotation = S_;
|
|
15284
|
+
v.isNullableTypeAnnotation = K_;
|
|
15285
|
+
v.isNumberLiteral = uD;
|
|
15286
|
+
v.isNumberLiteralTypeAnnotation = q_;
|
|
15287
|
+
v.isNumberTypeAnnotation = W_;
|
|
15288
|
+
v.isNumericLiteral = aI;
|
|
15289
|
+
v.isObjectExpression = dI;
|
|
15290
|
+
v.isObjectMember = U2;
|
|
15291
|
+
v.isObjectMethod = mI;
|
|
15292
|
+
v.isObjectPattern = JI;
|
|
15293
|
+
v.isObjectProperty = yI;
|
|
15294
|
+
v.isObjectTypeAnnotation = H_;
|
|
15295
|
+
v.isObjectTypeCallProperty = Y_;
|
|
15296
|
+
v.isObjectTypeIndexer = X_;
|
|
15297
|
+
v.isObjectTypeInternalSlot = G_;
|
|
15298
|
+
v.isObjectTypeProperty = J_;
|
|
15299
|
+
v.isObjectTypeSpreadProperty = z_;
|
|
15300
|
+
v.isOpaqueType = Q_;
|
|
15301
|
+
v.isOptionalCallExpression = l_;
|
|
15302
|
+
v.isOptionalIndexedAccessType = AO;
|
|
15303
|
+
v.isOptionalMemberExpression = o_;
|
|
15304
|
+
v.isParenthesizedExpression = bI;
|
|
15305
|
+
v.isPattern = q2;
|
|
15306
|
+
v.isPatternLike = L2;
|
|
15307
|
+
v.isPipelineBareFunction = rN;
|
|
15308
|
+
v.isPipelinePrimaryTopicReference = iN;
|
|
15309
|
+
v.isPipelineTopicExpression = tN;
|
|
15310
|
+
v.isPlaceholder = VO;
|
|
15311
|
+
v.isPrivate = X2;
|
|
15312
|
+
v.isPrivateName = h_;
|
|
15313
|
+
v.isProgram = hI;
|
|
15314
|
+
v.isProperty = V2;
|
|
15315
|
+
v.isPureish = D2;
|
|
15316
|
+
v.isQualifiedTypeIdentifier = Z_;
|
|
15317
|
+
v.isRecordExpression = JO;
|
|
15318
|
+
v.isRegExpLiteral = uI;
|
|
15319
|
+
v.isRegexLiteral = cD;
|
|
15320
|
+
v.isRestElement = gI;
|
|
15321
|
+
v.isRestProperty = fD;
|
|
15322
|
+
v.isReturnStatement = TI;
|
|
15323
|
+
v.isScopable = T2;
|
|
15324
|
+
v.isSequenceExpression = SI;
|
|
15325
|
+
v.isSpreadElement = zI;
|
|
15326
|
+
v.isSpreadProperty = pD;
|
|
15327
|
+
v.isStandardized = m2;
|
|
15328
|
+
v.isStatement = E2;
|
|
15329
|
+
v.isStaticBlock = d_;
|
|
15330
|
+
v.isStringLiteral = sI;
|
|
15331
|
+
v.isStringLiteralTypeAnnotation = eO;
|
|
15332
|
+
v.isStringTypeAnnotation = tO;
|
|
15333
|
+
v.isSuper = QI;
|
|
15334
|
+
v.isSwitchCase = EI;
|
|
15335
|
+
v.isSwitchStatement = vI;
|
|
15336
|
+
v.isSymbolTypeAnnotation = rO;
|
|
15337
|
+
v.isTSAnyKeyword = hN;
|
|
15338
|
+
v.isTSArrayType = kN;
|
|
15339
|
+
v.isTSAsExpression = QN;
|
|
15340
|
+
v.isTSBaseType = lD;
|
|
15341
|
+
v.isTSBigIntKeyword = mN;
|
|
15342
|
+
v.isTSBooleanKeyword = dN;
|
|
15343
|
+
v.isTSCallSignatureDeclaration = lN;
|
|
15344
|
+
v.isTSConditionalType = $N;
|
|
15345
|
+
v.isTSConstructSignatureDeclaration = uN;
|
|
15346
|
+
v.isTSConstructorType = IN;
|
|
15347
|
+
v.isTSDeclareFunction = sN;
|
|
15348
|
+
v.isTSDeclareMethod = aN;
|
|
15349
|
+
v.isTSEntityName = R2;
|
|
15350
|
+
v.isTSEnumDeclaration = t2;
|
|
15351
|
+
v.isTSEnumMember = r2;
|
|
15352
|
+
v.isTSExportAssignment = u2;
|
|
15353
|
+
v.isTSExpressionWithTypeArguments = GN;
|
|
15354
|
+
v.isTSExternalModuleReference = o2;
|
|
15355
|
+
v.isTSFunctionType = wN;
|
|
15356
|
+
v.isTSImportEqualsDeclaration = a2;
|
|
15357
|
+
v.isTSImportType = s2;
|
|
15358
|
+
v.isTSIndexSignature = pN;
|
|
15359
|
+
v.isTSIndexedAccessType = qN;
|
|
15360
|
+
v.isTSInferType = UN;
|
|
15361
|
+
v.isTSInstantiationExpression = zN;
|
|
15362
|
+
v.isTSInterfaceBody = XN;
|
|
15363
|
+
v.isTSInterfaceDeclaration = YN;
|
|
15364
|
+
v.isTSIntersectionType = jN;
|
|
15365
|
+
v.isTSIntrinsicKeyword = yN;
|
|
15366
|
+
v.isTSLiteralType = HN;
|
|
15367
|
+
v.isTSMappedType = WN;
|
|
15368
|
+
v.isTSMethodSignature = fN;
|
|
15369
|
+
v.isTSModuleBlock = n2;
|
|
15370
|
+
v.isTSModuleDeclaration = i2;
|
|
15371
|
+
v.isTSNamedTupleMember = BN;
|
|
15372
|
+
v.isTSNamespaceExportDeclaration = c2;
|
|
15373
|
+
v.isTSNeverKeyword = gN;
|
|
15374
|
+
v.isTSNonNullExpression = l2;
|
|
15375
|
+
v.isTSNullKeyword = TN;
|
|
15376
|
+
v.isTSNumberKeyword = SN;
|
|
15377
|
+
v.isTSObjectKeyword = bN;
|
|
15378
|
+
v.isTSOptionalType = MN;
|
|
15379
|
+
v.isTSParameterProperty = nN;
|
|
15380
|
+
v.isTSParenthesizedType = VN;
|
|
15381
|
+
v.isTSPropertySignature = cN;
|
|
15382
|
+
v.isTSQualifiedName = oN;
|
|
15383
|
+
v.isTSRestType = RN;
|
|
15384
|
+
v.isTSSatisfiesExpression = ZN;
|
|
15385
|
+
v.isTSStringKeyword = EN;
|
|
15386
|
+
v.isTSSymbolKeyword = vN;
|
|
15387
|
+
v.isTSThisType = CN;
|
|
15388
|
+
v.isTSTupleType = LN;
|
|
15389
|
+
v.isTSType = oD;
|
|
15390
|
+
v.isTSTypeAliasDeclaration = JN;
|
|
15391
|
+
v.isTSTypeAnnotation = f2;
|
|
15392
|
+
v.isTSTypeAssertion = e2;
|
|
15393
|
+
v.isTSTypeElement = aD;
|
|
15394
|
+
v.isTSTypeLiteral = DN;
|
|
15395
|
+
v.isTSTypeOperator = KN;
|
|
15396
|
+
v.isTSTypeParameter = d2;
|
|
15397
|
+
v.isTSTypeParameterDeclaration = h2;
|
|
15398
|
+
v.isTSTypeParameterInstantiation = p2;
|
|
15399
|
+
v.isTSTypePredicate = ON;
|
|
15400
|
+
v.isTSTypeQuery = NN;
|
|
15401
|
+
v.isTSTypeReference = _N;
|
|
15402
|
+
v.isTSUndefinedKeyword = PN;
|
|
15403
|
+
v.isTSUnionType = FN;
|
|
15404
|
+
v.isTSUnknownKeyword = xN;
|
|
15405
|
+
v.isTSVoidKeyword = AN;
|
|
15406
|
+
v.isTaggedTemplateExpression = ZI;
|
|
15407
|
+
v.isTemplateElement = e_;
|
|
15408
|
+
v.isTemplateLiteral = t_;
|
|
15409
|
+
v.isTerminatorless = v2;
|
|
15410
|
+
v.isThisExpression = PI;
|
|
15411
|
+
v.isThisTypeAnnotation = iO;
|
|
15412
|
+
v.isThrowStatement = xI;
|
|
15413
|
+
v.isTopicReference = eN;
|
|
15414
|
+
v.isTryStatement = AI;
|
|
15415
|
+
v.isTupleExpression = zO;
|
|
15416
|
+
v.isTupleTypeAnnotation = nO;
|
|
15417
|
+
v.isTypeAlias = aO;
|
|
15418
|
+
v.isTypeAnnotation = oO;
|
|
15419
|
+
v.isTypeCastExpression = lO;
|
|
15420
|
+
v.isTypeParameter = uO;
|
|
15421
|
+
v.isTypeParameterDeclaration = cO;
|
|
15422
|
+
v.isTypeParameterInstantiation = fO;
|
|
15423
|
+
v.isTypeScript = sD;
|
|
15424
|
+
v.isTypeofTypeAnnotation = sO;
|
|
15425
|
+
v.isUnaryExpression = CI;
|
|
15426
|
+
v.isUnaryLike = K2;
|
|
15427
|
+
v.isUnionTypeAnnotation = pO;
|
|
15428
|
+
v.isUpdateExpression = wI;
|
|
15429
|
+
v.isUserWhitespacable = j2;
|
|
15430
|
+
v.isV8IntrinsicIdentifier = KO;
|
|
15431
|
+
v.isVariableDeclaration = II;
|
|
15432
|
+
v.isVariableDeclarator = _I;
|
|
15433
|
+
v.isVariance = hO;
|
|
15434
|
+
v.isVoidTypeAnnotation = dO;
|
|
15435
|
+
v.isWhile = C2;
|
|
15436
|
+
v.isWhileStatement = OI;
|
|
15437
|
+
v.isWithStatement = NI;
|
|
15438
|
+
v.isYieldExpression = r_;
|
|
15438
15439
|
var A = Tn, Sn = Ii;
|
|
15439
15440
|
function Mw(e, t) {
|
|
15440
15441
|
return !e || e.type !== "ArrayExpression" ? !1 : t == null || (0, A.default)(e, t);
|
|
@@ -17366,7 +17367,7 @@ Object.defineProperty(ha, "__esModule", {
|
|
|
17366
17367
|
value: !0
|
|
17367
17368
|
});
|
|
17368
17369
|
ha.default = dD;
|
|
17369
|
-
var $i =
|
|
17370
|
+
var $i = v;
|
|
17370
17371
|
function dD(e, t, r) {
|
|
17371
17372
|
if (!(0, $i.isMemberExpression)(e)) return !1;
|
|
17372
17373
|
const i = Array.isArray(t) ? t : t.split("."), n = [];
|
|
@@ -17744,9 +17745,9 @@ function Ym(e, t, r, i, n, s, a, o, l, c) {
|
|
|
17744
17745
|
const b = e.charCodeAt(t);
|
|
17745
17746
|
let k;
|
|
17746
17747
|
if (b === 95 && o !== "bail") {
|
|
17747
|
-
const
|
|
17748
|
+
const E = e.charCodeAt(t - 1), Q = e.charCodeAt(t + 1);
|
|
17748
17749
|
if (o) {
|
|
17749
|
-
if (Number.isNaN(Q) || !f(Q) || p.has(
|
|
17750
|
+
if (Number.isNaN(Q) || !f(Q) || p.has(E) || p.has(Q)) {
|
|
17750
17751
|
if (c) return {
|
|
17751
17752
|
n: null,
|
|
17752
17753
|
pos: t
|
|
@@ -17838,7 +17839,7 @@ function Lr() {
|
|
|
17838
17839
|
if (np) return We;
|
|
17839
17840
|
np = 1, Object.defineProperty(We, "__esModule", {
|
|
17840
17841
|
value: !0
|
|
17841
|
-
}), We.VISITOR_KEYS = We.NODE_PARENT_VALIDATIONS = We.NODE_FIELDS = We.FLIPPED_ALIAS_KEYS = We.DEPRECATED_KEYS = We.BUILDER_KEYS = We.ALIAS_KEYS = void 0, We.arrayOf = m, We.arrayOfType = T, We.assertEach = k, We.assertNodeOrValueType = G, We.assertNodeType = Q, We.assertOneOf =
|
|
17842
|
+
}), We.VISITOR_KEYS = We.NODE_PARENT_VALIDATIONS = We.NODE_FIELDS = We.FLIPPED_ALIAS_KEYS = We.DEPRECATED_KEYS = We.BUILDER_KEYS = We.ALIAS_KEYS = void 0, We.arrayOf = m, We.arrayOfType = T, We.assertEach = k, We.assertNodeOrValueType = G, We.assertNodeType = Q, We.assertOneOf = E, We.assertOptionalChainStart = V, We.assertShape = R, We.assertValueType = z, We.chain = W, We.default = Z, We.defineAliasedType = B, We.typeIs = p, We.validate = u, We.validateArrayOfType = b, We.validateOptional = h, We.validateOptionalType = d, We.validateType = f;
|
|
17842
17843
|
var e = bn(), t = Hu();
|
|
17843
17844
|
const r = We.VISITOR_KEYS = {}, i = We.ALIAS_KEYS = {}, n = We.FLIPPED_ALIAS_KEYS = {}, s = We.NODE_FIELDS = {}, a = We.BUILDER_KEYS = {}, o = We.DEPRECATED_KEYS = {}, l = We.NODE_PARENT_VALIDATIONS = {};
|
|
17844
17845
|
function c(N) {
|
|
@@ -17886,7 +17887,7 @@ function Lr() {
|
|
|
17886
17887
|
}
|
|
17887
17888
|
return C.each = N, C;
|
|
17888
17889
|
}
|
|
17889
|
-
function
|
|
17890
|
+
function E(...N) {
|
|
17890
17891
|
function C($, O, q) {
|
|
17891
17892
|
if (!N.includes(q))
|
|
17892
17893
|
throw new TypeError(`Property ${O} expected value to be one of ${JSON.stringify(N)} but got ${JSON.stringify(q)}`);
|
|
@@ -19274,7 +19275,7 @@ function zm() {
|
|
|
19274
19275
|
throw new Error("Internal @babel/types error.");
|
|
19275
19276
|
}, {
|
|
19276
19277
|
str: k,
|
|
19277
|
-
firstInvalidLoc:
|
|
19278
|
+
firstInvalidLoc: E
|
|
19278
19279
|
} = (0, i.readStringContents)("template", m, 0, 0, 0, {
|
|
19279
19280
|
unterminated() {
|
|
19280
19281
|
T = !0;
|
|
@@ -19287,7 +19288,7 @@ function zm() {
|
|
|
19287
19288
|
invalidCodePoint: b
|
|
19288
19289
|
});
|
|
19289
19290
|
if (!T) throw new Error("Invalid raw");
|
|
19290
|
-
d.value.cooked =
|
|
19291
|
+
d.value.cooked = E ? null : k;
|
|
19291
19292
|
})
|
|
19292
19293
|
},
|
|
19293
19294
|
tail: {
|
|
@@ -20539,8 +20540,8 @@ function GD() {
|
|
|
20539
20540
|
literal: {
|
|
20540
20541
|
validate: function() {
|
|
20541
20542
|
const h = (0, e.assertNodeType)("NumericLiteral", "BigIntLiteral"), d = (0, e.assertOneOf)("-"), m = (0, e.assertNodeType)("NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral");
|
|
20542
|
-
function T(b, k,
|
|
20543
|
-
(0, r.default)("UnaryExpression",
|
|
20543
|
+
function T(b, k, E) {
|
|
20544
|
+
(0, r.default)("UnaryExpression", E) ? (d(E, "operator", E.operator), h(E, "argument", E.argument)) : m(b, k, E);
|
|
20544
20545
|
}
|
|
20545
20546
|
return T.oneOfNodeTypes = ["NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral", "UnaryExpression"], T;
|
|
20546
20547
|
}()
|
|
@@ -20850,7 +20851,7 @@ function It() {
|
|
|
20850
20851
|
if (bp) return S;
|
|
20851
20852
|
bp = 1, Object.defineProperty(S, "__esModule", {
|
|
20852
20853
|
value: !0
|
|
20853
|
-
}), S.anyTypeAnnotation = ig, S.argumentPlaceholder = DT, S.arrayExpression = r, S.arrayPattern = ze, S.arrayTypeAnnotation = ng, S.arrowFunctionExpression = at, S.assignmentExpression = i, S.assignmentPattern = Ne, S.awaitExpression = it, S.bigIntLiteral = ri, S.binaryExpression = n, S.bindExpression = kT, S.blockStatement = l, S.booleanLiteral = B, S.booleanLiteralTypeAnnotation = ag, S.booleanTypeAnnotation = sg, S.breakStatement = c, S.callExpression = u, S.catchClause = p, S.classAccessorProperty = ii, S.classBody = et, S.classDeclaration = vt, S.classExpression = Ue, S.classImplements = lg, S.classMethod = se, S.classPrivateMethod = Mn, S.classPrivateProperty = Ln, S.classProperty = sr, S.conditionalExpression = f, S.continueStatement = h, S.debuggerStatement = d, S.decimalLiteral = $T, S.declareClass = ug, S.declareExportAllDeclaration = Tg, S.declareExportDeclaration = gg, S.declareFunction = cg, S.declareInterface = fg, S.declareModule = pg, S.declareModuleExports = hg, S.declareOpaqueType = mg, S.declareTypeAlias = dg, S.declareVariable = yg, S.declaredPredicate = Sg, S.decorator = MT, S.directive = a, S.directiveLiteral = o, S.doExpression = RT, S.doWhileStatement = m, S.emptyStatement = T, S.emptyTypeAnnotation = Og, S.enumBooleanBody = nT, S.enumBooleanMember = lT, S.enumDeclaration = iT, S.enumDefaultedMember = fT, S.enumNumberBody = sT, S.enumNumberMember = uT, S.enumStringBody = aT, S.enumStringMember = cT, S.enumSymbolBody = oT, S.existsTypeAnnotation = bg, S.exportAllDeclaration = te, S.exportDefaultDeclaration = L, S.exportDefaultSpecifier = BT, S.exportNamedDeclaration = D, S.exportNamespaceSpecifier = Br, S.exportSpecifier = y, S.expressionStatement = b, S.file = k, S.forInStatement =
|
|
20854
|
+
}), S.anyTypeAnnotation = ig, S.argumentPlaceholder = DT, S.arrayExpression = r, S.arrayPattern = ze, S.arrayTypeAnnotation = ng, S.arrowFunctionExpression = at, S.assignmentExpression = i, S.assignmentPattern = Ne, S.awaitExpression = it, S.bigIntLiteral = ri, S.binaryExpression = n, S.bindExpression = kT, S.blockStatement = l, S.booleanLiteral = B, S.booleanLiteralTypeAnnotation = ag, S.booleanTypeAnnotation = sg, S.breakStatement = c, S.callExpression = u, S.catchClause = p, S.classAccessorProperty = ii, S.classBody = et, S.classDeclaration = vt, S.classExpression = Ue, S.classImplements = lg, S.classMethod = se, S.classPrivateMethod = Mn, S.classPrivateProperty = Ln, S.classProperty = sr, S.conditionalExpression = f, S.continueStatement = h, S.debuggerStatement = d, S.decimalLiteral = $T, S.declareClass = ug, S.declareExportAllDeclaration = Tg, S.declareExportDeclaration = gg, S.declareFunction = cg, S.declareInterface = fg, S.declareModule = pg, S.declareModuleExports = hg, S.declareOpaqueType = mg, S.declareTypeAlias = dg, S.declareVariable = yg, S.declaredPredicate = Sg, S.decorator = MT, S.directive = a, S.directiveLiteral = o, S.doExpression = RT, S.doWhileStatement = m, S.emptyStatement = T, S.emptyTypeAnnotation = Og, S.enumBooleanBody = nT, S.enumBooleanMember = lT, S.enumDeclaration = iT, S.enumDefaultedMember = fT, S.enumNumberBody = sT, S.enumNumberMember = uT, S.enumStringBody = aT, S.enumStringMember = cT, S.enumSymbolBody = oT, S.existsTypeAnnotation = bg, S.exportAllDeclaration = te, S.exportDefaultDeclaration = L, S.exportDefaultSpecifier = BT, S.exportNamedDeclaration = D, S.exportNamespaceSpecifier = Br, S.exportSpecifier = y, S.expressionStatement = b, S.file = k, S.forInStatement = E, S.forOfStatement = I, S.forStatement = Q, S.functionDeclaration = G, S.functionExpression = z, S.functionTypeAnnotation = Eg, S.functionTypeParam = vg, S.genericTypeAnnotation = Pg, S.identifier = R, S.ifStatement = V, S.import = Rr, S.importAttribute = LT, S.importDeclaration = F, S.importDefaultSpecifier = Y, S.importExpression = Ee, S.importNamespaceSpecifier = ae, S.importSpecifier = ce, S.indexedAccessType = pT, S.inferredPredicate = xg, S.interfaceDeclaration = Cg, S.interfaceExtends = Ag, S.interfaceTypeAnnotation = wg, S.interpreterDirective = s, S.intersectionTypeAnnotation = Ig, S.jSXAttribute = S.jsxAttribute = dT, S.jSXClosingElement = S.jsxClosingElement = mT, S.jSXClosingFragment = S.jsxClosingFragment = IT, S.jSXElement = S.jsxElement = yT, S.jSXEmptyExpression = S.jsxEmptyExpression = gT, S.jSXExpressionContainer = S.jsxExpressionContainer = TT, S.jSXFragment = S.jsxFragment = CT, S.jSXIdentifier = S.jsxIdentifier = bT, S.jSXMemberExpression = S.jsxMemberExpression = ET, S.jSXNamespacedName = S.jsxNamespacedName = vT, S.jSXOpeningElement = S.jsxOpeningElement = PT, S.jSXOpeningFragment = S.jsxOpeningFragment = wT, S.jSXSpreadAttribute = S.jsxSpreadAttribute = xT, S.jSXSpreadChild = S.jsxSpreadChild = ST, S.jSXText = S.jsxText = AT, S.labeledStatement = W, S.logicalExpression = N, S.memberExpression = C, S.metaProperty = De, S.mixedTypeAnnotation = _g, S.moduleExpression = UT, S.newExpression = $, S.noop = _T, S.nullLiteral = H, S.nullLiteralTypeAnnotation = og, S.nullableTypeAnnotation = Ng, S.numberLiteral = ib, S.numberLiteralTypeAnnotation = Dg, S.numberTypeAnnotation = kg, S.numericLiteral = w, S.objectExpression = q, S.objectMethod = X, S.objectPattern = ke, S.objectProperty = re, S.objectTypeAnnotation = Lg, S.objectTypeCallProperty = Rg, S.objectTypeIndexer = Bg, S.objectTypeInternalSlot = Mg, S.objectTypeProperty = Fg, S.objectTypeSpreadProperty = jg, S.opaqueType = $g, S.optionalCallExpression = Fr, S.optionalIndexedAccessType = hT, S.optionalMemberExpression = nr, S.parenthesizedExpression = J, S.pipelineBareFunction = qT, S.pipelinePrimaryTopicReference = WT, S.pipelineTopicExpression = KT, S.placeholder = OT, S.privateName = Rn, S.program = O, S.qualifiedTypeIdentifier = Ug, S.recordExpression = FT, S.regExpLiteral = Z, S.regexLiteral = nb, S.restElement = ie, S.restProperty = sb, S.returnStatement = ne, S.sequenceExpression = fe, S.spreadElement = je, S.spreadProperty = ab, S.staticBlock = rg, S.stringLiteral = U, S.stringLiteralTypeAnnotation = Vg, S.stringTypeAnnotation = Kg, S.super = $e, S.switchCase = K, S.switchStatement = ee, S.symbolTypeAnnotation = qg, S.taggedTemplateExpression = Ie, S.templateElement = _, S.templateLiteral = ge, S.thisExpression = Se, S.thisTypeAnnotation = Wg, S.throwStatement = le, S.topicReference = VT, S.tryStatement = de, S.tSAnyKeyword = S.tsAnyKeyword = tS, S.tSArrayType = S.tsArrayType = ES, S.tSAsExpression = S.tsAsExpression = $S, S.tSBigIntKeyword = S.tsBigIntKeyword = iS, S.tSBooleanKeyword = S.tsBooleanKeyword = rS, S.tSCallSignatureDeclaration = S.tsCallSignatureDeclaration = JT, S.tSConditionalType = S.tsConditionalType = IS, S.tSConstructSignatureDeclaration = S.tsConstructSignatureDeclaration = zT, S.tSConstructorType = S.tsConstructorType = yS, S.tSDeclareFunction = S.tsDeclareFunction = GT, S.tSDeclareMethod = S.tsDeclareMethod = YT, S.tSEnumDeclaration = S.tsEnumDeclaration = KS, S.tSEnumMember = S.tsEnumMember = qS, S.tSExportAssignment = S.tsExportAssignment = zS, S.tSExpressionWithTypeArguments = S.tsExpressionWithTypeArguments = MS, S.tSExternalModuleReference = S.tsExternalModuleReference = XS, S.tSFunctionType = S.tsFunctionType = mS, S.tSImportEqualsDeclaration = S.tsImportEqualsDeclaration = YS, S.tSImportType = S.tsImportType = GS, S.tSIndexSignature = S.tsIndexSignature = eS, S.tSIndexedAccessType = S.tsIndexedAccessType = DS, S.tSInferType = S.tsInferType = _S, S.tSInstantiationExpression = S.tsInstantiationExpression = jS, S.tSInterfaceBody = S.tsInterfaceBody = BS, S.tSInterfaceDeclaration = S.tsInterfaceDeclaration = RS, S.tSIntersectionType = S.tsIntersectionType = wS, S.tSIntrinsicKeyword = S.tsIntrinsicKeyword = nS, S.tSLiteralType = S.tsLiteralType = LS, S.tSMappedType = S.tsMappedType = kS, S.tSMethodSignature = S.tsMethodSignature = ZT, S.tSModuleBlock = S.tsModuleBlock = HS, S.tSModuleDeclaration = S.tsModuleDeclaration = WS, S.tSNamedTupleMember = S.tsNamedTupleMember = AS, S.tSNamespaceExportDeclaration = S.tsNamespaceExportDeclaration = QS, S.tSNeverKeyword = S.tsNeverKeyword = sS, S.tSNonNullExpression = S.tsNonNullExpression = JS, S.tSNullKeyword = S.tsNullKeyword = aS, S.tSNumberKeyword = S.tsNumberKeyword = oS, S.tSObjectKeyword = S.tsObjectKeyword = lS, S.tSOptionalType = S.tsOptionalType = PS, S.tSParameterProperty = S.tsParameterProperty = HT, S.tSParenthesizedType = S.tsParenthesizedType = OS, S.tSPropertySignature = S.tsPropertySignature = QT, S.tSQualifiedName = S.tsQualifiedName = XT, S.tSRestType = S.tsRestType = xS, S.tSSatisfiesExpression = S.tsSatisfiesExpression = US, S.tSStringKeyword = S.tsStringKeyword = uS, S.tSSymbolKeyword = S.tsSymbolKeyword = cS, S.tSThisType = S.tsThisType = dS, S.tSTupleType = S.tsTupleType = vS, S.tSTypeAliasDeclaration = S.tsTypeAliasDeclaration = FS, S.tSTypeAnnotation = S.tsTypeAnnotation = ZS, S.tSTypeAssertion = S.tsTypeAssertion = VS, S.tSTypeLiteral = S.tsTypeLiteral = bS, S.tSTypeOperator = S.tsTypeOperator = NS, S.tSTypeParameter = S.tsTypeParameter = rb, S.tSTypeParameterDeclaration = S.tsTypeParameterDeclaration = tb, S.tSTypeParameterInstantiation = S.tsTypeParameterInstantiation = eb, S.tSTypePredicate = S.tsTypePredicate = TS, S.tSTypeQuery = S.tsTypeQuery = SS, S.tSTypeReference = S.tsTypeReference = gS, S.tSUndefinedKeyword = S.tsUndefinedKeyword = fS, S.tSUnionType = S.tsUnionType = CS, S.tSUnknownKeyword = S.tsUnknownKeyword = pS, S.tSVoidKeyword = S.tsVoidKeyword = hS, S.tupleExpression = jT, S.tupleTypeAnnotation = Hg, S.typeAlias = Yg, S.typeAnnotation = Xg, S.typeCastExpression = Jg, S.typeParameter = zg, S.typeParameterDeclaration = Qg, S.typeParameterInstantiation = Zg, S.typeofTypeAnnotation = Gg, S.unaryExpression = ue, S.unionTypeAnnotation = eT, S.updateExpression = me, S.v8IntrinsicIdentifier = NT, S.variableDeclaration = be, S.variableDeclarator = Me, S.variance = tT, S.voidTypeAnnotation = rT, S.whileStatement = Oe, S.withStatement = Ae, S.yieldExpression = Ge;
|
|
20854
20855
|
var e = YD(), t = Ii;
|
|
20855
20856
|
function r(g = []) {
|
|
20856
20857
|
return (0, e.default)({
|
|
@@ -20964,7 +20965,7 @@ function It() {
|
|
|
20964
20965
|
tokens: oe
|
|
20965
20966
|
});
|
|
20966
20967
|
}
|
|
20967
|
-
function
|
|
20968
|
+
function E(g, M, oe) {
|
|
20968
20969
|
return (0, e.default)({
|
|
20969
20970
|
type: "ForInStatement",
|
|
20970
20971
|
left: g,
|
|
@@ -22606,7 +22607,7 @@ function JD() {
|
|
|
22606
22607
|
vp = 1, Object.defineProperty(Yn, "__esModule", {
|
|
22607
22608
|
value: !0
|
|
22608
22609
|
}), Yn.default = r;
|
|
22609
|
-
var e =
|
|
22610
|
+
var e = v, t = XD();
|
|
22610
22611
|
function r(i) {
|
|
22611
22612
|
const n = [];
|
|
22612
22613
|
for (let s = 0; s < i.children.length; s++) {
|
|
@@ -23903,7 +23904,7 @@ Object.defineProperty(ya, "__esModule", {
|
|
|
23903
23904
|
value: !0
|
|
23904
23905
|
});
|
|
23905
23906
|
ya.default = ey;
|
|
23906
|
-
var Xi =
|
|
23907
|
+
var Xi = v;
|
|
23907
23908
|
function Zm(e) {
|
|
23908
23909
|
return (0, Xi.isIdentifier)(e) ? e.name : `${e.id.name}.${Zm(e.qualification)}`;
|
|
23909
23910
|
}
|
|
@@ -23958,7 +23959,7 @@ Object.defineProperty(Yu, "__esModule", {
|
|
|
23958
23959
|
value: !0
|
|
23959
23960
|
});
|
|
23960
23961
|
Yu.default = ry;
|
|
23961
|
-
var Ji =
|
|
23962
|
+
var Ji = v;
|
|
23962
23963
|
function ty(e) {
|
|
23963
23964
|
return (0, Ji.isIdentifier)(e) ? e.name : `${e.right.name}.${ty(e.left)}`;
|
|
23964
23965
|
}
|
|
@@ -24001,7 +24002,7 @@ function FF() {
|
|
|
24001
24002
|
Ap = 1, Object.defineProperty(rs, "__esModule", {
|
|
24002
24003
|
value: !0
|
|
24003
24004
|
}), rs.default = i;
|
|
24004
|
-
var e = It(), t = Yu, r =
|
|
24005
|
+
var e = It(), t = Yu, r = v;
|
|
24005
24006
|
function i(n) {
|
|
24006
24007
|
const s = n.map((o) => (0, r.isTSTypeAnnotation)(o) ? o.typeAnnotation : o), a = (0, t.default)(s);
|
|
24007
24008
|
return a.length === 1 ? a[0] : (0, e.tsUnionType)(a);
|
|
@@ -25304,7 +25305,7 @@ Object.defineProperty(Sr, "__esModule", {
|
|
|
25304
25305
|
value: !0
|
|
25305
25306
|
});
|
|
25306
25307
|
Sr.default = $F;
|
|
25307
|
-
var Ip = Ht(), _p =
|
|
25308
|
+
var Ip = Ht(), _p = v;
|
|
25308
25309
|
const {
|
|
25309
25310
|
hasOwn: Xt
|
|
25310
25311
|
} = {
|
|
@@ -25523,7 +25524,7 @@ function sy() {
|
|
|
25523
25524
|
Np = 1, Object.defineProperty(as, "__esModule", {
|
|
25524
25525
|
value: !0
|
|
25525
25526
|
}), as.default = r;
|
|
25526
|
-
var e =
|
|
25527
|
+
var e = v, t = It();
|
|
25527
25528
|
function r(i, n) {
|
|
25528
25529
|
if ((0, e.isBlockStatement)(i))
|
|
25529
25530
|
return i;
|
|
@@ -25574,7 +25575,7 @@ function T3() {
|
|
|
25574
25575
|
kp = 1, Object.defineProperty(os, "__esModule", {
|
|
25575
25576
|
value: !0
|
|
25576
25577
|
}), os.default = r;
|
|
25577
|
-
var e =
|
|
25578
|
+
var e = v, t = It();
|
|
25578
25579
|
function r(i, n = i.key || i.property) {
|
|
25579
25580
|
return !i.computed && (0, e.isIdentifier)(n) && (n = (0, t.stringLiteral)(n.name)), n;
|
|
25580
25581
|
}
|
|
@@ -25585,7 +25586,7 @@ Object.defineProperty(Pa, "__esModule", {
|
|
|
25585
25586
|
value: !0
|
|
25586
25587
|
});
|
|
25587
25588
|
Pa.default = void 0;
|
|
25588
|
-
var Ki =
|
|
25589
|
+
var Ki = v;
|
|
25589
25590
|
Pa.default = S3;
|
|
25590
25591
|
function S3(e) {
|
|
25591
25592
|
if ((0, Ki.isExpressionStatement)(e) && (e = e.expression), (0, Ki.isExpression)(e))
|
|
@@ -25644,7 +25645,7 @@ Object.defineProperty(rc, "__esModule", {
|
|
|
25644
25645
|
value: !0
|
|
25645
25646
|
});
|
|
25646
25647
|
rc.default = Wr;
|
|
25647
|
-
var Lp =
|
|
25648
|
+
var Lp = v, w3 = Sr, I3 = xa;
|
|
25648
25649
|
function Wr(e, t = e.key) {
|
|
25649
25650
|
let r;
|
|
25650
25651
|
return e.kind === "method" ? Wr.increment() + "" : ((0, Lp.isIdentifier)(t) ? r = t.name : (0, Lp.isStringLiteral)(t) ? r = JSON.stringify(t.value) : r = JSON.stringify((0, I3.default)((0, w3.default)(t))), e.computed && (r = `[${r}]`), e.static && (r = `static:${r}`), r);
|
|
@@ -25659,7 +25660,7 @@ function _3() {
|
|
|
25659
25660
|
Mp = 1, Object.defineProperty(qi, "__esModule", {
|
|
25660
25661
|
value: !0
|
|
25661
25662
|
}), qi.default = void 0;
|
|
25662
|
-
var e =
|
|
25663
|
+
var e = v, t = It();
|
|
25663
25664
|
qi.default = r;
|
|
25664
25665
|
function r(i, n) {
|
|
25665
25666
|
if ((0, e.isStatement)(i))
|
|
@@ -25822,7 +25823,7 @@ Object.defineProperty(_i, "__esModule", {
|
|
|
25822
25823
|
value: !0
|
|
25823
25824
|
});
|
|
25824
25825
|
_i.default = sc;
|
|
25825
|
-
var or =
|
|
25826
|
+
var or = v;
|
|
25826
25827
|
function sc(e, t, r, i) {
|
|
25827
25828
|
const n = [].concat(e), s = /* @__PURE__ */ Object.create(null);
|
|
25828
25829
|
for (; n.length; ) {
|
|
@@ -25911,7 +25912,7 @@ Object.defineProperty(ac, "__esModule", {
|
|
|
25911
25912
|
value: !0
|
|
25912
25913
|
});
|
|
25913
25914
|
ac.default = $3;
|
|
25914
|
-
var Lt =
|
|
25915
|
+
var Lt = v;
|
|
25915
25916
|
function j3(e) {
|
|
25916
25917
|
return (0, Lt.isNullLiteral)(e) ? "null" : (0, Lt.isRegExpLiteral)(e) ? `/${e.pattern}/${e.flags}` : (0, Lt.isTemplateLiteral)(e) ? e.quasis.map((t) => t.value.raw).join("") : e.value !== void 0 ? String(e.value) : null;
|
|
25917
25918
|
}
|
|
@@ -26003,7 +26004,7 @@ Object.defineProperty(Ia, "__esModule", {
|
|
|
26003
26004
|
value: !0
|
|
26004
26005
|
});
|
|
26005
26006
|
Ia.default = G3;
|
|
26006
|
-
var W3 =
|
|
26007
|
+
var W3 = v, H3 = we;
|
|
26007
26008
|
function G3(e) {
|
|
26008
26009
|
return (0, W3.isVariableDeclaration)(e) && (e.kind !== "var" || e[H3.BLOCK_SCOPED_SYMBOL]);
|
|
26009
26010
|
}
|
|
@@ -26011,7 +26012,7 @@ Object.defineProperty(uc, "__esModule", {
|
|
|
26011
26012
|
value: !0
|
|
26012
26013
|
});
|
|
26013
26014
|
uc.default = X3;
|
|
26014
|
-
var Up =
|
|
26015
|
+
var Up = v, Y3 = Ia;
|
|
26015
26016
|
function X3(e) {
|
|
26016
26017
|
return (0, Up.isFunctionDeclaration)(e) || (0, Up.isClassDeclaration)(e) || (0, Y3.default)(e);
|
|
26017
26018
|
}
|
|
@@ -26020,7 +26021,7 @@ Object.defineProperty(cc, "__esModule", {
|
|
|
26020
26021
|
value: !0
|
|
26021
26022
|
});
|
|
26022
26023
|
cc.default = Q3;
|
|
26023
|
-
var J3 = Ku(), z3 =
|
|
26024
|
+
var J3 = Ku(), z3 = v;
|
|
26024
26025
|
function Q3(e) {
|
|
26025
26026
|
return (0, J3.default)(e.type, "Immutable") ? !0 : (0, z3.isIdentifier)(e) ? e.name === "undefined" : !1;
|
|
26026
26027
|
}
|
|
@@ -26143,7 +26144,7 @@ Object.defineProperty(hc, "__esModule", {
|
|
|
26143
26144
|
value: !0
|
|
26144
26145
|
});
|
|
26145
26146
|
hc.default = ej;
|
|
26146
|
-
var Vr =
|
|
26147
|
+
var Vr = v;
|
|
26147
26148
|
function ej(e, t) {
|
|
26148
26149
|
return (0, Vr.isBlockStatement)(e) && ((0, Vr.isFunction)(t) || (0, Vr.isCatchClause)(t)) ? !1 : (0, Vr.isPattern)(e) && ((0, Vr.isFunction)(t) || (0, Vr.isCatchClause)(t)) ? !0 : (0, Vr.isScopable)(e);
|
|
26149
26150
|
}
|
|
@@ -26152,7 +26153,7 @@ Object.defineProperty(dc, "__esModule", {
|
|
|
26152
26153
|
value: !0
|
|
26153
26154
|
});
|
|
26154
26155
|
dc.default = tj;
|
|
26155
|
-
var Kp =
|
|
26156
|
+
var Kp = v;
|
|
26156
26157
|
function tj(e) {
|
|
26157
26158
|
return (0, Kp.isImportDefaultSpecifier)(e) || (0, Kp.isIdentifier)(e.imported || e.exported, {
|
|
26158
26159
|
name: "default"
|
|
@@ -26173,7 +26174,7 @@ Object.defineProperty(yc, "__esModule", {
|
|
|
26173
26174
|
value: !0
|
|
26174
26175
|
});
|
|
26175
26176
|
yc.default = oj;
|
|
26176
|
-
var sj =
|
|
26177
|
+
var sj = v, aj = we;
|
|
26177
26178
|
function oj(e) {
|
|
26178
26179
|
return (0, sj.isVariableDeclaration)(e, {
|
|
26179
26180
|
kind: "var"
|
|
@@ -26185,7 +26186,7 @@ function lj() {
|
|
|
26185
26186
|
qp = 1, Object.defineProperty(fs, "__esModule", {
|
|
26186
26187
|
value: !0
|
|
26187
26188
|
}), fs.default = s;
|
|
26188
|
-
var e = _i, t =
|
|
26189
|
+
var e = _i, t = v, r = It(), i = iy(), n = Sr;
|
|
26189
26190
|
function s(a, o) {
|
|
26190
26191
|
const l = [];
|
|
26191
26192
|
let c = !0;
|
|
@@ -26320,7 +26321,7 @@ function Le() {
|
|
|
26320
26321
|
}), Object.defineProperty(e, "addComments", {
|
|
26321
26322
|
enumerable: !0,
|
|
26322
26323
|
get: function() {
|
|
26323
|
-
return
|
|
26324
|
+
return E.default;
|
|
26324
26325
|
}
|
|
26325
26326
|
}), Object.defineProperty(e, "appendToMemberExpression", {
|
|
26326
26327
|
enumerable: !0,
|
|
@@ -26634,7 +26635,7 @@ function Le() {
|
|
|
26634
26635
|
}
|
|
26635
26636
|
});
|
|
26636
26637
|
});
|
|
26637
|
-
var h = Sr, d = Xu, m = Ju, T = zu, b = Qu, k = Zu,
|
|
26638
|
+
var h = Sr, d = Xu, m = Ju, T = zu, b = Qu, k = Zu, E = ga, Q = Ta, G = Sa, z = ba, R = Ea, V = ec, W = pe;
|
|
26638
26639
|
Object.keys(W).forEach(function(se) {
|
|
26639
26640
|
se === "default" || se === "__esModule" || Object.prototype.hasOwnProperty.call(t, se) || se in e && e[se] === W[se] || Object.defineProperty(e, se, {
|
|
26640
26641
|
enumerable: !0,
|
|
@@ -26670,7 +26671,7 @@ function Le() {
|
|
|
26670
26671
|
}
|
|
26671
26672
|
});
|
|
26672
26673
|
});
|
|
26673
|
-
var me = Aa, be = Tn, Me = bn(), Oe = lc, Ae = uc, Ne = cc, ze = Ia, at = ma, et = fc, Ue = $m(), vt = pc, te = hc, L = dc, D = Ku(), y = mc, I = zr, F = yc, Y = ha, ae = Hu(), ce = pa, Ee =
|
|
26674
|
+
var me = Aa, be = Tn, Me = bn(), Oe = lc, Ae = uc, Ne = cc, ze = Ia, at = ma, et = fc, Ue = $m(), vt = pc, te = hc, L = dc, D = Ku(), y = mc, I = zr, F = yc, Y = ha, ae = Hu(), ce = pa, Ee = v;
|
|
26674
26675
|
Object.keys(Ee).forEach(function(se) {
|
|
26675
26676
|
se === "default" || se === "__esModule" || Object.prototype.hasOwnProperty.call(t, se) || se in e && e[se] === Ee[se] || Object.defineProperty(e, se, {
|
|
26676
26677
|
enumerable: !0,
|
|
@@ -26842,7 +26843,7 @@ function _a() {
|
|
|
26842
26843
|
if (u(R)) return R;
|
|
26843
26844
|
R._exploded = !0;
|
|
26844
26845
|
for (const V of Object.keys(R)) {
|
|
26845
|
-
if (
|
|
26846
|
+
if (E(V)) continue;
|
|
26846
26847
|
const W = V.split("|");
|
|
26847
26848
|
if (W.length === 1) continue;
|
|
26848
26849
|
const U = R[V];
|
|
@@ -26852,7 +26853,7 @@ function _a() {
|
|
|
26852
26853
|
}
|
|
26853
26854
|
f(R), delete R.__esModule, T(R), b(R);
|
|
26854
26855
|
for (const V of Object.keys(R)) {
|
|
26855
|
-
if (
|
|
26856
|
+
if (E(V) || !c(V)) continue;
|
|
26856
26857
|
const W = R[V];
|
|
26857
26858
|
for (const w of Object.keys(W))
|
|
26858
26859
|
W[w] = k(V, W[w]);
|
|
@@ -26865,7 +26866,7 @@ function _a() {
|
|
|
26865
26866
|
Q(R, W);
|
|
26866
26867
|
}
|
|
26867
26868
|
for (const V of Object.keys(R)) {
|
|
26868
|
-
if (
|
|
26869
|
+
if (E(V)) continue;
|
|
26869
26870
|
let W = a[V];
|
|
26870
26871
|
if (V in n) {
|
|
26871
26872
|
const w = n[V];
|
|
@@ -26883,7 +26884,7 @@ function _a() {
|
|
|
26883
26884
|
}
|
|
26884
26885
|
}
|
|
26885
26886
|
for (const V of Object.keys(R))
|
|
26886
|
-
|
|
26887
|
+
E(V) || b(R[V]);
|
|
26887
26888
|
return R;
|
|
26888
26889
|
}
|
|
26889
26890
|
function f(R) {
|
|
@@ -26891,7 +26892,7 @@ function _a() {
|
|
|
26891
26892
|
if (typeof R == "function")
|
|
26892
26893
|
throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");
|
|
26893
26894
|
for (const V of Object.keys(R)) {
|
|
26894
|
-
if ((V === "enter" || V === "exit") && h(V, R[V]),
|
|
26895
|
+
if ((V === "enter" || V === "exit") && h(V, R[V]), E(V)) continue;
|
|
26895
26896
|
if (!o.includes(V))
|
|
26896
26897
|
throw new Error(`You gave us a visitor for the node type ${V} but it's not a valid type in @babel/traverse 7.25.3`);
|
|
26897
26898
|
const W = R[V];
|
|
@@ -26926,7 +26927,7 @@ function _a() {
|
|
|
26926
26927
|
let Z = H;
|
|
26927
26928
|
(B || W) && (Z = m(Z, B, W)), Q(U, Z);
|
|
26928
26929
|
for (const N of Object.keys(H)) {
|
|
26929
|
-
if (
|
|
26930
|
+
if (E(N)) continue;
|
|
26930
26931
|
let C = H[N];
|
|
26931
26932
|
(B || W) && (C = m(C, B, W));
|
|
26932
26933
|
const $ = U[N] || (U[N] = {});
|
|
@@ -26950,7 +26951,7 @@ function _a() {
|
|
|
26950
26951
|
}
|
|
26951
26952
|
function T(R) {
|
|
26952
26953
|
for (const V of Object.keys(R)) {
|
|
26953
|
-
if (
|
|
26954
|
+
if (E(V)) continue;
|
|
26954
26955
|
const W = R[V];
|
|
26955
26956
|
typeof W == "function" && (R[V] = {
|
|
26956
26957
|
enter: W
|
|
@@ -26967,7 +26968,7 @@ function _a() {
|
|
|
26967
26968
|
};
|
|
26968
26969
|
return w.toString = () => V.toString(), w;
|
|
26969
26970
|
}
|
|
26970
|
-
function
|
|
26971
|
+
function E(R) {
|
|
26971
26972
|
return R[0] === "_" || R === "enter" || R === "exit" || R === "shouldSkip" || R === "denylist" || R === "noScope" || R === "skipKeys" || R === "blacklist";
|
|
26972
26973
|
}
|
|
26973
26974
|
function Q(R, V) {
|
|
@@ -28730,7 +28731,7 @@ function fy() {
|
|
|
28730
28731
|
isCallExpression: T,
|
|
28731
28732
|
isClass: b,
|
|
28732
28733
|
isClassBody: k,
|
|
28733
|
-
isClassDeclaration:
|
|
28734
|
+
isClassDeclaration: E,
|
|
28734
28735
|
isExportAllDeclaration: Q,
|
|
28735
28736
|
isExportDefaultDeclaration: G,
|
|
28736
28737
|
isExportNamedDeclaration: z,
|
|
@@ -28911,7 +28912,7 @@ function fy() {
|
|
|
28911
28912
|
} = D;
|
|
28912
28913
|
if (Q(y)) return;
|
|
28913
28914
|
const F = y.declaration;
|
|
28914
|
-
if (
|
|
28915
|
+
if (E(F) || R(F)) {
|
|
28915
28916
|
const Y = F.id;
|
|
28916
28917
|
if (!Y) return;
|
|
28917
28918
|
const ae = I.getBinding(Y.name);
|
|
@@ -29623,7 +29624,7 @@ function py() {
|
|
|
29623
29624
|
}
|
|
29624
29625
|
return B.write(44), Z[0] = c(B, O, Z[0]), c(B, q, 0), H;
|
|
29625
29626
|
}
|
|
29626
|
-
function
|
|
29627
|
+
function E(w) {
|
|
29627
29628
|
const { length: H } = w, B = new d(w), Z = [], N = [];
|
|
29628
29629
|
let C = 0, $ = 0, O = 0, q = 0, X = 0, re = 0, ie = 0, ne = 0;
|
|
29629
29630
|
do {
|
|
@@ -29752,7 +29753,7 @@ function py() {
|
|
|
29752
29753
|
}
|
|
29753
29754
|
return H.flush();
|
|
29754
29755
|
}
|
|
29755
|
-
r.decode = R, r.decodeGeneratedRanges =
|
|
29756
|
+
r.decode = R, r.decodeGeneratedRanges = E, r.decodeOriginalScopes = T, r.encode = U, r.encodeGeneratedRanges = Q, r.encodeOriginalScopes = b, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
29756
29757
|
});
|
|
29757
29758
|
}(hs, hs.exports)), hs.exports;
|
|
29758
29759
|
}
|
|
@@ -29779,17 +29780,17 @@ function k5() {
|
|
|
29779
29780
|
return /^[.?#]/.test(k);
|
|
29780
29781
|
}
|
|
29781
29782
|
function u(k) {
|
|
29782
|
-
const
|
|
29783
|
-
return f(
|
|
29783
|
+
const E = i.exec(k);
|
|
29784
|
+
return f(E[1], E[2] || "", E[3], E[4] || "", E[5] || "/", E[6] || "", E[7] || "");
|
|
29784
29785
|
}
|
|
29785
29786
|
function p(k) {
|
|
29786
|
-
const
|
|
29787
|
-
return f("file:", "",
|
|
29787
|
+
const E = n.exec(k), Q = E[2];
|
|
29788
|
+
return f("file:", "", E[1] || "", "", o(Q) ? Q : "/" + Q, E[3] || "", E[4] || "");
|
|
29788
29789
|
}
|
|
29789
|
-
function f(k,
|
|
29790
|
+
function f(k, E, Q, G, z, R, V) {
|
|
29790
29791
|
return {
|
|
29791
29792
|
scheme: k,
|
|
29792
|
-
user:
|
|
29793
|
+
user: E,
|
|
29793
29794
|
host: Q,
|
|
29794
29795
|
port: G,
|
|
29795
29796
|
path: z,
|
|
@@ -29811,20 +29812,20 @@ function k5() {
|
|
|
29811
29812
|
return p(k);
|
|
29812
29813
|
if (s(k))
|
|
29813
29814
|
return u(k);
|
|
29814
|
-
const
|
|
29815
|
-
return
|
|
29815
|
+
const E = u("http://foo.com/" + k);
|
|
29816
|
+
return E.scheme = "", E.host = "", E.type = k ? k.startsWith("?") ? 3 : k.startsWith("#") ? 2 : 4 : 1, E;
|
|
29816
29817
|
}
|
|
29817
29818
|
function d(k) {
|
|
29818
29819
|
if (k.endsWith("/.."))
|
|
29819
29820
|
return k;
|
|
29820
|
-
const
|
|
29821
|
-
return k.slice(0,
|
|
29821
|
+
const E = k.lastIndexOf("/");
|
|
29822
|
+
return k.slice(0, E + 1);
|
|
29822
29823
|
}
|
|
29823
|
-
function m(k,
|
|
29824
|
-
T(
|
|
29824
|
+
function m(k, E) {
|
|
29825
|
+
T(E, E.type), k.path === "/" ? k.path = E.path : k.path = d(E.path) + k.path;
|
|
29825
29826
|
}
|
|
29826
|
-
function T(k,
|
|
29827
|
-
const Q =
|
|
29827
|
+
function T(k, E) {
|
|
29828
|
+
const Q = E <= 4, G = k.path.split("/");
|
|
29828
29829
|
let z = 1, R = 0, V = !1;
|
|
29829
29830
|
for (let U = 1; U < G.length; U++) {
|
|
29830
29831
|
const w = G[U];
|
|
@@ -29845,13 +29846,13 @@ function k5() {
|
|
|
29845
29846
|
W += "/" + G[U];
|
|
29846
29847
|
(!W || V && !W.endsWith("/..")) && (W += "/"), k.path = W;
|
|
29847
29848
|
}
|
|
29848
|
-
function b(k,
|
|
29849
|
-
if (!k && !
|
|
29849
|
+
function b(k, E) {
|
|
29850
|
+
if (!k && !E)
|
|
29850
29851
|
return "";
|
|
29851
29852
|
const Q = h(k);
|
|
29852
29853
|
let G = Q.type;
|
|
29853
|
-
if (
|
|
29854
|
-
const R = h(
|
|
29854
|
+
if (E && G !== 7) {
|
|
29855
|
+
const R = h(E), V = R.type;
|
|
29855
29856
|
switch (G) {
|
|
29856
29857
|
case 1:
|
|
29857
29858
|
Q.hash = R.hash;
|
|
@@ -29875,7 +29876,7 @@ function k5() {
|
|
|
29875
29876
|
return z;
|
|
29876
29877
|
case 4: {
|
|
29877
29878
|
const R = Q.path.slice(1);
|
|
29878
|
-
return R ? c(
|
|
29879
|
+
return R ? c(E || k) && !c(R) ? "./" + R + z : R + z : z || ".";
|
|
29879
29880
|
}
|
|
29880
29881
|
case 5:
|
|
29881
29882
|
return Q.path + z;
|
|
@@ -29928,15 +29929,15 @@ function k5() {
|
|
|
29928
29929
|
function k(te, L) {
|
|
29929
29930
|
return te[o] - L[o];
|
|
29930
29931
|
}
|
|
29931
|
-
let
|
|
29932
|
+
let E = !1;
|
|
29932
29933
|
function Q(te, L, D, y) {
|
|
29933
29934
|
for (; D <= y; ) {
|
|
29934
29935
|
const I = D + (y - D >> 1), F = te[I][o] - L;
|
|
29935
29936
|
if (F === 0)
|
|
29936
|
-
return
|
|
29937
|
+
return E = !0, I;
|
|
29937
29938
|
F < 0 ? D = I + 1 : y = I - 1;
|
|
29938
29939
|
}
|
|
29939
|
-
return
|
|
29940
|
+
return E = !1, D - 1;
|
|
29940
29941
|
}
|
|
29941
29942
|
function G(te, L, D) {
|
|
29942
29943
|
for (let y = D + 1; y < te.length && te[y][o] === L; D = y++)
|
|
@@ -29960,7 +29961,7 @@ function k5() {
|
|
|
29960
29961
|
let ae = 0, ce = te.length - 1;
|
|
29961
29962
|
if (y === I) {
|
|
29962
29963
|
if (L === F)
|
|
29963
|
-
return
|
|
29964
|
+
return E = Y !== -1 && te[Y][o] === L, Y;
|
|
29964
29965
|
L >= F ? ae = Y === -1 ? 0 : Y : ce = Y;
|
|
29965
29966
|
}
|
|
29966
29967
|
return D.lastKey = y, D.lastNeedle = L, D.lastIndex = Q(te, L, ae, ce);
|
|
@@ -30185,14 +30186,14 @@ function k5() {
|
|
|
30185
30186
|
}
|
|
30186
30187
|
function et(te, L, D, y, I) {
|
|
30187
30188
|
let F = V(te, y, L, D);
|
|
30188
|
-
return
|
|
30189
|
+
return E ? F = (I === X ? G : z)(te, y, F) : I === X && F++, F === -1 || F === te.length ? -1 : F;
|
|
30189
30190
|
}
|
|
30190
30191
|
function Ue(te, L, D, y, I) {
|
|
30191
30192
|
let F = et(te, L, D, y, re);
|
|
30192
|
-
if (!
|
|
30193
|
+
if (!E && I === X && F++, F === -1 || F === te.length)
|
|
30193
30194
|
return [];
|
|
30194
|
-
const Y =
|
|
30195
|
-
|
|
30195
|
+
const Y = E ? y : te[F][o];
|
|
30196
|
+
E || (F = z(te, Y, F));
|
|
30196
30197
|
const ae = G(te, Y, F), ce = [];
|
|
30197
30198
|
for (; F <= ae; F++) {
|
|
30198
30199
|
const Ee = te[F];
|
|
@@ -30249,7 +30250,7 @@ var hy = kl.exports;
|
|
|
30249
30250
|
const { _sources: X, _sourcesContent: re } = $, ie = i.put(X, O);
|
|
30250
30251
|
re[ie] = q;
|
|
30251
30252
|
}
|
|
30252
|
-
function
|
|
30253
|
+
function E($, O, q = !0) {
|
|
30253
30254
|
const { _sources: X, _sourcesContent: re, _ignoreList: ie } = $, ne = i.put(X, O);
|
|
30254
30255
|
ne === re.length && (re[ne] = null), q ? i.put(ie, ne) : i.remove(ie, ne);
|
|
30255
30256
|
}
|
|
@@ -30337,7 +30338,7 @@ var hy = kl.exports;
|
|
|
30337
30338
|
const { generated: X, source: re, original: ie, name: ne, content: fe } = q;
|
|
30338
30339
|
return re ? V($, O, X.line - 1, X.column, re, ie.line - 1, ie.column, ne, fe) : V($, O, X.line - 1, X.column, null, null, null, null, null);
|
|
30339
30340
|
}
|
|
30340
|
-
r.GenMapping = f, r.addMapping = m, r.addSegment = d, r.allMappings = R, r.fromMap = z, r.maybeAddMapping = b, r.maybeAddSegment = T, r.setIgnore =
|
|
30341
|
+
r.GenMapping = f, r.addMapping = m, r.addSegment = d, r.allMappings = R, r.fromMap = z, r.maybeAddMapping = b, r.maybeAddSegment = T, r.setIgnore = E, r.setSourceContent = k, r.toDecodedMap = Q, r.toEncodedMap = G, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
30341
30342
|
});
|
|
30342
30343
|
})(Dl, Dl.exports);
|
|
30343
30344
|
var L5 = Dl.exports;
|
|
@@ -30717,7 +30718,7 @@ function G5() {
|
|
|
30717
30718
|
if (eh) return He;
|
|
30718
30719
|
eh = 1, Object.defineProperty(He, "__esModule", {
|
|
30719
30720
|
value: !0
|
|
30720
|
-
}), He.ArrowFunctionExpression = q, He.AssignmentExpression = ie, He.Binary = z, He.BinaryExpression = B, He.ClassExpression = C, He.ConditionalExpression = X, He.DoExpression = G, He.FunctionExpression = O, He.FunctionTypeAnnotation = k, He.Identifier = fe, He.LogicalExpression = ne, He.NullableTypeAnnotation = b, He.ObjectExpression = Q, He.OptionalIndexedAccessType = V, He.OptionalCallExpression = He.OptionalMemberExpression = re, He.SequenceExpression = Z, He.TSSatisfiesExpression = He.TSAsExpression = W, He.TSInferType = w, He.TSInstantiationExpression = H, He.UnaryLike = He.TSTypeAssertion = $, He.TSIntersectionType = He.TSUnionType = U, He.IntersectionTypeAnnotation = He.UnionTypeAnnotation = R, He.UpdateExpression =
|
|
30721
|
+
}), He.ArrowFunctionExpression = q, He.AssignmentExpression = ie, He.Binary = z, He.BinaryExpression = B, He.ClassExpression = C, He.ConditionalExpression = X, He.DoExpression = G, He.FunctionExpression = O, He.FunctionTypeAnnotation = k, He.Identifier = fe, He.LogicalExpression = ne, He.NullableTypeAnnotation = b, He.ObjectExpression = Q, He.OptionalIndexedAccessType = V, He.OptionalCallExpression = He.OptionalMemberExpression = re, He.SequenceExpression = Z, He.TSSatisfiesExpression = He.TSAsExpression = W, He.TSInferType = w, He.TSInstantiationExpression = H, He.UnaryLike = He.TSTypeAssertion = $, He.TSIntersectionType = He.TSUnionType = U, He.IntersectionTypeAnnotation = He.UnionTypeAnnotation = R, He.UpdateExpression = E, He.AwaitExpression = He.YieldExpression = N;
|
|
30721
30722
|
var e = Le(), t = Zr();
|
|
30722
30723
|
const {
|
|
30723
30724
|
isArrayTypeAnnotation: r,
|
|
@@ -30754,7 +30755,7 @@ function G5() {
|
|
|
30754
30755
|
const Se = K.type;
|
|
30755
30756
|
return Se === "UnionTypeAnnotation" || Se === "IntersectionTypeAnnotation" || Se === "ArrayTypeAnnotation" || !!(ee & t.TokenContext.arrowFlowReturnType);
|
|
30756
30757
|
}
|
|
30757
|
-
function
|
|
30758
|
+
function E(J, K) {
|
|
30758
30759
|
return T(J, K) || m(J, K);
|
|
30759
30760
|
}
|
|
30760
30761
|
function Q(J, K, ee) {
|
|
@@ -30891,7 +30892,7 @@ function Zr() {
|
|
|
30891
30892
|
forOfHead: 32,
|
|
30892
30893
|
arrowFlowReturnType: 64
|
|
30893
30894
|
};
|
|
30894
|
-
function u(
|
|
30895
|
+
function u(E) {
|
|
30895
30896
|
const Q = /* @__PURE__ */ new Map();
|
|
30896
30897
|
function G(z, R) {
|
|
30897
30898
|
const V = Q.get(z);
|
|
@@ -30900,43 +30901,43 @@ function Zr() {
|
|
|
30900
30901
|
return (B = V(W, U, w, H)) != null ? B : R(W, U, w, H);
|
|
30901
30902
|
} : R);
|
|
30902
30903
|
}
|
|
30903
|
-
for (const z of Object.keys(
|
|
30904
|
+
for (const z of Object.keys(E)) {
|
|
30904
30905
|
const R = i[z];
|
|
30905
30906
|
if (R)
|
|
30906
30907
|
for (const V of R)
|
|
30907
|
-
G(V,
|
|
30908
|
+
G(V, E[z]);
|
|
30908
30909
|
else
|
|
30909
|
-
G(z,
|
|
30910
|
+
G(z, E[z]);
|
|
30910
30911
|
}
|
|
30911
30912
|
return Q;
|
|
30912
30913
|
}
|
|
30913
30914
|
const p = u(t), f = u(e.nodes);
|
|
30914
|
-
function h(
|
|
30915
|
-
return n(
|
|
30915
|
+
function h(E) {
|
|
30916
|
+
return n(E) ? !0 : o(E) && h(E.object);
|
|
30916
30917
|
}
|
|
30917
|
-
function d(
|
|
30918
|
+
function d(E, Q, G) {
|
|
30918
30919
|
var z;
|
|
30919
|
-
if (!
|
|
30920
|
-
a(
|
|
30921
|
-
const R = (z = f.get(
|
|
30920
|
+
if (!E) return !1;
|
|
30921
|
+
a(E) && (E = E.expression);
|
|
30922
|
+
const R = (z = f.get(E.type)) == null ? void 0 : z(E, Q);
|
|
30922
30923
|
return typeof R == "number" ? (R & G) !== 0 : !1;
|
|
30923
30924
|
}
|
|
30924
|
-
function m(
|
|
30925
|
-
return d(
|
|
30925
|
+
function m(E, Q) {
|
|
30926
|
+
return d(E, Q, 1);
|
|
30926
30927
|
}
|
|
30927
|
-
function T(
|
|
30928
|
-
return d(
|
|
30928
|
+
function T(E, Q) {
|
|
30929
|
+
return d(E, Q, 2);
|
|
30929
30930
|
}
|
|
30930
|
-
function b(
|
|
30931
|
+
function b(E, Q, G, z) {
|
|
30931
30932
|
var R;
|
|
30932
|
-
return Q ? l(Q) && Q.callee ===
|
|
30933
|
+
return Q ? l(Q) && Q.callee === E && h(E) ? !0 : s(Q) ? !k(E) && !(n(E) && k(E.callee)) && !c(E) : (R = p.get(E.type)) == null ? void 0 : R(E, Q, G, z) : !1;
|
|
30933
30934
|
}
|
|
30934
|
-
function k(
|
|
30935
|
-
switch (
|
|
30935
|
+
function k(E) {
|
|
30936
|
+
switch (E.type) {
|
|
30936
30937
|
case "Identifier":
|
|
30937
30938
|
return !0;
|
|
30938
30939
|
case "MemberExpression":
|
|
30939
|
-
return !
|
|
30940
|
+
return !E.computed && E.property.type === "Identifier" && k(E.object);
|
|
30940
30941
|
default:
|
|
30941
30942
|
return !1;
|
|
30942
30943
|
}
|
|
@@ -31591,19 +31592,19 @@ const Py = {}, $4 = Py.hasOwnProperty, xy = (e, t) => {
|
|
|
31591
31592
|
);
|
|
31592
31593
|
}), d ? "{}" : "{" + f + h.join("," + f) + f + (a ? "" : c) + "}") : n ? JSON.stringify(e) || "null" : String(e);
|
|
31593
31594
|
}
|
|
31594
|
-
const
|
|
31595
|
+
const E = e;
|
|
31595
31596
|
let Q = -1;
|
|
31596
|
-
const G =
|
|
31597
|
+
const G = E.length;
|
|
31597
31598
|
for (h = ""; ++Q < G; ) {
|
|
31598
|
-
const z =
|
|
31599
|
+
const z = E.charAt(Q);
|
|
31599
31600
|
if (t.es6) {
|
|
31600
|
-
const w =
|
|
31601
|
+
const w = E.charCodeAt(Q);
|
|
31601
31602
|
if (
|
|
31602
31603
|
// check if it’s the start of a surrogate pair
|
|
31603
31604
|
w >= 55296 && w <= 56319 && // high surrogate
|
|
31604
31605
|
G > Q + 1
|
|
31605
31606
|
) {
|
|
31606
|
-
const H =
|
|
31607
|
+
const H = E.charCodeAt(Q + 1);
|
|
31607
31608
|
if (H >= 56320 && H <= 57343) {
|
|
31608
31609
|
let Z = ((w - 55296) * 1024 + H - 56320 + 65536).toString(16);
|
|
31609
31610
|
o || (Z = Z.toUpperCase()), h += "\\u{" + Z + "}", ++Q;
|
|
@@ -31629,7 +31630,7 @@ const Py = {}, $4 = Py.hasOwnProperty, xy = (e, t) => {
|
|
|
31629
31630
|
continue;
|
|
31630
31631
|
}
|
|
31631
31632
|
}
|
|
31632
|
-
if (z == "\0" && !n && !Z4.test(
|
|
31633
|
+
if (z == "\0" && !n && !Z4.test(E.charAt(Q + 1))) {
|
|
31633
31634
|
h += "\\0";
|
|
31634
31635
|
continue;
|
|
31635
31636
|
}
|
|
@@ -31820,7 +31821,7 @@ var Cy = {};
|
|
|
31820
31821
|
(function(e) {
|
|
31821
31822
|
Object.defineProperty(e, "__esModule", {
|
|
31822
31823
|
value: !0
|
|
31823
|
-
}), e.AnyTypeAnnotation = o, e.ArrayTypeAnnotation = l, e.BooleanLiteralTypeAnnotation = u, e.BooleanTypeAnnotation = c, e.DeclareClass = f, e.DeclareExportAllDeclaration = R, e.DeclareExportDeclaration = z, e.DeclareFunction = h, e.DeclareInterface = T, e.DeclareModule = b, e.DeclareModuleExports = k, e.DeclareOpaqueType = Q, e.DeclareTypeAlias =
|
|
31824
|
+
}), e.AnyTypeAnnotation = o, e.ArrayTypeAnnotation = l, e.BooleanLiteralTypeAnnotation = u, e.BooleanTypeAnnotation = c, e.DeclareClass = f, e.DeclareExportAllDeclaration = R, e.DeclareExportDeclaration = z, e.DeclareFunction = h, e.DeclareInterface = T, e.DeclareModule = b, e.DeclareModuleExports = k, e.DeclareOpaqueType = Q, e.DeclareTypeAlias = E, e.DeclareVariable = G, e.DeclaredPredicate = m, e.EmptyTypeAnnotation = me, e.EnumBooleanBody = w, e.EnumBooleanMember = $, e.EnumDeclaration = V, e.EnumDefaultedMember = N, e.EnumNumberBody = H, e.EnumNumberMember = O, e.EnumStringBody = B, e.EnumStringMember = q, e.EnumSymbolBody = Z, e.ExistsTypeAnnotation = re, e.FunctionTypeAnnotation = ie, e.FunctionTypeParam = ne, e.IndexedAccessType = $e, e.InferredPredicate = d, e.InterfaceDeclaration = ee, e.GenericTypeAnnotation = e.ClassImplements = e.InterfaceExtends = fe, e.InterfaceTypeAnnotation = le, e.IntersectionTypeAnnotation = de, e.MixedTypeAnnotation = ue, e.NullLiteralTypeAnnotation = p, e.NullableTypeAnnotation = be, Object.defineProperty(e, "NumberLiteralTypeAnnotation", {
|
|
31824
31825
|
enumerable: !0,
|
|
31825
31826
|
get: function() {
|
|
31826
31827
|
return n.NumericLiteral;
|
|
@@ -31872,7 +31873,7 @@ var Cy = {};
|
|
|
31872
31873
|
function k(_) {
|
|
31873
31874
|
this.word("declare"), this.space(), this.word("module"), this.tokenChar(46), this.word("exports"), this.print(_.typeAnnotation, _);
|
|
31874
31875
|
}
|
|
31875
|
-
function
|
|
31876
|
+
function E(_) {
|
|
31876
31877
|
this.word("declare"), this.space(), this.TypeAlias(_);
|
|
31877
31878
|
}
|
|
31878
31879
|
function Q(_, ge) {
|
|
@@ -33127,14 +33128,14 @@ ${" ".repeat(p)}`);
|
|
|
33127
33128
|
if (l && m.loc && T === 1) {
|
|
33128
33129
|
const b = m.loc.start.line, k = m.loc.end.line;
|
|
33129
33130
|
if (t === 0) {
|
|
33130
|
-
let
|
|
33131
|
-
d === 0 ? this._buf.hasContent() && (m.type === "CommentLine" || b !== k) && (
|
|
33131
|
+
let E = 0;
|
|
33132
|
+
d === 0 ? this._buf.hasContent() && (m.type === "CommentLine" || b !== k) && (E = f = 1) : E = b - p, p = k, h(E), this._printComment(m, 1), d + 1 === o && (h(Math.max(c - p, f)), p = c);
|
|
33132
33133
|
} else if (t === 1) {
|
|
33133
|
-
const
|
|
33134
|
-
p = k, h(
|
|
33134
|
+
const E = b - (d === 0 ? c : p);
|
|
33135
|
+
p = k, h(E), this._printComment(m, 1), d + 1 === o && (h(Math.min(1, u - p)), p = u);
|
|
33135
33136
|
} else {
|
|
33136
|
-
const
|
|
33137
|
-
p = k, h(
|
|
33137
|
+
const E = b - (d === 0 ? u - s : p);
|
|
33138
|
+
p = k, h(E), this._printComment(m, 1);
|
|
33138
33139
|
}
|
|
33139
33140
|
} else {
|
|
33140
33141
|
if (l = !1, T !== 1)
|
|
@@ -33463,7 +33464,7 @@ function Ly(e, t, r) {
|
|
|
33463
33464
|
numberTypeAnnotation: T,
|
|
33464
33465
|
stringTypeAnnotation: b,
|
|
33465
33466
|
tupleTypeAnnotation: k,
|
|
33466
|
-
unionTypeAnnotation:
|
|
33467
|
+
unionTypeAnnotation: E,
|
|
33467
33468
|
voidTypeAnnotation: Q,
|
|
33468
33469
|
isIdentifier: G
|
|
33469
33470
|
} = t;
|
|
@@ -33508,7 +33509,7 @@ function Ly(e, t, r) {
|
|
|
33508
33509
|
return p();
|
|
33509
33510
|
if (Ne === "+") {
|
|
33510
33511
|
const ze = this.get("right"), at = this.get("left");
|
|
33511
|
-
return at.isBaseType("number") && ze.isBaseType("number") ? T() : at.isBaseType("string") || ze.isBaseType("string") ? b() :
|
|
33512
|
+
return at.isBaseType("number") && ze.isBaseType("number") ? T() : at.isBaseType("string") || ze.isBaseType("string") ? b() : E([b(), T()]);
|
|
33512
33513
|
}
|
|
33513
33514
|
}
|
|
33514
33515
|
function Z() {
|
|
@@ -33951,10 +33952,10 @@ function jy() {
|
|
|
33951
33952
|
var c = l[0] / 255, u = l[1] / 255, p = l[2] / 255, f = Math.min(c, u, p), h = Math.max(c, u, p), d = h - f, m, T, b;
|
|
33952
33953
|
return h === f ? m = 0 : c === h ? m = (u - p) / d : u === h ? m = 2 + (p - c) / d : p === h && (m = 4 + (c - u) / d), m = Math.min(m * 60, 360), m < 0 && (m += 360), b = (f + h) / 2, h === f ? T = 0 : b <= 0.5 ? T = d / (h + f) : T = d / (2 - h - f), [m, T * 100, b * 100];
|
|
33953
33954
|
}, i.rgb.hsv = function(l) {
|
|
33954
|
-
var c, u, p, f, h, d = l[0] / 255, m = l[1] / 255, T = l[2] / 255, b = Math.max(d, m, T), k = b - Math.min(d, m, T),
|
|
33955
|
+
var c, u, p, f, h, d = l[0] / 255, m = l[1] / 255, T = l[2] / 255, b = Math.max(d, m, T), k = b - Math.min(d, m, T), E = function(Q) {
|
|
33955
33956
|
return (b - Q) / 6 / k + 1 / 2;
|
|
33956
33957
|
};
|
|
33957
|
-
return k === 0 ? f = h = 0 : (h = k / b, c =
|
|
33958
|
+
return k === 0 ? f = h = 0 : (h = k / b, c = E(d), u = E(m), p = E(T), d === b ? f = p - u : m === b ? f = 1 / 3 + c - p : T === b && (f = 2 / 3 + u - c), f < 0 ? f += 1 : f > 1 && (f -= 1)), [
|
|
33958
33959
|
f * 360,
|
|
33959
33960
|
h * 100,
|
|
33960
33961
|
b * 100
|
|
@@ -34023,30 +34024,30 @@ function jy() {
|
|
|
34023
34024
|
}, i.hwb.rgb = function(l) {
|
|
34024
34025
|
var c = l[0] / 360, u = l[1] / 100, p = l[2] / 100, f = u + p, h, d, m, T;
|
|
34025
34026
|
f > 1 && (u /= f, p /= f), h = Math.floor(6 * c), d = 1 - p, m = 6 * c - h, h & 1 && (m = 1 - m), T = u + m * (d - u);
|
|
34026
|
-
var b, k,
|
|
34027
|
+
var b, k, E;
|
|
34027
34028
|
switch (h) {
|
|
34028
34029
|
default:
|
|
34029
34030
|
case 6:
|
|
34030
34031
|
case 0:
|
|
34031
|
-
b = d, k = T,
|
|
34032
|
+
b = d, k = T, E = u;
|
|
34032
34033
|
break;
|
|
34033
34034
|
case 1:
|
|
34034
|
-
b = T, k = d,
|
|
34035
|
+
b = T, k = d, E = u;
|
|
34035
34036
|
break;
|
|
34036
34037
|
case 2:
|
|
34037
|
-
b = u, k = d,
|
|
34038
|
+
b = u, k = d, E = T;
|
|
34038
34039
|
break;
|
|
34039
34040
|
case 3:
|
|
34040
|
-
b = u, k = T,
|
|
34041
|
+
b = u, k = T, E = d;
|
|
34041
34042
|
break;
|
|
34042
34043
|
case 4:
|
|
34043
|
-
b = T, k = u,
|
|
34044
|
+
b = T, k = u, E = d;
|
|
34044
34045
|
break;
|
|
34045
34046
|
case 5:
|
|
34046
|
-
b = d, k = u,
|
|
34047
|
+
b = d, k = u, E = T;
|
|
34047
34048
|
break;
|
|
34048
34049
|
}
|
|
34049
|
-
return [b * 255, k * 255,
|
|
34050
|
+
return [b * 255, k * 255, E * 255];
|
|
34050
34051
|
}, i.cmyk.rgb = function(l) {
|
|
34051
34052
|
var c = l[0] / 100, u = l[1] / 100, p = l[2] / 100, f = l[3] / 100, h, d, m;
|
|
34052
34053
|
return h = 1 - Math.min(1, c * (1 - f) + f), d = 1 - Math.min(1, u * (1 - f) + f), m = 1 - Math.min(1, p * (1 - f) + f), [h * 255, d * 255, m * 255];
|
|
@@ -34493,7 +34494,7 @@ function OU() {
|
|
|
34493
34494
|
return Yo = (c, u) => {
|
|
34494
34495
|
const p = [], f = [];
|
|
34495
34496
|
let h = [];
|
|
34496
|
-
if (u.replace(e, (d, m, T, b, k,
|
|
34497
|
+
if (u.replace(e, (d, m, T, b, k, E) => {
|
|
34497
34498
|
if (m)
|
|
34498
34499
|
h.push(s(m));
|
|
34499
34500
|
else if (b) {
|
|
@@ -34504,7 +34505,7 @@ function OU() {
|
|
|
34504
34505
|
throw new Error("Found extraneous } in Chalk template literal");
|
|
34505
34506
|
f.push(l(c, p)(h.join(""))), h = [], p.pop();
|
|
34506
34507
|
} else
|
|
34507
|
-
h.push(
|
|
34508
|
+
h.push(E);
|
|
34508
34509
|
}), f.push(h.join("")), p.length > 0) {
|
|
34509
34510
|
const d = `Chalk template literal is missing ${p.length} closing bracket${p.length === 1 ? "" : "s"} (\`}\`)`;
|
|
34510
34511
|
throw new Error(d);
|
|
@@ -34567,12 +34568,12 @@ function NU() {
|
|
|
34567
34568
|
get() {
|
|
34568
34569
|
const b = this.level;
|
|
34569
34570
|
return function() {
|
|
34570
|
-
const
|
|
34571
|
+
const E = {
|
|
34571
34572
|
open: r.bgColor[a[b]][m].apply(null, arguments),
|
|
34572
34573
|
close: r.bgColor.close,
|
|
34573
34574
|
closeRe: r.bgColor.closeRe
|
|
34574
34575
|
};
|
|
34575
|
-
return f.call(this, this._styles ? this._styles.concat(
|
|
34576
|
+
return f.call(this, this._styles ? this._styles.concat(E) : [E], this._empty, m);
|
|
34576
34577
|
};
|
|
34577
34578
|
}
|
|
34578
34579
|
};
|
|
@@ -34584,22 +34585,22 @@ function NU() {
|
|
|
34584
34585
|
return h.apply(k, arguments);
|
|
34585
34586
|
};
|
|
34586
34587
|
k._styles = m, k._empty = T;
|
|
34587
|
-
const
|
|
34588
|
+
const E = this;
|
|
34588
34589
|
return Object.defineProperty(k, "level", {
|
|
34589
34590
|
enumerable: !0,
|
|
34590
34591
|
get() {
|
|
34591
|
-
return
|
|
34592
|
+
return E.level;
|
|
34592
34593
|
},
|
|
34593
34594
|
set(Q) {
|
|
34594
|
-
|
|
34595
|
+
E.level = Q;
|
|
34595
34596
|
}
|
|
34596
34597
|
}), Object.defineProperty(k, "enabled", {
|
|
34597
34598
|
enumerable: !0,
|
|
34598
34599
|
get() {
|
|
34599
|
-
return
|
|
34600
|
+
return E.enabled;
|
|
34600
34601
|
},
|
|
34601
34602
|
set(Q) {
|
|
34602
|
-
|
|
34603
|
+
E.enabled = Q;
|
|
34603
34604
|
}
|
|
34604
34605
|
}), k.hasGrey = this.hasGrey || b === "gray" || b === "grey", k.__proto__ = p, k;
|
|
34605
34606
|
}
|
|
@@ -34609,22 +34610,22 @@ function NU() {
|
|
|
34609
34610
|
if (T === 0)
|
|
34610
34611
|
return "";
|
|
34611
34612
|
if (T > 1)
|
|
34612
|
-
for (let
|
|
34613
|
-
b += " " + m[
|
|
34613
|
+
for (let E = 1; E < T; E++)
|
|
34614
|
+
b += " " + m[E];
|
|
34614
34615
|
if (!this.enabled || this.level <= 0 || !b)
|
|
34615
34616
|
return this._empty ? "" : b;
|
|
34616
34617
|
const k = r.dim.open;
|
|
34617
34618
|
s && this.hasGrey && (r.dim.open = "");
|
|
34618
|
-
for (const
|
|
34619
|
-
b =
|
|
34619
|
+
for (const E of this._styles.slice().reverse())
|
|
34620
|
+
b = E.open + b.replace(E.closeRe, E.open) + E.close, b = b.replace(/\r?\n/g, `${E.close}$&${E.open}`);
|
|
34620
34621
|
return r.dim.open = k, b;
|
|
34621
34622
|
}
|
|
34622
34623
|
function d(m, T) {
|
|
34623
34624
|
if (!Array.isArray(T))
|
|
34624
34625
|
return [].slice.call(arguments, 1).join(" ");
|
|
34625
34626
|
const b = [].slice.call(arguments, 2), k = [T.raw[0]];
|
|
34626
|
-
for (let
|
|
34627
|
-
k.push(String(b[
|
|
34627
|
+
for (let E = 1; E < T.length; E++)
|
|
34628
|
+
k.push(String(b[E - 1]).replace(/[{}\\]/g, "\\$&")), k.push(String(T.raw[E]));
|
|
34628
34629
|
return n(m, k.join(""));
|
|
34629
34630
|
}
|
|
34630
34631
|
Object.defineProperties(u.prototype, l), e.exports = u(), e.exports.supportsColor = i, e.exports.default = e.exports;
|
|
@@ -34822,17 +34823,17 @@ function Wy(e, t, r = {}) {
|
|
|
34822
34823
|
markerLines: u
|
|
34823
34824
|
} = qU(t, o, r), p = t.start && typeof t.start.column == "number", f = String(c).length;
|
|
34824
34825
|
let d = (i ? (0, Ch.default)(e, r) : e).split(_h, c).slice(l, c).map((m, T) => {
|
|
34825
|
-
const b = l + 1 + T,
|
|
34826
|
+
const b = l + 1 + T, E = ` ${` ${b}`.slice(-f)} |`, Q = u[b], G = !u[b + 1];
|
|
34826
34827
|
if (Q) {
|
|
34827
34828
|
let z = "";
|
|
34828
34829
|
if (Array.isArray(Q)) {
|
|
34829
34830
|
const R = m.slice(0, Math.max(Q[0] - 1, 0)).replace(/[^\t]/g, " "), V = Q[1] || 1;
|
|
34830
34831
|
z = [`
|
|
34831
|
-
`, a(s.gutter,
|
|
34832
|
+
`, a(s.gutter, E.replace(/\d/g, " ")), " ", R, a(s.marker, "^").repeat(V)].join(""), G && r.message && (z += " " + a(s.message, r.message));
|
|
34832
34833
|
}
|
|
34833
|
-
return [a(s.marker, ">"), a(s.gutter,
|
|
34834
|
+
return [a(s.marker, ">"), a(s.gutter, E), m.length > 0 ? ` ${m}` : "", z].join("");
|
|
34834
34835
|
} else
|
|
34835
|
-
return ` ${a(s.gutter,
|
|
34836
|
+
return ` ${a(s.gutter, E)}${m.length > 0 ? ` ${m}` : ""}`;
|
|
34836
34837
|
}).join(`
|
|
34837
34838
|
`);
|
|
34838
34839
|
return r.message && !p && (d = `${" ".repeat(f + 1)}${r.message}
|
|
@@ -35060,7 +35061,7 @@ function Gy() {
|
|
|
35060
35061
|
isExpression: T,
|
|
35061
35062
|
isIdentifier: b,
|
|
35062
35063
|
isSequenceExpression: k,
|
|
35063
|
-
isSuper:
|
|
35064
|
+
isSuper: E,
|
|
35064
35065
|
thisExpression: Q
|
|
35065
35066
|
} = s;
|
|
35066
35067
|
function G(O) {
|
|
@@ -35134,7 +35135,7 @@ function Gy() {
|
|
|
35134
35135
|
return o(ne), ie.replaceWith(u(a([], ne), [])), ie.get("callee.body").insertAfter(q), [ie];
|
|
35135
35136
|
if (U(ie))
|
|
35136
35137
|
q.unshift(ne);
|
|
35137
|
-
else if (d(ne) &&
|
|
35138
|
+
else if (d(ne) && E(ne.callee))
|
|
35138
35139
|
q.unshift(ne), q.push(Q());
|
|
35139
35140
|
else if (w(ne, fe))
|
|
35140
35141
|
q.unshift(ne), q.push(p(ne.left));
|
|
@@ -35227,7 +35228,7 @@ function Yy() {
|
|
|
35227
35228
|
expressionStatement: T,
|
|
35228
35229
|
getBindingIdentifiers: b,
|
|
35229
35230
|
identifier: k,
|
|
35230
|
-
inheritLeadingComments:
|
|
35231
|
+
inheritLeadingComments: E,
|
|
35231
35232
|
inheritTrailingComments: Q,
|
|
35232
35233
|
inheritsComments: G,
|
|
35233
35234
|
isBlockStatement: z,
|
|
@@ -35246,7 +35247,7 @@ function Yy() {
|
|
|
35246
35247
|
} = a;
|
|
35247
35248
|
function q(K) {
|
|
35248
35249
|
var ee;
|
|
35249
|
-
this.resync(), K = n._verifyNodeList.call(this, K),
|
|
35250
|
+
this.resync(), K = n._verifyNodeList.call(this, K), E(K[0], this.node), Q(K[K.length - 1], this.node), (ee = (0, i.getCachedPaths)(this.hub, this.parent)) == null || ee.delete(this.node), this.node = this.container[this.key] = null;
|
|
35250
35251
|
const Se = this.insertAfter(K);
|
|
35251
35252
|
return this.node ? this.requeue() : this.remove(), Se;
|
|
35252
35253
|
}
|
|
@@ -36113,7 +36114,7 @@ function eV() {
|
|
|
36113
36114
|
metaProperty: T,
|
|
36114
36115
|
numericLiteral: b,
|
|
36115
36116
|
objectExpression: k,
|
|
36116
|
-
restElement:
|
|
36117
|
+
restElement: E,
|
|
36117
36118
|
returnStatement: Q,
|
|
36118
36119
|
sequenceExpression: G,
|
|
36119
36120
|
spreadElement: z,
|
|
@@ -36338,7 +36339,7 @@ function eV() {
|
|
|
36338
36339
|
function Oe(L) {
|
|
36339
36340
|
return Ne(L, "supercall", () => {
|
|
36340
36341
|
const D = L.scope.generateUidIdentifier("args");
|
|
36341
|
-
return i([
|
|
36342
|
+
return i([E(D)], o(V(), [z(u(D.name))]));
|
|
36342
36343
|
});
|
|
36343
36344
|
}
|
|
36344
36345
|
function Ae(L, D, y) {
|
|
@@ -36822,7 +36823,7 @@ function _V() {
|
|
|
36822
36823
|
if (Gh) return mt;
|
|
36823
36824
|
Gh = 1, Object.defineProperty(mt, "__esModule", {
|
|
36824
36825
|
value: !0
|
|
36825
|
-
}), mt._getKey = W, mt._getPattern = U, mt.get = V, mt.getAllNextSiblings = z, mt.getAllPrevSiblings = R, mt.getAssignmentIdentifiers = w, mt.getBindingIdentifierPaths = Z, mt.getBindingIdentifiers = H, mt.getCompletionRecords = k, mt.getNextSibling = G, mt.getOpposite = p, mt.getOuterBindingIdentifierPaths = N, mt.getOuterBindingIdentifiers = B, mt.getPrevSibling = Q, mt.getSibling =
|
|
36826
|
+
}), mt._getKey = W, mt._getPattern = U, mt.get = V, mt.getAllNextSiblings = z, mt.getAllPrevSiblings = R, mt.getAssignmentIdentifiers = w, mt.getBindingIdentifierPaths = Z, mt.getBindingIdentifiers = H, mt.getCompletionRecords = k, mt.getNextSibling = G, mt.getOpposite = p, mt.getOuterBindingIdentifierPaths = N, mt.getOuterBindingIdentifiers = B, mt.getPrevSibling = Q, mt.getSibling = E;
|
|
36826
36827
|
var e = ti(), t = Le();
|
|
36827
36828
|
const {
|
|
36828
36829
|
getAssignmentIdentifiers: r,
|
|
@@ -36943,7 +36944,7 @@ function _V() {
|
|
|
36943
36944
|
inCaseClause: !1
|
|
36944
36945
|
}).map(($) => $.path);
|
|
36945
36946
|
}
|
|
36946
|
-
function
|
|
36947
|
+
function E(C) {
|
|
36947
36948
|
return e.default.get({
|
|
36948
36949
|
parentPath: this.parentPath,
|
|
36949
36950
|
parent: this.parent,
|
|
@@ -37081,7 +37082,7 @@ function ti() {
|
|
|
37081
37082
|
Xh = 1, Object.defineProperty(Ut, "__esModule", {
|
|
37082
37083
|
value: !0
|
|
37083
37084
|
}), Ut.default = Ut.SHOULD_STOP = Ut.SHOULD_SKIP = Ut.REMOVED = void 0;
|
|
37084
|
-
var e = Fe, t = Nw, r = Wa(), i = fy(), n = Le(), s = n, a = gt, o = Na, l = $t, c = Mr, u = Yy(), p = Ua, f = eV(), h = lt, d = kn(), m = xc(), T = Gy(), b = _V(), k = Dn,
|
|
37085
|
+
var e = Fe, t = Nw, r = Wa(), i = fy(), n = Le(), s = n, a = gt, o = Na, l = $t, c = Mr, u = Yy(), p = Ua, f = eV(), h = lt, d = kn(), m = xc(), T = Gy(), b = _V(), k = Dn, E = ft;
|
|
37085
37086
|
const {
|
|
37086
37087
|
validate: Q
|
|
37087
37088
|
} = n, G = t("babel");
|
|
@@ -37287,7 +37288,7 @@ function ti() {
|
|
|
37287
37288
|
throw new TypeError(`Expected node path of type ${V}`);
|
|
37288
37289
|
};
|
|
37289
37290
|
}
|
|
37290
|
-
Object.assign(z.prototype,
|
|
37291
|
+
Object.assign(z.prototype, E);
|
|
37291
37292
|
for (const V of Object.keys(e))
|
|
37292
37293
|
V[0] !== "_" && (s.TYPES.includes(V) || s.TYPES.push(V));
|
|
37293
37294
|
return Ut;
|
|
@@ -37398,7 +37399,7 @@ function kn() {
|
|
|
37398
37399
|
if (Qh) return Ze;
|
|
37399
37400
|
Qh = 1, Object.defineProperty(Ze, "__esModule", {
|
|
37400
37401
|
value: !0
|
|
37401
|
-
}), Ze._call = s, Ze._getQueueContexts = W, Ze._resyncKey = T, Ze._resyncList = b, Ze._resyncParent = m, Ze._resyncRemoved = k, Ze.call = n, Ze.isBlacklisted = Ze.isDenylisted = a, Ze.popContext =
|
|
37402
|
+
}), Ze._call = s, Ze._getQueueContexts = W, Ze._resyncKey = T, Ze._resyncList = b, Ze._resyncParent = m, Ze._resyncRemoved = k, Ze.call = n, Ze.isBlacklisted = Ze.isDenylisted = a, Ze.popContext = E, Ze.pushContext = Q, Ze.requeue = R, Ze.requeueComputedKeyAndDecorators = V, Ze.resync = d, Ze.setContext = h, Ze.setKey = z, Ze.setScope = f, Ze.setup = G, Ze.skip = c, Ze.skipKey = u, Ze.stop = p, Ze.visit = l;
|
|
37402
37403
|
var e = _c(), t = ti(), r = xc(), i = Le();
|
|
37403
37404
|
function n(U) {
|
|
37404
37405
|
const w = this.opts;
|
|
@@ -37496,7 +37497,7 @@ function kn() {
|
|
|
37496
37497
|
function k() {
|
|
37497
37498
|
(this.key == null || !this.container || this.container[this.key] !== this.node) && r._markRemoved.call(this);
|
|
37498
37499
|
}
|
|
37499
|
-
function
|
|
37500
|
+
function E() {
|
|
37500
37501
|
this.contexts.pop(), this.contexts.length > 0 ? this.setContext(this.contexts[this.contexts.length - 1]) : this.setContext(void 0);
|
|
37501
37502
|
}
|
|
37502
37503
|
function Q(U) {
|
|
@@ -37716,11 +37717,11 @@ function VV({
|
|
|
37716
37717
|
// path1, path2
|
|
37717
37718
|
]
|
|
37718
37719
|
};
|
|
37719
|
-
const k = [],
|
|
37720
|
-
if (
|
|
37721
|
-
if (
|
|
37720
|
+
const k = [], E = i.find((G) => G.callName === b || G.callNameTester && G.callNameTester(b));
|
|
37721
|
+
if (E) {
|
|
37722
|
+
if (E != null && E.isPureClient)
|
|
37722
37723
|
return;
|
|
37723
|
-
(b ===
|
|
37724
|
+
(b === E.callName || E.callNameTester && E.callNameTester(b)) && ((m = E.staticParams) == null || m.forEach((G) => {
|
|
37724
37725
|
var R, V, W, U, w;
|
|
37725
37726
|
const z = (w = (U = (W = (V = (R = o.get("arguments")) == null ? void 0 : R[0]) == null ? void 0 : V.get) == null ? void 0 : W.call(V, "properties")) == null ? void 0 : U.find) == null ? void 0 : w.call(U, (H) => H.node.key.name === G);
|
|
37726
37727
|
if (z) {
|
|
@@ -37735,7 +37736,7 @@ function VV({
|
|
|
37735
37736
|
}
|
|
37736
37737
|
}), o.stateInfo.statics[G] = z, $l(H, o.scope, o.stateInfo.deps, G);
|
|
37737
37738
|
}
|
|
37738
|
-
}), (T =
|
|
37739
|
+
}), (T = E.namedParams) == null || T.forEach((G) => {
|
|
37739
37740
|
var R, V, W, U, w, H, B;
|
|
37740
37741
|
const z = (B = (H = (w = (U = (W = (V = (R = o.get("arguments")) == null ? void 0 : R[0]) == null ? void 0 : V.get) == null ? void 0 : W.call(V, "properties")) == null ? void 0 : U.find) == null ? void 0 : w.call(U, (Z) => Z.node.key.name === G)) == null ? void 0 : H.get) == null ? void 0 : B.call(H, "value");
|
|
37741
37742
|
z && (o.stateInfo.namedParams.push({
|
|
@@ -37798,7 +37799,7 @@ function KV({ filename: e, code: t, alias: r = "s", moduleName: i = "soonjs/auto
|
|
|
37798
37799
|
let s = t;
|
|
37799
37800
|
const a = [];
|
|
37800
37801
|
return n.calls.reverse().forEach((o, l) => {
|
|
37801
|
-
var b, k,
|
|
37802
|
+
var b, k, E, Q;
|
|
37802
37803
|
const c = o.stateInfo, u = fb("md5").update(`${e}_${c.callName}_${l}`).digest("base64url"), p = c.namedParams.map((G) => dt.objectProperty(dt.identifier(G.key), G.path.node)), f = c.bindings.map((G) => dt.objectProperty(dt.identifier(G.name), dt.identifier(G.name))), h = dt.callExpression(dt.memberExpression(dt.identifier(r), dt.identifier("_auto")), [
|
|
37803
37804
|
dt.stringLiteral("_auto/" + u),
|
|
37804
37805
|
dt.objectExpression([...p, dt.objectProperty(dt.identifier("___auto_state___"), dt.objectExpression(f))])
|
|
@@ -37810,7 +37811,7 @@ function KV({ filename: e, code: t, alias: r = "s", moduleName: i = "soonjs/auto
|
|
|
37810
37811
|
var R, V, W;
|
|
37811
37812
|
return G[z] = (W = (V = (R = c.statics[z]) == null ? void 0 : R.get("value")) == null ? void 0 : V.toString) == null ? void 0 : W.call(V), G;
|
|
37812
37813
|
}, {});
|
|
37813
|
-
if ((Q = (
|
|
37814
|
+
if ((Q = (E = (k = o.get("arguments")) == null ? void 0 : k[0]) == null ? void 0 : E.get) == null || Q.call(E, "properties").forEach((G) => {
|
|
37814
37815
|
var z, R;
|
|
37815
37816
|
(c.namedParams.some((V) => {
|
|
37816
37817
|
var W, U;
|
|
@@ -37940,7 +37941,8 @@ const api = async(path,body,options={})=>{
|
|
|
37940
37941
|
method: options.method ?? soonConfigStorage.defaultMethod,
|
|
37941
37942
|
body: options.body ?? body,
|
|
37942
37943
|
url: soonConfigStorage.baseUrl + (options.url ?? path),
|
|
37943
|
-
query: options.query
|
|
37944
|
+
query: options.query,
|
|
37945
|
+
extra: options.extra ?? {}
|
|
37944
37946
|
});
|
|
37945
37947
|
};
|
|
37946
37948
|
|
|
@@ -38104,8 +38106,8 @@ class WV {
|
|
|
38104
38106
|
d = l.bodySchema.parse(o.body);
|
|
38105
38107
|
} catch (k) {
|
|
38106
38108
|
c.status = 400;
|
|
38107
|
-
const
|
|
38108
|
-
throw
|
|
38109
|
+
const E = (b = k == null ? void 0 : k.issues) == null ? void 0 : b[0];
|
|
38110
|
+
throw E && (E.message = (E.path ?? []).join(".") + " " + E.message), E ? { ...E, code: 0 } : new Error("参数错误");
|
|
38109
38111
|
}
|
|
38110
38112
|
else
|
|
38111
38113
|
throw c.status = 500, new Error("bodySchema must be ZodType");
|