create-vuetify 3.0.13-beta-next.9 → 3.0.14-beta-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +638 -625
- package/dist/{prompt-DZcM14ws.mjs → prompt-C6GjoyNB.mjs} +45 -45
- package/package.json +7 -2
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import g$1, { stdin, stdout } from "node:process";
|
|
|
8
8
|
import * as tty$2 from "node:tty";
|
|
9
9
|
import { ReadStream } from "node:tty";
|
|
10
10
|
import * as k$2 from "node:readline";
|
|
11
|
-
import
|
|
11
|
+
import f from "node:readline";
|
|
12
12
|
import fs, { appendFileSync, cpSync, createWriteStream, existsSync, lstatSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
13
13
|
import fs$1, { constants, mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
14
14
|
import { findPackage, readPackage, readPackageJSON, updatePackage, writePackageJSON } from "pkg-types";
|
|
@@ -22,7 +22,7 @@ import { URL as URL$1, fileURLToPath, pathToFileURL } from "node:url";
|
|
|
22
22
|
import Ds from "crypto";
|
|
23
23
|
import { detect, getUserAgent } from "package-manager-detector";
|
|
24
24
|
import validate from "validate-npm-package-name";
|
|
25
|
-
import ot
|
|
25
|
+
import ot from "stream";
|
|
26
26
|
import ht from "string_decoder";
|
|
27
27
|
import P from "buffer";
|
|
28
28
|
import O$2 from "zlib";
|
|
@@ -998,7 +998,7 @@ var o$7 = class {
|
|
|
998
998
|
}
|
|
999
999
|
};
|
|
1000
1000
|
const u$8 = new l$3();
|
|
1001
|
-
var f$
|
|
1001
|
+
var f$6 = u$8;
|
|
1002
1002
|
|
|
1003
1003
|
//#endregion
|
|
1004
1004
|
//#region ../../node_modules/.pnpm/@bomb.sh+tab@0.0.11_cac@6.7.14_citty@0.1.6/node_modules/@bomb.sh/tab/dist/shared-BE1U9MBi.js
|
|
@@ -1666,7 +1666,7 @@ const r$3 = Object.create(null), i$9 = (e$10) => globalThis.process?.env || impo
|
|
|
1666
1666
|
const e$10 = i$9(true);
|
|
1667
1667
|
return Object.keys(e$10);
|
|
1668
1668
|
}
|
|
1669
|
-
}), t$13 = typeof process < "u" && process.env && process.env.NODE_ENV || "", f$
|
|
1669
|
+
}), t$13 = typeof process < "u" && process.env && process.env.NODE_ENV || "", f$8 = [
|
|
1670
1670
|
["APPVEYOR"],
|
|
1671
1671
|
[
|
|
1672
1672
|
"AWS_AMPLIFY",
|
|
@@ -1758,7 +1758,7 @@ const r$3 = Object.create(null), i$9 = (e$10) => globalThis.process?.env || impo
|
|
|
1758
1758
|
]
|
|
1759
1759
|
];
|
|
1760
1760
|
function b$1() {
|
|
1761
|
-
if (globalThis.process?.env) for (const e$10 of f$
|
|
1761
|
+
if (globalThis.process?.env) for (const e$10 of f$8) {
|
|
1762
1762
|
const s$12 = e$10[1] || e$10[0];
|
|
1763
1763
|
if (globalThis.process?.env[s$12]) return {
|
|
1764
1764
|
name: e$10[0].toLowerCase(),
|
|
@@ -1948,7 +1948,7 @@ function createConsola$1(options$1 = {}) {
|
|
|
1948
1948
|
defaults: { level },
|
|
1949
1949
|
stdout: process.stdout,
|
|
1950
1950
|
stderr: process.stderr,
|
|
1951
|
-
prompt: (...args$2) => import("./prompt-
|
|
1951
|
+
prompt: (...args$2) => import("./prompt-C6GjoyNB.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
1952
1952
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$3 || R$4) ? new FancyReporter() : new BasicReporter()],
|
|
1953
1953
|
...options$1
|
|
1954
1954
|
});
|
|
@@ -2339,7 +2339,7 @@ async function l$1(e$10) {
|
|
|
2339
2339
|
function u$6(e$10) {
|
|
2340
2340
|
return e$10.includes(` `) ? `'${e$10}'` : e$10;
|
|
2341
2341
|
}
|
|
2342
|
-
const d$3 = process.execPath, f$
|
|
2342
|
+
const d$3 = process.execPath, f$7 = process.argv.slice(1), p$2 = u$6(d$3), m$4 = f$7.map(u$6), h$3 = `${p$2} ${process.execArgv.map(u$6).join(` `)} ${m$4[0]}`;
|
|
2343
2343
|
function g$2(e$10) {
|
|
2344
2344
|
return e$10.args && Object.values(e$10.args).some((e$11) => e$11.type === `positional`);
|
|
2345
2345
|
}
|
|
@@ -2347,7 +2347,7 @@ async function _$2(e$10, t$14, n$6) {
|
|
|
2347
2347
|
for (let [i$10, a$14] of Object.entries(e$10)) {
|
|
2348
2348
|
let e$11 = await y$5(a$14), o$8 = await y$5(e$11.meta), s$12 = await y$5(e$11.subCommands), c$9 = n$6?.[i$10];
|
|
2349
2349
|
if (!o$8 || typeof o$8?.description != `string`) throw Error(`Invalid meta or missing description.`);
|
|
2350
|
-
let l$4 = g$2(e$11), u$9 = t$14 ? `${t$14} ${i$10}` : i$10, d$4 = f$
|
|
2350
|
+
let l$4 = g$2(e$11), u$9 = t$14 ? `${t$14} ${i$10}` : i$10, d$4 = f$6.command(u$9, o$8.description);
|
|
2351
2351
|
if (l$4 && e$11.args) for (let [t$15, n$7] of Object.entries(e$11.args)) {
|
|
2352
2352
|
let e$12 = n$7;
|
|
2353
2353
|
if (e$12.type === `positional`) {
|
|
@@ -2366,17 +2366,17 @@ async function v(s$12, c$9) {
|
|
|
2366
2366
|
if (!u$9) throw Error(`Invalid meta.`);
|
|
2367
2367
|
let d$4 = u$9.name;
|
|
2368
2368
|
if (!d$4) throw Error(`Invalid meta or missing name.`);
|
|
2369
|
-
let f$
|
|
2369
|
+
let f$9 = await y$5(s$12.subCommands);
|
|
2370
2370
|
if (g$2(s$12) && s$12.args) for (let [e$10, t$14] of Object.entries(s$12.args)) {
|
|
2371
2371
|
let n$6 = t$14;
|
|
2372
2372
|
if (n$6.type === `positional`) {
|
|
2373
2373
|
let t$15 = n$6.required === !1, i$10 = c$9?.args?.[e$10];
|
|
2374
|
-
i$10 ? f$
|
|
2374
|
+
i$10 ? f$6.argument(e$10, i$10, t$15) : f$6.argument(e$10, void 0, t$15);
|
|
2375
2375
|
}
|
|
2376
2376
|
}
|
|
2377
|
-
if (f$
|
|
2377
|
+
if (f$9 && await _$2(f$9, void 0, c$9?.subCommands), s$12.args) for (let [e$10, t$14] of Object.entries(s$12.args)) {
|
|
2378
2378
|
let n$6 = t$14, i$10 = typeof n$6 == `object` && `alias` in n$6 ? Array.isArray(n$6.alias) ? n$6.alias[0] : n$6.alias : void 0, a$14 = c$9?.options?.[e$10];
|
|
2379
|
-
a$14 ? i$10 ? f$
|
|
2379
|
+
a$14 ? i$10 ? f$6.option(e$10, n$6.description ?? ``, a$14, i$10) : f$6.option(e$10, n$6.description ?? ``, a$14) : i$10 ? f$6.option(e$10, n$6.description ?? ``, i$10) : f$6.option(e$10, n$6.description ?? ``);
|
|
2380
2380
|
}
|
|
2381
2381
|
let p$3 = defineCommand({
|
|
2382
2382
|
meta: {
|
|
@@ -2419,12 +2419,12 @@ async function v(s$12, c$9) {
|
|
|
2419
2419
|
default: {
|
|
2420
2420
|
e$9(d$4);
|
|
2421
2421
|
let e$10 = o$8.rawArgs.slice(o$8.rawArgs.indexOf(`--`) + 1);
|
|
2422
|
-
return f$
|
|
2422
|
+
return f$6.parse(e$10);
|
|
2423
2423
|
}
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
});
|
|
2427
|
-
return f$
|
|
2427
|
+
return f$9 ? f$9.complete = p$3 : s$12.subCommands = { complete: p$3 }, f$6;
|
|
2428
2428
|
}
|
|
2429
2429
|
async function y$5(e$10) {
|
|
2430
2430
|
return e$10 instanceof Function ? await e$10() : await e$10;
|
|
@@ -5533,7 +5533,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5533
5533
|
return n$6 == 1 && v0 ? "one" : "other";
|
|
5534
5534
|
};
|
|
5535
5535
|
const e$8 = (n$6, ord) => "other";
|
|
5536
|
-
const f$
|
|
5536
|
+
const f$5 = (n$6, ord) => {
|
|
5537
5537
|
if (ord) return "other";
|
|
5538
5538
|
return n$6 == 1 ? "one" : n$6 == 2 ? "two" : "other";
|
|
5539
5539
|
};
|
|
@@ -5596,7 +5596,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5596
5596
|
},
|
|
5597
5597
|
brx: a$11,
|
|
5598
5598
|
bs: (n$6, ord) => {
|
|
5599
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5599
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), i100 = i$10.slice(-2), f10 = f$9.slice(-1), f100 = f$9.slice(-2);
|
|
5600
5600
|
if (ord) return "other";
|
|
5601
5601
|
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? "one" : v0 && i10 >= 2 && i10 <= 4 && (i100 < 12 || i100 > 14) || f10 >= 2 && f10 <= 4 && (f100 < 12 || f100 > 14) ? "few" : "other";
|
|
5602
5602
|
},
|
|
@@ -5607,7 +5607,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5607
5607
|
},
|
|
5608
5608
|
ce: a$11,
|
|
5609
5609
|
ceb: (n$6, ord) => {
|
|
5610
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5610
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), f10 = f$9.slice(-1);
|
|
5611
5611
|
if (ord) return "other";
|
|
5612
5612
|
return v0 && (i$10 == 1 || i$10 == 2 || i$10 == 3) || v0 && i10 != 4 && i10 != 6 && i10 != 9 || !v0 && f10 != 4 && f10 != 6 && f10 != 9 ? "one" : "other";
|
|
5613
5613
|
},
|
|
@@ -5631,7 +5631,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5631
5631
|
de: d$2,
|
|
5632
5632
|
doi: c$5,
|
|
5633
5633
|
dsb: (n$6, ord) => {
|
|
5634
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5634
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i100 = i$10.slice(-2), f100 = f$9.slice(-2);
|
|
5635
5635
|
if (ord) return "other";
|
|
5636
5636
|
return v0 && i100 == 1 || f100 == 1 ? "one" : v0 && i100 == 2 || f100 == 2 ? "two" : v0 && (i100 == 3 || i100 == 4) || f100 == 3 || f100 == 4 ? "few" : "other";
|
|
5637
5637
|
},
|
|
@@ -5659,7 +5659,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5659
5659
|
},
|
|
5660
5660
|
fi: d$2,
|
|
5661
5661
|
fil: (n$6, ord) => {
|
|
5662
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5662
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), f10 = f$9.slice(-1);
|
|
5663
5663
|
if (ord) return n$6 == 1 ? "one" : "other";
|
|
5664
5664
|
return v0 && (i$10 == 1 || i$10 == 2 || i$10 == 3) || v0 && i10 != 4 && i10 != 6 && i10 != 9 || !v0 && f10 != 4 && f10 != 6 && f10 != 9 ? "one" : "other";
|
|
5665
5665
|
},
|
|
@@ -5706,12 +5706,12 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5706
5706
|
},
|
|
5707
5707
|
hnj: e$8,
|
|
5708
5708
|
hr: (n$6, ord) => {
|
|
5709
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5709
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), i100 = i$10.slice(-2), f10 = f$9.slice(-1), f100 = f$9.slice(-2);
|
|
5710
5710
|
if (ord) return "other";
|
|
5711
5711
|
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? "one" : v0 && i10 >= 2 && i10 <= 4 && (i100 < 12 || i100 > 14) || f10 >= 2 && f10 <= 4 && (f100 < 12 || f100 > 14) ? "few" : "other";
|
|
5712
5712
|
},
|
|
5713
5713
|
hsb: (n$6, ord) => {
|
|
5714
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5714
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i100 = i$10.slice(-2), f100 = f$9.slice(-2);
|
|
5715
5715
|
if (ord) return "other";
|
|
5716
5716
|
return v0 && i100 == 1 || f100 == 1 ? "one" : v0 && i100 == 2 || f100 == 2 ? "two" : v0 && (i100 == 3 || i100 == 4) || f100 == 3 || f100 == 4 ? "few" : "other";
|
|
5717
5717
|
},
|
|
@@ -5738,7 +5738,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5738
5738
|
if (ord) return n$6 == 11 || n$6 == 8 || n$6 == 80 || n$6 == 800 ? "many" : "other";
|
|
5739
5739
|
return n$6 == 1 && v0 ? "one" : i$10 != 0 && i1000000 == 0 && v0 ? "many" : "other";
|
|
5740
5740
|
},
|
|
5741
|
-
iu: f$
|
|
5741
|
+
iu: f$5,
|
|
5742
5742
|
ja: e$8,
|
|
5743
5743
|
jbo: e$8,
|
|
5744
5744
|
jgo: a$11,
|
|
@@ -5800,12 +5800,12 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5800
5800
|
return "other";
|
|
5801
5801
|
},
|
|
5802
5802
|
lt: (n$6, ord) => {
|
|
5803
|
-
const s$12 = String(n$6).split("."), f$
|
|
5803
|
+
const s$12 = String(n$6).split("."), f$9 = s$12[1] || "", t0 = Number(s$12[0]) == n$6, n10 = t0 && s$12[0].slice(-1), n100 = t0 && s$12[0].slice(-2);
|
|
5804
5804
|
if (ord) return "other";
|
|
5805
|
-
return n10 == 1 && (n100 < 11 || n100 > 19) ? "one" : n10 >= 2 && n10 <= 9 && (n100 < 11 || n100 > 19) ? "few" : f$
|
|
5805
|
+
return n10 == 1 && (n100 < 11 || n100 > 19) ? "one" : n10 >= 2 && n10 <= 9 && (n100 < 11 || n100 > 19) ? "few" : f$9 != 0 ? "many" : "other";
|
|
5806
5806
|
},
|
|
5807
5807
|
lv: (n$6, ord) => {
|
|
5808
|
-
const s$12 = String(n$6).split("."), f$
|
|
5808
|
+
const s$12 = String(n$6).split("."), f$9 = s$12[1] || "", v$3 = f$9.length, t0 = Number(s$12[0]) == n$6, n10 = t0 && s$12[0].slice(-1), n100 = t0 && s$12[0].slice(-2), f100 = f$9.slice(-2), f10 = f$9.slice(-1);
|
|
5809
5809
|
if (ord) return "other";
|
|
5810
5810
|
return t0 && n10 == 0 || n100 >= 11 && n100 <= 19 || v$3 == 2 && f100 >= 11 && f100 <= 19 ? "zero" : n10 == 1 && n100 != 11 || v$3 == 2 && f10 == 1 && f100 != 11 || v$3 != 2 && f10 == 1 ? "one" : "other";
|
|
5811
5811
|
},
|
|
@@ -5813,7 +5813,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5813
5813
|
mg: b,
|
|
5814
5814
|
mgo: a$11,
|
|
5815
5815
|
mk: (n$6, ord) => {
|
|
5816
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5816
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), i100 = i$10.slice(-2), f10 = f$9.slice(-1), f100 = f$9.slice(-2);
|
|
5817
5817
|
if (ord) return i10 == 1 && i100 != 11 ? "one" : i10 == 2 && i100 != 12 ? "two" : (i10 == 7 || i10 == 8) && i100 != 17 && i100 != 18 ? "many" : "other";
|
|
5818
5818
|
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? "one" : "other";
|
|
5819
5819
|
},
|
|
@@ -5839,7 +5839,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5839
5839
|
},
|
|
5840
5840
|
my: e$8,
|
|
5841
5841
|
nah: a$11,
|
|
5842
|
-
naq: f$
|
|
5842
|
+
naq: f$5,
|
|
5843
5843
|
nb: a$11,
|
|
5844
5844
|
nd: a$11,
|
|
5845
5845
|
ne: (n$6, ord) => {
|
|
@@ -5873,7 +5873,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5873
5873
|
return n$6 == 1 && v0 ? "one" : v0 && i10 >= 2 && i10 <= 4 && (i100 < 12 || i100 > 14) ? "few" : v0 && i$10 != 1 && (i10 == 0 || i10 == 1) || v0 && i10 >= 5 && i10 <= 9 || v0 && i100 >= 12 && i100 <= 14 ? "many" : "other";
|
|
5874
5874
|
},
|
|
5875
5875
|
prg: (n$6, ord) => {
|
|
5876
|
-
const s$12 = String(n$6).split("."), f$
|
|
5876
|
+
const s$12 = String(n$6).split("."), f$9 = s$12[1] || "", v$3 = f$9.length, t0 = Number(s$12[0]) == n$6, n10 = t0 && s$12[0].slice(-1), n100 = t0 && s$12[0].slice(-2), f100 = f$9.slice(-2), f10 = f$9.slice(-1);
|
|
5877
5877
|
if (ord) return "other";
|
|
5878
5878
|
return t0 && n10 == 0 || n100 >= 11 && n100 <= 19 || v$3 == 2 && f100 >= 11 && f100 <= 19 ? "zero" : n10 == 1 && n100 != 11 || v$3 == 2 && f10 == 1 && f100 != 11 || v$3 != 2 && f10 == 1 ? "one" : "other";
|
|
5879
5879
|
},
|
|
@@ -5903,7 +5903,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5903
5903
|
rwk: a$11,
|
|
5904
5904
|
sah: e$8,
|
|
5905
5905
|
saq: a$11,
|
|
5906
|
-
sat: f$
|
|
5906
|
+
sat: f$5,
|
|
5907
5907
|
sc: (n$6, ord) => {
|
|
5908
5908
|
const v0 = !String(n$6).split(".")[1];
|
|
5909
5909
|
if (ord) return n$6 == 11 || n$6 == 8 || n$6 == 80 || n$6 == 800 ? "many" : "other";
|
|
@@ -5916,12 +5916,12 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5916
5916
|
},
|
|
5917
5917
|
sd: a$11,
|
|
5918
5918
|
sdh: a$11,
|
|
5919
|
-
se: f$
|
|
5919
|
+
se: f$5,
|
|
5920
5920
|
seh: a$11,
|
|
5921
5921
|
ses: e$8,
|
|
5922
5922
|
sg: e$8,
|
|
5923
5923
|
sh: (n$6, ord) => {
|
|
5924
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5924
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), i100 = i$10.slice(-2), f10 = f$9.slice(-1), f100 = f$9.slice(-2);
|
|
5925
5925
|
if (ord) return "other";
|
|
5926
5926
|
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? "one" : v0 && i10 >= 2 && i10 <= 4 && (i100 < 12 || i100 > 14) || f10 >= 2 && f10 <= 4 && (f100 < 12 || f100 > 14) ? "few" : "other";
|
|
5927
5927
|
},
|
|
@@ -5931,9 +5931,9 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5931
5931
|
return n$6 >= 0 && n$6 <= 1 ? "one" : t0 && n$6 >= 2 && n$6 <= 10 ? "few" : "other";
|
|
5932
5932
|
},
|
|
5933
5933
|
si: (n$6, ord) => {
|
|
5934
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5934
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "";
|
|
5935
5935
|
if (ord) return "other";
|
|
5936
|
-
return n$6 == 0 || n$6 == 1 || i$10 == 0 && f$
|
|
5936
|
+
return n$6 == 0 || n$6 == 1 || i$10 == 0 && f$9 == 1 ? "one" : "other";
|
|
5937
5937
|
},
|
|
5938
5938
|
sk: (n$6, ord) => {
|
|
5939
5939
|
const s$12 = String(n$6).split("."), i$10 = s$12[0], v0 = !s$12[1];
|
|
@@ -5945,11 +5945,11 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5945
5945
|
if (ord) return "other";
|
|
5946
5946
|
return v0 && i100 == 1 ? "one" : v0 && i100 == 2 ? "two" : v0 && (i100 == 3 || i100 == 4) || !v0 ? "few" : "other";
|
|
5947
5947
|
},
|
|
5948
|
-
sma: f$
|
|
5949
|
-
smi: f$
|
|
5950
|
-
smj: f$
|
|
5951
|
-
smn: f$
|
|
5952
|
-
sms: f$
|
|
5948
|
+
sma: f$5,
|
|
5949
|
+
smi: f$5,
|
|
5950
|
+
smj: f$5,
|
|
5951
|
+
smn: f$5,
|
|
5952
|
+
sms: f$5,
|
|
5953
5953
|
sn: a$11,
|
|
5954
5954
|
so: a$11,
|
|
5955
5955
|
sq: (n$6, ord) => {
|
|
@@ -5958,7 +5958,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5958
5958
|
return n$6 == 1 ? "one" : "other";
|
|
5959
5959
|
},
|
|
5960
5960
|
sr: (n$6, ord) => {
|
|
5961
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5961
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), i100 = i$10.slice(-2), f10 = f$9.slice(-1), f100 = f$9.slice(-2);
|
|
5962
5962
|
if (ord) return "other";
|
|
5963
5963
|
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? "one" : v0 && i10 >= 2 && i10 <= 4 && (i100 < 12 || i100 > 14) || f10 >= 2 && f10 <= 4 && (f100 < 12 || f100 > 14) ? "few" : "other";
|
|
5964
5964
|
},
|
|
@@ -5985,7 +5985,7 @@ var require_plurals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5985
5985
|
return n$6 == 1 ? "one" : "other";
|
|
5986
5986
|
},
|
|
5987
5987
|
tl: (n$6, ord) => {
|
|
5988
|
-
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$
|
|
5988
|
+
const s$12 = String(n$6).split("."), i$10 = s$12[0], f$9 = s$12[1] || "", v0 = !s$12[1], i10 = i$10.slice(-1), f10 = f$9.slice(-1);
|
|
5989
5989
|
if (ord) return n$6 == 1 ? "one" : "other";
|
|
5990
5990
|
return v0 && (i$10 == 1 || i$10 == 2 || i$10 == 3) || v0 && i10 != 4 && i10 != 6 && i10 != 9 || !v0 && f10 != 4 && f10 != 6 && f10 != 9 ? "one" : "other";
|
|
5991
5991
|
},
|
|
@@ -11156,50 +11156,50 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11156
11156
|
return result + string.substring(cursor$1);
|
|
11157
11157
|
};
|
|
11158
11158
|
let createColors = (enabled$1 = isColorSupported) => {
|
|
11159
|
-
let f$
|
|
11159
|
+
let f$9 = enabled$1 ? formatter : () => String;
|
|
11160
11160
|
return {
|
|
11161
11161
|
isColorSupported: enabled$1,
|
|
11162
|
-
reset: f$
|
|
11163
|
-
bold: f$
|
|
11164
|
-
dim: f$
|
|
11165
|
-
italic: f$
|
|
11166
|
-
underline: f$
|
|
11167
|
-
inverse: f$
|
|
11168
|
-
hidden: f$
|
|
11169
|
-
strikethrough: f$
|
|
11170
|
-
black: f$
|
|
11171
|
-
red: f$
|
|
11172
|
-
green: f$
|
|
11173
|
-
yellow: f$
|
|
11174
|
-
blue: f$
|
|
11175
|
-
magenta: f$
|
|
11176
|
-
cyan: f$
|
|
11177
|
-
white: f$
|
|
11178
|
-
gray: f$
|
|
11179
|
-
bgBlack: f$
|
|
11180
|
-
bgRed: f$
|
|
11181
|
-
bgGreen: f$
|
|
11182
|
-
bgYellow: f$
|
|
11183
|
-
bgBlue: f$
|
|
11184
|
-
bgMagenta: f$
|
|
11185
|
-
bgCyan: f$
|
|
11186
|
-
bgWhite: f$
|
|
11187
|
-
blackBright: f$
|
|
11188
|
-
redBright: f$
|
|
11189
|
-
greenBright: f$
|
|
11190
|
-
yellowBright: f$
|
|
11191
|
-
blueBright: f$
|
|
11192
|
-
magentaBright: f$
|
|
11193
|
-
cyanBright: f$
|
|
11194
|
-
whiteBright: f$
|
|
11195
|
-
bgBlackBright: f$
|
|
11196
|
-
bgRedBright: f$
|
|
11197
|
-
bgGreenBright: f$
|
|
11198
|
-
bgYellowBright: f$
|
|
11199
|
-
bgBlueBright: f$
|
|
11200
|
-
bgMagentaBright: f$
|
|
11201
|
-
bgCyanBright: f$
|
|
11202
|
-
bgWhiteBright: f$
|
|
11162
|
+
reset: f$9("\x1B[0m", "\x1B[0m"),
|
|
11163
|
+
bold: f$9("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
11164
|
+
dim: f$9("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
11165
|
+
italic: f$9("\x1B[3m", "\x1B[23m"),
|
|
11166
|
+
underline: f$9("\x1B[4m", "\x1B[24m"),
|
|
11167
|
+
inverse: f$9("\x1B[7m", "\x1B[27m"),
|
|
11168
|
+
hidden: f$9("\x1B[8m", "\x1B[28m"),
|
|
11169
|
+
strikethrough: f$9("\x1B[9m", "\x1B[29m"),
|
|
11170
|
+
black: f$9("\x1B[30m", "\x1B[39m"),
|
|
11171
|
+
red: f$9("\x1B[31m", "\x1B[39m"),
|
|
11172
|
+
green: f$9("\x1B[32m", "\x1B[39m"),
|
|
11173
|
+
yellow: f$9("\x1B[33m", "\x1B[39m"),
|
|
11174
|
+
blue: f$9("\x1B[34m", "\x1B[39m"),
|
|
11175
|
+
magenta: f$9("\x1B[35m", "\x1B[39m"),
|
|
11176
|
+
cyan: f$9("\x1B[36m", "\x1B[39m"),
|
|
11177
|
+
white: f$9("\x1B[37m", "\x1B[39m"),
|
|
11178
|
+
gray: f$9("\x1B[90m", "\x1B[39m"),
|
|
11179
|
+
bgBlack: f$9("\x1B[40m", "\x1B[49m"),
|
|
11180
|
+
bgRed: f$9("\x1B[41m", "\x1B[49m"),
|
|
11181
|
+
bgGreen: f$9("\x1B[42m", "\x1B[49m"),
|
|
11182
|
+
bgYellow: f$9("\x1B[43m", "\x1B[49m"),
|
|
11183
|
+
bgBlue: f$9("\x1B[44m", "\x1B[49m"),
|
|
11184
|
+
bgMagenta: f$9("\x1B[45m", "\x1B[49m"),
|
|
11185
|
+
bgCyan: f$9("\x1B[46m", "\x1B[49m"),
|
|
11186
|
+
bgWhite: f$9("\x1B[47m", "\x1B[49m"),
|
|
11187
|
+
blackBright: f$9("\x1B[90m", "\x1B[39m"),
|
|
11188
|
+
redBright: f$9("\x1B[91m", "\x1B[39m"),
|
|
11189
|
+
greenBright: f$9("\x1B[92m", "\x1B[39m"),
|
|
11190
|
+
yellowBright: f$9("\x1B[93m", "\x1B[39m"),
|
|
11191
|
+
blueBright: f$9("\x1B[94m", "\x1B[39m"),
|
|
11192
|
+
magentaBright: f$9("\x1B[95m", "\x1B[39m"),
|
|
11193
|
+
cyanBright: f$9("\x1B[96m", "\x1B[39m"),
|
|
11194
|
+
whiteBright: f$9("\x1B[97m", "\x1B[39m"),
|
|
11195
|
+
bgBlackBright: f$9("\x1B[100m", "\x1B[49m"),
|
|
11196
|
+
bgRedBright: f$9("\x1B[101m", "\x1B[49m"),
|
|
11197
|
+
bgGreenBright: f$9("\x1B[102m", "\x1B[49m"),
|
|
11198
|
+
bgYellowBright: f$9("\x1B[103m", "\x1B[49m"),
|
|
11199
|
+
bgBlueBright: f$9("\x1B[104m", "\x1B[49m"),
|
|
11200
|
+
bgMagentaBright: f$9("\x1B[105m", "\x1B[49m"),
|
|
11201
|
+
bgCyanBright: f$9("\x1B[106m", "\x1B[49m"),
|
|
11202
|
+
bgWhiteBright: f$9("\x1B[107m", "\x1B[49m")
|
|
11203
11203
|
};
|
|
11204
11204
|
};
|
|
11205
11205
|
module.exports = createColors();
|
|
@@ -11272,9 +11272,9 @@ const at = (t$14) => t$14 === 161 || t$14 === 164 || t$14 === 167 || t$14 === 16
|
|
|
11272
11272
|
ellipsis: ""
|
|
11273
11273
|
}, X$2 = (t$14, e$10 = {}, s$12 = {}) => {
|
|
11274
11274
|
const i$10 = e$10.limit ?? Infinity, r$4 = e$10.ellipsis ?? "", n$6 = e$10?.ellipsisWidth ?? (r$4 ? X$2(r$4, Ft$1, s$12).width : 0), o$8 = s$12.ansiWidth ?? 0, a$14 = s$12.controlWidth ?? 0, l$4 = s$12.tabWidth ?? 8, E$2 = s$12.ambiguousWidth ?? 1, g$4 = s$12.emojiWidth ?? 2, m$5 = s$12.fullWidthWidth ?? 2, A$1 = s$12.regularWidth ?? 1, V$1 = s$12.wideWidth ?? 2;
|
|
11275
|
-
let h$4 = 0, u$9 = 0, f$
|
|
11275
|
+
let h$4 = 0, u$9 = 0, f$9 = t$14.length, v$3 = 0, p$3 = !1, d$4 = f$9, b$2 = Math.max(0, i$10 - n$6), C$2 = 0, B = 0, c$9 = 0, F$4 = 0;
|
|
11276
11276
|
t: for (;;) {
|
|
11277
|
-
if (B > C$2 || u$9 >= f$
|
|
11277
|
+
if (B > C$2 || u$9 >= f$9 && u$9 > h$4) {
|
|
11278
11278
|
const ut = t$14.slice(C$2, B) || t$14.slice(h$4, u$9);
|
|
11279
11279
|
v$3 = 0;
|
|
11280
11280
|
for (const Y$1 of ut.replaceAll(ct, "")) {
|
|
@@ -11287,7 +11287,7 @@ const at = (t$14) => t$14 === 161 || t$14 === 164 || t$14 === 167 || t$14 === 16
|
|
|
11287
11287
|
}
|
|
11288
11288
|
C$2 = B = 0;
|
|
11289
11289
|
}
|
|
11290
|
-
if (u$9 >= f$
|
|
11290
|
+
if (u$9 >= f$9) break;
|
|
11291
11291
|
if (L$1.lastIndex = u$9, L$1.test(t$14)) {
|
|
11292
11292
|
if (v$3 = L$1.lastIndex - u$9, F$4 = v$3 * A$1, c$9 + F$4 > b$2 && (d$4 = Math.min(d$4, u$9 + Math.floor((b$2 - c$9) / A$1))), c$9 + F$4 > i$10) {
|
|
11293
11293
|
p$3 = !0;
|
|
@@ -11332,7 +11332,7 @@ const at = (t$14) => t$14 === 161 || t$14 === 164 || t$14 === 167 || t$14 === 16
|
|
|
11332
11332
|
}
|
|
11333
11333
|
return {
|
|
11334
11334
|
width: p$3 ? b$2 : c$9,
|
|
11335
|
-
index: p$3 ? d$4 : f$
|
|
11335
|
+
index: p$3 ? d$4 : f$9,
|
|
11336
11336
|
truncated: p$3,
|
|
11337
11337
|
ellipsed: p$3 && i$10 >= n$6
|
|
11338
11338
|
};
|
|
@@ -11370,20 +11370,20 @@ const at = (t$14) => t$14 === 161 || t$14 === 164 || t$14 === 167 || t$14 === 16
|
|
|
11370
11370
|
let l$4 = [""];
|
|
11371
11371
|
for (const [h$4, u$9] of o$8.entries()) {
|
|
11372
11372
|
s$12.trim !== !1 && (l$4[l$4.length - 1] = (l$4.at(-1) ?? "").trimStart());
|
|
11373
|
-
let f$
|
|
11374
|
-
if (h$4 !== 0 && (f$
|
|
11375
|
-
const v$3 = e$10 - f$
|
|
11373
|
+
let f$9 = S$1(l$4.at(-1) ?? "");
|
|
11374
|
+
if (h$4 !== 0 && (f$9 >= e$10 && (s$12.wordWrap === !1 || s$12.trim === !1) && (l$4.push(""), f$9 = 0), (f$9 > 0 || s$12.trim === !1) && (l$4[l$4.length - 1] += " ", f$9++)), s$12.hard && a$14[h$4] > e$10) {
|
|
11375
|
+
const v$3 = e$10 - f$9, p$3 = 1 + Math.floor((a$14[h$4] - v$3 - 1) / e$10);
|
|
11376
11376
|
Math.floor((a$14[h$4] - 1) / e$10) < p$3 && l$4.push(""), G$2(l$4, u$9, e$10);
|
|
11377
11377
|
continue;
|
|
11378
11378
|
}
|
|
11379
|
-
if (f$
|
|
11380
|
-
if (s$12.wordWrap === !1 && f$
|
|
11379
|
+
if (f$9 + a$14[h$4] > e$10 && f$9 > 0 && a$14[h$4] > 0) {
|
|
11380
|
+
if (s$12.wordWrap === !1 && f$9 < e$10) {
|
|
11381
11381
|
G$2(l$4, u$9, e$10);
|
|
11382
11382
|
continue;
|
|
11383
11383
|
}
|
|
11384
11384
|
l$4.push("");
|
|
11385
11385
|
}
|
|
11386
|
-
if (f$
|
|
11386
|
+
if (f$9 + a$14[h$4] > e$10 && s$12.wordWrap === !1) {
|
|
11387
11387
|
G$2(l$4, u$9, e$10);
|
|
11388
11388
|
continue;
|
|
11389
11389
|
}
|
|
@@ -11403,10 +11403,10 @@ const at = (t$14) => t$14 === 161 || t$14 === 164 || t$14 === 167 || t$14 === 16
|
|
|
11403
11403
|
r$4 = d$4 === pt$1 ? void 0 : d$4;
|
|
11404
11404
|
} else p$3?.uri !== void 0 && (n$6 = p$3.uri.length === 0 ? void 0 : p$3.uri);
|
|
11405
11405
|
}
|
|
11406
|
-
const f$
|
|
11406
|
+
const f$9 = r$4 ? mt$1(r$4) : void 0;
|
|
11407
11407
|
u$9 === `
|
|
11408
|
-
` ? (n$6 && (i$10 += it("")), r$4 && f$
|
|
11409
|
-
` && (r$4 && f$
|
|
11408
|
+
` ? (n$6 && (i$10 += it("")), r$4 && f$9 && (i$10 += st(f$9))) : h$4 === `
|
|
11409
|
+
` && (r$4 && f$9 && (i$10 += st(r$4)), n$6 && (i$10 += it(n$6))), V$1 += h$4.length, m$5 = A$1, A$1 = g$4.next();
|
|
11410
11410
|
}
|
|
11411
11411
|
return i$10;
|
|
11412
11412
|
};
|
|
@@ -11553,7 +11553,7 @@ var x$2 = class {
|
|
|
11553
11553
|
this.state = "cancel", this.close();
|
|
11554
11554
|
}, { once: !0 });
|
|
11555
11555
|
}
|
|
11556
|
-
this.rl =
|
|
11556
|
+
this.rl = f.createInterface({
|
|
11557
11557
|
input: this.input,
|
|
11558
11558
|
tabSize: 2,
|
|
11559
11559
|
prompt: "",
|
|
@@ -11948,7 +11948,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11948
11948
|
ellipsis: ""
|
|
11949
11949
|
}, Le = (e$10, r$4 = {}, s$12 = {}) => {
|
|
11950
11950
|
const i$10 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$4 = r$4?.ellipsisWidth ?? (n$6 ? Le(n$6, Ft, s$12).width : 0), u$9 = s$12.ansiWidth ?? 0, o$8 = s$12.controlWidth ?? 0, a$14 = s$12.tabWidth ?? 8, c$9 = s$12.ambiguousWidth ?? 1, g$4 = s$12.emojiWidth ?? 2, E$2 = s$12.fullWidthWidth ?? 2, p$3 = s$12.regularWidth ?? 1, y$7 = s$12.wideWidth ?? 2;
|
|
11951
|
-
let $ = 0, m$5 = 0, d$4 = e$10.length, F$4 = 0, f$
|
|
11951
|
+
let $ = 0, m$5 = 0, d$4 = e$10.length, F$4 = 0, f$9 = !1, v$3 = d$4, I$2 = Math.max(0, i$10 - l$4), B = 0, b$2 = 0, A$1 = 0, C$2 = 0;
|
|
11952
11952
|
e: for (;;) {
|
|
11953
11953
|
if (b$2 > B || m$5 >= d$4 && m$5 > $) {
|
|
11954
11954
|
const _$4 = e$10.slice(B, b$2) || e$10.slice($, m$5);
|
|
@@ -11956,7 +11956,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11956
11956
|
for (const D$2 of _$4.replaceAll(ft$1, "")) {
|
|
11957
11957
|
const T$4 = D$2.codePointAt(0) || 0;
|
|
11958
11958
|
if (pt(T$4) ? C$2 = E$2 : gt$5(T$4) ? C$2 = y$7 : c$9 !== p$3 && mt(T$4) ? C$2 = c$9 : C$2 = p$3, A$1 + C$2 > I$2 && (v$3 = Math.min(v$3, Math.max(B, $) + F$4)), A$1 + C$2 > i$10) {
|
|
11959
|
-
f$
|
|
11959
|
+
f$9 = !0;
|
|
11960
11960
|
break e;
|
|
11961
11961
|
}
|
|
11962
11962
|
F$4 += D$2.length, A$1 += C$2;
|
|
@@ -11966,7 +11966,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11966
11966
|
if (m$5 >= d$4) break;
|
|
11967
11967
|
if (ne.lastIndex = m$5, ne.test(e$10)) {
|
|
11968
11968
|
if (F$4 = ne.lastIndex - m$5, C$2 = F$4 * p$3, A$1 + C$2 > I$2 && (v$3 = Math.min(v$3, m$5 + Math.floor((I$2 - A$1) / p$3))), A$1 + C$2 > i$10) {
|
|
11969
|
-
f$
|
|
11969
|
+
f$9 = !0;
|
|
11970
11970
|
break;
|
|
11971
11971
|
}
|
|
11972
11972
|
A$1 += C$2, B = $, b$2 = m$5, m$5 = $ = ne.lastIndex;
|
|
@@ -11974,7 +11974,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11974
11974
|
}
|
|
11975
11975
|
if (ve.lastIndex = m$5, ve.test(e$10)) {
|
|
11976
11976
|
if (A$1 + u$9 > I$2 && (v$3 = Math.min(v$3, m$5)), A$1 + u$9 > i$10) {
|
|
11977
|
-
f$
|
|
11977
|
+
f$9 = !0;
|
|
11978
11978
|
break;
|
|
11979
11979
|
}
|
|
11980
11980
|
A$1 += u$9, B = $, b$2 = m$5, m$5 = $ = ve.lastIndex;
|
|
@@ -11982,7 +11982,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11982
11982
|
}
|
|
11983
11983
|
if (re$5.lastIndex = m$5, re$5.test(e$10)) {
|
|
11984
11984
|
if (F$4 = re$5.lastIndex - m$5, C$2 = F$4 * o$8, A$1 + C$2 > I$2 && (v$3 = Math.min(v$3, m$5 + Math.floor((I$2 - A$1) / o$8))), A$1 + C$2 > i$10) {
|
|
11985
|
-
f$
|
|
11985
|
+
f$9 = !0;
|
|
11986
11986
|
break;
|
|
11987
11987
|
}
|
|
11988
11988
|
A$1 += C$2, B = $, b$2 = m$5, m$5 = $ = re$5.lastIndex;
|
|
@@ -11990,7 +11990,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11990
11990
|
}
|
|
11991
11991
|
if (ie.lastIndex = m$5, ie.test(e$10)) {
|
|
11992
11992
|
if (F$4 = ie.lastIndex - m$5, C$2 = F$4 * a$14, A$1 + C$2 > I$2 && (v$3 = Math.min(v$3, m$5 + Math.floor((I$2 - A$1) / a$14))), A$1 + C$2 > i$10) {
|
|
11993
|
-
f$
|
|
11993
|
+
f$9 = !0;
|
|
11994
11994
|
break;
|
|
11995
11995
|
}
|
|
11996
11996
|
A$1 += C$2, B = $, b$2 = m$5, m$5 = $ = ie.lastIndex;
|
|
@@ -11998,7 +11998,7 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
11998
11998
|
}
|
|
11999
11999
|
if (Ae.lastIndex = m$5, Ae.test(e$10)) {
|
|
12000
12000
|
if (A$1 + g$4 > I$2 && (v$3 = Math.min(v$3, m$5)), A$1 + g$4 > i$10) {
|
|
12001
|
-
f$
|
|
12001
|
+
f$9 = !0;
|
|
12002
12002
|
break;
|
|
12003
12003
|
}
|
|
12004
12004
|
A$1 += g$4, B = $, b$2 = m$5, m$5 = $ = Ae.lastIndex;
|
|
@@ -12007,10 +12007,10 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
12007
12007
|
m$5 += 1;
|
|
12008
12008
|
}
|
|
12009
12009
|
return {
|
|
12010
|
-
width: f$
|
|
12011
|
-
index: f$
|
|
12012
|
-
truncated: f$
|
|
12013
|
-
ellipsed: f$
|
|
12010
|
+
width: f$9 ? I$2 : A$1,
|
|
12011
|
+
index: f$9 ? v$3 : d$4,
|
|
12012
|
+
truncated: f$9,
|
|
12013
|
+
ellipsed: f$9 && i$10 >= l$4
|
|
12014
12014
|
};
|
|
12015
12015
|
}, yt$1 = {
|
|
12016
12016
|
limit: Infinity,
|
|
@@ -12048,8 +12048,8 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
12048
12048
|
s$12.trim !== !1 && (a$14[a$14.length - 1] = (a$14.at(-1) ?? "").trimStart());
|
|
12049
12049
|
let d$4 = M(a$14.at(-1) ?? "");
|
|
12050
12050
|
if ($ !== 0 && (d$4 >= r$4 && (s$12.wordWrap === !1 || s$12.trim === !1) && (a$14.push(""), d$4 = 0), (d$4 > 0 || s$12.trim === !1) && (a$14[a$14.length - 1] += " ", d$4++)), s$12.hard && o$8[$] > r$4) {
|
|
12051
|
-
const F$4 = r$4 - d$4, f$
|
|
12052
|
-
Math.floor((o$8[$] - 1) / r$4) < f$
|
|
12051
|
+
const F$4 = r$4 - d$4, f$9 = 1 + Math.floor((o$8[$] - F$4 - 1) / r$4);
|
|
12052
|
+
Math.floor((o$8[$] - 1) / r$4) < f$9 && a$14.push(""), Ie(a$14, m$5, r$4);
|
|
12053
12053
|
continue;
|
|
12054
12054
|
}
|
|
12055
12055
|
if (d$4 + o$8[$] > r$4 && d$4 > 0 && o$8[$] > 0) {
|
|
@@ -12073,11 +12073,11 @@ const ee$1 = ht$1(), ue = () => process.env.CI === "true", Te = (e$10) => e$10.i
|
|
|
12073
12073
|
const $ = E$2.value, m$5 = p$3.value;
|
|
12074
12074
|
if (i$10 += $, $ === ae || $ === je) {
|
|
12075
12075
|
Ge$1.lastIndex = y$7 + 1;
|
|
12076
|
-
const f$
|
|
12077
|
-
if (f$
|
|
12078
|
-
const v$3 = Number.parseFloat(f$
|
|
12076
|
+
const f$9 = Ge$1.exec(c$9)?.groups;
|
|
12077
|
+
if (f$9?.code !== void 0) {
|
|
12078
|
+
const v$3 = Number.parseFloat(f$9.code);
|
|
12079
12079
|
n$6 = v$3 === Et ? void 0 : v$3;
|
|
12080
|
-
} else f$
|
|
12080
|
+
} else f$9?.uri !== void 0 && (l$4 = f$9.uri.length === 0 ? void 0 : f$9.uri);
|
|
12081
12081
|
}
|
|
12082
12082
|
const d$4 = n$6 ? At(n$6) : void 0;
|
|
12083
12083
|
m$5 === `
|
|
@@ -12108,7 +12108,7 @@ const St = (e$10, r$4, s$12, i$10, n$6) => {
|
|
|
12108
12108
|
let $ = 0;
|
|
12109
12109
|
r$4 >= y$7 - 3 && ($ = Math.max(Math.min(r$4 - y$7 + 3, s$12.length - y$7), 0));
|
|
12110
12110
|
let m$5 = y$7 < s$12.length && $ > 0, d$4 = y$7 < s$12.length && $ + y$7 < s$12.length;
|
|
12111
|
-
const F$4 = Math.min($ + y$7, s$12.length), f$
|
|
12111
|
+
const F$4 = Math.min($ + y$7, s$12.length), f$9 = [];
|
|
12112
12112
|
let v$3 = 0;
|
|
12113
12113
|
m$5 && v$3++, d$4 && v$3++;
|
|
12114
12114
|
const I$2 = $ + (m$5 ? 1 : 0), B = F$4 - (d$4 ? 1 : 0);
|
|
@@ -12118,16 +12118,16 @@ const St = (e$10, r$4, s$12, i$10, n$6) => {
|
|
|
12118
12118
|
trim: !1
|
|
12119
12119
|
}).split(`
|
|
12120
12120
|
`);
|
|
12121
|
-
f$
|
|
12121
|
+
f$9.push(C$2), v$3 += C$2.length;
|
|
12122
12122
|
}
|
|
12123
12123
|
if (v$3 > p$3) {
|
|
12124
12124
|
let A$1 = 0, C$2 = 0, _$4 = v$3;
|
|
12125
|
-
const D$2 = r$4 - I$2, T$4 = (W$1, S$3) => St(f$
|
|
12126
|
-
m$5 ? ({lineCount: _$4, removals: A$1} = T$4(0, D$2), _$4 > p$3 && ({lineCount: _$4, removals: C$2} = T$4(D$2 + 1, f$
|
|
12125
|
+
const D$2 = r$4 - I$2, T$4 = (W$1, S$3) => St(f$9, _$4, W$1, S$3, p$3);
|
|
12126
|
+
m$5 ? ({lineCount: _$4, removals: A$1} = T$4(0, D$2), _$4 > p$3 && ({lineCount: _$4, removals: C$2} = T$4(D$2 + 1, f$9.length))) : ({lineCount: _$4, removals: C$2} = T$4(D$2 + 1, f$9.length), _$4 > p$3 && ({lineCount: _$4, removals: A$1} = T$4(0, D$2))), A$1 > 0 && (m$5 = !0, f$9.splice(0, A$1)), C$2 > 0 && (d$4 = !0, f$9.splice(f$9.length - C$2, C$2));
|
|
12127
12127
|
}
|
|
12128
12128
|
const b$2 = [];
|
|
12129
12129
|
m$5 && b$2.push(g$4);
|
|
12130
|
-
for (const A$1 of f$
|
|
12130
|
+
for (const A$1 of f$9) for (const C$2 of A$1) b$2.push(C$2);
|
|
12131
12131
|
return d$4 && b$2.push(g$4), b$2;
|
|
12132
12132
|
};
|
|
12133
12133
|
function Ke(e$10) {
|
|
@@ -12186,8 +12186,8 @@ ${import_picocolors.default.gray(h$2)}${o$8}`;
|
|
|
12186
12186
|
columnPadding: 3,
|
|
12187
12187
|
rowPadding: r$4.length + $.length,
|
|
12188
12188
|
style: (d$4, F$4) => {
|
|
12189
|
-
const f$
|
|
12190
|
-
return F$4 ? `${import_picocolors.default.green(Y)} ${f$
|
|
12189
|
+
const f$9 = Ke(d$4), v$3 = d$4.hint && d$4.value === this.focusedValue ? import_picocolors.default.dim(` (${d$4.hint})`) : "";
|
|
12190
|
+
return F$4 ? `${import_picocolors.default.green(Y)} ${f$9}${v$3}` : `${import_picocolors.default.dim(K)} ${import_picocolors.default.dim(f$9)}${v$3}`;
|
|
12191
12191
|
},
|
|
12192
12192
|
maxItems: e$10.maxItems,
|
|
12193
12193
|
output: e$10.output
|
|
@@ -12238,7 +12238,7 @@ ${N(this.state)} ${e$10.message}
|
|
|
12238
12238
|
], m$5 = [`${g$4(h$2)} ${import_picocolors.default.dim(E$2.join(" • "))}`, `${g$4(x$1)}`], d$4 = J$1({
|
|
12239
12239
|
cursor: this.cursor,
|
|
12240
12240
|
options: this.filteredOptions,
|
|
12241
|
-
style: (F$4, f$
|
|
12241
|
+
style: (F$4, f$9) => r$4(F$4, f$9, this.selectedValues, this.focusedValue),
|
|
12242
12242
|
maxItems: e$10.maxItems,
|
|
12243
12243
|
output: e$10.output,
|
|
12244
12244
|
rowPadding: $.length + m$5.length
|
|
@@ -12284,7 +12284,7 @@ const Dt = (e$10) => e$10, Tt = (e$10 = "", r$4 = "", s$12) => {
|
|
|
12284
12284
|
T$4 < F$4 && (F$4 = T$4);
|
|
12285
12285
|
}
|
|
12286
12286
|
F$4 % 2 !== 0 && (F$4 < d$4 ? F$4++ : F$4--);
|
|
12287
|
-
const f$
|
|
12287
|
+
const f$9 = F$4 - l$4, v$3 = f$9 - u$9 * 2, I$2 = m$5 > v$3 ? `${r$4.slice(0, v$3 - 3)}...` : r$4, [B, b$2] = Xe(M(I$2), f$9, u$9, s$12?.titleAlign), A$1 = q$1(e$10, f$9 - o$8 * 2, {
|
|
12288
12288
|
hard: !0,
|
|
12289
12289
|
trim: !1
|
|
12290
12290
|
});
|
|
@@ -12293,11 +12293,11 @@ const Dt = (e$10) => e$10, Tt = (e$10 = "", r$4 = "", s$12) => {
|
|
|
12293
12293
|
const C$2 = A$1.split(`
|
|
12294
12294
|
`);
|
|
12295
12295
|
for (const _$4 of C$2) {
|
|
12296
|
-
const [D$2, T$4] = Xe(M(_$4), f$
|
|
12296
|
+
const [D$2, T$4] = Xe(M(_$4), f$9, o$8, s$12?.contentAlign);
|
|
12297
12297
|
i$10.write(`${c$9}${y$7}${" ".repeat(D$2)}${_$4}${" ".repeat(T$4)}${y$7}
|
|
12298
12298
|
`);
|
|
12299
12299
|
}
|
|
12300
|
-
i$10.write(`${c$9}${E$2[2]}${p$3.repeat(f$
|
|
12300
|
+
i$10.write(`${c$9}${E$2[2]}${p$3.repeat(f$9)}${E$2[3]}
|
|
12301
12301
|
`);
|
|
12302
12302
|
}, Mt = (e$10) => {
|
|
12303
12303
|
const r$4 = e$10.active ?? "Yes", s$12 = e$10.inactive ?? "No";
|
|
@@ -12646,7 +12646,7 @@ ${import_picocolors.default.cyan(x$1)}
|
|
|
12646
12646
|
], delay: u$9 = ee$1 ? 80 : 120, signal: o$8, ...a$14 } = {}) => {
|
|
12647
12647
|
const c$9 = ue();
|
|
12648
12648
|
let g$4, E$2, p$3 = !1, y$7 = !1, $ = "", m$5, d$4 = performance.now();
|
|
12649
|
-
const F$4 = rt$1(s$12), f$
|
|
12649
|
+
const F$4 = rt$1(s$12), f$9 = a$14?.styleFrame ?? Ut, v$3 = (S$3) => {
|
|
12650
12650
|
const O$6 = S$3 > 1 ? n$6 ?? _$1.messages.error : i$10 ?? _$1.messages.cancel;
|
|
12651
12651
|
y$7 = S$3 === 1, p$3 && (W$1(O$6, S$3), y$7 && typeof r$4 == "function" && r$4());
|
|
12652
12652
|
}, I$2 = () => v$3(2), B = () => v$3(1), b$2 = () => {
|
|
@@ -12673,7 +12673,7 @@ ${import_picocolors.default.cyan(x$1)}
|
|
|
12673
12673
|
b$2(), E$2 = setInterval(() => {
|
|
12674
12674
|
if (c$9 && $ === m$5) return;
|
|
12675
12675
|
C$2(), m$5 = $;
|
|
12676
|
-
const j$3 = f$
|
|
12676
|
+
const j$3 = f$9(l$4[O$6]);
|
|
12677
12677
|
let Z$2;
|
|
12678
12678
|
if (c$9) Z$2 = `${j$3} ${$}...`;
|
|
12679
12679
|
else if (e$10 === "timer") Z$2 = `${j$3} ${$} ${D$2(d$4)}`;
|
|
@@ -12839,19 +12839,19 @@ ${ze$1}${i$10.trimStart()}`), s$12 = 3 + stripVTControlCharacters(i$10.trimStart
|
|
|
12839
12839
|
if (a$14.length === 0) return;
|
|
12840
12840
|
let F$4 = 0;
|
|
12841
12841
|
d$4 && (F$4 += n$6 + 2);
|
|
12842
|
-
for (const f$
|
|
12843
|
-
const { value: v$3, result: I$2 } = f$
|
|
12842
|
+
for (const f$9 of a$14) {
|
|
12843
|
+
const { value: v$3, result: I$2 } = f$9;
|
|
12844
12844
|
let B = I$2?.message ?? v$3;
|
|
12845
12845
|
if (B.length === 0) continue;
|
|
12846
|
-
I$2 === void 0 && f$
|
|
12847
|
-
${f$
|
|
12846
|
+
I$2 === void 0 && f$9.header !== void 0 && f$9.header !== "" && (B += `
|
|
12847
|
+
${f$9.header}`);
|
|
12848
12848
|
const b$2 = B.split(`
|
|
12849
12849
|
`).reduce((A$1, C$2) => C$2 === "" ? A$1 + 1 : A$1 + Math.ceil((C$2.length + l$4) / s$12), 0);
|
|
12850
12850
|
F$4 += b$2;
|
|
12851
12851
|
}
|
|
12852
12852
|
F$4 > 0 && (F$4 += 1, r$4.write(import_src.erase.lines(F$4)));
|
|
12853
|
-
}, E$2 = (d$4, F$4, f$
|
|
12854
|
-
const v$3 = f$
|
|
12853
|
+
}, E$2 = (d$4, F$4, f$9) => {
|
|
12854
|
+
const v$3 = f$9 ? `${d$4.full}
|
|
12855
12855
|
${d$4.value}` : d$4.value;
|
|
12856
12856
|
d$4.header !== void 0 && d$4.header !== "" && R.message(d$4.header.split(`
|
|
12857
12857
|
`).map(import_picocolors.default.bold), {
|
|
@@ -12868,12 +12868,12 @@ ${d$4.value}` : d$4.value;
|
|
|
12868
12868
|
});
|
|
12869
12869
|
}, p$3 = () => {
|
|
12870
12870
|
for (const d$4 of a$14) {
|
|
12871
|
-
const { header: F$4, value: f$
|
|
12872
|
-
(F$4 === void 0 || F$4.length === 0) && f$
|
|
12871
|
+
const { header: F$4, value: f$9, full: v$3 } = d$4;
|
|
12872
|
+
(F$4 === void 0 || F$4.length === 0) && f$9.length === 0 || E$2(d$4, void 0, u$9 === !0 && v$3.length > 0);
|
|
12873
12873
|
}
|
|
12874
|
-
}, y$7 = (d$4, F$4, f$
|
|
12875
|
-
if (g$4(!1), (f$
|
|
12876
|
-
`), d$4.value += Yt(F$4), c$9 = f$
|
|
12874
|
+
}, y$7 = (d$4, F$4, f$9) => {
|
|
12875
|
+
if (g$4(!1), (f$9?.raw !== !0 || !c$9) && d$4.value !== "" && (d$4.value += `
|
|
12876
|
+
`), d$4.value += Yt(F$4), c$9 = f$9?.raw === !0, e$10.limit !== void 0) {
|
|
12877
12877
|
const v$3 = d$4.value.split(`
|
|
12878
12878
|
`), I$2 = v$3.length - e$10.limit;
|
|
12879
12879
|
if (I$2 > 0) {
|
|
@@ -12910,19 +12910,19 @@ ${d$4.value}` : d$4.value;
|
|
|
12910
12910
|
full: ""
|
|
12911
12911
|
};
|
|
12912
12912
|
return a$14.push(F$4), {
|
|
12913
|
-
message(f$
|
|
12914
|
-
y$7(F$4, f$
|
|
12913
|
+
message(f$9, v$3) {
|
|
12914
|
+
y$7(F$4, f$9, v$3);
|
|
12915
12915
|
},
|
|
12916
|
-
error(f$
|
|
12916
|
+
error(f$9) {
|
|
12917
12917
|
m$5(F$4, {
|
|
12918
12918
|
status: "error",
|
|
12919
|
-
message: f$
|
|
12919
|
+
message: f$9
|
|
12920
12920
|
});
|
|
12921
12921
|
},
|
|
12922
|
-
success(f$
|
|
12922
|
+
success(f$9) {
|
|
12923
12923
|
m$5(F$4, {
|
|
12924
12924
|
status: "success",
|
|
12925
|
-
message: f$
|
|
12925
|
+
message: f$9
|
|
12926
12926
|
});
|
|
12927
12927
|
}
|
|
12928
12928
|
};
|
|
@@ -23678,7 +23678,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23678
23678
|
}
|
|
23679
23679
|
};
|
|
23680
23680
|
};
|
|
23681
|
-
const version$1 = "10.4.0";
|
|
23681
|
+
const version$1$1 = "10.4.0";
|
|
23682
23682
|
/**
|
|
23683
23683
|
* @fileoverview Main Espree file that converts Acorn into Esprima output.
|
|
23684
23684
|
*
|
|
@@ -23773,7 +23773,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23773
23773
|
function parse$2(code, options$1) {
|
|
23774
23774
|
return new (parsers.get(options$1))(options$1, code).parse();
|
|
23775
23775
|
}
|
|
23776
|
-
const version$2 = version$1;
|
|
23776
|
+
const version$2 = version$1$1;
|
|
23777
23777
|
const name = "espree";
|
|
23778
23778
|
/* istanbul ignore next */
|
|
23779
23779
|
const VisitorKeys = function() {
|
|
@@ -23878,7 +23878,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23878
23878
|
function c$10(e$13, t$17, r$6, n$8) {
|
|
23879
23879
|
this.node = e$13, this.path = t$17, this.wrap = r$6, this.ref = n$8;
|
|
23880
23880
|
}
|
|
23881
|
-
function f$
|
|
23881
|
+
function f$10() {}
|
|
23882
23882
|
function p$4(e$13) {
|
|
23883
23883
|
return null != e$13 && "object" == typeof e$13 && "string" == typeof e$13.type;
|
|
23884
23884
|
}
|
|
@@ -23890,7 +23890,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23890
23890
|
return !1;
|
|
23891
23891
|
}
|
|
23892
23892
|
function y$8(e$13, t$17) {
|
|
23893
|
-
return new f$
|
|
23893
|
+
return new f$10().traverse(e$13, t$17);
|
|
23894
23894
|
}
|
|
23895
23895
|
function m$6(e$13, t$17) {
|
|
23896
23896
|
var r$6;
|
|
@@ -24115,7 +24115,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24115
24115
|
this.parent[this.key] = e$13;
|
|
24116
24116
|
}, l$5.prototype.remove = function() {
|
|
24117
24117
|
return Array.isArray(this.parent) ? (this.parent.splice(this.key, 1), !0) : (this.replace(null), !1);
|
|
24118
|
-
}, f$
|
|
24118
|
+
}, f$10.prototype.path = function() {
|
|
24119
24119
|
var e$13, t$17, r$6, n$8, o$10;
|
|
24120
24120
|
function a$16(e$14, t$18) {
|
|
24121
24121
|
if (Array.isArray(t$18)) for (r$6 = 0, n$8 = t$18.length; r$6 < n$8; ++r$6) e$14.push(t$18[r$6]);
|
|
@@ -24124,29 +24124,29 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24124
24124
|
if (!this.__current.path) return null;
|
|
24125
24125
|
for (o$10 = [], e$13 = 2, t$17 = this.__leavelist.length; e$13 < t$17; ++e$13) a$16(o$10, this.__leavelist[e$13].path);
|
|
24126
24126
|
return a$16(o$10, this.__current.path), o$10;
|
|
24127
|
-
}, f$
|
|
24127
|
+
}, f$10.prototype.type = function() {
|
|
24128
24128
|
return this.current().type || this.__current.wrap;
|
|
24129
|
-
}, f$
|
|
24129
|
+
}, f$10.prototype.parents = function() {
|
|
24130
24130
|
var e$13, t$17, r$6;
|
|
24131
24131
|
for (r$6 = [], e$13 = 1, t$17 = this.__leavelist.length; e$13 < t$17; ++e$13) r$6.push(this.__leavelist[e$13].node);
|
|
24132
24132
|
return r$6;
|
|
24133
|
-
}, f$
|
|
24133
|
+
}, f$10.prototype.current = function() {
|
|
24134
24134
|
return this.__current.node;
|
|
24135
|
-
}, f$
|
|
24135
|
+
}, f$10.prototype.__execute = function(e$13, t$17) {
|
|
24136
24136
|
var r$6, n$8;
|
|
24137
24137
|
return n$8 = void 0, r$6 = this.__current, this.__current = t$17, this.__state = null, e$13 && (n$8 = e$13.call(this, t$17.node, this.__leavelist[this.__leavelist.length - 1].node)), this.__current = r$6, n$8;
|
|
24138
|
-
}, f$
|
|
24138
|
+
}, f$10.prototype.notify = function(e$13) {
|
|
24139
24139
|
this.__state = e$13;
|
|
24140
|
-
}, f$
|
|
24140
|
+
}, f$10.prototype.skip = function() {
|
|
24141
24141
|
this.notify(i$11);
|
|
24142
|
-
}, f$
|
|
24142
|
+
}, f$10.prototype.break = function() {
|
|
24143
24143
|
this.notify(a$15);
|
|
24144
|
-
}, f$
|
|
24144
|
+
}, f$10.prototype.remove = function() {
|
|
24145
24145
|
this.notify(s$13);
|
|
24146
|
-
}, f$
|
|
24146
|
+
}, f$10.prototype.__initialize = function(e$13, t$17) {
|
|
24147
24147
|
this.visitor = t$17, this.root = e$13, this.__worklist = [], this.__leavelist = [], this.__current = null, this.__state = null, this.__fallback = null, "iteration" === t$17.fallback ? this.__fallback = Object.keys : "function" == typeof t$17.fallback && (this.__fallback = t$17.fallback), this.__keys = o$9, t$17.keys && (this.__keys = Object.assign(Object.create(this.__keys), t$17.keys));
|
|
24148
|
-
}, f$
|
|
24149
|
-
var r$6, n$8, o$10, s$14, u$11, l$6, f$
|
|
24148
|
+
}, f$10.prototype.traverse = function(e$13, t$17) {
|
|
24149
|
+
var r$6, n$8, o$10, s$14, u$11, l$6, f$11, y$9, m$7, x$4, v$4, g$5;
|
|
24150
24150
|
for (this.__initialize(e$13, t$17), g$5 = {}, r$6 = this.__worklist, n$8 = this.__leavelist, r$6.push(new c$10(e$13, null, null, null)), n$8.push(new c$10(null, null, null, null)); r$6.length;) if ((o$10 = r$6.pop()) !== g$5) {
|
|
24151
24151
|
if (o$10.node) {
|
|
24152
24152
|
if (l$6 = this.__execute(t$17.enter, o$10), this.__state === a$15 || l$6 === a$15) return;
|
|
@@ -24155,25 +24155,25 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24155
24155
|
if (!this.__fallback) throw new Error("Unknown node type " + u$11 + ".");
|
|
24156
24156
|
x$4 = this.__fallback(s$14);
|
|
24157
24157
|
}
|
|
24158
|
-
for (y$9 = x$4.length; (y$9 -= 1) >= 0;) if (v$4 = s$14[f$
|
|
24158
|
+
for (y$9 = x$4.length; (y$9 -= 1) >= 0;) if (v$4 = s$14[f$11 = x$4[y$9]]) {
|
|
24159
24159
|
if (Array.isArray(v$4)) {
|
|
24160
24160
|
for (m$7 = v$4.length; (m$7 -= 1) >= 0;) if (v$4[m$7] && !d$5(n$8, v$4[m$7])) {
|
|
24161
|
-
if (h$5(u$11, x$4[y$9])) o$10 = new c$10(v$4[m$7], [f$
|
|
24161
|
+
if (h$5(u$11, x$4[y$9])) o$10 = new c$10(v$4[m$7], [f$11, m$7], "Property", null);
|
|
24162
24162
|
else {
|
|
24163
24163
|
if (!p$4(v$4[m$7])) continue;
|
|
24164
|
-
o$10 = new c$10(v$4[m$7], [f$
|
|
24164
|
+
o$10 = new c$10(v$4[m$7], [f$11, m$7], null, null);
|
|
24165
24165
|
}
|
|
24166
24166
|
r$6.push(o$10);
|
|
24167
24167
|
}
|
|
24168
24168
|
} else if (p$4(v$4)) {
|
|
24169
24169
|
if (d$5(n$8, v$4)) continue;
|
|
24170
|
-
r$6.push(new c$10(v$4, f$
|
|
24170
|
+
r$6.push(new c$10(v$4, f$11, null, null));
|
|
24171
24171
|
}
|
|
24172
24172
|
}
|
|
24173
24173
|
}
|
|
24174
24174
|
} else if (o$10 = n$8.pop(), l$6 = this.__execute(t$17.leave, o$10), this.__state === a$15 || l$6 === a$15) return;
|
|
24175
|
-
}, f$
|
|
24176
|
-
var r$6, n$8, o$10, u$11, f$
|
|
24175
|
+
}, f$10.prototype.replace = function(e$13, t$17) {
|
|
24176
|
+
var r$6, n$8, o$10, u$11, f$11, d$6, y$9, m$7, x$4, v$4, g$5, A$2, E$2;
|
|
24177
24177
|
function b$2(e$14) {
|
|
24178
24178
|
var t$18, n$9, o$11, a$16;
|
|
24179
24179
|
if (e$14.ref.remove()) {
|
|
@@ -24184,8 +24184,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24184
24184
|
}
|
|
24185
24185
|
}
|
|
24186
24186
|
for (this.__initialize(e$13, t$17), g$5 = {}, r$6 = this.__worklist, n$8 = this.__leavelist, d$6 = new c$10(e$13, null, null, new l$5(A$2 = { root: e$13 }, "root")), r$6.push(d$6), n$8.push(d$6); r$6.length;) if ((d$6 = r$6.pop()) !== g$5) {
|
|
24187
|
-
if (void 0 !== (f$
|
|
24188
|
-
if ((o$10 = d$6.node) && (r$6.push(g$5), n$8.push(d$6), this.__state !== i$11 && f$
|
|
24187
|
+
if (void 0 !== (f$11 = this.__execute(t$17.enter, d$6)) && f$11 !== a$15 && f$11 !== i$11 && f$11 !== s$13 && (d$6.ref.replace(f$11), d$6.node = f$11), this.__state !== s$13 && f$11 !== s$13 || (b$2(d$6), d$6.node = null), this.__state === a$15 || f$11 === a$15) return A$2.root;
|
|
24188
|
+
if ((o$10 = d$6.node) && (r$6.push(g$5), n$8.push(d$6), this.__state !== i$11 && f$11 !== i$11)) {
|
|
24189
24189
|
if (u$11 = o$10.type || d$6.wrap, !(x$4 = this.__keys[u$11])) {
|
|
24190
24190
|
if (!this.__fallback) throw new Error("Unknown node type " + u$11 + ".");
|
|
24191
24191
|
x$4 = this.__fallback(o$10);
|
|
@@ -24201,10 +24201,10 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24201
24201
|
}
|
|
24202
24202
|
} else p$4(v$4) && r$6.push(new c$10(v$4, E$2, null, new l$5(o$10, E$2)));
|
|
24203
24203
|
}
|
|
24204
|
-
} else if (d$6 = n$8.pop(), void 0 !== (f$
|
|
24204
|
+
} else if (d$6 = n$8.pop(), void 0 !== (f$11 = this.__execute(t$17.leave, d$6)) && f$11 !== a$15 && f$11 !== i$11 && f$11 !== s$13 && d$6.ref.replace(f$11), this.__state !== s$13 && f$11 !== s$13 || b$2(d$6), this.__state === a$15 || f$11 === a$15) return A$2.root;
|
|
24205
24205
|
return A$2.root;
|
|
24206
24206
|
}, t$16.Syntax = r$5, t$16.traverse = y$8, t$16.replace = function(e$13, t$17) {
|
|
24207
|
-
return new f$
|
|
24207
|
+
return new f$10().replace(e$13, t$17);
|
|
24208
24208
|
}, t$16.attachComments = function(e$13, t$17, r$6) {
|
|
24209
24209
|
var o$10, a$16, i$12, s$14, l$6 = [];
|
|
24210
24210
|
if (!e$13.range) throw new Error("attachComments needs range information");
|
|
@@ -24223,7 +24223,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24223
24223
|
for (var t$18; s$14 < l$6.length && (t$18 = l$6[s$14], !(e$14.range[1] < t$18.extendedRange[0]));) e$14.range[1] === t$18.extendedRange[0] ? (e$14.trailingComments || (e$14.trailingComments = []), e$14.trailingComments.push(t$18), l$6.splice(s$14, 1)) : s$14 += 1;
|
|
24224
24224
|
return s$14 === l$6.length ? n$7.Break : l$6[s$14].extendedRange[0] > e$14.range[1] ? n$7.Skip : void 0;
|
|
24225
24225
|
} }), e$13;
|
|
24226
|
-
}, t$16.VisitorKeys = o$9, t$16.VisitorOption = n$7, t$16.Controller = f$
|
|
24226
|
+
}, t$16.VisitorKeys = o$9, t$16.VisitorOption = n$7, t$16.Controller = f$10, t$16.cloneEnvironment = function() {
|
|
24227
24227
|
return e$12({});
|
|
24228
24228
|
}, t$16;
|
|
24229
24229
|
})(t$15);
|
|
@@ -24293,7 +24293,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24293
24293
|
SyntaxError: e$12,
|
|
24294
24294
|
parse: function(t$15, r$5) {
|
|
24295
24295
|
r$5 = void 0 !== r$5 ? r$5 : {};
|
|
24296
|
-
var n$7, o$9, a$15, i$11, s$13 = {}, u$10 = { start: Ae$1 }, l$5 = Ae$1, c$10 = ye$1(" ", !1), f$
|
|
24296
|
+
var n$7, o$9, a$15, i$11, s$13 = {}, u$10 = { start: Ae$1 }, l$5 = Ae$1, c$10 = ye$1(" ", !1), f$10 = /^[^ [\],():#!=><~+.]/, p$4 = me$1([
|
|
24297
24297
|
" ",
|
|
24298
24298
|
"[",
|
|
24299
24299
|
"]",
|
|
@@ -24431,7 +24431,7 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24431
24431
|
function be() {
|
|
24432
24432
|
var e$13, r$6, n$8, o$10 = 36 * ce$1 + 2, a$16 = de$2[o$10];
|
|
24433
24433
|
if (a$16) return ce$1 = a$16.nextPos, a$16.result;
|
|
24434
|
-
if (r$6 = [], f$
|
|
24434
|
+
if (r$6 = [], f$10.test(t$15.charAt(ce$1)) ? (n$8 = t$15.charAt(ce$1), ce$1++) : (n$8 = s$13, ge$1(p$4)), n$8 !== s$13) for (; n$8 !== s$13;) r$6.push(n$8), f$10.test(t$15.charAt(ce$1)) ? (n$8 = t$15.charAt(ce$1), ce$1++) : (n$8 = s$13, ge$1(p$4));
|
|
24435
24435
|
else r$6 = s$13;
|
|
24436
24436
|
return r$6 !== s$13 && (r$6 = r$6.join("")), e$13 = r$6, de$2[o$10] = {
|
|
24437
24437
|
nextPos: ce$1,
|
|
@@ -24446,8 +24446,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24446
24446
|
}, e$13);
|
|
24447
24447
|
}
|
|
24448
24448
|
function _e$1() {
|
|
24449
|
-
var e$13, r$6, n$8, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 5, f$
|
|
24450
|
-
if (f$
|
|
24449
|
+
var e$13, r$6, n$8, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 5, f$11 = de$2[c$11];
|
|
24450
|
+
if (f$11) return ce$1 = f$11.nextPos, f$11.result;
|
|
24451
24451
|
if (e$13 = ce$1, (r$6 = Pe$1()) !== s$13) {
|
|
24452
24452
|
for (n$8 = [], o$10 = ce$1, (a$16 = Ee$1()) !== s$13 ? (44 === t$15.charCodeAt(ce$1) ? (i$12 = ",", ce$1++) : (i$12 = s$13, ge$1(m$6)), i$12 !== s$13 && (u$11 = Ee$1()) !== s$13 && (l$6 = Pe$1()) !== s$13 ? o$10 = a$16 = [
|
|
24453
24453
|
a$16,
|
|
@@ -24640,8 +24640,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24640
24640
|
result: e$14
|
|
24641
24641
|
}, e$14);
|
|
24642
24642
|
}()) === s$13 && (e$13 = function() {
|
|
24643
|
-
var e$14, r$7, n$9, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 26, f$
|
|
24644
|
-
if (f$
|
|
24643
|
+
var e$14, r$7, n$9, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 26, f$11 = de$2[c$11];
|
|
24644
|
+
if (f$11) return ce$1 = f$11.nextPos, f$11.result;
|
|
24645
24645
|
if (e$14 = ce$1, 46 === t$15.charCodeAt(ce$1) ? (r$7 = ".", ce$1++) : (r$7 = s$13, ge$1(D$2)), r$7 !== s$13) if ((n$9 = be()) !== s$13) {
|
|
24646
24646
|
for (o$10 = [], a$16 = ce$1, 46 === t$15.charCodeAt(ce$1) ? (i$12 = ".", ce$1++) : (i$12 = s$13, ge$1(D$2)), i$12 !== s$13 && (u$11 = be()) !== s$13 ? a$16 = i$12 = [i$12, u$11] : (ce$1 = a$16, a$16 = s$13); a$16 !== s$13;) o$10.push(a$16), a$16 = ce$1, 46 === t$15.charCodeAt(ce$1) ? (i$12 = ".", ce$1++) : (i$12 = s$13, ge$1(D$2)), i$12 !== s$13 && (u$11 = be()) !== s$13 ? a$16 = i$12 = [i$12, u$11] : (ce$1 = a$16, a$16 = s$13);
|
|
24647
24647
|
o$10 !== s$13 ? (l$6 = n$9, r$7 = {
|
|
@@ -24680,8 +24680,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24680
24680
|
}()) === s$13 && (e$13 = function() {
|
|
24681
24681
|
var e$14, r$7, n$9, o$10, a$16 = 36 * ce$1 + 30, i$12 = de$2[a$16];
|
|
24682
24682
|
return i$12 ? (ce$1 = i$12.nextPos, i$12.result) : (e$14 = ce$1, ":has(" === t$15.substr(ce$1, 5) ? (r$7 = ":has(", ce$1 += 5) : (r$7 = s$13, ge$1(oe$1)), r$7 !== s$13 && Ee$1() !== s$13 && (n$9 = function() {
|
|
24683
|
-
var e$15, r$8, n$10, o$11, a$17, i$13, u$11, l$6, c$11 = 36 * ce$1 + 4, f$
|
|
24684
|
-
if (f$
|
|
24683
|
+
var e$15, r$8, n$10, o$11, a$17, i$13, u$11, l$6, c$11 = 36 * ce$1 + 4, f$11 = de$2[c$11];
|
|
24684
|
+
if (f$11) return ce$1 = f$11.nextPos, f$11.result;
|
|
24685
24685
|
if (e$15 = ce$1, (r$8 = Ce$1()) !== s$13) {
|
|
24686
24686
|
for (n$10 = [], o$11 = ce$1, (a$17 = Ee$1()) !== s$13 ? (44 === t$15.charCodeAt(ce$1) ? (i$13 = ",", ce$1++) : (i$13 = s$13, ge$1(m$6)), i$13 !== s$13 && (u$11 = Ee$1()) !== s$13 && (l$6 = Ce$1()) !== s$13 ? o$11 = a$17 = [
|
|
24687
24687
|
a$17,
|
|
@@ -24760,8 +24760,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24760
24760
|
}, e$13);
|
|
24761
24761
|
}
|
|
24762
24762
|
function De$1() {
|
|
24763
|
-
var e$13, r$6, n$8, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 15, f$
|
|
24764
|
-
if (f$
|
|
24763
|
+
var e$13, r$6, n$8, o$10, a$16, i$12, u$11, l$6, c$11 = 36 * ce$1 + 15, f$11 = de$2[c$11];
|
|
24764
|
+
if (f$11) return ce$1 = f$11.nextPos, f$11.result;
|
|
24765
24765
|
if (e$13 = ce$1, (r$6 = be()) !== s$13) {
|
|
24766
24766
|
for (n$8 = [], o$10 = ce$1, 46 === t$15.charCodeAt(ce$1) ? (a$16 = ".", ce$1++) : (a$16 = s$13, ge$1(D$2)), a$16 !== s$13 && (i$12 = be()) !== s$13 ? o$10 = a$16 = [a$16, i$12] : (ce$1 = o$10, o$10 = s$13); o$10 !== s$13;) n$8.push(o$10), o$10 = ce$1, 46 === t$15.charCodeAt(ce$1) ? (a$16 = ".", ce$1++) : (a$16 = s$13, ge$1(D$2)), a$16 !== s$13 && (i$12 = be()) !== s$13 ? o$10 = a$16 = [a$16, i$12] : (ce$1 = o$10, o$10 = s$13);
|
|
24767
24767
|
n$8 !== s$13 ? (u$11 = r$6, l$6 = n$8, e$13 = r$6 = [].concat.apply([u$11], l$6).join("")) : (ce$1 = e$13, e$13 = s$13);
|
|
@@ -24839,11 +24839,11 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24839
24839
|
};
|
|
24840
24840
|
if (null != l$4) {
|
|
24841
24841
|
var t$15 = l$4.get(e$11);
|
|
24842
|
-
return t$15 ?? (t$15 = f$
|
|
24842
|
+
return t$15 ?? (t$15 = f$9(e$11), l$4.set(e$11, t$15)), t$15;
|
|
24843
24843
|
}
|
|
24844
|
-
return f$
|
|
24844
|
+
return f$9(e$11);
|
|
24845
24845
|
}
|
|
24846
|
-
function f$
|
|
24846
|
+
function f$9(e$11) {
|
|
24847
24847
|
switch (e$11.type) {
|
|
24848
24848
|
case "wildcard": return function() {
|
|
24849
24849
|
return !0;
|
|
@@ -24907,9 +24907,9 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
24907
24907
|
}), n$7;
|
|
24908
24908
|
};
|
|
24909
24909
|
case "child":
|
|
24910
|
-
var f$
|
|
24910
|
+
var f$10 = c$9(e$11.left), p$4 = c$9(e$11.right);
|
|
24911
24911
|
return function(e$12, t$16, r$6) {
|
|
24912
|
-
return !!(t$16.length > 0 && p$4(e$12, t$16, r$6)) && f$
|
|
24912
|
+
return !!(t$16.length > 0 && p$4(e$12, t$16, r$6)) && f$10(t$16[0], t$16.slice(1), r$6);
|
|
24913
24913
|
};
|
|
24914
24914
|
case "descendant":
|
|
24915
24915
|
var h$5 = c$9(e$11.left), x$4 = c$9(e$11.right);
|
|
@@ -25025,9 +25025,9 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
25025
25025
|
if (Array.isArray(l$5)) {
|
|
25026
25026
|
var c$10 = l$5.indexOf(e$11);
|
|
25027
25027
|
if (c$10 < 0) continue;
|
|
25028
|
-
var f$
|
|
25029
|
-
"LEFT_SIDE" === o$9 ? (f$
|
|
25030
|
-
for (var y$8 = f$
|
|
25028
|
+
var f$10 = void 0, d$5 = void 0;
|
|
25029
|
+
"LEFT_SIDE" === o$9 ? (f$10 = 0, d$5 = c$10) : (f$10 = c$10 + 1, d$5 = l$5.length);
|
|
25030
|
+
for (var y$8 = f$10; y$8 < d$5; ++y$8) if (h$4(l$5[y$8], a$15) && r$5(l$5[y$8], n$7, a$15)) return !0;
|
|
25031
25031
|
}
|
|
25032
25032
|
}
|
|
25033
25033
|
return !1;
|
|
@@ -25075,8 +25075,8 @@ var require_esquery_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
25075
25075
|
if (null != t$16 && s$13.unshift(t$16), u$10(e$12, s$13, a$15)) if (l$5.length) for (var r$5 = 0, n$7 = l$5.length; r$5 < n$7; ++r$5) {
|
|
25076
25076
|
l$5[r$5](e$12, s$13, a$15) && o$9(e$12, t$16, s$13);
|
|
25077
25077
|
for (var i$11 = 0, c$10 = s$13.length; i$11 < c$10; ++i$11) {
|
|
25078
|
-
var f$
|
|
25079
|
-
l$5[r$5](s$13[i$11], f$
|
|
25078
|
+
var f$10 = s$13.slice(i$11 + 1);
|
|
25079
|
+
l$5[r$5](s$13[i$11], f$10, a$15) && o$9(s$13[i$11], t$16, f$10);
|
|
25080
25080
|
}
|
|
25081
25081
|
}
|
|
25082
25082
|
else o$9(e$12, t$16, s$13);
|
|
@@ -25842,7 +25842,7 @@ async function prompt(args$2, cwd$1 = process.cwd()) {
|
|
|
25842
25842
|
});
|
|
25843
25843
|
},
|
|
25844
25844
|
features: ({ results }) => {
|
|
25845
|
-
if (args$2.features) return Promise.resolve(args$2.features.filter((f$
|
|
25845
|
+
if (args$2.features) return Promise.resolve(args$2.features.filter((f$9) => f$9 !== "router" && f$9 !== "file-router"));
|
|
25846
25846
|
if (!args$2.interactive) return Promise.resolve([]);
|
|
25847
25847
|
const platform$2 = results.platform || args$2.platform;
|
|
25848
25848
|
const type = results.type || args$2.type;
|
|
@@ -25968,7 +25968,7 @@ async function prompt(args$2, cwd$1 = process.cwd()) {
|
|
|
25968
25968
|
...options$1.features,
|
|
25969
25969
|
options$1.router,
|
|
25970
25970
|
options$1.cssFramework === "none" ? "css-none" : options$1.cssFramework
|
|
25971
|
-
].filter((f$
|
|
25971
|
+
].filter((f$9) => f$9 && f$9 !== "none");
|
|
25972
25972
|
return {
|
|
25973
25973
|
...options$1,
|
|
25974
25974
|
features: features$1
|
|
@@ -26415,13 +26415,13 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26415
26415
|
};
|
|
26416
26416
|
e$7(m$5, "HeadersTimeoutError");
|
|
26417
26417
|
let c$9 = m$5;
|
|
26418
|
-
const f$
|
|
26418
|
+
const f$9 = class f$10 extends A$1 {
|
|
26419
26419
|
constructor(oA) {
|
|
26420
26420
|
super(oA), this.name = "HeadersOverflowError", this.message = oA || "Headers Overflow Error", this.code = "UND_ERR_HEADERS_OVERFLOW";
|
|
26421
26421
|
}
|
|
26422
26422
|
};
|
|
26423
|
-
e$7(f$
|
|
26424
|
-
let B = f$
|
|
26423
|
+
e$7(f$9, "HeadersOverflowError");
|
|
26424
|
+
let B = f$9;
|
|
26425
26425
|
const n$6 = class n$7 extends A$1 {
|
|
26426
26426
|
constructor(oA) {
|
|
26427
26427
|
super(oA), this.name = "BodyTimeoutError", this.message = oA || "Body Timeout Error", this.code = "UND_ERR_BODY_TIMEOUT";
|
|
@@ -26854,11 +26854,11 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26854
26854
|
return W$1;
|
|
26855
26855
|
}
|
|
26856
26856
|
e$7(m$5, "parseURL");
|
|
26857
|
-
function f$
|
|
26857
|
+
function f$9(W$1) {
|
|
26858
26858
|
if (W$1 = m$5(W$1), W$1.pathname !== "/" || W$1.search || W$1.hash) throw new o$8("invalid url");
|
|
26859
26859
|
return W$1;
|
|
26860
26860
|
}
|
|
26861
|
-
e$7(f$
|
|
26861
|
+
e$7(f$9, "parseOrigin");
|
|
26862
26862
|
function n$6(W$1) {
|
|
26863
26863
|
if (W$1[0] === "[") {
|
|
26864
26864
|
const yA = W$1.indexOf("]");
|
|
@@ -27122,7 +27122,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27122
27122
|
toUSVString: wA,
|
|
27123
27123
|
isUSVString: vA,
|
|
27124
27124
|
isBlobLike: _$4,
|
|
27125
|
-
parseOrigin: f$
|
|
27125
|
+
parseOrigin: f$9,
|
|
27126
27126
|
parseURL: m$5,
|
|
27127
27127
|
getServerName: C$2,
|
|
27128
27128
|
isStream: V$1,
|
|
@@ -27253,7 +27253,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27253
27253
|
if (hasRequiredRequest$1) return request$1;
|
|
27254
27254
|
hasRequiredRequest$1 = 1;
|
|
27255
27255
|
const { InvalidArgumentError: A$1, NotSupportedError: k$3 } = requireErrors(), c$9 = require$$0__default$1, { isValidHTTPToken: B, isValidHeaderValue: t$14, isStream: y$7, destroy: R$5, isBuffer: F$4, isFormDataLike: Q$2, isIterable: D$2, isBlobLike: U$1, buildURL: r$4, validateHandler: o$8, getServerName: N$3, normalizedMethodRecords: l$4 } = requireUtil$7(), { channels: I$2 } = requireDiagnostics(), { headerNameLowerCasedRecord: p$3 } = requireConstants$4(), b$2 = /[^\u0021-\u00ff]/, G$4 = Symbol("handler"), _$4 = class _$5 {
|
|
27256
|
-
constructor(M$2, { path: Y$1, method: m$5, body: f$
|
|
27256
|
+
constructor(M$2, { path: Y$1, method: m$5, body: f$9, headers: n$6, query: C$2, idempotent: w$5, blocking: S$3, upgrade: x$3, headersTimeout: z$3, bodyTimeout: $, reset: K$2, throwOnError: nA, expectContinue: iA, servername: uA }, RA) {
|
|
27257
27257
|
if (typeof Y$1 != "string") throw new A$1("path must be a string");
|
|
27258
27258
|
if (Y$1[0] !== "/" && !(Y$1.startsWith("http://") || Y$1.startsWith("https://")) && m$5 !== "CONNECT") throw new A$1("path must be an absolute URL or start with a slash");
|
|
27259
27259
|
if (b$2.test(Y$1)) throw new A$1("invalid request path");
|
|
@@ -27264,20 +27264,20 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27264
27264
|
if ($ != null && (!Number.isFinite($) || $ < 0)) throw new A$1("invalid bodyTimeout");
|
|
27265
27265
|
if (K$2 != null && typeof K$2 != "boolean") throw new A$1("invalid reset");
|
|
27266
27266
|
if (iA != null && typeof iA != "boolean") throw new A$1("invalid expectContinue");
|
|
27267
|
-
if (this.headersTimeout = z$3, this.bodyTimeout = $, this.throwOnError = nA === !0, this.method = m$5, this.abort = null, f$
|
|
27268
|
-
else if (y$7(f$
|
|
27269
|
-
this.body = f$
|
|
27267
|
+
if (this.headersTimeout = z$3, this.bodyTimeout = $, this.throwOnError = nA === !0, this.method = m$5, this.abort = null, f$9 == null) this.body = null;
|
|
27268
|
+
else if (y$7(f$9)) {
|
|
27269
|
+
this.body = f$9;
|
|
27270
27270
|
const IA = this.body._readableState;
|
|
27271
27271
|
(!IA || !IA.autoDestroy) && (this.endHandler = e$7(function() {
|
|
27272
27272
|
R$5(this);
|
|
27273
27273
|
}, "autoDestroy"), this.body.on("end", this.endHandler)), this.errorHandler = (CA) => {
|
|
27274
27274
|
this.abort ? this.abort(CA) : this.error = CA;
|
|
27275
27275
|
}, this.body.on("error", this.errorHandler);
|
|
27276
|
-
} else if (F$4(f$
|
|
27277
|
-
else if (ArrayBuffer.isView(f$
|
|
27278
|
-
else if (f$
|
|
27279
|
-
else if (typeof f$
|
|
27280
|
-
else if (Q$2(f$
|
|
27276
|
+
} else if (F$4(f$9)) this.body = f$9.byteLength ? f$9 : null;
|
|
27277
|
+
else if (ArrayBuffer.isView(f$9)) this.body = f$9.buffer.byteLength ? Buffer.from(f$9.buffer, f$9.byteOffset, f$9.byteLength) : null;
|
|
27278
|
+
else if (f$9 instanceof ArrayBuffer) this.body = f$9.byteLength ? Buffer.from(f$9) : null;
|
|
27279
|
+
else if (typeof f$9 == "string") this.body = f$9.length ? Buffer.from(f$9) : null;
|
|
27280
|
+
else if (Q$2(f$9) || D$2(f$9) || U$1(f$9)) this.body = f$9;
|
|
27281
27281
|
else throw new A$1("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");
|
|
27282
27282
|
if (this.completed = !1, this.aborted = !1, this.upgrade = x$3 || null, this.path = C$2 ? r$4(Y$1, C$2) : Y$1, this.origin = M$2, this.idempotent = w$5 ?? (m$5 === "HEAD" || m$5 === "GET"), this.blocking = S$3 ?? !1, this.reset = K$2 ?? null, this.host = null, this.contentLength = null, this.contentType = null, this.headers = [], this.expectContinue = iA ?? !1, Array.isArray(n$6)) {
|
|
27283
27283
|
if (n$6.length % 2 !== 0) throw new A$1("headers array must be even");
|
|
@@ -27314,17 +27314,17 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27314
27314
|
onResponseStarted() {
|
|
27315
27315
|
return this[G$4].onResponseStarted?.();
|
|
27316
27316
|
}
|
|
27317
|
-
onHeaders(M$2, Y$1, m$5, f$
|
|
27317
|
+
onHeaders(M$2, Y$1, m$5, f$9) {
|
|
27318
27318
|
c$9(!this.aborted), c$9(!this.completed), I$2.headers.hasSubscribers && I$2.headers.publish({
|
|
27319
27319
|
request: this,
|
|
27320
27320
|
response: {
|
|
27321
27321
|
statusCode: M$2,
|
|
27322
27322
|
headers: Y$1,
|
|
27323
|
-
statusText: f$
|
|
27323
|
+
statusText: f$9
|
|
27324
27324
|
}
|
|
27325
27325
|
});
|
|
27326
27326
|
try {
|
|
27327
|
-
return this[G$4].onHeaders(M$2, Y$1, m$5, f$
|
|
27327
|
+
return this[G$4].onHeaders(M$2, Y$1, m$5, f$9);
|
|
27328
27328
|
} catch (n$6) {
|
|
27329
27329
|
this.abort(n$6);
|
|
27330
27330
|
}
|
|
@@ -27372,16 +27372,16 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27372
27372
|
let m$5 = p$3[M$2];
|
|
27373
27373
|
if (m$5 === void 0 && (m$5 = M$2.toLowerCase(), p$3[m$5] === void 0 && !B(m$5))) throw new A$1("invalid header key");
|
|
27374
27374
|
if (Array.isArray(Y$1)) {
|
|
27375
|
-
const f$
|
|
27375
|
+
const f$9 = [];
|
|
27376
27376
|
for (let n$6 = 0; n$6 < Y$1.length; n$6++) if (typeof Y$1[n$6] == "string") {
|
|
27377
27377
|
if (!t$14(Y$1[n$6])) throw new A$1(`invalid ${M$2} header`);
|
|
27378
|
-
f$
|
|
27379
|
-
} else if (Y$1[n$6] === null) f$
|
|
27378
|
+
f$9.push(Y$1[n$6]);
|
|
27379
|
+
} else if (Y$1[n$6] === null) f$9.push("");
|
|
27380
27380
|
else {
|
|
27381
27381
|
if (typeof Y$1[n$6] == "object") throw new A$1(`invalid ${M$2} header`);
|
|
27382
|
-
f$
|
|
27382
|
+
f$9.push(`${Y$1[n$6]}`);
|
|
27383
27383
|
}
|
|
27384
|
-
Y$1 = f$
|
|
27384
|
+
Y$1 = f$9;
|
|
27385
27385
|
} else if (typeof Y$1 == "string") {
|
|
27386
27386
|
if (!t$14(Y$1)) throw new A$1(`invalid ${M$2} header`);
|
|
27387
27387
|
} else Y$1 === null ? Y$1 = "" : Y$1 = `${Y$1}`;
|
|
@@ -27394,9 +27394,9 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27394
27394
|
else {
|
|
27395
27395
|
if (m$5 === "transfer-encoding" || m$5 === "keep-alive" || m$5 === "upgrade") throw new A$1(`invalid ${m$5} header`);
|
|
27396
27396
|
if (m$5 === "connection") {
|
|
27397
|
-
const f$
|
|
27398
|
-
if (f$
|
|
27399
|
-
f$
|
|
27397
|
+
const f$9 = typeof Y$1 == "string" ? Y$1.toLowerCase() : null;
|
|
27398
|
+
if (f$9 !== "close" && f$9 !== "keep-alive") throw new A$1("invalid connection header");
|
|
27399
|
+
f$9 === "close" && (q$2.reset = !0);
|
|
27400
27400
|
} else {
|
|
27401
27401
|
if (m$5 === "expect") throw new k$3("expect header not supported");
|
|
27402
27402
|
q$2.headers.push(M$2, Y$1);
|
|
@@ -27658,14 +27658,14 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27658
27658
|
path: p$3,
|
|
27659
27659
|
...J$2
|
|
27660
27660
|
}, _$4 = new Q$2(I$2 ?? 100);
|
|
27661
|
-
return b$2 = b$2 ?? 1e4, l$4 = l$4 ?? !1, e$7(function({ hostname: M$2, host: Y$1, protocol: m$5, port: f$
|
|
27661
|
+
return b$2 = b$2 ?? 1e4, l$4 = l$4 ?? !1, e$7(function({ hostname: M$2, host: Y$1, protocol: m$5, port: f$9, servername: n$6, localAddress: C$2, httpSocket: w$5 }, S$3) {
|
|
27662
27662
|
let x$3;
|
|
27663
27663
|
if (m$5 === "https:") {
|
|
27664
27664
|
F$4 || (F$4 = require$$5__default), n$6 = n$6 || V$1.servername || c$9.getServerName(Y$1) || null;
|
|
27665
27665
|
const $ = n$6 || M$2;
|
|
27666
27666
|
k$3($);
|
|
27667
27667
|
const K$2 = G$4 || _$4.get($) || null;
|
|
27668
|
-
f$
|
|
27668
|
+
f$9 = f$9 || 443, x$3 = F$4.connect({
|
|
27669
27669
|
highWaterMark: 16384,
|
|
27670
27670
|
...V$1,
|
|
27671
27671
|
servername: n$6,
|
|
@@ -27673,16 +27673,16 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27673
27673
|
localAddress: C$2,
|
|
27674
27674
|
ALPNProtocols: l$4 ? ["http/1.1", "h2"] : ["http/1.1"],
|
|
27675
27675
|
socket: w$5,
|
|
27676
|
-
port: f$
|
|
27676
|
+
port: f$9,
|
|
27677
27677
|
host: M$2
|
|
27678
27678
|
}), x$3.on("session", function(nA) {
|
|
27679
27679
|
_$4.set($, nA);
|
|
27680
27680
|
});
|
|
27681
|
-
} else k$3(!w$5, "httpSocket can only be sent on TLS update"), f$
|
|
27681
|
+
} else k$3(!w$5, "httpSocket can only be sent on TLS update"), f$9 = f$9 || 80, x$3 = A$1.connect({
|
|
27682
27682
|
highWaterMark: 64 * 1024,
|
|
27683
27683
|
...V$1,
|
|
27684
27684
|
localAddress: C$2,
|
|
27685
|
-
port: f$
|
|
27685
|
+
port: f$9,
|
|
27686
27686
|
host: M$2
|
|
27687
27687
|
});
|
|
27688
27688
|
if (V$1.keepAlive == null || V$1.keepAlive) {
|
|
@@ -27692,7 +27692,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27692
27692
|
const z$3 = U$1(new WeakRef(x$3), {
|
|
27693
27693
|
timeout: b$2,
|
|
27694
27694
|
hostname: M$2,
|
|
27695
|
-
port: f$
|
|
27695
|
+
port: f$9
|
|
27696
27696
|
});
|
|
27697
27697
|
return x$3.setNoDelay(!0).once(m$5 === "https:" ? "secureConnect" : "connect", function() {
|
|
27698
27698
|
if (queueMicrotask(z$3), S$3) {
|
|
@@ -28212,14 +28212,14 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28212
28212
|
const A$1 = require$$0__default$1, k$3 = new TextEncoder(), c$9 = /^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/, B = /[\u000A\u000D\u0009\u0020]/, t$14 = /[\u0009\u000A\u000C\u000D\u0020]/g, y$7 = /^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;
|
|
28213
28213
|
function R$5(m$5) {
|
|
28214
28214
|
A$1(m$5.protocol === "data:");
|
|
28215
|
-
let f$
|
|
28216
|
-
f$
|
|
28215
|
+
let f$9 = F$4(m$5, !0);
|
|
28216
|
+
f$9 = f$9.slice(5);
|
|
28217
28217
|
const n$6 = { position: 0 };
|
|
28218
|
-
let C$2 = D$2(",", f$
|
|
28218
|
+
let C$2 = D$2(",", f$9, n$6);
|
|
28219
28219
|
const w$5 = C$2.length;
|
|
28220
|
-
if (C$2 = _$4(C$2, !0, !0), n$6.position >= f$
|
|
28220
|
+
if (C$2 = _$4(C$2, !0, !0), n$6.position >= f$9.length) return "failure";
|
|
28221
28221
|
n$6.position++;
|
|
28222
|
-
let x$3 = U$1(f$
|
|
28222
|
+
let x$3 = U$1(f$9.slice(w$5 + 1));
|
|
28223
28223
|
if (/;(\u0020){0,}base64$/i.test(C$2)) {
|
|
28224
28224
|
if (x$3 = I$2(M$2(x$3)), x$3 === "failure") return "failure";
|
|
28225
28225
|
C$2 = C$2.slice(0, -6), C$2 = C$2.replace(/(\u0020)+$/, ""), C$2 = C$2.slice(0, -1);
|
|
@@ -28232,21 +28232,21 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28232
28232
|
};
|
|
28233
28233
|
}
|
|
28234
28234
|
e$7(R$5, "dataURLProcessor");
|
|
28235
|
-
function F$4(m$5, f$
|
|
28236
|
-
if (!f$
|
|
28235
|
+
function F$4(m$5, f$9 = !1) {
|
|
28236
|
+
if (!f$9) return m$5.href;
|
|
28237
28237
|
const n$6 = m$5.href, C$2 = m$5.hash.length, w$5 = C$2 === 0 ? n$6 : n$6.substring(0, n$6.length - C$2);
|
|
28238
28238
|
return !C$2 && n$6.endsWith("#") ? w$5.slice(0, -1) : w$5;
|
|
28239
28239
|
}
|
|
28240
28240
|
e$7(F$4, "URLSerializer");
|
|
28241
|
-
function Q$2(m$5, f$
|
|
28241
|
+
function Q$2(m$5, f$9, n$6) {
|
|
28242
28242
|
let C$2 = "";
|
|
28243
|
-
for (; n$6.position < f$
|
|
28243
|
+
for (; n$6.position < f$9.length && m$5(f$9[n$6.position]);) C$2 += f$9[n$6.position], n$6.position++;
|
|
28244
28244
|
return C$2;
|
|
28245
28245
|
}
|
|
28246
28246
|
e$7(Q$2, "collectASequenceOfCodePoints");
|
|
28247
|
-
function D$2(m$5, f$
|
|
28248
|
-
const C$2 = f$
|
|
28249
|
-
return C$2 === -1 ? (n$6.position = f$
|
|
28247
|
+
function D$2(m$5, f$9, n$6) {
|
|
28248
|
+
const C$2 = f$9.indexOf(m$5, n$6.position), w$5 = n$6.position;
|
|
28249
|
+
return C$2 === -1 ? (n$6.position = f$9.length, f$9.slice(w$5)) : (n$6.position = C$2, f$9.slice(w$5, n$6.position));
|
|
28250
28250
|
}
|
|
28251
28251
|
e$7(D$2, "collectASequenceOfCodePointsFast");
|
|
28252
28252
|
function U$1(m$5) {
|
|
@@ -28262,21 +28262,21 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28262
28262
|
}
|
|
28263
28263
|
e$7(o$8, "hexByteToNumber");
|
|
28264
28264
|
function N$3(m$5) {
|
|
28265
|
-
const f$
|
|
28265
|
+
const f$9 = m$5.length, n$6 = new Uint8Array(f$9);
|
|
28266
28266
|
let C$2 = 0;
|
|
28267
|
-
for (let w$5 = 0; w$5 < f$
|
|
28267
|
+
for (let w$5 = 0; w$5 < f$9; ++w$5) {
|
|
28268
28268
|
const S$3 = m$5[w$5];
|
|
28269
28269
|
S$3 !== 37 ? n$6[C$2++] = S$3 : S$3 === 37 && !(r$4(m$5[w$5 + 1]) && r$4(m$5[w$5 + 2])) ? n$6[C$2++] = 37 : (n$6[C$2++] = o$8(m$5[w$5 + 1]) << 4 | o$8(m$5[w$5 + 2]), w$5 += 2);
|
|
28270
28270
|
}
|
|
28271
|
-
return f$
|
|
28271
|
+
return f$9 === C$2 ? n$6 : n$6.subarray(0, C$2);
|
|
28272
28272
|
}
|
|
28273
28273
|
e$7(N$3, "percentDecode");
|
|
28274
28274
|
function l$4(m$5) {
|
|
28275
28275
|
m$5 = J$2(m$5, !0, !0);
|
|
28276
|
-
const f$
|
|
28277
|
-
if (n$6.length === 0 || !c$9.test(n$6) || f$
|
|
28278
|
-
f$
|
|
28279
|
-
let C$2 = D$2(";", m$5, f$
|
|
28276
|
+
const f$9 = { position: 0 }, n$6 = D$2("/", m$5, f$9);
|
|
28277
|
+
if (n$6.length === 0 || !c$9.test(n$6) || f$9.position > m$5.length) return "failure";
|
|
28278
|
+
f$9.position++;
|
|
28279
|
+
let C$2 = D$2(";", m$5, f$9);
|
|
28280
28280
|
if (C$2 = J$2(C$2, !1, !0), C$2.length === 0 || !c$9.test(C$2)) return "failure";
|
|
28281
28281
|
const w$5 = n$6.toLowerCase(), S$3 = C$2.toLowerCase(), x$3 = {
|
|
28282
28282
|
type: w$5,
|
|
@@ -28284,17 +28284,17 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28284
28284
|
parameters: /* @__PURE__ */ new Map(),
|
|
28285
28285
|
essence: `${w$5}/${S$3}`
|
|
28286
28286
|
};
|
|
28287
|
-
for (; f$
|
|
28288
|
-
f$
|
|
28289
|
-
let z$3 = Q$2((K$2) => K$2 !== ";" && K$2 !== "=", m$5, f$
|
|
28290
|
-
if (z$3 = z$3.toLowerCase(), f$
|
|
28291
|
-
if (m$5[f$
|
|
28292
|
-
f$
|
|
28293
|
-
}
|
|
28294
|
-
if (f$
|
|
28287
|
+
for (; f$9.position < m$5.length;) {
|
|
28288
|
+
f$9.position++, Q$2((K$2) => B.test(K$2), m$5, f$9);
|
|
28289
|
+
let z$3 = Q$2((K$2) => K$2 !== ";" && K$2 !== "=", m$5, f$9);
|
|
28290
|
+
if (z$3 = z$3.toLowerCase(), f$9.position < m$5.length) {
|
|
28291
|
+
if (m$5[f$9.position] === ";") continue;
|
|
28292
|
+
f$9.position++;
|
|
28293
|
+
}
|
|
28294
|
+
if (f$9.position > m$5.length) break;
|
|
28295
28295
|
let $ = null;
|
|
28296
|
-
if (m$5[f$
|
|
28297
|
-
else if ($ = D$2(";", m$5, f$
|
|
28296
|
+
if (m$5[f$9.position] === "\"") $ = p$3(m$5, f$9, !0), D$2(";", m$5, f$9);
|
|
28297
|
+
else if ($ = D$2(";", m$5, f$9), $ = J$2($, !1, !0), $.length === 0) continue;
|
|
28298
28298
|
z$3.length !== 0 && c$9.test(z$3) && ($.length === 0 || y$7.test($)) && !x$3.parameters.has(z$3) && x$3.parameters.set(z$3, $);
|
|
28299
28299
|
}
|
|
28300
28300
|
return x$3;
|
|
@@ -28302,36 +28302,36 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28302
28302
|
e$7(l$4, "parseMIMEType");
|
|
28303
28303
|
function I$2(m$5) {
|
|
28304
28304
|
m$5 = m$5.replace(t$14, "");
|
|
28305
|
-
let f$
|
|
28306
|
-
if (f$
|
|
28305
|
+
let f$9 = m$5.length;
|
|
28306
|
+
if (f$9 % 4 === 0 && m$5.charCodeAt(f$9 - 1) === 61 && (--f$9, m$5.charCodeAt(f$9 - 1) === 61 && --f$9), f$9 % 4 === 1 || /[^+/0-9A-Za-z]/.test(m$5.length === f$9 ? m$5 : m$5.substring(0, f$9))) return "failure";
|
|
28307
28307
|
const n$6 = Buffer.from(m$5, "base64");
|
|
28308
28308
|
return new Uint8Array(n$6.buffer, n$6.byteOffset, n$6.byteLength);
|
|
28309
28309
|
}
|
|
28310
28310
|
e$7(I$2, "forgivingBase64");
|
|
28311
|
-
function p$3(m$5, f$
|
|
28312
|
-
const C$2 = f$
|
|
28311
|
+
function p$3(m$5, f$9, n$6) {
|
|
28312
|
+
const C$2 = f$9.position;
|
|
28313
28313
|
let w$5 = "";
|
|
28314
|
-
for (A$1(m$5[f$
|
|
28315
|
-
const S$3 = m$5[f$
|
|
28316
|
-
if (f$
|
|
28317
|
-
if (f$
|
|
28314
|
+
for (A$1(m$5[f$9.position] === "\""), f$9.position++; w$5 += Q$2((x$3) => x$3 !== "\"" && x$3 !== "\\", m$5, f$9), !(f$9.position >= m$5.length);) {
|
|
28315
|
+
const S$3 = m$5[f$9.position];
|
|
28316
|
+
if (f$9.position++, S$3 === "\\") {
|
|
28317
|
+
if (f$9.position >= m$5.length) {
|
|
28318
28318
|
w$5 += "\\";
|
|
28319
28319
|
break;
|
|
28320
28320
|
}
|
|
28321
|
-
w$5 += m$5[f$
|
|
28321
|
+
w$5 += m$5[f$9.position], f$9.position++;
|
|
28322
28322
|
} else {
|
|
28323
28323
|
A$1(S$3 === "\"");
|
|
28324
28324
|
break;
|
|
28325
28325
|
}
|
|
28326
28326
|
}
|
|
28327
|
-
return n$6 ? w$5 : m$5.slice(C$2, f$
|
|
28327
|
+
return n$6 ? w$5 : m$5.slice(C$2, f$9.position);
|
|
28328
28328
|
}
|
|
28329
28329
|
e$7(p$3, "collectAnHTTPQuotedString");
|
|
28330
28330
|
function b$2(m$5) {
|
|
28331
28331
|
A$1(m$5 !== "failure");
|
|
28332
|
-
const { parameters: f$
|
|
28332
|
+
const { parameters: f$9, essence: n$6 } = m$5;
|
|
28333
28333
|
let C$2 = n$6;
|
|
28334
|
-
for (let [w$5, S$3] of f$
|
|
28334
|
+
for (let [w$5, S$3] of f$9.entries()) C$2 += ";", C$2 += w$5, C$2 += "=", c$9.test(S$3) || (S$3 = S$3.replace(/(\\|")/g, "\\$1"), S$3 = "\"" + S$3, S$3 += "\""), C$2 += S$3;
|
|
28335
28335
|
return C$2;
|
|
28336
28336
|
}
|
|
28337
28337
|
e$7(b$2, "serializeAMimeType");
|
|
@@ -28339,30 +28339,30 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28339
28339
|
return m$5 === 13 || m$5 === 10 || m$5 === 9 || m$5 === 32;
|
|
28340
28340
|
}
|
|
28341
28341
|
e$7(G$4, "isHTTPWhiteSpace");
|
|
28342
|
-
function J$2(m$5, f$
|
|
28343
|
-
return q$2(m$5, f$
|
|
28342
|
+
function J$2(m$5, f$9 = !0, n$6 = !0) {
|
|
28343
|
+
return q$2(m$5, f$9, n$6, G$4);
|
|
28344
28344
|
}
|
|
28345
28345
|
e$7(J$2, "removeHTTPWhitespace");
|
|
28346
28346
|
function V$1(m$5) {
|
|
28347
28347
|
return m$5 === 13 || m$5 === 10 || m$5 === 9 || m$5 === 12 || m$5 === 32;
|
|
28348
28348
|
}
|
|
28349
28349
|
e$7(V$1, "isASCIIWhitespace");
|
|
28350
|
-
function _$4(m$5, f$
|
|
28351
|
-
return q$2(m$5, f$
|
|
28350
|
+
function _$4(m$5, f$9 = !0, n$6 = !0) {
|
|
28351
|
+
return q$2(m$5, f$9, n$6, V$1);
|
|
28352
28352
|
}
|
|
28353
28353
|
e$7(_$4, "removeASCIIWhitespace");
|
|
28354
|
-
function q$2(m$5, f$
|
|
28354
|
+
function q$2(m$5, f$9, n$6, C$2) {
|
|
28355
28355
|
let w$5 = 0, S$3 = m$5.length - 1;
|
|
28356
|
-
if (f$
|
|
28356
|
+
if (f$9) for (; w$5 < m$5.length && C$2(m$5.charCodeAt(w$5));) w$5++;
|
|
28357
28357
|
if (n$6) for (; S$3 > 0 && C$2(m$5.charCodeAt(S$3));) S$3--;
|
|
28358
28358
|
return w$5 === 0 && S$3 === m$5.length - 1 ? m$5 : m$5.slice(w$5, S$3 + 1);
|
|
28359
28359
|
}
|
|
28360
28360
|
e$7(q$2, "removeChars");
|
|
28361
28361
|
function M$2(m$5) {
|
|
28362
|
-
const f$
|
|
28363
|
-
if (65535 > f$
|
|
28362
|
+
const f$9 = m$5.length;
|
|
28363
|
+
if (65535 > f$9) return String.fromCharCode.apply(null, m$5);
|
|
28364
28364
|
let n$6 = "", C$2 = 0, w$5 = 65535;
|
|
28365
|
-
for (; C$2 < f$
|
|
28365
|
+
for (; C$2 < f$9;) C$2 + w$5 > f$9 && (w$5 = f$9 - C$2), n$6 += String.fromCharCode.apply(null, m$5.subarray(C$2, C$2 += w$5));
|
|
28366
28366
|
return n$6;
|
|
28367
28367
|
}
|
|
28368
28368
|
e$7(M$2, "isomorphicDecode");
|
|
@@ -28697,10 +28697,10 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28697
28697
|
return LA(X$3) && t$14.has(X$3.port) ? "blocked" : "allowed";
|
|
28698
28698
|
}
|
|
28699
28699
|
e$7(m$5, "requestBadPort");
|
|
28700
|
-
function f$
|
|
28700
|
+
function f$9(v$3) {
|
|
28701
28701
|
return v$3 instanceof Error || v$3?.constructor?.name === "Error" || v$3?.constructor?.name === "DOMException";
|
|
28702
28702
|
}
|
|
28703
|
-
e$7(f$
|
|
28703
|
+
e$7(f$9, "isErrorLike");
|
|
28704
28704
|
function n$6(v$3) {
|
|
28705
28705
|
for (let X$3 = 0; X$3 < v$3.length; ++X$3) {
|
|
28706
28706
|
const j$3 = v$3.charCodeAt(X$3);
|
|
@@ -29257,7 +29257,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
29257
29257
|
createIterator: ZA,
|
|
29258
29258
|
isValidHeaderName: C$2,
|
|
29259
29259
|
isValidHeaderValue: w$5,
|
|
29260
|
-
isErrorLike: f$
|
|
29260
|
+
isErrorLike: f$9,
|
|
29261
29261
|
fullyReadBody: se$1,
|
|
29262
29262
|
bytesMatch: gA,
|
|
29263
29263
|
isReadableStreamLike: ne$1,
|
|
@@ -29464,14 +29464,14 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
29464
29464
|
F$4(M$2 !== "failure" && M$2.essence === "multipart/form-data");
|
|
29465
29465
|
const Y$1 = M$2.parameters.get("boundary");
|
|
29466
29466
|
if (Y$1 === void 0) return "failure";
|
|
29467
|
-
const m$5 = Buffer.from(`--${Y$1}`, "utf8"), f$
|
|
29467
|
+
const m$5 = Buffer.from(`--${Y$1}`, "utf8"), f$9 = [], n$6 = { position: 0 };
|
|
29468
29468
|
for (; q$2[n$6.position] === 13 && q$2[n$6.position + 1] === 10;) n$6.position += 2;
|
|
29469
29469
|
let C$2 = q$2.length;
|
|
29470
29470
|
for (; q$2[C$2 - 1] === 10 && q$2[C$2 - 2] === 13;) C$2 -= 2;
|
|
29471
29471
|
for (C$2 !== q$2.length && (q$2 = q$2.subarray(0, C$2));;) {
|
|
29472
29472
|
if (q$2.subarray(n$6.position, n$6.position + m$5.length).equals(m$5)) n$6.position += m$5.length;
|
|
29473
29473
|
else return "failure";
|
|
29474
|
-
if (n$6.position === q$2.length - 2 && _$4(q$2, o$8, n$6) || n$6.position === q$2.length - 4 && _$4(q$2, N$3, n$6)) return f$
|
|
29474
|
+
if (n$6.position === q$2.length - 2 && _$4(q$2, o$8, n$6) || n$6.position === q$2.length - 4 && _$4(q$2, N$3, n$6)) return f$9;
|
|
29475
29475
|
if (q$2[n$6.position] !== 13 || q$2[n$6.position + 1] !== 10) return "failure";
|
|
29476
29476
|
n$6.position += 2;
|
|
29477
29477
|
const w$5 = b$2(q$2, n$6);
|
|
@@ -29487,17 +29487,17 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
29487
29487
|
if (q$2[n$6.position] !== 13 || q$2[n$6.position + 1] !== 10) return "failure";
|
|
29488
29488
|
n$6.position += 2;
|
|
29489
29489
|
let nA;
|
|
29490
|
-
x$3 !== null ? (z$3 ?? (z$3 = "text/plain"), l$4(z$3) || (z$3 = ""), nA = new D$2([K$2], x$3, { type: z$3 })) : nA = c$9(Buffer.from(K$2)), F$4(A$1(S$3)), F$4(typeof nA == "string" && A$1(nA) || y$7(nA)), f$
|
|
29490
|
+
x$3 !== null ? (z$3 ?? (z$3 = "text/plain"), l$4(z$3) || (z$3 = ""), nA = new D$2([K$2], x$3, { type: z$3 })) : nA = c$9(Buffer.from(K$2)), F$4(A$1(S$3)), F$4(typeof nA == "string" && A$1(nA) || y$7(nA)), f$9.push(R$5(S$3, nA, x$3));
|
|
29491
29491
|
}
|
|
29492
29492
|
}
|
|
29493
29493
|
e$7(p$3, "multipartFormDataParser");
|
|
29494
29494
|
function b$2(q$2, M$2) {
|
|
29495
|
-
let Y$1 = null, m$5 = null, f$
|
|
29495
|
+
let Y$1 = null, m$5 = null, f$9 = null, n$6 = null;
|
|
29496
29496
|
for (;;) {
|
|
29497
29497
|
if (q$2[M$2.position] === 13 && q$2[M$2.position + 1] === 10) return Y$1 === null ? "failure" : {
|
|
29498
29498
|
name: Y$1,
|
|
29499
29499
|
filename: m$5,
|
|
29500
|
-
contentType: f$
|
|
29500
|
+
contentType: f$9,
|
|
29501
29501
|
encoding: n$6
|
|
29502
29502
|
};
|
|
29503
29503
|
let C$2 = J$2((w$5) => w$5 !== 10 && w$5 !== 13 && w$5 !== 58, q$2, M$2);
|
|
@@ -29512,7 +29512,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
29512
29512
|
break;
|
|
29513
29513
|
case "content-type": {
|
|
29514
29514
|
let w$5 = J$2((S$3) => S$3 !== 10 && S$3 !== 13, q$2, M$2);
|
|
29515
|
-
w$5 = V$1(w$5, !1, !0, (S$3) => S$3 === 9 || S$3 === 32), f$
|
|
29515
|
+
w$5 = V$1(w$5, !1, !0, (S$3) => S$3 === 9 || S$3 === 32), f$9 = t$14(w$5);
|
|
29516
29516
|
break;
|
|
29517
29517
|
}
|
|
29518
29518
|
case "content-transfer-encoding": {
|
|
@@ -29541,10 +29541,10 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
29541
29541
|
}
|
|
29542
29542
|
e$7(J$2, "collectASequenceOfBytes");
|
|
29543
29543
|
function V$1(q$2, M$2, Y$1, m$5) {
|
|
29544
|
-
let f$
|
|
29545
|
-
if (M$2) for (; f$
|
|
29544
|
+
let f$9 = 0, n$6 = q$2.length - 1;
|
|
29545
|
+
if (M$2) for (; f$9 < q$2.length && m$5(q$2[f$9]);) f$9++;
|
|
29546
29546
|
for (; n$6 > 0 && m$5(q$2[n$6]);) n$6--;
|
|
29547
|
-
return f$
|
|
29547
|
+
return f$9 === 0 && n$6 === q$2.length - 1 ? q$2 : q$2.subarray(f$9, n$6 + 1);
|
|
29548
29548
|
}
|
|
29549
29549
|
e$7(V$1, "removeChars");
|
|
29550
29550
|
function _$4(q$2, M$2, Y$1) {
|
|
@@ -29659,7 +29659,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
29659
29659
|
return K$2 instanceof ReadableStream && (N$3(!A$1.isDisturbed(K$2), "The body has already been consumed."), N$3(!K$2.locked, "The stream is locked.")), Y$1(K$2, nA);
|
|
29660
29660
|
}
|
|
29661
29661
|
e$7(m$5, "safelyExtractBody");
|
|
29662
|
-
function f$
|
|
29662
|
+
function f$9(K$2, nA) {
|
|
29663
29663
|
const [iA, uA] = nA.stream.tee();
|
|
29664
29664
|
return q$2 && M$2.register(K$2, new WeakRef(iA)), nA.stream = iA, {
|
|
29665
29665
|
stream: uA,
|
|
@@ -29667,7 +29667,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
29667
29667
|
source: nA.source
|
|
29668
29668
|
};
|
|
29669
29669
|
}
|
|
29670
|
-
e$7(f$
|
|
29670
|
+
e$7(f$9, "cloneBody");
|
|
29671
29671
|
function n$6(K$2) {
|
|
29672
29672
|
if (K$2.aborted) throw new DOMException("The operation was aborted.", "AbortError");
|
|
29673
29673
|
}
|
|
@@ -29747,7 +29747,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
29747
29747
|
return e$7($, "bodyMimeType"), body = {
|
|
29748
29748
|
extractBody: Y$1,
|
|
29749
29749
|
safelyExtractBody: m$5,
|
|
29750
|
-
cloneBody: f$
|
|
29750
|
+
cloneBody: f$9,
|
|
29751
29751
|
mixinBody: w$5,
|
|
29752
29752
|
streamRegistry: M$2,
|
|
29753
29753
|
hasFinalizationRegistry: q$2,
|
|
@@ -29759,7 +29759,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
29759
29759
|
function requireClientH1() {
|
|
29760
29760
|
if (hasRequiredClientH1) return clientH1;
|
|
29761
29761
|
hasRequiredClientH1 = 1;
|
|
29762
|
-
const A$1 = require$$0__default$1, k$3 = requireUtil$7(), { channels: c$9 } = requireDiagnostics(), B = requireTimers(), { RequestContentLengthMismatchError: t$14, ResponseContentLengthMismatchError: y$7, RequestAbortedError: R$5, HeadersTimeoutError: F$4, HeadersOverflowError: Q$2, SocketError: D$2, InformationalError: U$1, BodyTimeoutError: r$4, HTTPParserError: o$8, ResponseExceededMaxSizeError: N$3 } = requireErrors(), { kUrl: l$4, kReset: I$2, kClient: p$3, kParser: b$2, kBlocking: G$4, kRunning: J$2, kPending: V$1, kSize: _$4, kWriting: q$2, kQueue: M$2, kNoRef: Y$1, kKeepAliveDefaultTimeout: m$5, kHostHeader: f$
|
|
29762
|
+
const A$1 = require$$0__default$1, k$3 = requireUtil$7(), { channels: c$9 } = requireDiagnostics(), B = requireTimers(), { RequestContentLengthMismatchError: t$14, ResponseContentLengthMismatchError: y$7, RequestAbortedError: R$5, HeadersTimeoutError: F$4, HeadersOverflowError: Q$2, SocketError: D$2, InformationalError: U$1, BodyTimeoutError: r$4, HTTPParserError: o$8, ResponseExceededMaxSizeError: N$3 } = requireErrors(), { kUrl: l$4, kReset: I$2, kClient: p$3, kParser: b$2, kBlocking: G$4, kRunning: J$2, kPending: V$1, kSize: _$4, kWriting: q$2, kQueue: M$2, kNoRef: Y$1, kKeepAliveDefaultTimeout: m$5, kHostHeader: f$9, kPendingIdx: n$6, kRunningIdx: C$2, kError: w$5, kPipelining: S$3, kSocket: x$3, kKeepAliveTimeoutValue: z$3, kMaxHeadersSize: $, kKeepAliveMaxTimeout: K$2, kKeepAliveTimeoutThreshold: nA, kHeadersTimeout: iA, kBodyTimeout: uA, kStrictContentLength: RA, kMaxRequests: IA, kCounter: CA, kMaxResponseSize: pA, kOnError: fA, kResume: kA, kHTTPContext: bA } = requireSymbols$4(), gA = requireConstants$3(), DA = Buffer.alloc(0), oA = Buffer[Symbol.species], aA = k$3.addListener, EA = k$3.removeAllListeners;
|
|
29763
29763
|
let sA;
|
|
29764
29764
|
async function NA() {
|
|
29765
29765
|
const GA = process.env.JEST_WORKER_ID ? requireLlhttpWasm() : void 0;
|
|
@@ -30044,7 +30044,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
30044
30044
|
let FA = `${lA} ${BA} HTTP/1.1\r
|
|
30045
30045
|
`;
|
|
30046
30046
|
if (typeof hA == "string" ? FA += `host: ${hA}\r
|
|
30047
|
-
` : FA += GA[f$
|
|
30047
|
+
` : FA += GA[f$9], MA ? FA += `connection: upgrade\r
|
|
30048
30048
|
upgrade: ${MA}\r
|
|
30049
30049
|
` : GA[S$3] && !tA[I$2] ? FA += `connection: keep-alive\r
|
|
30050
30050
|
` : FA += `connection: close\r
|
|
@@ -30218,7 +30218,7 @@ ${AA.toString(16)}\r
|
|
|
30218
30218
|
if (hasRequiredClientH2) return clientH2;
|
|
30219
30219
|
hasRequiredClientH2 = 1;
|
|
30220
30220
|
const A$1 = require$$0__default$1, { pipeline: k$3 } = Stream__default, c$9 = requireUtil$7(), { RequestContentLengthMismatchError: B, RequestAbortedError: t$14, SocketError: y$7, InformationalError: R$5 } = requireErrors(), { kUrl: F$4, kReset: Q$2, kClient: D$2, kRunning: U$1, kPending: r$4, kQueue: o$8, kPendingIdx: N$3, kRunningIdx: l$4, kError: I$2, kSocket: p$3, kStrictContentLength: b$2, kOnError: G$4, kMaxConcurrentStreams: J$2, kHTTP2Session: V$1, kResume: _$4, kSize: q$2, kHTTPContext: M$2 } = requireSymbols$4(), Y$1 = Symbol("open streams");
|
|
30221
|
-
let m$5, f$
|
|
30221
|
+
let m$5, f$9 = !1, n$6;
|
|
30222
30222
|
try {
|
|
30223
30223
|
n$6 = __require("node:http2");
|
|
30224
30224
|
} catch {
|
|
@@ -30233,7 +30233,7 @@ ${AA.toString(16)}\r
|
|
|
30233
30233
|
}
|
|
30234
30234
|
e$7(nA, "parseH2Headers");
|
|
30235
30235
|
async function iA(aA, EA) {
|
|
30236
|
-
aA[p$3] = EA, f$
|
|
30236
|
+
aA[p$3] = EA, f$9 || (f$9 = !0, process.emitWarning("H2 support is experimental, expect them to change at any time.", { code: "UNDICI-H2" }));
|
|
30237
30237
|
const sA = n$6.connect(aA[F$4], {
|
|
30238
30238
|
createConnection: e$7(() => EA, "createConnection"),
|
|
30239
30239
|
peerMaxConcurrentStreams: aA[J$2]
|
|
@@ -30561,7 +30561,7 @@ ${AA.toString(16)}\r
|
|
|
30561
30561
|
function requireClient() {
|
|
30562
30562
|
if (hasRequiredClient) return client;
|
|
30563
30563
|
hasRequiredClient = 1;
|
|
30564
|
-
const A$1 = require$$0__default$1, k$3 = require$$0__default$2, c$9 = http__default, B = requireUtil$7(), { channels: t$14 } = requireDiagnostics(), y$7 = requireRequest$1(), R$5 = requireDispatcherBase(), { InvalidArgumentError: F$4, InformationalError: Q$2, ClientDestroyedError: D$2 } = requireErrors(), U$1 = requireConnect(), { kUrl: r$4, kServerName: o$8, kClient: N$3, kBusy: l$4, kConnect: I$2, kResuming: p$3, kRunning: b$2, kPending: G$4, kSize: J$2, kQueue: V$1, kConnected: _$4, kConnecting: q$2, kNeedDrain: M$2, kKeepAliveDefaultTimeout: Y$1, kHostHeader: m$5, kPendingIdx: f$
|
|
30564
|
+
const A$1 = require$$0__default$1, k$3 = require$$0__default$2, c$9 = http__default, B = requireUtil$7(), { channels: t$14 } = requireDiagnostics(), y$7 = requireRequest$1(), R$5 = requireDispatcherBase(), { InvalidArgumentError: F$4, InformationalError: Q$2, ClientDestroyedError: D$2 } = requireErrors(), U$1 = requireConnect(), { kUrl: r$4, kServerName: o$8, kClient: N$3, kBusy: l$4, kConnect: I$2, kResuming: p$3, kRunning: b$2, kPending: G$4, kSize: J$2, kQueue: V$1, kConnected: _$4, kConnecting: q$2, kNeedDrain: M$2, kKeepAliveDefaultTimeout: Y$1, kHostHeader: m$5, kPendingIdx: f$9, kRunningIdx: n$6, kError: C$2, kPipelining: w$5, kKeepAliveTimeoutValue: S$3, kMaxHeadersSize: x$3, kKeepAliveMaxTimeout: z$3, kKeepAliveTimeoutThreshold: $, kHeadersTimeout: K$2, kBodyTimeout: nA, kStrictContentLength: iA, kConnector: uA, kMaxRedirections: RA, kMaxRequests: IA, kCounter: CA, kClose: pA, kDestroy: fA, kDispatch: kA, kInterceptors: bA, kLocalAddress: gA, kMaxResponseSize: DA, kOnError: oA, kHTTPContext: aA, kMaxConcurrentStreams: EA, kResume: sA } = requireSymbols$4(), NA = requireClientH1(), wA = requireClientH2();
|
|
30565
30565
|
let vA = !1;
|
|
30566
30566
|
const dA = Symbol("kClosedResolve"), XA = e$7(() => {}, "noop");
|
|
30567
30567
|
function KA(QA) {
|
|
@@ -30603,7 +30603,7 @@ ${AA.toString(16)}\r
|
|
|
30603
30603
|
} : void 0,
|
|
30604
30604
|
...v$3
|
|
30605
30605
|
})), cA?.Client && Array.isArray(cA.Client) ? (this[bA] = cA.Client, vA || (vA = !0, process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.", { code: "UNDICI-CLIENT-INTERCEPTOR-DEPRECATED" }))) : this[bA] = [PA({ maxRedirections: AA })], this[r$4] = B.parseOrigin(W$1), this[uA] = v$3, this[w$5] = MA ?? 1, this[x$3] = yA || c$9.maxHeaderSize, this[Y$1] = GA ?? 4e3, this[z$3] = lA ?? 6e5, this[$] = BA ?? 2e3, this[S$3] = this[Y$1], this[o$8] = null, this[gA] = j$3 ?? null, this[p$3] = 0, this[M$2] = 0, this[m$5] = `host: ${this[r$4].hostname}${this[r$4].port ? `:${this[r$4].port}` : ""}\r
|
|
30606
|
-
`, this[nA] = ie$1 ?? 3e5, this[K$2] = LA ?? 3e5, this[iA] = zA ?? !0, this[RA] = AA, this[IA] = X$3, this[dA] = null, this[DA] = tA > -1 ? tA : -1, this[EA] = TA ?? 100, this[aA] = null, this[V$1] = [], this[n$6] = 0, this[f$
|
|
30606
|
+
`, this[nA] = ie$1 ?? 3e5, this[K$2] = LA ?? 3e5, this[iA] = zA ?? !0, this[RA] = AA, this[IA] = X$3, this[dA] = null, this[DA] = tA > -1 ? tA : -1, this[EA] = TA ?? 100, this[aA] = null, this[V$1] = [], this[n$6] = 0, this[f$9] = 0, this[sA] = (YA) => ne$1(this, YA), this[oA] = (YA) => ZA(this, YA);
|
|
30607
30607
|
}
|
|
30608
30608
|
get pipelining() {
|
|
30609
30609
|
return this[w$5];
|
|
@@ -30612,10 +30612,10 @@ ${AA.toString(16)}\r
|
|
|
30612
30612
|
this[w$5] = W$1, this[sA](!0);
|
|
30613
30613
|
}
|
|
30614
30614
|
get [G$4]() {
|
|
30615
|
-
return this[V$1].length - this[f$
|
|
30615
|
+
return this[V$1].length - this[f$9];
|
|
30616
30616
|
}
|
|
30617
30617
|
get [b$2]() {
|
|
30618
|
-
return this[f$
|
|
30618
|
+
return this[f$9] - this[n$6];
|
|
30619
30619
|
}
|
|
30620
30620
|
get [J$2]() {
|
|
30621
30621
|
return this[V$1].length - this[n$6];
|
|
@@ -30640,7 +30640,7 @@ ${AA.toString(16)}\r
|
|
|
30640
30640
|
}
|
|
30641
30641
|
async [fA](W$1) {
|
|
30642
30642
|
return new Promise((cA) => {
|
|
30643
|
-
const yA = this[V$1].splice(this[f$
|
|
30643
|
+
const yA = this[V$1].splice(this[f$9]);
|
|
30644
30644
|
for (let JA = 0; JA < yA.length; JA++) {
|
|
30645
30645
|
const WA = yA[JA];
|
|
30646
30646
|
B.errorRequest(this, WA, W$1);
|
|
@@ -30657,7 +30657,7 @@ ${AA.toString(16)}\r
|
|
|
30657
30657
|
const PA = requireRedirectInterceptor();
|
|
30658
30658
|
function ZA(QA, W$1) {
|
|
30659
30659
|
if (QA[b$2] === 0 && W$1.code !== "UND_ERR_INFO" && W$1.code !== "UND_ERR_SOCKET") {
|
|
30660
|
-
A$1(QA[f$
|
|
30660
|
+
A$1(QA[f$9] === QA[n$6]);
|
|
30661
30661
|
const cA = QA[V$1].splice(QA[n$6]);
|
|
30662
30662
|
for (let yA = 0; yA < cA.length; yA++) {
|
|
30663
30663
|
const LA = cA[yA];
|
|
@@ -30738,8 +30738,8 @@ ${AA.toString(16)}\r
|
|
|
30738
30738
|
},
|
|
30739
30739
|
connector: QA[uA],
|
|
30740
30740
|
error: JA
|
|
30741
|
-
}), JA.code === "ERR_TLS_CERT_ALTNAME_INVALID") for (A$1(QA[b$2] === 0); QA[G$4] > 0 && QA[V$1][QA[f$
|
|
30742
|
-
const WA = QA[V$1][QA[f$
|
|
30741
|
+
}), JA.code === "ERR_TLS_CERT_ALTNAME_INVALID") for (A$1(QA[b$2] === 0); QA[G$4] > 0 && QA[V$1][QA[f$9]].servername === QA[o$8];) {
|
|
30742
|
+
const WA = QA[V$1][QA[f$9]++];
|
|
30743
30743
|
B.errorRequest(QA, WA, JA);
|
|
30744
30744
|
}
|
|
30745
30745
|
else ZA(QA, JA);
|
|
@@ -30753,7 +30753,7 @@ ${AA.toString(16)}\r
|
|
|
30753
30753
|
}
|
|
30754
30754
|
e$7(se$1, "emitDrain");
|
|
30755
30755
|
function ne$1(QA, W$1) {
|
|
30756
|
-
QA[p$3] !== 2 && (QA[p$3] = 2, jA(QA, W$1), QA[p$3] = 0, QA[n$6] > 256 && (QA[V$1].splice(0, QA[n$6]), QA[f$
|
|
30756
|
+
QA[p$3] !== 2 && (QA[p$3] = 2, jA(QA, W$1), QA[p$3] = 0, QA[n$6] > 256 && (QA[V$1].splice(0, QA[n$6]), QA[f$9] -= QA[n$6], QA[n$6] = 0));
|
|
30757
30757
|
}
|
|
30758
30758
|
e$7(ne$1, "resume");
|
|
30759
30759
|
function jA(QA, W$1) {
|
|
@@ -30772,7 +30772,7 @@ ${AA.toString(16)}\r
|
|
|
30772
30772
|
continue;
|
|
30773
30773
|
}
|
|
30774
30774
|
if (QA[G$4] === 0 || QA[b$2] >= (KA(QA) || 1)) return;
|
|
30775
|
-
const cA = QA[V$1][QA[f$
|
|
30775
|
+
const cA = QA[V$1][QA[f$9]];
|
|
30776
30776
|
if (QA[r$4].protocol === "https:" && QA[o$8] !== cA.servername) {
|
|
30777
30777
|
if (QA[b$2] > 0) return;
|
|
30778
30778
|
QA[o$8] = cA.servername, QA[aA]?.destroy(new Q$2("servername changed"), () => {
|
|
@@ -30785,7 +30785,7 @@ ${AA.toString(16)}\r
|
|
|
30785
30785
|
return;
|
|
30786
30786
|
}
|
|
30787
30787
|
if (QA[aA].destroyed || QA[aA].busy(cA)) return;
|
|
30788
|
-
!cA.aborted && QA[aA].write(cA) ? QA[f$
|
|
30788
|
+
!cA.aborted && QA[aA].write(cA) ? QA[f$9]++ : QA[V$1].splice(QA[f$9], 1);
|
|
30789
30789
|
}
|
|
30790
30790
|
}
|
|
30791
30791
|
return e$7(jA, "_resume"), client = OA, client;
|
|
@@ -30969,7 +30969,7 @@ ${AA.toString(16)}\r
|
|
|
30969
30969
|
}
|
|
30970
30970
|
e$7(l$4, "defaultFactory");
|
|
30971
30971
|
const p$3 = class p$4 extends A$1 {
|
|
30972
|
-
constructor(G$4, { connections: J$2, factory: V$1 = l$4, connect: _$4, connectTimeout: q$2, tls: M$2, maxCachedSessions: Y$1, socketPath: m$5, autoSelectFamily: f$
|
|
30972
|
+
constructor(G$4, { connections: J$2, factory: V$1 = l$4, connect: _$4, connectTimeout: q$2, tls: M$2, maxCachedSessions: Y$1, socketPath: m$5, autoSelectFamily: f$9, autoSelectFamilyAttemptTimeout: n$6, allowH2: C$2, ...w$5 } = {}) {
|
|
30973
30973
|
if (super(), J$2 != null && (!Number.isFinite(J$2) || J$2 < 0)) throw new R$5("invalid connections");
|
|
30974
30974
|
if (typeof V$1 != "function") throw new R$5("factory must be a function.");
|
|
30975
30975
|
if (_$4 != null && typeof _$4 != "function" && typeof _$4 != "object") throw new R$5("connect must be a function or an object");
|
|
@@ -30979,8 +30979,8 @@ ${AA.toString(16)}\r
|
|
|
30979
30979
|
allowH2: C$2,
|
|
30980
30980
|
socketPath: m$5,
|
|
30981
30981
|
timeout: q$2,
|
|
30982
|
-
...f$
|
|
30983
|
-
autoSelectFamily: f$
|
|
30982
|
+
...f$9 ? {
|
|
30983
|
+
autoSelectFamily: f$9,
|
|
30984
30984
|
autoSelectFamilyAttemptTimeout: n$6
|
|
30985
30985
|
} : void 0,
|
|
30986
30986
|
..._$4
|
|
@@ -31015,8 +31015,8 @@ ${AA.toString(16)}\r
|
|
|
31015
31015
|
function V$1(Y$1, m$5) {
|
|
31016
31016
|
if (Y$1 === 0) return m$5;
|
|
31017
31017
|
for (; m$5 !== 0;) {
|
|
31018
|
-
const f$
|
|
31019
|
-
m$5 = Y$1 % m$5, Y$1 = f$
|
|
31018
|
+
const f$9 = m$5;
|
|
31019
|
+
m$5 = Y$1 % m$5, Y$1 = f$9;
|
|
31020
31020
|
}
|
|
31021
31021
|
return Y$1;
|
|
31022
31022
|
}
|
|
@@ -31026,16 +31026,16 @@ ${AA.toString(16)}\r
|
|
|
31026
31026
|
}
|
|
31027
31027
|
e$7(_$4, "defaultFactory");
|
|
31028
31028
|
const M$2 = class M$3 extends c$9 {
|
|
31029
|
-
constructor(m$5 = [], { factory: f$
|
|
31030
|
-
if (super(), this[N$3] = n$6, this[p$3] = -1, this[I$2] = 0, this[G$4] = this[N$3].maxWeightPerServer || 100, this[J$2] = this[N$3].errorPenalty || 15, Array.isArray(m$5) || (m$5 = [m$5]), typeof f$
|
|
31031
|
-
this[U$1] = n$6.interceptors?.BalancedPool && Array.isArray(n$6.interceptors.BalancedPool) ? n$6.interceptors.BalancedPool : [], this[o$8] = f$
|
|
31029
|
+
constructor(m$5 = [], { factory: f$9 = _$4, ...n$6 } = {}) {
|
|
31030
|
+
if (super(), this[N$3] = n$6, this[p$3] = -1, this[I$2] = 0, this[G$4] = this[N$3].maxWeightPerServer || 100, this[J$2] = this[N$3].errorPenalty || 15, Array.isArray(m$5) || (m$5 = [m$5]), typeof f$9 != "function") throw new k$3("factory must be a function.");
|
|
31031
|
+
this[U$1] = n$6.interceptors?.BalancedPool && Array.isArray(n$6.interceptors.BalancedPool) ? n$6.interceptors.BalancedPool : [], this[o$8] = f$9;
|
|
31032
31032
|
for (const C$2 of m$5) this.addUpstream(C$2);
|
|
31033
31033
|
this._updateBalancedPoolStats();
|
|
31034
31034
|
}
|
|
31035
31035
|
addUpstream(m$5) {
|
|
31036
|
-
const f$
|
|
31037
|
-
if (this[B].find((C$2) => C$2[D$2].origin === f$
|
|
31038
|
-
const n$6 = this[o$8](f$
|
|
31036
|
+
const f$9 = r$4(m$5).origin;
|
|
31037
|
+
if (this[B].find((C$2) => C$2[D$2].origin === f$9 && C$2.closed !== !0 && C$2.destroyed !== !0)) return this;
|
|
31038
|
+
const n$6 = this[o$8](f$9, Object.assign({}, this[N$3]));
|
|
31039
31039
|
this[y$7](n$6), n$6.on("connect", () => {
|
|
31040
31040
|
n$6[b$2] = Math.min(this[G$4], n$6[b$2] + this[J$2]);
|
|
31041
31041
|
}), n$6.on("connectionError", () => {
|
|
@@ -31049,11 +31049,11 @@ ${AA.toString(16)}\r
|
|
|
31049
31049
|
}
|
|
31050
31050
|
_updateBalancedPoolStats() {
|
|
31051
31051
|
let m$5 = 0;
|
|
31052
|
-
for (let f$
|
|
31052
|
+
for (let f$9 = 0; f$9 < this[B].length; f$9++) m$5 = V$1(this[B][f$9][b$2], m$5);
|
|
31053
31053
|
this[l$4] = m$5;
|
|
31054
31054
|
}
|
|
31055
31055
|
removeUpstream(m$5) {
|
|
31056
|
-
const f$
|
|
31056
|
+
const f$9 = r$4(m$5).origin, n$6 = this[B].find((C$2) => C$2[D$2].origin === f$9 && C$2.closed !== !0 && C$2.destroyed !== !0);
|
|
31057
31057
|
return n$6 && this[R$5](n$6), this;
|
|
31058
31058
|
}
|
|
31059
31059
|
get upstreams() {
|
|
@@ -31085,14 +31085,14 @@ ${AA.toString(16)}\r
|
|
|
31085
31085
|
}
|
|
31086
31086
|
e$7(J$2, "defaultFactory");
|
|
31087
31087
|
const _$4 = class _$5 extends F$4 {
|
|
31088
|
-
constructor({ factory: M$2 = J$2, maxRedirections: Y$1 = 0, connect: m$5, ...f$
|
|
31088
|
+
constructor({ factory: M$2 = J$2, maxRedirections: Y$1 = 0, connect: m$5, ...f$9 } = {}) {
|
|
31089
31089
|
if (super(), typeof M$2 != "function") throw new A$1("factory must be a function.");
|
|
31090
31090
|
if (m$5 != null && typeof m$5 != "function" && typeof m$5 != "object") throw new A$1("connect must be a function or an object");
|
|
31091
31091
|
if (!Number.isInteger(Y$1) || Y$1 < 0) throw new A$1("maxRedirections must be a positive number");
|
|
31092
|
-
m$5 && typeof m$5 != "function" && (m$5 = { ...m$5 }), this[R$5] = f$
|
|
31093
|
-
...U$1.deepClone(f$
|
|
31092
|
+
m$5 && typeof m$5 != "function" && (m$5 = { ...m$5 }), this[R$5] = f$9.interceptors?.Agent && Array.isArray(f$9.interceptors.Agent) ? f$9.interceptors.Agent : [r$4({ maxRedirections: Y$1 })], this[G$4] = {
|
|
31093
|
+
...U$1.deepClone(f$9),
|
|
31094
31094
|
connect: m$5
|
|
31095
|
-
}, this[G$4].interceptors = f$
|
|
31095
|
+
}, this[G$4].interceptors = f$9.interceptors ? { ...f$9.interceptors } : void 0, this[I$2] = Y$1, this[b$2] = M$2, this[k$3] = /* @__PURE__ */ new Map(), this[p$3] = (n$6, C$2) => {
|
|
31096
31096
|
this.emit("drain", n$6, [this, ...C$2]);
|
|
31097
31097
|
}, this[o$8] = (n$6, C$2) => {
|
|
31098
31098
|
this.emit("connect", n$6, [this, ...C$2]);
|
|
@@ -31111,8 +31111,8 @@ ${AA.toString(16)}\r
|
|
|
31111
31111
|
let m$5;
|
|
31112
31112
|
if (M$2.origin && (typeof M$2.origin == "string" || M$2.origin instanceof URL)) m$5 = String(M$2.origin);
|
|
31113
31113
|
else throw new A$1("opts.origin must be a non-empty string or URL.");
|
|
31114
|
-
let f$
|
|
31115
|
-
return f$
|
|
31114
|
+
let f$9 = this[k$3].get(m$5);
|
|
31115
|
+
return f$9 || (f$9 = this[b$2](M$2.origin, this[G$4]).on("drain", this[p$3]).on("connect", this[o$8]).on("disconnect", this[N$3]).on("connectionError", this[l$4]), this[k$3].set(m$5, f$9)), f$9.dispatch(M$2, Y$1);
|
|
31116
31116
|
}
|
|
31117
31117
|
async [B]() {
|
|
31118
31118
|
const M$2 = [];
|
|
@@ -31143,7 +31143,7 @@ ${AA.toString(16)}\r
|
|
|
31143
31143
|
return new R$5(n$6, C$2);
|
|
31144
31144
|
}
|
|
31145
31145
|
e$7(J$2, "defaultFactory");
|
|
31146
|
-
const V$1 = e$7(() => {}, "noop"), f$
|
|
31146
|
+
const V$1 = e$7(() => {}, "noop"), f$9 = class f$10 extends F$4 {
|
|
31147
31147
|
constructor(w$5) {
|
|
31148
31148
|
super();
|
|
31149
31149
|
SA(this, Y$1);
|
|
@@ -31210,8 +31210,8 @@ ${AA.toString(16)}\r
|
|
|
31210
31210
|
};
|
|
31211
31211
|
Y$1 = /* @__PURE__ */ new WeakSet(), Je$1 = e$7(function(w$5) {
|
|
31212
31212
|
return typeof w$5 == "string" ? new t$14(w$5) : w$5 instanceof t$14 ? w$5 : new t$14(w$5.uri);
|
|
31213
|
-
}, "#getUrl"), e$7(f$
|
|
31214
|
-
let _$4 = f$
|
|
31213
|
+
}, "#getUrl"), e$7(f$9, "ProxyAgent");
|
|
31214
|
+
let _$4 = f$9;
|
|
31215
31215
|
function q$2(n$6) {
|
|
31216
31216
|
if (Array.isArray(n$6)) {
|
|
31217
31217
|
const C$2 = {};
|
|
@@ -31238,14 +31238,14 @@ ${AA.toString(16)}\r
|
|
|
31238
31238
|
};
|
|
31239
31239
|
let o$8 = !1;
|
|
31240
31240
|
const M$2 = class M$3 extends A$1 {
|
|
31241
|
-
constructor(f$
|
|
31241
|
+
constructor(f$9 = {}) {
|
|
31242
31242
|
super();
|
|
31243
31243
|
SA(this, b$2);
|
|
31244
31244
|
SA(this, l$4, null);
|
|
31245
31245
|
SA(this, I$2, null);
|
|
31246
31246
|
SA(this, p$3, null);
|
|
31247
|
-
mA(this, p$3, f$
|
|
31248
|
-
const { httpProxy: n$6, httpsProxy: C$2, noProxy: w$5, ...S$3 } = f$
|
|
31247
|
+
mA(this, p$3, f$9), o$8 || (o$8 = !0, process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { code: "UNDICI-EHPA" }));
|
|
31248
|
+
const { httpProxy: n$6, httpsProxy: C$2, noProxy: w$5, ...S$3 } = f$9;
|
|
31249
31249
|
this[R$5] = new U$1(S$3);
|
|
31250
31250
|
const x$3 = n$6 ?? process.env.http_proxy ?? process.env.HTTP_PROXY;
|
|
31251
31251
|
x$3 ? this[F$4] = new D$2({
|
|
@@ -31258,34 +31258,34 @@ ${AA.toString(16)}\r
|
|
|
31258
31258
|
uri: z$3
|
|
31259
31259
|
}) : this[Q$2] = this[F$4], ee(this, b$2, Ne$1).call(this);
|
|
31260
31260
|
}
|
|
31261
|
-
[y$7](f$
|
|
31262
|
-
const C$2 = new URL(f$
|
|
31263
|
-
return ee(this, b$2, ve$1).call(this, C$2).dispatch(f$
|
|
31261
|
+
[y$7](f$9, n$6) {
|
|
31262
|
+
const C$2 = new URL(f$9.origin);
|
|
31263
|
+
return ee(this, b$2, ve$1).call(this, C$2).dispatch(f$9, n$6);
|
|
31264
31264
|
}
|
|
31265
31265
|
async [k$3]() {
|
|
31266
31266
|
await this[R$5].close(), this[F$4][B] || await this[F$4].close(), this[Q$2][B] || await this[Q$2].close();
|
|
31267
31267
|
}
|
|
31268
|
-
async [c$9](f$
|
|
31269
|
-
await this[R$5].destroy(f$
|
|
31268
|
+
async [c$9](f$9) {
|
|
31269
|
+
await this[R$5].destroy(f$9), this[F$4][t$14] || await this[F$4].destroy(f$9), this[Q$2][t$14] || await this[Q$2].destroy(f$9);
|
|
31270
31270
|
}
|
|
31271
31271
|
};
|
|
31272
|
-
l$4 = /* @__PURE__ */ new WeakMap(), I$2 = /* @__PURE__ */ new WeakMap(), p$3 = /* @__PURE__ */ new WeakMap(), b$2 = /* @__PURE__ */ new WeakSet(), ve$1 = e$7(function(f$
|
|
31273
|
-
let { protocol: n$6, host: C$2, port: w$5 } = f$
|
|
31272
|
+
l$4 = /* @__PURE__ */ new WeakMap(), I$2 = /* @__PURE__ */ new WeakMap(), p$3 = /* @__PURE__ */ new WeakMap(), b$2 = /* @__PURE__ */ new WeakSet(), ve$1 = e$7(function(f$9) {
|
|
31273
|
+
let { protocol: n$6, host: C$2, port: w$5 } = f$9;
|
|
31274
31274
|
return C$2 = C$2.replace(/:\d*$/, "").toLowerCase(), w$5 = Number.parseInt(w$5, 10) || r$4[n$6] || 0, ee(this, b$2, He$1).call(this, C$2, w$5) ? n$6 === "https:" ? this[Q$2] : this[F$4] : this[R$5];
|
|
31275
|
-
}, "#getProxyAgentForUrl"), He$1 = e$7(function(f$
|
|
31275
|
+
}, "#getProxyAgentForUrl"), He$1 = e$7(function(f$9, n$6) {
|
|
31276
31276
|
if (Z(this, b$2, Ve$1) && ee(this, b$2, Ne$1).call(this), Z(this, I$2).length === 0) return !0;
|
|
31277
31277
|
if (Z(this, l$4) === "*") return !1;
|
|
31278
31278
|
for (let C$2 = 0; C$2 < Z(this, I$2).length; C$2++) {
|
|
31279
31279
|
const w$5 = Z(this, I$2)[C$2];
|
|
31280
31280
|
if (!(w$5.port && w$5.port !== n$6)) {
|
|
31281
31281
|
if (/^[.*]/.test(w$5.hostname)) {
|
|
31282
|
-
if (f$
|
|
31283
|
-
} else if (f$
|
|
31282
|
+
if (f$9.endsWith(w$5.hostname.replace(/^\*/, ""))) return !1;
|
|
31283
|
+
} else if (f$9 === w$5.hostname) return !1;
|
|
31284
31284
|
}
|
|
31285
31285
|
}
|
|
31286
31286
|
return !0;
|
|
31287
31287
|
}, "#shouldProxy"), Ne$1 = e$7(function() {
|
|
31288
|
-
const f$
|
|
31288
|
+
const f$9 = Z(this, p$3).noProxy ?? Z(this, b$2, me$1), n$6 = f$9.split(/[,\s]/), C$2 = [];
|
|
31289
31289
|
for (let w$5 = 0; w$5 < n$6.length; w$5++) {
|
|
31290
31290
|
const S$3 = n$6[w$5];
|
|
31291
31291
|
if (!S$3) continue;
|
|
@@ -31295,7 +31295,7 @@ ${AA.toString(16)}\r
|
|
|
31295
31295
|
port: x$3 ? Number.parseInt(x$3[2], 10) : 0
|
|
31296
31296
|
});
|
|
31297
31297
|
}
|
|
31298
|
-
mA(this, l$4, f$
|
|
31298
|
+
mA(this, l$4, f$9), mA(this, I$2, C$2);
|
|
31299
31299
|
}, "#parseNoProxy"), Ve$1 = e$7(function() {
|
|
31300
31300
|
return Z(this, p$3).noProxy !== void 0 ? !1 : Z(this, l$4) !== Z(this, b$2, me$1);
|
|
31301
31301
|
}, "#noProxyChanged"), me$1 = e$7(function() {
|
|
@@ -31370,12 +31370,12 @@ ${AA.toString(16)}\r
|
|
|
31370
31370
|
if (this.handler.onBodySent) return this.handler.onBodySent(r$4);
|
|
31371
31371
|
}
|
|
31372
31372
|
static [k$3](r$4, { state: o$8, opts: N$3 }, l$4) {
|
|
31373
|
-
const { statusCode: I$2, code: p$3, headers: b$2 } = r$4, { method: G$4, retryOptions: J$2 } = N$3, { maxRetries: V$1, minTimeout: _$4, maxTimeout: q$2, timeoutFactor: M$2, statusCodes: Y$1, errorCodes: m$5, methods: f$
|
|
31373
|
+
const { statusCode: I$2, code: p$3, headers: b$2 } = r$4, { method: G$4, retryOptions: J$2 } = N$3, { maxRetries: V$1, minTimeout: _$4, maxTimeout: q$2, timeoutFactor: M$2, statusCodes: Y$1, errorCodes: m$5, methods: f$9 } = J$2, { counter: n$6 } = o$8;
|
|
31374
31374
|
if (p$3 && p$3 !== "UND_ERR_REQ_RETRY" && !m$5.includes(p$3)) {
|
|
31375
31375
|
l$4(r$4);
|
|
31376
31376
|
return;
|
|
31377
31377
|
}
|
|
31378
|
-
if (Array.isArray(f$
|
|
31378
|
+
if (Array.isArray(f$9) && !f$9.includes(G$4)) {
|
|
31379
31379
|
l$4(r$4);
|
|
31380
31380
|
return;
|
|
31381
31381
|
}
|
|
@@ -31586,85 +31586,85 @@ ${AA.toString(16)}\r
|
|
|
31586
31586
|
};
|
|
31587
31587
|
e$7(m$5, "BodyReadable");
|
|
31588
31588
|
let I$2 = m$5;
|
|
31589
|
-
function p$3(f$
|
|
31590
|
-
return f$
|
|
31589
|
+
function p$3(f$9) {
|
|
31590
|
+
return f$9[U$1] && f$9[U$1].locked === !0 || f$9[Q$2];
|
|
31591
31591
|
}
|
|
31592
31592
|
e$7(p$3, "isLocked");
|
|
31593
|
-
function b$2(f$
|
|
31594
|
-
return R$5.isDisturbed(f$
|
|
31593
|
+
function b$2(f$9) {
|
|
31594
|
+
return R$5.isDisturbed(f$9) || p$3(f$9);
|
|
31595
31595
|
}
|
|
31596
31596
|
e$7(b$2, "isUnusable");
|
|
31597
|
-
async function G$4(f$
|
|
31598
|
-
return A$1(!f$
|
|
31599
|
-
if (b$2(f$
|
|
31600
|
-
const S$3 = f$
|
|
31601
|
-
S$3.destroyed && S$3.closeEmitted === !1 ? f$
|
|
31597
|
+
async function G$4(f$9, n$6) {
|
|
31598
|
+
return A$1(!f$9[Q$2]), new Promise((C$2, w$5) => {
|
|
31599
|
+
if (b$2(f$9)) {
|
|
31600
|
+
const S$3 = f$9._readableState;
|
|
31601
|
+
S$3.destroyed && S$3.closeEmitted === !1 ? f$9.on("error", (x$3) => {
|
|
31602
31602
|
w$5(x$3);
|
|
31603
31603
|
}).on("close", () => {
|
|
31604
31604
|
w$5(/* @__PURE__ */ new TypeError("unusable"));
|
|
31605
31605
|
}) : w$5(S$3.errored ?? /* @__PURE__ */ new TypeError("unusable"));
|
|
31606
31606
|
} else queueMicrotask(() => {
|
|
31607
|
-
f$
|
|
31607
|
+
f$9[Q$2] = {
|
|
31608
31608
|
type: n$6,
|
|
31609
|
-
stream: f$
|
|
31609
|
+
stream: f$9,
|
|
31610
31610
|
resolve: C$2,
|
|
31611
31611
|
reject: w$5,
|
|
31612
31612
|
length: 0,
|
|
31613
31613
|
body: []
|
|
31614
|
-
}, f$
|
|
31614
|
+
}, f$9.on("error", function(S$3) {
|
|
31615
31615
|
Y$1(this[Q$2], S$3);
|
|
31616
31616
|
}).on("close", function() {
|
|
31617
31617
|
this[Q$2].body !== null && Y$1(this[Q$2], new c$9());
|
|
31618
|
-
}), J$2(f$
|
|
31618
|
+
}), J$2(f$9[Q$2]);
|
|
31619
31619
|
});
|
|
31620
31620
|
});
|
|
31621
31621
|
}
|
|
31622
31622
|
e$7(G$4, "consume");
|
|
31623
|
-
function J$2(f$
|
|
31624
|
-
if (f$
|
|
31625
|
-
const { _readableState: n$6 } = f$
|
|
31623
|
+
function J$2(f$9) {
|
|
31624
|
+
if (f$9.body === null) return;
|
|
31625
|
+
const { _readableState: n$6 } = f$9.stream;
|
|
31626
31626
|
if (n$6.bufferIndex) {
|
|
31627
31627
|
const C$2 = n$6.bufferIndex, w$5 = n$6.buffer.length;
|
|
31628
|
-
for (let S$3 = C$2; S$3 < w$5; S$3++) M$2(f$
|
|
31629
|
-
} else for (const C$2 of n$6.buffer) M$2(f$
|
|
31630
|
-
for (n$6.endEmitted ? q$2(this[Q$2]) : f$
|
|
31628
|
+
for (let S$3 = C$2; S$3 < w$5; S$3++) M$2(f$9, n$6.buffer[S$3]);
|
|
31629
|
+
} else for (const C$2 of n$6.buffer) M$2(f$9, C$2);
|
|
31630
|
+
for (n$6.endEmitted ? q$2(this[Q$2]) : f$9.stream.on("end", function() {
|
|
31631
31631
|
q$2(this[Q$2]);
|
|
31632
|
-
}), f$
|
|
31632
|
+
}), f$9.stream.resume(); f$9.stream.read() != null;);
|
|
31633
31633
|
}
|
|
31634
31634
|
e$7(J$2, "consumeStart");
|
|
31635
|
-
function V$1(f$
|
|
31636
|
-
if (f$
|
|
31637
|
-
const C$2 = f$
|
|
31635
|
+
function V$1(f$9, n$6) {
|
|
31636
|
+
if (f$9.length === 0 || n$6 === 0) return "";
|
|
31637
|
+
const C$2 = f$9.length === 1 ? f$9[0] : Buffer.concat(f$9, n$6), w$5 = C$2.length, S$3 = w$5 > 2 && C$2[0] === 239 && C$2[1] === 187 && C$2[2] === 191 ? 3 : 0;
|
|
31638
31638
|
return C$2.utf8Slice(S$3, w$5);
|
|
31639
31639
|
}
|
|
31640
31640
|
e$7(V$1, "chunksDecode");
|
|
31641
|
-
function _$4(f$
|
|
31642
|
-
if (f$
|
|
31643
|
-
if (f$
|
|
31641
|
+
function _$4(f$9, n$6) {
|
|
31642
|
+
if (f$9.length === 0 || n$6 === 0) return new Uint8Array(0);
|
|
31643
|
+
if (f$9.length === 1) return new Uint8Array(f$9[0]);
|
|
31644
31644
|
const C$2 = new Uint8Array(Buffer.allocUnsafeSlow(n$6).buffer);
|
|
31645
31645
|
let w$5 = 0;
|
|
31646
|
-
for (let S$3 = 0; S$3 < f$
|
|
31647
|
-
const x$3 = f$
|
|
31646
|
+
for (let S$3 = 0; S$3 < f$9.length; ++S$3) {
|
|
31647
|
+
const x$3 = f$9[S$3];
|
|
31648
31648
|
C$2.set(x$3, w$5), w$5 += x$3.length;
|
|
31649
31649
|
}
|
|
31650
31650
|
return C$2;
|
|
31651
31651
|
}
|
|
31652
31652
|
e$7(_$4, "chunksConcat");
|
|
31653
|
-
function q$2(f$
|
|
31654
|
-
const { type: n$6, body: C$2, resolve: w$5, stream: S$3, length: x$3 } = f$
|
|
31653
|
+
function q$2(f$9) {
|
|
31654
|
+
const { type: n$6, body: C$2, resolve: w$5, stream: S$3, length: x$3 } = f$9;
|
|
31655
31655
|
try {
|
|
31656
|
-
n$6 === "text" ? w$5(V$1(C$2, x$3)) : n$6 === "json" ? w$5(JSON.parse(V$1(C$2, x$3))) : n$6 === "arrayBuffer" ? w$5(_$4(C$2, x$3).buffer) : n$6 === "blob" ? w$5(new Blob(C$2, { type: S$3[o$8] })) : n$6 === "bytes" && w$5(_$4(C$2, x$3)), Y$1(f$
|
|
31656
|
+
n$6 === "text" ? w$5(V$1(C$2, x$3)) : n$6 === "json" ? w$5(JSON.parse(V$1(C$2, x$3))) : n$6 === "arrayBuffer" ? w$5(_$4(C$2, x$3).buffer) : n$6 === "blob" ? w$5(new Blob(C$2, { type: S$3[o$8] })) : n$6 === "bytes" && w$5(_$4(C$2, x$3)), Y$1(f$9);
|
|
31657
31657
|
} catch (z$3) {
|
|
31658
31658
|
S$3.destroy(z$3);
|
|
31659
31659
|
}
|
|
31660
31660
|
}
|
|
31661
31661
|
e$7(q$2, "consumeEnd");
|
|
31662
|
-
function M$2(f$
|
|
31663
|
-
f$
|
|
31662
|
+
function M$2(f$9, n$6) {
|
|
31663
|
+
f$9.length += n$6.length, f$9.body.push(n$6);
|
|
31664
31664
|
}
|
|
31665
31665
|
e$7(M$2, "consumePush");
|
|
31666
|
-
function Y$1(f$
|
|
31667
|
-
f$
|
|
31666
|
+
function Y$1(f$9, n$6) {
|
|
31667
|
+
f$9.body !== null && (n$6 ? f$9.reject(n$6) : f$9.resolve(), f$9.type = null, f$9.stream = null, f$9.resolve = null, f$9.reject = null, f$9.length = 0, f$9.body = null);
|
|
31668
31668
|
}
|
|
31669
31669
|
return e$7(Y$1, "consumeFinish"), readable = {
|
|
31670
31670
|
Readable: I$2,
|
|
@@ -31895,12 +31895,12 @@ ${AA.toString(16)}\r
|
|
|
31895
31895
|
opaque: J$2,
|
|
31896
31896
|
context: V$1
|
|
31897
31897
|
}), !Y$1 || typeof Y$1.write != "function" || typeof Y$1.end != "function" || typeof Y$1.on != "function") throw new t$14("expected Writable");
|
|
31898
|
-
k$3(Y$1, { readable: !1 }, (f$
|
|
31898
|
+
k$3(Y$1, { readable: !1 }, (f$9) => {
|
|
31899
31899
|
const { callback: n$6, res: C$2, opaque: w$5, trailers: S$3, abort: x$3 } = this;
|
|
31900
|
-
this.res = null, (f$
|
|
31900
|
+
this.res = null, (f$9 || !C$2.readable) && y$7.destroy(C$2, f$9), this.callback = null, this.runInAsyncScope(n$6, null, f$9 || null, {
|
|
31901
31901
|
opaque: w$5,
|
|
31902
31902
|
trailers: S$3
|
|
31903
|
-
}), f$
|
|
31903
|
+
}), f$9 && x$3();
|
|
31904
31904
|
});
|
|
31905
31905
|
}
|
|
31906
31906
|
return Y$1.on("drain", p$3), this.res = Y$1, (Y$1.writableNeedDrain !== void 0 ? Y$1.writableNeedDrain : Y$1._writableState?.needDrain) !== !0;
|
|
@@ -31972,11 +31972,11 @@ ${AA.toString(16)}\r
|
|
|
31972
31972
|
constructor(V$1, _$4) {
|
|
31973
31973
|
if (!V$1 || typeof V$1 != "object") throw new B("invalid opts");
|
|
31974
31974
|
if (typeof _$4 != "function") throw new B("invalid handler");
|
|
31975
|
-
const { signal: q$2, method: M$2, opaque: Y$1, onInfo: m$5, responseHeaders: f$
|
|
31975
|
+
const { signal: q$2, method: M$2, opaque: Y$1, onInfo: m$5, responseHeaders: f$9 } = V$1;
|
|
31976
31976
|
if (q$2 && typeof q$2.on != "function" && typeof q$2.addEventListener != "function") throw new B("signal must be an EventEmitter or EventTarget");
|
|
31977
31977
|
if (M$2 === "CONNECT") throw new B("invalid method");
|
|
31978
31978
|
if (m$5 && typeof m$5 != "function") throw new B("invalid onInfo callback");
|
|
31979
|
-
super("UNDICI_PIPELINE"), this.opaque = Y$1 || null, this.responseHeaders = f$
|
|
31979
|
+
super("UNDICI_PIPELINE"), this.opaque = Y$1 || null, this.responseHeaders = f$9 || null, this.handler = _$4, this.abort = null, this.context = null, this.onInfo = m$5 || null, this.req = new o$8().on("error", R$5.nop), this.ret = new k$3({
|
|
31980
31980
|
readableObjectMode: V$1.objectMode,
|
|
31981
31981
|
autoDestroy: !0,
|
|
31982
31982
|
read: e$7(() => {
|
|
@@ -32017,11 +32017,11 @@ ${AA.toString(16)}\r
|
|
|
32017
32017
|
return;
|
|
32018
32018
|
}
|
|
32019
32019
|
this.res = new N$3(q$2);
|
|
32020
|
-
let f$
|
|
32020
|
+
let f$9;
|
|
32021
32021
|
try {
|
|
32022
32022
|
this.handler = null;
|
|
32023
32023
|
const n$6 = this.responseHeaders === "raw" ? R$5.parseRawHeaders(_$4) : R$5.parseHeaders(_$4);
|
|
32024
|
-
f$
|
|
32024
|
+
f$9 = this.runInAsyncScope(Y$1, null, {
|
|
32025
32025
|
statusCode: V$1,
|
|
32026
32026
|
headers: n$6,
|
|
32027
32027
|
opaque: M$2,
|
|
@@ -32031,8 +32031,8 @@ ${AA.toString(16)}\r
|
|
|
32031
32031
|
} catch (n$6) {
|
|
32032
32032
|
throw this.res.on("error", R$5.nop), n$6;
|
|
32033
32033
|
}
|
|
32034
|
-
if (!f$
|
|
32035
|
-
f$
|
|
32034
|
+
if (!f$9 || typeof f$9.on != "function") throw new t$14("expected Readable");
|
|
32035
|
+
f$9.on("data", (n$6) => {
|
|
32036
32036
|
const { ret: C$2, body: w$5 } = this;
|
|
32037
32037
|
!C$2.push(n$6) && w$5.pause && w$5.pause();
|
|
32038
32038
|
}).on("error", (n$6) => {
|
|
@@ -32044,7 +32044,7 @@ ${AA.toString(16)}\r
|
|
|
32044
32044
|
}).on("close", () => {
|
|
32045
32045
|
const { ret: n$6 } = this;
|
|
32046
32046
|
n$6._readableState.ended || R$5.destroy(n$6, new y$7());
|
|
32047
|
-
}), this.body = f$
|
|
32047
|
+
}), this.body = f$9;
|
|
32048
32048
|
}
|
|
32049
32049
|
onData(V$1) {
|
|
32050
32050
|
const { res: _$4 } = this;
|
|
@@ -32395,7 +32395,7 @@ ${AA.toString(16)}\r
|
|
|
32395
32395
|
if (K$2 instanceof A$1) {
|
|
32396
32396
|
const nA = C$2[y$7]();
|
|
32397
32397
|
if (nA === !1) throw new A$1(`${K$2.message}: subsequent request to origin ${w$5} was not allowed (net.connect disabled)`);
|
|
32398
|
-
if (f$
|
|
32398
|
+
if (f$9(nA, w$5)) S$3.call(this, z$3, $);
|
|
32399
32399
|
else throw new A$1(`${K$2.message}: subsequent request to origin ${w$5} was not allowed (net.connect is not enabled for this origin)`);
|
|
32400
32400
|
} else throw K$2;
|
|
32401
32401
|
}
|
|
@@ -32403,11 +32403,11 @@ ${AA.toString(16)}\r
|
|
|
32403
32403
|
}, "dispatch");
|
|
32404
32404
|
}
|
|
32405
32405
|
e$7(m$5, "buildMockDispatch");
|
|
32406
|
-
function f$
|
|
32406
|
+
function f$9(C$2, w$5) {
|
|
32407
32407
|
const S$3 = new URL(w$5);
|
|
32408
32408
|
return C$2 === !0 ? !0 : !!(Array.isArray(C$2) && C$2.some((x$3) => D$2(x$3, S$3.host)));
|
|
32409
32409
|
}
|
|
32410
|
-
e$7(f$
|
|
32410
|
+
e$7(f$9, "checkNetConnect");
|
|
32411
32411
|
function n$6(C$2) {
|
|
32412
32412
|
if (C$2) {
|
|
32413
32413
|
const { agent: w$5, ...S$3 } = C$2;
|
|
@@ -32426,7 +32426,7 @@ ${AA.toString(16)}\r
|
|
|
32426
32426
|
getStatusText: q$2,
|
|
32427
32427
|
mockDispatch: Y$1,
|
|
32428
32428
|
buildMockDispatch: m$5,
|
|
32429
|
-
checkNetConnect: f$
|
|
32429
|
+
checkNetConnect: f$9,
|
|
32430
32430
|
buildMockOptions: n$6,
|
|
32431
32431
|
getHeaderByName: r$4,
|
|
32432
32432
|
buildHeadersFromArray: o$8
|
|
@@ -32687,9 +32687,9 @@ ${AA.toString(16)}\r
|
|
|
32687
32687
|
const m$5 = this[U$1]("http://localhost:9999");
|
|
32688
32688
|
return this[B](M$2, m$5), m$5;
|
|
32689
32689
|
}
|
|
32690
|
-
for (const [m$5, f$
|
|
32690
|
+
for (const [m$5, f$9] of Array.from(this[A$1])) if (f$9 && typeof m$5 != "string" && N$3(m$5, M$2)) {
|
|
32691
32691
|
const n$6 = this[U$1](M$2);
|
|
32692
|
-
return this[B](M$2, n$6), n$6[y$7] = f$
|
|
32692
|
+
return this[B](M$2, n$6), n$6[y$7] = f$9[y$7], n$6;
|
|
32693
32693
|
}
|
|
32694
32694
|
}
|
|
32695
32695
|
[Q$2]() {
|
|
@@ -32697,8 +32697,8 @@ ${AA.toString(16)}\r
|
|
|
32697
32697
|
}
|
|
32698
32698
|
pendingInterceptors() {
|
|
32699
32699
|
const M$2 = this[A$1];
|
|
32700
|
-
return Array.from(M$2.entries()).flatMap(([Y$1, m$5]) => m$5[y$7].map((f$
|
|
32701
|
-
...f$
|
|
32700
|
+
return Array.from(M$2.entries()).flatMap(([Y$1, m$5]) => m$5[y$7].map((f$9) => ({
|
|
32701
|
+
...f$9,
|
|
32702
32702
|
origin: Y$1
|
|
32703
32703
|
}))).filter(({ pending: Y$1 }) => Y$1);
|
|
32704
32704
|
}
|
|
@@ -32894,7 +32894,7 @@ ${M$2.format(Y$1)}
|
|
|
32894
32894
|
Y$1(null, q$2.origin);
|
|
32895
32895
|
return;
|
|
32896
32896
|
}
|
|
32897
|
-
const f$
|
|
32897
|
+
const f$9 = {
|
|
32898
32898
|
affinity: this.affinity,
|
|
32899
32899
|
dualStack: this.dualStack,
|
|
32900
32900
|
lookup: this.lookup,
|
|
@@ -32903,18 +32903,18 @@ ${M$2.format(Y$1)}
|
|
|
32903
32903
|
maxTTL: Z(this, Q$2),
|
|
32904
32904
|
maxItems: Z(this, D$2)
|
|
32905
32905
|
};
|
|
32906
|
-
if (m$5 == null) this.lookup(q$2, f$
|
|
32906
|
+
if (m$5 == null) this.lookup(q$2, f$9, (n$6, C$2) => {
|
|
32907
32907
|
if (n$6 || C$2 == null || C$2.length === 0) {
|
|
32908
32908
|
Y$1(n$6 ?? new t$14("No DNS entries found"));
|
|
32909
32909
|
return;
|
|
32910
32910
|
}
|
|
32911
32911
|
this.setRecords(q$2, C$2);
|
|
32912
|
-
const w$5 = Z(this, U$1).get(q$2.hostname), S$3 = this.pick(q$2, w$5, f$
|
|
32912
|
+
const w$5 = Z(this, U$1).get(q$2.hostname), S$3 = this.pick(q$2, w$5, f$9.affinity);
|
|
32913
32913
|
let x$3;
|
|
32914
32914
|
typeof S$3.port == "number" ? x$3 = `:${S$3.port}` : q$2.port !== "" ? x$3 = `:${q$2.port}` : x$3 = "", Y$1(null, `${q$2.protocol}//${S$3.family === 6 ? `[${S$3.address}]` : S$3.address}${x$3}`);
|
|
32915
32915
|
});
|
|
32916
32916
|
else {
|
|
32917
|
-
const n$6 = this.pick(q$2, m$5, f$
|
|
32917
|
+
const n$6 = this.pick(q$2, m$5, f$9.affinity);
|
|
32918
32918
|
if (n$6 == null) {
|
|
32919
32919
|
Z(this, U$1).delete(q$2.hostname), this.runLookup(q$2, M$2, Y$1);
|
|
32920
32920
|
return;
|
|
@@ -32928,10 +32928,10 @@ ${M$2.format(Y$1)}
|
|
|
32928
32928
|
4: null,
|
|
32929
32929
|
6: null
|
|
32930
32930
|
} };
|
|
32931
|
-
for (const f$
|
|
32932
|
-
f$
|
|
32933
|
-
const n$6 = m$5.records[f$
|
|
32934
|
-
n$6.ips.push(f$
|
|
32931
|
+
for (const f$9 of M$2) {
|
|
32932
|
+
f$9.timestamp = Y$1, typeof f$9.ttl == "number" ? f$9.ttl = Math.min(f$9.ttl, Z(this, Q$2)) : f$9.ttl = Z(this, Q$2);
|
|
32933
|
+
const n$6 = m$5.records[f$9.family] ?? { ips: [] };
|
|
32934
|
+
n$6.ips.push(f$9), m$5.records[f$9.family] = n$6;
|
|
32935
32935
|
}
|
|
32936
32936
|
Z(this, U$1).set(q$2.hostname, m$5);
|
|
32937
32937
|
}
|
|
@@ -32944,31 +32944,31 @@ ${M$2.format(Y$1)}
|
|
|
32944
32944
|
all: !0,
|
|
32945
32945
|
family: this.dualStack === !1 ? this.affinity : 0,
|
|
32946
32946
|
order: "ipv4first"
|
|
32947
|
-
}, (m$5, f$
|
|
32947
|
+
}, (m$5, f$9) => {
|
|
32948
32948
|
if (m$5) return Y$1(m$5);
|
|
32949
32949
|
const n$6 = /* @__PURE__ */ new Map();
|
|
32950
|
-
for (const C$2 of f$
|
|
32950
|
+
for (const C$2 of f$9) n$6.set(`${C$2.address}:${C$2.family}`, C$2);
|
|
32951
32951
|
Y$1(null, n$6.values());
|
|
32952
32952
|
});
|
|
32953
32953
|
}, "#defaultLookup"), qe$1 = e$7(function(q$2, M$2, Y$1) {
|
|
32954
32954
|
let m$5 = null;
|
|
32955
|
-
const { records: f$
|
|
32955
|
+
const { records: f$9, offset: n$6 } = M$2;
|
|
32956
32956
|
let C$2;
|
|
32957
|
-
if (this.dualStack ? (Y$1 ?? (n$6 == null || n$6 === y$7 ? (M$2.offset = 0, Y$1 = 4) : (M$2.offset++, Y$1 = (M$2.offset & 1) === 1 ? 6 : 4)), f$
|
|
32957
|
+
if (this.dualStack ? (Y$1 ?? (n$6 == null || n$6 === y$7 ? (M$2.offset = 0, Y$1 = 4) : (M$2.offset++, Y$1 = (M$2.offset & 1) === 1 ? 6 : 4)), f$9[Y$1] != null && f$9[Y$1].ips.length > 0 ? C$2 = f$9[Y$1] : C$2 = f$9[Y$1 === 4 ? 6 : 4]) : C$2 = f$9[Y$1], C$2 == null || C$2.ips.length === 0) return m$5;
|
|
32958
32958
|
C$2.offset == null || C$2.offset === y$7 ? C$2.offset = 0 : C$2.offset++;
|
|
32959
32959
|
const w$5 = C$2.offset % C$2.ips.length;
|
|
32960
32960
|
return m$5 = C$2.ips[w$5] ?? null, m$5 == null ? m$5 : Date.now() - m$5.timestamp > m$5.ttl ? (C$2.ips.splice(w$5, 1), this.pick(q$2, M$2, Y$1)) : m$5;
|
|
32961
32961
|
}, "#defaultPick"), e$7(l$4, "DNSInstance");
|
|
32962
32962
|
let R$5 = l$4;
|
|
32963
32963
|
const V$1 = class V$2 extends c$9 {
|
|
32964
|
-
constructor(M$2, { origin: Y$1, handler: m$5, dispatch: f$
|
|
32964
|
+
constructor(M$2, { origin: Y$1, handler: m$5, dispatch: f$9 }, n$6) {
|
|
32965
32965
|
super(m$5);
|
|
32966
32966
|
SA(this, I$2, null);
|
|
32967
32967
|
SA(this, p$3, null);
|
|
32968
32968
|
SA(this, b$2, null);
|
|
32969
32969
|
SA(this, G$4, null);
|
|
32970
32970
|
SA(this, J$2, null);
|
|
32971
|
-
mA(this, J$2, Y$1), mA(this, G$4, m$5), mA(this, p$3, { ...n$6 }), mA(this, I$2, M$2), mA(this, b$2, f$
|
|
32971
|
+
mA(this, J$2, Y$1), mA(this, G$4, m$5), mA(this, p$3, { ...n$6 }), mA(this, I$2, M$2), mA(this, b$2, f$9);
|
|
32972
32972
|
}
|
|
32973
32973
|
onError(M$2) {
|
|
32974
32974
|
switch (M$2.code) {
|
|
@@ -32977,11 +32977,11 @@ ${M$2.format(Y$1)}
|
|
|
32977
32977
|
if (Z(this, I$2).dualStack) {
|
|
32978
32978
|
Z(this, I$2).runLookup(Z(this, J$2), Z(this, p$3), (Y$1, m$5) => {
|
|
32979
32979
|
if (Y$1) return Z(this, G$4).onError(Y$1);
|
|
32980
|
-
const f$
|
|
32980
|
+
const f$9 = {
|
|
32981
32981
|
...Z(this, p$3),
|
|
32982
32982
|
origin: m$5
|
|
32983
32983
|
};
|
|
32984
|
-
Z(this, b$2).call(this, f$
|
|
32984
|
+
Z(this, b$2).call(this, f$9, this);
|
|
32985
32985
|
});
|
|
32986
32986
|
return;
|
|
32987
32987
|
}
|
|
@@ -33014,9 +33014,9 @@ ${M$2.format(Y$1)}
|
|
|
33014
33014
|
affinity: M$2,
|
|
33015
33015
|
maxItems: _$4?.maxItems ?? Infinity
|
|
33016
33016
|
});
|
|
33017
|
-
return (f$
|
|
33017
|
+
return (f$9) => e$7(function(C$2, w$5) {
|
|
33018
33018
|
const S$3 = C$2.origin.constructor === URL ? C$2.origin : new URL(C$2.origin);
|
|
33019
|
-
return A$1(S$3.hostname) !== 0 ? f$
|
|
33019
|
+
return A$1(S$3.hostname) !== 0 ? f$9(C$2, w$5) : (m$5.runLookup(S$3, C$2, (x$3, z$3) => {
|
|
33020
33020
|
if (x$3) return w$5.onError(x$3);
|
|
33021
33021
|
let $ = null;
|
|
33022
33022
|
$ = {
|
|
@@ -33027,9 +33027,9 @@ ${M$2.format(Y$1)}
|
|
|
33027
33027
|
host: S$3.hostname,
|
|
33028
33028
|
...C$2.headers
|
|
33029
33029
|
}
|
|
33030
|
-
}, f$
|
|
33030
|
+
}, f$9($, m$5.getHandler({
|
|
33031
33031
|
origin: S$3,
|
|
33032
|
-
dispatch: f$
|
|
33032
|
+
dispatch: f$9,
|
|
33033
33033
|
handler: w$5
|
|
33034
33034
|
}, C$2));
|
|
33035
33035
|
}), !0);
|
|
@@ -33048,24 +33048,24 @@ ${M$2.format(Y$1)}
|
|
|
33048
33048
|
}
|
|
33049
33049
|
e$7(U$1, "isHTTPWhiteSpaceCharCode");
|
|
33050
33050
|
function r$4(m$5) {
|
|
33051
|
-
let f$
|
|
33052
|
-
for (; n$6 > f$
|
|
33053
|
-
for (; n$6 > f$
|
|
33054
|
-
return f$
|
|
33051
|
+
let f$9 = 0, n$6 = m$5.length;
|
|
33052
|
+
for (; n$6 > f$9 && U$1(m$5.charCodeAt(n$6 - 1));) --n$6;
|
|
33053
|
+
for (; n$6 > f$9 && U$1(m$5.charCodeAt(f$9));) ++f$9;
|
|
33054
|
+
return f$9 === 0 && n$6 === m$5.length ? m$5 : m$5.substring(f$9, n$6);
|
|
33055
33055
|
}
|
|
33056
33056
|
e$7(r$4, "headerValueNormalize");
|
|
33057
|
-
function o$8(m$5, f$
|
|
33058
|
-
if (Array.isArray(f$
|
|
33059
|
-
const C$2 = f$
|
|
33057
|
+
function o$8(m$5, f$9) {
|
|
33058
|
+
if (Array.isArray(f$9)) for (let n$6 = 0; n$6 < f$9.length; ++n$6) {
|
|
33059
|
+
const C$2 = f$9[n$6];
|
|
33060
33060
|
if (C$2.length !== 2) throw y$7.errors.exception({
|
|
33061
33061
|
header: "Headers constructor",
|
|
33062
33062
|
message: `expected name/value pair to be length 2, found ${C$2.length}.`
|
|
33063
33063
|
});
|
|
33064
33064
|
N$3(m$5, C$2[0], C$2[1]);
|
|
33065
33065
|
}
|
|
33066
|
-
else if (typeof f$
|
|
33067
|
-
const n$6 = Object.keys(f$
|
|
33068
|
-
for (let C$2 = 0; C$2 < n$6.length; ++C$2) N$3(m$5, n$6[C$2], f$
|
|
33066
|
+
else if (typeof f$9 == "object" && f$9 !== null) {
|
|
33067
|
+
const n$6 = Object.keys(f$9);
|
|
33068
|
+
for (let C$2 = 0; C$2 < n$6.length; ++C$2) N$3(m$5, n$6[C$2], f$9[n$6[C$2]]);
|
|
33069
33069
|
} else throw y$7.errors.conversionFailed({
|
|
33070
33070
|
prefix: "Headers constructor",
|
|
33071
33071
|
argument: "Argument 1",
|
|
@@ -33073,8 +33073,8 @@ ${M$2.format(Y$1)}
|
|
|
33073
33073
|
});
|
|
33074
33074
|
}
|
|
33075
33075
|
e$7(o$8, "fill");
|
|
33076
|
-
function N$3(m$5, f$
|
|
33077
|
-
if (n$6 = r$4(n$6), B(f$
|
|
33076
|
+
function N$3(m$5, f$9, n$6) {
|
|
33077
|
+
if (n$6 = r$4(n$6), B(f$9)) {
|
|
33078
33078
|
if (!t$14(n$6)) throw y$7.errors.invalidArgument({
|
|
33079
33079
|
prefix: "Headers.append",
|
|
33080
33080
|
value: n$6,
|
|
@@ -33082,31 +33082,31 @@ ${M$2.format(Y$1)}
|
|
|
33082
33082
|
});
|
|
33083
33083
|
} else throw y$7.errors.invalidArgument({
|
|
33084
33084
|
prefix: "Headers.append",
|
|
33085
|
-
value: f$
|
|
33085
|
+
value: f$9,
|
|
33086
33086
|
type: "header name"
|
|
33087
33087
|
});
|
|
33088
33088
|
if (b$2(m$5) === "immutable") throw new TypeError("immutable");
|
|
33089
|
-
return J$2(m$5).append(f$
|
|
33089
|
+
return J$2(m$5).append(f$9, n$6, !1);
|
|
33090
33090
|
}
|
|
33091
33091
|
e$7(N$3, "appendHeader");
|
|
33092
|
-
function l$4(m$5, f$
|
|
33093
|
-
return m$5[0] < f$
|
|
33092
|
+
function l$4(m$5, f$9) {
|
|
33093
|
+
return m$5[0] < f$9[0] ? -1 : 1;
|
|
33094
33094
|
}
|
|
33095
33095
|
e$7(l$4, "compareHeaderName");
|
|
33096
33096
|
const _$4 = class _$5 {
|
|
33097
|
-
constructor(f$
|
|
33097
|
+
constructor(f$9) {
|
|
33098
33098
|
$A(this, "cookies", null);
|
|
33099
|
-
f$
|
|
33099
|
+
f$9 instanceof _$5 ? (this[Q$2] = new Map(f$9[Q$2]), this[D$2] = f$9[D$2], this.cookies = f$9.cookies === null ? null : [...f$9.cookies]) : (this[Q$2] = new Map(f$9), this[D$2] = null);
|
|
33100
33100
|
}
|
|
33101
|
-
contains(f$
|
|
33102
|
-
return this[Q$2].has(n$6 ? f$
|
|
33101
|
+
contains(f$9, n$6) {
|
|
33102
|
+
return this[Q$2].has(n$6 ? f$9 : f$9.toLowerCase());
|
|
33103
33103
|
}
|
|
33104
33104
|
clear() {
|
|
33105
33105
|
this[Q$2].clear(), this[D$2] = null, this.cookies = null;
|
|
33106
33106
|
}
|
|
33107
|
-
append(f$
|
|
33107
|
+
append(f$9, n$6, C$2) {
|
|
33108
33108
|
this[D$2] = null;
|
|
33109
|
-
const w$5 = C$2 ? f$
|
|
33109
|
+
const w$5 = C$2 ? f$9 : f$9.toLowerCase(), S$3 = this[Q$2].get(w$5);
|
|
33110
33110
|
if (S$3) {
|
|
33111
33111
|
const x$3 = w$5 === "cookie" ? "; " : ", ";
|
|
33112
33112
|
this[Q$2].set(w$5, {
|
|
@@ -33114,49 +33114,49 @@ ${M$2.format(Y$1)}
|
|
|
33114
33114
|
value: `${S$3.value}${x$3}${n$6}`
|
|
33115
33115
|
});
|
|
33116
33116
|
} else this[Q$2].set(w$5, {
|
|
33117
|
-
name: f$
|
|
33117
|
+
name: f$9,
|
|
33118
33118
|
value: n$6
|
|
33119
33119
|
});
|
|
33120
33120
|
w$5 === "set-cookie" && (this.cookies ?? (this.cookies = [])).push(n$6);
|
|
33121
33121
|
}
|
|
33122
|
-
set(f$
|
|
33122
|
+
set(f$9, n$6, C$2) {
|
|
33123
33123
|
this[D$2] = null;
|
|
33124
|
-
const w$5 = C$2 ? f$
|
|
33124
|
+
const w$5 = C$2 ? f$9 : f$9.toLowerCase();
|
|
33125
33125
|
w$5 === "set-cookie" && (this.cookies = [n$6]), this[Q$2].set(w$5, {
|
|
33126
|
-
name: f$
|
|
33126
|
+
name: f$9,
|
|
33127
33127
|
value: n$6
|
|
33128
33128
|
});
|
|
33129
33129
|
}
|
|
33130
|
-
delete(f$
|
|
33131
|
-
this[D$2] = null, n$6 || (f$
|
|
33130
|
+
delete(f$9, n$6) {
|
|
33131
|
+
this[D$2] = null, n$6 || (f$9 = f$9.toLowerCase()), f$9 === "set-cookie" && (this.cookies = null), this[Q$2].delete(f$9);
|
|
33132
33132
|
}
|
|
33133
|
-
get(f$
|
|
33134
|
-
return this[Q$2].get(n$6 ? f$
|
|
33133
|
+
get(f$9, n$6) {
|
|
33134
|
+
return this[Q$2].get(n$6 ? f$9 : f$9.toLowerCase())?.value ?? null;
|
|
33135
33135
|
}
|
|
33136
33136
|
*[Symbol.iterator]() {
|
|
33137
|
-
for (const { 0: f$
|
|
33137
|
+
for (const { 0: f$9, 1: { value: n$6 } } of this[Q$2]) yield [f$9, n$6];
|
|
33138
33138
|
}
|
|
33139
33139
|
get entries() {
|
|
33140
|
-
const f$
|
|
33141
|
-
if (this[Q$2].size !== 0) for (const { name: n$6, value: C$2 } of this[Q$2].values()) f$
|
|
33142
|
-
return f$
|
|
33140
|
+
const f$9 = {};
|
|
33141
|
+
if (this[Q$2].size !== 0) for (const { name: n$6, value: C$2 } of this[Q$2].values()) f$9[n$6] = C$2;
|
|
33142
|
+
return f$9;
|
|
33143
33143
|
}
|
|
33144
33144
|
rawValues() {
|
|
33145
33145
|
return this[Q$2].values();
|
|
33146
33146
|
}
|
|
33147
33147
|
get entriesList() {
|
|
33148
|
-
const f$
|
|
33149
|
-
if (this[Q$2].size !== 0) for (const { 0: n$6, 1: { name: C$2, value: w$5 } } of this[Q$2]) if (n$6 === "set-cookie") for (const S$3 of this.cookies) f$
|
|
33150
|
-
else f$
|
|
33151
|
-
return f$
|
|
33148
|
+
const f$9 = [];
|
|
33149
|
+
if (this[Q$2].size !== 0) for (const { 0: n$6, 1: { name: C$2, value: w$5 } } of this[Q$2]) if (n$6 === "set-cookie") for (const S$3 of this.cookies) f$9.push([C$2, S$3]);
|
|
33150
|
+
else f$9.push([C$2, w$5]);
|
|
33151
|
+
return f$9;
|
|
33152
33152
|
}
|
|
33153
33153
|
toSortedArray() {
|
|
33154
|
-
const f$
|
|
33155
|
-
if (f$
|
|
33156
|
-
if (f$
|
|
33154
|
+
const f$9 = this[Q$2].size, n$6 = new Array(f$9);
|
|
33155
|
+
if (f$9 <= 32) {
|
|
33156
|
+
if (f$9 === 0) return n$6;
|
|
33157
33157
|
const C$2 = this[Q$2][Symbol.iterator](), w$5 = C$2.next().value;
|
|
33158
33158
|
n$6[0] = [w$5[0], w$5[1].value], R$5(w$5[1].value !== null);
|
|
33159
|
-
for (let S$3 = 1, x$3 = 0, z$3 = 0, $ = 0, K$2 = 0, nA, iA; S$3 < f$
|
|
33159
|
+
for (let S$3 = 1, x$3 = 0, z$3 = 0, $ = 0, K$2 = 0, nA, iA; S$3 < f$9; ++S$3) {
|
|
33160
33160
|
for (iA = C$2.next().value, nA = n$6[S$3] = [iA[0], iA[1].value], R$5(nA[1] !== null), $ = 0, z$3 = S$3; $ < z$3;) K$2 = $ + (z$3 - $ >> 1), n$6[K$2][0] <= nA[0] ? $ = K$2 + 1 : z$3 = K$2;
|
|
33161
33161
|
if (S$3 !== K$2) {
|
|
33162
33162
|
for (x$3 = S$3; x$3 > $;) n$6[x$3] = n$6[--x$3];
|
|
@@ -33175,49 +33175,49 @@ ${M$2.format(Y$1)}
|
|
|
33175
33175
|
e$7(_$4, "HeadersList");
|
|
33176
33176
|
let I$2 = _$4;
|
|
33177
33177
|
const Y$1 = class Y$2 {
|
|
33178
|
-
constructor(f$
|
|
33178
|
+
constructor(f$9 = void 0) {
|
|
33179
33179
|
SA(this, q$2);
|
|
33180
33180
|
SA(this, M$2);
|
|
33181
|
-
y$7.util.markAsUncloneable(this), f$
|
|
33181
|
+
y$7.util.markAsUncloneable(this), f$9 !== A$1 && (mA(this, M$2, new I$2()), mA(this, q$2, "none"), f$9 !== void 0 && (f$9 = y$7.converters.HeadersInit(f$9, "Headers contructor", "init"), o$8(this, f$9)));
|
|
33182
33182
|
}
|
|
33183
|
-
append(f$
|
|
33183
|
+
append(f$9, n$6) {
|
|
33184
33184
|
y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 2, "Headers.append");
|
|
33185
33185
|
const C$2 = "Headers.append";
|
|
33186
|
-
return f$
|
|
33186
|
+
return f$9 = y$7.converters.ByteString(f$9, C$2, "name"), n$6 = y$7.converters.ByteString(n$6, C$2, "value"), N$3(this, f$9, n$6);
|
|
33187
33187
|
}
|
|
33188
|
-
delete(f$
|
|
33189
|
-
if (y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 1, "Headers.delete"), f$
|
|
33188
|
+
delete(f$9) {
|
|
33189
|
+
if (y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 1, "Headers.delete"), f$9 = y$7.converters.ByteString(f$9, "Headers.delete", "name"), !B(f$9)) throw y$7.errors.invalidArgument({
|
|
33190
33190
|
prefix: "Headers.delete",
|
|
33191
|
-
value: f$
|
|
33191
|
+
value: f$9,
|
|
33192
33192
|
type: "header name"
|
|
33193
33193
|
});
|
|
33194
33194
|
if (Z(this, q$2) === "immutable") throw new TypeError("immutable");
|
|
33195
|
-
Z(this, M$2).contains(f$
|
|
33195
|
+
Z(this, M$2).contains(f$9, !1) && Z(this, M$2).delete(f$9, !1);
|
|
33196
33196
|
}
|
|
33197
|
-
get(f$
|
|
33197
|
+
get(f$9) {
|
|
33198
33198
|
y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 1, "Headers.get");
|
|
33199
33199
|
const n$6 = "Headers.get";
|
|
33200
|
-
if (f$
|
|
33200
|
+
if (f$9 = y$7.converters.ByteString(f$9, n$6, "name"), !B(f$9)) throw y$7.errors.invalidArgument({
|
|
33201
33201
|
prefix: n$6,
|
|
33202
|
-
value: f$
|
|
33202
|
+
value: f$9,
|
|
33203
33203
|
type: "header name"
|
|
33204
33204
|
});
|
|
33205
|
-
return Z(this, M$2).get(f$
|
|
33205
|
+
return Z(this, M$2).get(f$9, !1);
|
|
33206
33206
|
}
|
|
33207
|
-
has(f$
|
|
33207
|
+
has(f$9) {
|
|
33208
33208
|
y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 1, "Headers.has");
|
|
33209
33209
|
const n$6 = "Headers.has";
|
|
33210
|
-
if (f$
|
|
33210
|
+
if (f$9 = y$7.converters.ByteString(f$9, n$6, "name"), !B(f$9)) throw y$7.errors.invalidArgument({
|
|
33211
33211
|
prefix: n$6,
|
|
33212
|
-
value: f$
|
|
33212
|
+
value: f$9,
|
|
33213
33213
|
type: "header name"
|
|
33214
33214
|
});
|
|
33215
|
-
return Z(this, M$2).contains(f$
|
|
33215
|
+
return Z(this, M$2).contains(f$9, !1);
|
|
33216
33216
|
}
|
|
33217
|
-
set(f$
|
|
33217
|
+
set(f$9, n$6) {
|
|
33218
33218
|
y$7.brandCheck(this, Y$2), y$7.argumentLengthCheck(arguments, 2, "Headers.set");
|
|
33219
33219
|
const C$2 = "Headers.set";
|
|
33220
|
-
if (f$
|
|
33220
|
+
if (f$9 = y$7.converters.ByteString(f$9, C$2, "name"), n$6 = y$7.converters.ByteString(n$6, C$2, "value"), n$6 = r$4(n$6), B(f$9)) {
|
|
33221
33221
|
if (!t$14(n$6)) throw y$7.errors.invalidArgument({
|
|
33222
33222
|
prefix: C$2,
|
|
33223
33223
|
value: n$6,
|
|
@@ -33225,42 +33225,42 @@ ${M$2.format(Y$1)}
|
|
|
33225
33225
|
});
|
|
33226
33226
|
} else throw y$7.errors.invalidArgument({
|
|
33227
33227
|
prefix: C$2,
|
|
33228
|
-
value: f$
|
|
33228
|
+
value: f$9,
|
|
33229
33229
|
type: "header name"
|
|
33230
33230
|
});
|
|
33231
33231
|
if (Z(this, q$2) === "immutable") throw new TypeError("immutable");
|
|
33232
|
-
Z(this, M$2).set(f$
|
|
33232
|
+
Z(this, M$2).set(f$9, n$6, !1);
|
|
33233
33233
|
}
|
|
33234
33234
|
getSetCookie() {
|
|
33235
33235
|
y$7.brandCheck(this, Y$2);
|
|
33236
|
-
const f$
|
|
33237
|
-
return f$
|
|
33236
|
+
const f$9 = Z(this, M$2).cookies;
|
|
33237
|
+
return f$9 ? [...f$9] : [];
|
|
33238
33238
|
}
|
|
33239
33239
|
get [D$2]() {
|
|
33240
33240
|
if (Z(this, M$2)[D$2]) return Z(this, M$2)[D$2];
|
|
33241
|
-
const f$
|
|
33241
|
+
const f$9 = [], n$6 = Z(this, M$2).toSortedArray(), C$2 = Z(this, M$2).cookies;
|
|
33242
33242
|
if (C$2 === null || C$2.length === 1) return Z(this, M$2)[D$2] = n$6;
|
|
33243
33243
|
for (let w$5 = 0; w$5 < n$6.length; ++w$5) {
|
|
33244
33244
|
const { 0: S$3, 1: x$3 } = n$6[w$5];
|
|
33245
|
-
if (S$3 === "set-cookie") for (let z$3 = 0; z$3 < C$2.length; ++z$3) f$
|
|
33246
|
-
else f$
|
|
33245
|
+
if (S$3 === "set-cookie") for (let z$3 = 0; z$3 < C$2.length; ++z$3) f$9.push([S$3, C$2[z$3]]);
|
|
33246
|
+
else f$9.push([S$3, x$3]);
|
|
33247
33247
|
}
|
|
33248
|
-
return Z(this, M$2)[D$2] = f$
|
|
33248
|
+
return Z(this, M$2)[D$2] = f$9;
|
|
33249
33249
|
}
|
|
33250
|
-
[F$4.inspect.custom](f$
|
|
33251
|
-
return n$6.depth ?? (n$6.depth = f$
|
|
33250
|
+
[F$4.inspect.custom](f$9, n$6) {
|
|
33251
|
+
return n$6.depth ?? (n$6.depth = f$9), `Headers ${F$4.formatWithOptions(n$6, Z(this, M$2).entries)}`;
|
|
33252
33252
|
}
|
|
33253
|
-
static getHeadersGuard(f$
|
|
33254
|
-
return Z(f$
|
|
33253
|
+
static getHeadersGuard(f$9) {
|
|
33254
|
+
return Z(f$9, q$2);
|
|
33255
33255
|
}
|
|
33256
|
-
static setHeadersGuard(f$
|
|
33257
|
-
mA(f$
|
|
33256
|
+
static setHeadersGuard(f$9, n$6) {
|
|
33257
|
+
mA(f$9, q$2, n$6);
|
|
33258
33258
|
}
|
|
33259
|
-
static getHeadersList(f$
|
|
33260
|
-
return Z(f$
|
|
33259
|
+
static getHeadersList(f$9) {
|
|
33260
|
+
return Z(f$9, M$2);
|
|
33261
33261
|
}
|
|
33262
|
-
static setHeadersList(f$
|
|
33263
|
-
mA(f$
|
|
33262
|
+
static setHeadersList(f$9, n$6) {
|
|
33263
|
+
mA(f$9, M$2, n$6);
|
|
33264
33264
|
}
|
|
33265
33265
|
};
|
|
33266
33266
|
q$2 = /* @__PURE__ */ new WeakMap(), M$2 = /* @__PURE__ */ new WeakMap(), e$7(Y$1, "Headers");
|
|
@@ -33278,13 +33278,13 @@ ${M$2.format(Y$1)}
|
|
|
33278
33278
|
configurable: !0
|
|
33279
33279
|
},
|
|
33280
33280
|
[F$4.inspect.custom]: { enumerable: !1 }
|
|
33281
|
-
}), y$7.converters.HeadersInit = function(m$5, f$
|
|
33281
|
+
}), y$7.converters.HeadersInit = function(m$5, f$9, n$6) {
|
|
33282
33282
|
if (y$7.util.Type(m$5) === "Object") {
|
|
33283
33283
|
const C$2 = Reflect.get(m$5, Symbol.iterator);
|
|
33284
33284
|
if (!F$4.types.isProxy(m$5) && C$2 === p$3.prototype.entries) try {
|
|
33285
33285
|
return J$2(m$5).entriesList;
|
|
33286
33286
|
} catch {}
|
|
33287
|
-
return typeof C$2 == "function" ? y$7.converters["sequence<sequence<ByteString>>"](m$5, f$
|
|
33287
|
+
return typeof C$2 == "function" ? y$7.converters["sequence<sequence<ByteString>>"](m$5, f$9, n$6, C$2.bind(m$5)) : y$7.converters["record<ByteString, ByteString>"](m$5, f$9, n$6);
|
|
33288
33288
|
}
|
|
33289
33289
|
throw y$7.errors.conversionFailed({
|
|
33290
33290
|
prefix: "Headers constructor",
|
|
@@ -33307,7 +33307,7 @@ ${M$2.format(Y$1)}
|
|
|
33307
33307
|
function requireResponse() {
|
|
33308
33308
|
if (hasRequiredResponse) return response;
|
|
33309
33309
|
hasRequiredResponse = 1;
|
|
33310
|
-
const { Headers: A$1, HeadersList: k$3, fill: c$9, getHeadersGuard: B, setHeadersGuard: t$14, setHeadersList: y$7 } = requireHeaders(), { extractBody: R$5, cloneBody: F$4, mixinBody: Q$2, hasFinalizationRegistry: D$2, streamRegistry: U$1, bodyUnusable: r$4 } = requireBody(), o$8 = requireUtil$7(), N$3 = require$$0__default$3, { kEnumerableProperty: l$4 } = o$8, { isValidReasonPhrase: I$2, isCancelled: p$3, isAborted: b$2, isBlobLike: G$4, serializeJavascriptValueToJSONString: J$2, isErrorLike: V$1, isomorphicEncode: _$4, environmentSettingsObject: q$2 } = requireUtil$6(), { redirectStatusSet: M$2, nullBodyStatus: Y$1 } = requireConstants$2(), { kState: m$5, kHeaders: f$
|
|
33310
|
+
const { Headers: A$1, HeadersList: k$3, fill: c$9, getHeadersGuard: B, setHeadersGuard: t$14, setHeadersList: y$7 } = requireHeaders(), { extractBody: R$5, cloneBody: F$4, mixinBody: Q$2, hasFinalizationRegistry: D$2, streamRegistry: U$1, bodyUnusable: r$4 } = requireBody(), o$8 = requireUtil$7(), N$3 = require$$0__default$3, { kEnumerableProperty: l$4 } = o$8, { isValidReasonPhrase: I$2, isCancelled: p$3, isAborted: b$2, isBlobLike: G$4, serializeJavascriptValueToJSONString: J$2, isErrorLike: V$1, isomorphicEncode: _$4, environmentSettingsObject: q$2 } = requireUtil$6(), { redirectStatusSet: M$2, nullBodyStatus: Y$1 } = requireConstants$2(), { kState: m$5, kHeaders: f$9 } = requireSymbols$3(), { webidl: n$6 } = requireWebidl(), { FormData: C$2 } = requireFormdata(), { URLSerializer: w$5 } = requireDataUrl(), { kConstruct: S$3 } = requireSymbols$4(), x$3 = require$$0__default$1, { types: z$3 } = require$$0__default$3, $ = new TextEncoder("utf-8"), bA = class bA$1 {
|
|
33311
33311
|
static error() {
|
|
33312
33312
|
return kA(uA(), "immutable");
|
|
33313
33313
|
}
|
|
@@ -33335,7 +33335,7 @@ ${M$2.format(Y$1)}
|
|
|
33335
33335
|
}
|
|
33336
33336
|
constructor(DA = null, oA = {}) {
|
|
33337
33337
|
if (n$6.util.markAsUncloneable(this), DA === S$3) return;
|
|
33338
|
-
DA !== null && (DA = n$6.converters.BodyInit(DA)), oA = n$6.converters.ResponseInit(oA), this[m$5] = iA({}), this[f$
|
|
33338
|
+
DA !== null && (DA = n$6.converters.BodyInit(DA)), oA = n$6.converters.ResponseInit(oA), this[m$5] = iA({}), this[f$9] = new A$1(S$3), t$14(this[f$9], "response"), y$7(this[f$9], this[m$5].headersList);
|
|
33339
33339
|
let aA = null;
|
|
33340
33340
|
if (DA != null) {
|
|
33341
33341
|
const [EA, sA] = R$5(DA);
|
|
@@ -33367,7 +33367,7 @@ ${M$2.format(Y$1)}
|
|
|
33367
33367
|
return n$6.brandCheck(this, bA$1), this[m$5].statusText;
|
|
33368
33368
|
}
|
|
33369
33369
|
get headers() {
|
|
33370
|
-
return n$6.brandCheck(this, bA$1), this[f$
|
|
33370
|
+
return n$6.brandCheck(this, bA$1), this[f$9];
|
|
33371
33371
|
}
|
|
33372
33372
|
get body() {
|
|
33373
33373
|
return n$6.brandCheck(this, bA$1), this[m$5].body ? this[m$5].body.stream : null;
|
|
@@ -33380,7 +33380,7 @@ ${M$2.format(Y$1)}
|
|
|
33380
33380
|
header: "Response.clone",
|
|
33381
33381
|
message: "Body has already been consumed."
|
|
33382
33382
|
});
|
|
33383
|
-
return kA(nA(this[m$5]), B(this[f$
|
|
33383
|
+
return kA(nA(this[m$5]), B(this[f$9]));
|
|
33384
33384
|
}
|
|
33385
33385
|
[N$3.inspect.custom](DA, oA) {
|
|
33386
33386
|
oA.depth === null && (oA.depth = 2), oA.colors ?? (oA.colors = !0);
|
|
@@ -33506,7 +33506,7 @@ ${M$2.format(Y$1)}
|
|
|
33506
33506
|
function fA(gA, DA, oA) {
|
|
33507
33507
|
if (DA.status !== null && (DA.status < 200 || DA.status > 599)) throw new RangeError("init[\"status\"] must be in the range of 200 to 599, inclusive.");
|
|
33508
33508
|
if ("statusText" in DA && DA.statusText != null && !I$2(String(DA.statusText))) throw new TypeError("Invalid statusText");
|
|
33509
|
-
if ("status" in DA && DA.status != null && (gA[m$5].status = DA.status), "statusText" in DA && DA.statusText != null && (gA[m$5].statusText = DA.statusText), "headers" in DA && DA.headers != null && c$9(gA[f$
|
|
33509
|
+
if ("status" in DA && DA.status != null && (gA[m$5].status = DA.status), "statusText" in DA && DA.statusText != null && (gA[m$5].statusText = DA.statusText), "headers" in DA && DA.headers != null && c$9(gA[f$9], DA.headers), oA) {
|
|
33510
33510
|
if (Y$1.includes(gA.status)) throw n$6.errors.exception({
|
|
33511
33511
|
header: "Response constructor",
|
|
33512
33512
|
message: `Invalid response status code ${gA.status}`
|
|
@@ -33517,7 +33517,7 @@ ${M$2.format(Y$1)}
|
|
|
33517
33517
|
e$7(fA, "initializeResponse");
|
|
33518
33518
|
function kA(gA, DA) {
|
|
33519
33519
|
const oA = new K$2(S$3);
|
|
33520
|
-
return oA[m$5] = gA, oA[f$
|
|
33520
|
+
return oA[m$5] = gA, oA[f$9] = new A$1(S$3), y$7(oA[f$9], gA.headersList), t$14(oA[f$9], DA), D$2 && gA.body?.stream && U$1.register(oA, new WeakRef(gA.body.stream)), oA;
|
|
33521
33521
|
}
|
|
33522
33522
|
return e$7(kA, "fromInnerResponse"), n$6.converters.ReadableStream = n$6.interfaceConverter(ReadableStream), n$6.converters.FormData = n$6.interfaceConverter(C$2), n$6.converters.URLSearchParams = n$6.interfaceConverter(URLSearchParams), n$6.converters.XMLHttpRequestBodyInit = function(gA, DA, oA) {
|
|
33523
33523
|
return typeof gA == "string" ? n$6.converters.USVString(gA, DA, oA) : G$4(gA) ? n$6.converters.Blob(gA, DA, oA, { strict: !1 }) : ArrayBuffer.isView(gA) || z$3.isArrayBuffer(gA) ? n$6.converters.BufferSource(gA, DA, oA) : o$8.isFormDataLike(gA) ? n$6.converters.FormData(gA, DA, oA, { strict: !1 }) : gA instanceof URLSearchParams ? n$6.converters.URLSearchParams(gA, DA, oA) : n$6.converters.DOMString(gA, DA, oA);
|
|
@@ -33592,7 +33592,7 @@ ${M$2.format(Y$1)}
|
|
|
33592
33592
|
function requireRequest() {
|
|
33593
33593
|
if (hasRequiredRequest) return request;
|
|
33594
33594
|
hasRequiredRequest = 1;
|
|
33595
|
-
const { extractBody: A$1, mixinBody: k$3, cloneBody: c$9, bodyUnusable: B } = requireBody(), { Headers: t$14, fill: y$7, HeadersList: R$5, setHeadersGuard: F$4, getHeadersGuard: Q$2, setHeadersList: D$2, getHeadersList: U$1 } = requireHeaders(), { FinalizationRegistry: r$4 } = requireDispatcherWeakref()(), o$8 = requireUtil$7(), N$3 = require$$0__default$3, { isValidHTTPToken: l$4, sameOrigin: I$2, environmentSettingsObject: p$3 } = requireUtil$6(), { forbiddenMethodsSet: b$2, corsSafeListedMethodsSet: G$4, referrerPolicy: J$2, requestRedirect: V$1, requestMode: _$4, requestCredentials: q$2, requestCache: M$2, requestDuplex: Y$1 } = requireConstants$2(), { kEnumerableProperty: m$5, normalizedMethodRecordsBase: f$
|
|
33595
|
+
const { extractBody: A$1, mixinBody: k$3, cloneBody: c$9, bodyUnusable: B } = requireBody(), { Headers: t$14, fill: y$7, HeadersList: R$5, setHeadersGuard: F$4, getHeadersGuard: Q$2, setHeadersList: D$2, getHeadersList: U$1 } = requireHeaders(), { FinalizationRegistry: r$4 } = requireDispatcherWeakref()(), o$8 = requireUtil$7(), N$3 = require$$0__default$3, { isValidHTTPToken: l$4, sameOrigin: I$2, environmentSettingsObject: p$3 } = requireUtil$6(), { forbiddenMethodsSet: b$2, corsSafeListedMethodsSet: G$4, referrerPolicy: J$2, requestRedirect: V$1, requestMode: _$4, requestCredentials: q$2, requestCache: M$2, requestDuplex: Y$1 } = requireConstants$2(), { kEnumerableProperty: m$5, normalizedMethodRecordsBase: f$9, normalizedMethodRecords: n$6 } = o$8, { kHeaders: C$2, kSignal: w$5, kState: S$3, kDispatcher: x$3 } = requireSymbols$3(), { webidl: z$3 } = requireWebidl(), { URLSerializer: $ } = requireDataUrl(), { kConstruct: K$2 } = requireSymbols$4(), nA = require$$0__default$1, { getMaxListeners: iA, setMaxListeners: uA, getEventListeners: RA, defaultMaxListeners: IA } = require$$8__default, CA = Symbol("abortController"), pA = new r$4(({ signal: sA, abort: NA }) => {
|
|
33596
33596
|
sA.removeEventListener("abort", NA);
|
|
33597
33597
|
}), fA = /* @__PURE__ */ new WeakMap();
|
|
33598
33598
|
function kA(sA) {
|
|
@@ -33688,7 +33688,7 @@ ${M$2.format(Y$1)}
|
|
|
33688
33688
|
if (!l$4(cA)) throw new TypeError(`'${cA}' is not a valid HTTP method.`);
|
|
33689
33689
|
const LA = cA.toUpperCase();
|
|
33690
33690
|
if (b$2.has(LA)) throw new TypeError(`'${cA}' HTTP method is unsupported.`);
|
|
33691
|
-
cA = f$
|
|
33691
|
+
cA = f$9[LA] ?? cA, dA.method = cA;
|
|
33692
33692
|
}
|
|
33693
33693
|
!bA && dA.method === "patch" && (process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.", { code: "UNDICI-FETCH-patch" }), bA = !0);
|
|
33694
33694
|
}
|
|
@@ -33997,7 +33997,7 @@ ${M$2.format(Y$1)}
|
|
|
33997
33997
|
function requireFetch() {
|
|
33998
33998
|
if (hasRequiredFetch) return fetch_1;
|
|
33999
33999
|
hasRequiredFetch = 1;
|
|
34000
|
-
const { makeNetworkError: A$1, makeAppropriateNetworkError: k$3, filterResponse: c$9, makeResponse: B, fromInnerResponse: t$14 } = requireResponse(), { HeadersList: y$7 } = requireHeaders(), { Request: R$5, cloneRequest: F$4 } = requireRequest(), Q$2 = zlib__default, { bytesMatch: D$2, makePolicyContainer: U$1, clonePolicyContainer: r$4, requestBadPort: o$8, TAOCheck: N$3, appendRequestOriginHeader: l$4, responseLocationURL: I$2, requestCurrentURL: p$3, setRequestReferrerPolicyOnRedirect: b$2, tryUpgradeRequestToAPotentiallyTrustworthyURL: G$4, createOpaqueTimingInfo: J$2, appendFetchMetadata: V$1, corsCheck: _$4, crossOriginResourcePolicyCheck: q$2, determineRequestsReferrer: M$2, coarsenedSharedCurrentTime: Y$1, createDeferredPromise: m$5, isBlobLike: f$
|
|
34000
|
+
const { makeNetworkError: A$1, makeAppropriateNetworkError: k$3, filterResponse: c$9, makeResponse: B, fromInnerResponse: t$14 } = requireResponse(), { HeadersList: y$7 } = requireHeaders(), { Request: R$5, cloneRequest: F$4 } = requireRequest(), Q$2 = zlib__default, { bytesMatch: D$2, makePolicyContainer: U$1, clonePolicyContainer: r$4, requestBadPort: o$8, TAOCheck: N$3, appendRequestOriginHeader: l$4, responseLocationURL: I$2, requestCurrentURL: p$3, setRequestReferrerPolicyOnRedirect: b$2, tryUpgradeRequestToAPotentiallyTrustworthyURL: G$4, createOpaqueTimingInfo: J$2, appendFetchMetadata: V$1, corsCheck: _$4, crossOriginResourcePolicyCheck: q$2, determineRequestsReferrer: M$2, coarsenedSharedCurrentTime: Y$1, createDeferredPromise: m$5, isBlobLike: f$9, sameOrigin: n$6, isCancelled: C$2, isAborted: w$5, isErrorLike: S$3, fullyReadBody: x$3, readableStreamClose: z$3, isomorphicEncode: $, urlIsLocal: K$2, urlIsHttpHttpsScheme: nA, urlHasHttpsScheme: iA, clampAndCoarsenConnectionTimingInfo: uA, simpleRangeHeaderValue: RA, buildContentRange: IA, createInflate: CA, extractMimeType: pA } = requireUtil$6(), { kState: fA, kDispatcher: kA } = requireSymbols$3(), bA = require$$0__default$1, { safelyExtractBody: gA, extractBody: DA } = requireBody(), { redirectStatusSet: oA, nullBodyStatus: aA, safeMethodsSet: EA, requestBodyHeader: sA, subresourceSet: NA } = requireConstants$2(), wA = require$$8__default, { Readable: vA, pipeline: dA, finished: XA } = Stream__default, { addAbortListener: KA, isErrored: OA, isReadable: PA, bufferToLowerCasedHeaderName: ZA } = requireUtil$7(), { dataURLProcessor: HA, serializeAMimeType: se$1, minimizeSupportedMimeType: ne$1 } = requireDataUrl(), { getGlobalDispatcher: jA } = requireGlobal(), { webidl: Ae$1 } = requireWebidl(), { STATUS_CODES: QA } = http__default, W$1 = ["GET", "HEAD"], cA = typeof __UNDICI_IS_NODE__ < "u" || typeof esbuildDetection < "u" ? "node" : "undici";
|
|
34001
34001
|
let yA;
|
|
34002
34002
|
const UA = class UA$1 extends wA {
|
|
34003
34003
|
constructor(v$3) {
|
|
@@ -34127,7 +34127,7 @@ ${M$2.format(Y$1)}
|
|
|
34127
34127
|
const j$3 = p$3(v$3);
|
|
34128
34128
|
if (j$3.search.length !== 0) return Promise.resolve(A$1("NetworkError when attempting to fetch resource."));
|
|
34129
34129
|
const tA = yA(j$3.toString());
|
|
34130
|
-
if (v$3.method !== "GET" || !f$
|
|
34130
|
+
if (v$3.method !== "GET" || !f$9(tA)) return Promise.resolve(A$1("invalid method"));
|
|
34131
34131
|
const rA = B(), FA = tA.size, TA = $(`${FA}`), VA = tA.type;
|
|
34132
34132
|
if (v$3.headersList.contains("range", !0)) {
|
|
34133
34133
|
rA.rangeRequested = !0;
|
|
@@ -34770,15 +34770,15 @@ ${M$2.format(Y$1)}
|
|
|
34770
34770
|
if (J$2[A$1] === "loading") throw new DOMException("Invalid state", "InvalidStateError");
|
|
34771
34771
|
J$2[A$1] = "loading", J$2[c$9] = null, J$2[k$3] = null;
|
|
34772
34772
|
const Y$1 = V$1.stream().getReader(), m$5 = [];
|
|
34773
|
-
let f$
|
|
34773
|
+
let f$9 = Y$1.read(), n$6 = !0;
|
|
34774
34774
|
(async () => {
|
|
34775
34775
|
for (; !J$2[B];) try {
|
|
34776
|
-
const { done: C$2, value: w$5 } = await f$
|
|
34776
|
+
const { done: C$2, value: w$5 } = await f$9;
|
|
34777
34777
|
if (n$6 && !J$2[B] && queueMicrotask(() => {
|
|
34778
34778
|
l$4("loadstart", J$2);
|
|
34779
34779
|
}), n$6 = !1, !C$2 && D$2.isUint8Array(w$5)) m$5.push(w$5), (J$2[t$14] === void 0 || Date.now() - J$2[t$14] >= 50) && !J$2[B] && (J$2[t$14] = Date.now(), queueMicrotask(() => {
|
|
34780
34780
|
l$4("progress", J$2);
|
|
34781
|
-
})), f$
|
|
34781
|
+
})), f$9 = Y$1.read();
|
|
34782
34782
|
else if (C$2) {
|
|
34783
34783
|
queueMicrotask(() => {
|
|
34784
34784
|
J$2[A$1] = "done";
|
|
@@ -34818,7 +34818,7 @@ ${M$2.format(Y$1)}
|
|
|
34818
34818
|
const Y$1 = Q$2(_$4 || "application/octet-stream");
|
|
34819
34819
|
Y$1 !== "failure" && (M$2 += F$4(Y$1)), M$2 += ";base64,";
|
|
34820
34820
|
const m$5 = new U$1("latin1");
|
|
34821
|
-
for (const f$
|
|
34821
|
+
for (const f$9 of J$2) M$2 += r$4(m$5.write(f$9));
|
|
34822
34822
|
return M$2 += r$4(m$5.end()), M$2;
|
|
34823
34823
|
}
|
|
34824
34824
|
case "Text": {
|
|
@@ -36023,7 +36023,7 @@ ${M$2.format(Y$1)}
|
|
|
36023
36023
|
return Y$1(x$3) || M$2(x$3) || q$2(x$3);
|
|
36024
36024
|
}
|
|
36025
36025
|
e$7(m$5, "isValidOpcode");
|
|
36026
|
-
function f$
|
|
36026
|
+
function f$9(x$3) {
|
|
36027
36027
|
const z$3 = { position: 0 }, $ = /* @__PURE__ */ new Map();
|
|
36028
36028
|
for (; z$3.position < x$3.length;) {
|
|
36029
36029
|
const [nA, iA = ""] = U$1(";", x$3, z$3).split("=");
|
|
@@ -36031,7 +36031,7 @@ ${M$2.format(Y$1)}
|
|
|
36031
36031
|
}
|
|
36032
36032
|
return $;
|
|
36033
36033
|
}
|
|
36034
|
-
e$7(f$
|
|
36034
|
+
e$7(f$9, "parseExtensions");
|
|
36035
36035
|
function n$6(x$3) {
|
|
36036
36036
|
for (let z$3 = 0; z$3 < x$3.length; z$3++) {
|
|
36037
36037
|
const $ = x$3.charCodeAt(z$3);
|
|
@@ -36059,7 +36059,7 @@ ${M$2.format(Y$1)}
|
|
|
36059
36059
|
isContinuationFrame: M$2,
|
|
36060
36060
|
isTextBinaryFrame: Y$1,
|
|
36061
36061
|
isValidOpcode: m$5,
|
|
36062
|
-
parseExtensions: f$
|
|
36062
|
+
parseExtensions: f$9,
|
|
36063
36063
|
isValidClientWindowBits: n$6
|
|
36064
36064
|
}, util$1;
|
|
36065
36065
|
}
|
|
@@ -36177,7 +36177,7 @@ ${M$2.format(Y$1)}
|
|
|
36177
36177
|
});
|
|
36178
36178
|
}
|
|
36179
36179
|
e$7(m$5, "establishWebSocketConnection");
|
|
36180
|
-
function f$
|
|
36180
|
+
function f$9(S$3, x$3, z$3, $) {
|
|
36181
36181
|
if (!(o$8(S$3) || N$3(S$3))) if (!l$4(S$3)) r$4(S$3, "Connection was closed before it was established."), S$3[y$7] = k$3.CLOSING;
|
|
36182
36182
|
else if (S$3[R$5] === c$9.NOT_SENT) {
|
|
36183
36183
|
S$3[R$5] = c$9.PROCESSING;
|
|
@@ -36185,7 +36185,7 @@ ${M$2.format(Y$1)}
|
|
|
36185
36185
|
x$3 !== void 0 && z$3 === void 0 ? (K$2.frameData = Buffer.allocUnsafe(2), K$2.frameData.writeUInt16BE(x$3, 0)) : x$3 !== void 0 && z$3 !== void 0 ? (K$2.frameData = Buffer.allocUnsafe(2 + $), K$2.frameData.writeUInt16BE(x$3, 0), K$2.frameData.write(z$3, 2, "utf-8")) : K$2.frameData = B, S$3[D$2].socket.write(K$2.createFrame(t$14.CLOSE)), S$3[R$5] = c$9.SENT, S$3[y$7] = k$3.CLOSING;
|
|
36186
36186
|
} else S$3[y$7] = k$3.CLOSING;
|
|
36187
36187
|
}
|
|
36188
|
-
e$7(f$
|
|
36188
|
+
e$7(f$9, "closeWebSocketConnection");
|
|
36189
36189
|
function n$6(S$3) {
|
|
36190
36190
|
this.ws[F$4].write(S$3) || this.pause();
|
|
36191
36191
|
}
|
|
@@ -36213,7 +36213,7 @@ ${M$2.format(Y$1)}
|
|
|
36213
36213
|
}
|
|
36214
36214
|
return e$7(w$5, "onSocketError"), connection = {
|
|
36215
36215
|
establishWebSocketConnection: m$5,
|
|
36216
|
-
closeWebSocketConnection: f$
|
|
36216
|
+
closeWebSocketConnection: f$9
|
|
36217
36217
|
}, connection;
|
|
36218
36218
|
}
|
|
36219
36219
|
e$7(requireConnection, "requireConnection");
|
|
@@ -36261,7 +36261,7 @@ ${M$2.format(Y$1)}
|
|
|
36261
36261
|
e$7(requirePermessageDeflate, "requirePermessageDeflate");
|
|
36262
36262
|
var receiver, hasRequiredReceiver;
|
|
36263
36263
|
function requireReceiver() {
|
|
36264
|
-
var Y$1, m$5, f$
|
|
36264
|
+
var Y$1, m$5, f$9, n$6, C$2, w$5, S$3;
|
|
36265
36265
|
if (hasRequiredReceiver) return receiver;
|
|
36266
36266
|
hasRequiredReceiver = 1;
|
|
36267
36267
|
const { Writable: A$1 } = Stream__default, k$3 = require$$0__default$1, { parserStates: c$9, opcodes: B, states: t$14, emptyBuffer: y$7, sentCloseFrameState: R$5 } = requireConstants(), { kReadyState: F$4, kSentClose: Q$2, kResponse: D$2, kReceivedClose: U$1 } = requireSymbols(), { channels: r$4 } = requireDiagnostics(), { isValidStatusCode: o$8, isValidOpcode: N$3, failWebsocketConnection: l$4, websocketMessageReceived: I$2, utf8Decode: p$3, isControlFrame: b$2, isTextBinaryFrame: G$4, isContinuationFrame: J$2 } = requireUtil$1(), { WebsocketFrameSend: V$1 } = requireFrame(), { closeWebSocketConnection: _$4 } = requireConnection(), { PerMessageDeflate: q$2 } = requirePermessageDeflate(), x$3 = class x$4 extends A$1 {
|
|
@@ -36269,7 +36269,7 @@ ${M$2.format(Y$1)}
|
|
|
36269
36269
|
super();
|
|
36270
36270
|
SA(this, Y$1, []);
|
|
36271
36271
|
SA(this, m$5, 0);
|
|
36272
|
-
SA(this, f$
|
|
36272
|
+
SA(this, f$9, !1);
|
|
36273
36273
|
SA(this, n$6, c$9.INFO);
|
|
36274
36274
|
SA(this, C$2, {});
|
|
36275
36275
|
SA(this, w$5, []);
|
|
@@ -36277,10 +36277,10 @@ ${M$2.format(Y$1)}
|
|
|
36277
36277
|
this.ws = K$2, mA(this, S$3, nA ?? /* @__PURE__ */ new Map()), Z(this, S$3).has("permessage-deflate") && Z(this, S$3).set("permessage-deflate", new q$2(nA));
|
|
36278
36278
|
}
|
|
36279
36279
|
_write(K$2, nA, iA) {
|
|
36280
|
-
Z(this, Y$1).push(K$2), mA(this, m$5, Z(this, m$5) + K$2.length), mA(this, f$
|
|
36280
|
+
Z(this, Y$1).push(K$2), mA(this, m$5, Z(this, m$5) + K$2.length), mA(this, f$9, !0), this.run(iA);
|
|
36281
36281
|
}
|
|
36282
36282
|
run(K$2) {
|
|
36283
|
-
for (; Z(this, f$
|
|
36283
|
+
for (; Z(this, f$9);) if (Z(this, n$6) === c$9.INFO) {
|
|
36284
36284
|
if (Z(this, m$5) < 2) return K$2();
|
|
36285
36285
|
const nA = this.consume(2), iA = (nA[0] & 128) !== 0, uA = nA[0] & 15, RA = (nA[1] & 128) === 128, IA = !iA && uA !== B.CONTINUATION, CA = nA[1] & 127, pA = nA[0] & 64, fA = nA[0] & 32, kA = nA[0] & 16;
|
|
36286
36286
|
if (!N$3(uA)) return l$4(this.ws, "Invalid opcode received"), K$2();
|
|
@@ -36330,7 +36330,7 @@ ${M$2.format(Y$1)}
|
|
|
36330
36330
|
} else if (Z(this, n$6) === c$9.READ_DATA) {
|
|
36331
36331
|
if (Z(this, m$5) < Z(this, C$2).payloadLength) return K$2();
|
|
36332
36332
|
const nA = this.consume(Z(this, C$2).payloadLength);
|
|
36333
|
-
if (b$2(Z(this, C$2).opcode)) mA(this, f$
|
|
36333
|
+
if (b$2(Z(this, C$2).opcode)) mA(this, f$9, this.parseControlFrame(nA)), mA(this, n$6, c$9.INFO);
|
|
36334
36334
|
else if (Z(this, C$2).compressed) {
|
|
36335
36335
|
Z(this, S$3).get("permessage-deflate").decompress(nA, Z(this, C$2).fin, (iA, uA) => {
|
|
36336
36336
|
if (iA) {
|
|
@@ -36338,11 +36338,11 @@ ${M$2.format(Y$1)}
|
|
|
36338
36338
|
return;
|
|
36339
36339
|
}
|
|
36340
36340
|
if (Z(this, w$5).push(uA), !Z(this, C$2).fin) {
|
|
36341
|
-
mA(this, n$6, c$9.INFO), mA(this, f$
|
|
36341
|
+
mA(this, n$6, c$9.INFO), mA(this, f$9, !0), this.run(K$2);
|
|
36342
36342
|
return;
|
|
36343
36343
|
}
|
|
36344
|
-
I$2(this.ws, Z(this, C$2).binaryType, Buffer.concat(Z(this, w$5))), mA(this, f$
|
|
36345
|
-
}), mA(this, f$
|
|
36344
|
+
I$2(this.ws, Z(this, C$2).binaryType, Buffer.concat(Z(this, w$5))), mA(this, f$9, !0), mA(this, n$6, c$9.INFO), Z(this, w$5).length = 0, this.run(K$2);
|
|
36345
|
+
}), mA(this, f$9, !1);
|
|
36346
36346
|
break;
|
|
36347
36347
|
} else {
|
|
36348
36348
|
if (Z(this, w$5).push(nA), !Z(this, C$2).fragmented && Z(this, C$2).fin) {
|
|
@@ -36425,7 +36425,7 @@ ${M$2.format(Y$1)}
|
|
|
36425
36425
|
return Z(this, C$2).closeInfo;
|
|
36426
36426
|
}
|
|
36427
36427
|
};
|
|
36428
|
-
Y$1 = /* @__PURE__ */ new WeakMap(), m$5 = /* @__PURE__ */ new WeakMap(), f$
|
|
36428
|
+
Y$1 = /* @__PURE__ */ new WeakMap(), m$5 = /* @__PURE__ */ new WeakMap(), f$9 = /* @__PURE__ */ new WeakMap(), n$6 = /* @__PURE__ */ new WeakMap(), C$2 = /* @__PURE__ */ new WeakMap(), w$5 = /* @__PURE__ */ new WeakMap(), S$3 = /* @__PURE__ */ new WeakMap(), e$7(x$3, "ByteParser");
|
|
36429
36429
|
return receiver = { ByteParser: x$3 }, receiver;
|
|
36430
36430
|
}
|
|
36431
36431
|
e$7(requireReceiver, "requireReceiver");
|
|
@@ -36496,7 +36496,7 @@ ${M$2.format(Y$1)}
|
|
|
36496
36496
|
var z$3, $, K$2, nA, iA, uA, Ze;
|
|
36497
36497
|
if (hasRequiredWebsocket) return websocket;
|
|
36498
36498
|
hasRequiredWebsocket = 1;
|
|
36499
|
-
const { webidl: A$1 } = requireWebidl(), { URLSerializer: k$3 } = requireDataUrl(), { environmentSettingsObject: c$9 } = requireUtil$6(), { staticPropertyDescriptors: B, states: t$14, sentCloseFrameState: y$7, sendHints: R$5 } = requireConstants(), { kWebSocketURL: F$4, kReadyState: Q$2, kController: D$2, kBinaryType: U$1, kResponse: r$4, kSentClose: o$8, kByteParser: N$3 } = requireSymbols(), { isConnecting: l$4, isEstablished: I$2, isClosing: p$3, isValidSubprotocol: b$2, fireEvent: G$4 } = requireUtil$1(), { establishWebSocketConnection: J$2, closeWebSocketConnection: V$1 } = requireConnection(), { ByteParser: _$4 } = requireReceiver(), { kEnumerableProperty: q$2, isBlobLike: M$2 } = requireUtil$7(), { getGlobalDispatcher: Y$1 } = requireGlobal(), { types: m$5 } = require$$0__default$3, { ErrorEvent: f$
|
|
36499
|
+
const { webidl: A$1 } = requireWebidl(), { URLSerializer: k$3 } = requireDataUrl(), { environmentSettingsObject: c$9 } = requireUtil$6(), { staticPropertyDescriptors: B, states: t$14, sentCloseFrameState: y$7, sendHints: R$5 } = requireConstants(), { kWebSocketURL: F$4, kReadyState: Q$2, kController: D$2, kBinaryType: U$1, kResponse: r$4, kSentClose: o$8, kByteParser: N$3 } = requireSymbols(), { isConnecting: l$4, isEstablished: I$2, isClosing: p$3, isValidSubprotocol: b$2, fireEvent: G$4 } = requireUtil$1(), { establishWebSocketConnection: J$2, closeWebSocketConnection: V$1 } = requireConnection(), { ByteParser: _$4 } = requireReceiver(), { kEnumerableProperty: q$2, isBlobLike: M$2 } = requireUtil$7(), { getGlobalDispatcher: Y$1 } = requireGlobal(), { types: m$5 } = require$$0__default$3, { ErrorEvent: f$9, CloseEvent: n$6 } = requireEvents(), { SendQueue: C$2 } = requireSender(), IA = class IA$1 extends EventTarget {
|
|
36500
36500
|
constructor(fA, kA = []) {
|
|
36501
36501
|
super();
|
|
36502
36502
|
SA(this, uA);
|
|
@@ -36671,7 +36671,7 @@ ${M$2.format(Y$1)}
|
|
|
36671
36671
|
e$7(S$3, "onParserDrain");
|
|
36672
36672
|
function x$3(CA) {
|
|
36673
36673
|
let pA, fA;
|
|
36674
|
-
CA instanceof n$6 ? (pA = CA.reason, fA = CA.code) : pA = CA.message, G$4("error", this, () => new f$
|
|
36674
|
+
CA instanceof n$6 ? (pA = CA.reason, fA = CA.code) : pA = CA.message, G$4("error", this, () => new f$9("error", {
|
|
36675
36675
|
error: CA,
|
|
36676
36676
|
message: pA
|
|
36677
36677
|
})), V$1(this, fA);
|
|
@@ -36837,7 +36837,7 @@ ${p$3}`;
|
|
|
36837
36837
|
e$7(requireEventsourceStream, "requireEventsourceStream");
|
|
36838
36838
|
var eventsource, hasRequiredEventsource;
|
|
36839
36839
|
function requireEventsource() {
|
|
36840
|
-
var V$1, _$4, q$2, M$2, Y$1, m$5, f$
|
|
36840
|
+
var V$1, _$4, q$2, M$2, Y$1, m$5, f$9, n$6, C$2, Ue$1, Me$1;
|
|
36841
36841
|
if (hasRequiredEventsource) return eventsource;
|
|
36842
36842
|
hasRequiredEventsource = 1;
|
|
36843
36843
|
const { pipeline: A$1 } = Stream__default, { fetching: k$3 } = requireFetch(), { makeRequest: c$9 } = requireRequest(), { webidl: B } = requireWebidl(), { EventSourceStream: t$14 } = requireEventsourceStream(), { parseMIMEType: y$7 } = requireDataUrl(), { createFastMessageEvent: R$5 } = requireEvents(), { isNetworkError: F$4 } = requireResponse(), { delay: Q$2 } = requireUtil(), { kEnumerableProperty: D$2 } = requireUtil$7(), { environmentSettingsObject: U$1 } = requireUtil$6();
|
|
@@ -36856,11 +36856,11 @@ ${p$3}`;
|
|
|
36856
36856
|
SA(this, M$2, N$3);
|
|
36857
36857
|
SA(this, Y$1, null);
|
|
36858
36858
|
SA(this, m$5, null);
|
|
36859
|
-
SA(this, f$
|
|
36859
|
+
SA(this, f$9);
|
|
36860
36860
|
SA(this, n$6);
|
|
36861
36861
|
B.util.markAsUncloneable(this);
|
|
36862
36862
|
const iA = "EventSource constructor";
|
|
36863
|
-
B.argumentLengthCheck(arguments, 1, iA), r$4 || (r$4 = !0, process.emitWarning("EventSource is experimental, expect them to change at any time.", { code: "UNDICI-ES" })), K$2 = B.converters.USVString(K$2, iA, "url"), nA = B.converters.EventSourceInitDict(nA, iA, "eventSourceInitDict"), mA(this, f$
|
|
36863
|
+
B.argumentLengthCheck(arguments, 1, iA), r$4 || (r$4 = !0, process.emitWarning("EventSource is experimental, expect them to change at any time.", { code: "UNDICI-ES" })), K$2 = B.converters.USVString(K$2, iA, "url"), nA = B.converters.EventSourceInitDict(nA, iA, "eventSourceInitDict"), mA(this, f$9, nA.dispatcher), mA(this, n$6, {
|
|
36864
36864
|
lastEventId: "",
|
|
36865
36865
|
reconnectionTime: o$8
|
|
36866
36866
|
});
|
|
@@ -36917,12 +36917,12 @@ ${p$3}`;
|
|
|
36917
36917
|
Z(this, V$1).error && this.removeEventListener("error", Z(this, V$1).error), typeof K$2 == "function" ? (Z(this, V$1).error = K$2, this.addEventListener("error", K$2)) : Z(this, V$1).error = null;
|
|
36918
36918
|
}
|
|
36919
36919
|
};
|
|
36920
|
-
V$1 = /* @__PURE__ */ new WeakMap(), _$4 = /* @__PURE__ */ new WeakMap(), q$2 = /* @__PURE__ */ new WeakMap(), M$2 = /* @__PURE__ */ new WeakMap(), Y$1 = /* @__PURE__ */ new WeakMap(), m$5 = /* @__PURE__ */ new WeakMap(), f$
|
|
36920
|
+
V$1 = /* @__PURE__ */ new WeakMap(), _$4 = /* @__PURE__ */ new WeakMap(), q$2 = /* @__PURE__ */ new WeakMap(), M$2 = /* @__PURE__ */ new WeakMap(), Y$1 = /* @__PURE__ */ new WeakMap(), m$5 = /* @__PURE__ */ new WeakMap(), f$9 = /* @__PURE__ */ new WeakMap(), n$6 = /* @__PURE__ */ new WeakMap(), C$2 = /* @__PURE__ */ new WeakSet(), Ue$1 = e$7(function() {
|
|
36921
36921
|
if (Z(this, M$2) === I$2) return;
|
|
36922
36922
|
mA(this, M$2, N$3);
|
|
36923
36923
|
const K$2 = {
|
|
36924
36924
|
request: Z(this, Y$1),
|
|
36925
|
-
dispatcher: Z(this, f$
|
|
36925
|
+
dispatcher: Z(this, f$9)
|
|
36926
36926
|
};
|
|
36927
36927
|
K$2.processResponseEndOfBody = e$7((iA) => {
|
|
36928
36928
|
F$4(iA) && (this.dispatchEvent(new Event("error")), this.close()), ee(this, C$2, Me$1).call(this);
|
|
@@ -37040,8 +37040,8 @@ ${p$3}`;
|
|
|
37040
37040
|
throw fA && typeof fA == "object" && Error.captureStackTrace(fA), fA;
|
|
37041
37041
|
}
|
|
37042
37042
|
}, "fetch"), undici.Headers = requireHeaders().Headers, undici.Response = requireResponse().Response, undici.Request = requireRequest().Request, undici.FormData = requireFormdata().FormData, undici.File = globalThis.File ?? require$$0__default.File, undici.FileReader = requireFilereader().FileReader;
|
|
37043
|
-
const { setGlobalOrigin: m$5, getGlobalOrigin: f$
|
|
37044
|
-
undici.setGlobalOrigin = m$5, undici.getGlobalOrigin = f$
|
|
37043
|
+
const { setGlobalOrigin: m$5, getGlobalOrigin: f$9 } = requireGlobal$1();
|
|
37044
|
+
undici.setGlobalOrigin = m$5, undici.getGlobalOrigin = f$9;
|
|
37045
37045
|
const { CacheStorage: n$6 } = requireCachestorage(), { kConstruct: C$2 } = requireSymbols$1();
|
|
37046
37046
|
undici.caches = new n$6(C$2);
|
|
37047
37047
|
const { deleteCookie: w$5, getCookies: S$3, getSetCookies: x$3, setCookie: z$3 } = requireCookies();
|
|
@@ -37306,8 +37306,8 @@ ${p$3}`;
|
|
|
37306
37306
|
_$4++;
|
|
37307
37307
|
const m$5 = B.formatters[Y$1];
|
|
37308
37308
|
if (typeof m$5 == "function") {
|
|
37309
|
-
const f$
|
|
37310
|
-
M$2 = m$5.call(G$4, f$
|
|
37309
|
+
const f$9 = b$2[_$4];
|
|
37310
|
+
M$2 = m$5.call(G$4, f$9), b$2.splice(_$4, 1), _$4--;
|
|
37311
37311
|
}
|
|
37312
37312
|
return M$2;
|
|
37313
37313
|
}), B.formatArgs.call(G$4, b$2), (G$4.log || B.log).apply(G$4, b$2);
|
|
@@ -37841,8 +37841,8 @@ ${p$3}`;
|
|
|
37841
37841
|
if (!M$2) continue;
|
|
37842
37842
|
const Y$1 = M$2.indexOf(":");
|
|
37843
37843
|
if (Y$1 === -1) return t$14.destroy(), R$5(/* @__PURE__ */ new Error(`Invalid header from proxy CONNECT response: "${M$2}"`));
|
|
37844
|
-
const m$5 = M$2.slice(0, Y$1).toLowerCase(), f$
|
|
37845
|
-
typeof n$6 == "string" ? q$2[m$5] = [n$6, f$
|
|
37844
|
+
const m$5 = M$2.slice(0, Y$1).toLowerCase(), f$9 = M$2.slice(Y$1 + 1).trimStart(), n$6 = q$2[m$5];
|
|
37845
|
+
typeof n$6 == "string" ? q$2[m$5] = [n$6, f$9] : Array.isArray(n$6) ? n$6.push(f$9) : q$2[m$5] = f$9;
|
|
37846
37846
|
}
|
|
37847
37847
|
c$9("got proxy server response: %o %o", G$4, q$2), U$1(), y$7({
|
|
37848
37848
|
connect: {
|
|
@@ -37922,8 +37922,8 @@ ${p$3}`;
|
|
|
37922
37922
|
const m$5 = (0, U$1.parseProxyResponse)(_$4);
|
|
37923
37923
|
_$4.write(`${Y$1}\r
|
|
37924
37924
|
`);
|
|
37925
|
-
const { connect: f$
|
|
37926
|
-
if (G$4.emit("proxyConnect", f$
|
|
37925
|
+
const { connect: f$9, buffered: n$6 } = await m$5;
|
|
37926
|
+
if (G$4.emit("proxyConnect", f$9), this.emit("proxyConnect", f$9, G$4), f$9.statusCode === 200) return G$4.once("socket", l$4), J$2.secureEndpoint ? (r$4("Upgrading socket connection to TLS"), y$7.connect({
|
|
37927
37927
|
...I$2(o$8(J$2), "host", "path", "port"),
|
|
37928
37928
|
socket: _$4
|
|
37929
37929
|
})) : _$4;
|
|
@@ -38273,7 +38273,7 @@ function c$3() {
|
|
|
38273
38273
|
t$14.list = this, t$14.prev = i$10, i$10 && (i$10.next = t$14), this.tail = t$14, this.head || (this.head = t$14), this.length++;
|
|
38274
38274
|
}
|
|
38275
38275
|
}, r$4.prototype.push = function() {
|
|
38276
|
-
for (var t$14 = 0, i$10 = arguments.length; t$14 < i$10; t$14++) f$
|
|
38276
|
+
for (var t$14 = 0, i$10 = arguments.length; t$14 < i$10; t$14++) f$9(this, arguments[t$14]);
|
|
38277
38277
|
return this.length;
|
|
38278
38278
|
}, r$4.prototype.unshift = function() {
|
|
38279
38279
|
for (var t$14 = 0, i$10 = arguments.length; t$14 < i$10; t$14++) o$8(this, arguments[t$14]);
|
|
@@ -38362,7 +38362,7 @@ function c$3() {
|
|
|
38362
38362
|
var h$4 = i$10 === t$14.head ? new s$12(e$10, null, i$10, t$14) : new s$12(e$10, i$10, i$10.next, t$14);
|
|
38363
38363
|
return h$4.next === null && (t$14.tail = h$4), h$4.prev === null && (t$14.head = h$4), t$14.length++, h$4;
|
|
38364
38364
|
}
|
|
38365
|
-
function f$
|
|
38365
|
+
function f$9(t$14, i$10) {
|
|
38366
38366
|
t$14.tail = new s$12(i$10, t$14.tail, null, t$14), t$14.head || (t$14.head = t$14.tail), t$14.length++;
|
|
38367
38367
|
}
|
|
38368
38368
|
function o$8(t$14, i$10) {
|
|
@@ -38385,7 +38385,7 @@ function ft() {
|
|
|
38385
38385
|
const H$4 = typeof process == "object" && process ? process : {
|
|
38386
38386
|
stdout: null,
|
|
38387
38387
|
stderr: null
|
|
38388
|
-
}, Z$2 = nt, q$2 = ot
|
|
38388
|
+
}, Z$2 = nt, q$2 = ot, G$4 = ht.StringDecoder, m$5 = Symbol("EOF"), d$4 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$5 = Symbol("emittingEnd"), g$4 = Symbol("emittedError"), B = Symbol("closed"), Y$1 = Symbol("read"), T$4 = Symbol("flush"), $ = Symbol("flushChunk"), f$9 = Symbol("encoding"), c$9 = Symbol("decoder"), M$2 = Symbol("flowing"), S$3 = Symbol("paused"), b$2 = Symbol("resume"), i$10 = Symbol("buffer"), a$14 = Symbol("pipes"), n$6 = Symbol("bufferLength"), j$3 = Symbol("bufferPush"), I$2 = Symbol("bufferShift"), o$8 = Symbol("objectMode"), r$4 = Symbol("destroyed"), P$3 = Symbol("error"), x$3 = Symbol("emitData"), V$1 = Symbol("emitEnd"), N$3 = Symbol("emitEnd2"), p$3 = Symbol("async"), _$4 = Symbol("abort"), O$6 = Symbol("aborted"), E$2 = Symbol("signal"), w$5 = (h$4) => Promise.resolve().then(h$4), J$2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K$2 = J$2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W$1 = J$2 && Symbol.iterator || Symbol("iterator not implemented"), k$3 = (h$4) => h$4 === "end" || h$4 === "finish" || h$4 === "prefinish", tt$2 = (h$4) => h$4 instanceof ArrayBuffer || typeof h$4 == "object" && h$4.constructor && h$4.constructor.name === "ArrayBuffer" && h$4.byteLength >= 0, et$1 = (h$4) => !Buffer.isBuffer(h$4) && ArrayBuffer.isView(h$4);
|
|
38389
38389
|
class z$3 {
|
|
38390
38390
|
constructor(t$14, e$10, s$12) {
|
|
38391
38391
|
this.src = t$14, this.dest = e$10, this.opts = s$12, this.ondrain = () => t$14[b$2](), e$10.on("drain", this.ondrain);
|
|
@@ -38408,18 +38408,18 @@ function ft() {
|
|
|
38408
38408
|
}
|
|
38409
38409
|
class F$4 extends q$2 {
|
|
38410
38410
|
constructor(t$14) {
|
|
38411
|
-
super(), this[M$2] = false, this[S$3] = false, this[a$14] = [], this[i$10] = [], this[o$8] = t$14 && t$14.objectMode || false, this[o$8] ? this[f$
|
|
38411
|
+
super(), this[M$2] = false, this[S$3] = false, this[a$14] = [], this[i$10] = [], this[o$8] = t$14 && t$14.objectMode || false, this[o$8] ? this[f$9] = null : this[f$9] = t$14 && t$14.encoding || null, this[f$9] === "buffer" && (this[f$9] = null), this[p$3] = t$14 && !!t$14.async || false, this[c$9] = this[f$9] ? new G$4(this[f$9]) : null, this[m$5] = false, this[y$7] = false, this[R$5] = false, this[B] = false, this[g$4] = null, this.writable = true, this.readable = true, this[n$6] = 0, this[r$4] = false, t$14 && t$14.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i$10] }), t$14 && t$14.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a$14] }), this[E$2] = t$14 && t$14.signal, this[O$6] = false, this[E$2] && (this[E$2].addEventListener("abort", () => this[_$4]()), this[E$2].aborted && this[_$4]());
|
|
38412
38412
|
}
|
|
38413
38413
|
get bufferLength() {
|
|
38414
38414
|
return this[n$6];
|
|
38415
38415
|
}
|
|
38416
38416
|
get encoding() {
|
|
38417
|
-
return this[f$
|
|
38417
|
+
return this[f$9];
|
|
38418
38418
|
}
|
|
38419
38419
|
set encoding(t$14) {
|
|
38420
38420
|
if (this[o$8]) throw new Error("cannot set encoding in objectMode");
|
|
38421
|
-
if (this[f$
|
|
38422
|
-
this[f$
|
|
38421
|
+
if (this[f$9] && t$14 !== this[f$9] && (this[c$9] && this[c$9].lastNeed || this[n$6])) throw new Error("cannot change encoding");
|
|
38422
|
+
this[f$9] !== t$14 && (this[c$9] = t$14 ? new G$4(t$14) : null, this[i$10].length && (this[i$10] = this[i$10].map((e$10) => this[c$9].write(e$10)))), this[f$9] = t$14;
|
|
38423
38423
|
}
|
|
38424
38424
|
setEncoding(t$14) {
|
|
38425
38425
|
this.encoding = t$14;
|
|
@@ -38449,7 +38449,7 @@ function ft() {
|
|
|
38449
38449
|
if (this[r$4]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
|
|
38450
38450
|
typeof e$10 == "function" && (s$12 = e$10, e$10 = "utf8"), e$10 || (e$10 = "utf8");
|
|
38451
38451
|
const l$4 = this[p$3] ? w$5 : (u$9) => u$9();
|
|
38452
|
-
return !this[o$8] && !Buffer.isBuffer(t$14) && (et$1(t$14) ? t$14 = Buffer.from(t$14.buffer, t$14.byteOffset, t$14.byteLength) : tt$2(t$14) ? t$14 = Buffer.from(t$14) : typeof t$14 != "string" && (this.objectMode = true)), this[o$8] ? (this.flowing && this[n$6] !== 0 && this[T$4](true), this.flowing ? this.emit("data", t$14) : this[j$3](t$14), this[n$6] !== 0 && this.emit("readable"), s$12 && l$4(s$12), this.flowing) : t$14.length ? (typeof t$14 == "string" && !(e$10 === this[f$
|
|
38452
|
+
return !this[o$8] && !Buffer.isBuffer(t$14) && (et$1(t$14) ? t$14 = Buffer.from(t$14.buffer, t$14.byteOffset, t$14.byteLength) : tt$2(t$14) ? t$14 = Buffer.from(t$14) : typeof t$14 != "string" && (this.objectMode = true)), this[o$8] ? (this.flowing && this[n$6] !== 0 && this[T$4](true), this.flowing ? this.emit("data", t$14) : this[j$3](t$14), this[n$6] !== 0 && this.emit("readable"), s$12 && l$4(s$12), this.flowing) : t$14.length ? (typeof t$14 == "string" && !(e$10 === this[f$9] && !this[c$9].lastNeed) && (t$14 = Buffer.from(t$14, e$10)), Buffer.isBuffer(t$14) && this[f$9] && (t$14 = this[c$9].write(t$14)), this.flowing && this[n$6] !== 0 && this[T$4](true), this.flowing ? this.emit("data", t$14) : this[j$3](t$14), this[n$6] !== 0 && this.emit("readable"), s$12 && l$4(s$12), this.flowing) : (this[n$6] !== 0 && this.emit("readable"), s$12 && l$4(s$12), this.flowing);
|
|
38453
38453
|
}
|
|
38454
38454
|
read(t$14) {
|
|
38455
38455
|
if (this[r$4]) return null;
|
|
@@ -38569,7 +38569,7 @@ while (this[$](this[I$2]()) && this[i$10].length);
|
|
|
38569
38569
|
}), e$10.then(() => t$14);
|
|
38570
38570
|
}
|
|
38571
38571
|
concat() {
|
|
38572
|
-
return this[o$8] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((t$14) => this[o$8] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[f$
|
|
38572
|
+
return this[o$8] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((t$14) => this[o$8] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[f$9] ? t$14.join("") : Buffer.concat(t$14, t$14.dataLength));
|
|
38573
38573
|
}
|
|
38574
38574
|
promise() {
|
|
38575
38575
|
return new Promise((t$14, e$10) => {
|
|
@@ -38859,7 +38859,7 @@ function tt() {
|
|
|
38859
38859
|
const I$2 = typeof process == "object" && process ? process : {
|
|
38860
38860
|
stdout: null,
|
|
38861
38861
|
stderr: null
|
|
38862
|
-
}, Y$1 = nt, x$3 = ot
|
|
38862
|
+
}, Y$1 = nt, x$3 = ot, N$3 = ht.StringDecoder, u$9 = Symbol("EOF"), a$14 = Symbol("maybeEmitEnd"), c$9 = Symbol("emittedEnd"), S$3 = Symbol("emittingEnd"), E$2 = Symbol("emittedError"), w$5 = Symbol("closed"), P$3 = Symbol("read"), L$3 = Symbol("flush"), _$4 = Symbol("flushChunk"), h$4 = Symbol("encoding"), m$5 = Symbol("decoder"), M$2 = Symbol("flowing"), y$7 = Symbol("paused"), p$3 = Symbol("resume"), s$12 = Symbol("bufferLength"), T$4 = Symbol("bufferPush"), B = Symbol("bufferShift"), r$4 = Symbol("objectMode"), n$6 = Symbol("destroyed"), D$2 = Symbol("emitData"), F$4 = Symbol("emitEnd"), R$5 = Symbol("emitEnd2"), d$4 = Symbol("async"), b$2 = (o$8) => Promise.resolve().then(o$8), C$2 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $ = C$2 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G$4 = C$2 && Symbol.iterator || Symbol("iterator not implemented"), V$1 = (o$8) => o$8 === "end" || o$8 === "finish" || o$8 === "prefinish", v$3 = (o$8) => o$8 instanceof ArrayBuffer || typeof o$8 == "object" && o$8.constructor && o$8.constructor.name === "ArrayBuffer" && o$8.byteLength >= 0, J$2 = (o$8) => !Buffer.isBuffer(o$8) && ArrayBuffer.isView(o$8);
|
|
38863
38863
|
class U$1 {
|
|
38864
38864
|
constructor(t$14, e$10, i$10) {
|
|
38865
38865
|
this.src = t$14, this.dest = e$10, this.opts = i$10, this.ondrain = () => t$14[p$3](), e$10.on("drain", this.ondrain);
|
|
@@ -38914,7 +38914,7 @@ function tt() {
|
|
|
38914
38914
|
if (this[u$9]) throw new Error("write after end");
|
|
38915
38915
|
if (this[n$6]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
|
|
38916
38916
|
typeof e$10 == "function" && (i$10 = e$10, e$10 = "utf8"), e$10 || (e$10 = "utf8");
|
|
38917
|
-
const l$4 = this[d$4] ? b$2 : (f$
|
|
38917
|
+
const l$4 = this[d$4] ? b$2 : (f$9) => f$9();
|
|
38918
38918
|
return !this[r$4] && !Buffer.isBuffer(t$14) && (J$2(t$14) ? t$14 = Buffer.from(t$14.buffer, t$14.byteOffset, t$14.byteLength) : v$3(t$14) ? t$14 = Buffer.from(t$14) : typeof t$14 != "string" && (this.objectMode = true)), this[r$4] ? (this.flowing && this[s$12] !== 0 && this[L$3](true), this.flowing ? this.emit("data", t$14) : this[T$4](t$14), this[s$12] !== 0 && this.emit("readable"), i$10 && l$4(i$10), this.flowing) : t$14.length ? (typeof t$14 == "string" && !(e$10 === this[h$4] && !this[m$5].lastNeed) && (t$14 = Buffer.from(t$14, e$10)), Buffer.isBuffer(t$14) && this[h$4] && (t$14 = this[m$5].write(t$14)), this.flowing && this[s$12] !== 0 && this[L$3](true), this.flowing ? this.emit("data", t$14) : this[T$4](t$14), this[s$12] !== 0 && this.emit("readable"), i$10 && l$4(i$10), this.flowing) : (this[s$12] !== 0 && this.emit("readable"), i$10 && l$4(i$10), this.flowing);
|
|
38919
38919
|
}
|
|
38920
38920
|
read(t$14) {
|
|
@@ -38990,18 +38990,18 @@ while (this[_$4](this[B]()));
|
|
|
38990
38990
|
if (t$14 === "end") return this[F$4]();
|
|
38991
38991
|
if (t$14 === "close") {
|
|
38992
38992
|
if (this[w$5] = true, !this[c$9] && !this[n$6]) return;
|
|
38993
|
-
const f$
|
|
38994
|
-
return this.removeAllListeners("close"), f$
|
|
38993
|
+
const f$9 = super.emit("close");
|
|
38994
|
+
return this.removeAllListeners("close"), f$9;
|
|
38995
38995
|
} else if (t$14 === "error") {
|
|
38996
38996
|
this[E$2] = e$10;
|
|
38997
|
-
const f$
|
|
38998
|
-
return this[a$14](), f$
|
|
38997
|
+
const f$9 = super.emit("error", e$10);
|
|
38998
|
+
return this[a$14](), f$9;
|
|
38999
38999
|
} else if (t$14 === "resume") {
|
|
39000
|
-
const f$
|
|
39001
|
-
return this[a$14](), f$
|
|
39000
|
+
const f$9 = super.emit("resume");
|
|
39001
|
+
return this[a$14](), f$9;
|
|
39002
39002
|
} else if (t$14 === "finish" || t$14 === "prefinish") {
|
|
39003
|
-
const f$
|
|
39004
|
-
return this.removeAllListeners(t$14), f$
|
|
39003
|
+
const f$9 = super.emit(t$14);
|
|
39004
|
+
return this.removeAllListeners(t$14), f$9;
|
|
39005
39005
|
}
|
|
39006
39006
|
const l$4 = super.emit(t$14, e$10, ...i$10);
|
|
39007
39007
|
return this[a$14](), l$4;
|
|
@@ -39051,18 +39051,18 @@ while (this[_$4](this[B]()));
|
|
|
39051
39051
|
});
|
|
39052
39052
|
if (this[u$9]) return Promise.resolve({ done: true });
|
|
39053
39053
|
let i$10 = null, l$4 = null;
|
|
39054
|
-
const f$
|
|
39054
|
+
const f$9 = (g$4) => {
|
|
39055
39055
|
this.removeListener("data", A$1), this.removeListener("end", O$6), l$4(g$4);
|
|
39056
39056
|
}, A$1 = (g$4) => {
|
|
39057
|
-
this.removeListener("error", f$
|
|
39057
|
+
this.removeListener("error", f$9), this.removeListener("end", O$6), this.pause(), i$10({
|
|
39058
39058
|
value: g$4,
|
|
39059
39059
|
done: !!this[u$9]
|
|
39060
39060
|
});
|
|
39061
39061
|
}, O$6 = () => {
|
|
39062
|
-
this.removeListener("error", f$
|
|
39063
|
-
}, W$1 = () => f$
|
|
39062
|
+
this.removeListener("error", f$9), this.removeListener("data", A$1), i$10({ done: true });
|
|
39063
|
+
}, W$1 = () => f$9(/* @__PURE__ */ new Error("stream destroyed"));
|
|
39064
39064
|
return new Promise((g$4, z$3) => {
|
|
39065
|
-
l$4 = z$3, i$10 = g$4, this.once(n$6, W$1), this.once("error", f$
|
|
39065
|
+
l$4 = z$3, i$10 = g$4, this.once(n$6, W$1), this.once("error", f$9), this.once("end", O$6), this.once("data", A$1);
|
|
39066
39066
|
});
|
|
39067
39067
|
} };
|
|
39068
39068
|
}
|
|
@@ -39096,25 +39096,25 @@ function J() {
|
|
|
39096
39096
|
return "ZlibError";
|
|
39097
39097
|
}
|
|
39098
39098
|
}
|
|
39099
|
-
const Z$2 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$2 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$14 = Symbol("handle"), _$4 = Symbol("onError"), f$
|
|
39099
|
+
const Z$2 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$2 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$14 = Symbol("handle"), _$4 = Symbol("onError"), f$9 = Symbol("sawError"), F$4 = Symbol("level"), S$3 = Symbol("strategy"), g$4 = Symbol("ended");
|
|
39100
39100
|
class x$3 extends L$3 {
|
|
39101
39101
|
constructor(s$12, e$10) {
|
|
39102
39102
|
if (!s$12 || typeof s$12 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
39103
|
-
super(s$12), this[f$
|
|
39103
|
+
super(s$12), this[f$9] = false, this[g$4] = false, this[Z$2] = s$12, this[p$3] = s$12.flush, this[I$2] = s$12.finishFlush;
|
|
39104
39104
|
try {
|
|
39105
39105
|
this[t$14] = new z$3[e$10](s$12);
|
|
39106
39106
|
} catch (i$10) {
|
|
39107
39107
|
throw new d$4(i$10);
|
|
39108
39108
|
}
|
|
39109
39109
|
this[_$4] = (i$10) => {
|
|
39110
|
-
this[f$
|
|
39110
|
+
this[f$9] || (this[f$9] = true, this.close(), this.emit("error", i$10));
|
|
39111
39111
|
}, this[t$14].on("error", (i$10) => this[_$4](new d$4(i$10))), this.once("end", () => this.close);
|
|
39112
39112
|
}
|
|
39113
39113
|
close() {
|
|
39114
39114
|
this[t$14] && (this[t$14].close(), this[t$14] = null, this.emit("close"));
|
|
39115
39115
|
}
|
|
39116
39116
|
reset() {
|
|
39117
|
-
if (!this[f$
|
|
39117
|
+
if (!this[f$9]) return w$5(this[t$14], "zlib binding closed"), this[t$14].reset();
|
|
39118
39118
|
}
|
|
39119
39119
|
flush(s$12) {
|
|
39120
39120
|
this.ended || (typeof s$12 != "number" && (s$12 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$12 })));
|
|
@@ -39126,7 +39126,7 @@ function J() {
|
|
|
39126
39126
|
return this[g$4];
|
|
39127
39127
|
}
|
|
39128
39128
|
write(s$12, e$10, i$10) {
|
|
39129
|
-
if (typeof e$10 == "function" && (i$10 = e$10, e$10 = "utf8"), typeof s$12 == "string" && (s$12 = n$6.from(s$12, e$10)), this[f$
|
|
39129
|
+
if (typeof e$10 == "function" && (i$10 = e$10, e$10 = "utf8"), typeof s$12 == "string" && (s$12 = n$6.from(s$12, e$10)), this[f$9]) return;
|
|
39130
39130
|
w$5(this[t$14], "zlib binding closed");
|
|
39131
39131
|
const m$5 = this[t$14]._handle, R$5 = m$5.close;
|
|
39132
39132
|
m$5.close = () => {};
|
|
@@ -39158,7 +39158,7 @@ function J() {
|
|
|
39158
39158
|
s$12 = s$12 || {}, s$12.flush = s$12.flush || u$9.Z_NO_FLUSH, s$12.finishFlush = s$12.finishFlush || u$9.Z_FINISH, super(s$12, e$10), this[y$7] = u$9.Z_FULL_FLUSH, this[F$4] = s$12.level, this[S$3] = s$12.strategy;
|
|
39159
39159
|
}
|
|
39160
39160
|
params(s$12, e$10) {
|
|
39161
|
-
if (!this[f$
|
|
39161
|
+
if (!this[f$9]) {
|
|
39162
39162
|
if (!this[t$14]) throw new Error("cannot switch params when binding is closed");
|
|
39163
39163
|
if (!this[t$14].params) throw new Error("not supported in this implementation");
|
|
39164
39164
|
if (this[F$4] !== s$12 || this[S$3] !== e$10) {
|
|
@@ -39241,7 +39241,7 @@ var O$1, F$2;
|
|
|
39241
39241
|
function rt() {
|
|
39242
39242
|
if (F$2) return O$1;
|
|
39243
39243
|
F$2 = 1;
|
|
39244
|
-
const P$3 = c$4(), $ = E(), v$3 = nt, W$1 = c$3(), G$4 = 1024 * 1024, k$3 = u$3(), C$2 = f$2(), x$3 = J(), { nextTick: j$3 } = nt$1, B = Buffer.from([31, 139]), h$4 = Symbol("state"), d$4 = Symbol("writeEntry"), a$14 = Symbol("readEntry"), I$2 = Symbol("nextEntry"), U$1 = Symbol("processEntry"), l$4 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$9 = Symbol("meta"), H$4 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$
|
|
39244
|
+
const P$3 = c$4(), $ = E(), v$3 = nt, W$1 = c$3(), G$4 = 1024 * 1024, k$3 = u$3(), C$2 = f$2(), x$3 = J(), { nextTick: j$3 } = nt$1, B = Buffer.from([31, 139]), h$4 = Symbol("state"), d$4 = Symbol("writeEntry"), a$14 = Symbol("readEntry"), I$2 = Symbol("nextEntry"), U$1 = Symbol("processEntry"), l$4 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$9 = Symbol("meta"), H$4 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$9 = Symbol("queue"), u$9 = Symbol("ended"), L$3 = Symbol("emittedEnd"), b$2 = Symbol("emit"), r$4 = Symbol("unzip"), _$4 = Symbol("consumeChunk"), g$4 = Symbol("consumeChunkSub"), q$2 = Symbol("consumeBody"), z$3 = Symbol("consumeMeta"), Y$1 = Symbol("consumeHeader"), N$3 = Symbol("consuming"), D$2 = Symbol("bufferConcat"), M$2 = Symbol("maybeEnd"), S$3 = Symbol("writing"), m$5 = Symbol("aborted"), T$4 = Symbol("onDone"), E$1$1 = Symbol("sawValidEntry"), R$5 = Symbol("sawNullBlock"), A$1 = Symbol("sawEOF"), V$1 = Symbol("closeStream"), K$2 = (X$3) => true;
|
|
39245
39245
|
return O$1 = P$3(class extends v$3 {
|
|
39246
39246
|
constructor(t$14) {
|
|
39247
39247
|
t$14 = t$14 || {}, super(t$14), this.file = t$14.file || "", this[E$1$1] = null, this.on(T$4, (s$12) => {
|
|
@@ -39250,7 +39250,7 @@ function rt() {
|
|
|
39250
39250
|
this.emit("prefinish"), this.emit("finish"), this.emit("end");
|
|
39251
39251
|
}), this.strict = !!t$14.strict, this.maxMetaEntrySize = t$14.maxMetaEntrySize || G$4, this.filter = typeof t$14.filter == "function" ? t$14.filter : K$2;
|
|
39252
39252
|
const i$10 = t$14.file && (t$14.file.endsWith(".tar.br") || t$14.file.endsWith(".tbr"));
|
|
39253
|
-
this.brotli = !t$14.gzip && t$14.brotli !== void 0 ? t$14.brotli : i$10 ? void 0 : false, this.writable = true, this.readable = false, this[f$
|
|
39253
|
+
this.brotli = !t$14.gzip && t$14.brotli !== void 0 ? t$14.brotli : i$10 ? void 0 : false, this.writable = true, this.readable = false, this[f$9] = new W$1(), this[n$6] = null, this[a$14] = null, this[d$4] = null, this[h$4] = "begin", this[c$9] = "", this[l$4] = null, this[y$7] = null, this[u$9] = false, this[r$4] = null, this[m$5] = false, this[R$5] = false, this[A$1] = false, this.on("end", () => this[V$1]()), typeof t$14.onwarn == "function" && this.on("warn", t$14.onwarn), typeof t$14.onentry == "function" && this.on("entry", t$14.onentry);
|
|
39254
39254
|
}
|
|
39255
39255
|
[Y$1](t$14, i$10) {
|
|
39256
39256
|
this[E$1$1] === null && (this[E$1$1] = false);
|
|
@@ -39275,7 +39275,7 @@ function rt() {
|
|
|
39275
39275
|
};
|
|
39276
39276
|
e$10.on("end", w$5);
|
|
39277
39277
|
} else this[E$1$1] = true;
|
|
39278
|
-
e$10.meta ? e$10.size > this.maxMetaEntrySize ? (e$10.ignore = true, this[b$2]("ignoredEntry", e$10), this[h$4] = "ignore", e$10.resume()) : e$10.size > 0 && (this[c$9] = "", e$10.on("data", (w$5) => this[c$9] += w$5), this[h$4] = "meta") : (this[l$4] = null, e$10.ignore = e$10.ignore || !this.filter(e$10.path, e$10), e$10.ignore ? (this[b$2]("ignoredEntry", e$10), this[h$4] = e$10.remain ? "ignore" : "header", e$10.resume()) : (e$10.remain ? this[h$4] = "body" : (this[h$4] = "header", e$10.end()), this[a$14] ? this[f$
|
|
39278
|
+
e$10.meta ? e$10.size > this.maxMetaEntrySize ? (e$10.ignore = true, this[b$2]("ignoredEntry", e$10), this[h$4] = "ignore", e$10.resume()) : e$10.size > 0 && (this[c$9] = "", e$10.on("data", (w$5) => this[c$9] += w$5), this[h$4] = "meta") : (this[l$4] = null, e$10.ignore = e$10.ignore || !this.filter(e$10.path, e$10), e$10.ignore ? (this[b$2]("ignoredEntry", e$10), this[h$4] = e$10.remain ? "ignore" : "header", e$10.resume()) : (e$10.remain ? this[h$4] = "body" : (this[h$4] = "header", e$10.end()), this[a$14] ? this[f$9].push(e$10) : (this[f$9].push(e$10), this[I$2]())));
|
|
39279
39279
|
}
|
|
39280
39280
|
}
|
|
39281
39281
|
}
|
|
@@ -39288,8 +39288,8 @@ function rt() {
|
|
|
39288
39288
|
}
|
|
39289
39289
|
[I$2]() {
|
|
39290
39290
|
do ;
|
|
39291
|
-
while (this[U$1](this[f$
|
|
39292
|
-
if (!this[f$
|
|
39291
|
+
while (this[U$1](this[f$9].shift()));
|
|
39292
|
+
if (!this[f$9].length) {
|
|
39293
39293
|
const t$14 = this[a$14];
|
|
39294
39294
|
!t$14 || t$14.flowing || t$14.size === t$14.remain ? this[S$3] || this.emit("drain") : t$14.once("drain", (s$12) => this.emit("drain"));
|
|
39295
39295
|
}
|
|
@@ -39303,7 +39303,7 @@ while (this[U$1](this[f$8].shift()));
|
|
|
39303
39303
|
return this[d$4] || this[H$4](s$12), o$8;
|
|
39304
39304
|
}
|
|
39305
39305
|
[b$2](t$14, i$10, s$12) {
|
|
39306
|
-
!this[f$
|
|
39306
|
+
!this[f$9].length && !this[a$14] ? this.emit(t$14, i$10, s$12) : this[f$9].push([
|
|
39307
39307
|
t$14,
|
|
39308
39308
|
i$10,
|
|
39309
39309
|
s$12
|
|
@@ -39354,8 +39354,8 @@ while (this[U$1](this[f$8].shift()));
|
|
|
39354
39354
|
}
|
|
39355
39355
|
}
|
|
39356
39356
|
this[S$3] = true, this[r$4] ? this[r$4].write(t$14) : this[_$4](t$14), this[S$3] = false;
|
|
39357
|
-
const s$12 = this[f$
|
|
39358
|
-
return !s$12 && !this[f$
|
|
39357
|
+
const s$12 = this[f$9].length ? false : this[a$14] ? this[a$14].flowing : true;
|
|
39358
|
+
return !s$12 && !this[f$9].length && this[a$14].once("drain", (o$8) => this.emit("drain")), s$12;
|
|
39359
39359
|
}
|
|
39360
39360
|
[D$2](t$14) {
|
|
39361
39361
|
t$14 && !this[m$5] && (this[n$6] = this[n$6] ? Buffer.concat([this[n$6], t$14]) : t$14);
|
|
@@ -39426,11 +39426,11 @@ function X() {
|
|
|
39426
39426
|
j$3.oncomplete = G$4, c$9.writeBuffers(e$10, i$10, $, j$3);
|
|
39427
39427
|
};
|
|
39428
39428
|
}
|
|
39429
|
-
const m$5 = Symbol("_autoClose"), h$4 = Symbol("_close"), g$4 = Symbol("_ended"), s$12 = Symbol("_fd"), B = Symbol("_finished"), o$8 = Symbol("_flags"), x$3 = Symbol("_flush"), z$3 = Symbol("_handleChunk"), T$4 = Symbol("_makeBuf"), q$2 = Symbol("_mode"), E$2 = Symbol("_needDrain"), d$4 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$1 = Symbol("_onread"), _$4 = Symbol("_onwrite"), a$14 = Symbol("_open"), l$4 = Symbol("_path"), u$9 = Symbol("_pos"), n$6 = Symbol("_queue"), S$3 = Symbol("_read"), M$2 = Symbol("_readSize"), f$
|
|
39429
|
+
const m$5 = Symbol("_autoClose"), h$4 = Symbol("_close"), g$4 = Symbol("_ended"), s$12 = Symbol("_fd"), B = Symbol("_finished"), o$8 = Symbol("_flags"), x$3 = Symbol("_flush"), z$3 = Symbol("_handleChunk"), T$4 = Symbol("_makeBuf"), q$2 = Symbol("_mode"), E$2 = Symbol("_needDrain"), d$4 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$1 = Symbol("_onread"), _$4 = Symbol("_onwrite"), a$14 = Symbol("_open"), l$4 = Symbol("_path"), u$9 = Symbol("_pos"), n$6 = Symbol("_queue"), S$3 = Symbol("_read"), M$2 = Symbol("_readSize"), f$9 = Symbol("_reading"), k$3 = Symbol("_remain"), N$3 = Symbol("_size"), C$2 = Symbol("_write"), b$2 = Symbol("_writing"), F$4 = Symbol("_defaultFlag"), p$3 = Symbol("_errored");
|
|
39430
39430
|
class D$2 extends H$4 {
|
|
39431
39431
|
constructor(t$14, e$10) {
|
|
39432
39432
|
if (e$10 = e$10 || {}, super(e$10), this.readable = true, this.writable = false, typeof t$14 != "string") throw new TypeError("path must be a string");
|
|
39433
|
-
this[p$3] = false, this[s$12] = typeof e$10.fd == "number" ? e$10.fd : null, this[l$4] = t$14, this[M$2] = e$10.readSize || 16 * 1024 * 1024, this[f$
|
|
39433
|
+
this[p$3] = false, this[s$12] = typeof e$10.fd == "number" ? e$10.fd : null, this[l$4] = t$14, this[M$2] = e$10.readSize || 16 * 1024 * 1024, this[f$9] = false, this[N$3] = typeof e$10.size == "number" ? e$10.size : Infinity, this[k$3] = this[N$3], this[m$5] = typeof e$10.autoClose == "boolean" ? e$10.autoClose : true, typeof this[s$12] == "number" ? this[S$3]() : this[a$14]();
|
|
39434
39434
|
}
|
|
39435
39435
|
get fd() {
|
|
39436
39436
|
return this[s$12];
|
|
@@ -39454,15 +39454,15 @@ function X() {
|
|
|
39454
39454
|
return Buffer.allocUnsafe(Math.min(this[M$2], this[k$3]));
|
|
39455
39455
|
}
|
|
39456
39456
|
[S$3]() {
|
|
39457
|
-
if (!this[f$
|
|
39458
|
-
this[f$
|
|
39457
|
+
if (!this[f$9]) {
|
|
39458
|
+
this[f$9] = true;
|
|
39459
39459
|
const t$14 = this[T$4]();
|
|
39460
39460
|
if (t$14.length === 0) return process.nextTick(() => this[W$1](null, 0, t$14));
|
|
39461
39461
|
r$4.read(this[s$12], t$14, 0, t$14.length, null, (e$10, i$10, $) => this[W$1](e$10, i$10, $));
|
|
39462
39462
|
}
|
|
39463
39463
|
}
|
|
39464
39464
|
[W$1](t$14, e$10, i$10) {
|
|
39465
|
-
this[f$
|
|
39465
|
+
this[f$9] = false, t$14 ? this[d$4](t$14) : this[z$3](e$10, i$10) && this[S$3]();
|
|
39466
39466
|
}
|
|
39467
39467
|
[h$4]() {
|
|
39468
39468
|
if (this[m$5] && typeof this[s$12] == "number") {
|
|
@@ -39471,7 +39471,7 @@ function X() {
|
|
|
39471
39471
|
}
|
|
39472
39472
|
}
|
|
39473
39473
|
[d$4](t$14) {
|
|
39474
|
-
this[f$
|
|
39474
|
+
this[f$9] = true, this[h$4](), this.emit("error", t$14);
|
|
39475
39475
|
}
|
|
39476
39476
|
[z$3](t$14, e$10) {
|
|
39477
39477
|
let i$10 = false;
|
|
@@ -39501,13 +39501,13 @@ function X() {
|
|
|
39501
39501
|
[S$3]() {
|
|
39502
39502
|
let t$14 = true;
|
|
39503
39503
|
try {
|
|
39504
|
-
if (!this[f$
|
|
39505
|
-
this[f$
|
|
39504
|
+
if (!this[f$9]) {
|
|
39505
|
+
this[f$9] = !0;
|
|
39506
39506
|
do {
|
|
39507
39507
|
const e$10 = this[T$4](), i$10 = e$10.length === 0 ? 0 : r$4.readSync(this[s$12], e$10, 0, e$10.length, null);
|
|
39508
39508
|
if (!this[z$3](i$10, e$10)) break;
|
|
39509
39509
|
} while (!0);
|
|
39510
|
-
this[f$
|
|
39510
|
+
this[f$9] = !1;
|
|
39511
39511
|
}
|
|
39512
39512
|
t$14 = !1;
|
|
39513
39513
|
} finally {
|
|
@@ -39659,7 +39659,7 @@ var i$1, c$2;
|
|
|
39659
39659
|
function t() {
|
|
39660
39660
|
if (c$2) return i$1;
|
|
39661
39661
|
c$2 = 1;
|
|
39662
|
-
const { dirname: u$9 } = path$1, f$
|
|
39662
|
+
const { dirname: u$9 } = path$1, f$9 = (r$4, e$10, n$6 = void 0) => n$6 === e$10 ? Promise.resolve() : r$4.statAsync(e$10).then((d$4) => d$4.isDirectory() ? n$6 : void 0, (d$4) => d$4.code === "ENOENT" ? f$9(r$4, u$9(e$10), e$10) : void 0), o$8 = (r$4, e$10, n$6 = void 0) => {
|
|
39663
39663
|
if (n$6 !== e$10) try {
|
|
39664
39664
|
return r$4.statSync(e$10).isDirectory() ? n$6 : void 0;
|
|
39665
39665
|
} catch (d$4) {
|
|
@@ -39667,7 +39667,7 @@ function t() {
|
|
|
39667
39667
|
}
|
|
39668
39668
|
};
|
|
39669
39669
|
return i$1 = {
|
|
39670
|
-
findMade: f$
|
|
39670
|
+
findMade: f$9,
|
|
39671
39671
|
findMadeSync: o$8
|
|
39672
39672
|
}, i$1;
|
|
39673
39673
|
}
|
|
@@ -39675,9 +39675,9 @@ var o$3, a$4;
|
|
|
39675
39675
|
function y$2() {
|
|
39676
39676
|
if (a$4) return o$3;
|
|
39677
39677
|
a$4 = 1;
|
|
39678
|
-
const { dirname: f$
|
|
39678
|
+
const { dirname: f$9 } = path$1, t$14 = (n$6, e$10, c$9) => {
|
|
39679
39679
|
e$10.recursive = false;
|
|
39680
|
-
const i$10 = f$
|
|
39680
|
+
const i$10 = f$9(n$6);
|
|
39681
39681
|
return i$10 === n$6 ? e$10.mkdirAsync(n$6, e$10).catch((r$4) => {
|
|
39682
39682
|
if (r$4.code !== "EISDIR") throw r$4;
|
|
39683
39683
|
}) : e$10.mkdirAsync(n$6, e$10).then(() => c$9 || n$6, (r$4) => {
|
|
@@ -39691,7 +39691,7 @@ function y$2() {
|
|
|
39691
39691
|
});
|
|
39692
39692
|
});
|
|
39693
39693
|
}, d$4 = (n$6, e$10, c$9) => {
|
|
39694
|
-
const i$10 = f$
|
|
39694
|
+
const i$10 = f$9(n$6);
|
|
39695
39695
|
if (e$10.recursive = false, i$10 === n$6) try {
|
|
39696
39696
|
return e$10.mkdirSync(n$6, e$10);
|
|
39697
39697
|
} catch (r$4) {
|
|
@@ -39787,9 +39787,9 @@ function F$1() {
|
|
|
39787
39787
|
t$14(o$8 && o$8.code !== "ENOENT" ? o$8 : null);
|
|
39788
39788
|
}));
|
|
39789
39789
|
}, S$3 = (r$4, e$10, n$6, t$14, o$8) => {
|
|
39790
|
-
if (typeof e$10 == "string") return c$9.lstat(a$14.resolve(r$4, e$10), (s$12, f$
|
|
39790
|
+
if (typeof e$10 == "string") return c$9.lstat(a$14.resolve(r$4, e$10), (s$12, f$9) => {
|
|
39791
39791
|
if (s$12) return o$8(s$12.code !== "ENOENT" ? s$12 : null);
|
|
39792
|
-
f$
|
|
39792
|
+
f$9.name = e$10, S$3(r$4, f$9, n$6, t$14, o$8);
|
|
39793
39793
|
});
|
|
39794
39794
|
if (e$10.isDirectory()) E$2(a$14.resolve(r$4, e$10.name), n$6, t$14, (s$12) => {
|
|
39795
39795
|
if (s$12) return o$8(s$12);
|
|
@@ -39803,11 +39803,11 @@ function F$1() {
|
|
|
39803
39803
|
if (o$8.code !== "ENOTDIR" && o$8.code !== "ENOTSUP") return t$14(o$8);
|
|
39804
39804
|
}
|
|
39805
39805
|
if (o$8 || !s$12.length) return h$4(r$4, e$10, n$6, t$14);
|
|
39806
|
-
let f$
|
|
39806
|
+
let f$9 = s$12.length, v$3 = null;
|
|
39807
39807
|
const H$4 = (l$4) => {
|
|
39808
39808
|
if (!v$3) {
|
|
39809
39809
|
if (l$4) return t$14(v$3 = l$4);
|
|
39810
|
-
if (--f$
|
|
39810
|
+
if (--f$9 === 0) return h$4(r$4, e$10, n$6, t$14);
|
|
39811
39811
|
}
|
|
39812
39812
|
};
|
|
39813
39813
|
s$12.forEach((l$4) => S$3(r$4, l$4, e$10, n$6, H$4));
|
|
@@ -39862,32 +39862,32 @@ function H() {
|
|
|
39862
39862
|
};
|
|
39863
39863
|
r$1.exports = (n$6, e$10, s$12) => {
|
|
39864
39864
|
n$6 = y$7(n$6);
|
|
39865
|
-
const r$4 = e$10.umask, c$9 = e$10.mode | 448, f$
|
|
39866
|
-
k$3 ? s$12(k$3) : (q$2(h$4, n$6, true), o$8 && a$14 ? x$3(o$8, t$14, i$10, (G$4) => w$5(G$4)) : f$
|
|
39865
|
+
const r$4 = e$10.umask, c$9 = e$10.mode | 448, f$9 = (c$9 & r$4) !== 0, t$14 = e$10.uid, i$10 = e$10.gid, a$14 = typeof t$14 == "number" && typeof i$10 == "number" && (t$14 !== e$10.processUid || i$10 !== e$10.processGid), u$9 = e$10.preserve, m$5 = e$10.unlink, h$4 = e$10.cache, d$4 = y$7(e$10.cwd), w$5 = (k$3, o$8) => {
|
|
39866
|
+
k$3 ? s$12(k$3) : (q$2(h$4, n$6, true), o$8 && a$14 ? x$3(o$8, t$14, i$10, (G$4) => w$5(G$4)) : f$9 ? l$4.chmod(n$6, c$9, s$12) : s$12());
|
|
39867
39867
|
};
|
|
39868
39868
|
if (h$4 && v$3(h$4, n$6) === true) return w$5();
|
|
39869
39869
|
if (n$6 === d$4) return I$2(n$6, w$5);
|
|
39870
39870
|
if (u$9) return g$4(n$6, { mode: c$9 }).then((k$3) => w$5(null, k$3), w$5);
|
|
39871
39871
|
C$2(d$4, y$7(p$3.relative(d$4, n$6)).split("/"), c$9, h$4, m$5, d$4, null, w$5);
|
|
39872
39872
|
};
|
|
39873
|
-
const C$2 = (n$6, e$10, s$12, r$4, c$9, f$
|
|
39873
|
+
const C$2 = (n$6, e$10, s$12, r$4, c$9, f$9, t$14, i$10) => {
|
|
39874
39874
|
if (!e$10.length) return i$10(null, t$14);
|
|
39875
39875
|
const a$14 = e$10.shift(), u$9 = y$7(p$3.resolve(n$6 + "/" + a$14));
|
|
39876
|
-
if (v$3(r$4, u$9)) return C$2(u$9, e$10, s$12, r$4, c$9, f$
|
|
39877
|
-
l$4.mkdir(u$9, s$12, j$3(u$9, e$10, s$12, r$4, c$9, f$
|
|
39878
|
-
}, j$3 = (n$6, e$10, s$12, r$4, c$9, f$
|
|
39876
|
+
if (v$3(r$4, u$9)) return C$2(u$9, e$10, s$12, r$4, c$9, f$9, t$14, i$10);
|
|
39877
|
+
l$4.mkdir(u$9, s$12, j$3(u$9, e$10, s$12, r$4, c$9, f$9, t$14, i$10));
|
|
39878
|
+
}, j$3 = (n$6, e$10, s$12, r$4, c$9, f$9, t$14, i$10) => (a$14) => {
|
|
39879
39879
|
a$14 ? l$4.lstat(n$6, (u$9, m$5) => {
|
|
39880
39880
|
if (u$9) u$9.path = u$9.path && y$7(u$9.path), i$10(u$9);
|
|
39881
|
-
else if (m$5.isDirectory()) C$2(n$6, e$10, s$12, r$4, c$9, f$
|
|
39881
|
+
else if (m$5.isDirectory()) C$2(n$6, e$10, s$12, r$4, c$9, f$9, t$14, i$10);
|
|
39882
39882
|
else if (c$9) l$4.unlink(n$6, (h$4) => {
|
|
39883
39883
|
if (h$4) return i$10(h$4);
|
|
39884
|
-
l$4.mkdir(n$6, s$12, j$3(n$6, e$10, s$12, r$4, c$9, f$
|
|
39884
|
+
l$4.mkdir(n$6, s$12, j$3(n$6, e$10, s$12, r$4, c$9, f$9, t$14, i$10));
|
|
39885
39885
|
});
|
|
39886
39886
|
else {
|
|
39887
39887
|
if (m$5.isSymbolicLink()) return i$10(new D$2(n$6, n$6 + "/" + e$10.join("/")));
|
|
39888
39888
|
i$10(a$14);
|
|
39889
39889
|
}
|
|
39890
|
-
}) : (t$14 = t$14 || n$6, C$2(n$6, e$10, s$12, r$4, c$9, f$
|
|
39890
|
+
}) : (t$14 = t$14 || n$6, C$2(n$6, e$10, s$12, r$4, c$9, f$9, t$14, i$10));
|
|
39891
39891
|
}, L$3 = (n$6) => {
|
|
39892
39892
|
let e$10 = false, s$12 = "ENOTDIR";
|
|
39893
39893
|
try {
|
|
@@ -39900,8 +39900,8 @@ function H() {
|
|
|
39900
39900
|
};
|
|
39901
39901
|
return r$1.exports.sync = (n$6, e$10) => {
|
|
39902
39902
|
n$6 = y$7(n$6);
|
|
39903
|
-
const s$12 = e$10.umask, r$4 = e$10.mode | 448, c$9 = (r$4 & s$12) !== 0, f$
|
|
39904
|
-
q$2(m$5, n$6, true), k$3 && i$10 && x$3.sync(k$3, f$
|
|
39903
|
+
const s$12 = e$10.umask, r$4 = e$10.mode | 448, c$9 = (r$4 & s$12) !== 0, f$9 = e$10.uid, t$14 = e$10.gid, i$10 = typeof f$9 == "number" && typeof t$14 == "number" && (f$9 !== e$10.processUid || t$14 !== e$10.processGid), a$14 = e$10.preserve, u$9 = e$10.unlink, m$5 = e$10.cache, h$4 = y$7(e$10.cwd), d$4 = (k$3) => {
|
|
39904
|
+
q$2(m$5, n$6, true), k$3 && i$10 && x$3.sync(k$3, f$9, t$14), c$9 && l$4.chmodSync(n$6, r$4);
|
|
39905
39905
|
};
|
|
39906
39906
|
if (m$5 && v$3(m$5, n$6) === true) return d$4();
|
|
39907
39907
|
if (n$6 === h$4) return L$3(h$4), d$4();
|
|
@@ -40018,8 +40018,8 @@ var e$6, o;
|
|
|
40018
40018
|
function F() {
|
|
40019
40019
|
if (o) return e$6;
|
|
40020
40020
|
o = 1;
|
|
40021
|
-
const t$14 = process.env.__FAKE_PLATFORM__ || process.platform, s$12 = typeof Bun < "u" ? false : t$14 === "win32", { O_CREAT: _$4, O_TRUNC: a$14, O_WRONLY: i$10, UV_FS_O_FILEMAP: r$4 = 0 } = (commonjsGlobal.__FAKE_TESTING_FS__ || nativeFs).constants, c$9 = s$12 && !!r$4, f$
|
|
40022
|
-
return e$6 = c$9 ? (l$4) => l$4 < f$
|
|
40021
|
+
const t$14 = process.env.__FAKE_PLATFORM__ || process.platform, s$12 = typeof Bun < "u" ? false : t$14 === "win32", { O_CREAT: _$4, O_TRUNC: a$14, O_WRONLY: i$10, UV_FS_O_FILEMAP: r$4 = 0 } = (commonjsGlobal.__FAKE_TESTING_FS__ || nativeFs).constants, c$9 = s$12 && !!r$4, f$9 = 512 * 1024, p$3 = r$4 | a$14 | _$4 | i$10;
|
|
40022
|
+
return e$6 = c$9 ? (l$4) => l$4 < f$9 ? p$3 : "w" : () => "w", e$6;
|
|
40023
40023
|
}
|
|
40024
40024
|
var G, y;
|
|
40025
40025
|
function Os() {
|
|
@@ -40171,13 +40171,13 @@ function Os() {
|
|
|
40171
40171
|
const n$6 = s$12.absolute, p$3 = t$14.fd;
|
|
40172
40172
|
if (s$12.mtime && !this.noMtime) {
|
|
40173
40173
|
o$8++;
|
|
40174
|
-
const f$
|
|
40175
|
-
r$4.futimes(p$3, f$
|
|
40174
|
+
const f$9 = s$12.atime || /* @__PURE__ */ new Date(), k$3 = s$12.mtime;
|
|
40175
|
+
r$4.futimes(p$3, f$9, k$3, (D$2) => D$2 ? r$4.utimes(n$6, f$9, k$3, (I$2) => u$9(I$2 && D$2)) : u$9());
|
|
40176
40176
|
}
|
|
40177
40177
|
if (this[E$2](s$12)) {
|
|
40178
40178
|
o$8++;
|
|
40179
|
-
const f$
|
|
40180
|
-
r$4.fchown(p$3, f$
|
|
40179
|
+
const f$9 = this[R$5](s$12), k$3 = this[_$4](s$12);
|
|
40180
|
+
r$4.fchown(p$3, f$9, k$3, (D$2) => D$2 ? r$4.chown(n$6, f$9, k$3, (I$2) => u$9(I$2 && D$2)) : u$9());
|
|
40181
40181
|
}
|
|
40182
40182
|
u$9();
|
|
40183
40183
|
});
|
|
@@ -40263,7 +40263,7 @@ function Os() {
|
|
|
40263
40263
|
if (h$4 || this[N$3](s$12, c$9)) return this[d$4](null, s$12, e$10);
|
|
40264
40264
|
if (c$9.isDirectory()) {
|
|
40265
40265
|
if (s$12.type === "Directory") {
|
|
40266
|
-
const n$6 = !this.noChmod && s$12.mode && (c$9.mode & 4095) !== s$12.mode, p$3 = (f$
|
|
40266
|
+
const n$6 = !this.noChmod && s$12.mode && (c$9.mode & 4095) !== s$12.mode, p$3 = (f$9) => this[d$4](f$9, s$12, e$10);
|
|
40267
40267
|
return n$6 ? r$4.chmod(s$12.absolute, s$12.mode, p$3) : p$3();
|
|
40268
40268
|
}
|
|
40269
40269
|
if (s$12.absolute !== this.cwd) return r$4.rmdir(s$12.absolute, (n$6) => this[d$4](n$6, s$12, e$10));
|
|
@@ -40364,11 +40364,11 @@ function Os() {
|
|
|
40364
40364
|
const n$6 = s$12.atime || /* @__PURE__ */ new Date(), p$3 = s$12.mtime;
|
|
40365
40365
|
try {
|
|
40366
40366
|
r$4.futimesSync(o$8, n$6, p$3);
|
|
40367
|
-
} catch (f$
|
|
40367
|
+
} catch (f$9) {
|
|
40368
40368
|
try {
|
|
40369
40369
|
r$4.utimesSync(s$12.absolute, n$6, p$3);
|
|
40370
40370
|
} catch {
|
|
40371
|
-
c$9 = f$
|
|
40371
|
+
c$9 = f$9;
|
|
40372
40372
|
}
|
|
40373
40373
|
}
|
|
40374
40374
|
}
|
|
@@ -40376,11 +40376,11 @@ function Os() {
|
|
|
40376
40376
|
const n$6 = this[R$5](s$12), p$3 = this[_$4](s$12);
|
|
40377
40377
|
try {
|
|
40378
40378
|
r$4.fchownSync(o$8, n$6, p$3);
|
|
40379
|
-
} catch (f$
|
|
40379
|
+
} catch (f$9) {
|
|
40380
40380
|
try {
|
|
40381
40381
|
r$4.chownSync(s$12.absolute, n$6, p$3);
|
|
40382
40382
|
} catch {
|
|
40383
|
-
c$9 = c$9 || f$
|
|
40383
|
+
c$9 = c$9 || f$9;
|
|
40384
40384
|
}
|
|
40385
40385
|
}
|
|
40386
40386
|
}
|
|
@@ -40429,12 +40429,12 @@ function Os() {
|
|
|
40429
40429
|
}
|
|
40430
40430
|
return L$3.Sync = ls, G = L$3, G;
|
|
40431
40431
|
}
|
|
40432
|
-
var f, q;
|
|
40432
|
+
var f$4, q;
|
|
40433
40433
|
function v$2() {
|
|
40434
|
-
if (q) return f;
|
|
40434
|
+
if (q) return f$4;
|
|
40435
40435
|
q = 1;
|
|
40436
40436
|
const w$5 = s$6(), u$9 = Os(), p$3 = nativeFs, y$7 = X(), l$4 = path$1, m$5 = s();
|
|
40437
|
-
f = (r$4, e$10, o$8) => {
|
|
40437
|
+
f$4 = (r$4, e$10, o$8) => {
|
|
40438
40438
|
typeof r$4 == "function" ? (o$8 = r$4, e$10 = null, r$4 = {}) : Array.isArray(r$4) && (e$10 = r$4, r$4 = {}), typeof e$10 == "function" && (o$8 = e$10, e$10 = null), e$10 ? e$10 = Array.from(e$10) : e$10 = [];
|
|
40439
40439
|
const t$14 = w$5(r$4);
|
|
40440
40440
|
if (t$14.sync && typeof o$8 == "function") throw new TypeError("callback not supported for sync tar functions");
|
|
@@ -40468,7 +40468,7 @@ function v$2() {
|
|
|
40468
40468
|
});
|
|
40469
40469
|
return e$10 ? n$6.then(e$10, e$10) : n$6;
|
|
40470
40470
|
}, x$3 = (r$4) => new u$9.Sync(r$4), z$3 = (r$4) => new u$9(r$4);
|
|
40471
|
-
return f;
|
|
40471
|
+
return f$4;
|
|
40472
40472
|
}
|
|
40473
40473
|
const tarExtract = getDefaultExportFromCjs(v$2());
|
|
40474
40474
|
async function download(url, filePath, options$1 = {}) {
|
|
@@ -40996,6 +40996,19 @@ export const useAppStore = defineStore('app', {
|
|
|
40996
40996
|
`;
|
|
40997
40997
|
}
|
|
40998
40998
|
|
|
40999
|
+
//#endregion
|
|
41000
|
+
//#region ../shared/package.json
|
|
41001
|
+
var version$1 = "0.0.14-beta.2";
|
|
41002
|
+
|
|
41003
|
+
//#endregion
|
|
41004
|
+
//#region ../shared/src/utils/getTemplateSource.ts
|
|
41005
|
+
function getTemplateSource(templateName) {
|
|
41006
|
+
let tag = `v${version$1}`;
|
|
41007
|
+
if (version$1.includes("beta-next")) tag = `v${version$1.replace("beta-next", "beta")}`;
|
|
41008
|
+
else if (version$1.endsWith("-next.1")) tag = `v${version$1.slice(0, -7)}`;
|
|
41009
|
+
return `gh:vuetifyjs/cli/templates/${templateName}#${tag}`;
|
|
41010
|
+
}
|
|
41011
|
+
|
|
40999
41012
|
//#endregion
|
|
41000
41013
|
//#region ../shared/src/utils/installFeature.ts
|
|
41001
41014
|
async function installFeature(feature, cwd$1, type = "vuetify") {
|
|
@@ -41006,7 +41019,7 @@ async function installFeature(feature, cwd$1, type = "vuetify") {
|
|
|
41006
41019
|
} else {
|
|
41007
41020
|
const tmp = mkdtempSync(join$1(tmpdir(), "vuetify-feature-"));
|
|
41008
41021
|
try {
|
|
41009
|
-
await downloadTemplate(
|
|
41022
|
+
await downloadTemplate(getTemplateSource(templateName), { dir: tmp });
|
|
41010
41023
|
cpSync(tmp, cwd$1, { recursive: true });
|
|
41011
41024
|
} finally {
|
|
41012
41025
|
rmSync(tmp, {
|
|
@@ -41445,7 +41458,7 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
41445
41458
|
debug$7(`Copy complete.`);
|
|
41446
41459
|
} else debug$7(`templatePath does not exist: ${templatePath}`);
|
|
41447
41460
|
} else {
|
|
41448
|
-
const templateSource =
|
|
41461
|
+
const templateSource = getTemplateSource(templateName);
|
|
41449
41462
|
try {
|
|
41450
41463
|
await downloadTemplate(templateSource, {
|
|
41451
41464
|
dir: projectRoot,
|
|
@@ -43625,7 +43638,7 @@ const blue = ansi256(33);
|
|
|
43625
43638
|
|
|
43626
43639
|
//#endregion
|
|
43627
43640
|
//#region package.json
|
|
43628
|
-
var version = "3.0.
|
|
43641
|
+
var version = "3.0.14-beta-next.2";
|
|
43629
43642
|
|
|
43630
43643
|
//#endregion
|
|
43631
43644
|
//#region src/commands/upgrade.ts
|