@modern-js/repo-generator 0.0.0-next-20240220105216 → 0.0.0-next-20240220122504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +481 -365
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -5,6 +5,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __esm = (fn, res) => function __init() {
|
|
9
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
|
+
};
|
|
8
11
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
12
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
13
|
};
|
|
@@ -17557,11 +17560,11 @@ var require_ms = __commonJS({
|
|
|
17557
17560
|
}
|
|
17558
17561
|
});
|
|
17559
17562
|
|
|
17560
|
-
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
17563
|
+
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/common.js
|
|
17561
17564
|
var require_common2 = __commonJS({
|
|
17562
|
-
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
17565
|
+
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/common.js"(exports, module2) {
|
|
17563
17566
|
"use strict";
|
|
17564
|
-
function setup(
|
|
17567
|
+
function setup(env2) {
|
|
17565
17568
|
createDebug.debug = createDebug;
|
|
17566
17569
|
createDebug.default = createDebug;
|
|
17567
17570
|
createDebug.coerce = coerce;
|
|
@@ -17570,8 +17573,8 @@ var require_common2 = __commonJS({
|
|
|
17570
17573
|
createDebug.enabled = enabled;
|
|
17571
17574
|
createDebug.humanize = require_ms();
|
|
17572
17575
|
createDebug.destroy = destroy2;
|
|
17573
|
-
Object.keys(
|
|
17574
|
-
createDebug[key] =
|
|
17576
|
+
Object.keys(env2).forEach((key) => {
|
|
17577
|
+
createDebug[key] = env2[key];
|
|
17575
17578
|
});
|
|
17576
17579
|
createDebug.names = [];
|
|
17577
17580
|
createDebug.skips = [];
|
|
@@ -17721,9 +17724,9 @@ var require_common2 = __commonJS({
|
|
|
17721
17724
|
}
|
|
17722
17725
|
});
|
|
17723
17726
|
|
|
17724
|
-
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
17727
|
+
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/browser.js
|
|
17725
17728
|
var require_browser = __commonJS({
|
|
17726
|
-
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
17729
|
+
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/browser.js"(exports, module2) {
|
|
17727
17730
|
"use strict";
|
|
17728
17731
|
exports.formatArgs = formatArgs;
|
|
17729
17732
|
exports.save = save;
|
|
@@ -17891,120 +17894,147 @@ var require_browser = __commonJS({
|
|
|
17891
17894
|
}
|
|
17892
17895
|
});
|
|
17893
17896
|
|
|
17894
|
-
// ../../../../node_modules/.pnpm/
|
|
17895
|
-
var
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
argv = argv || process.argv;
|
|
17900
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
17901
|
-
const pos = argv.indexOf(prefix + flag);
|
|
17902
|
-
const terminatorPos = argv.indexOf("--");
|
|
17903
|
-
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
17904
|
-
};
|
|
17905
|
-
}
|
|
17897
|
+
// ../../../../node_modules/.pnpm/supports-color@9.3.1/node_modules/supports-color/index.js
|
|
17898
|
+
var supports_color_exports = {};
|
|
17899
|
+
__export(supports_color_exports, {
|
|
17900
|
+
createSupportsColor: () => createSupportsColor,
|
|
17901
|
+
default: () => supports_color_default
|
|
17906
17902
|
});
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
forceColor = false;
|
|
17918
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
17919
|
-
forceColor = true;
|
|
17903
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
|
|
17904
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
17905
|
+
const position = argv.indexOf(prefix + flag);
|
|
17906
|
+
const terminatorPosition = argv.indexOf("--");
|
|
17907
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
17908
|
+
}
|
|
17909
|
+
function envForceColor() {
|
|
17910
|
+
if ("FORCE_COLOR" in env) {
|
|
17911
|
+
if (env.FORCE_COLOR === "true") {
|
|
17912
|
+
return 1;
|
|
17920
17913
|
}
|
|
17921
|
-
if (
|
|
17922
|
-
|
|
17914
|
+
if (env.FORCE_COLOR === "false") {
|
|
17915
|
+
return 0;
|
|
17923
17916
|
}
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17931
|
-
|
|
17932
|
-
|
|
17933
|
-
|
|
17917
|
+
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
17918
|
+
}
|
|
17919
|
+
}
|
|
17920
|
+
function translateLevel(level) {
|
|
17921
|
+
if (level === 0) {
|
|
17922
|
+
return false;
|
|
17923
|
+
}
|
|
17924
|
+
return {
|
|
17925
|
+
level,
|
|
17926
|
+
hasBasic: true,
|
|
17927
|
+
has256: level >= 2,
|
|
17928
|
+
has16m: level >= 3
|
|
17929
|
+
};
|
|
17930
|
+
}
|
|
17931
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
17932
|
+
const noFlagForceColor = envForceColor();
|
|
17933
|
+
if (noFlagForceColor !== void 0) {
|
|
17934
|
+
flagForceColor = noFlagForceColor;
|
|
17935
|
+
}
|
|
17936
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
17937
|
+
if (forceColor === 0) {
|
|
17938
|
+
return 0;
|
|
17939
|
+
}
|
|
17940
|
+
if (sniffFlags) {
|
|
17941
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
17942
|
+
return 3;
|
|
17934
17943
|
}
|
|
17935
|
-
|
|
17936
|
-
|
|
17937
|
-
|
|
17938
|
-
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
|
|
17942
|
-
|
|
17943
|
-
|
|
17944
|
-
|
|
17945
|
-
|
|
17946
|
-
|
|
17947
|
-
|
|
17948
|
-
|
|
17949
|
-
|
|
17950
|
-
|
|
17951
|
-
|
|
17952
|
-
|
|
17953
|
-
|
|
17954
|
-
|
|
17955
|
-
|
|
17956
|
-
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
|
|
17961
|
-
|
|
17962
|
-
|
|
17963
|
-
|
|
17964
|
-
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17944
|
+
if (hasFlag("color=256")) {
|
|
17945
|
+
return 2;
|
|
17946
|
+
}
|
|
17947
|
+
}
|
|
17948
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
|
|
17949
|
+
return 1;
|
|
17950
|
+
}
|
|
17951
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
17952
|
+
return 0;
|
|
17953
|
+
}
|
|
17954
|
+
const min = forceColor || 0;
|
|
17955
|
+
if (env.TERM === "dumb") {
|
|
17956
|
+
return min;
|
|
17957
|
+
}
|
|
17958
|
+
if (import_node_process.default.platform === "win32") {
|
|
17959
|
+
const osRelease = import_node_os.default.release().split(".");
|
|
17960
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
17961
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
17962
|
+
}
|
|
17963
|
+
return 1;
|
|
17964
|
+
}
|
|
17965
|
+
if ("CI" in env) {
|
|
17966
|
+
if ("GITHUB_ACTIONS" in env) {
|
|
17967
|
+
return 3;
|
|
17968
|
+
}
|
|
17969
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
17970
|
+
return 1;
|
|
17971
|
+
}
|
|
17972
|
+
return min;
|
|
17973
|
+
}
|
|
17974
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
17975
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
17976
|
+
}
|
|
17977
|
+
if (env.COLORTERM === "truecolor") {
|
|
17978
|
+
return 3;
|
|
17979
|
+
}
|
|
17980
|
+
if (env.TERM === "xterm-kitty") {
|
|
17981
|
+
return 3;
|
|
17982
|
+
}
|
|
17983
|
+
if ("TERM_PROGRAM" in env) {
|
|
17984
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
17985
|
+
switch (env.TERM_PROGRAM) {
|
|
17986
|
+
case "iTerm.app": {
|
|
17987
|
+
return version >= 3 ? 3 : 2;
|
|
17976
17988
|
}
|
|
17977
|
-
|
|
17989
|
+
case "Apple_Terminal": {
|
|
17978
17990
|
return 2;
|
|
17979
17991
|
}
|
|
17980
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
17981
|
-
return 1;
|
|
17982
|
-
}
|
|
17983
|
-
if ("COLORTERM" in env) {
|
|
17984
|
-
return 1;
|
|
17985
|
-
}
|
|
17986
|
-
if (env.TERM === "dumb") {
|
|
17987
|
-
return min;
|
|
17988
|
-
}
|
|
17989
|
-
return min;
|
|
17990
17992
|
}
|
|
17991
|
-
|
|
17992
|
-
|
|
17993
|
-
|
|
17993
|
+
}
|
|
17994
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
17995
|
+
return 2;
|
|
17996
|
+
}
|
|
17997
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
17998
|
+
return 1;
|
|
17999
|
+
}
|
|
18000
|
+
if ("COLORTERM" in env) {
|
|
18001
|
+
return 1;
|
|
18002
|
+
}
|
|
18003
|
+
return min;
|
|
18004
|
+
}
|
|
18005
|
+
function createSupportsColor(stream4, options = {}) {
|
|
18006
|
+
const level = _supportsColor(stream4, {
|
|
18007
|
+
streamIsTTY: stream4 && stream4.isTTY,
|
|
18008
|
+
...options
|
|
18009
|
+
});
|
|
18010
|
+
return translateLevel(level);
|
|
18011
|
+
}
|
|
18012
|
+
var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
|
|
18013
|
+
var init_supports_color = __esm({
|
|
18014
|
+
"../../../../node_modules/.pnpm/supports-color@9.3.1/node_modules/supports-color/index.js"() {
|
|
18015
|
+
"use strict";
|
|
18016
|
+
import_node_process = __toESM(require("process"));
|
|
18017
|
+
import_node_os = __toESM(require("os"));
|
|
18018
|
+
import_node_tty = __toESM(require("tty"));
|
|
18019
|
+
({ env } = import_node_process.default);
|
|
18020
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
18021
|
+
flagForceColor = 0;
|
|
18022
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
18023
|
+
flagForceColor = 1;
|
|
17994
18024
|
}
|
|
17995
|
-
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
stderr: getSupportLevel(process.stderr)
|
|
18025
|
+
supportsColor = {
|
|
18026
|
+
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
|
|
18027
|
+
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
|
|
17999
18028
|
};
|
|
18029
|
+
supports_color_default = supportsColor;
|
|
18000
18030
|
}
|
|
18001
18031
|
});
|
|
18002
18032
|
|
|
18003
|
-
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
18033
|
+
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/node.js
|
|
18004
18034
|
var require_node = __commonJS({
|
|
18005
|
-
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
18035
|
+
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/node.js"(exports, module2) {
|
|
18006
18036
|
"use strict";
|
|
18007
|
-
var
|
|
18037
|
+
var tty2 = require("tty");
|
|
18008
18038
|
var util2 = require("util");
|
|
18009
18039
|
exports.init = init;
|
|
18010
18040
|
exports.log = log;
|
|
@@ -18019,8 +18049,8 @@ var require_node = __commonJS({
|
|
|
18019
18049
|
);
|
|
18020
18050
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
18021
18051
|
try {
|
|
18022
|
-
const
|
|
18023
|
-
if (
|
|
18052
|
+
const supportsColor2 = (init_supports_color(), __toCommonJS(supports_color_exports));
|
|
18053
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
18024
18054
|
exports.colors = [
|
|
18025
18055
|
20,
|
|
18026
18056
|
21,
|
|
@@ -18122,7 +18152,7 @@ var require_node = __commonJS({
|
|
|
18122
18152
|
return obj;
|
|
18123
18153
|
}, {});
|
|
18124
18154
|
function useColors() {
|
|
18125
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) :
|
|
18155
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
18126
18156
|
}
|
|
18127
18157
|
function formatArgs(args) {
|
|
18128
18158
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -18175,9 +18205,9 @@ var require_node = __commonJS({
|
|
|
18175
18205
|
}
|
|
18176
18206
|
});
|
|
18177
18207
|
|
|
18178
|
-
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
18208
|
+
// ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/index.js
|
|
18179
18209
|
var require_src3 = __commonJS({
|
|
18180
|
-
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@
|
|
18210
|
+
"../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/index.js"(exports, module2) {
|
|
18181
18211
|
"use strict";
|
|
18182
18212
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
18183
18213
|
module2.exports = require_browser();
|
|
@@ -18187,9 +18217,9 @@ var require_src3 = __commonJS({
|
|
|
18187
18217
|
}
|
|
18188
18218
|
});
|
|
18189
18219
|
|
|
18190
|
-
// ../../../../node_modules/.pnpm/follow-redirects@1.15.
|
|
18220
|
+
// ../../../../node_modules/.pnpm/follow-redirects@1.15.5/node_modules/follow-redirects/debug.js
|
|
18191
18221
|
var require_debug = __commonJS({
|
|
18192
|
-
"../../../../node_modules/.pnpm/follow-redirects@1.15.
|
|
18222
|
+
"../../../../node_modules/.pnpm/follow-redirects@1.15.5/node_modules/follow-redirects/debug.js"(exports, module2) {
|
|
18193
18223
|
"use strict";
|
|
18194
18224
|
var debug;
|
|
18195
18225
|
module2.exports = function() {
|
|
@@ -18208,9 +18238,9 @@ var require_debug = __commonJS({
|
|
|
18208
18238
|
}
|
|
18209
18239
|
});
|
|
18210
18240
|
|
|
18211
|
-
// ../../../../node_modules/.pnpm/follow-redirects@1.15.
|
|
18241
|
+
// ../../../../node_modules/.pnpm/follow-redirects@1.15.5/node_modules/follow-redirects/index.js
|
|
18212
18242
|
var require_follow_redirects = __commonJS({
|
|
18213
|
-
"../../../../node_modules/.pnpm/follow-redirects@1.15.
|
|
18243
|
+
"../../../../node_modules/.pnpm/follow-redirects@1.15.5/node_modules/follow-redirects/index.js"(exports, module2) {
|
|
18214
18244
|
"use strict";
|
|
18215
18245
|
var url2 = require("url");
|
|
18216
18246
|
var URL2 = url2.URL;
|
|
@@ -18219,6 +18249,25 @@ var require_follow_redirects = __commonJS({
|
|
|
18219
18249
|
var Writable = require("stream").Writable;
|
|
18220
18250
|
var assert = require("assert");
|
|
18221
18251
|
var debug = require_debug();
|
|
18252
|
+
var useNativeURL = false;
|
|
18253
|
+
try {
|
|
18254
|
+
assert(new URL2());
|
|
18255
|
+
} catch (error) {
|
|
18256
|
+
useNativeURL = error.code === "ERR_INVALID_URL";
|
|
18257
|
+
}
|
|
18258
|
+
var preservedUrlFields = [
|
|
18259
|
+
"auth",
|
|
18260
|
+
"host",
|
|
18261
|
+
"hostname",
|
|
18262
|
+
"href",
|
|
18263
|
+
"path",
|
|
18264
|
+
"pathname",
|
|
18265
|
+
"port",
|
|
18266
|
+
"protocol",
|
|
18267
|
+
"query",
|
|
18268
|
+
"search",
|
|
18269
|
+
"hash"
|
|
18270
|
+
];
|
|
18222
18271
|
var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
|
|
18223
18272
|
var eventHandlers = /* @__PURE__ */ Object.create(null);
|
|
18224
18273
|
events.forEach(function(event) {
|
|
@@ -18226,13 +18275,19 @@ var require_follow_redirects = __commonJS({
|
|
|
18226
18275
|
this._redirectable.emit(event, arg1, arg2, arg3);
|
|
18227
18276
|
};
|
|
18228
18277
|
});
|
|
18278
|
+
var InvalidUrlError = createErrorType(
|
|
18279
|
+
"ERR_INVALID_URL",
|
|
18280
|
+
"Invalid URL",
|
|
18281
|
+
TypeError
|
|
18282
|
+
);
|
|
18229
18283
|
var RedirectionError = createErrorType(
|
|
18230
18284
|
"ERR_FR_REDIRECTION_FAILURE",
|
|
18231
18285
|
"Redirected request failed"
|
|
18232
18286
|
);
|
|
18233
18287
|
var TooManyRedirectsError = createErrorType(
|
|
18234
18288
|
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
18235
|
-
"Maximum number of redirects exceeded"
|
|
18289
|
+
"Maximum number of redirects exceeded",
|
|
18290
|
+
RedirectionError
|
|
18236
18291
|
);
|
|
18237
18292
|
var MaxBodyLengthExceededError = createErrorType(
|
|
18238
18293
|
"ERR_FR_MAX_BODY_LENGTH_EXCEEDED",
|
|
@@ -18242,6 +18297,7 @@ var require_follow_redirects = __commonJS({
|
|
|
18242
18297
|
"ERR_STREAM_WRITE_AFTER_END",
|
|
18243
18298
|
"write after end"
|
|
18244
18299
|
);
|
|
18300
|
+
var destroy2 = Writable.prototype.destroy || noop2;
|
|
18245
18301
|
function RedirectableRequest(options, responseCallback) {
|
|
18246
18302
|
Writable.call(this);
|
|
18247
18303
|
this._sanitizeOptions(options);
|
|
@@ -18257,23 +18313,33 @@ var require_follow_redirects = __commonJS({
|
|
|
18257
18313
|
}
|
|
18258
18314
|
var self3 = this;
|
|
18259
18315
|
this._onNativeResponse = function(response) {
|
|
18260
|
-
|
|
18316
|
+
try {
|
|
18317
|
+
self3._processResponse(response);
|
|
18318
|
+
} catch (cause) {
|
|
18319
|
+
self3.emit("error", cause instanceof RedirectionError ? cause : new RedirectionError({ cause }));
|
|
18320
|
+
}
|
|
18261
18321
|
};
|
|
18262
18322
|
this._performRequest();
|
|
18263
18323
|
}
|
|
18264
18324
|
RedirectableRequest.prototype = Object.create(Writable.prototype);
|
|
18265
18325
|
RedirectableRequest.prototype.abort = function() {
|
|
18266
|
-
|
|
18326
|
+
destroyRequest(this._currentRequest);
|
|
18327
|
+
this._currentRequest.abort();
|
|
18267
18328
|
this.emit("abort");
|
|
18268
18329
|
};
|
|
18330
|
+
RedirectableRequest.prototype.destroy = function(error) {
|
|
18331
|
+
destroyRequest(this._currentRequest, error);
|
|
18332
|
+
destroy2.call(this, error);
|
|
18333
|
+
return this;
|
|
18334
|
+
};
|
|
18269
18335
|
RedirectableRequest.prototype.write = function(data, encoding, callback) {
|
|
18270
18336
|
if (this._ending) {
|
|
18271
18337
|
throw new WriteAfterEndError();
|
|
18272
18338
|
}
|
|
18273
|
-
if (!(
|
|
18339
|
+
if (!isString5(data) && !isBuffer2(data)) {
|
|
18274
18340
|
throw new TypeError("data should be a string, Buffer or Uint8Array");
|
|
18275
18341
|
}
|
|
18276
|
-
if (
|
|
18342
|
+
if (isFunction5(encoding)) {
|
|
18277
18343
|
callback = encoding;
|
|
18278
18344
|
encoding = null;
|
|
18279
18345
|
}
|
|
@@ -18293,10 +18359,10 @@ var require_follow_redirects = __commonJS({
|
|
|
18293
18359
|
}
|
|
18294
18360
|
};
|
|
18295
18361
|
RedirectableRequest.prototype.end = function(data, encoding, callback) {
|
|
18296
|
-
if (
|
|
18362
|
+
if (isFunction5(data)) {
|
|
18297
18363
|
callback = data;
|
|
18298
18364
|
data = encoding = null;
|
|
18299
|
-
} else if (
|
|
18365
|
+
} else if (isFunction5(encoding)) {
|
|
18300
18366
|
callback = encoding;
|
|
18301
18367
|
encoding = null;
|
|
18302
18368
|
}
|
|
@@ -18346,6 +18412,7 @@ var require_follow_redirects = __commonJS({
|
|
|
18346
18412
|
self3.removeListener("abort", clearTimer);
|
|
18347
18413
|
self3.removeListener("error", clearTimer);
|
|
18348
18414
|
self3.removeListener("response", clearTimer);
|
|
18415
|
+
self3.removeListener("close", clearTimer);
|
|
18349
18416
|
if (callback) {
|
|
18350
18417
|
self3.removeListener("timeout", callback);
|
|
18351
18418
|
}
|
|
@@ -18365,6 +18432,7 @@ var require_follow_redirects = __commonJS({
|
|
|
18365
18432
|
this.on("abort", clearTimer);
|
|
18366
18433
|
this.on("error", clearTimer);
|
|
18367
18434
|
this.on("response", clearTimer);
|
|
18435
|
+
this.on("close", clearTimer);
|
|
18368
18436
|
return this;
|
|
18369
18437
|
};
|
|
18370
18438
|
[
|
|
@@ -18408,8 +18476,7 @@ var require_follow_redirects = __commonJS({
|
|
|
18408
18476
|
var protocol = this._options.protocol;
|
|
18409
18477
|
var nativeProtocol = this._options.nativeProtocols[protocol];
|
|
18410
18478
|
if (!nativeProtocol) {
|
|
18411
|
-
|
|
18412
|
-
return;
|
|
18479
|
+
throw new TypeError("Unsupported protocol " + protocol);
|
|
18413
18480
|
}
|
|
18414
18481
|
if (this._options.agents) {
|
|
18415
18482
|
var scheme = protocol.slice(0, -1);
|
|
@@ -18423,7 +18490,7 @@ var require_follow_redirects = __commonJS({
|
|
|
18423
18490
|
this._currentUrl = /^\//.test(this._options.path) ? url2.format(this._options) : (
|
|
18424
18491
|
// When making a request to a proxy, […]
|
|
18425
18492
|
// a client MUST send the target URI in absolute-form […].
|
|
18426
|
-
this.
|
|
18493
|
+
this._options.path
|
|
18427
18494
|
);
|
|
18428
18495
|
if (this._isRedirect) {
|
|
18429
18496
|
var i = 0;
|
|
@@ -18462,11 +18529,10 @@ var require_follow_redirects = __commonJS({
|
|
|
18462
18529
|
this._requestBodyBuffers = [];
|
|
18463
18530
|
return;
|
|
18464
18531
|
}
|
|
18465
|
-
|
|
18532
|
+
destroyRequest(this._currentRequest);
|
|
18466
18533
|
response.destroy();
|
|
18467
18534
|
if (++this._redirectCount > this._options.maxRedirects) {
|
|
18468
|
-
|
|
18469
|
-
return;
|
|
18535
|
+
throw new TooManyRedirectsError();
|
|
18470
18536
|
}
|
|
18471
18537
|
var requestHeaders;
|
|
18472
18538
|
var beforeRedirect = this._options.beforeRedirect;
|
|
@@ -18487,24 +18553,17 @@ var require_follow_redirects = __commonJS({
|
|
|
18487
18553
|
removeMatchingHeaders(/^content-/i, this._options.headers);
|
|
18488
18554
|
}
|
|
18489
18555
|
var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);
|
|
18490
|
-
var currentUrlParts =
|
|
18556
|
+
var currentUrlParts = parseUrl(this._currentUrl);
|
|
18491
18557
|
var currentHost = currentHostHeader || currentUrlParts.host;
|
|
18492
18558
|
var currentUrl = /^\w+:/.test(location) ? this._currentUrl : url2.format(Object.assign(currentUrlParts, { host: currentHost }));
|
|
18493
|
-
var redirectUrl;
|
|
18494
|
-
|
|
18495
|
-
redirectUrl = url2.resolve(currentUrl, location);
|
|
18496
|
-
} catch (cause) {
|
|
18497
|
-
this.emit("error", new RedirectionError(cause));
|
|
18498
|
-
return;
|
|
18499
|
-
}
|
|
18500
|
-
debug("redirecting to", redirectUrl);
|
|
18559
|
+
var redirectUrl = resolveUrl(location, currentUrl);
|
|
18560
|
+
debug("redirecting to", redirectUrl.href);
|
|
18501
18561
|
this._isRedirect = true;
|
|
18502
|
-
|
|
18503
|
-
|
|
18504
|
-
if (redirectUrlParts.protocol !== currentUrlParts.protocol && redirectUrlParts.protocol !== "https:" || redirectUrlParts.host !== currentHost && !isSubdomain(redirectUrlParts.host, currentHost)) {
|
|
18562
|
+
spreadUrlObject(redirectUrl, this._options);
|
|
18563
|
+
if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
|
|
18505
18564
|
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
|
|
18506
18565
|
}
|
|
18507
|
-
if (
|
|
18566
|
+
if (isFunction5(beforeRedirect)) {
|
|
18508
18567
|
var responseDetails = {
|
|
18509
18568
|
headers: response.headers,
|
|
18510
18569
|
statusCode
|
|
@@ -18514,19 +18573,10 @@ var require_follow_redirects = __commonJS({
|
|
|
18514
18573
|
method,
|
|
18515
18574
|
headers: requestHeaders
|
|
18516
18575
|
};
|
|
18517
|
-
|
|
18518
|
-
beforeRedirect(this._options, responseDetails, requestDetails);
|
|
18519
|
-
} catch (err) {
|
|
18520
|
-
this.emit("error", err);
|
|
18521
|
-
return;
|
|
18522
|
-
}
|
|
18576
|
+
beforeRedirect(this._options, responseDetails, requestDetails);
|
|
18523
18577
|
this._sanitizeOptions(this._options);
|
|
18524
18578
|
}
|
|
18525
|
-
|
|
18526
|
-
this._performRequest();
|
|
18527
|
-
} catch (cause) {
|
|
18528
|
-
this.emit("error", new RedirectionError(cause));
|
|
18529
|
-
}
|
|
18579
|
+
this._performRequest();
|
|
18530
18580
|
};
|
|
18531
18581
|
function wrap(protocols) {
|
|
18532
18582
|
var exports2 = {
|
|
@@ -18539,21 +18589,16 @@ var require_follow_redirects = __commonJS({
|
|
|
18539
18589
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
18540
18590
|
var wrappedProtocol = exports2[scheme] = Object.create(nativeProtocol);
|
|
18541
18591
|
function request(input, options, callback) {
|
|
18542
|
-
if (
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
|
|
18546
|
-
} catch (err) {
|
|
18547
|
-
input = url2.parse(urlStr);
|
|
18548
|
-
}
|
|
18549
|
-
} else if (URL2 && input instanceof URL2) {
|
|
18550
|
-
input = urlToOptions(input);
|
|
18592
|
+
if (isURL(input)) {
|
|
18593
|
+
input = spreadUrlObject(input);
|
|
18594
|
+
} else if (isString5(input)) {
|
|
18595
|
+
input = spreadUrlObject(parseUrl(input));
|
|
18551
18596
|
} else {
|
|
18552
18597
|
callback = options;
|
|
18553
|
-
options = input;
|
|
18598
|
+
options = validateUrl(input);
|
|
18554
18599
|
input = { protocol };
|
|
18555
18600
|
}
|
|
18556
|
-
if (
|
|
18601
|
+
if (isFunction5(options)) {
|
|
18557
18602
|
callback = options;
|
|
18558
18603
|
options = null;
|
|
18559
18604
|
}
|
|
@@ -18562,6 +18607,9 @@ var require_follow_redirects = __commonJS({
|
|
|
18562
18607
|
maxBodyLength: exports2.maxBodyLength
|
|
18563
18608
|
}, input, options);
|
|
18564
18609
|
options.nativeProtocols = nativeProtocols;
|
|
18610
|
+
if (!isString5(options.host) && !isString5(options.hostname)) {
|
|
18611
|
+
options.hostname = "::1";
|
|
18612
|
+
}
|
|
18565
18613
|
assert.equal(options.protocol, protocol, "protocol mismatch");
|
|
18566
18614
|
debug("options", options);
|
|
18567
18615
|
return new RedirectableRequest(options, callback);
|
|
@@ -18580,23 +18628,43 @@ var require_follow_redirects = __commonJS({
|
|
|
18580
18628
|
}
|
|
18581
18629
|
function noop2() {
|
|
18582
18630
|
}
|
|
18583
|
-
function
|
|
18584
|
-
var
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
)
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
pathname: urlObject.pathname,
|
|
18593
|
-
path: urlObject.pathname + urlObject.search,
|
|
18594
|
-
href: urlObject.href
|
|
18595
|
-
};
|
|
18596
|
-
if (urlObject.port !== "") {
|
|
18597
|
-
options.port = Number(urlObject.port);
|
|
18631
|
+
function parseUrl(input) {
|
|
18632
|
+
var parsed;
|
|
18633
|
+
if (useNativeURL) {
|
|
18634
|
+
parsed = new URL2(input);
|
|
18635
|
+
} else {
|
|
18636
|
+
parsed = validateUrl(url2.parse(input));
|
|
18637
|
+
if (!isString5(parsed.protocol)) {
|
|
18638
|
+
throw new InvalidUrlError({ input });
|
|
18639
|
+
}
|
|
18598
18640
|
}
|
|
18599
|
-
return
|
|
18641
|
+
return parsed;
|
|
18642
|
+
}
|
|
18643
|
+
function resolveUrl(relative, base) {
|
|
18644
|
+
return useNativeURL ? new URL2(relative, base) : parseUrl(url2.resolve(base, relative));
|
|
18645
|
+
}
|
|
18646
|
+
function validateUrl(input) {
|
|
18647
|
+
if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) {
|
|
18648
|
+
throw new InvalidUrlError({ input: input.href || input });
|
|
18649
|
+
}
|
|
18650
|
+
if (/^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) {
|
|
18651
|
+
throw new InvalidUrlError({ input: input.href || input });
|
|
18652
|
+
}
|
|
18653
|
+
return input;
|
|
18654
|
+
}
|
|
18655
|
+
function spreadUrlObject(urlObject, target) {
|
|
18656
|
+
var spread3 = target || {};
|
|
18657
|
+
for (var key of preservedUrlFields) {
|
|
18658
|
+
spread3[key] = urlObject[key];
|
|
18659
|
+
}
|
|
18660
|
+
if (spread3.hostname.startsWith("[")) {
|
|
18661
|
+
spread3.hostname = spread3.hostname.slice(1, -1);
|
|
18662
|
+
}
|
|
18663
|
+
if (spread3.port !== "") {
|
|
18664
|
+
spread3.port = Number(spread3.port);
|
|
18665
|
+
}
|
|
18666
|
+
spread3.path = spread3.search ? spread3.pathname + spread3.search : spread3.pathname;
|
|
18667
|
+
return spread3;
|
|
18600
18668
|
}
|
|
18601
18669
|
function removeMatchingHeaders(regex2, headers) {
|
|
18602
18670
|
var lastValue;
|
|
@@ -18608,33 +18676,50 @@ var require_follow_redirects = __commonJS({
|
|
|
18608
18676
|
}
|
|
18609
18677
|
return lastValue === null || typeof lastValue === "undefined" ? void 0 : String(lastValue).trim();
|
|
18610
18678
|
}
|
|
18611
|
-
function createErrorType(code,
|
|
18612
|
-
function CustomError(
|
|
18679
|
+
function createErrorType(code, message, baseClass) {
|
|
18680
|
+
function CustomError(properties) {
|
|
18613
18681
|
Error.captureStackTrace(this, this.constructor);
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
this.message = defaultMessage + ": " + cause.message;
|
|
18618
|
-
this.cause = cause;
|
|
18619
|
-
}
|
|
18682
|
+
Object.assign(this, properties || {});
|
|
18683
|
+
this.code = code;
|
|
18684
|
+
this.message = this.cause ? message + ": " + this.cause.message : message;
|
|
18620
18685
|
}
|
|
18621
|
-
CustomError.prototype = new Error();
|
|
18622
|
-
CustomError.prototype
|
|
18623
|
-
|
|
18624
|
-
|
|
18686
|
+
CustomError.prototype = new (baseClass || Error)();
|
|
18687
|
+
Object.defineProperties(CustomError.prototype, {
|
|
18688
|
+
constructor: {
|
|
18689
|
+
value: CustomError,
|
|
18690
|
+
enumerable: false
|
|
18691
|
+
},
|
|
18692
|
+
name: {
|
|
18693
|
+
value: "Error [" + code + "]",
|
|
18694
|
+
enumerable: false
|
|
18695
|
+
}
|
|
18696
|
+
});
|
|
18625
18697
|
return CustomError;
|
|
18626
18698
|
}
|
|
18627
|
-
function
|
|
18699
|
+
function destroyRequest(request, error) {
|
|
18628
18700
|
for (var event of events) {
|
|
18629
18701
|
request.removeListener(event, eventHandlers[event]);
|
|
18630
18702
|
}
|
|
18631
18703
|
request.on("error", noop2);
|
|
18632
|
-
request.
|
|
18704
|
+
request.destroy(error);
|
|
18633
18705
|
}
|
|
18634
18706
|
function isSubdomain(subdomain, domain) {
|
|
18635
|
-
|
|
18707
|
+
assert(isString5(subdomain) && isString5(domain));
|
|
18708
|
+
var dot = subdomain.length - domain.length - 1;
|
|
18636
18709
|
return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain);
|
|
18637
18710
|
}
|
|
18711
|
+
function isString5(value) {
|
|
18712
|
+
return typeof value === "string" || value instanceof String;
|
|
18713
|
+
}
|
|
18714
|
+
function isFunction5(value) {
|
|
18715
|
+
return typeof value === "function";
|
|
18716
|
+
}
|
|
18717
|
+
function isBuffer2(value) {
|
|
18718
|
+
return typeof value === "object" && "length" in value;
|
|
18719
|
+
}
|
|
18720
|
+
function isURL(value) {
|
|
18721
|
+
return URL2 && value instanceof URL2;
|
|
18722
|
+
}
|
|
18638
18723
|
module2.exports = wrap({ http: http2, https: https2 });
|
|
18639
18724
|
module2.exports.wrap = wrap;
|
|
18640
18725
|
}
|
|
@@ -25634,15 +25719,15 @@ var require_runtime = __commonJS({
|
|
|
25634
25719
|
throw new _exception2["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + compilerInfo[1] + ").");
|
|
25635
25720
|
}
|
|
25636
25721
|
}
|
|
25637
|
-
function template(templateSpec,
|
|
25638
|
-
if (!
|
|
25722
|
+
function template(templateSpec, env2) {
|
|
25723
|
+
if (!env2) {
|
|
25639
25724
|
throw new _exception2["default"]("No environment passed to template");
|
|
25640
25725
|
}
|
|
25641
25726
|
if (!templateSpec || !templateSpec.main) {
|
|
25642
25727
|
throw new _exception2["default"]("Unknown template object: " + typeof templateSpec);
|
|
25643
25728
|
}
|
|
25644
25729
|
templateSpec.main.decorator = templateSpec.main_d;
|
|
25645
|
-
|
|
25730
|
+
env2.VM.checkRevision(templateSpec.compiler);
|
|
25646
25731
|
var templateWasPrecompiledWithCompilerV7 = templateSpec.compiler && templateSpec.compiler[0] === 7;
|
|
25647
25732
|
function invokePartialWrapper(partial, context, options) {
|
|
25648
25733
|
if (options.hash) {
|
|
@@ -25651,14 +25736,14 @@ var require_runtime = __commonJS({
|
|
|
25651
25736
|
options.ids[0] = true;
|
|
25652
25737
|
}
|
|
25653
25738
|
}
|
|
25654
|
-
partial =
|
|
25739
|
+
partial = env2.VM.resolvePartial.call(this, partial, context, options);
|
|
25655
25740
|
var extendedOptions = Utils.extend({}, options, {
|
|
25656
25741
|
hooks: this.hooks,
|
|
25657
25742
|
protoAccessControl: this.protoAccessControl
|
|
25658
25743
|
});
|
|
25659
|
-
var result =
|
|
25660
|
-
if (result == null &&
|
|
25661
|
-
options.partials[options.name] =
|
|
25744
|
+
var result = env2.VM.invokePartial.call(this, partial, context, extendedOptions);
|
|
25745
|
+
if (result == null && env2.compile) {
|
|
25746
|
+
options.partials[options.name] = env2.compile(partial, templateSpec.compilerOptions, env2);
|
|
25662
25747
|
result = options.partials[options.name](context, extendedOptions);
|
|
25663
25748
|
}
|
|
25664
25749
|
if (result != null) {
|
|
@@ -25743,7 +25828,7 @@ var require_runtime = __commonJS({
|
|
|
25743
25828
|
},
|
|
25744
25829
|
// An empty object to use as replacement for null-contexts
|
|
25745
25830
|
nullContext: Object.seal({}),
|
|
25746
|
-
noop:
|
|
25831
|
+
noop: env2.VM.noop,
|
|
25747
25832
|
compilerInfo: templateSpec.compiler
|
|
25748
25833
|
};
|
|
25749
25834
|
function ret(context) {
|
|
@@ -25770,14 +25855,14 @@ var require_runtime = __commonJS({
|
|
|
25770
25855
|
ret.isTop = true;
|
|
25771
25856
|
ret._setup = function(options) {
|
|
25772
25857
|
if (!options.partial) {
|
|
25773
|
-
var mergedHelpers = Utils.extend({},
|
|
25858
|
+
var mergedHelpers = Utils.extend({}, env2.helpers, options.helpers);
|
|
25774
25859
|
wrapHelpersToPassLookupProperty(mergedHelpers, container);
|
|
25775
25860
|
container.helpers = mergedHelpers;
|
|
25776
25861
|
if (templateSpec.usePartial) {
|
|
25777
|
-
container.partials = container.mergeIfNeeded(options.partials,
|
|
25862
|
+
container.partials = container.mergeIfNeeded(options.partials, env2.partials);
|
|
25778
25863
|
}
|
|
25779
25864
|
if (templateSpec.usePartial || templateSpec.useDecorators) {
|
|
25780
|
-
container.decorators = Utils.extend({},
|
|
25865
|
+
container.decorators = Utils.extend({}, env2.decorators, options.decorators);
|
|
25781
25866
|
}
|
|
25782
25867
|
container.hooks = {};
|
|
25783
25868
|
container.protoAccessControl = _internalProtoAccess.createProtoAccessControl(options);
|
|
@@ -27579,7 +27664,7 @@ var require_compiler = __commonJS({
|
|
|
27579
27664
|
}
|
|
27580
27665
|
}
|
|
27581
27666
|
};
|
|
27582
|
-
function precompile(input, options,
|
|
27667
|
+
function precompile(input, options, env2) {
|
|
27583
27668
|
if (input == null || typeof input !== "string" && input.type !== "Program") {
|
|
27584
27669
|
throw new _exception2["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + input);
|
|
27585
27670
|
}
|
|
@@ -27590,10 +27675,10 @@ var require_compiler = __commonJS({
|
|
|
27590
27675
|
if (options.compat) {
|
|
27591
27676
|
options.useDepths = true;
|
|
27592
27677
|
}
|
|
27593
|
-
var ast =
|
|
27594
|
-
return new
|
|
27678
|
+
var ast = env2.parse(input, options), environment = new env2.Compiler().compile(ast, options);
|
|
27679
|
+
return new env2.JavaScriptCompiler().compile(environment, options);
|
|
27595
27680
|
}
|
|
27596
|
-
function compile3(input, options,
|
|
27681
|
+
function compile3(input, options, env2) {
|
|
27597
27682
|
if (options === void 0)
|
|
27598
27683
|
options = {};
|
|
27599
27684
|
if (input == null || typeof input !== "string" && input.type !== "Program") {
|
|
@@ -27608,8 +27693,8 @@ var require_compiler = __commonJS({
|
|
|
27608
27693
|
}
|
|
27609
27694
|
var compiled = void 0;
|
|
27610
27695
|
function compileInput() {
|
|
27611
|
-
var ast =
|
|
27612
|
-
return
|
|
27696
|
+
var ast = env2.parse(input, options), environment = new env2.Compiler().compile(ast, options), templateSpec = new env2.JavaScriptCompiler().compile(environment, options, void 0, true);
|
|
27697
|
+
return env2.template(templateSpec);
|
|
27613
27698
|
}
|
|
27614
27699
|
function ret(context, execOptions) {
|
|
27615
27700
|
if (!compiled) {
|
|
@@ -32535,13 +32620,13 @@ var require_chalk = __commonJS({
|
|
|
32535
32620
|
c = l.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(l.FORCE_COLOR, 10), 3);
|
|
32536
32621
|
}
|
|
32537
32622
|
}
|
|
32538
|
-
function
|
|
32623
|
+
function translateLevel2(e3) {
|
|
32539
32624
|
if (e3 === 0) {
|
|
32540
32625
|
return false;
|
|
32541
32626
|
}
|
|
32542
32627
|
return { level: e3, hasBasic: true, has256: e3 >= 2, has16m: e3 >= 3 };
|
|
32543
32628
|
}
|
|
32544
|
-
function
|
|
32629
|
+
function supportsColor2(e3, t3) {
|
|
32545
32630
|
if (c === 0) {
|
|
32546
32631
|
return 0;
|
|
32547
32632
|
}
|
|
@@ -32598,10 +32683,10 @@ var require_chalk = __commonJS({
|
|
|
32598
32683
|
return n3;
|
|
32599
32684
|
}
|
|
32600
32685
|
function getSupportLevel(e3) {
|
|
32601
|
-
const t3 =
|
|
32602
|
-
return
|
|
32686
|
+
const t3 = supportsColor2(e3, e3 && e3.isTTY);
|
|
32687
|
+
return translateLevel2(t3);
|
|
32603
32688
|
}
|
|
32604
|
-
e2.exports = { supportsColor: getSupportLevel, stdout:
|
|
32689
|
+
e2.exports = { supportsColor: getSupportLevel, stdout: translateLevel2(supportsColor2(true, s.isatty(1))), stderr: translateLevel2(supportsColor2(true, s.isatty(2))) };
|
|
32605
32690
|
}, 37: (e2) => {
|
|
32606
32691
|
"use strict";
|
|
32607
32692
|
e2.exports = require("os");
|
|
@@ -37527,7 +37612,7 @@ var require_innerFrom = __commonJS({
|
|
|
37527
37612
|
exports.fromIterable = fromIterable;
|
|
37528
37613
|
function fromAsyncIterable(asyncIterable) {
|
|
37529
37614
|
return new Observable_1.Observable(function(subscriber) {
|
|
37530
|
-
|
|
37615
|
+
process3(asyncIterable, subscriber).catch(function(err) {
|
|
37531
37616
|
return subscriber.error(err);
|
|
37532
37617
|
});
|
|
37533
37618
|
});
|
|
@@ -37537,7 +37622,7 @@ var require_innerFrom = __commonJS({
|
|
|
37537
37622
|
return fromAsyncIterable(isReadableStreamLike_1.readableStreamLikeToAsyncGenerator(readableStream));
|
|
37538
37623
|
}
|
|
37539
37624
|
exports.fromReadableStreamLike = fromReadableStreamLike;
|
|
37540
|
-
function
|
|
37625
|
+
function process3(asyncIterable, subscriber) {
|
|
37541
37626
|
var asyncIterable_1, asyncIterable_1_1;
|
|
37542
37627
|
var e_2, _a2;
|
|
37543
37628
|
return __awaiter6(this, void 0, void 0, function() {
|
|
@@ -44818,11 +44903,11 @@ var require_signals = __commonJS({
|
|
|
44818
44903
|
var require_signal_exit = __commonJS({
|
|
44819
44904
|
"../../../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
|
|
44820
44905
|
"use strict";
|
|
44821
|
-
var
|
|
44822
|
-
var processOk = function(
|
|
44823
|
-
return
|
|
44906
|
+
var process3 = global.process;
|
|
44907
|
+
var processOk = function(process4) {
|
|
44908
|
+
return process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
|
|
44824
44909
|
};
|
|
44825
|
-
if (!processOk(
|
|
44910
|
+
if (!processOk(process3)) {
|
|
44826
44911
|
module2.exports = function() {
|
|
44827
44912
|
return function() {
|
|
44828
44913
|
};
|
|
@@ -44830,15 +44915,15 @@ var require_signal_exit = __commonJS({
|
|
|
44830
44915
|
} else {
|
|
44831
44916
|
assert = require("assert");
|
|
44832
44917
|
signals = require_signals();
|
|
44833
|
-
isWin = /^win/i.test(
|
|
44918
|
+
isWin = /^win/i.test(process3.platform);
|
|
44834
44919
|
EE = require("events");
|
|
44835
44920
|
if (typeof EE !== "function") {
|
|
44836
44921
|
EE = EE.EventEmitter;
|
|
44837
44922
|
}
|
|
44838
|
-
if (
|
|
44839
|
-
emitter =
|
|
44923
|
+
if (process3.__signal_exit_emitter__) {
|
|
44924
|
+
emitter = process3.__signal_exit_emitter__;
|
|
44840
44925
|
} else {
|
|
44841
|
-
emitter =
|
|
44926
|
+
emitter = process3.__signal_exit_emitter__ = new EE();
|
|
44842
44927
|
emitter.count = 0;
|
|
44843
44928
|
emitter.emitted = {};
|
|
44844
44929
|
}
|
|
@@ -44875,12 +44960,12 @@ var require_signal_exit = __commonJS({
|
|
|
44875
44960
|
loaded = false;
|
|
44876
44961
|
signals.forEach(function(sig) {
|
|
44877
44962
|
try {
|
|
44878
|
-
|
|
44963
|
+
process3.removeListener(sig, sigListeners[sig]);
|
|
44879
44964
|
} catch (er) {
|
|
44880
44965
|
}
|
|
44881
44966
|
});
|
|
44882
|
-
|
|
44883
|
-
|
|
44967
|
+
process3.emit = originalProcessEmit;
|
|
44968
|
+
process3.reallyExit = originalProcessReallyExit;
|
|
44884
44969
|
emitter.count -= 1;
|
|
44885
44970
|
};
|
|
44886
44971
|
module2.exports.unload = unload;
|
|
@@ -44897,7 +44982,7 @@ var require_signal_exit = __commonJS({
|
|
|
44897
44982
|
if (!processOk(global.process)) {
|
|
44898
44983
|
return;
|
|
44899
44984
|
}
|
|
44900
|
-
var listeners =
|
|
44985
|
+
var listeners = process3.listeners(sig);
|
|
44901
44986
|
if (listeners.length === emitter.count) {
|
|
44902
44987
|
unload();
|
|
44903
44988
|
emit("exit", null, sig);
|
|
@@ -44905,7 +44990,7 @@ var require_signal_exit = __commonJS({
|
|
|
44905
44990
|
if (isWin && sig === "SIGHUP") {
|
|
44906
44991
|
sig = "SIGINT";
|
|
44907
44992
|
}
|
|
44908
|
-
|
|
44993
|
+
process3.kill(process3.pid, sig);
|
|
44909
44994
|
}
|
|
44910
44995
|
};
|
|
44911
44996
|
});
|
|
@@ -44921,36 +45006,36 @@ var require_signal_exit = __commonJS({
|
|
|
44921
45006
|
emitter.count += 1;
|
|
44922
45007
|
signals = signals.filter(function(sig) {
|
|
44923
45008
|
try {
|
|
44924
|
-
|
|
45009
|
+
process3.on(sig, sigListeners[sig]);
|
|
44925
45010
|
return true;
|
|
44926
45011
|
} catch (er) {
|
|
44927
45012
|
return false;
|
|
44928
45013
|
}
|
|
44929
45014
|
});
|
|
44930
|
-
|
|
44931
|
-
|
|
45015
|
+
process3.emit = processEmit;
|
|
45016
|
+
process3.reallyExit = processReallyExit;
|
|
44932
45017
|
};
|
|
44933
45018
|
module2.exports.load = load;
|
|
44934
|
-
originalProcessReallyExit =
|
|
45019
|
+
originalProcessReallyExit = process3.reallyExit;
|
|
44935
45020
|
processReallyExit = function processReallyExit2(code) {
|
|
44936
45021
|
if (!processOk(global.process)) {
|
|
44937
45022
|
return;
|
|
44938
45023
|
}
|
|
44939
|
-
|
|
45024
|
+
process3.exitCode = code || /* istanbul ignore next */
|
|
44940
45025
|
0;
|
|
44941
|
-
emit("exit",
|
|
44942
|
-
emit("afterexit",
|
|
44943
|
-
originalProcessReallyExit.call(
|
|
45026
|
+
emit("exit", process3.exitCode, null);
|
|
45027
|
+
emit("afterexit", process3.exitCode, null);
|
|
45028
|
+
originalProcessReallyExit.call(process3, process3.exitCode);
|
|
44944
45029
|
};
|
|
44945
|
-
originalProcessEmit =
|
|
45030
|
+
originalProcessEmit = process3.emit;
|
|
44946
45031
|
processEmit = function processEmit2(ev, arg) {
|
|
44947
45032
|
if (ev === "exit" && processOk(global.process)) {
|
|
44948
45033
|
if (arg !== void 0) {
|
|
44949
|
-
|
|
45034
|
+
process3.exitCode = arg;
|
|
44950
45035
|
}
|
|
44951
45036
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
44952
|
-
emit("exit",
|
|
44953
|
-
emit("afterexit",
|
|
45037
|
+
emit("exit", process3.exitCode, null);
|
|
45038
|
+
emit("afterexit", process3.exitCode, null);
|
|
44954
45039
|
return ret;
|
|
44955
45040
|
} else {
|
|
44956
45041
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -69640,14 +69725,14 @@ async function timeoutPromise(promise, ms, reason = "Operation") {
|
|
|
69640
69725
|
var import_os = __toESM(require("os"));
|
|
69641
69726
|
var import_utils38 = require("@modern-js/utils");
|
|
69642
69727
|
|
|
69643
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
69728
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/bind.js
|
|
69644
69729
|
function bind(fn, thisArg) {
|
|
69645
69730
|
return function wrap() {
|
|
69646
69731
|
return fn.apply(thisArg, arguments);
|
|
69647
69732
|
};
|
|
69648
69733
|
}
|
|
69649
69734
|
|
|
69650
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
69735
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/utils.js
|
|
69651
69736
|
var { toString } = Object.prototype;
|
|
69652
69737
|
var { getPrototypeOf } = Object;
|
|
69653
69738
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -70006,7 +70091,7 @@ var utils_default = {
|
|
|
70006
70091
|
isThenable
|
|
70007
70092
|
};
|
|
70008
70093
|
|
|
70009
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70094
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/AxiosError.js
|
|
70010
70095
|
function AxiosError(message, code, config, request, response) {
|
|
70011
70096
|
Error.call(this);
|
|
70012
70097
|
if (Error.captureStackTrace) {
|
|
@@ -70078,11 +70163,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
70078
70163
|
};
|
|
70079
70164
|
var AxiosError_default = AxiosError;
|
|
70080
70165
|
|
|
70081
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70166
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
70082
70167
|
var import_form_data = __toESM(require_form_data());
|
|
70083
70168
|
var FormData_default = import_form_data.default;
|
|
70084
70169
|
|
|
70085
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70170
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/toFormData.js
|
|
70086
70171
|
function isVisitable(thing) {
|
|
70087
70172
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
70088
70173
|
}
|
|
@@ -70197,7 +70282,7 @@ function toFormData(obj, formData, options) {
|
|
|
70197
70282
|
}
|
|
70198
70283
|
var toFormData_default = toFormData;
|
|
70199
70284
|
|
|
70200
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70285
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
70201
70286
|
function encode(str) {
|
|
70202
70287
|
const charMap = {
|
|
70203
70288
|
"!": "%21",
|
|
@@ -70230,7 +70315,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
70230
70315
|
};
|
|
70231
70316
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
70232
70317
|
|
|
70233
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70318
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/buildURL.js
|
|
70234
70319
|
function encode2(val) {
|
|
70235
70320
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
70236
70321
|
}
|
|
@@ -70256,7 +70341,7 @@ function buildURL(url2, params, options) {
|
|
|
70256
70341
|
return url2;
|
|
70257
70342
|
}
|
|
70258
70343
|
|
|
70259
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70344
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
70260
70345
|
var InterceptorManager = class {
|
|
70261
70346
|
constructor() {
|
|
70262
70347
|
this.handlers = [];
|
|
@@ -70320,18 +70405,18 @@ var InterceptorManager = class {
|
|
|
70320
70405
|
};
|
|
70321
70406
|
var InterceptorManager_default = InterceptorManager;
|
|
70322
70407
|
|
|
70323
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70408
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/defaults/transitional.js
|
|
70324
70409
|
var transitional_default = {
|
|
70325
70410
|
silentJSONParsing: true,
|
|
70326
70411
|
forcedJSONParsing: true,
|
|
70327
70412
|
clarifyTimeoutError: false
|
|
70328
70413
|
};
|
|
70329
70414
|
|
|
70330
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70415
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
70331
70416
|
var import_url = __toESM(require("url"));
|
|
70332
70417
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
70333
70418
|
|
|
70334
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70419
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/index.js
|
|
70335
70420
|
var node_default = {
|
|
70336
70421
|
isNode: true,
|
|
70337
70422
|
classes: {
|
|
@@ -70342,11 +70427,33 @@ var node_default = {
|
|
|
70342
70427
|
protocols: ["http", "https", "file", "data"]
|
|
70343
70428
|
};
|
|
70344
70429
|
|
|
70345
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70430
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/common/utils.js
|
|
70431
|
+
var utils_exports = {};
|
|
70432
|
+
__export(utils_exports, {
|
|
70433
|
+
hasBrowserEnv: () => hasBrowserEnv,
|
|
70434
|
+
hasStandardBrowserEnv: () => hasStandardBrowserEnv,
|
|
70435
|
+
hasStandardBrowserWebWorkerEnv: () => hasStandardBrowserWebWorkerEnv
|
|
70436
|
+
});
|
|
70437
|
+
var hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
70438
|
+
var hasStandardBrowserEnv = ((product) => {
|
|
70439
|
+
return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
|
|
70440
|
+
})(typeof navigator !== "undefined" && navigator.product);
|
|
70441
|
+
var hasStandardBrowserWebWorkerEnv = (() => {
|
|
70442
|
+
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
70443
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
70444
|
+
})();
|
|
70445
|
+
|
|
70446
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/index.js
|
|
70447
|
+
var platform_default = {
|
|
70448
|
+
...utils_exports,
|
|
70449
|
+
...node_default
|
|
70450
|
+
};
|
|
70451
|
+
|
|
70452
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
70346
70453
|
function toURLEncodedForm(data, options) {
|
|
70347
|
-
return toFormData_default(data, new
|
|
70454
|
+
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
70348
70455
|
visitor: function(value, key, path18, helpers) {
|
|
70349
|
-
if (
|
|
70456
|
+
if (platform_default.isNode && utils_default.isBuffer(value)) {
|
|
70350
70457
|
this.append(key, value.toString("base64"));
|
|
70351
70458
|
return false;
|
|
70352
70459
|
}
|
|
@@ -70355,7 +70462,7 @@ function toURLEncodedForm(data, options) {
|
|
|
70355
70462
|
}, options));
|
|
70356
70463
|
}
|
|
70357
70464
|
|
|
70358
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70465
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
70359
70466
|
function parsePropPath(name) {
|
|
70360
70467
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
70361
70468
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -70376,6 +70483,8 @@ function arrayToObject(arr) {
|
|
|
70376
70483
|
function formDataToJSON(formData) {
|
|
70377
70484
|
function buildPath(path18, value, target, index) {
|
|
70378
70485
|
let name = path18[index++];
|
|
70486
|
+
if (name === "__proto__")
|
|
70487
|
+
return true;
|
|
70379
70488
|
const isNumericKey = Number.isFinite(+name);
|
|
70380
70489
|
const isLast = index >= path18.length;
|
|
70381
70490
|
name = !name && utils_default.isArray(target) ? target.length : name;
|
|
@@ -70407,7 +70516,7 @@ function formDataToJSON(formData) {
|
|
|
70407
70516
|
}
|
|
70408
70517
|
var formDataToJSON_default = formDataToJSON;
|
|
70409
70518
|
|
|
70410
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70519
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/defaults/index.js
|
|
70411
70520
|
function stringifySafely(rawValue, parser, encoder) {
|
|
70412
70521
|
if (utils_default.isString(rawValue)) {
|
|
70413
70522
|
try {
|
|
@@ -70433,9 +70542,6 @@ var defaults = {
|
|
|
70433
70542
|
}
|
|
70434
70543
|
const isFormData2 = utils_default.isFormData(data);
|
|
70435
70544
|
if (isFormData2) {
|
|
70436
|
-
if (!hasJSONContentType) {
|
|
70437
|
-
return data;
|
|
70438
|
-
}
|
|
70439
70545
|
return hasJSONContentType ? JSON.stringify(formDataToJSON_default(data)) : data;
|
|
70440
70546
|
}
|
|
70441
70547
|
if (utils_default.isArrayBuffer(data) || utils_default.isBuffer(data) || utils_default.isStream(data) || utils_default.isFile(data) || utils_default.isBlob(data)) {
|
|
@@ -70498,8 +70604,8 @@ var defaults = {
|
|
|
70498
70604
|
maxContentLength: -1,
|
|
70499
70605
|
maxBodyLength: -1,
|
|
70500
70606
|
env: {
|
|
70501
|
-
FormData:
|
|
70502
|
-
Blob:
|
|
70607
|
+
FormData: platform_default.classes.FormData,
|
|
70608
|
+
Blob: platform_default.classes.Blob
|
|
70503
70609
|
},
|
|
70504
70610
|
validateStatus: function validateStatus(status) {
|
|
70505
70611
|
return status >= 200 && status < 300;
|
|
@@ -70516,7 +70622,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
70516
70622
|
});
|
|
70517
70623
|
var defaults_default = defaults;
|
|
70518
70624
|
|
|
70519
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70625
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
70520
70626
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
70521
70627
|
"age",
|
|
70522
70628
|
"authorization",
|
|
@@ -70561,7 +70667,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
70561
70667
|
return parsed;
|
|
70562
70668
|
};
|
|
70563
70669
|
|
|
70564
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70670
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
70565
70671
|
var $internals = Symbol("internals");
|
|
70566
70672
|
function normalizeHeader(header) {
|
|
70567
70673
|
return header && String(header).trim().toLowerCase();
|
|
@@ -70779,7 +70885,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
70779
70885
|
utils_default.freezeMethods(AxiosHeaders);
|
|
70780
70886
|
var AxiosHeaders_default = AxiosHeaders;
|
|
70781
70887
|
|
|
70782
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70888
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/transformData.js
|
|
70783
70889
|
function transformData(fns, response) {
|
|
70784
70890
|
const config = this || defaults_default;
|
|
70785
70891
|
const context = response || config;
|
|
@@ -70792,12 +70898,12 @@ function transformData(fns, response) {
|
|
|
70792
70898
|
return data;
|
|
70793
70899
|
}
|
|
70794
70900
|
|
|
70795
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70901
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/isCancel.js
|
|
70796
70902
|
function isCancel(value) {
|
|
70797
70903
|
return !!(value && value.__CANCEL__);
|
|
70798
70904
|
}
|
|
70799
70905
|
|
|
70800
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70906
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
70801
70907
|
function CanceledError(message, config, request) {
|
|
70802
70908
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
70803
70909
|
this.name = "CanceledError";
|
|
@@ -70807,7 +70913,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
70807
70913
|
});
|
|
70808
70914
|
var CanceledError_default = CanceledError;
|
|
70809
70915
|
|
|
70810
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70916
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/settle.js
|
|
70811
70917
|
function settle(resolve, reject, response) {
|
|
70812
70918
|
const validateStatus2 = response.config.validateStatus;
|
|
70813
70919
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -70823,17 +70929,17 @@ function settle(resolve, reject, response) {
|
|
|
70823
70929
|
}
|
|
70824
70930
|
}
|
|
70825
70931
|
|
|
70826
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70932
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
70827
70933
|
function isAbsoluteURL(url2) {
|
|
70828
70934
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
70829
70935
|
}
|
|
70830
70936
|
|
|
70831
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70937
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
70832
70938
|
function combineURLs(baseURL, relativeURL) {
|
|
70833
|
-
return relativeURL ? baseURL.replace(
|
|
70939
|
+
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
70834
70940
|
}
|
|
70835
70941
|
|
|
70836
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70942
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/buildFullPath.js
|
|
70837
70943
|
function buildFullPath(baseURL, requestedURL) {
|
|
70838
70944
|
if (baseURL && !isAbsoluteURL(requestedURL)) {
|
|
70839
70945
|
return combineURLs(baseURL, requestedURL);
|
|
@@ -70841,7 +70947,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
70841
70947
|
return requestedURL;
|
|
70842
70948
|
}
|
|
70843
70949
|
|
|
70844
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70950
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
|
|
70845
70951
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
70846
70952
|
var import_http = __toESM(require("http"));
|
|
70847
70953
|
var import_https = __toESM(require("https"));
|
|
@@ -70849,19 +70955,19 @@ var import_util2 = __toESM(require("util"));
|
|
|
70849
70955
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
70850
70956
|
var import_zlib = __toESM(require("zlib"));
|
|
70851
70957
|
|
|
70852
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70853
|
-
var VERSION = "1.6.
|
|
70958
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/env/data.js
|
|
70959
|
+
var VERSION = "1.6.7";
|
|
70854
70960
|
|
|
70855
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70961
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
70856
70962
|
function parseProtocol(url2) {
|
|
70857
70963
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
70858
70964
|
return match && match[1] || "";
|
|
70859
70965
|
}
|
|
70860
70966
|
|
|
70861
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70967
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
70862
70968
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
70863
70969
|
function fromDataURI(uri, asBlob, options) {
|
|
70864
|
-
const _Blob = options && options.Blob ||
|
|
70970
|
+
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
70865
70971
|
const protocol = parseProtocol(uri);
|
|
70866
70972
|
if (asBlob === void 0 && _Blob) {
|
|
70867
70973
|
asBlob = true;
|
|
@@ -70887,13 +70993,13 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
70887
70993
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
70888
70994
|
}
|
|
70889
70995
|
|
|
70890
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70996
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
|
|
70891
70997
|
var import_stream4 = __toESM(require("stream"));
|
|
70892
70998
|
|
|
70893
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
70999
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
70894
71000
|
var import_stream = __toESM(require("stream"));
|
|
70895
71001
|
|
|
70896
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71002
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/throttle.js
|
|
70897
71003
|
function throttle(fn, freq) {
|
|
70898
71004
|
let timestamp = 0;
|
|
70899
71005
|
const threshold = 1e3 / freq;
|
|
@@ -70919,7 +71025,7 @@ function throttle(fn, freq) {
|
|
|
70919
71025
|
}
|
|
70920
71026
|
var throttle_default = throttle;
|
|
70921
71027
|
|
|
70922
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71028
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/speedometer.js
|
|
70923
71029
|
function speedometer(samplesCount, min) {
|
|
70924
71030
|
samplesCount = samplesCount || 10;
|
|
70925
71031
|
const bytes = new Array(samplesCount);
|
|
@@ -70955,7 +71061,7 @@ function speedometer(samplesCount, min) {
|
|
|
70955
71061
|
}
|
|
70956
71062
|
var speedometer_default = speedometer;
|
|
70957
71063
|
|
|
70958
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71064
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
70959
71065
|
var kInternals = Symbol("internals");
|
|
70960
71066
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
70961
71067
|
constructor(options) {
|
|
@@ -71105,14 +71211,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
71105
71211
|
};
|
|
71106
71212
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
71107
71213
|
|
|
71108
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71214
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
|
|
71109
71215
|
var import_events2 = __toESM(require("events"));
|
|
71110
71216
|
|
|
71111
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71217
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
71112
71218
|
var import_util = require("util");
|
|
71113
71219
|
var import_stream2 = require("stream");
|
|
71114
71220
|
|
|
71115
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71221
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/readBlob.js
|
|
71116
71222
|
var { asyncIterator } = Symbol;
|
|
71117
71223
|
var readBlob = async function* (blob) {
|
|
71118
71224
|
if (blob.stream) {
|
|
@@ -71127,7 +71233,7 @@ var readBlob = async function* (blob) {
|
|
|
71127
71233
|
};
|
|
71128
71234
|
var readBlob_default = readBlob;
|
|
71129
71235
|
|
|
71130
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71236
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
71131
71237
|
var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
71132
71238
|
var textEncoder = new import_util.TextEncoder();
|
|
71133
71239
|
var CRLF = "\r\n";
|
|
@@ -71206,7 +71312,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
71206
71312
|
};
|
|
71207
71313
|
var formDataToStream_default = formDataToStream;
|
|
71208
71314
|
|
|
71209
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71315
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
71210
71316
|
var import_stream3 = __toESM(require("stream"));
|
|
71211
71317
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
71212
71318
|
__transform(chunk, encoding, callback) {
|
|
@@ -71228,7 +71334,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
71228
71334
|
};
|
|
71229
71335
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
71230
71336
|
|
|
71231
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71337
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/callbackify.js
|
|
71232
71338
|
var callbackify = (fn, reducer) => {
|
|
71233
71339
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
71234
71340
|
const cb = args.pop();
|
|
@@ -71243,7 +71349,7 @@ var callbackify = (fn, reducer) => {
|
|
|
71243
71349
|
};
|
|
71244
71350
|
var callbackify_default = callbackify;
|
|
71245
71351
|
|
|
71246
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71352
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
|
|
71247
71353
|
var zlibOptions = {
|
|
71248
71354
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
71249
71355
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -71255,15 +71361,15 @@ var brotliOptions = {
|
|
|
71255
71361
|
var isBrotliSupported = utils_default.isFunction(import_zlib.default.createBrotliDecompress);
|
|
71256
71362
|
var { http: httpFollow, https: httpsFollow } = import_follow_redirects.default;
|
|
71257
71363
|
var isHttps = /https:?/;
|
|
71258
|
-
var supportedProtocols =
|
|
71364
|
+
var supportedProtocols = platform_default.protocols.map((protocol) => {
|
|
71259
71365
|
return protocol + ":";
|
|
71260
71366
|
});
|
|
71261
|
-
function dispatchBeforeRedirect(options) {
|
|
71367
|
+
function dispatchBeforeRedirect(options, responseDetails) {
|
|
71262
71368
|
if (options.beforeRedirects.proxy) {
|
|
71263
71369
|
options.beforeRedirects.proxy(options);
|
|
71264
71370
|
}
|
|
71265
71371
|
if (options.beforeRedirects.config) {
|
|
71266
|
-
options.beforeRedirects.config(options);
|
|
71372
|
+
options.beforeRedirects.config(options, responseDetails);
|
|
71267
71373
|
}
|
|
71268
71374
|
}
|
|
71269
71375
|
function setProxy(options, configProxy, location) {
|
|
@@ -71343,6 +71449,9 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
71343
71449
|
const _lookup = callbackify_default(lookup, (value) => utils_default.isArray(value) ? value : [value]);
|
|
71344
71450
|
lookup = (hostname, opt, cb) => {
|
|
71345
71451
|
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
71452
|
+
if (err) {
|
|
71453
|
+
return cb(err);
|
|
71454
|
+
}
|
|
71346
71455
|
const addresses = utils_default.isArray(arg0) ? arg0.map((addr) => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
|
|
71347
71456
|
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
71348
71457
|
});
|
|
@@ -71739,57 +71848,44 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
71739
71848
|
});
|
|
71740
71849
|
};
|
|
71741
71850
|
|
|
71742
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71743
|
-
var cookies_default =
|
|
71851
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/cookies.js
|
|
71852
|
+
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
71744
71853
|
// Standard browser envs support document.cookie
|
|
71745
|
-
|
|
71746
|
-
|
|
71747
|
-
|
|
71748
|
-
|
|
71749
|
-
|
|
71750
|
-
|
|
71751
|
-
|
|
71752
|
-
|
|
71753
|
-
|
|
71754
|
-
|
|
71755
|
-
|
|
71756
|
-
|
|
71757
|
-
|
|
71758
|
-
|
|
71759
|
-
|
|
71760
|
-
|
|
71761
|
-
|
|
71762
|
-
document.cookie = cookie.join("; ");
|
|
71763
|
-
},
|
|
71764
|
-
read: function read(name) {
|
|
71765
|
-
const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
|
|
71766
|
-
return match ? decodeURIComponent(match[3]) : null;
|
|
71767
|
-
},
|
|
71768
|
-
remove: function remove(name) {
|
|
71769
|
-
this.write(name, "", Date.now() - 864e5);
|
|
71770
|
-
}
|
|
71771
|
-
};
|
|
71772
|
-
}()
|
|
71854
|
+
{
|
|
71855
|
+
write(name, value, expires, path18, domain, secure) {
|
|
71856
|
+
const cookie = [name + "=" + encodeURIComponent(value)];
|
|
71857
|
+
utils_default.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
|
|
71858
|
+
utils_default.isString(path18) && cookie.push("path=" + path18);
|
|
71859
|
+
utils_default.isString(domain) && cookie.push("domain=" + domain);
|
|
71860
|
+
secure === true && cookie.push("secure");
|
|
71861
|
+
document.cookie = cookie.join("; ");
|
|
71862
|
+
},
|
|
71863
|
+
read(name) {
|
|
71864
|
+
const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
|
|
71865
|
+
return match ? decodeURIComponent(match[3]) : null;
|
|
71866
|
+
},
|
|
71867
|
+
remove(name) {
|
|
71868
|
+
this.write(name, "", Date.now() - 864e5);
|
|
71869
|
+
}
|
|
71870
|
+
}
|
|
71773
71871
|
) : (
|
|
71774
|
-
// Non
|
|
71775
|
-
|
|
71776
|
-
|
|
71777
|
-
|
|
71778
|
-
|
|
71779
|
-
|
|
71780
|
-
|
|
71781
|
-
|
|
71782
|
-
|
|
71783
|
-
|
|
71784
|
-
};
|
|
71785
|
-
}()
|
|
71872
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
71873
|
+
{
|
|
71874
|
+
write() {
|
|
71875
|
+
},
|
|
71876
|
+
read() {
|
|
71877
|
+
return null;
|
|
71878
|
+
},
|
|
71879
|
+
remove() {
|
|
71880
|
+
}
|
|
71881
|
+
}
|
|
71786
71882
|
);
|
|
71787
71883
|
|
|
71788
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71789
|
-
var isURLSameOrigin_default =
|
|
71884
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
71885
|
+
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? (
|
|
71790
71886
|
// Standard browser envs have full support of the APIs needed to test
|
|
71791
71887
|
// whether the request URL is of the same origin as current location.
|
|
71792
|
-
function
|
|
71888
|
+
function standardBrowserEnv() {
|
|
71793
71889
|
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
71794
71890
|
const urlParsingNode = document.createElement("a");
|
|
71795
71891
|
let originURL;
|
|
@@ -71819,14 +71915,14 @@ var isURLSameOrigin_default = node_default.isStandardBrowserEnv ? (
|
|
|
71819
71915
|
}()
|
|
71820
71916
|
) : (
|
|
71821
71917
|
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
71822
|
-
function
|
|
71918
|
+
function nonStandardBrowserEnv() {
|
|
71823
71919
|
return function isURLSameOrigin() {
|
|
71824
71920
|
return true;
|
|
71825
71921
|
};
|
|
71826
71922
|
}()
|
|
71827
71923
|
);
|
|
71828
71924
|
|
|
71829
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
71925
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/xhr.js
|
|
71830
71926
|
function progressEventReducer(listener, isDownloadStream) {
|
|
71831
71927
|
let bytesNotified = 0;
|
|
71832
71928
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -71855,7 +71951,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
71855
71951
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
71856
71952
|
let requestData = config.data;
|
|
71857
71953
|
const requestHeaders = AxiosHeaders_default.from(config.headers).normalize();
|
|
71858
|
-
|
|
71954
|
+
let { responseType, withXSRFToken } = config;
|
|
71859
71955
|
let onCanceled;
|
|
71860
71956
|
function done() {
|
|
71861
71957
|
if (config.cancelToken) {
|
|
@@ -71867,12 +71963,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
71867
71963
|
}
|
|
71868
71964
|
let contentType;
|
|
71869
71965
|
if (utils_default.isFormData(requestData)) {
|
|
71870
|
-
if (
|
|
71966
|
+
if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
|
|
71871
71967
|
requestHeaders.setContentType(false);
|
|
71872
|
-
} else if (
|
|
71873
|
-
|
|
71874
|
-
|
|
71875
|
-
requestHeaders.setContentType(contentType.replace(/^\s*(multipart\/form-data);+/, "$1"));
|
|
71968
|
+
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
71969
|
+
const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
|
|
71970
|
+
requestHeaders.setContentType([type || "multipart/form-data", ...tokens].join("; "));
|
|
71876
71971
|
}
|
|
71877
71972
|
}
|
|
71878
71973
|
let request = new XMLHttpRequest();
|
|
@@ -71947,10 +72042,13 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
71947
72042
|
));
|
|
71948
72043
|
request = null;
|
|
71949
72044
|
};
|
|
71950
|
-
if (
|
|
71951
|
-
|
|
71952
|
-
if (
|
|
71953
|
-
|
|
72045
|
+
if (platform_default.hasStandardBrowserEnv) {
|
|
72046
|
+
withXSRFToken && utils_default.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
72047
|
+
if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin_default(fullPath)) {
|
|
72048
|
+
const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies_default.read(config.xsrfCookieName);
|
|
72049
|
+
if (xsrfValue) {
|
|
72050
|
+
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
72051
|
+
}
|
|
71954
72052
|
}
|
|
71955
72053
|
}
|
|
71956
72054
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
@@ -71986,7 +72084,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
71986
72084
|
}
|
|
71987
72085
|
}
|
|
71988
72086
|
const protocol = parseProtocol(fullPath);
|
|
71989
|
-
if (protocol &&
|
|
72087
|
+
if (protocol && platform_default.protocols.indexOf(protocol) === -1) {
|
|
71990
72088
|
reject(new AxiosError_default("Unsupported protocol " + protocol + ":", AxiosError_default.ERR_BAD_REQUEST, config));
|
|
71991
72089
|
return;
|
|
71992
72090
|
}
|
|
@@ -71994,7 +72092,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
71994
72092
|
});
|
|
71995
72093
|
};
|
|
71996
72094
|
|
|
71997
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72095
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/adapters.js
|
|
71998
72096
|
var knownAdapters = {
|
|
71999
72097
|
http: http_default,
|
|
72000
72098
|
xhr: xhr_default
|
|
@@ -72047,7 +72145,7 @@ var adapters_default = {
|
|
|
72047
72145
|
adapters: knownAdapters
|
|
72048
72146
|
};
|
|
72049
72147
|
|
|
72050
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72148
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
72051
72149
|
function throwIfCancellationRequested(config) {
|
|
72052
72150
|
if (config.cancelToken) {
|
|
72053
72151
|
config.cancelToken.throwIfRequested();
|
|
@@ -72092,7 +72190,7 @@ function dispatchRequest(config) {
|
|
|
72092
72190
|
});
|
|
72093
72191
|
}
|
|
72094
72192
|
|
|
72095
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72193
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/mergeConfig.js
|
|
72096
72194
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? thing.toJSON() : thing;
|
|
72097
72195
|
function mergeConfig(config1, config2) {
|
|
72098
72196
|
config2 = config2 || {};
|
|
@@ -72144,6 +72242,7 @@ function mergeConfig(config1, config2) {
|
|
|
72144
72242
|
timeout: defaultToConfig2,
|
|
72145
72243
|
timeoutMessage: defaultToConfig2,
|
|
72146
72244
|
withCredentials: defaultToConfig2,
|
|
72245
|
+
withXSRFToken: defaultToConfig2,
|
|
72147
72246
|
adapter: defaultToConfig2,
|
|
72148
72247
|
responseType: defaultToConfig2,
|
|
72149
72248
|
xsrfCookieName: defaultToConfig2,
|
|
@@ -72171,7 +72270,7 @@ function mergeConfig(config1, config2) {
|
|
|
72171
72270
|
return config;
|
|
72172
72271
|
}
|
|
72173
72272
|
|
|
72174
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72273
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/validator.js
|
|
72175
72274
|
var validators = {};
|
|
72176
72275
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
72177
72276
|
validators[type] = function validator(thing) {
|
|
@@ -72229,7 +72328,7 @@ var validator_default = {
|
|
|
72229
72328
|
validators
|
|
72230
72329
|
};
|
|
72231
72330
|
|
|
72232
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72331
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/Axios.js
|
|
72233
72332
|
var validators2 = validator_default.validators;
|
|
72234
72333
|
var Axios = class {
|
|
72235
72334
|
constructor(instanceConfig) {
|
|
@@ -72247,7 +72346,24 @@ var Axios = class {
|
|
|
72247
72346
|
*
|
|
72248
72347
|
* @returns {Promise} The Promise to be fulfilled
|
|
72249
72348
|
*/
|
|
72250
|
-
request(configOrUrl, config) {
|
|
72349
|
+
async request(configOrUrl, config) {
|
|
72350
|
+
try {
|
|
72351
|
+
return await this._request(configOrUrl, config);
|
|
72352
|
+
} catch (err) {
|
|
72353
|
+
if (err instanceof Error) {
|
|
72354
|
+
let dummy;
|
|
72355
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : dummy = new Error();
|
|
72356
|
+
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
|
|
72357
|
+
if (!err.stack) {
|
|
72358
|
+
err.stack = stack;
|
|
72359
|
+
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ""))) {
|
|
72360
|
+
err.stack += "\n" + stack;
|
|
72361
|
+
}
|
|
72362
|
+
}
|
|
72363
|
+
throw err;
|
|
72364
|
+
}
|
|
72365
|
+
}
|
|
72366
|
+
_request(configOrUrl, config) {
|
|
72251
72367
|
if (typeof configOrUrl === "string") {
|
|
72252
72368
|
config = config || {};
|
|
72253
72369
|
config.url = configOrUrl;
|
|
@@ -72372,7 +72488,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
72372
72488
|
});
|
|
72373
72489
|
var Axios_default = Axios;
|
|
72374
72490
|
|
|
72375
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72491
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
72376
72492
|
var CancelToken = class _CancelToken {
|
|
72377
72493
|
constructor(executor) {
|
|
72378
72494
|
if (typeof executor !== "function") {
|
|
@@ -72462,19 +72578,19 @@ var CancelToken = class _CancelToken {
|
|
|
72462
72578
|
};
|
|
72463
72579
|
var CancelToken_default = CancelToken;
|
|
72464
72580
|
|
|
72465
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72581
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/spread.js
|
|
72466
72582
|
function spread(callback) {
|
|
72467
72583
|
return function wrap(arr) {
|
|
72468
72584
|
return callback.apply(null, arr);
|
|
72469
72585
|
};
|
|
72470
72586
|
}
|
|
72471
72587
|
|
|
72472
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72588
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
72473
72589
|
function isAxiosError(payload) {
|
|
72474
72590
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
72475
72591
|
}
|
|
72476
72592
|
|
|
72477
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72593
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
72478
72594
|
var HttpStatusCode = {
|
|
72479
72595
|
Continue: 100,
|
|
72480
72596
|
SwitchingProtocols: 101,
|
|
@@ -72545,7 +72661,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
72545
72661
|
});
|
|
72546
72662
|
var HttpStatusCode_default = HttpStatusCode;
|
|
72547
72663
|
|
|
72548
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72664
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/axios.js
|
|
72549
72665
|
function createInstance(defaultConfig) {
|
|
72550
72666
|
const context = new Axios_default(defaultConfig);
|
|
72551
72667
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -72578,7 +72694,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
72578
72694
|
axios.default = axios;
|
|
72579
72695
|
var axios_default = axios;
|
|
72580
72696
|
|
|
72581
|
-
// ../../../../node_modules/.pnpm/axios@1.6.
|
|
72697
|
+
// ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/index.js
|
|
72582
72698
|
var {
|
|
72583
72699
|
Axios: Axios2,
|
|
72584
72700
|
AxiosError: AxiosError2,
|