@storm-software/git-tools 2.104.4 → 2.104.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/{chunk-ENEDM37L.js → chunk-JT7CY52A.js} +18 -2
- package/bin/{chunk-LWOFPYON.cjs → chunk-WZ6ONU2G.cjs} +18 -2
- package/bin/git.cjs +587 -555
- package/bin/git.js +519 -487
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/package.json +2 -2
package/bin/git.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
writeInfo,
|
|
22
22
|
writeSuccess,
|
|
23
23
|
writeWarning
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JT7CY52A.js";
|
|
25
25
|
import {
|
|
26
26
|
defu
|
|
27
27
|
} from "./chunk-5L6OQPTU.js";
|
|
@@ -3733,7 +3733,7 @@ var require_unicode = __commonJS({
|
|
|
3733
3733
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/unicode.js"(exports, module) {
|
|
3734
3734
|
"use strict";
|
|
3735
3735
|
init_esm_shims();
|
|
3736
|
-
var
|
|
3736
|
+
var util4 = __require("util");
|
|
3737
3737
|
var Match = require_match();
|
|
3738
3738
|
module.exports.UTF_16BE = function() {
|
|
3739
3739
|
this.name = function() {
|
|
@@ -3802,7 +3802,7 @@ var require_unicode = __commonJS({
|
|
|
3802
3802
|
return (input[index + 0] & 255) << 24 | (input[index + 1] & 255) << 16 | (input[index + 2] & 255) << 8 | input[index + 3] & 255;
|
|
3803
3803
|
};
|
|
3804
3804
|
};
|
|
3805
|
-
|
|
3805
|
+
util4.inherits(module.exports.UTF_32BE, UTF_32);
|
|
3806
3806
|
module.exports.UTF_32LE = function() {
|
|
3807
3807
|
this.name = function() {
|
|
3808
3808
|
return "UTF-32LE";
|
|
@@ -3811,7 +3811,7 @@ var require_unicode = __commonJS({
|
|
|
3811
3811
|
return (input[index + 3] & 255) << 24 | (input[index + 2] & 255) << 16 | (input[index + 1] & 255) << 8 | input[index + 0] & 255;
|
|
3812
3812
|
};
|
|
3813
3813
|
};
|
|
3814
|
-
|
|
3814
|
+
util4.inherits(module.exports.UTF_32LE, UTF_32);
|
|
3815
3815
|
}
|
|
3816
3816
|
});
|
|
3817
3817
|
|
|
@@ -3819,7 +3819,7 @@ var require_unicode = __commonJS({
|
|
|
3819
3819
|
var require_mbcs = __commonJS({
|
|
3820
3820
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/mbcs.js"(exports, module) {
|
|
3821
3821
|
init_esm_shims();
|
|
3822
|
-
var
|
|
3822
|
+
var util4 = __require("util");
|
|
3823
3823
|
var Match = require_match();
|
|
3824
3824
|
function binarySearch(arr, searchValue) {
|
|
3825
3825
|
function find2(arr2, searchValue2, left, right) {
|
|
@@ -3995,7 +3995,7 @@ var require_mbcs = __commonJS({
|
|
|
3995
3995
|
return true;
|
|
3996
3996
|
};
|
|
3997
3997
|
};
|
|
3998
|
-
|
|
3998
|
+
util4.inherits(module.exports.sjis, mbcs);
|
|
3999
3999
|
module.exports.big5 = function() {
|
|
4000
4000
|
this.name = function() {
|
|
4001
4001
|
return "Big5";
|
|
@@ -4114,7 +4114,7 @@ var require_mbcs = __commonJS({
|
|
|
4114
4114
|
return true;
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
|
-
|
|
4117
|
+
util4.inherits(module.exports.big5, mbcs);
|
|
4118
4118
|
function eucNextChar(iter, det) {
|
|
4119
4119
|
iter.index = iter.nextIndex;
|
|
4120
4120
|
iter.error = false;
|
|
@@ -4266,7 +4266,7 @@ var require_mbcs = __commonJS({
|
|
|
4266
4266
|
];
|
|
4267
4267
|
this.nextChar = eucNextChar;
|
|
4268
4268
|
};
|
|
4269
|
-
|
|
4269
|
+
util4.inherits(module.exports.euc_jp, mbcs);
|
|
4270
4270
|
module.exports.euc_kr = function() {
|
|
4271
4271
|
this.name = function() {
|
|
4272
4272
|
return "EUC-KR";
|
|
@@ -4378,7 +4378,7 @@ var require_mbcs = __commonJS({
|
|
|
4378
4378
|
];
|
|
4379
4379
|
this.nextChar = eucNextChar;
|
|
4380
4380
|
};
|
|
4381
|
-
|
|
4381
|
+
util4.inherits(module.exports.euc_kr, mbcs);
|
|
4382
4382
|
module.exports.gb_18030 = function() {
|
|
4383
4383
|
this.name = function() {
|
|
4384
4384
|
return "GB18030";
|
|
@@ -4527,7 +4527,7 @@ var require_mbcs = __commonJS({
|
|
|
4527
4527
|
54992
|
|
4528
4528
|
];
|
|
4529
4529
|
};
|
|
4530
|
-
|
|
4530
|
+
util4.inherits(module.exports.gb_18030, mbcs);
|
|
4531
4531
|
}
|
|
4532
4532
|
});
|
|
4533
4533
|
|
|
@@ -4535,7 +4535,7 @@ var require_mbcs = __commonJS({
|
|
|
4535
4535
|
var require_sbcs = __commonJS({
|
|
4536
4536
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/sbcs.js"(exports, module) {
|
|
4537
4537
|
init_esm_shims();
|
|
4538
|
-
var
|
|
4538
|
+
var util4 = __require("util");
|
|
4539
4539
|
var Match = require_match();
|
|
4540
4540
|
function NGramParser(theNgramList, theByteMap) {
|
|
4541
4541
|
var N_GRAM_MASK = 16777215;
|
|
@@ -5555,7 +5555,7 @@ var require_sbcs = __commonJS({
|
|
|
5555
5555
|
return det && det.fC1Bytes ? "windows-1252" : "ISO-8859-1";
|
|
5556
5556
|
};
|
|
5557
5557
|
};
|
|
5558
|
-
|
|
5558
|
+
util4.inherits(module.exports.ISO_8859_1, sbcs);
|
|
5559
5559
|
module.exports.ISO_8859_2 = function() {
|
|
5560
5560
|
this.byteMap = function() {
|
|
5561
5561
|
return [
|
|
@@ -6089,7 +6089,7 @@ var require_sbcs = __commonJS({
|
|
|
6089
6089
|
return det && det.fC1Bytes ? "windows-1250" : "ISO-8859-2";
|
|
6090
6090
|
};
|
|
6091
6091
|
};
|
|
6092
|
-
|
|
6092
|
+
util4.inherits(module.exports.ISO_8859_2, sbcs);
|
|
6093
6093
|
module.exports.ISO_8859_5 = function() {
|
|
6094
6094
|
this.byteMap = function() {
|
|
6095
6095
|
return [
|
|
@@ -6426,7 +6426,7 @@ var require_sbcs = __commonJS({
|
|
|
6426
6426
|
return "ru";
|
|
6427
6427
|
};
|
|
6428
6428
|
};
|
|
6429
|
-
|
|
6429
|
+
util4.inherits(module.exports.ISO_8859_5, sbcs);
|
|
6430
6430
|
module.exports.ISO_8859_6 = function() {
|
|
6431
6431
|
this.byteMap = function() {
|
|
6432
6432
|
return [
|
|
@@ -6763,7 +6763,7 @@ var require_sbcs = __commonJS({
|
|
|
6763
6763
|
return "ar";
|
|
6764
6764
|
};
|
|
6765
6765
|
};
|
|
6766
|
-
|
|
6766
|
+
util4.inherits(module.exports.ISO_8859_6, sbcs);
|
|
6767
6767
|
module.exports.ISO_8859_7 = function() {
|
|
6768
6768
|
this.byteMap = function() {
|
|
6769
6769
|
return [
|
|
@@ -7100,7 +7100,7 @@ var require_sbcs = __commonJS({
|
|
|
7100
7100
|
return "el";
|
|
7101
7101
|
};
|
|
7102
7102
|
};
|
|
7103
|
-
|
|
7103
|
+
util4.inherits(module.exports.ISO_8859_7, sbcs);
|
|
7104
7104
|
module.exports.ISO_8859_8 = function() {
|
|
7105
7105
|
this.byteMap = function() {
|
|
7106
7106
|
return [
|
|
@@ -7505,7 +7505,7 @@ var require_sbcs = __commonJS({
|
|
|
7505
7505
|
return "he";
|
|
7506
7506
|
};
|
|
7507
7507
|
};
|
|
7508
|
-
|
|
7508
|
+
util4.inherits(module.exports.ISO_8859_8, sbcs);
|
|
7509
7509
|
module.exports.ISO_8859_9 = function() {
|
|
7510
7510
|
this.byteMap = function() {
|
|
7511
7511
|
return [
|
|
@@ -7842,7 +7842,7 @@ var require_sbcs = __commonJS({
|
|
|
7842
7842
|
return "tr";
|
|
7843
7843
|
};
|
|
7844
7844
|
};
|
|
7845
|
-
|
|
7845
|
+
util4.inherits(module.exports.ISO_8859_9, sbcs);
|
|
7846
7846
|
module.exports.windows_1251 = function() {
|
|
7847
7847
|
this.byteMap = function() {
|
|
7848
7848
|
return [
|
|
@@ -8179,7 +8179,7 @@ var require_sbcs = __commonJS({
|
|
|
8179
8179
|
return "ru";
|
|
8180
8180
|
};
|
|
8181
8181
|
};
|
|
8182
|
-
|
|
8182
|
+
util4.inherits(module.exports.windows_1251, sbcs);
|
|
8183
8183
|
module.exports.windows_1256 = function() {
|
|
8184
8184
|
this.byteMap = function() {
|
|
8185
8185
|
return [
|
|
@@ -8516,7 +8516,7 @@ var require_sbcs = __commonJS({
|
|
|
8516
8516
|
return "ar";
|
|
8517
8517
|
};
|
|
8518
8518
|
};
|
|
8519
|
-
|
|
8519
|
+
util4.inherits(module.exports.windows_1256, sbcs);
|
|
8520
8520
|
module.exports.KOI8_R = function() {
|
|
8521
8521
|
this.byteMap = function() {
|
|
8522
8522
|
return [
|
|
@@ -8853,7 +8853,7 @@ var require_sbcs = __commonJS({
|
|
|
8853
8853
|
return "ru";
|
|
8854
8854
|
};
|
|
8855
8855
|
};
|
|
8856
|
-
|
|
8856
|
+
util4.inherits(module.exports.KOI8_R, sbcs);
|
|
8857
8857
|
}
|
|
8858
8858
|
});
|
|
8859
8859
|
|
|
@@ -8861,7 +8861,7 @@ var require_sbcs = __commonJS({
|
|
|
8861
8861
|
var require_iso2022 = __commonJS({
|
|
8862
8862
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/iso2022.js"(exports, module) {
|
|
8863
8863
|
init_esm_shims();
|
|
8864
|
-
var
|
|
8864
|
+
var util4 = __require("util");
|
|
8865
8865
|
var Match = require_match();
|
|
8866
8866
|
function ISO_2022() {
|
|
8867
8867
|
}
|
|
@@ -8964,7 +8964,7 @@ var require_iso2022 = __commonJS({
|
|
|
8964
8964
|
// ISO 8859-7
|
|
8965
8965
|
];
|
|
8966
8966
|
};
|
|
8967
|
-
|
|
8967
|
+
util4.inherits(module.exports.ISO_2022_JP, ISO_2022);
|
|
8968
8968
|
module.exports.ISO_2022_KR = function() {
|
|
8969
8969
|
this.name = function() {
|
|
8970
8970
|
return "ISO-2022-KR";
|
|
@@ -8978,7 +8978,7 @@ var require_iso2022 = __commonJS({
|
|
|
8978
8978
|
]
|
|
8979
8979
|
];
|
|
8980
8980
|
};
|
|
8981
|
-
|
|
8981
|
+
util4.inherits(module.exports.ISO_2022_KR, ISO_2022);
|
|
8982
8982
|
module.exports.ISO_2022_CN = function() {
|
|
8983
8983
|
this.name = function() {
|
|
8984
8984
|
return "ISO-2022-CN";
|
|
@@ -9049,7 +9049,7 @@ var require_iso2022 = __commonJS({
|
|
|
9049
9049
|
// SS3
|
|
9050
9050
|
];
|
|
9051
9051
|
};
|
|
9052
|
-
|
|
9052
|
+
util4.inherits(module.exports.ISO_2022_CN, ISO_2022);
|
|
9053
9053
|
}
|
|
9054
9054
|
});
|
|
9055
9055
|
|
|
@@ -12635,7 +12635,7 @@ var require_tmp = __commonJS({
|
|
|
12635
12635
|
init_esm_shims();
|
|
12636
12636
|
var fs2 = __require("fs");
|
|
12637
12637
|
var path2 = __require("path");
|
|
12638
|
-
var
|
|
12638
|
+
var crypto2 = __require("crypto");
|
|
12639
12639
|
var osTmpDir = require_os_tmpdir();
|
|
12640
12640
|
var _c = process.binding("constants");
|
|
12641
12641
|
var tmpDir = osTmpDir();
|
|
@@ -12653,9 +12653,9 @@ var require_tmp = __commonJS({
|
|
|
12653
12653
|
function _randomChars(howMany) {
|
|
12654
12654
|
var value = [], rnd = null;
|
|
12655
12655
|
try {
|
|
12656
|
-
rnd =
|
|
12656
|
+
rnd = crypto2.randomBytes(howMany);
|
|
12657
12657
|
} catch (e) {
|
|
12658
|
-
rnd =
|
|
12658
|
+
rnd = crypto2.pseudoRandomBytes(howMany);
|
|
12659
12659
|
}
|
|
12660
12660
|
for (var i = 0; i < howMany; i++) {
|
|
12661
12661
|
value.push(RANDOM_CHARS[rnd[i] % RANDOM_CHARS.length]);
|
|
@@ -13350,7 +13350,7 @@ var require_main = __commonJS({
|
|
|
13350
13350
|
var require_shell_escape = __commonJS({
|
|
13351
13351
|
"../../node_modules/.pnpm/any-shell-escape@0.1.1/node_modules/any-shell-escape/shell-escape.js"(exports, module) {
|
|
13352
13352
|
init_esm_shims();
|
|
13353
|
-
var
|
|
13353
|
+
var util4 = __require("util");
|
|
13354
13354
|
var winCmd = /^win/.test(process.platform);
|
|
13355
13355
|
var escapePath;
|
|
13356
13356
|
function escapePathSh(path2) {
|
|
@@ -15588,14 +15588,14 @@ var require_node = __commonJS({
|
|
|
15588
15588
|
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module) {
|
|
15589
15589
|
init_esm_shims();
|
|
15590
15590
|
var tty2 = __require("tty");
|
|
15591
|
-
var
|
|
15591
|
+
var util4 = __require("util");
|
|
15592
15592
|
exports.init = init;
|
|
15593
15593
|
exports.log = log;
|
|
15594
15594
|
exports.formatArgs = formatArgs;
|
|
15595
15595
|
exports.save = save;
|
|
15596
15596
|
exports.load = load2;
|
|
15597
15597
|
exports.useColors = useColors;
|
|
15598
|
-
exports.destroy =
|
|
15598
|
+
exports.destroy = util4.deprecate(() => {
|
|
15599
15599
|
}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
15600
15600
|
exports.colors = [
|
|
15601
15601
|
6,
|
|
@@ -15733,7 +15733,7 @@ var require_node = __commonJS({
|
|
|
15733
15733
|
}
|
|
15734
15734
|
__name(getDate, "getDate");
|
|
15735
15735
|
function log(...args) {
|
|
15736
|
-
return process.stderr.write(
|
|
15736
|
+
return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
15737
15737
|
}
|
|
15738
15738
|
__name(log, "log");
|
|
15739
15739
|
function save(namespaces) {
|
|
@@ -15760,11 +15760,11 @@ var require_node = __commonJS({
|
|
|
15760
15760
|
var { formatters } = module.exports;
|
|
15761
15761
|
formatters.o = function(v) {
|
|
15762
15762
|
this.inspectOpts.colors = this.useColors;
|
|
15763
|
-
return
|
|
15763
|
+
return util4.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
15764
15764
|
};
|
|
15765
15765
|
formatters.O = function(v) {
|
|
15766
15766
|
this.inspectOpts.colors = this.useColors;
|
|
15767
|
-
return
|
|
15767
|
+
return util4.inspect(v, this.inspectOpts);
|
|
15768
15768
|
};
|
|
15769
15769
|
}
|
|
15770
15770
|
});
|
|
@@ -16766,28 +16766,28 @@ var require_convert = __commonJS({
|
|
|
16766
16766
|
"use strict";
|
|
16767
16767
|
init_esm_shims();
|
|
16768
16768
|
module.exports = convert;
|
|
16769
|
-
function convert(
|
|
16770
|
-
if (
|
|
16769
|
+
function convert(test2) {
|
|
16770
|
+
if (test2 == null) {
|
|
16771
16771
|
return ok;
|
|
16772
16772
|
}
|
|
16773
|
-
if (typeof
|
|
16774
|
-
return typeFactory(
|
|
16773
|
+
if (typeof test2 === "string") {
|
|
16774
|
+
return typeFactory(test2);
|
|
16775
16775
|
}
|
|
16776
|
-
if (typeof
|
|
16777
|
-
return "length" in
|
|
16776
|
+
if (typeof test2 === "object") {
|
|
16777
|
+
return "length" in test2 ? anyFactory(test2) : allFactory(test2);
|
|
16778
16778
|
}
|
|
16779
|
-
if (typeof
|
|
16780
|
-
return
|
|
16779
|
+
if (typeof test2 === "function") {
|
|
16780
|
+
return test2;
|
|
16781
16781
|
}
|
|
16782
16782
|
throw new Error("Expected function, string, or object as test");
|
|
16783
16783
|
}
|
|
16784
16784
|
__name(convert, "convert");
|
|
16785
|
-
function allFactory(
|
|
16785
|
+
function allFactory(test2) {
|
|
16786
16786
|
return all3;
|
|
16787
16787
|
function all3(node) {
|
|
16788
16788
|
var key;
|
|
16789
|
-
for (key in
|
|
16790
|
-
if (node[key] !==
|
|
16789
|
+
for (key in test2) {
|
|
16790
|
+
if (node[key] !== test2[key]) return false;
|
|
16791
16791
|
}
|
|
16792
16792
|
return true;
|
|
16793
16793
|
}
|
|
@@ -16813,10 +16813,10 @@ var require_convert = __commonJS({
|
|
|
16813
16813
|
__name(any, "any");
|
|
16814
16814
|
}
|
|
16815
16815
|
__name(anyFactory, "anyFactory");
|
|
16816
|
-
function typeFactory(
|
|
16816
|
+
function typeFactory(test2) {
|
|
16817
16817
|
return type;
|
|
16818
16818
|
function type(node) {
|
|
16819
|
-
return Boolean(node && node.type ===
|
|
16819
|
+
return Boolean(node && node.type === test2);
|
|
16820
16820
|
}
|
|
16821
16821
|
__name(type, "type");
|
|
16822
16822
|
}
|
|
@@ -16854,15 +16854,15 @@ var require_unist_util_visit_parents = __commonJS({
|
|
|
16854
16854
|
visitParents.CONTINUE = CONTINUE;
|
|
16855
16855
|
visitParents.SKIP = SKIP;
|
|
16856
16856
|
visitParents.EXIT = EXIT;
|
|
16857
|
-
function visitParents(tree,
|
|
16857
|
+
function visitParents(tree, test2, visitor, reverse) {
|
|
16858
16858
|
var step;
|
|
16859
16859
|
var is;
|
|
16860
|
-
if (typeof
|
|
16860
|
+
if (typeof test2 === "function" && typeof visitor !== "function") {
|
|
16861
16861
|
reverse = visitor;
|
|
16862
|
-
visitor =
|
|
16863
|
-
|
|
16862
|
+
visitor = test2;
|
|
16863
|
+
test2 = null;
|
|
16864
16864
|
}
|
|
16865
|
-
is = convert(
|
|
16865
|
+
is = convert(test2);
|
|
16866
16866
|
step = reverse ? -1 : 1;
|
|
16867
16867
|
factory(tree, null, [])();
|
|
16868
16868
|
function factory(node, index, parents) {
|
|
@@ -16878,7 +16878,7 @@ var require_unist_util_visit_parents = __commonJS({
|
|
|
16878
16878
|
var result2 = [];
|
|
16879
16879
|
var subresult;
|
|
16880
16880
|
var offset;
|
|
16881
|
-
if (!
|
|
16881
|
+
if (!test2 || is(node, index, parents[parents.length - 1] || null)) {
|
|
16882
16882
|
result2 = toResult(visitor(node, parents));
|
|
16883
16883
|
if (result2[0] === EXIT) {
|
|
16884
16884
|
return result2;
|
|
@@ -23724,7 +23724,7 @@ var require_character_reference = __commonJS({
|
|
|
23724
23724
|
var self2 = this;
|
|
23725
23725
|
var size2 = 0;
|
|
23726
23726
|
var max2;
|
|
23727
|
-
var
|
|
23727
|
+
var test2;
|
|
23728
23728
|
return start2;
|
|
23729
23729
|
function start2(code) {
|
|
23730
23730
|
effects.enter("characterReference");
|
|
@@ -23743,7 +23743,7 @@ var require_character_reference = __commonJS({
|
|
|
23743
23743
|
}
|
|
23744
23744
|
effects.enter("characterReferenceValue");
|
|
23745
23745
|
max2 = 31;
|
|
23746
|
-
|
|
23746
|
+
test2 = asciiAlphanumeric;
|
|
23747
23747
|
return value(code);
|
|
23748
23748
|
}
|
|
23749
23749
|
__name(open, "open");
|
|
@@ -23754,12 +23754,12 @@ var require_character_reference = __commonJS({
|
|
|
23754
23754
|
effects.exit("characterReferenceMarkerHexadecimal");
|
|
23755
23755
|
effects.enter("characterReferenceValue");
|
|
23756
23756
|
max2 = 6;
|
|
23757
|
-
|
|
23757
|
+
test2 = asciiHexDigit;
|
|
23758
23758
|
return value;
|
|
23759
23759
|
}
|
|
23760
23760
|
effects.enter("characterReferenceValue");
|
|
23761
23761
|
max2 = 7;
|
|
23762
|
-
|
|
23762
|
+
test2 = asciiDigit;
|
|
23763
23763
|
return value(code);
|
|
23764
23764
|
}
|
|
23765
23765
|
__name(numeric, "numeric");
|
|
@@ -23767,7 +23767,7 @@ var require_character_reference = __commonJS({
|
|
|
23767
23767
|
var token;
|
|
23768
23768
|
if (code === 59 && size2) {
|
|
23769
23769
|
token = effects.exit("characterReferenceValue");
|
|
23770
|
-
if (
|
|
23770
|
+
if (test2 === asciiAlphanumeric && !decodeEntity__default["default"](self2.sliceSerialize(token))) {
|
|
23771
23771
|
return nok(code);
|
|
23772
23772
|
}
|
|
23773
23773
|
effects.enter("characterReferenceMarker");
|
|
@@ -23776,7 +23776,7 @@ var require_character_reference = __commonJS({
|
|
|
23776
23776
|
effects.exit("characterReference");
|
|
23777
23777
|
return ok;
|
|
23778
23778
|
}
|
|
23779
|
-
if (
|
|
23779
|
+
if (test2(code) && size2++ < max2) {
|
|
23780
23780
|
effects.consume(code);
|
|
23781
23781
|
return value;
|
|
23782
23782
|
}
|
|
@@ -35838,7 +35838,7 @@ var require_tmp2 = __commonJS({
|
|
|
35838
35838
|
var fs2 = __require("fs");
|
|
35839
35839
|
var os2 = __require("os");
|
|
35840
35840
|
var path2 = __require("path");
|
|
35841
|
-
var
|
|
35841
|
+
var crypto2 = __require("crypto");
|
|
35842
35842
|
var _c = {
|
|
35843
35843
|
fs: fs2.constants,
|
|
35844
35844
|
os: os2.constants
|
|
@@ -36046,9 +36046,9 @@ var require_tmp2 = __commonJS({
|
|
|
36046
36046
|
function _randomChars(howMany) {
|
|
36047
36047
|
let value = [], rnd = null;
|
|
36048
36048
|
try {
|
|
36049
|
-
rnd =
|
|
36049
|
+
rnd = crypto2.randomBytes(howMany);
|
|
36050
36050
|
} catch (e) {
|
|
36051
|
-
rnd =
|
|
36051
|
+
rnd = crypto2.pseudoRandomBytes(howMany);
|
|
36052
36052
|
}
|
|
36053
36053
|
for (var i = 0; i < howMany; i++) {
|
|
36054
36054
|
value.push(RANDOM_CHARS[rnd[i] % RANDOM_CHARS.length]);
|
|
@@ -36190,7 +36190,7 @@ var require_delayed_stream = __commonJS({
|
|
|
36190
36190
|
"../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js"(exports, module) {
|
|
36191
36191
|
init_esm_shims();
|
|
36192
36192
|
var Stream = __require("stream").Stream;
|
|
36193
|
-
var
|
|
36193
|
+
var util4 = __require("util");
|
|
36194
36194
|
module.exports = DelayedStream;
|
|
36195
36195
|
function DelayedStream() {
|
|
36196
36196
|
this.source = null;
|
|
@@ -36202,7 +36202,7 @@ var require_delayed_stream = __commonJS({
|
|
|
36202
36202
|
this._bufferedEvents = [];
|
|
36203
36203
|
}
|
|
36204
36204
|
__name(DelayedStream, "DelayedStream");
|
|
36205
|
-
|
|
36205
|
+
util4.inherits(DelayedStream, Stream);
|
|
36206
36206
|
DelayedStream.create = function(source, options) {
|
|
36207
36207
|
var delayedStream = new this();
|
|
36208
36208
|
options = options || {};
|
|
@@ -36282,7 +36282,7 @@ var require_delayed_stream = __commonJS({
|
|
|
36282
36282
|
var require_combined_stream = __commonJS({
|
|
36283
36283
|
"../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js"(exports, module) {
|
|
36284
36284
|
init_esm_shims();
|
|
36285
|
-
var
|
|
36285
|
+
var util4 = __require("util");
|
|
36286
36286
|
var Stream = __require("stream").Stream;
|
|
36287
36287
|
var DelayedStream = require_delayed_stream();
|
|
36288
36288
|
module.exports = CombinedStream;
|
|
@@ -36299,7 +36299,7 @@ var require_combined_stream = __commonJS({
|
|
|
36299
36299
|
this._pendingNext = false;
|
|
36300
36300
|
}
|
|
36301
36301
|
__name(CombinedStream, "CombinedStream");
|
|
36302
|
-
|
|
36302
|
+
util4.inherits(CombinedStream, Stream);
|
|
36303
36303
|
CombinedStream.create = function(options) {
|
|
36304
36304
|
var combinedStream = new this();
|
|
36305
36305
|
options = options || {};
|
|
@@ -46381,7 +46381,7 @@ var require_form_data = __commonJS({
|
|
|
46381
46381
|
"../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js"(exports, module) {
|
|
46382
46382
|
init_esm_shims();
|
|
46383
46383
|
var CombinedStream = require_combined_stream();
|
|
46384
|
-
var
|
|
46384
|
+
var util4 = __require("util");
|
|
46385
46385
|
var path2 = __require("path");
|
|
46386
46386
|
var http2 = __require("http");
|
|
46387
46387
|
var https2 = __require("https");
|
|
@@ -46393,7 +46393,7 @@ var require_form_data = __commonJS({
|
|
|
46393
46393
|
var setToStringTag = require_es_set_tostringtag();
|
|
46394
46394
|
var populate = require_populate();
|
|
46395
46395
|
module.exports = FormData3;
|
|
46396
|
-
|
|
46396
|
+
util4.inherits(FormData3, CombinedStream);
|
|
46397
46397
|
function FormData3(options) {
|
|
46398
46398
|
if (!(this instanceof FormData3)) {
|
|
46399
46399
|
return new FormData3(options);
|
|
@@ -46733,7 +46733,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
46733
46733
|
var stringEndsWith = String.prototype.endsWith || function(s) {
|
|
46734
46734
|
return s.length <= this.length && this.indexOf(s, this.length - s.length) !== -1;
|
|
46735
46735
|
};
|
|
46736
|
-
function
|
|
46736
|
+
function getProxyForUrl(url2) {
|
|
46737
46737
|
var parsedUrl = typeof url2 === "string" ? parseUrl(url2) : url2 || {};
|
|
46738
46738
|
var proto2 = parsedUrl.protocol;
|
|
46739
46739
|
var hostname = parsedUrl.host;
|
|
@@ -46753,7 +46753,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
46753
46753
|
}
|
|
46754
46754
|
return proxy;
|
|
46755
46755
|
}
|
|
46756
|
-
__name(
|
|
46756
|
+
__name(getProxyForUrl, "getProxyForUrl");
|
|
46757
46757
|
function shouldProxy(hostname, port) {
|
|
46758
46758
|
var NO_PROXY = (getEnv("npm_config_no_proxy") || getEnv("no_proxy")).toLowerCase();
|
|
46759
46759
|
if (!NO_PROXY) {
|
|
@@ -46786,7 +46786,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
46786
46786
|
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
|
|
46787
46787
|
}
|
|
46788
46788
|
__name(getEnv, "getEnv");
|
|
46789
|
-
exports.getProxyForUrl =
|
|
46789
|
+
exports.getProxyForUrl = getProxyForUrl;
|
|
46790
46790
|
}
|
|
46791
46791
|
});
|
|
46792
46792
|
|
|
@@ -81022,16 +81022,16 @@ __name(gitTag, "gitTag");
|
|
|
81022
81022
|
// src/release/changelog-renderer.ts
|
|
81023
81023
|
init_esm_shims();
|
|
81024
81024
|
|
|
81025
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81025
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/index.js
|
|
81026
81026
|
init_esm_shims();
|
|
81027
81027
|
|
|
81028
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81028
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/axios.js
|
|
81029
81029
|
init_esm_shims();
|
|
81030
81030
|
|
|
81031
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81031
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/utils.js
|
|
81032
81032
|
init_esm_shims();
|
|
81033
81033
|
|
|
81034
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81034
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/bind.js
|
|
81035
81035
|
init_esm_shims();
|
|
81036
81036
|
function bind(fn, thisArg) {
|
|
81037
81037
|
return /* @__PURE__ */ __name(function wrap3() {
|
|
@@ -81040,7 +81040,7 @@ function bind(fn, thisArg) {
|
|
|
81040
81040
|
}
|
|
81041
81041
|
__name(bind, "bind");
|
|
81042
81042
|
|
|
81043
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81043
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/utils.js
|
|
81044
81044
|
var { toString: toString2 } = Object.prototype;
|
|
81045
81045
|
var { getPrototypeOf } = Object;
|
|
81046
81046
|
var kindOf = /* @__PURE__ */ ((cache) => (thing) => {
|
|
@@ -81311,21 +81311,6 @@ var noop2 = /* @__PURE__ */ __name(() => {
|
|
|
81311
81311
|
var toFiniteNumber = /* @__PURE__ */ __name((value, defaultValue) => {
|
|
81312
81312
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
81313
81313
|
}, "toFiniteNumber");
|
|
81314
|
-
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
81315
|
-
var DIGIT = "0123456789";
|
|
81316
|
-
var ALPHABET = {
|
|
81317
|
-
DIGIT,
|
|
81318
|
-
ALPHA,
|
|
81319
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
81320
|
-
};
|
|
81321
|
-
var generateString = /* @__PURE__ */ __name((size2 = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
81322
|
-
let str = "";
|
|
81323
|
-
const { length } = alphabet;
|
|
81324
|
-
while (size2--) {
|
|
81325
|
-
str += alphabet[Math.random() * length | 0];
|
|
81326
|
-
}
|
|
81327
|
-
return str;
|
|
81328
|
-
}, "generateString");
|
|
81329
81314
|
function isSpecCompliantForm(thing) {
|
|
81330
81315
|
return !!(thing && isFunction2(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
|
|
81331
81316
|
}
|
|
@@ -81354,6 +81339,23 @@ var toJSONObject = /* @__PURE__ */ __name((obj) => {
|
|
|
81354
81339
|
}, "toJSONObject");
|
|
81355
81340
|
var isAsyncFn = kindOfTest("AsyncFunction");
|
|
81356
81341
|
var isThenable = /* @__PURE__ */ __name((thing) => thing && (isObject2(thing) || isFunction2(thing)) && isFunction2(thing.then) && isFunction2(thing.catch), "isThenable");
|
|
81342
|
+
var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
81343
|
+
if (setImmediateSupported) {
|
|
81344
|
+
return setImmediate;
|
|
81345
|
+
}
|
|
81346
|
+
return postMessageSupported ? ((token, callbacks) => {
|
|
81347
|
+
_global.addEventListener("message", ({ source, data }) => {
|
|
81348
|
+
if (source === _global && data === token) {
|
|
81349
|
+
callbacks.length && callbacks.shift()();
|
|
81350
|
+
}
|
|
81351
|
+
}, false);
|
|
81352
|
+
return (cb2) => {
|
|
81353
|
+
callbacks.push(cb2);
|
|
81354
|
+
_global.postMessage(token, "*");
|
|
81355
|
+
};
|
|
81356
|
+
})(`axios@${Math.random()}`, []) : (cb2) => setTimeout(cb2);
|
|
81357
|
+
})(typeof setImmediate === "function", isFunction2(_global.postMessage));
|
|
81358
|
+
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
81357
81359
|
var utils_default = {
|
|
81358
81360
|
isArray,
|
|
81359
81361
|
isArrayBuffer,
|
|
@@ -81404,27 +81406,27 @@ var utils_default = {
|
|
|
81404
81406
|
findKey: findKey2,
|
|
81405
81407
|
global: _global,
|
|
81406
81408
|
isContextDefined,
|
|
81407
|
-
ALPHABET,
|
|
81408
|
-
generateString,
|
|
81409
81409
|
isSpecCompliantForm,
|
|
81410
81410
|
toJSONObject,
|
|
81411
81411
|
isAsyncFn,
|
|
81412
|
-
isThenable
|
|
81412
|
+
isThenable,
|
|
81413
|
+
setImmediate: _setImmediate,
|
|
81414
|
+
asap
|
|
81413
81415
|
};
|
|
81414
81416
|
|
|
81415
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81417
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/Axios.js
|
|
81416
81418
|
init_esm_shims();
|
|
81417
81419
|
|
|
81418
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81420
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/buildURL.js
|
|
81419
81421
|
init_esm_shims();
|
|
81420
81422
|
|
|
81421
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81423
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
81422
81424
|
init_esm_shims();
|
|
81423
81425
|
|
|
81424
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81426
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toFormData.js
|
|
81425
81427
|
init_esm_shims();
|
|
81426
81428
|
|
|
81427
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81429
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosError.js
|
|
81428
81430
|
init_esm_shims();
|
|
81429
81431
|
function AxiosError(message2, code, config, request, response) {
|
|
81430
81432
|
Error.call(this);
|
|
@@ -81438,7 +81440,10 @@ function AxiosError(message2, code, config, request, response) {
|
|
|
81438
81440
|
code && (this.code = code);
|
|
81439
81441
|
config && (this.config = config);
|
|
81440
81442
|
request && (this.request = request);
|
|
81441
|
-
|
|
81443
|
+
if (response) {
|
|
81444
|
+
this.response = response;
|
|
81445
|
+
this.status = response.status ? response.status : null;
|
|
81446
|
+
}
|
|
81442
81447
|
}
|
|
81443
81448
|
__name(AxiosError, "AxiosError");
|
|
81444
81449
|
utils_default.inherits(AxiosError, Error, {
|
|
@@ -81458,7 +81463,7 @@ utils_default.inherits(AxiosError, Error, {
|
|
|
81458
81463
|
// Axios
|
|
81459
81464
|
config: utils_default.toJSONObject(this.config),
|
|
81460
81465
|
code: this.code,
|
|
81461
|
-
status: this.
|
|
81466
|
+
status: this.status
|
|
81462
81467
|
};
|
|
81463
81468
|
}, "toJSON")
|
|
81464
81469
|
});
|
|
@@ -81501,12 +81506,12 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
81501
81506
|
};
|
|
81502
81507
|
var AxiosError_default = AxiosError;
|
|
81503
81508
|
|
|
81504
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81509
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
81505
81510
|
init_esm_shims();
|
|
81506
81511
|
var import_form_data = __toESM(require_form_data(), 1);
|
|
81507
81512
|
var FormData_default = import_form_data.default;
|
|
81508
81513
|
|
|
81509
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81514
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toFormData.js
|
|
81510
81515
|
function isVisitable(thing) {
|
|
81511
81516
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
81512
81517
|
}
|
|
@@ -81626,7 +81631,7 @@ function toFormData(obj, formData, options) {
|
|
|
81626
81631
|
__name(toFormData, "toFormData");
|
|
81627
81632
|
var toFormData_default = toFormData;
|
|
81628
81633
|
|
|
81629
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81634
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
81630
81635
|
function encode(str) {
|
|
81631
81636
|
const charMap = {
|
|
81632
81637
|
"!": "%21",
|
|
@@ -81664,7 +81669,7 @@ prototype2.toString = /* @__PURE__ */ __name(function toString3(encoder2) {
|
|
|
81664
81669
|
}, "toString");
|
|
81665
81670
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
81666
81671
|
|
|
81667
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81672
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/buildURL.js
|
|
81668
81673
|
function encode2(val) {
|
|
81669
81674
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
81670
81675
|
}
|
|
@@ -81674,6 +81679,11 @@ function buildURL(url2, params, options) {
|
|
|
81674
81679
|
return url2;
|
|
81675
81680
|
}
|
|
81676
81681
|
const _encode = options && options.encode || encode2;
|
|
81682
|
+
if (utils_default.isFunction(options)) {
|
|
81683
|
+
options = {
|
|
81684
|
+
serialize: options
|
|
81685
|
+
};
|
|
81686
|
+
}
|
|
81677
81687
|
const serializeFn = options && options.serialize;
|
|
81678
81688
|
let serializedParams;
|
|
81679
81689
|
if (serializeFn) {
|
|
@@ -81692,7 +81702,7 @@ function buildURL(url2, params, options) {
|
|
|
81692
81702
|
}
|
|
81693
81703
|
__name(buildURL, "buildURL");
|
|
81694
81704
|
|
|
81695
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81705
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/InterceptorManager.js
|
|
81696
81706
|
init_esm_shims();
|
|
81697
81707
|
var InterceptorManager = class InterceptorManager2 {
|
|
81698
81708
|
static {
|
|
@@ -81760,16 +81770,16 @@ var InterceptorManager = class InterceptorManager2 {
|
|
|
81760
81770
|
};
|
|
81761
81771
|
var InterceptorManager_default = InterceptorManager;
|
|
81762
81772
|
|
|
81763
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81773
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/dispatchRequest.js
|
|
81764
81774
|
init_esm_shims();
|
|
81765
81775
|
|
|
81766
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81776
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/transformData.js
|
|
81767
81777
|
init_esm_shims();
|
|
81768
81778
|
|
|
81769
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81779
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/index.js
|
|
81770
81780
|
init_esm_shims();
|
|
81771
81781
|
|
|
81772
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81782
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/transitional.js
|
|
81773
81783
|
init_esm_shims();
|
|
81774
81784
|
var transitional_default = {
|
|
81775
81785
|
silentJSONParsing: true,
|
|
@@ -81777,21 +81787,39 @@ var transitional_default = {
|
|
|
81777
81787
|
clarifyTimeoutError: false
|
|
81778
81788
|
};
|
|
81779
81789
|
|
|
81780
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81790
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
81781
81791
|
init_esm_shims();
|
|
81782
81792
|
|
|
81783
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81793
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/index.js
|
|
81784
81794
|
init_esm_shims();
|
|
81785
81795
|
|
|
81786
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81796
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/index.js
|
|
81787
81797
|
init_esm_shims();
|
|
81798
|
+
import crypto from "crypto";
|
|
81788
81799
|
|
|
81789
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81800
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
81790
81801
|
init_esm_shims();
|
|
81791
81802
|
import url from "url";
|
|
81792
81803
|
var URLSearchParams_default = url.URLSearchParams;
|
|
81793
81804
|
|
|
81794
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81805
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/index.js
|
|
81806
|
+
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
81807
|
+
var DIGIT = "0123456789";
|
|
81808
|
+
var ALPHABET = {
|
|
81809
|
+
DIGIT,
|
|
81810
|
+
ALPHA,
|
|
81811
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
81812
|
+
};
|
|
81813
|
+
var generateString = /* @__PURE__ */ __name((size2 = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
81814
|
+
let str = "";
|
|
81815
|
+
const { length } = alphabet;
|
|
81816
|
+
const randomValues = new Uint32Array(size2);
|
|
81817
|
+
crypto.randomFillSync(randomValues);
|
|
81818
|
+
for (let i = 0; i < size2; i++) {
|
|
81819
|
+
str += alphabet[randomValues[i] % length];
|
|
81820
|
+
}
|
|
81821
|
+
return str;
|
|
81822
|
+
}, "generateString");
|
|
81795
81823
|
var node_default = {
|
|
81796
81824
|
isNode: true,
|
|
81797
81825
|
classes: {
|
|
@@ -81799,6 +81827,8 @@ var node_default = {
|
|
|
81799
81827
|
FormData: FormData_default,
|
|
81800
81828
|
Blob: typeof Blob !== "undefined" && Blob || null
|
|
81801
81829
|
},
|
|
81830
|
+
ALPHABET,
|
|
81831
|
+
generateString,
|
|
81802
81832
|
protocols: [
|
|
81803
81833
|
"http",
|
|
81804
81834
|
"https",
|
|
@@ -81807,36 +81837,36 @@ var node_default = {
|
|
|
81807
81837
|
]
|
|
81808
81838
|
};
|
|
81809
81839
|
|
|
81810
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81840
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/common/utils.js
|
|
81811
81841
|
var utils_exports = {};
|
|
81812
81842
|
__export(utils_exports, {
|
|
81813
81843
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
81814
81844
|
hasStandardBrowserEnv: () => hasStandardBrowserEnv,
|
|
81815
81845
|
hasStandardBrowserWebWorkerEnv: () => hasStandardBrowserWebWorkerEnv,
|
|
81846
|
+
navigator: () => _navigator,
|
|
81816
81847
|
origin: () => origin
|
|
81817
81848
|
});
|
|
81818
81849
|
init_esm_shims();
|
|
81819
81850
|
var hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
81820
|
-
var
|
|
81821
|
-
|
|
81822
|
-
|
|
81823
|
-
|
|
81824
|
-
|
|
81825
|
-
|
|
81826
|
-
})(typeof navigator !== "undefined" && navigator.product);
|
|
81851
|
+
var _navigator = typeof navigator === "object" && navigator || void 0;
|
|
81852
|
+
var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || [
|
|
81853
|
+
"ReactNative",
|
|
81854
|
+
"NativeScript",
|
|
81855
|
+
"NS"
|
|
81856
|
+
].indexOf(_navigator.product) < 0);
|
|
81827
81857
|
var hasStandardBrowserWebWorkerEnv = (() => {
|
|
81828
81858
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
81829
81859
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
81830
81860
|
})();
|
|
81831
81861
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
81832
81862
|
|
|
81833
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81863
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/index.js
|
|
81834
81864
|
var platform_default = {
|
|
81835
81865
|
...utils_exports,
|
|
81836
81866
|
...node_default
|
|
81837
81867
|
};
|
|
81838
81868
|
|
|
81839
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81869
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
81840
81870
|
function toURLEncodedForm(data, options) {
|
|
81841
81871
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
81842
81872
|
visitor: /* @__PURE__ */ __name(function(value, key, path2, helpers) {
|
|
@@ -81850,7 +81880,7 @@ function toURLEncodedForm(data, options) {
|
|
|
81850
81880
|
}
|
|
81851
81881
|
__name(toURLEncodedForm, "toURLEncodedForm");
|
|
81852
81882
|
|
|
81853
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81883
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
81854
81884
|
init_esm_shims();
|
|
81855
81885
|
function parsePropPath(name) {
|
|
81856
81886
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
@@ -81911,7 +81941,7 @@ function formDataToJSON(formData) {
|
|
|
81911
81941
|
__name(formDataToJSON, "formDataToJSON");
|
|
81912
81942
|
var formDataToJSON_default = formDataToJSON;
|
|
81913
81943
|
|
|
81914
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81944
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/index.js
|
|
81915
81945
|
function stringifySafely(rawValue, parser, encoder2) {
|
|
81916
81946
|
if (utils_default.isString(rawValue)) {
|
|
81917
81947
|
try {
|
|
@@ -82034,10 +82064,10 @@ utils_default.forEach([
|
|
|
82034
82064
|
});
|
|
82035
82065
|
var defaults_default2 = defaults;
|
|
82036
82066
|
|
|
82037
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82067
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosHeaders.js
|
|
82038
82068
|
init_esm_shims();
|
|
82039
82069
|
|
|
82040
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82070
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/parseHeaders.js
|
|
82041
82071
|
init_esm_shims();
|
|
82042
82072
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
82043
82073
|
"age",
|
|
@@ -82085,7 +82115,7 @@ var parseHeaders_default = /* @__PURE__ */ __name((rawHeaders) => {
|
|
|
82085
82115
|
return parsed;
|
|
82086
82116
|
}, "default");
|
|
82087
82117
|
|
|
82088
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82118
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosHeaders.js
|
|
82089
82119
|
var $internals = Symbol("internals");
|
|
82090
82120
|
function normalizeHeader(header) {
|
|
82091
82121
|
return header && String(header).trim().toLowerCase();
|
|
@@ -82329,7 +82359,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
82329
82359
|
utils_default.freezeMethods(AxiosHeaders);
|
|
82330
82360
|
var AxiosHeaders_default = AxiosHeaders;
|
|
82331
82361
|
|
|
82332
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82362
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/transformData.js
|
|
82333
82363
|
function transformData(fns, response) {
|
|
82334
82364
|
const config = this || defaults_default2;
|
|
82335
82365
|
const context = response || config;
|
|
@@ -82343,14 +82373,14 @@ function transformData(fns, response) {
|
|
|
82343
82373
|
}
|
|
82344
82374
|
__name(transformData, "transformData");
|
|
82345
82375
|
|
|
82346
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82376
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/isCancel.js
|
|
82347
82377
|
init_esm_shims();
|
|
82348
82378
|
function isCancel(value) {
|
|
82349
82379
|
return !!(value && value.__CANCEL__);
|
|
82350
82380
|
}
|
|
82351
82381
|
__name(isCancel, "isCancel");
|
|
82352
82382
|
|
|
82353
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82383
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/CanceledError.js
|
|
82354
82384
|
init_esm_shims();
|
|
82355
82385
|
function CanceledError(message2, config, request) {
|
|
82356
82386
|
AxiosError_default.call(this, message2 == null ? "canceled" : message2, AxiosError_default.ERR_CANCELED, config, request);
|
|
@@ -82362,13 +82392,13 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
82362
82392
|
});
|
|
82363
82393
|
var CanceledError_default = CanceledError;
|
|
82364
82394
|
|
|
82365
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82395
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/adapters.js
|
|
82366
82396
|
init_esm_shims();
|
|
82367
82397
|
|
|
82368
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82398
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82369
82399
|
init_esm_shims();
|
|
82370
82400
|
|
|
82371
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82401
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/settle.js
|
|
82372
82402
|
init_esm_shims();
|
|
82373
82403
|
function settle(resolve, reject2, response) {
|
|
82374
82404
|
const validateStatus2 = response.config.validateStatus;
|
|
@@ -82383,48 +82413,49 @@ function settle(resolve, reject2, response) {
|
|
|
82383
82413
|
}
|
|
82384
82414
|
__name(settle, "settle");
|
|
82385
82415
|
|
|
82386
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82416
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/buildFullPath.js
|
|
82387
82417
|
init_esm_shims();
|
|
82388
82418
|
|
|
82389
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82419
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
82390
82420
|
init_esm_shims();
|
|
82391
82421
|
function isAbsoluteURL(url2) {
|
|
82392
82422
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
82393
82423
|
}
|
|
82394
82424
|
__name(isAbsoluteURL, "isAbsoluteURL");
|
|
82395
82425
|
|
|
82396
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82426
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/combineURLs.js
|
|
82397
82427
|
init_esm_shims();
|
|
82398
82428
|
function combineURLs(baseURL, relativeURL) {
|
|
82399
82429
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
82400
82430
|
}
|
|
82401
82431
|
__name(combineURLs, "combineURLs");
|
|
82402
82432
|
|
|
82403
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82404
|
-
function buildFullPath(baseURL, requestedURL) {
|
|
82405
|
-
|
|
82433
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/buildFullPath.js
|
|
82434
|
+
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
82435
|
+
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
82436
|
+
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
82406
82437
|
return combineURLs(baseURL, requestedURL);
|
|
82407
82438
|
}
|
|
82408
82439
|
return requestedURL;
|
|
82409
82440
|
}
|
|
82410
82441
|
__name(buildFullPath, "buildFullPath");
|
|
82411
82442
|
|
|
82412
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82443
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82413
82444
|
var import_proxy_from_env = __toESM(require_proxy_from_env(), 1);
|
|
82414
82445
|
var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
82415
82446
|
import http from "http";
|
|
82416
82447
|
import https from "https";
|
|
82417
|
-
import
|
|
82448
|
+
import util3 from "util";
|
|
82418
82449
|
import zlib from "zlib";
|
|
82419
82450
|
|
|
82420
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82451
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/env/data.js
|
|
82421
82452
|
init_esm_shims();
|
|
82422
|
-
var VERSION2 = "1.
|
|
82453
|
+
var VERSION2 = "1.8.2";
|
|
82423
82454
|
|
|
82424
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82455
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/fromDataURI.js
|
|
82425
82456
|
init_esm_shims();
|
|
82426
82457
|
|
|
82427
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82458
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/parseProtocol.js
|
|
82428
82459
|
init_esm_shims();
|
|
82429
82460
|
function parseProtocol(url2) {
|
|
82430
82461
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
@@ -82432,7 +82463,7 @@ function parseProtocol(url2) {
|
|
|
82432
82463
|
}
|
|
82433
82464
|
__name(parseProtocol, "parseProtocol");
|
|
82434
82465
|
|
|
82435
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82466
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/fromDataURI.js
|
|
82436
82467
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
82437
82468
|
function fromDataURI(uri, asBlob, options) {
|
|
82438
82469
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -82466,81 +82497,12 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
82466
82497
|
}
|
|
82467
82498
|
__name(fromDataURI, "fromDataURI");
|
|
82468
82499
|
|
|
82469
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82500
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82470
82501
|
import stream3 from "stream";
|
|
82471
82502
|
|
|
82472
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82503
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
82473
82504
|
init_esm_shims();
|
|
82474
82505
|
import stream from "stream";
|
|
82475
|
-
|
|
82476
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/throttle.js
|
|
82477
|
-
init_esm_shims();
|
|
82478
|
-
function throttle2(fn, freq) {
|
|
82479
|
-
let timestamp = 0;
|
|
82480
|
-
const threshold = 1e3 / freq;
|
|
82481
|
-
let timer = null;
|
|
82482
|
-
return /* @__PURE__ */ __name(function throttled() {
|
|
82483
|
-
const force = this === true;
|
|
82484
|
-
const now = Date.now();
|
|
82485
|
-
if (force || now - timestamp > threshold) {
|
|
82486
|
-
if (timer) {
|
|
82487
|
-
clearTimeout(timer);
|
|
82488
|
-
timer = null;
|
|
82489
|
-
}
|
|
82490
|
-
timestamp = now;
|
|
82491
|
-
return fn.apply(null, arguments);
|
|
82492
|
-
}
|
|
82493
|
-
if (!timer) {
|
|
82494
|
-
timer = setTimeout(() => {
|
|
82495
|
-
timer = null;
|
|
82496
|
-
timestamp = Date.now();
|
|
82497
|
-
return fn.apply(null, arguments);
|
|
82498
|
-
}, threshold - (now - timestamp));
|
|
82499
|
-
}
|
|
82500
|
-
}, "throttled");
|
|
82501
|
-
}
|
|
82502
|
-
__name(throttle2, "throttle");
|
|
82503
|
-
var throttle_default = throttle2;
|
|
82504
|
-
|
|
82505
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/speedometer.js
|
|
82506
|
-
init_esm_shims();
|
|
82507
|
-
function speedometer(samplesCount, min2) {
|
|
82508
|
-
samplesCount = samplesCount || 10;
|
|
82509
|
-
const bytes = new Array(samplesCount);
|
|
82510
|
-
const timestamps = new Array(samplesCount);
|
|
82511
|
-
let head = 0;
|
|
82512
|
-
let tail = 0;
|
|
82513
|
-
let firstSampleTS;
|
|
82514
|
-
min2 = min2 !== void 0 ? min2 : 1e3;
|
|
82515
|
-
return /* @__PURE__ */ __name(function push2(chunkLength) {
|
|
82516
|
-
const now = Date.now();
|
|
82517
|
-
const startedAt = timestamps[tail];
|
|
82518
|
-
if (!firstSampleTS) {
|
|
82519
|
-
firstSampleTS = now;
|
|
82520
|
-
}
|
|
82521
|
-
bytes[head] = chunkLength;
|
|
82522
|
-
timestamps[head] = now;
|
|
82523
|
-
let i = tail;
|
|
82524
|
-
let bytesCount = 0;
|
|
82525
|
-
while (i !== head) {
|
|
82526
|
-
bytesCount += bytes[i++];
|
|
82527
|
-
i = i % samplesCount;
|
|
82528
|
-
}
|
|
82529
|
-
head = (head + 1) % samplesCount;
|
|
82530
|
-
if (head === tail) {
|
|
82531
|
-
tail = (tail + 1) % samplesCount;
|
|
82532
|
-
}
|
|
82533
|
-
if (now - firstSampleTS < min2) {
|
|
82534
|
-
return;
|
|
82535
|
-
}
|
|
82536
|
-
const passed = startedAt && now - startedAt;
|
|
82537
|
-
return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
|
|
82538
|
-
}, "push");
|
|
82539
|
-
}
|
|
82540
|
-
__name(speedometer, "speedometer");
|
|
82541
|
-
var speedometer_default = speedometer;
|
|
82542
|
-
|
|
82543
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
82544
82506
|
var kInternals = Symbol("internals");
|
|
82545
82507
|
var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform {
|
|
82546
82508
|
static {
|
|
@@ -82560,11 +82522,8 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82560
82522
|
super({
|
|
82561
82523
|
readableHighWaterMark: options.chunkSize
|
|
82562
82524
|
});
|
|
82563
|
-
const self2 = this;
|
|
82564
82525
|
const internals = this[kInternals] = {
|
|
82565
|
-
length: options.length,
|
|
82566
82526
|
timeWindow: options.timeWindow,
|
|
82567
|
-
ticksRate: options.ticksRate,
|
|
82568
82527
|
chunkSize: options.chunkSize,
|
|
82569
82528
|
maxRate: options.maxRate,
|
|
82570
82529
|
minChunkSize: options.minChunkSize,
|
|
@@ -82575,7 +82534,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82575
82534
|
bytes: 0,
|
|
82576
82535
|
onReadCallback: null
|
|
82577
82536
|
};
|
|
82578
|
-
const _speedometer = speedometer_default(internals.ticksRate * options.samplesCount, internals.timeWindow);
|
|
82579
82537
|
this.on("newListener", (event) => {
|
|
82580
82538
|
if (event === "progress") {
|
|
82581
82539
|
if (!internals.isCaptured) {
|
|
@@ -82583,31 +82541,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82583
82541
|
}
|
|
82584
82542
|
}
|
|
82585
82543
|
});
|
|
82586
|
-
let bytesNotified = 0;
|
|
82587
|
-
internals.updateProgress = throttle_default(/* @__PURE__ */ __name(function throttledHandler() {
|
|
82588
|
-
const totalBytes = internals.length;
|
|
82589
|
-
const bytesTransferred = internals.bytesSeen;
|
|
82590
|
-
const progressBytes = bytesTransferred - bytesNotified;
|
|
82591
|
-
if (!progressBytes || self2.destroyed) return;
|
|
82592
|
-
const rate = _speedometer(progressBytes);
|
|
82593
|
-
bytesNotified = bytesTransferred;
|
|
82594
|
-
process.nextTick(() => {
|
|
82595
|
-
self2.emit("progress", {
|
|
82596
|
-
loaded: bytesTransferred,
|
|
82597
|
-
total: totalBytes,
|
|
82598
|
-
progress: totalBytes ? bytesTransferred / totalBytes : void 0,
|
|
82599
|
-
bytes: progressBytes,
|
|
82600
|
-
rate: rate ? rate : void 0,
|
|
82601
|
-
estimated: rate && totalBytes && bytesTransferred <= totalBytes ? (totalBytes - bytesTransferred) / rate : void 0,
|
|
82602
|
-
lengthComputable: totalBytes != null
|
|
82603
|
-
});
|
|
82604
|
-
});
|
|
82605
|
-
}, "throttledHandler"), internals.ticksRate);
|
|
82606
|
-
const onFinish = /* @__PURE__ */ __name(() => {
|
|
82607
|
-
internals.updateProgress.call(true);
|
|
82608
|
-
}, "onFinish");
|
|
82609
|
-
this.once("end", onFinish);
|
|
82610
|
-
this.once("error", onFinish);
|
|
82611
82544
|
}
|
|
82612
82545
|
_read(size2) {
|
|
82613
82546
|
const internals = this[kInternals];
|
|
@@ -82617,7 +82550,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82617
82550
|
return super._read(size2);
|
|
82618
82551
|
}
|
|
82619
82552
|
_transform(chunk2, encoding, callback) {
|
|
82620
|
-
const self2 = this;
|
|
82621
82553
|
const internals = this[kInternals];
|
|
82622
82554
|
const maxRate = internals.maxRate;
|
|
82623
82555
|
const readableHighWaterMark = this.readableHighWaterMark;
|
|
@@ -82625,14 +82557,12 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82625
82557
|
const divider = 1e3 / timeWindow;
|
|
82626
82558
|
const bytesThreshold = maxRate / divider;
|
|
82627
82559
|
const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;
|
|
82628
|
-
|
|
82560
|
+
const pushChunk = /* @__PURE__ */ __name((_chunk, _callback) => {
|
|
82629
82561
|
const bytes = Buffer.byteLength(_chunk);
|
|
82630
82562
|
internals.bytesSeen += bytes;
|
|
82631
82563
|
internals.bytes += bytes;
|
|
82632
|
-
|
|
82633
|
-
|
|
82634
|
-
}
|
|
82635
|
-
if (self2.push(_chunk)) {
|
|
82564
|
+
internals.isCaptured && this.emit("progress", internals.bytesSeen);
|
|
82565
|
+
if (this.push(_chunk)) {
|
|
82636
82566
|
process.nextTick(_callback);
|
|
82637
82567
|
} else {
|
|
82638
82568
|
internals.onReadCallback = () => {
|
|
@@ -82640,8 +82570,7 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82640
82570
|
process.nextTick(_callback);
|
|
82641
82571
|
};
|
|
82642
82572
|
}
|
|
82643
|
-
}
|
|
82644
|
-
__name(pushChunk, "pushChunk");
|
|
82573
|
+
}, "pushChunk");
|
|
82645
82574
|
const transformChunk = /* @__PURE__ */ __name((_chunk, _callback) => {
|
|
82646
82575
|
const chunkSize = Buffer.byteLength(_chunk);
|
|
82647
82576
|
let chunkRemainder = null;
|
|
@@ -82687,22 +82616,18 @@ var AxiosTransformStream = class AxiosTransformStream2 extends stream.Transform
|
|
|
82687
82616
|
}
|
|
82688
82617
|
}, "transformNextChunk"));
|
|
82689
82618
|
}
|
|
82690
|
-
setLength(length) {
|
|
82691
|
-
this[kInternals].length = +length;
|
|
82692
|
-
return this;
|
|
82693
|
-
}
|
|
82694
82619
|
};
|
|
82695
82620
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
82696
82621
|
|
|
82697
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82622
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82698
82623
|
import { EventEmitter } from "events";
|
|
82699
82624
|
|
|
82700
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82625
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToStream.js
|
|
82701
82626
|
init_esm_shims();
|
|
82702
|
-
import
|
|
82627
|
+
import util2 from "util";
|
|
82703
82628
|
import { Readable } from "stream";
|
|
82704
82629
|
|
|
82705
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82630
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/readBlob.js
|
|
82706
82631
|
init_esm_shims();
|
|
82707
82632
|
var { asyncIterator } = Symbol;
|
|
82708
82633
|
var readBlob = /* @__PURE__ */ __name(async function* (blob) {
|
|
@@ -82718,9 +82643,9 @@ var readBlob = /* @__PURE__ */ __name(async function* (blob) {
|
|
|
82718
82643
|
}, "readBlob");
|
|
82719
82644
|
var readBlob_default = readBlob;
|
|
82720
82645
|
|
|
82721
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82722
|
-
var BOUNDARY_ALPHABET =
|
|
82723
|
-
var textEncoder = new
|
|
82646
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToStream.js
|
|
82647
|
+
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
82648
|
+
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new util2.TextEncoder();
|
|
82724
82649
|
var CRLF = "\r\n";
|
|
82725
82650
|
var CRLF_BYTES = textEncoder.encode(CRLF);
|
|
82726
82651
|
var CRLF_BYTES_COUNT = 2;
|
|
@@ -82762,7 +82687,7 @@ var FormDataPart = class FormDataPart2 {
|
|
|
82762
82687
|
}
|
|
82763
82688
|
};
|
|
82764
82689
|
var formDataToStream = /* @__PURE__ */ __name((form, headersHandler, options) => {
|
|
82765
|
-
const { tag = "form-data-boundary", size: size2 = 25, boundary = tag + "-" +
|
|
82690
|
+
const { tag = "form-data-boundary", size: size2 = 25, boundary = tag + "-" + platform_default.generateString(size2, BOUNDARY_ALPHABET) } = options || {};
|
|
82766
82691
|
if (!utils_default.isFormData(form)) {
|
|
82767
82692
|
throw TypeError("FormData instance required");
|
|
82768
82693
|
}
|
|
@@ -82796,7 +82721,7 @@ var formDataToStream = /* @__PURE__ */ __name((form, headersHandler, options) =>
|
|
|
82796
82721
|
}, "formDataToStream");
|
|
82797
82722
|
var formDataToStream_default = formDataToStream;
|
|
82798
82723
|
|
|
82799
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82724
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
82800
82725
|
init_esm_shims();
|
|
82801
82726
|
import stream2 from "stream";
|
|
82802
82727
|
var ZlibHeaderTransformStream = class ZlibHeaderTransformStream2 extends stream2.Transform {
|
|
@@ -82822,7 +82747,7 @@ var ZlibHeaderTransformStream = class ZlibHeaderTransformStream2 extends stream2
|
|
|
82822
82747
|
};
|
|
82823
82748
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
82824
82749
|
|
|
82825
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82750
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/callbackify.js
|
|
82826
82751
|
init_esm_shims();
|
|
82827
82752
|
var callbackify = /* @__PURE__ */ __name((fn, reducer) => {
|
|
82828
82753
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
@@ -82838,7 +82763,126 @@ var callbackify = /* @__PURE__ */ __name((fn, reducer) => {
|
|
|
82838
82763
|
}, "callbackify");
|
|
82839
82764
|
var callbackify_default = callbackify;
|
|
82840
82765
|
|
|
82841
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82766
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
82767
|
+
init_esm_shims();
|
|
82768
|
+
|
|
82769
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/speedometer.js
|
|
82770
|
+
init_esm_shims();
|
|
82771
|
+
function speedometer(samplesCount, min2) {
|
|
82772
|
+
samplesCount = samplesCount || 10;
|
|
82773
|
+
const bytes = new Array(samplesCount);
|
|
82774
|
+
const timestamps = new Array(samplesCount);
|
|
82775
|
+
let head = 0;
|
|
82776
|
+
let tail = 0;
|
|
82777
|
+
let firstSampleTS;
|
|
82778
|
+
min2 = min2 !== void 0 ? min2 : 1e3;
|
|
82779
|
+
return /* @__PURE__ */ __name(function push2(chunkLength) {
|
|
82780
|
+
const now = Date.now();
|
|
82781
|
+
const startedAt = timestamps[tail];
|
|
82782
|
+
if (!firstSampleTS) {
|
|
82783
|
+
firstSampleTS = now;
|
|
82784
|
+
}
|
|
82785
|
+
bytes[head] = chunkLength;
|
|
82786
|
+
timestamps[head] = now;
|
|
82787
|
+
let i = tail;
|
|
82788
|
+
let bytesCount = 0;
|
|
82789
|
+
while (i !== head) {
|
|
82790
|
+
bytesCount += bytes[i++];
|
|
82791
|
+
i = i % samplesCount;
|
|
82792
|
+
}
|
|
82793
|
+
head = (head + 1) % samplesCount;
|
|
82794
|
+
if (head === tail) {
|
|
82795
|
+
tail = (tail + 1) % samplesCount;
|
|
82796
|
+
}
|
|
82797
|
+
if (now - firstSampleTS < min2) {
|
|
82798
|
+
return;
|
|
82799
|
+
}
|
|
82800
|
+
const passed = startedAt && now - startedAt;
|
|
82801
|
+
return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
|
|
82802
|
+
}, "push");
|
|
82803
|
+
}
|
|
82804
|
+
__name(speedometer, "speedometer");
|
|
82805
|
+
var speedometer_default = speedometer;
|
|
82806
|
+
|
|
82807
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/throttle.js
|
|
82808
|
+
init_esm_shims();
|
|
82809
|
+
function throttle2(fn, freq) {
|
|
82810
|
+
let timestamp = 0;
|
|
82811
|
+
let threshold = 1e3 / freq;
|
|
82812
|
+
let lastArgs;
|
|
82813
|
+
let timer;
|
|
82814
|
+
const invoke = /* @__PURE__ */ __name((args, now = Date.now()) => {
|
|
82815
|
+
timestamp = now;
|
|
82816
|
+
lastArgs = null;
|
|
82817
|
+
if (timer) {
|
|
82818
|
+
clearTimeout(timer);
|
|
82819
|
+
timer = null;
|
|
82820
|
+
}
|
|
82821
|
+
fn.apply(null, args);
|
|
82822
|
+
}, "invoke");
|
|
82823
|
+
const throttled = /* @__PURE__ */ __name((...args) => {
|
|
82824
|
+
const now = Date.now();
|
|
82825
|
+
const passed = now - timestamp;
|
|
82826
|
+
if (passed >= threshold) {
|
|
82827
|
+
invoke(args, now);
|
|
82828
|
+
} else {
|
|
82829
|
+
lastArgs = args;
|
|
82830
|
+
if (!timer) {
|
|
82831
|
+
timer = setTimeout(() => {
|
|
82832
|
+
timer = null;
|
|
82833
|
+
invoke(lastArgs);
|
|
82834
|
+
}, threshold - passed);
|
|
82835
|
+
}
|
|
82836
|
+
}
|
|
82837
|
+
}, "throttled");
|
|
82838
|
+
const flush = /* @__PURE__ */ __name(() => lastArgs && invoke(lastArgs), "flush");
|
|
82839
|
+
return [
|
|
82840
|
+
throttled,
|
|
82841
|
+
flush
|
|
82842
|
+
];
|
|
82843
|
+
}
|
|
82844
|
+
__name(throttle2, "throttle");
|
|
82845
|
+
var throttle_default = throttle2;
|
|
82846
|
+
|
|
82847
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
82848
|
+
var progressEventReducer = /* @__PURE__ */ __name((listener, isDownloadStream, freq = 3) => {
|
|
82849
|
+
let bytesNotified = 0;
|
|
82850
|
+
const _speedometer = speedometer_default(50, 250);
|
|
82851
|
+
return throttle_default((e) => {
|
|
82852
|
+
const loaded = e.loaded;
|
|
82853
|
+
const total = e.lengthComputable ? e.total : void 0;
|
|
82854
|
+
const progressBytes = loaded - bytesNotified;
|
|
82855
|
+
const rate = _speedometer(progressBytes);
|
|
82856
|
+
const inRange = loaded <= total;
|
|
82857
|
+
bytesNotified = loaded;
|
|
82858
|
+
const data = {
|
|
82859
|
+
loaded,
|
|
82860
|
+
total,
|
|
82861
|
+
progress: total ? loaded / total : void 0,
|
|
82862
|
+
bytes: progressBytes,
|
|
82863
|
+
rate: rate ? rate : void 0,
|
|
82864
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
82865
|
+
event: e,
|
|
82866
|
+
lengthComputable: total != null,
|
|
82867
|
+
[isDownloadStream ? "download" : "upload"]: true
|
|
82868
|
+
};
|
|
82869
|
+
listener(data);
|
|
82870
|
+
}, freq);
|
|
82871
|
+
}, "progressEventReducer");
|
|
82872
|
+
var progressEventDecorator = /* @__PURE__ */ __name((total, throttled) => {
|
|
82873
|
+
const lengthComputable = total != null;
|
|
82874
|
+
return [
|
|
82875
|
+
(loaded) => throttled[0]({
|
|
82876
|
+
lengthComputable,
|
|
82877
|
+
total,
|
|
82878
|
+
loaded
|
|
82879
|
+
}),
|
|
82880
|
+
throttled[1]
|
|
82881
|
+
];
|
|
82882
|
+
}, "progressEventDecorator");
|
|
82883
|
+
var asyncDecorator = /* @__PURE__ */ __name((fn) => (...args) => utils_default.asap(() => fn(...args)), "asyncDecorator");
|
|
82884
|
+
|
|
82885
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82842
82886
|
var zlibOptions = {
|
|
82843
82887
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
82844
82888
|
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
@@ -82853,6 +82897,10 @@ var isHttps = /https:?/;
|
|
|
82853
82897
|
var supportedProtocols = platform_default.protocols.map((protocol) => {
|
|
82854
82898
|
return protocol + ":";
|
|
82855
82899
|
});
|
|
82900
|
+
var flushOnFinish = /* @__PURE__ */ __name((stream4, [throttled, flush]) => {
|
|
82901
|
+
stream4.on("end", flush).on("error", flush);
|
|
82902
|
+
return throttled;
|
|
82903
|
+
}, "flushOnFinish");
|
|
82856
82904
|
function dispatchBeforeRedirect(options, responseDetails) {
|
|
82857
82905
|
if (options.beforeRedirects.proxy) {
|
|
82858
82906
|
options.beforeRedirects.proxy(options);
|
|
@@ -82865,7 +82913,7 @@ __name(dispatchBeforeRedirect, "dispatchBeforeRedirect");
|
|
|
82865
82913
|
function setProxy(options, configProxy, location) {
|
|
82866
82914
|
let proxy = configProxy;
|
|
82867
82915
|
if (!proxy && proxy !== false) {
|
|
82868
|
-
const proxyUrl =
|
|
82916
|
+
const proxyUrl = import_proxy_from_env.default.getProxyForUrl(location);
|
|
82869
82917
|
if (proxyUrl) {
|
|
82870
82918
|
proxy = new URL(proxyUrl);
|
|
82871
82919
|
}
|
|
@@ -82982,8 +83030,8 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
82982
83030
|
config.signal.aborted ? abort() : config.signal.addEventListener("abort", abort);
|
|
82983
83031
|
}
|
|
82984
83032
|
}
|
|
82985
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
82986
|
-
const parsed = new URL(fullPath,
|
|
83033
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
83034
|
+
const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
|
|
82987
83035
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
82988
83036
|
if (protocol === "data:") {
|
|
82989
83037
|
let convertedData;
|
|
@@ -83023,8 +83071,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83023
83071
|
}
|
|
83024
83072
|
const headers = AxiosHeaders_default.from(config.headers).normalize();
|
|
83025
83073
|
headers.set("User-Agent", "axios/" + VERSION2, false);
|
|
83026
|
-
const onDownloadProgress = config
|
|
83027
|
-
const onUploadProgress = config.onUploadProgress;
|
|
83074
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
83028
83075
|
const maxRate = config.maxRate;
|
|
83029
83076
|
let maxUploadRate = void 0;
|
|
83030
83077
|
let maxDownloadRate = void 0;
|
|
@@ -83040,12 +83087,12 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83040
83087
|
headers.set(data.getHeaders());
|
|
83041
83088
|
if (!headers.hasContentLength()) {
|
|
83042
83089
|
try {
|
|
83043
|
-
const knownLength = await
|
|
83090
|
+
const knownLength = await util3.promisify(data.getLength).call(data);
|
|
83044
83091
|
Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
|
|
83045
83092
|
} catch (e) {
|
|
83046
83093
|
}
|
|
83047
83094
|
}
|
|
83048
|
-
} else if (utils_default.isBlob(data)) {
|
|
83095
|
+
} else if (utils_default.isBlob(data) || utils_default.isFile(data)) {
|
|
83049
83096
|
data.size && headers.setContentType(data.type || "application/octet-stream");
|
|
83050
83097
|
headers.setContentLength(data.size || 0);
|
|
83051
83098
|
data = stream3.Readable.from(readBlob_default(data));
|
|
@@ -83079,15 +83126,10 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83079
83126
|
data = stream3.pipeline([
|
|
83080
83127
|
data,
|
|
83081
83128
|
new AxiosTransformStream_default({
|
|
83082
|
-
length: contentLength,
|
|
83083
83129
|
maxRate: utils_default.toFiniteNumber(maxUploadRate)
|
|
83084
83130
|
})
|
|
83085
83131
|
], utils_default.noop);
|
|
83086
|
-
onUploadProgress && data.on("progress", (
|
|
83087
|
-
onUploadProgress(Object.assign(progress, {
|
|
83088
|
-
upload: true
|
|
83089
|
-
}));
|
|
83090
|
-
});
|
|
83132
|
+
onUploadProgress && data.on("progress", flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3))));
|
|
83091
83133
|
}
|
|
83092
83134
|
let auth = void 0;
|
|
83093
83135
|
if (config.auth) {
|
|
@@ -83130,7 +83172,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83130
83172
|
if (config.socketPath) {
|
|
83131
83173
|
options.socketPath = config.socketPath;
|
|
83132
83174
|
} else {
|
|
83133
|
-
options.hostname = parsed.hostname;
|
|
83175
|
+
options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
|
|
83134
83176
|
options.port = parsed.port;
|
|
83135
83177
|
setProxy(options, config.proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path);
|
|
83136
83178
|
}
|
|
@@ -83164,16 +83206,11 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83164
83206
|
res
|
|
83165
83207
|
];
|
|
83166
83208
|
const responseLength = +res.headers["content-length"];
|
|
83167
|
-
if (onDownloadProgress) {
|
|
83209
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
83168
83210
|
const transformStream = new AxiosTransformStream_default({
|
|
83169
|
-
length: utils_default.toFiniteNumber(responseLength),
|
|
83170
83211
|
maxRate: utils_default.toFiniteNumber(maxDownloadRate)
|
|
83171
83212
|
});
|
|
83172
|
-
onDownloadProgress && transformStream.on("progress", (
|
|
83173
|
-
onDownloadProgress(Object.assign(progress, {
|
|
83174
|
-
download: true
|
|
83175
|
-
}));
|
|
83176
|
-
});
|
|
83213
|
+
onDownloadProgress && transformStream.on("progress", flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3))));
|
|
83177
83214
|
streams.push(transformStream);
|
|
83178
83215
|
}
|
|
83179
83216
|
let responseStream = res;
|
|
@@ -83234,7 +83271,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83234
83271
|
if (rejected) {
|
|
83235
83272
|
return;
|
|
83236
83273
|
}
|
|
83237
|
-
const err = new AxiosError_default("
|
|
83274
|
+
const err = new AxiosError_default("stream has been aborted", AxiosError_default.ERR_BAD_RESPONSE, config, lastRequest);
|
|
83238
83275
|
responseStream.destroy(err);
|
|
83239
83276
|
reject2(err);
|
|
83240
83277
|
}, "handlerStreamAborted"));
|
|
@@ -83314,83 +83351,20 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ __name(function htt
|
|
|
83314
83351
|
}, "dispatchHttpRequest"));
|
|
83315
83352
|
}, "httpAdapter");
|
|
83316
83353
|
|
|
83317
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83354
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/xhr.js
|
|
83318
83355
|
init_esm_shims();
|
|
83319
83356
|
|
|
83320
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83321
|
-
init_esm_shims();
|
|
83322
|
-
var progressEventReducer_default = /* @__PURE__ */ __name((listener, isDownloadStream, freq = 3) => {
|
|
83323
|
-
let bytesNotified = 0;
|
|
83324
|
-
const _speedometer = speedometer_default(50, 250);
|
|
83325
|
-
return throttle_default((e) => {
|
|
83326
|
-
const loaded = e.loaded;
|
|
83327
|
-
const total = e.lengthComputable ? e.total : void 0;
|
|
83328
|
-
const progressBytes = loaded - bytesNotified;
|
|
83329
|
-
const rate = _speedometer(progressBytes);
|
|
83330
|
-
const inRange = loaded <= total;
|
|
83331
|
-
bytesNotified = loaded;
|
|
83332
|
-
const data = {
|
|
83333
|
-
loaded,
|
|
83334
|
-
total,
|
|
83335
|
-
progress: total ? loaded / total : void 0,
|
|
83336
|
-
bytes: progressBytes,
|
|
83337
|
-
rate: rate ? rate : void 0,
|
|
83338
|
-
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
83339
|
-
event: e,
|
|
83340
|
-
lengthComputable: total != null
|
|
83341
|
-
};
|
|
83342
|
-
data[isDownloadStream ? "download" : "upload"] = true;
|
|
83343
|
-
listener(data);
|
|
83344
|
-
}, freq);
|
|
83345
|
-
}, "default");
|
|
83346
|
-
|
|
83347
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
83357
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
83348
83358
|
init_esm_shims();
|
|
83349
83359
|
|
|
83350
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83360
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
83351
83361
|
init_esm_shims();
|
|
83352
|
-
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? (
|
|
83353
|
-
|
|
83354
|
-
|
|
83355
|
-
|
|
83356
|
-
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
83357
|
-
const urlParsingNode = document.createElement("a");
|
|
83358
|
-
let originURL;
|
|
83359
|
-
function resolveURL(url2) {
|
|
83360
|
-
let href = url2;
|
|
83361
|
-
if (msie) {
|
|
83362
|
-
urlParsingNode.setAttribute("href", href);
|
|
83363
|
-
href = urlParsingNode.href;
|
|
83364
|
-
}
|
|
83365
|
-
urlParsingNode.setAttribute("href", href);
|
|
83366
|
-
return {
|
|
83367
|
-
href: urlParsingNode.href,
|
|
83368
|
-
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
|
|
83369
|
-
host: urlParsingNode.host,
|
|
83370
|
-
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
|
|
83371
|
-
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
|
|
83372
|
-
hostname: urlParsingNode.hostname,
|
|
83373
|
-
port: urlParsingNode.port,
|
|
83374
|
-
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
|
|
83375
|
-
};
|
|
83376
|
-
}
|
|
83377
|
-
__name(resolveURL, "resolveURL");
|
|
83378
|
-
originURL = resolveURL(window.location.href);
|
|
83379
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin(requestURL) {
|
|
83380
|
-
const parsed = utils_default.isString(requestURL) ? resolveURL(requestURL) : requestURL;
|
|
83381
|
-
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
|
|
83382
|
-
}, "isURLSameOrigin");
|
|
83383
|
-
}, "standardBrowserEnv"))()
|
|
83384
|
-
) : (
|
|
83385
|
-
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
83386
|
-
(/* @__PURE__ */ __name(function nonStandardBrowserEnv() {
|
|
83387
|
-
return /* @__PURE__ */ __name(function isURLSameOrigin() {
|
|
83388
|
-
return true;
|
|
83389
|
-
}, "isURLSameOrigin");
|
|
83390
|
-
}, "nonStandardBrowserEnv"))()
|
|
83391
|
-
);
|
|
83362
|
+
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
|
|
83363
|
+
url2 = new URL(url2, platform_default.origin);
|
|
83364
|
+
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
83365
|
+
})(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
|
|
83392
83366
|
|
|
83393
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83367
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/cookies.js
|
|
83394
83368
|
init_esm_shims();
|
|
83395
83369
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
83396
83370
|
// Standard browser envs support document.cookie
|
|
@@ -83426,7 +83400,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
83426
83400
|
}
|
|
83427
83401
|
);
|
|
83428
83402
|
|
|
83429
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83403
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/mergeConfig.js
|
|
83430
83404
|
init_esm_shims();
|
|
83431
83405
|
var headersToObject = /* @__PURE__ */ __name((thing) => thing instanceof AxiosHeaders_default ? {
|
|
83432
83406
|
...thing
|
|
@@ -83434,7 +83408,7 @@ var headersToObject = /* @__PURE__ */ __name((thing) => thing instanceof AxiosHe
|
|
|
83434
83408
|
function mergeConfig(config1, config2) {
|
|
83435
83409
|
config2 = config2 || {};
|
|
83436
83410
|
const config = {};
|
|
83437
|
-
function getMergedValue(target, source, caseless) {
|
|
83411
|
+
function getMergedValue(target, source, prop, caseless) {
|
|
83438
83412
|
if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
|
|
83439
83413
|
return utils_default.merge.call({
|
|
83440
83414
|
caseless
|
|
@@ -83447,11 +83421,11 @@ function mergeConfig(config1, config2) {
|
|
|
83447
83421
|
return source;
|
|
83448
83422
|
}
|
|
83449
83423
|
__name(getMergedValue, "getMergedValue");
|
|
83450
|
-
function mergeDeepProperties(a, b, caseless) {
|
|
83424
|
+
function mergeDeepProperties(a, b, prop, caseless) {
|
|
83451
83425
|
if (!utils_default.isUndefined(b)) {
|
|
83452
|
-
return getMergedValue(a, b, caseless);
|
|
83426
|
+
return getMergedValue(a, b, prop, caseless);
|
|
83453
83427
|
} else if (!utils_default.isUndefined(a)) {
|
|
83454
|
-
return getMergedValue(void 0, a, caseless);
|
|
83428
|
+
return getMergedValue(void 0, a, prop, caseless);
|
|
83455
83429
|
}
|
|
83456
83430
|
}
|
|
83457
83431
|
__name(mergeDeepProperties, "mergeDeepProperties");
|
|
@@ -83506,7 +83480,7 @@ function mergeConfig(config1, config2) {
|
|
|
83506
83480
|
socketPath: defaultToConfig2,
|
|
83507
83481
|
responseEncoding: defaultToConfig2,
|
|
83508
83482
|
validateStatus: mergeDirectKeys,
|
|
83509
|
-
headers: /* @__PURE__ */ __name((a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true), "headers")
|
|
83483
|
+
headers: /* @__PURE__ */ __name((a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), "headers")
|
|
83510
83484
|
};
|
|
83511
83485
|
utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), /* @__PURE__ */ __name(function computeConfigValue(prop) {
|
|
83512
83486
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
@@ -83517,7 +83491,7 @@ function mergeConfig(config1, config2) {
|
|
|
83517
83491
|
}
|
|
83518
83492
|
__name(mergeConfig, "mergeConfig");
|
|
83519
83493
|
|
|
83520
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83494
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
83521
83495
|
var resolveConfig_default = /* @__PURE__ */ __name((config) => {
|
|
83522
83496
|
const newConfig = mergeConfig({}, config);
|
|
83523
83497
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -83550,22 +83524,22 @@ var resolveConfig_default = /* @__PURE__ */ __name((config) => {
|
|
|
83550
83524
|
return newConfig;
|
|
83551
83525
|
}, "default");
|
|
83552
83526
|
|
|
83553
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83527
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/xhr.js
|
|
83554
83528
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
83555
83529
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
83556
83530
|
return new Promise(/* @__PURE__ */ __name(function dispatchXhrRequest(resolve, reject2) {
|
|
83557
83531
|
const _config2 = resolveConfig_default(config);
|
|
83558
83532
|
let requestData = _config2.data;
|
|
83559
83533
|
const requestHeaders = AxiosHeaders_default.from(_config2.headers).normalize();
|
|
83560
|
-
let { responseType } = _config2;
|
|
83534
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config2;
|
|
83561
83535
|
let onCanceled;
|
|
83536
|
+
let uploadThrottled, downloadThrottled;
|
|
83537
|
+
let flushUpload, flushDownload;
|
|
83562
83538
|
function done() {
|
|
83563
|
-
|
|
83564
|
-
|
|
83565
|
-
|
|
83566
|
-
|
|
83567
|
-
_config2.signal.removeEventListener("abort", onCanceled);
|
|
83568
|
-
}
|
|
83539
|
+
flushUpload && flushUpload();
|
|
83540
|
+
flushDownload && flushDownload();
|
|
83541
|
+
_config2.cancelToken && _config2.cancelToken.unsubscribe(onCanceled);
|
|
83542
|
+
_config2.signal && _config2.signal.removeEventListener("abort", onCanceled);
|
|
83569
83543
|
}
|
|
83570
83544
|
__name(done, "done");
|
|
83571
83545
|
let request = new XMLHttpRequest();
|
|
@@ -83612,11 +83586,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83612
83586
|
if (!request) {
|
|
83613
83587
|
return;
|
|
83614
83588
|
}
|
|
83615
|
-
reject2(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED,
|
|
83589
|
+
reject2(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
|
|
83616
83590
|
request = null;
|
|
83617
83591
|
}, "handleAbort");
|
|
83618
83592
|
request.onerror = /* @__PURE__ */ __name(function handleError() {
|
|
83619
|
-
reject2(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK,
|
|
83593
|
+
reject2(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
|
|
83620
83594
|
request = null;
|
|
83621
83595
|
}, "handleError");
|
|
83622
83596
|
request.ontimeout = /* @__PURE__ */ __name(function handleTimeout() {
|
|
@@ -83625,7 +83599,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83625
83599
|
if (_config2.timeoutErrorMessage) {
|
|
83626
83600
|
timeoutErrorMessage = _config2.timeoutErrorMessage;
|
|
83627
83601
|
}
|
|
83628
|
-
reject2(new AxiosError_default(timeoutErrorMessage, transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED,
|
|
83602
|
+
reject2(new AxiosError_default(timeoutErrorMessage, transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED, config, request));
|
|
83629
83603
|
request = null;
|
|
83630
83604
|
}, "handleTimeout");
|
|
83631
83605
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
@@ -83640,11 +83614,14 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83640
83614
|
if (responseType && responseType !== "json") {
|
|
83641
83615
|
request.responseType = _config2.responseType;
|
|
83642
83616
|
}
|
|
83643
|
-
if (
|
|
83644
|
-
|
|
83617
|
+
if (onDownloadProgress) {
|
|
83618
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
83619
|
+
request.addEventListener("progress", downloadThrottled);
|
|
83645
83620
|
}
|
|
83646
|
-
if (
|
|
83647
|
-
|
|
83621
|
+
if (onUploadProgress && request.upload) {
|
|
83622
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
83623
|
+
request.upload.addEventListener("progress", uploadThrottled);
|
|
83624
|
+
request.upload.addEventListener("loadend", flushUpload);
|
|
83648
83625
|
}
|
|
83649
83626
|
if (_config2.cancelToken || _config2.signal) {
|
|
83650
83627
|
onCanceled = /* @__PURE__ */ __name((cancel) => {
|
|
@@ -83669,49 +83646,47 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83669
83646
|
}, "dispatchXhrRequest"));
|
|
83670
83647
|
};
|
|
83671
83648
|
|
|
83672
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83649
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/fetch.js
|
|
83673
83650
|
init_esm_shims();
|
|
83674
83651
|
|
|
83675
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83652
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/composeSignals.js
|
|
83676
83653
|
init_esm_shims();
|
|
83677
83654
|
var composeSignals = /* @__PURE__ */ __name((signals2, timeout) => {
|
|
83678
|
-
|
|
83679
|
-
|
|
83680
|
-
|
|
83681
|
-
|
|
83682
|
-
|
|
83683
|
-
|
|
83684
|
-
|
|
83685
|
-
|
|
83686
|
-
|
|
83687
|
-
|
|
83688
|
-
|
|
83689
|
-
|
|
83690
|
-
|
|
83691
|
-
const unsubscribe = /* @__PURE__ */ __name(() => {
|
|
83692
|
-
if (signals2) {
|
|
83693
|
-
timer && clearTimeout(timer);
|
|
83655
|
+
const { length } = signals2 = signals2 ? signals2.filter(Boolean) : [];
|
|
83656
|
+
if (timeout || length) {
|
|
83657
|
+
let controller = new AbortController();
|
|
83658
|
+
let aborted;
|
|
83659
|
+
const onabort = /* @__PURE__ */ __name(function(reason) {
|
|
83660
|
+
if (!aborted) {
|
|
83661
|
+
aborted = true;
|
|
83662
|
+
unsubscribe();
|
|
83663
|
+
const err = reason instanceof Error ? reason : this.reason;
|
|
83664
|
+
controller.abort(err instanceof AxiosError_default ? err : new CanceledError_default(err instanceof Error ? err.message : err));
|
|
83665
|
+
}
|
|
83666
|
+
}, "onabort");
|
|
83667
|
+
let timer = timeout && setTimeout(() => {
|
|
83694
83668
|
timer = null;
|
|
83695
|
-
|
|
83696
|
-
|
|
83697
|
-
|
|
83698
|
-
signals2
|
|
83699
|
-
|
|
83700
|
-
|
|
83701
|
-
|
|
83702
|
-
|
|
83703
|
-
|
|
83704
|
-
|
|
83705
|
-
|
|
83706
|
-
|
|
83707
|
-
|
|
83708
|
-
|
|
83709
|
-
|
|
83710
|
-
|
|
83669
|
+
onabort(new AxiosError_default(`timeout ${timeout} of ms exceeded`, AxiosError_default.ETIMEDOUT));
|
|
83670
|
+
}, timeout);
|
|
83671
|
+
const unsubscribe = /* @__PURE__ */ __name(() => {
|
|
83672
|
+
if (signals2) {
|
|
83673
|
+
timer && clearTimeout(timer);
|
|
83674
|
+
timer = null;
|
|
83675
|
+
signals2.forEach((signal2) => {
|
|
83676
|
+
signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
|
|
83677
|
+
});
|
|
83678
|
+
signals2 = null;
|
|
83679
|
+
}
|
|
83680
|
+
}, "unsubscribe");
|
|
83681
|
+
signals2.forEach((signal2) => signal2.addEventListener("abort", onabort));
|
|
83682
|
+
const { signal } = controller;
|
|
83683
|
+
signal.unsubscribe = () => utils_default.asap(unsubscribe);
|
|
83684
|
+
return signal;
|
|
83685
|
+
}
|
|
83711
83686
|
}, "composeSignals");
|
|
83712
83687
|
var composeSignals_default = composeSignals;
|
|
83713
83688
|
|
|
83714
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83689
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/trackStream.js
|
|
83715
83690
|
init_esm_shims();
|
|
83716
83691
|
var streamChunk = /* @__PURE__ */ __name(function* (chunk2, chunkSize) {
|
|
83717
83692
|
let len = chunk2.byteLength;
|
|
@@ -83727,29 +83702,61 @@ var streamChunk = /* @__PURE__ */ __name(function* (chunk2, chunkSize) {
|
|
|
83727
83702
|
pos = end2;
|
|
83728
83703
|
}
|
|
83729
83704
|
}, "streamChunk");
|
|
83730
|
-
var readBytes = /* @__PURE__ */ __name(async function* (iterable, chunkSize
|
|
83731
|
-
for await (const chunk2 of iterable) {
|
|
83732
|
-
yield* streamChunk(
|
|
83705
|
+
var readBytes = /* @__PURE__ */ __name(async function* (iterable, chunkSize) {
|
|
83706
|
+
for await (const chunk2 of readStream(iterable)) {
|
|
83707
|
+
yield* streamChunk(chunk2, chunkSize);
|
|
83733
83708
|
}
|
|
83734
83709
|
}, "readBytes");
|
|
83735
|
-
var
|
|
83736
|
-
|
|
83710
|
+
var readStream = /* @__PURE__ */ __name(async function* (stream4) {
|
|
83711
|
+
if (stream4[Symbol.asyncIterator]) {
|
|
83712
|
+
yield* stream4;
|
|
83713
|
+
return;
|
|
83714
|
+
}
|
|
83715
|
+
const reader = stream4.getReader();
|
|
83716
|
+
try {
|
|
83717
|
+
for (; ; ) {
|
|
83718
|
+
const { done, value } = await reader.read();
|
|
83719
|
+
if (done) {
|
|
83720
|
+
break;
|
|
83721
|
+
}
|
|
83722
|
+
yield value;
|
|
83723
|
+
}
|
|
83724
|
+
} finally {
|
|
83725
|
+
await reader.cancel();
|
|
83726
|
+
}
|
|
83727
|
+
}, "readStream");
|
|
83728
|
+
var trackStream = /* @__PURE__ */ __name((stream4, chunkSize, onProgress, onFinish) => {
|
|
83729
|
+
const iterator = readBytes(stream4, chunkSize);
|
|
83737
83730
|
let bytes = 0;
|
|
83731
|
+
let done;
|
|
83732
|
+
let _onFinish = /* @__PURE__ */ __name((e) => {
|
|
83733
|
+
if (!done) {
|
|
83734
|
+
done = true;
|
|
83735
|
+
onFinish && onFinish(e);
|
|
83736
|
+
}
|
|
83737
|
+
}, "_onFinish");
|
|
83738
83738
|
return new ReadableStream({
|
|
83739
|
-
type: "bytes",
|
|
83740
83739
|
async pull(controller) {
|
|
83741
|
-
|
|
83742
|
-
|
|
83743
|
-
|
|
83744
|
-
|
|
83745
|
-
|
|
83740
|
+
try {
|
|
83741
|
+
const { done: done2, value } = await iterator.next();
|
|
83742
|
+
if (done2) {
|
|
83743
|
+
_onFinish();
|
|
83744
|
+
controller.close();
|
|
83745
|
+
return;
|
|
83746
|
+
}
|
|
83747
|
+
let len = value.byteLength;
|
|
83748
|
+
if (onProgress) {
|
|
83749
|
+
let loadedBytes = bytes += len;
|
|
83750
|
+
onProgress(loadedBytes);
|
|
83751
|
+
}
|
|
83752
|
+
controller.enqueue(new Uint8Array(value));
|
|
83753
|
+
} catch (err) {
|
|
83754
|
+
_onFinish(err);
|
|
83755
|
+
throw err;
|
|
83746
83756
|
}
|
|
83747
|
-
let len = value.byteLength;
|
|
83748
|
-
onProgress && onProgress(bytes += len);
|
|
83749
|
-
controller.enqueue(new Uint8Array(value));
|
|
83750
83757
|
},
|
|
83751
83758
|
cancel(reason) {
|
|
83752
|
-
|
|
83759
|
+
_onFinish(reason);
|
|
83753
83760
|
return iterator.return();
|
|
83754
83761
|
}
|
|
83755
83762
|
}, {
|
|
@@ -83757,19 +83764,18 @@ var trackStream = /* @__PURE__ */ __name((stream4, chunkSize, onProgress, onFini
|
|
|
83757
83764
|
});
|
|
83758
83765
|
}, "trackStream");
|
|
83759
83766
|
|
|
83760
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83761
|
-
var fetchProgressDecorator = /* @__PURE__ */ __name((total, fn) => {
|
|
83762
|
-
const lengthComputable = total != null;
|
|
83763
|
-
return (loaded) => setTimeout(() => fn({
|
|
83764
|
-
lengthComputable,
|
|
83765
|
-
total,
|
|
83766
|
-
loaded
|
|
83767
|
-
}));
|
|
83768
|
-
}, "fetchProgressDecorator");
|
|
83767
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/fetch.js
|
|
83769
83768
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
83770
83769
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
83771
83770
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder2) => (str) => encoder2.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
83772
|
-
var
|
|
83771
|
+
var test = /* @__PURE__ */ __name((fn, ...args) => {
|
|
83772
|
+
try {
|
|
83773
|
+
return !!fn(...args);
|
|
83774
|
+
} catch (e) {
|
|
83775
|
+
return false;
|
|
83776
|
+
}
|
|
83777
|
+
}, "test");
|
|
83778
|
+
var supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
83773
83779
|
let duplexAccessed = false;
|
|
83774
83780
|
const hasContentType = new Request(platform_default.origin, {
|
|
83775
83781
|
body: new ReadableStream(),
|
|
@@ -83780,14 +83786,9 @@ var supportsRequestStream = isReadableStreamSupported && (() => {
|
|
|
83780
83786
|
}
|
|
83781
83787
|
}).headers.has("Content-Type");
|
|
83782
83788
|
return duplexAccessed && !hasContentType;
|
|
83783
|
-
})
|
|
83789
|
+
});
|
|
83784
83790
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
83785
|
-
var supportsResponseStream = isReadableStreamSupported &&
|
|
83786
|
-
try {
|
|
83787
|
-
return utils_default.isReadableStream(new Response("").body);
|
|
83788
|
-
} catch (err) {
|
|
83789
|
-
}
|
|
83790
|
-
})();
|
|
83791
|
+
var supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
|
|
83791
83792
|
var resolvers = {
|
|
83792
83793
|
stream: supportsResponseStream && ((res) => res.body)
|
|
83793
83794
|
};
|
|
@@ -83812,9 +83813,13 @@ var getBodyLength = /* @__PURE__ */ __name(async (body) => {
|
|
|
83812
83813
|
return body.size;
|
|
83813
83814
|
}
|
|
83814
83815
|
if (utils_default.isSpecCompliantForm(body)) {
|
|
83815
|
-
|
|
83816
|
+
const _request = new Request(platform_default.origin, {
|
|
83817
|
+
method: "POST",
|
|
83818
|
+
body
|
|
83819
|
+
});
|
|
83820
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
83816
83821
|
}
|
|
83817
|
-
if (utils_default.isArrayBufferView(body)) {
|
|
83822
|
+
if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
|
|
83818
83823
|
return body.byteLength;
|
|
83819
83824
|
}
|
|
83820
83825
|
if (utils_default.isURLSearchParams(body)) {
|
|
@@ -83831,17 +83836,14 @@ var resolveBodyLength = /* @__PURE__ */ __name(async (headers, body) => {
|
|
|
83831
83836
|
var fetch_default = isFetchSupported && (async (config) => {
|
|
83832
83837
|
let { url: url2, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions } = resolveConfig_default(config);
|
|
83833
83838
|
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
83834
|
-
let
|
|
83839
|
+
let composedSignal = composeSignals_default([
|
|
83835
83840
|
signal,
|
|
83836
|
-
cancelToken
|
|
83837
|
-
], timeout)
|
|
83838
|
-
let
|
|
83839
|
-
const
|
|
83840
|
-
|
|
83841
|
-
|
|
83842
|
-
});
|
|
83843
|
-
finished = true;
|
|
83844
|
-
}, "onFinish");
|
|
83841
|
+
cancelToken && cancelToken.toAbortSignal()
|
|
83842
|
+
], timeout);
|
|
83843
|
+
let request;
|
|
83844
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
83845
|
+
composedSignal.unsubscribe();
|
|
83846
|
+
});
|
|
83845
83847
|
let requestContentLength;
|
|
83846
83848
|
try {
|
|
83847
83849
|
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
@@ -83855,12 +83857,14 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83855
83857
|
headers.setContentType(contentTypeHeader);
|
|
83856
83858
|
}
|
|
83857
83859
|
if (_request.body) {
|
|
83858
|
-
|
|
83860
|
+
const [onProgress, flush] = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress)));
|
|
83861
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
83859
83862
|
}
|
|
83860
83863
|
}
|
|
83861
83864
|
if (!utils_default.isString(withCredentials)) {
|
|
83862
|
-
withCredentials = withCredentials ? "
|
|
83865
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
83863
83866
|
}
|
|
83867
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
83864
83868
|
request = new Request(url2, {
|
|
83865
83869
|
...fetchOptions,
|
|
83866
83870
|
signal: composedSignal,
|
|
@@ -83868,11 +83872,11 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83868
83872
|
headers: headers.normalize().toJSON(),
|
|
83869
83873
|
body: data,
|
|
83870
83874
|
duplex: "half",
|
|
83871
|
-
withCredentials
|
|
83875
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
83872
83876
|
});
|
|
83873
83877
|
let response = await fetch(request);
|
|
83874
83878
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
83875
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
83879
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
83876
83880
|
const options = {};
|
|
83877
83881
|
[
|
|
83878
83882
|
"status",
|
|
@@ -83882,12 +83886,15 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83882
83886
|
options[prop] = response[prop];
|
|
83883
83887
|
});
|
|
83884
83888
|
const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
|
|
83885
|
-
|
|
83889
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [];
|
|
83890
|
+
response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
83891
|
+
flush && flush();
|
|
83892
|
+
unsubscribe && unsubscribe();
|
|
83893
|
+
}), options);
|
|
83886
83894
|
}
|
|
83887
83895
|
responseType = responseType || "text";
|
|
83888
83896
|
let responseData = await resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
|
|
83889
|
-
!isStreamResponse &&
|
|
83890
|
-
stopTimeout && stopTimeout();
|
|
83897
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
83891
83898
|
return await new Promise((resolve, reject2) => {
|
|
83892
83899
|
settle(resolve, reject2, {
|
|
83893
83900
|
data: responseData,
|
|
@@ -83899,7 +83906,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83899
83906
|
});
|
|
83900
83907
|
});
|
|
83901
83908
|
} catch (err) {
|
|
83902
|
-
|
|
83909
|
+
unsubscribe && unsubscribe();
|
|
83903
83910
|
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
83904
83911
|
throw Object.assign(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request), {
|
|
83905
83912
|
cause: err.cause || err
|
|
@@ -83909,7 +83916,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83909
83916
|
}
|
|
83910
83917
|
});
|
|
83911
83918
|
|
|
83912
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83919
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/adapters.js
|
|
83913
83920
|
var knownAdapters = {
|
|
83914
83921
|
http: http_default,
|
|
83915
83922
|
xhr: xhr_default,
|
|
@@ -83964,7 +83971,7 @@ var adapters_default = {
|
|
|
83964
83971
|
adapters: knownAdapters
|
|
83965
83972
|
};
|
|
83966
83973
|
|
|
83967
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83974
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/dispatchRequest.js
|
|
83968
83975
|
function throwIfCancellationRequested(config) {
|
|
83969
83976
|
if (config.cancelToken) {
|
|
83970
83977
|
config.cancelToken.throwIfRequested();
|
|
@@ -84004,7 +84011,7 @@ function dispatchRequest(config) {
|
|
|
84004
84011
|
}
|
|
84005
84012
|
__name(dispatchRequest, "dispatchRequest");
|
|
84006
84013
|
|
|
84007
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84014
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/validator.js
|
|
84008
84015
|
init_esm_shims();
|
|
84009
84016
|
var validators = {};
|
|
84010
84017
|
[
|
|
@@ -84036,6 +84043,12 @@ validators.transitional = /* @__PURE__ */ __name(function transitional(validator
|
|
|
84036
84043
|
return validator ? validator(value, opt, opts) : true;
|
|
84037
84044
|
};
|
|
84038
84045
|
}, "transitional");
|
|
84046
|
+
validators.spelling = /* @__PURE__ */ __name(function spelling(correctSpelling) {
|
|
84047
|
+
return (value, opt) => {
|
|
84048
|
+
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
84049
|
+
return true;
|
|
84050
|
+
};
|
|
84051
|
+
}, "spelling");
|
|
84039
84052
|
function assertOptions(options, schema, allowUnknown) {
|
|
84040
84053
|
if (typeof options !== "object") {
|
|
84041
84054
|
throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
|
|
@@ -84064,7 +84077,7 @@ var validator_default = {
|
|
|
84064
84077
|
validators
|
|
84065
84078
|
};
|
|
84066
84079
|
|
|
84067
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84080
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/Axios.js
|
|
84068
84081
|
var validators2 = validator_default.validators;
|
|
84069
84082
|
var Axios = class Axios2 {
|
|
84070
84083
|
static {
|
|
@@ -84090,8 +84103,8 @@ var Axios = class Axios2 {
|
|
|
84090
84103
|
return await this._request(configOrUrl, config);
|
|
84091
84104
|
} catch (err) {
|
|
84092
84105
|
if (err instanceof Error) {
|
|
84093
|
-
let dummy;
|
|
84094
|
-
Error.captureStackTrace ? Error.captureStackTrace(dummy
|
|
84106
|
+
let dummy = {};
|
|
84107
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
84095
84108
|
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
|
|
84096
84109
|
try {
|
|
84097
84110
|
if (!err.stack) {
|
|
@@ -84133,6 +84146,16 @@ var Axios = class Axios2 {
|
|
|
84133
84146
|
}, true);
|
|
84134
84147
|
}
|
|
84135
84148
|
}
|
|
84149
|
+
if (config.allowAbsoluteUrls !== void 0) {
|
|
84150
|
+
} else if (this.defaults.allowAbsoluteUrls !== void 0) {
|
|
84151
|
+
config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
|
|
84152
|
+
} else {
|
|
84153
|
+
config.allowAbsoluteUrls = true;
|
|
84154
|
+
}
|
|
84155
|
+
validator_default.assertOptions(config, {
|
|
84156
|
+
baseUrl: validators2.spelling("baseURL"),
|
|
84157
|
+
withXsrfToken: validators2.spelling("withXSRFToken")
|
|
84158
|
+
}, true);
|
|
84136
84159
|
config.method = (config.method || this.defaults.method || "get").toLowerCase();
|
|
84137
84160
|
let contextHeaders = headers && utils_default.merge(headers.common, headers[config.method]);
|
|
84138
84161
|
headers && utils_default.forEach([
|
|
@@ -84204,7 +84227,7 @@ var Axios = class Axios2 {
|
|
|
84204
84227
|
}
|
|
84205
84228
|
getUri(config) {
|
|
84206
84229
|
config = mergeConfig(this.defaults, config);
|
|
84207
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
84230
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
84208
84231
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
84209
84232
|
}
|
|
84210
84233
|
};
|
|
@@ -84245,7 +84268,7 @@ utils_default.forEach([
|
|
|
84245
84268
|
}, "forEachMethodWithData"));
|
|
84246
84269
|
var Axios_default = Axios;
|
|
84247
84270
|
|
|
84248
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84271
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/CancelToken.js
|
|
84249
84272
|
init_esm_shims();
|
|
84250
84273
|
var CancelToken = class CancelToken2 {
|
|
84251
84274
|
static {
|
|
@@ -84323,6 +84346,15 @@ var CancelToken = class CancelToken2 {
|
|
|
84323
84346
|
this._listeners.splice(index, 1);
|
|
84324
84347
|
}
|
|
84325
84348
|
}
|
|
84349
|
+
toAbortSignal() {
|
|
84350
|
+
const controller = new AbortController();
|
|
84351
|
+
const abort = /* @__PURE__ */ __name((err) => {
|
|
84352
|
+
controller.abort(err);
|
|
84353
|
+
}, "abort");
|
|
84354
|
+
this.subscribe(abort);
|
|
84355
|
+
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
84356
|
+
return controller.signal;
|
|
84357
|
+
}
|
|
84326
84358
|
/**
|
|
84327
84359
|
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
84328
84360
|
* cancels the `CancelToken`.
|
|
@@ -84340,7 +84372,7 @@ var CancelToken = class CancelToken2 {
|
|
|
84340
84372
|
};
|
|
84341
84373
|
var CancelToken_default = CancelToken;
|
|
84342
84374
|
|
|
84343
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84375
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/spread.js
|
|
84344
84376
|
init_esm_shims();
|
|
84345
84377
|
function spread(callback) {
|
|
84346
84378
|
return /* @__PURE__ */ __name(function wrap3(arr) {
|
|
@@ -84349,14 +84381,14 @@ function spread(callback) {
|
|
|
84349
84381
|
}
|
|
84350
84382
|
__name(spread, "spread");
|
|
84351
84383
|
|
|
84352
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84384
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isAxiosError.js
|
|
84353
84385
|
init_esm_shims();
|
|
84354
84386
|
function isAxiosError(payload) {
|
|
84355
84387
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
84356
84388
|
}
|
|
84357
84389
|
__name(isAxiosError, "isAxiosError");
|
|
84358
84390
|
|
|
84359
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84391
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
84360
84392
|
init_esm_shims();
|
|
84361
84393
|
var HttpStatusCode = {
|
|
84362
84394
|
Continue: 100,
|
|
@@ -84428,7 +84460,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
84428
84460
|
});
|
|
84429
84461
|
var HttpStatusCode_default = HttpStatusCode;
|
|
84430
84462
|
|
|
84431
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84463
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/axios.js
|
|
84432
84464
|
function createInstance(defaultConfig) {
|
|
84433
84465
|
const context = new Axios_default(defaultConfig);
|
|
84434
84466
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -84466,7 +84498,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
84466
84498
|
axios.default = axios;
|
|
84467
84499
|
var axios_default = axios;
|
|
84468
84500
|
|
|
84469
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84501
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/index.js
|
|
84470
84502
|
var { Axios: Axios3, AxiosError: AxiosError2, CanceledError: CanceledError2, isCancel: isCancel2, CancelToken: CancelToken3, VERSION: VERSION3, all: all2, Cancel, isAxiosError: isAxiosError2, spread: spread2, toFormData: toFormData2, AxiosHeaders: AxiosHeaders3, HttpStatusCode: HttpStatusCode2, formToJSON, getAdapter, mergeConfig: mergeConfig2 } = axios_default;
|
|
84471
84503
|
|
|
84472
84504
|
// src/release/changelog-renderer.ts
|