publish-microfrontend 1.9.1 → 1.9.2-beta.8388
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/lib/index.js +1435 -1046
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -2648,15 +2648,15 @@ var require_color_convert = __commonJS({
|
|
|
2648
2648
|
var require_ansi_styles = __commonJS({
|
|
2649
2649
|
"../../../node_modules/ansi-styles/index.js"(exports2, module2) {
|
|
2650
2650
|
"use strict";
|
|
2651
|
-
var
|
|
2651
|
+
var wrapAnsi163 = (fn, offset) => (...args2) => {
|
|
2652
2652
|
const code = fn(...args2);
|
|
2653
2653
|
return `\x1B[${code + offset}m`;
|
|
2654
2654
|
};
|
|
2655
|
-
var
|
|
2655
|
+
var wrapAnsi2563 = (fn, offset) => (...args2) => {
|
|
2656
2656
|
const code = fn(...args2);
|
|
2657
2657
|
return `\x1B[${38 + offset};5;${code}m`;
|
|
2658
2658
|
};
|
|
2659
|
-
var
|
|
2659
|
+
var wrapAnsi16m3 = (fn, offset) => (...args2) => {
|
|
2660
2660
|
const rgb = fn(...args2);
|
|
2661
2661
|
return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
2662
2662
|
};
|
|
@@ -2683,20 +2683,20 @@ var require_ansi_styles = __commonJS({
|
|
|
2683
2683
|
colorConvert = require_color_convert();
|
|
2684
2684
|
}
|
|
2685
2685
|
const offset = isBackground ? 10 : 0;
|
|
2686
|
-
const
|
|
2686
|
+
const styles5 = {};
|
|
2687
2687
|
for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
|
|
2688
2688
|
const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
|
|
2689
2689
|
if (sourceSpace === targetSpace) {
|
|
2690
|
-
|
|
2690
|
+
styles5[name] = wrap(identity, offset);
|
|
2691
2691
|
} else if (typeof suite === "object") {
|
|
2692
|
-
|
|
2692
|
+
styles5[name] = wrap(suite[targetSpace], offset);
|
|
2693
2693
|
}
|
|
2694
2694
|
}
|
|
2695
|
-
return
|
|
2695
|
+
return styles5;
|
|
2696
2696
|
};
|
|
2697
|
-
function
|
|
2697
|
+
function assembleStyles3() {
|
|
2698
2698
|
const codes = /* @__PURE__ */ new Map();
|
|
2699
|
-
const
|
|
2699
|
+
const styles5 = {
|
|
2700
2700
|
modifier: {
|
|
2701
2701
|
reset: [0, 0],
|
|
2702
2702
|
// 21 isn't widely supported and 22 does the same thing
|
|
@@ -2747,41 +2747,41 @@ var require_ansi_styles = __commonJS({
|
|
|
2747
2747
|
bgWhiteBright: [107, 49]
|
|
2748
2748
|
}
|
|
2749
2749
|
};
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
for (const [groupName, group] of Object.entries(
|
|
2750
|
+
styles5.color.gray = styles5.color.blackBright;
|
|
2751
|
+
styles5.bgColor.bgGray = styles5.bgColor.bgBlackBright;
|
|
2752
|
+
styles5.color.grey = styles5.color.blackBright;
|
|
2753
|
+
styles5.bgColor.bgGrey = styles5.bgColor.bgBlackBright;
|
|
2754
|
+
for (const [groupName, group] of Object.entries(styles5)) {
|
|
2755
2755
|
for (const [styleName, style] of Object.entries(group)) {
|
|
2756
|
-
|
|
2756
|
+
styles5[styleName] = {
|
|
2757
2757
|
open: `\x1B[${style[0]}m`,
|
|
2758
2758
|
close: `\x1B[${style[1]}m`
|
|
2759
2759
|
};
|
|
2760
|
-
group[styleName] =
|
|
2760
|
+
group[styleName] = styles5[styleName];
|
|
2761
2761
|
codes.set(style[0], style[1]);
|
|
2762
2762
|
}
|
|
2763
|
-
Object.defineProperty(
|
|
2763
|
+
Object.defineProperty(styles5, groupName, {
|
|
2764
2764
|
value: group,
|
|
2765
2765
|
enumerable: false
|
|
2766
2766
|
});
|
|
2767
2767
|
}
|
|
2768
|
-
Object.defineProperty(
|
|
2768
|
+
Object.defineProperty(styles5, "codes", {
|
|
2769
2769
|
value: codes,
|
|
2770
2770
|
enumerable: false
|
|
2771
2771
|
});
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
setLazyProperty(
|
|
2775
|
-
setLazyProperty(
|
|
2776
|
-
setLazyProperty(
|
|
2777
|
-
setLazyProperty(
|
|
2778
|
-
setLazyProperty(
|
|
2779
|
-
setLazyProperty(
|
|
2780
|
-
return
|
|
2772
|
+
styles5.color.close = "\x1B[39m";
|
|
2773
|
+
styles5.bgColor.close = "\x1B[49m";
|
|
2774
|
+
setLazyProperty(styles5.color, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, false));
|
|
2775
|
+
setLazyProperty(styles5.color, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, false));
|
|
2776
|
+
setLazyProperty(styles5.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, false));
|
|
2777
|
+
setLazyProperty(styles5.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, true));
|
|
2778
|
+
setLazyProperty(styles5.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, true));
|
|
2779
|
+
setLazyProperty(styles5.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, true));
|
|
2780
|
+
return styles5;
|
|
2781
2781
|
}
|
|
2782
2782
|
Object.defineProperty(module2, "exports", {
|
|
2783
2783
|
enumerable: true,
|
|
2784
|
-
get:
|
|
2784
|
+
get: assembleStyles3
|
|
2785
2785
|
});
|
|
2786
2786
|
}
|
|
2787
2787
|
});
|
|
@@ -2792,7 +2792,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
2792
2792
|
"use strict";
|
|
2793
2793
|
var stringWidth2 = require_string_width();
|
|
2794
2794
|
var stripAnsi2 = require_strip_ansi();
|
|
2795
|
-
var
|
|
2795
|
+
var ansiStyles3 = require_ansi_styles();
|
|
2796
2796
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
2797
2797
|
"\x1B",
|
|
2798
2798
|
"\x9B"
|
|
@@ -2902,7 +2902,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
2902
2902
|
const code2 = parseFloat(/\d[^m]*/.exec(pre.slice(index, index + 4)));
|
|
2903
2903
|
escapeCode = code2 === END_CODE ? null : code2;
|
|
2904
2904
|
}
|
|
2905
|
-
const code =
|
|
2905
|
+
const code = ansiStyles3.codes.get(Number(escapeCode));
|
|
2906
2906
|
if (escapeCode && code) {
|
|
2907
2907
|
if (pre[index + 1] === "\n") {
|
|
2908
2908
|
ret += wrapAnsi(code);
|
|
@@ -6117,11 +6117,11 @@ var require_utils = __commonJS({
|
|
|
6117
6117
|
var content = file.apply(null, arguments);
|
|
6118
6118
|
return content ? parse(content) : null;
|
|
6119
6119
|
};
|
|
6120
|
-
var
|
|
6121
|
-
|
|
6120
|
+
var env3 = exports2.env = function(prefix, env4) {
|
|
6121
|
+
env4 = env4 || process.env;
|
|
6122
6122
|
var obj = {};
|
|
6123
6123
|
var l = prefix.length;
|
|
6124
|
-
for (var k in
|
|
6124
|
+
for (var k in env4) {
|
|
6125
6125
|
if (k.toLowerCase().indexOf(prefix.toLowerCase()) === 0) {
|
|
6126
6126
|
var keypath = k.substring(l).split("__");
|
|
6127
6127
|
var _emptyStringIndex;
|
|
@@ -6133,7 +6133,7 @@ var require_utils = __commonJS({
|
|
|
6133
6133
|
if (!_subkey || typeof cursor !== "object")
|
|
6134
6134
|
return;
|
|
6135
6135
|
if (i === keypath.length - 1)
|
|
6136
|
-
cursor[_subkey] =
|
|
6136
|
+
cursor[_subkey] = env4[k];
|
|
6137
6137
|
if (cursor[_subkey] === void 0)
|
|
6138
6138
|
cursor[_subkey] = {};
|
|
6139
6139
|
cursor = cursor[_subkey];
|
|
@@ -6479,7 +6479,7 @@ var require_rc = __commonJS({
|
|
|
6479
6479
|
argv = require_minimist()(process.argv.slice(2));
|
|
6480
6480
|
defaults2 = ("string" === typeof defaults2 ? cc.json(defaults2) : defaults2) || {};
|
|
6481
6481
|
parse = parse || cc.parse;
|
|
6482
|
-
var
|
|
6482
|
+
var env3 = cc.env(name + "_");
|
|
6483
6483
|
var configs = [defaults2];
|
|
6484
6484
|
var configFiles = [];
|
|
6485
6485
|
function addConfigFile(file) {
|
|
@@ -6503,10 +6503,10 @@ var require_rc = __commonJS({
|
|
|
6503
6503
|
join2(home, "." + name + "rc")
|
|
6504
6504
|
].forEach(addConfigFile);
|
|
6505
6505
|
addConfigFile(cc.find("." + name + "rc"));
|
|
6506
|
-
if (
|
|
6506
|
+
if (env3.config) addConfigFile(env3.config);
|
|
6507
6507
|
if (argv.config) addConfigFile(argv.config);
|
|
6508
6508
|
return deepExtend.apply(null, configs.concat([
|
|
6509
|
-
|
|
6509
|
+
env3,
|
|
6510
6510
|
argv,
|
|
6511
6511
|
configFiles.length ? { configs: configFiles, config: configFiles[configFiles.length - 1] } : void 0
|
|
6512
6512
|
]));
|
|
@@ -6514,9 +6514,9 @@ var require_rc = __commonJS({
|
|
|
6514
6514
|
}
|
|
6515
6515
|
});
|
|
6516
6516
|
|
|
6517
|
-
// ../../../node_modules/
|
|
6517
|
+
// ../../../node_modules/cli-spinners/spinners.json
|
|
6518
6518
|
var require_spinners = __commonJS({
|
|
6519
|
-
"../../../node_modules/
|
|
6519
|
+
"../../../node_modules/cli-spinners/spinners.json"(exports2, module2) {
|
|
6520
6520
|
module2.exports = {
|
|
6521
6521
|
dots: {
|
|
6522
6522
|
interval: 80,
|
|
@@ -8142,9 +8142,9 @@ var require_spinners = __commonJS({
|
|
|
8142
8142
|
}
|
|
8143
8143
|
});
|
|
8144
8144
|
|
|
8145
|
-
// ../../../node_modules/
|
|
8145
|
+
// ../../../node_modules/cli-spinners/index.js
|
|
8146
8146
|
var require_cli_spinners = __commonJS({
|
|
8147
|
-
"../../../node_modules/
|
|
8147
|
+
"../../../node_modules/cli-spinners/index.js"(exports2, module2) {
|
|
8148
8148
|
"use strict";
|
|
8149
8149
|
var spinners = Object.assign({}, require_spinners());
|
|
8150
8150
|
var spinnersList = Object.keys(spinners);
|
|
@@ -8163,7 +8163,7 @@ var require_cli_spinners = __commonJS({
|
|
|
8163
8163
|
var require_emoji_regex2 = __commonJS({
|
|
8164
8164
|
"../../../node_modules/ora/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
8165
8165
|
module2.exports = () => {
|
|
8166
|
-
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
8166
|
+
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
8167
8167
|
};
|
|
8168
8168
|
}
|
|
8169
8169
|
});
|
|
@@ -8427,9 +8427,9 @@ var require_fs = __commonJS({
|
|
|
8427
8427
|
}
|
|
8428
8428
|
});
|
|
8429
8429
|
|
|
8430
|
-
// node_modules/minimatch/lib/path.js
|
|
8430
|
+
// ../../../node_modules/glob/node_modules/minimatch/lib/path.js
|
|
8431
8431
|
var require_path = __commonJS({
|
|
8432
|
-
"node_modules/minimatch/lib/path.js"(exports2, module2) {
|
|
8432
|
+
"../../../node_modules/glob/node_modules/minimatch/lib/path.js"(exports2, module2) {
|
|
8433
8433
|
var isWindows2 = typeof process === "object" && process && process.platform === "win32";
|
|
8434
8434
|
module2.exports = isWindows2 ? { sep: "\\" } : { sep: "/" };
|
|
8435
8435
|
}
|
|
@@ -8569,7 +8569,7 @@ var require_brace_expansion = __commonJS({
|
|
|
8569
8569
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
8570
8570
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
8571
8571
|
if (!isSequence && !isOptions) {
|
|
8572
|
-
if (m.post.match(
|
|
8572
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
8573
8573
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
8574
8574
|
return expand(str);
|
|
8575
8575
|
}
|
|
@@ -8643,9 +8643,9 @@ var require_brace_expansion = __commonJS({
|
|
|
8643
8643
|
}
|
|
8644
8644
|
});
|
|
8645
8645
|
|
|
8646
|
-
// node_modules/minimatch/minimatch.js
|
|
8646
|
+
// ../../../node_modules/glob/node_modules/minimatch/minimatch.js
|
|
8647
8647
|
var require_minimatch = __commonJS({
|
|
8648
|
-
"node_modules/minimatch/minimatch.js"(exports2, module2) {
|
|
8648
|
+
"../../../node_modules/glob/node_modules/minimatch/minimatch.js"(exports2, module2) {
|
|
8649
8649
|
var minimatch = module2.exports = (p, pattern, options = {}) => {
|
|
8650
8650
|
assertValidPattern(pattern);
|
|
8651
8651
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -9245,9 +9245,9 @@ var require_inherits = __commonJS({
|
|
|
9245
9245
|
}
|
|
9246
9246
|
});
|
|
9247
9247
|
|
|
9248
|
-
// node_modules/glob/common.js
|
|
9248
|
+
// ../../../node_modules/glob/common.js
|
|
9249
9249
|
var require_common = __commonJS({
|
|
9250
|
-
"node_modules/glob/common.js"(exports2) {
|
|
9250
|
+
"../../../node_modules/glob/common.js"(exports2) {
|
|
9251
9251
|
exports2.setopts = setopts;
|
|
9252
9252
|
exports2.ownProp = ownProp;
|
|
9253
9253
|
exports2.makeAbs = makeAbs;
|
|
@@ -9443,9 +9443,9 @@ var require_common = __commonJS({
|
|
|
9443
9443
|
}
|
|
9444
9444
|
});
|
|
9445
9445
|
|
|
9446
|
-
// node_modules/glob/sync.js
|
|
9446
|
+
// ../../../node_modules/glob/sync.js
|
|
9447
9447
|
var require_sync = __commonJS({
|
|
9448
|
-
"node_modules/glob/sync.js"(exports2, module2) {
|
|
9448
|
+
"../../../node_modules/glob/sync.js"(exports2, module2) {
|
|
9449
9449
|
module2.exports = globSync;
|
|
9450
9450
|
globSync.GlobSync = GlobSync;
|
|
9451
9451
|
var rp = require_fs();
|
|
@@ -9918,9 +9918,9 @@ var require_inflight = __commonJS({
|
|
|
9918
9918
|
}
|
|
9919
9919
|
});
|
|
9920
9920
|
|
|
9921
|
-
// node_modules/glob/glob.js
|
|
9921
|
+
// ../../../node_modules/glob/glob.js
|
|
9922
9922
|
var require_glob = __commonJS({
|
|
9923
|
-
"node_modules/glob/glob.js"(exports2, module2) {
|
|
9923
|
+
"../../../node_modules/glob/glob.js"(exports2, module2) {
|
|
9924
9924
|
module2.exports = glob2;
|
|
9925
9925
|
var rp = require_fs();
|
|
9926
9926
|
var minimatch = require_minimatch();
|
|
@@ -19701,17 +19701,17 @@ var require_sign = __commonJS({
|
|
|
19701
19701
|
}
|
|
19702
19702
|
});
|
|
19703
19703
|
|
|
19704
|
-
// ../../../node_modules/
|
|
19704
|
+
// ../../../node_modules/gopd/gOPD.js
|
|
19705
19705
|
var require_gOPD = __commonJS({
|
|
19706
|
-
"../../../node_modules/
|
|
19706
|
+
"../../../node_modules/gopd/gOPD.js"(exports2, module2) {
|
|
19707
19707
|
"use strict";
|
|
19708
19708
|
module2.exports = Object.getOwnPropertyDescriptor;
|
|
19709
19709
|
}
|
|
19710
19710
|
});
|
|
19711
19711
|
|
|
19712
|
-
// ../../../node_modules/
|
|
19712
|
+
// ../../../node_modules/gopd/index.js
|
|
19713
19713
|
var require_gopd = __commonJS({
|
|
19714
|
-
"../../../node_modules/
|
|
19714
|
+
"../../../node_modules/gopd/index.js"(exports2, module2) {
|
|
19715
19715
|
"use strict";
|
|
19716
19716
|
var $gOPD = require_gOPD();
|
|
19717
19717
|
if ($gOPD) {
|
|
@@ -19725,9 +19725,9 @@ var require_gopd = __commonJS({
|
|
|
19725
19725
|
}
|
|
19726
19726
|
});
|
|
19727
19727
|
|
|
19728
|
-
// ../../../node_modules/es-
|
|
19728
|
+
// ../../../node_modules/es-define-property/index.js
|
|
19729
19729
|
var require_es_define_property = __commonJS({
|
|
19730
|
-
"../../../node_modules/es-
|
|
19730
|
+
"../../../node_modules/es-define-property/index.js"(exports2, module2) {
|
|
19731
19731
|
"use strict";
|
|
19732
19732
|
var $defineProperty = Object.defineProperty || false;
|
|
19733
19733
|
if ($defineProperty) {
|
|
@@ -19741,9 +19741,9 @@ var require_es_define_property = __commonJS({
|
|
|
19741
19741
|
}
|
|
19742
19742
|
});
|
|
19743
19743
|
|
|
19744
|
-
// ../../../node_modules/
|
|
19744
|
+
// ../../../node_modules/has-symbols/shams.js
|
|
19745
19745
|
var require_shams = __commonJS({
|
|
19746
|
-
"../../../node_modules/
|
|
19746
|
+
"../../../node_modules/has-symbols/shams.js"(exports2, module2) {
|
|
19747
19747
|
"use strict";
|
|
19748
19748
|
module2.exports = function hasSymbols() {
|
|
19749
19749
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
@@ -19796,9 +19796,9 @@ var require_shams = __commonJS({
|
|
|
19796
19796
|
}
|
|
19797
19797
|
});
|
|
19798
19798
|
|
|
19799
|
-
// ../../../node_modules/
|
|
19799
|
+
// ../../../node_modules/has-symbols/index.js
|
|
19800
19800
|
var require_has_symbols = __commonJS({
|
|
19801
|
-
"../../../node_modules/
|
|
19801
|
+
"../../../node_modules/has-symbols/index.js"(exports2, module2) {
|
|
19802
19802
|
"use strict";
|
|
19803
19803
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
19804
19804
|
var hasSymbolSham = require_shams();
|
|
@@ -19975,36 +19975,12 @@ var require_call_bind_apply_helpers = __commonJS({
|
|
|
19975
19975
|
}
|
|
19976
19976
|
});
|
|
19977
19977
|
|
|
19978
|
-
// ../../../node_modules/dunder-proto/node_modules/gopd/gOPD.js
|
|
19979
|
-
var require_gOPD2 = __commonJS({
|
|
19980
|
-
"../../../node_modules/dunder-proto/node_modules/gopd/gOPD.js"(exports2, module2) {
|
|
19981
|
-
"use strict";
|
|
19982
|
-
module2.exports = Object.getOwnPropertyDescriptor;
|
|
19983
|
-
}
|
|
19984
|
-
});
|
|
19985
|
-
|
|
19986
|
-
// ../../../node_modules/dunder-proto/node_modules/gopd/index.js
|
|
19987
|
-
var require_gopd2 = __commonJS({
|
|
19988
|
-
"../../../node_modules/dunder-proto/node_modules/gopd/index.js"(exports2, module2) {
|
|
19989
|
-
"use strict";
|
|
19990
|
-
var $gOPD = require_gOPD2();
|
|
19991
|
-
if ($gOPD) {
|
|
19992
|
-
try {
|
|
19993
|
-
$gOPD([], "length");
|
|
19994
|
-
} catch (e) {
|
|
19995
|
-
$gOPD = null;
|
|
19996
|
-
}
|
|
19997
|
-
}
|
|
19998
|
-
module2.exports = $gOPD;
|
|
19999
|
-
}
|
|
20000
|
-
});
|
|
20001
|
-
|
|
20002
19978
|
// ../../../node_modules/dunder-proto/get.js
|
|
20003
19979
|
var require_get = __commonJS({
|
|
20004
19980
|
"../../../node_modules/dunder-proto/get.js"(exports2, module2) {
|
|
20005
19981
|
"use strict";
|
|
20006
19982
|
var callBind = require_call_bind_apply_helpers();
|
|
20007
|
-
var gOPD =
|
|
19983
|
+
var gOPD = require_gopd();
|
|
20008
19984
|
var hasProtoAccessor;
|
|
20009
19985
|
try {
|
|
20010
19986
|
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
@@ -20061,9 +20037,9 @@ var require_hasown = __commonJS({
|
|
|
20061
20037
|
}
|
|
20062
20038
|
});
|
|
20063
20039
|
|
|
20064
|
-
// ../../../node_modules/
|
|
20040
|
+
// ../../../node_modules/get-intrinsic/index.js
|
|
20065
20041
|
var require_get_intrinsic = __commonJS({
|
|
20066
|
-
"../../../node_modules/
|
|
20042
|
+
"../../../node_modules/get-intrinsic/index.js"(exports2, module2) {
|
|
20067
20043
|
"use strict";
|
|
20068
20044
|
var undefined2;
|
|
20069
20045
|
var $Object = require_es_object_atoms();
|
|
@@ -20093,7 +20069,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
20093
20069
|
var throwTypeError = function() {
|
|
20094
20070
|
throw new $TypeError();
|
|
20095
20071
|
};
|
|
20096
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
20072
|
+
var ThrowTypeError = $gOPD ? (function() {
|
|
20097
20073
|
try {
|
|
20098
20074
|
arguments.callee;
|
|
20099
20075
|
return throwTypeError;
|
|
@@ -20104,7 +20080,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
20104
20080
|
return throwTypeError;
|
|
20105
20081
|
}
|
|
20106
20082
|
}
|
|
20107
|
-
}() : throwTypeError;
|
|
20083
|
+
})() : throwTypeError;
|
|
20108
20084
|
var hasSymbols = require_has_symbols()();
|
|
20109
20085
|
var getProto = require_get_proto();
|
|
20110
20086
|
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
@@ -20392,63 +20368,11 @@ var require_get_intrinsic = __commonJS({
|
|
|
20392
20368
|
}
|
|
20393
20369
|
});
|
|
20394
20370
|
|
|
20395
|
-
// ../../../node_modules/has-
|
|
20371
|
+
// ../../../node_modules/has-tostringtag/shams.js
|
|
20396
20372
|
var require_shams2 = __commonJS({
|
|
20397
|
-
"../../../node_modules/has-
|
|
20398
|
-
"use strict";
|
|
20399
|
-
module2.exports = function hasSymbols() {
|
|
20400
|
-
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
20401
|
-
return false;
|
|
20402
|
-
}
|
|
20403
|
-
if (typeof Symbol.iterator === "symbol") {
|
|
20404
|
-
return true;
|
|
20405
|
-
}
|
|
20406
|
-
var obj = {};
|
|
20407
|
-
var sym = Symbol("test");
|
|
20408
|
-
var symObj = Object(sym);
|
|
20409
|
-
if (typeof sym === "string") {
|
|
20410
|
-
return false;
|
|
20411
|
-
}
|
|
20412
|
-
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
20413
|
-
return false;
|
|
20414
|
-
}
|
|
20415
|
-
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
20416
|
-
return false;
|
|
20417
|
-
}
|
|
20418
|
-
var symVal = 42;
|
|
20419
|
-
obj[sym] = symVal;
|
|
20420
|
-
for (sym in obj) {
|
|
20421
|
-
return false;
|
|
20422
|
-
}
|
|
20423
|
-
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
20424
|
-
return false;
|
|
20425
|
-
}
|
|
20426
|
-
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
20427
|
-
return false;
|
|
20428
|
-
}
|
|
20429
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
20430
|
-
if (syms.length !== 1 || syms[0] !== sym) {
|
|
20431
|
-
return false;
|
|
20432
|
-
}
|
|
20433
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
20434
|
-
return false;
|
|
20435
|
-
}
|
|
20436
|
-
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
20437
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
20438
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
20439
|
-
return false;
|
|
20440
|
-
}
|
|
20441
|
-
}
|
|
20442
|
-
return true;
|
|
20443
|
-
};
|
|
20444
|
-
}
|
|
20445
|
-
});
|
|
20446
|
-
|
|
20447
|
-
// ../../../node_modules/es-set-tostringtag/node_modules/has-tostringtag/shams.js
|
|
20448
|
-
var require_shams3 = __commonJS({
|
|
20449
|
-
"../../../node_modules/es-set-tostringtag/node_modules/has-tostringtag/shams.js"(exports2, module2) {
|
|
20373
|
+
"../../../node_modules/has-tostringtag/shams.js"(exports2, module2) {
|
|
20450
20374
|
"use strict";
|
|
20451
|
-
var hasSymbols =
|
|
20375
|
+
var hasSymbols = require_shams();
|
|
20452
20376
|
module2.exports = function hasToStringTagShams() {
|
|
20453
20377
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
20454
20378
|
};
|
|
@@ -20461,7 +20385,7 @@ var require_es_set_tostringtag = __commonJS({
|
|
|
20461
20385
|
"use strict";
|
|
20462
20386
|
var GetIntrinsic = require_get_intrinsic();
|
|
20463
20387
|
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
20464
|
-
var hasToStringTag =
|
|
20388
|
+
var hasToStringTag = require_shams2()();
|
|
20465
20389
|
var hasOwn = require_hasown();
|
|
20466
20390
|
var $TypeError = require_type();
|
|
20467
20391
|
var toStringTag2 = hasToStringTag ? Symbol.toStringTag : null;
|
|
@@ -20507,7 +20431,7 @@ var require_form_data = __commonJS({
|
|
|
20507
20431
|
var CombinedStream = require_combined_stream();
|
|
20508
20432
|
var util3 = require("util");
|
|
20509
20433
|
var path = require("path");
|
|
20510
|
-
var
|
|
20434
|
+
var http3 = require("http");
|
|
20511
20435
|
var https2 = require("https");
|
|
20512
20436
|
var parseUrl = require("url").parse;
|
|
20513
20437
|
var fs = require("fs");
|
|
@@ -20779,7 +20703,7 @@ var require_form_data = __commonJS({
|
|
|
20779
20703
|
if (options.protocol === "https:") {
|
|
20780
20704
|
request = https2.request(options);
|
|
20781
20705
|
} else {
|
|
20782
|
-
request =
|
|
20706
|
+
request = http3.request(options);
|
|
20783
20707
|
}
|
|
20784
20708
|
this.getLength(function(err, length) {
|
|
20785
20709
|
if (err && err !== "Unknown stream") {
|
|
@@ -20837,21 +20761,21 @@ var require_proxy_from_env = __commonJS({
|
|
|
20837
20761
|
};
|
|
20838
20762
|
function getProxyForUrl(url2) {
|
|
20839
20763
|
var parsedUrl = typeof url2 === "string" ? parseUrl(url2) : url2 || {};
|
|
20840
|
-
var
|
|
20764
|
+
var proto3 = parsedUrl.protocol;
|
|
20841
20765
|
var hostname = parsedUrl.host;
|
|
20842
20766
|
var port = parsedUrl.port;
|
|
20843
|
-
if (typeof hostname !== "string" || !hostname || typeof
|
|
20767
|
+
if (typeof hostname !== "string" || !hostname || typeof proto3 !== "string") {
|
|
20844
20768
|
return "";
|
|
20845
20769
|
}
|
|
20846
|
-
|
|
20770
|
+
proto3 = proto3.split(":", 1)[0];
|
|
20847
20771
|
hostname = hostname.replace(/:\d*$/, "");
|
|
20848
|
-
port = parseInt(port) || DEFAULT_PORTS[
|
|
20772
|
+
port = parseInt(port) || DEFAULT_PORTS[proto3] || 0;
|
|
20849
20773
|
if (!shouldProxy(hostname, port)) {
|
|
20850
20774
|
return "";
|
|
20851
20775
|
}
|
|
20852
|
-
var proxy = getEnv("npm_config_" +
|
|
20776
|
+
var proxy = getEnv("npm_config_" + proto3 + "_proxy") || getEnv(proto3 + "_proxy") || getEnv("npm_config_proxy") || getEnv("all_proxy");
|
|
20853
20777
|
if (proxy && proxy.indexOf("://") === -1) {
|
|
20854
|
-
proxy =
|
|
20778
|
+
proxy = proto3 + "://" + proxy;
|
|
20855
20779
|
}
|
|
20856
20780
|
return proxy;
|
|
20857
20781
|
}
|
|
@@ -20896,14 +20820,13 @@ var require_ms = __commonJS({
|
|
|
20896
20820
|
var m = s * 60;
|
|
20897
20821
|
var h = m * 60;
|
|
20898
20822
|
var d = h * 24;
|
|
20899
|
-
var w = d * 7;
|
|
20900
20823
|
var y = d * 365.25;
|
|
20901
20824
|
module2.exports = function(val, options) {
|
|
20902
20825
|
options = options || {};
|
|
20903
20826
|
var type = typeof val;
|
|
20904
20827
|
if (type === "string" && val.length > 0) {
|
|
20905
20828
|
return parse(val);
|
|
20906
|
-
} else if (type === "number" &&
|
|
20829
|
+
} else if (type === "number" && isNaN(val) === false) {
|
|
20907
20830
|
return options.long ? fmtLong(val) : fmtShort(val);
|
|
20908
20831
|
}
|
|
20909
20832
|
throw new Error(
|
|
@@ -20915,7 +20838,7 @@ var require_ms = __commonJS({
|
|
|
20915
20838
|
if (str.length > 100) {
|
|
20916
20839
|
return;
|
|
20917
20840
|
}
|
|
20918
|
-
var match = /^(
|
|
20841
|
+
var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
20919
20842
|
str
|
|
20920
20843
|
);
|
|
20921
20844
|
if (!match) {
|
|
@@ -20930,10 +20853,6 @@ var require_ms = __commonJS({
|
|
|
20930
20853
|
case "yr":
|
|
20931
20854
|
case "y":
|
|
20932
20855
|
return n * y;
|
|
20933
|
-
case "weeks":
|
|
20934
|
-
case "week":
|
|
20935
|
-
case "w":
|
|
20936
|
-
return n * w;
|
|
20937
20856
|
case "days":
|
|
20938
20857
|
case "day":
|
|
20939
20858
|
case "d":
|
|
@@ -20967,669 +20886,350 @@ var require_ms = __commonJS({
|
|
|
20967
20886
|
}
|
|
20968
20887
|
}
|
|
20969
20888
|
function fmtShort(ms) {
|
|
20970
|
-
|
|
20971
|
-
if (msAbs >= d) {
|
|
20889
|
+
if (ms >= d) {
|
|
20972
20890
|
return Math.round(ms / d) + "d";
|
|
20973
20891
|
}
|
|
20974
|
-
if (
|
|
20892
|
+
if (ms >= h) {
|
|
20975
20893
|
return Math.round(ms / h) + "h";
|
|
20976
20894
|
}
|
|
20977
|
-
if (
|
|
20895
|
+
if (ms >= m) {
|
|
20978
20896
|
return Math.round(ms / m) + "m";
|
|
20979
20897
|
}
|
|
20980
|
-
if (
|
|
20898
|
+
if (ms >= s) {
|
|
20981
20899
|
return Math.round(ms / s) + "s";
|
|
20982
20900
|
}
|
|
20983
20901
|
return ms + "ms";
|
|
20984
20902
|
}
|
|
20985
20903
|
function fmtLong(ms) {
|
|
20986
|
-
|
|
20987
|
-
|
|
20988
|
-
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
return plural(ms, msAbs, h, "hour");
|
|
20992
|
-
}
|
|
20993
|
-
if (msAbs >= m) {
|
|
20994
|
-
return plural(ms, msAbs, m, "minute");
|
|
20904
|
+
return plural(ms, d, "day") || plural(ms, h, "hour") || plural(ms, m, "minute") || plural(ms, s, "second") || ms + " ms";
|
|
20905
|
+
}
|
|
20906
|
+
function plural(ms, n, name) {
|
|
20907
|
+
if (ms < n) {
|
|
20908
|
+
return;
|
|
20995
20909
|
}
|
|
20996
|
-
if (
|
|
20997
|
-
return
|
|
20910
|
+
if (ms < n * 1.5) {
|
|
20911
|
+
return Math.floor(ms / n) + " " + name;
|
|
20998
20912
|
}
|
|
20999
|
-
return ms + "
|
|
21000
|
-
}
|
|
21001
|
-
function plural(ms, msAbs, n, name) {
|
|
21002
|
-
var isPlural = msAbs >= n * 1.5;
|
|
21003
|
-
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
20913
|
+
return Math.ceil(ms / n) + " " + name + "s";
|
|
21004
20914
|
}
|
|
21005
20915
|
}
|
|
21006
20916
|
});
|
|
21007
20917
|
|
|
21008
|
-
// ../../../node_modules/debug/src/
|
|
21009
|
-
var
|
|
21010
|
-
"../../../node_modules/debug/src/
|
|
21011
|
-
|
|
21012
|
-
|
|
21013
|
-
|
|
21014
|
-
|
|
21015
|
-
|
|
21016
|
-
|
|
21017
|
-
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
21022
|
-
|
|
21023
|
-
|
|
21024
|
-
|
|
21025
|
-
|
|
21026
|
-
|
|
21027
|
-
|
|
21028
|
-
|
|
21029
|
-
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
|
|
21039
|
-
|
|
21040
|
-
|
|
21041
|
-
|
|
21042
|
-
|
|
21043
|
-
|
|
21044
|
-
|
|
21045
|
-
|
|
21046
|
-
|
|
21047
|
-
|
|
21048
|
-
|
|
21049
|
-
|
|
21050
|
-
|
|
21051
|
-
|
|
21052
|
-
if (
|
|
21053
|
-
args2
|
|
21054
|
-
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
if (match === "%%") {
|
|
21058
|
-
return "%";
|
|
21059
|
-
}
|
|
21060
|
-
index++;
|
|
21061
|
-
const formatter = createDebug.formatters[format2];
|
|
21062
|
-
if (typeof formatter === "function") {
|
|
21063
|
-
const val = args2[index];
|
|
21064
|
-
match = formatter.call(self2, val);
|
|
21065
|
-
args2.splice(index, 1);
|
|
21066
|
-
index--;
|
|
21067
|
-
}
|
|
21068
|
-
return match;
|
|
21069
|
-
});
|
|
21070
|
-
createDebug.formatArgs.call(self2, args2);
|
|
21071
|
-
const logFn = self2.log || createDebug.log;
|
|
21072
|
-
logFn.apply(self2, args2);
|
|
21073
|
-
}
|
|
21074
|
-
debug.namespace = namespace;
|
|
21075
|
-
debug.useColors = createDebug.useColors();
|
|
21076
|
-
debug.color = createDebug.selectColor(namespace);
|
|
21077
|
-
debug.extend = extend2;
|
|
21078
|
-
debug.destroy = createDebug.destroy;
|
|
21079
|
-
Object.defineProperty(debug, "enabled", {
|
|
21080
|
-
enumerable: true,
|
|
21081
|
-
configurable: false,
|
|
21082
|
-
get: () => {
|
|
21083
|
-
if (enableOverride !== null) {
|
|
21084
|
-
return enableOverride;
|
|
21085
|
-
}
|
|
21086
|
-
if (namespacesCache !== createDebug.namespaces) {
|
|
21087
|
-
namespacesCache = createDebug.namespaces;
|
|
21088
|
-
enabledCache = createDebug.enabled(namespace);
|
|
21089
|
-
}
|
|
21090
|
-
return enabledCache;
|
|
21091
|
-
},
|
|
21092
|
-
set: (v) => {
|
|
21093
|
-
enableOverride = v;
|
|
20918
|
+
// ../../../node_modules/debug/src/debug.js
|
|
20919
|
+
var require_debug = __commonJS({
|
|
20920
|
+
"../../../node_modules/debug/src/debug.js"(exports2, module2) {
|
|
20921
|
+
exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
|
|
20922
|
+
exports2.coerce = coerce;
|
|
20923
|
+
exports2.disable = disable;
|
|
20924
|
+
exports2.enable = enable;
|
|
20925
|
+
exports2.enabled = enabled;
|
|
20926
|
+
exports2.humanize = require_ms();
|
|
20927
|
+
exports2.names = [];
|
|
20928
|
+
exports2.skips = [];
|
|
20929
|
+
exports2.formatters = {};
|
|
20930
|
+
var prevTime;
|
|
20931
|
+
function selectColor(namespace) {
|
|
20932
|
+
var hash = 0, i;
|
|
20933
|
+
for (i in namespace) {
|
|
20934
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
20935
|
+
hash |= 0;
|
|
20936
|
+
}
|
|
20937
|
+
return exports2.colors[Math.abs(hash) % exports2.colors.length];
|
|
20938
|
+
}
|
|
20939
|
+
function createDebug(namespace) {
|
|
20940
|
+
function debug() {
|
|
20941
|
+
if (!debug.enabled) return;
|
|
20942
|
+
var self2 = debug;
|
|
20943
|
+
var curr = +/* @__PURE__ */ new Date();
|
|
20944
|
+
var ms = curr - (prevTime || curr);
|
|
20945
|
+
self2.diff = ms;
|
|
20946
|
+
self2.prev = prevTime;
|
|
20947
|
+
self2.curr = curr;
|
|
20948
|
+
prevTime = curr;
|
|
20949
|
+
var args2 = new Array(arguments.length);
|
|
20950
|
+
for (var i = 0; i < args2.length; i++) {
|
|
20951
|
+
args2[i] = arguments[i];
|
|
20952
|
+
}
|
|
20953
|
+
args2[0] = exports2.coerce(args2[0]);
|
|
20954
|
+
if ("string" !== typeof args2[0]) {
|
|
20955
|
+
args2.unshift("%O");
|
|
20956
|
+
}
|
|
20957
|
+
var index = 0;
|
|
20958
|
+
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match, format2) {
|
|
20959
|
+
if (match === "%%") return match;
|
|
20960
|
+
index++;
|
|
20961
|
+
var formatter = exports2.formatters[format2];
|
|
20962
|
+
if ("function" === typeof formatter) {
|
|
20963
|
+
var val = args2[index];
|
|
20964
|
+
match = formatter.call(self2, val);
|
|
20965
|
+
args2.splice(index, 1);
|
|
20966
|
+
index--;
|
|
21094
20967
|
}
|
|
20968
|
+
return match;
|
|
21095
20969
|
});
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
|
|
21112
|
-
|
|
21113
|
-
|
|
21114
|
-
|
|
21115
|
-
|
|
21116
|
-
|
|
21117
|
-
|
|
21118
|
-
|
|
21119
|
-
|
|
21120
|
-
|
|
21121
|
-
|
|
21122
|
-
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
21123
|
-
}
|
|
20970
|
+
exports2.formatArgs.call(self2, args2);
|
|
20971
|
+
var logFn = debug.log || exports2.log || console.log.bind(console);
|
|
20972
|
+
logFn.apply(self2, args2);
|
|
20973
|
+
}
|
|
20974
|
+
debug.namespace = namespace;
|
|
20975
|
+
debug.enabled = exports2.enabled(namespace);
|
|
20976
|
+
debug.useColors = exports2.useColors();
|
|
20977
|
+
debug.color = selectColor(namespace);
|
|
20978
|
+
if ("function" === typeof exports2.init) {
|
|
20979
|
+
exports2.init(debug);
|
|
20980
|
+
}
|
|
20981
|
+
return debug;
|
|
20982
|
+
}
|
|
20983
|
+
function enable(namespaces) {
|
|
20984
|
+
exports2.save(namespaces);
|
|
20985
|
+
exports2.names = [];
|
|
20986
|
+
exports2.skips = [];
|
|
20987
|
+
var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
20988
|
+
var len = split.length;
|
|
20989
|
+
for (var i = 0; i < len; i++) {
|
|
20990
|
+
if (!split[i]) continue;
|
|
20991
|
+
namespaces = split[i].replace(/\*/g, ".*?");
|
|
20992
|
+
if (namespaces[0] === "-") {
|
|
20993
|
+
exports2.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
|
|
20994
|
+
} else {
|
|
20995
|
+
exports2.names.push(new RegExp("^" + namespaces + "$"));
|
|
21124
20996
|
}
|
|
21125
20997
|
}
|
|
21126
|
-
|
|
21127
|
-
|
|
21128
|
-
|
|
21129
|
-
|
|
21130
|
-
|
|
21131
|
-
|
|
21132
|
-
|
|
21133
|
-
|
|
21134
|
-
|
|
21135
|
-
if (name[name.length - 1] === "*") {
|
|
21136
|
-
return true;
|
|
21137
|
-
}
|
|
21138
|
-
let i;
|
|
21139
|
-
let len;
|
|
21140
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
21141
|
-
if (createDebug.skips[i].test(name)) {
|
|
21142
|
-
return false;
|
|
21143
|
-
}
|
|
21144
|
-
}
|
|
21145
|
-
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
|
21146
|
-
if (createDebug.names[i].test(name)) {
|
|
21147
|
-
return true;
|
|
21148
|
-
}
|
|
20998
|
+
}
|
|
20999
|
+
function disable() {
|
|
21000
|
+
exports2.enable("");
|
|
21001
|
+
}
|
|
21002
|
+
function enabled(name) {
|
|
21003
|
+
var i, len;
|
|
21004
|
+
for (i = 0, len = exports2.skips.length; i < len; i++) {
|
|
21005
|
+
if (exports2.skips[i].test(name)) {
|
|
21006
|
+
return false;
|
|
21149
21007
|
}
|
|
21150
|
-
return false;
|
|
21151
|
-
}
|
|
21152
|
-
function toNamespace(regexp) {
|
|
21153
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
21154
21008
|
}
|
|
21155
|
-
|
|
21156
|
-
if (
|
|
21157
|
-
return
|
|
21009
|
+
for (i = 0, len = exports2.names.length; i < len; i++) {
|
|
21010
|
+
if (exports2.names[i].test(name)) {
|
|
21011
|
+
return true;
|
|
21158
21012
|
}
|
|
21159
|
-
return val;
|
|
21160
21013
|
}
|
|
21161
|
-
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
return
|
|
21014
|
+
return false;
|
|
21015
|
+
}
|
|
21016
|
+
function coerce(val) {
|
|
21017
|
+
if (val instanceof Error) return val.stack || val.message;
|
|
21018
|
+
return val;
|
|
21166
21019
|
}
|
|
21167
|
-
module2.exports = setup;
|
|
21168
21020
|
}
|
|
21169
21021
|
});
|
|
21170
21022
|
|
|
21171
21023
|
// ../../../node_modules/debug/src/browser.js
|
|
21172
21024
|
var require_browser = __commonJS({
|
|
21173
21025
|
"../../../node_modules/debug/src/browser.js"(exports2, module2) {
|
|
21026
|
+
exports2 = module2.exports = require_debug();
|
|
21027
|
+
exports2.log = log;
|
|
21174
21028
|
exports2.formatArgs = formatArgs;
|
|
21175
21029
|
exports2.save = save;
|
|
21176
21030
|
exports2.load = load2;
|
|
21177
21031
|
exports2.useColors = useColors;
|
|
21178
|
-
exports2.storage = localstorage();
|
|
21179
|
-
exports2.destroy = /* @__PURE__ */ (() => {
|
|
21180
|
-
let warned = false;
|
|
21181
|
-
return () => {
|
|
21182
|
-
if (!warned) {
|
|
21183
|
-
warned = true;
|
|
21184
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
21185
|
-
}
|
|
21186
|
-
};
|
|
21187
|
-
})();
|
|
21032
|
+
exports2.storage = "undefined" != typeof chrome && "undefined" != typeof chrome.storage ? chrome.storage.local : localstorage();
|
|
21188
21033
|
exports2.colors = [
|
|
21189
|
-
"
|
|
21190
|
-
"
|
|
21191
|
-
"
|
|
21192
|
-
"
|
|
21193
|
-
"
|
|
21194
|
-
"
|
|
21195
|
-
"#0099CC",
|
|
21196
|
-
"#0099FF",
|
|
21197
|
-
"#00CC00",
|
|
21198
|
-
"#00CC33",
|
|
21199
|
-
"#00CC66",
|
|
21200
|
-
"#00CC99",
|
|
21201
|
-
"#00CCCC",
|
|
21202
|
-
"#00CCFF",
|
|
21203
|
-
"#3300CC",
|
|
21204
|
-
"#3300FF",
|
|
21205
|
-
"#3333CC",
|
|
21206
|
-
"#3333FF",
|
|
21207
|
-
"#3366CC",
|
|
21208
|
-
"#3366FF",
|
|
21209
|
-
"#3399CC",
|
|
21210
|
-
"#3399FF",
|
|
21211
|
-
"#33CC00",
|
|
21212
|
-
"#33CC33",
|
|
21213
|
-
"#33CC66",
|
|
21214
|
-
"#33CC99",
|
|
21215
|
-
"#33CCCC",
|
|
21216
|
-
"#33CCFF",
|
|
21217
|
-
"#6600CC",
|
|
21218
|
-
"#6600FF",
|
|
21219
|
-
"#6633CC",
|
|
21220
|
-
"#6633FF",
|
|
21221
|
-
"#66CC00",
|
|
21222
|
-
"#66CC33",
|
|
21223
|
-
"#9900CC",
|
|
21224
|
-
"#9900FF",
|
|
21225
|
-
"#9933CC",
|
|
21226
|
-
"#9933FF",
|
|
21227
|
-
"#99CC00",
|
|
21228
|
-
"#99CC33",
|
|
21229
|
-
"#CC0000",
|
|
21230
|
-
"#CC0033",
|
|
21231
|
-
"#CC0066",
|
|
21232
|
-
"#CC0099",
|
|
21233
|
-
"#CC00CC",
|
|
21234
|
-
"#CC00FF",
|
|
21235
|
-
"#CC3300",
|
|
21236
|
-
"#CC3333",
|
|
21237
|
-
"#CC3366",
|
|
21238
|
-
"#CC3399",
|
|
21239
|
-
"#CC33CC",
|
|
21240
|
-
"#CC33FF",
|
|
21241
|
-
"#CC6600",
|
|
21242
|
-
"#CC6633",
|
|
21243
|
-
"#CC9900",
|
|
21244
|
-
"#CC9933",
|
|
21245
|
-
"#CCCC00",
|
|
21246
|
-
"#CCCC33",
|
|
21247
|
-
"#FF0000",
|
|
21248
|
-
"#FF0033",
|
|
21249
|
-
"#FF0066",
|
|
21250
|
-
"#FF0099",
|
|
21251
|
-
"#FF00CC",
|
|
21252
|
-
"#FF00FF",
|
|
21253
|
-
"#FF3300",
|
|
21254
|
-
"#FF3333",
|
|
21255
|
-
"#FF3366",
|
|
21256
|
-
"#FF3399",
|
|
21257
|
-
"#FF33CC",
|
|
21258
|
-
"#FF33FF",
|
|
21259
|
-
"#FF6600",
|
|
21260
|
-
"#FF6633",
|
|
21261
|
-
"#FF9900",
|
|
21262
|
-
"#FF9933",
|
|
21263
|
-
"#FFCC00",
|
|
21264
|
-
"#FFCC33"
|
|
21034
|
+
"lightseagreen",
|
|
21035
|
+
"forestgreen",
|
|
21036
|
+
"goldenrod",
|
|
21037
|
+
"dodgerblue",
|
|
21038
|
+
"darkorchid",
|
|
21039
|
+
"crimson"
|
|
21265
21040
|
];
|
|
21266
21041
|
function useColors() {
|
|
21267
|
-
if (typeof window !== "undefined" && window.process &&
|
|
21042
|
+
if (typeof window !== "undefined" && window.process && window.process.type === "renderer") {
|
|
21268
21043
|
return true;
|
|
21269
21044
|
}
|
|
21270
|
-
|
|
21271
|
-
|
|
21272
|
-
}
|
|
21273
|
-
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
21274
|
-
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
21045
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
|
|
21046
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
|
|
21275
21047
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
21276
|
-
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || //
|
|
21048
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
|
|
21277
21049
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
21278
21050
|
}
|
|
21279
|
-
function
|
|
21280
|
-
|
|
21281
|
-
|
|
21282
|
-
|
|
21051
|
+
exports2.formatters.j = function(v) {
|
|
21052
|
+
try {
|
|
21053
|
+
return JSON.stringify(v);
|
|
21054
|
+
} catch (err) {
|
|
21055
|
+
return "[UnexpectedJSONParseError]: " + err.message;
|
|
21283
21056
|
}
|
|
21284
|
-
|
|
21057
|
+
};
|
|
21058
|
+
function formatArgs(args2) {
|
|
21059
|
+
var useColors2 = this.useColors;
|
|
21060
|
+
args2[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args2[0] + (useColors2 ? "%c " : " ") + "+" + exports2.humanize(this.diff);
|
|
21061
|
+
if (!useColors2) return;
|
|
21062
|
+
var c = "color: " + this.color;
|
|
21285
21063
|
args2.splice(1, 0, c, "color: inherit");
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
-
args2[0].replace(/%[a-zA-Z%]/g, (match)
|
|
21289
|
-
if (
|
|
21290
|
-
return;
|
|
21291
|
-
}
|
|
21064
|
+
var index = 0;
|
|
21065
|
+
var lastC = 0;
|
|
21066
|
+
args2[0].replace(/%[a-zA-Z%]/g, function(match) {
|
|
21067
|
+
if ("%%" === match) return;
|
|
21292
21068
|
index++;
|
|
21293
|
-
if (
|
|
21069
|
+
if ("%c" === match) {
|
|
21294
21070
|
lastC = index;
|
|
21295
21071
|
}
|
|
21296
21072
|
});
|
|
21297
21073
|
args2.splice(lastC, 0, c);
|
|
21298
21074
|
}
|
|
21299
|
-
|
|
21300
|
-
|
|
21075
|
+
function log() {
|
|
21076
|
+
return "object" === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
21077
|
+
}
|
|
21301
21078
|
function save(namespaces) {
|
|
21302
21079
|
try {
|
|
21303
|
-
if (namespaces) {
|
|
21304
|
-
exports2.storage.setItem("debug", namespaces);
|
|
21305
|
-
} else {
|
|
21080
|
+
if (null == namespaces) {
|
|
21306
21081
|
exports2.storage.removeItem("debug");
|
|
21082
|
+
} else {
|
|
21083
|
+
exports2.storage.debug = namespaces;
|
|
21307
21084
|
}
|
|
21308
|
-
} catch (
|
|
21085
|
+
} catch (e) {
|
|
21309
21086
|
}
|
|
21310
21087
|
}
|
|
21311
21088
|
function load2() {
|
|
21312
|
-
|
|
21089
|
+
var r;
|
|
21313
21090
|
try {
|
|
21314
|
-
r = exports2.storage.
|
|
21315
|
-
} catch (
|
|
21091
|
+
r = exports2.storage.debug;
|
|
21092
|
+
} catch (e) {
|
|
21316
21093
|
}
|
|
21317
21094
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
21318
21095
|
r = process.env.DEBUG;
|
|
21319
21096
|
}
|
|
21320
21097
|
return r;
|
|
21321
21098
|
}
|
|
21099
|
+
exports2.enable(load2());
|
|
21322
21100
|
function localstorage() {
|
|
21323
21101
|
try {
|
|
21324
|
-
return localStorage;
|
|
21325
|
-
} catch (
|
|
21326
|
-
}
|
|
21327
|
-
}
|
|
21328
|
-
module2.exports = require_common2()(exports2);
|
|
21329
|
-
var { formatters } = module2.exports;
|
|
21330
|
-
formatters.j = function(v) {
|
|
21331
|
-
try {
|
|
21332
|
-
return JSON.stringify(v);
|
|
21333
|
-
} catch (error) {
|
|
21334
|
-
return "[UnexpectedJSONParseError]: " + error.message;
|
|
21335
|
-
}
|
|
21336
|
-
};
|
|
21337
|
-
}
|
|
21338
|
-
});
|
|
21339
|
-
|
|
21340
|
-
// ../../../node_modules/has-flag/index.js
|
|
21341
|
-
var require_has_flag = __commonJS({
|
|
21342
|
-
"../../../node_modules/has-flag/index.js"(exports2, module2) {
|
|
21343
|
-
"use strict";
|
|
21344
|
-
module2.exports = (flag, argv = process.argv) => {
|
|
21345
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
21346
|
-
const position = argv.indexOf(prefix + flag);
|
|
21347
|
-
const terminatorPosition = argv.indexOf("--");
|
|
21348
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
21349
|
-
};
|
|
21350
|
-
}
|
|
21351
|
-
});
|
|
21352
|
-
|
|
21353
|
-
// ../../../node_modules/supports-color/index.js
|
|
21354
|
-
var require_supports_color = __commonJS({
|
|
21355
|
-
"../../../node_modules/supports-color/index.js"(exports2, module2) {
|
|
21356
|
-
"use strict";
|
|
21357
|
-
var os3 = require("os");
|
|
21358
|
-
var tty2 = require("tty");
|
|
21359
|
-
var hasFlag2 = require_has_flag();
|
|
21360
|
-
var { env: env2 } = process;
|
|
21361
|
-
var forceColor;
|
|
21362
|
-
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
|
|
21363
|
-
forceColor = 0;
|
|
21364
|
-
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
21365
|
-
forceColor = 1;
|
|
21366
|
-
}
|
|
21367
|
-
if ("FORCE_COLOR" in env2) {
|
|
21368
|
-
if (env2.FORCE_COLOR === "true") {
|
|
21369
|
-
forceColor = 1;
|
|
21370
|
-
} else if (env2.FORCE_COLOR === "false") {
|
|
21371
|
-
forceColor = 0;
|
|
21372
|
-
} else {
|
|
21373
|
-
forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
|
|
21374
|
-
}
|
|
21375
|
-
}
|
|
21376
|
-
function translateLevel2(level) {
|
|
21377
|
-
if (level === 0) {
|
|
21378
|
-
return false;
|
|
21379
|
-
}
|
|
21380
|
-
return {
|
|
21381
|
-
level,
|
|
21382
|
-
hasBasic: true,
|
|
21383
|
-
has256: level >= 2,
|
|
21384
|
-
has16m: level >= 3
|
|
21385
|
-
};
|
|
21386
|
-
}
|
|
21387
|
-
function supportsColor2(haveStream, streamIsTTY) {
|
|
21388
|
-
if (forceColor === 0) {
|
|
21389
|
-
return 0;
|
|
21390
|
-
}
|
|
21391
|
-
if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
|
|
21392
|
-
return 3;
|
|
21393
|
-
}
|
|
21394
|
-
if (hasFlag2("color=256")) {
|
|
21395
|
-
return 2;
|
|
21396
|
-
}
|
|
21397
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
21398
|
-
return 0;
|
|
21399
|
-
}
|
|
21400
|
-
const min = forceColor || 0;
|
|
21401
|
-
if (env2.TERM === "dumb") {
|
|
21402
|
-
return min;
|
|
21403
|
-
}
|
|
21404
|
-
if (process.platform === "win32") {
|
|
21405
|
-
const osRelease = os3.release().split(".");
|
|
21406
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
21407
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
21408
|
-
}
|
|
21409
|
-
return 1;
|
|
21410
|
-
}
|
|
21411
|
-
if ("CI" in env2) {
|
|
21412
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
|
|
21413
|
-
return 1;
|
|
21414
|
-
}
|
|
21415
|
-
return min;
|
|
21416
|
-
}
|
|
21417
|
-
if ("TEAMCITY_VERSION" in env2) {
|
|
21418
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
21419
|
-
}
|
|
21420
|
-
if (env2.COLORTERM === "truecolor") {
|
|
21421
|
-
return 3;
|
|
21422
|
-
}
|
|
21423
|
-
if ("TERM_PROGRAM" in env2) {
|
|
21424
|
-
const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
21425
|
-
switch (env2.TERM_PROGRAM) {
|
|
21426
|
-
case "iTerm.app":
|
|
21427
|
-
return version >= 3 ? 3 : 2;
|
|
21428
|
-
case "Apple_Terminal":
|
|
21429
|
-
return 2;
|
|
21430
|
-
}
|
|
21431
|
-
}
|
|
21432
|
-
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
21433
|
-
return 2;
|
|
21434
|
-
}
|
|
21435
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
21436
|
-
return 1;
|
|
21437
|
-
}
|
|
21438
|
-
if ("COLORTERM" in env2) {
|
|
21439
|
-
return 1;
|
|
21102
|
+
return window.localStorage;
|
|
21103
|
+
} catch (e) {
|
|
21440
21104
|
}
|
|
21441
|
-
return min;
|
|
21442
|
-
}
|
|
21443
|
-
function getSupportLevel(stream4) {
|
|
21444
|
-
const level = supportsColor2(stream4, stream4 && stream4.isTTY);
|
|
21445
|
-
return translateLevel2(level);
|
|
21446
21105
|
}
|
|
21447
|
-
module2.exports = {
|
|
21448
|
-
supportsColor: getSupportLevel,
|
|
21449
|
-
stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
|
|
21450
|
-
stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
|
|
21451
|
-
};
|
|
21452
21106
|
}
|
|
21453
21107
|
});
|
|
21454
21108
|
|
|
21455
21109
|
// ../../../node_modules/debug/src/node.js
|
|
21456
21110
|
var require_node = __commonJS({
|
|
21457
21111
|
"../../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
21458
|
-
var
|
|
21112
|
+
var tty3 = require("tty");
|
|
21459
21113
|
var util3 = require("util");
|
|
21114
|
+
exports2 = module2.exports = require_debug();
|
|
21460
21115
|
exports2.init = init;
|
|
21461
21116
|
exports2.log = log;
|
|
21462
21117
|
exports2.formatArgs = formatArgs;
|
|
21463
21118
|
exports2.save = save;
|
|
21464
21119
|
exports2.load = load2;
|
|
21465
21120
|
exports2.useColors = useColors;
|
|
21466
|
-
exports2.destroy = util3.deprecate(
|
|
21467
|
-
() => {
|
|
21468
|
-
},
|
|
21469
|
-
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
21470
|
-
);
|
|
21471
21121
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
21472
|
-
|
|
21473
|
-
const supportsColor2 = require_supports_color();
|
|
21474
|
-
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
21475
|
-
exports2.colors = [
|
|
21476
|
-
20,
|
|
21477
|
-
21,
|
|
21478
|
-
26,
|
|
21479
|
-
27,
|
|
21480
|
-
32,
|
|
21481
|
-
33,
|
|
21482
|
-
38,
|
|
21483
|
-
39,
|
|
21484
|
-
40,
|
|
21485
|
-
41,
|
|
21486
|
-
42,
|
|
21487
|
-
43,
|
|
21488
|
-
44,
|
|
21489
|
-
45,
|
|
21490
|
-
56,
|
|
21491
|
-
57,
|
|
21492
|
-
62,
|
|
21493
|
-
63,
|
|
21494
|
-
68,
|
|
21495
|
-
69,
|
|
21496
|
-
74,
|
|
21497
|
-
75,
|
|
21498
|
-
76,
|
|
21499
|
-
77,
|
|
21500
|
-
78,
|
|
21501
|
-
79,
|
|
21502
|
-
80,
|
|
21503
|
-
81,
|
|
21504
|
-
92,
|
|
21505
|
-
93,
|
|
21506
|
-
98,
|
|
21507
|
-
99,
|
|
21508
|
-
112,
|
|
21509
|
-
113,
|
|
21510
|
-
128,
|
|
21511
|
-
129,
|
|
21512
|
-
134,
|
|
21513
|
-
135,
|
|
21514
|
-
148,
|
|
21515
|
-
149,
|
|
21516
|
-
160,
|
|
21517
|
-
161,
|
|
21518
|
-
162,
|
|
21519
|
-
163,
|
|
21520
|
-
164,
|
|
21521
|
-
165,
|
|
21522
|
-
166,
|
|
21523
|
-
167,
|
|
21524
|
-
168,
|
|
21525
|
-
169,
|
|
21526
|
-
170,
|
|
21527
|
-
171,
|
|
21528
|
-
172,
|
|
21529
|
-
173,
|
|
21530
|
-
178,
|
|
21531
|
-
179,
|
|
21532
|
-
184,
|
|
21533
|
-
185,
|
|
21534
|
-
196,
|
|
21535
|
-
197,
|
|
21536
|
-
198,
|
|
21537
|
-
199,
|
|
21538
|
-
200,
|
|
21539
|
-
201,
|
|
21540
|
-
202,
|
|
21541
|
-
203,
|
|
21542
|
-
204,
|
|
21543
|
-
205,
|
|
21544
|
-
206,
|
|
21545
|
-
207,
|
|
21546
|
-
208,
|
|
21547
|
-
209,
|
|
21548
|
-
214,
|
|
21549
|
-
215,
|
|
21550
|
-
220,
|
|
21551
|
-
221
|
|
21552
|
-
];
|
|
21553
|
-
}
|
|
21554
|
-
} catch (error) {
|
|
21555
|
-
}
|
|
21556
|
-
exports2.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
21122
|
+
exports2.inspectOpts = Object.keys(process.env).filter(function(key) {
|
|
21557
21123
|
return /^debug_/i.test(key);
|
|
21558
|
-
}).reduce((obj, key)
|
|
21559
|
-
|
|
21124
|
+
}).reduce(function(obj, key) {
|
|
21125
|
+
var prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, function(_, k) {
|
|
21560
21126
|
return k.toUpperCase();
|
|
21561
21127
|
});
|
|
21562
|
-
|
|
21563
|
-
if (/^(yes|on|true|enabled)$/i.test(val))
|
|
21564
|
-
|
|
21565
|
-
|
|
21566
|
-
|
|
21567
|
-
} else if (val === "null") {
|
|
21568
|
-
val = null;
|
|
21569
|
-
} else {
|
|
21570
|
-
val = Number(val);
|
|
21571
|
-
}
|
|
21128
|
+
var val = process.env[key];
|
|
21129
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) val = true;
|
|
21130
|
+
else if (/^(no|off|false|disabled)$/i.test(val)) val = false;
|
|
21131
|
+
else if (val === "null") val = null;
|
|
21132
|
+
else val = Number(val);
|
|
21572
21133
|
obj[prop] = val;
|
|
21573
21134
|
return obj;
|
|
21574
21135
|
}, {});
|
|
21136
|
+
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
|
|
21137
|
+
if (1 !== fd && 2 !== fd) {
|
|
21138
|
+
util3.deprecate(function() {
|
|
21139
|
+
}, "except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();
|
|
21140
|
+
}
|
|
21141
|
+
var stream4 = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
|
|
21575
21142
|
function useColors() {
|
|
21576
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
21143
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(fd);
|
|
21577
21144
|
}
|
|
21145
|
+
exports2.formatters.o = function(v) {
|
|
21146
|
+
this.inspectOpts.colors = this.useColors;
|
|
21147
|
+
return util3.inspect(v, this.inspectOpts).split("\n").map(function(str) {
|
|
21148
|
+
return str.trim();
|
|
21149
|
+
}).join(" ");
|
|
21150
|
+
};
|
|
21151
|
+
exports2.formatters.O = function(v) {
|
|
21152
|
+
this.inspectOpts.colors = this.useColors;
|
|
21153
|
+
return util3.inspect(v, this.inspectOpts);
|
|
21154
|
+
};
|
|
21578
21155
|
function formatArgs(args2) {
|
|
21579
|
-
|
|
21156
|
+
var name = this.namespace;
|
|
21157
|
+
var useColors2 = this.useColors;
|
|
21580
21158
|
if (useColors2) {
|
|
21581
|
-
|
|
21582
|
-
|
|
21583
|
-
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
21159
|
+
var c = this.color;
|
|
21160
|
+
var prefix = " \x1B[3" + c + ";1m" + name + " \x1B[0m";
|
|
21584
21161
|
args2[0] = prefix + args2[0].split("\n").join("\n" + prefix);
|
|
21585
|
-
args2.push(
|
|
21162
|
+
args2.push("\x1B[3" + c + "m+" + exports2.humanize(this.diff) + "\x1B[0m");
|
|
21586
21163
|
} else {
|
|
21587
|
-
args2[0] =
|
|
21588
|
-
}
|
|
21589
|
-
}
|
|
21590
|
-
function getDate() {
|
|
21591
|
-
if (exports2.inspectOpts.hideDate) {
|
|
21592
|
-
return "";
|
|
21164
|
+
args2[0] = (/* @__PURE__ */ new Date()).toUTCString() + " " + name + " " + args2[0];
|
|
21593
21165
|
}
|
|
21594
|
-
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
21595
21166
|
}
|
|
21596
|
-
function log(
|
|
21597
|
-
return
|
|
21167
|
+
function log() {
|
|
21168
|
+
return stream4.write(util3.format.apply(util3, arguments) + "\n");
|
|
21598
21169
|
}
|
|
21599
21170
|
function save(namespaces) {
|
|
21600
|
-
if (namespaces) {
|
|
21601
|
-
process.env.DEBUG = namespaces;
|
|
21602
|
-
} else {
|
|
21171
|
+
if (null == namespaces) {
|
|
21603
21172
|
delete process.env.DEBUG;
|
|
21173
|
+
} else {
|
|
21174
|
+
process.env.DEBUG = namespaces;
|
|
21604
21175
|
}
|
|
21605
21176
|
}
|
|
21606
21177
|
function load2() {
|
|
21607
21178
|
return process.env.DEBUG;
|
|
21608
21179
|
}
|
|
21180
|
+
function createWritableStdioStream(fd2) {
|
|
21181
|
+
var stream5;
|
|
21182
|
+
var tty_wrap = process.binding("tty_wrap");
|
|
21183
|
+
switch (tty_wrap.guessHandleType(fd2)) {
|
|
21184
|
+
case "TTY":
|
|
21185
|
+
stream5 = new tty3.WriteStream(fd2);
|
|
21186
|
+
stream5._type = "tty";
|
|
21187
|
+
if (stream5._handle && stream5._handle.unref) {
|
|
21188
|
+
stream5._handle.unref();
|
|
21189
|
+
}
|
|
21190
|
+
break;
|
|
21191
|
+
case "FILE":
|
|
21192
|
+
var fs = require("fs");
|
|
21193
|
+
stream5 = new fs.SyncWriteStream(fd2, { autoClose: false });
|
|
21194
|
+
stream5._type = "fs";
|
|
21195
|
+
break;
|
|
21196
|
+
case "PIPE":
|
|
21197
|
+
case "TCP":
|
|
21198
|
+
var net = require("net");
|
|
21199
|
+
stream5 = new net.Socket({
|
|
21200
|
+
fd: fd2,
|
|
21201
|
+
readable: false,
|
|
21202
|
+
writable: true
|
|
21203
|
+
});
|
|
21204
|
+
stream5.readable = false;
|
|
21205
|
+
stream5.read = null;
|
|
21206
|
+
stream5._type = "pipe";
|
|
21207
|
+
if (stream5._handle && stream5._handle.unref) {
|
|
21208
|
+
stream5._handle.unref();
|
|
21209
|
+
}
|
|
21210
|
+
break;
|
|
21211
|
+
default:
|
|
21212
|
+
throw new Error("Implement me. Unknown stream file type!");
|
|
21213
|
+
}
|
|
21214
|
+
stream5.fd = fd2;
|
|
21215
|
+
stream5._isStdio = true;
|
|
21216
|
+
return stream5;
|
|
21217
|
+
}
|
|
21609
21218
|
function init(debug) {
|
|
21610
21219
|
debug.inspectOpts = {};
|
|
21611
|
-
|
|
21612
|
-
for (
|
|
21220
|
+
var keys = Object.keys(exports2.inspectOpts);
|
|
21221
|
+
for (var i = 0; i < keys.length; i++) {
|
|
21613
21222
|
debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
21614
21223
|
}
|
|
21615
21224
|
}
|
|
21616
|
-
|
|
21617
|
-
var { formatters } = module2.exports;
|
|
21618
|
-
formatters.o = function(v) {
|
|
21619
|
-
this.inspectOpts.colors = this.useColors;
|
|
21620
|
-
return util3.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
21621
|
-
};
|
|
21622
|
-
formatters.O = function(v) {
|
|
21623
|
-
this.inspectOpts.colors = this.useColors;
|
|
21624
|
-
return util3.inspect(v, this.inspectOpts);
|
|
21625
|
-
};
|
|
21225
|
+
exports2.enable(load2());
|
|
21626
21226
|
}
|
|
21627
21227
|
});
|
|
21628
21228
|
|
|
21629
21229
|
// ../../../node_modules/debug/src/index.js
|
|
21630
21230
|
var require_src = __commonJS({
|
|
21631
21231
|
"../../../node_modules/debug/src/index.js"(exports2, module2) {
|
|
21632
|
-
if (typeof process
|
|
21232
|
+
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
21633
21233
|
module2.exports = require_browser();
|
|
21634
21234
|
} else {
|
|
21635
21235
|
module2.exports = require_node();
|
|
@@ -21638,7 +21238,7 @@ var require_src = __commonJS({
|
|
|
21638
21238
|
});
|
|
21639
21239
|
|
|
21640
21240
|
// ../../../node_modules/follow-redirects/debug.js
|
|
21641
|
-
var
|
|
21241
|
+
var require_debug2 = __commonJS({
|
|
21642
21242
|
"../../../node_modules/follow-redirects/debug.js"(exports2, module2) {
|
|
21643
21243
|
var debug;
|
|
21644
21244
|
module2.exports = function() {
|
|
@@ -21662,14 +21262,22 @@ var require_follow_redirects = __commonJS({
|
|
|
21662
21262
|
"../../../node_modules/follow-redirects/index.js"(exports2, module2) {
|
|
21663
21263
|
var url2 = require("url");
|
|
21664
21264
|
var URL2 = url2.URL;
|
|
21665
|
-
var
|
|
21265
|
+
var http3 = require("http");
|
|
21666
21266
|
var https2 = require("https");
|
|
21667
21267
|
var Writable2 = require("stream").Writable;
|
|
21668
21268
|
var assert = require("assert");
|
|
21669
|
-
var debug =
|
|
21269
|
+
var debug = require_debug2();
|
|
21270
|
+
(function detectUnsupportedEnvironment() {
|
|
21271
|
+
var looksLikeNode = typeof process !== "undefined";
|
|
21272
|
+
var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
|
|
21273
|
+
var looksLikeV8 = isFunction3(Error.captureStackTrace);
|
|
21274
|
+
if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
|
|
21275
|
+
console.warn("The follow-redirects package should be excluded from browser builds.");
|
|
21276
|
+
}
|
|
21277
|
+
})();
|
|
21670
21278
|
var useNativeURL = false;
|
|
21671
21279
|
try {
|
|
21672
|
-
assert(new URL2());
|
|
21280
|
+
assert(new URL2(""));
|
|
21673
21281
|
} catch (error) {
|
|
21674
21282
|
useNativeURL = error.code === "ERR_INVALID_URL";
|
|
21675
21283
|
}
|
|
@@ -21757,7 +21365,7 @@ var require_follow_redirects = __commonJS({
|
|
|
21757
21365
|
if (!isString2(data) && !isBuffer2(data)) {
|
|
21758
21366
|
throw new TypeError("data should be a string, Buffer or Uint8Array");
|
|
21759
21367
|
}
|
|
21760
|
-
if (
|
|
21368
|
+
if (isFunction3(encoding)) {
|
|
21761
21369
|
callback = encoding;
|
|
21762
21370
|
encoding = null;
|
|
21763
21371
|
}
|
|
@@ -21777,10 +21385,10 @@ var require_follow_redirects = __commonJS({
|
|
|
21777
21385
|
}
|
|
21778
21386
|
};
|
|
21779
21387
|
RedirectableRequest.prototype.end = function(data, encoding, callback) {
|
|
21780
|
-
if (
|
|
21388
|
+
if (isFunction3(data)) {
|
|
21781
21389
|
callback = data;
|
|
21782
21390
|
data = encoding = null;
|
|
21783
|
-
} else if (
|
|
21391
|
+
} else if (isFunction3(encoding)) {
|
|
21784
21392
|
callback = encoding;
|
|
21785
21393
|
encoding = null;
|
|
21786
21394
|
}
|
|
@@ -21981,7 +21589,7 @@ var require_follow_redirects = __commonJS({
|
|
|
21981
21589
|
if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
|
|
21982
21590
|
removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
|
|
21983
21591
|
}
|
|
21984
|
-
if (
|
|
21592
|
+
if (isFunction3(beforeRedirect)) {
|
|
21985
21593
|
var responseDetails = {
|
|
21986
21594
|
headers: response.headers,
|
|
21987
21595
|
statusCode
|
|
@@ -22016,7 +21624,7 @@ var require_follow_redirects = __commonJS({
|
|
|
22016
21624
|
options = validateUrl(input);
|
|
22017
21625
|
input = { protocol };
|
|
22018
21626
|
}
|
|
22019
|
-
if (
|
|
21627
|
+
if (isFunction3(options)) {
|
|
22020
21628
|
callback = options;
|
|
22021
21629
|
options = null;
|
|
22022
21630
|
}
|
|
@@ -22096,7 +21704,9 @@ var require_follow_redirects = __commonJS({
|
|
|
22096
21704
|
}
|
|
22097
21705
|
function createErrorType(code, message, baseClass) {
|
|
22098
21706
|
function CustomError(properties) {
|
|
22099
|
-
Error.captureStackTrace
|
|
21707
|
+
if (isFunction3(Error.captureStackTrace)) {
|
|
21708
|
+
Error.captureStackTrace(this, this.constructor);
|
|
21709
|
+
}
|
|
22100
21710
|
Object.assign(this, properties || {});
|
|
22101
21711
|
this.code = code;
|
|
22102
21712
|
this.message = this.cause ? message + ": " + this.cause.message : message;
|
|
@@ -22129,7 +21739,7 @@ var require_follow_redirects = __commonJS({
|
|
|
22129
21739
|
function isString2(value) {
|
|
22130
21740
|
return typeof value === "string" || value instanceof String;
|
|
22131
21741
|
}
|
|
22132
|
-
function
|
|
21742
|
+
function isFunction3(value) {
|
|
22133
21743
|
return typeof value === "function";
|
|
22134
21744
|
}
|
|
22135
21745
|
function isBuffer2(value) {
|
|
@@ -22138,7 +21748,7 @@ var require_follow_redirects = __commonJS({
|
|
|
22138
21748
|
function isURL(value) {
|
|
22139
21749
|
return URL2 && value instanceof URL2;
|
|
22140
21750
|
}
|
|
22141
|
-
module2.exports = wrap({ http:
|
|
21751
|
+
module2.exports = wrap({ http: http3, https: https2 });
|
|
22142
21752
|
module2.exports.wrap = wrap;
|
|
22143
21753
|
}
|
|
22144
21754
|
});
|
|
@@ -22188,7 +21798,7 @@ var import_path4 = require("path");
|
|
|
22188
21798
|
var import_promises2 = require("fs/promises");
|
|
22189
21799
|
|
|
22190
21800
|
// ../../../node_modules/ora/index.js
|
|
22191
|
-
var
|
|
21801
|
+
var import_node_process8 = __toESM(require("node:process"), 1);
|
|
22192
21802
|
|
|
22193
21803
|
// ../../../node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
22194
21804
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -22467,6 +22077,12 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
22467
22077
|
if (env.TERM === "xterm-kitty") {
|
|
22468
22078
|
return 3;
|
|
22469
22079
|
}
|
|
22080
|
+
if (env.TERM === "xterm-ghostty") {
|
|
22081
|
+
return 3;
|
|
22082
|
+
}
|
|
22083
|
+
if (env.TERM === "wezterm") {
|
|
22084
|
+
return 3;
|
|
22085
|
+
}
|
|
22470
22086
|
if ("TERM_PROGRAM" in env) {
|
|
22471
22087
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
22472
22088
|
switch (env.TERM_PROGRAM) {
|
|
@@ -22552,10 +22168,10 @@ var applyOptions = (object, options = {}) => {
|
|
|
22552
22168
|
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
22553
22169
|
};
|
|
22554
22170
|
var chalkFactory = (options) => {
|
|
22555
|
-
const
|
|
22556
|
-
applyOptions(
|
|
22557
|
-
Object.setPrototypeOf(
|
|
22558
|
-
return
|
|
22171
|
+
const chalk3 = (...strings) => strings.join(" ");
|
|
22172
|
+
applyOptions(chalk3, options);
|
|
22173
|
+
Object.setPrototypeOf(chalk3, createChalk.prototype);
|
|
22174
|
+
return chalk3;
|
|
22559
22175
|
};
|
|
22560
22176
|
function createChalk(options) {
|
|
22561
22177
|
return chalkFactory(options);
|
|
@@ -22787,7 +22403,7 @@ if (process.platform === "linux") {
|
|
|
22787
22403
|
}
|
|
22788
22404
|
|
|
22789
22405
|
// ../../../node_modules/ora/node_modules/signal-exit/dist/mjs/index.js
|
|
22790
|
-
var processOk = (
|
|
22406
|
+
var processOk = (process11) => !!process11 && typeof process11 === "object" && typeof process11.removeListener === "function" && typeof process11.emit === "function" && typeof process11.reallyExit === "function" && typeof process11.listeners === "function" && typeof process11.kill === "function" && typeof process11.pid === "number" && typeof process11.on === "function";
|
|
22791
22407
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
22792
22408
|
var global2 = globalThis;
|
|
22793
22409
|
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
@@ -22880,15 +22496,15 @@ var SignalExit = class extends SignalExitBase {
|
|
|
22880
22496
|
#originalProcessReallyExit;
|
|
22881
22497
|
#sigListeners = {};
|
|
22882
22498
|
#loaded = false;
|
|
22883
|
-
constructor(
|
|
22499
|
+
constructor(process11) {
|
|
22884
22500
|
super();
|
|
22885
|
-
this.#process =
|
|
22501
|
+
this.#process = process11;
|
|
22886
22502
|
this.#sigListeners = {};
|
|
22887
22503
|
for (const sig of signals) {
|
|
22888
22504
|
this.#sigListeners[sig] = () => {
|
|
22889
22505
|
const listeners = this.#process.listeners(sig);
|
|
22890
22506
|
let { count } = this.#emitter;
|
|
22891
|
-
const p =
|
|
22507
|
+
const p = process11;
|
|
22892
22508
|
if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
|
|
22893
22509
|
count += p.__signal_exit_emitter__.count;
|
|
22894
22510
|
}
|
|
@@ -22897,12 +22513,12 @@ var SignalExit = class extends SignalExitBase {
|
|
|
22897
22513
|
const ret = this.#emitter.emit("exit", null, sig);
|
|
22898
22514
|
const s = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
22899
22515
|
if (!ret)
|
|
22900
|
-
|
|
22516
|
+
process11.kill(process11.pid, s);
|
|
22901
22517
|
}
|
|
22902
22518
|
};
|
|
22903
22519
|
}
|
|
22904
|
-
this.#originalProcessReallyExit =
|
|
22905
|
-
this.#originalProcessEmit =
|
|
22520
|
+
this.#originalProcessReallyExit = process11.reallyExit;
|
|
22521
|
+
this.#originalProcessEmit = process11.emit;
|
|
22906
22522
|
}
|
|
22907
22523
|
onExit(cb, opts) {
|
|
22908
22524
|
if (!processOk(this.#process)) {
|
|
@@ -23030,63 +22646,558 @@ cliCursor.show = (writableStream = import_node_process3.default.stderr) => {
|
|
|
23030
22646
|
if (!writableStream.isTTY) {
|
|
23031
22647
|
return;
|
|
23032
22648
|
}
|
|
23033
|
-
isHidden = false;
|
|
23034
|
-
writableStream.write("\x1B[?25h");
|
|
22649
|
+
isHidden = false;
|
|
22650
|
+
writableStream.write("\x1B[?25h");
|
|
22651
|
+
};
|
|
22652
|
+
cliCursor.hide = (writableStream = import_node_process3.default.stderr) => {
|
|
22653
|
+
if (!writableStream.isTTY) {
|
|
22654
|
+
return;
|
|
22655
|
+
}
|
|
22656
|
+
restore_cursor_default();
|
|
22657
|
+
isHidden = true;
|
|
22658
|
+
writableStream.write("\x1B[?25l");
|
|
22659
|
+
};
|
|
22660
|
+
cliCursor.toggle = (force, writableStream) => {
|
|
22661
|
+
if (force !== void 0) {
|
|
22662
|
+
isHidden = force;
|
|
22663
|
+
}
|
|
22664
|
+
if (isHidden) {
|
|
22665
|
+
cliCursor.show(writableStream);
|
|
22666
|
+
} else {
|
|
22667
|
+
cliCursor.hide(writableStream);
|
|
22668
|
+
}
|
|
22669
|
+
};
|
|
22670
|
+
var cli_cursor_default = cliCursor;
|
|
22671
|
+
|
|
22672
|
+
// ../../../node_modules/ora/index.js
|
|
22673
|
+
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
22674
|
+
|
|
22675
|
+
// ../../../node_modules/log-symbols/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
22676
|
+
var ANSI_BACKGROUND_OFFSET2 = 10;
|
|
22677
|
+
var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
22678
|
+
var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
22679
|
+
var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
|
|
22680
|
+
var styles3 = {
|
|
22681
|
+
modifier: {
|
|
22682
|
+
reset: [0, 0],
|
|
22683
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
22684
|
+
bold: [1, 22],
|
|
22685
|
+
dim: [2, 22],
|
|
22686
|
+
italic: [3, 23],
|
|
22687
|
+
underline: [4, 24],
|
|
22688
|
+
overline: [53, 55],
|
|
22689
|
+
inverse: [7, 27],
|
|
22690
|
+
hidden: [8, 28],
|
|
22691
|
+
strikethrough: [9, 29]
|
|
22692
|
+
},
|
|
22693
|
+
color: {
|
|
22694
|
+
black: [30, 39],
|
|
22695
|
+
red: [31, 39],
|
|
22696
|
+
green: [32, 39],
|
|
22697
|
+
yellow: [33, 39],
|
|
22698
|
+
blue: [34, 39],
|
|
22699
|
+
magenta: [35, 39],
|
|
22700
|
+
cyan: [36, 39],
|
|
22701
|
+
white: [37, 39],
|
|
22702
|
+
// Bright color
|
|
22703
|
+
blackBright: [90, 39],
|
|
22704
|
+
gray: [90, 39],
|
|
22705
|
+
// Alias of `blackBright`
|
|
22706
|
+
grey: [90, 39],
|
|
22707
|
+
// Alias of `blackBright`
|
|
22708
|
+
redBright: [91, 39],
|
|
22709
|
+
greenBright: [92, 39],
|
|
22710
|
+
yellowBright: [93, 39],
|
|
22711
|
+
blueBright: [94, 39],
|
|
22712
|
+
magentaBright: [95, 39],
|
|
22713
|
+
cyanBright: [96, 39],
|
|
22714
|
+
whiteBright: [97, 39]
|
|
22715
|
+
},
|
|
22716
|
+
bgColor: {
|
|
22717
|
+
bgBlack: [40, 49],
|
|
22718
|
+
bgRed: [41, 49],
|
|
22719
|
+
bgGreen: [42, 49],
|
|
22720
|
+
bgYellow: [43, 49],
|
|
22721
|
+
bgBlue: [44, 49],
|
|
22722
|
+
bgMagenta: [45, 49],
|
|
22723
|
+
bgCyan: [46, 49],
|
|
22724
|
+
bgWhite: [47, 49],
|
|
22725
|
+
// Bright color
|
|
22726
|
+
bgBlackBright: [100, 49],
|
|
22727
|
+
bgGray: [100, 49],
|
|
22728
|
+
// Alias of `bgBlackBright`
|
|
22729
|
+
bgGrey: [100, 49],
|
|
22730
|
+
// Alias of `bgBlackBright`
|
|
22731
|
+
bgRedBright: [101, 49],
|
|
22732
|
+
bgGreenBright: [102, 49],
|
|
22733
|
+
bgYellowBright: [103, 49],
|
|
22734
|
+
bgBlueBright: [104, 49],
|
|
22735
|
+
bgMagentaBright: [105, 49],
|
|
22736
|
+
bgCyanBright: [106, 49],
|
|
22737
|
+
bgWhiteBright: [107, 49]
|
|
22738
|
+
}
|
|
22739
|
+
};
|
|
22740
|
+
var modifierNames2 = Object.keys(styles3.modifier);
|
|
22741
|
+
var foregroundColorNames2 = Object.keys(styles3.color);
|
|
22742
|
+
var backgroundColorNames2 = Object.keys(styles3.bgColor);
|
|
22743
|
+
var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
|
|
22744
|
+
function assembleStyles2() {
|
|
22745
|
+
const codes = /* @__PURE__ */ new Map();
|
|
22746
|
+
for (const [groupName, group] of Object.entries(styles3)) {
|
|
22747
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
22748
|
+
styles3[styleName] = {
|
|
22749
|
+
open: `\x1B[${style[0]}m`,
|
|
22750
|
+
close: `\x1B[${style[1]}m`
|
|
22751
|
+
};
|
|
22752
|
+
group[styleName] = styles3[styleName];
|
|
22753
|
+
codes.set(style[0], style[1]);
|
|
22754
|
+
}
|
|
22755
|
+
Object.defineProperty(styles3, groupName, {
|
|
22756
|
+
value: group,
|
|
22757
|
+
enumerable: false
|
|
22758
|
+
});
|
|
22759
|
+
}
|
|
22760
|
+
Object.defineProperty(styles3, "codes", {
|
|
22761
|
+
value: codes,
|
|
22762
|
+
enumerable: false
|
|
22763
|
+
});
|
|
22764
|
+
styles3.color.close = "\x1B[39m";
|
|
22765
|
+
styles3.bgColor.close = "\x1B[49m";
|
|
22766
|
+
styles3.color.ansi = wrapAnsi162();
|
|
22767
|
+
styles3.color.ansi256 = wrapAnsi2562();
|
|
22768
|
+
styles3.color.ansi16m = wrapAnsi16m2();
|
|
22769
|
+
styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
|
|
22770
|
+
styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
|
|
22771
|
+
styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
|
|
22772
|
+
Object.defineProperties(styles3, {
|
|
22773
|
+
rgbToAnsi256: {
|
|
22774
|
+
value(red, green, blue) {
|
|
22775
|
+
if (red === green && green === blue) {
|
|
22776
|
+
if (red < 8) {
|
|
22777
|
+
return 16;
|
|
22778
|
+
}
|
|
22779
|
+
if (red > 248) {
|
|
22780
|
+
return 231;
|
|
22781
|
+
}
|
|
22782
|
+
return Math.round((red - 8) / 247 * 24) + 232;
|
|
22783
|
+
}
|
|
22784
|
+
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
|
|
22785
|
+
},
|
|
22786
|
+
enumerable: false
|
|
22787
|
+
},
|
|
22788
|
+
hexToRgb: {
|
|
22789
|
+
value(hex) {
|
|
22790
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
22791
|
+
if (!matches) {
|
|
22792
|
+
return [0, 0, 0];
|
|
22793
|
+
}
|
|
22794
|
+
let [colorString] = matches;
|
|
22795
|
+
if (colorString.length === 3) {
|
|
22796
|
+
colorString = [...colorString].map((character) => character + character).join("");
|
|
22797
|
+
}
|
|
22798
|
+
const integer = Number.parseInt(colorString, 16);
|
|
22799
|
+
return [
|
|
22800
|
+
/* eslint-disable no-bitwise */
|
|
22801
|
+
integer >> 16 & 255,
|
|
22802
|
+
integer >> 8 & 255,
|
|
22803
|
+
integer & 255
|
|
22804
|
+
/* eslint-enable no-bitwise */
|
|
22805
|
+
];
|
|
22806
|
+
},
|
|
22807
|
+
enumerable: false
|
|
22808
|
+
},
|
|
22809
|
+
hexToAnsi256: {
|
|
22810
|
+
value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
|
|
22811
|
+
enumerable: false
|
|
22812
|
+
},
|
|
22813
|
+
ansi256ToAnsi: {
|
|
22814
|
+
value(code) {
|
|
22815
|
+
if (code < 8) {
|
|
22816
|
+
return 30 + code;
|
|
22817
|
+
}
|
|
22818
|
+
if (code < 16) {
|
|
22819
|
+
return 90 + (code - 8);
|
|
22820
|
+
}
|
|
22821
|
+
let red;
|
|
22822
|
+
let green;
|
|
22823
|
+
let blue;
|
|
22824
|
+
if (code >= 232) {
|
|
22825
|
+
red = ((code - 232) * 10 + 8) / 255;
|
|
22826
|
+
green = red;
|
|
22827
|
+
blue = red;
|
|
22828
|
+
} else {
|
|
22829
|
+
code -= 16;
|
|
22830
|
+
const remainder = code % 36;
|
|
22831
|
+
red = Math.floor(code / 36) / 5;
|
|
22832
|
+
green = Math.floor(remainder / 6) / 5;
|
|
22833
|
+
blue = remainder % 6 / 5;
|
|
22834
|
+
}
|
|
22835
|
+
const value = Math.max(red, green, blue) * 2;
|
|
22836
|
+
if (value === 0) {
|
|
22837
|
+
return 30;
|
|
22838
|
+
}
|
|
22839
|
+
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
|
|
22840
|
+
if (value === 2) {
|
|
22841
|
+
result += 60;
|
|
22842
|
+
}
|
|
22843
|
+
return result;
|
|
22844
|
+
},
|
|
22845
|
+
enumerable: false
|
|
22846
|
+
},
|
|
22847
|
+
rgbToAnsi: {
|
|
22848
|
+
value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
|
|
22849
|
+
enumerable: false
|
|
22850
|
+
},
|
|
22851
|
+
hexToAnsi: {
|
|
22852
|
+
value: (hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)),
|
|
22853
|
+
enumerable: false
|
|
22854
|
+
}
|
|
22855
|
+
});
|
|
22856
|
+
return styles3;
|
|
22857
|
+
}
|
|
22858
|
+
var ansiStyles2 = assembleStyles2();
|
|
22859
|
+
var ansi_styles_default2 = ansiStyles2;
|
|
22860
|
+
|
|
22861
|
+
// ../../../node_modules/log-symbols/node_modules/chalk/source/vendor/supports-color/index.js
|
|
22862
|
+
var import_node_process4 = __toESM(require("node:process"), 1);
|
|
22863
|
+
var import_node_os2 = __toESM(require("node:os"), 1);
|
|
22864
|
+
var import_node_tty2 = __toESM(require("node:tty"), 1);
|
|
22865
|
+
function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process4.default.argv) {
|
|
22866
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
22867
|
+
const position = argv.indexOf(prefix + flag);
|
|
22868
|
+
const terminatorPosition = argv.indexOf("--");
|
|
22869
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
22870
|
+
}
|
|
22871
|
+
var { env: env2 } = import_node_process4.default;
|
|
22872
|
+
var flagForceColor2;
|
|
22873
|
+
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
|
|
22874
|
+
flagForceColor2 = 0;
|
|
22875
|
+
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
22876
|
+
flagForceColor2 = 1;
|
|
22877
|
+
}
|
|
22878
|
+
function envForceColor2() {
|
|
22879
|
+
if ("FORCE_COLOR" in env2) {
|
|
22880
|
+
if (env2.FORCE_COLOR === "true") {
|
|
22881
|
+
return 1;
|
|
22882
|
+
}
|
|
22883
|
+
if (env2.FORCE_COLOR === "false") {
|
|
22884
|
+
return 0;
|
|
22885
|
+
}
|
|
22886
|
+
return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
|
|
22887
|
+
}
|
|
22888
|
+
}
|
|
22889
|
+
function translateLevel2(level) {
|
|
22890
|
+
if (level === 0) {
|
|
22891
|
+
return false;
|
|
22892
|
+
}
|
|
22893
|
+
return {
|
|
22894
|
+
level,
|
|
22895
|
+
hasBasic: true,
|
|
22896
|
+
has256: level >= 2,
|
|
22897
|
+
has16m: level >= 3
|
|
22898
|
+
};
|
|
22899
|
+
}
|
|
22900
|
+
function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
22901
|
+
const noFlagForceColor = envForceColor2();
|
|
22902
|
+
if (noFlagForceColor !== void 0) {
|
|
22903
|
+
flagForceColor2 = noFlagForceColor;
|
|
22904
|
+
}
|
|
22905
|
+
const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
|
|
22906
|
+
if (forceColor === 0) {
|
|
22907
|
+
return 0;
|
|
22908
|
+
}
|
|
22909
|
+
if (sniffFlags) {
|
|
22910
|
+
if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
|
|
22911
|
+
return 3;
|
|
22912
|
+
}
|
|
22913
|
+
if (hasFlag2("color=256")) {
|
|
22914
|
+
return 2;
|
|
22915
|
+
}
|
|
22916
|
+
}
|
|
22917
|
+
if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
|
|
22918
|
+
return 1;
|
|
22919
|
+
}
|
|
22920
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
22921
|
+
return 0;
|
|
22922
|
+
}
|
|
22923
|
+
const min = forceColor || 0;
|
|
22924
|
+
if (env2.TERM === "dumb") {
|
|
22925
|
+
return min;
|
|
22926
|
+
}
|
|
22927
|
+
if (import_node_process4.default.platform === "win32") {
|
|
22928
|
+
const osRelease = import_node_os2.default.release().split(".");
|
|
22929
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
22930
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
22931
|
+
}
|
|
22932
|
+
return 1;
|
|
22933
|
+
}
|
|
22934
|
+
if ("CI" in env2) {
|
|
22935
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
|
|
22936
|
+
return 3;
|
|
22937
|
+
}
|
|
22938
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
|
|
22939
|
+
return 1;
|
|
22940
|
+
}
|
|
22941
|
+
return min;
|
|
22942
|
+
}
|
|
22943
|
+
if ("TEAMCITY_VERSION" in env2) {
|
|
22944
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
22945
|
+
}
|
|
22946
|
+
if (env2.COLORTERM === "truecolor") {
|
|
22947
|
+
return 3;
|
|
22948
|
+
}
|
|
22949
|
+
if (env2.TERM === "xterm-kitty") {
|
|
22950
|
+
return 3;
|
|
22951
|
+
}
|
|
22952
|
+
if (env2.TERM === "xterm-ghostty") {
|
|
22953
|
+
return 3;
|
|
22954
|
+
}
|
|
22955
|
+
if (env2.TERM === "wezterm") {
|
|
22956
|
+
return 3;
|
|
22957
|
+
}
|
|
22958
|
+
if ("TERM_PROGRAM" in env2) {
|
|
22959
|
+
const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
22960
|
+
switch (env2.TERM_PROGRAM) {
|
|
22961
|
+
case "iTerm.app": {
|
|
22962
|
+
return version >= 3 ? 3 : 2;
|
|
22963
|
+
}
|
|
22964
|
+
case "Apple_Terminal": {
|
|
22965
|
+
return 2;
|
|
22966
|
+
}
|
|
22967
|
+
}
|
|
22968
|
+
}
|
|
22969
|
+
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
22970
|
+
return 2;
|
|
22971
|
+
}
|
|
22972
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
22973
|
+
return 1;
|
|
22974
|
+
}
|
|
22975
|
+
if ("COLORTERM" in env2) {
|
|
22976
|
+
return 1;
|
|
22977
|
+
}
|
|
22978
|
+
return min;
|
|
22979
|
+
}
|
|
22980
|
+
function createSupportsColor2(stream4, options = {}) {
|
|
22981
|
+
const level = _supportsColor2(stream4, {
|
|
22982
|
+
streamIsTTY: stream4 && stream4.isTTY,
|
|
22983
|
+
...options
|
|
22984
|
+
});
|
|
22985
|
+
return translateLevel2(level);
|
|
22986
|
+
}
|
|
22987
|
+
var supportsColor2 = {
|
|
22988
|
+
stdout: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(1) }),
|
|
22989
|
+
stderr: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(2) })
|
|
22990
|
+
};
|
|
22991
|
+
var supports_color_default2 = supportsColor2;
|
|
22992
|
+
|
|
22993
|
+
// ../../../node_modules/log-symbols/node_modules/chalk/source/utilities.js
|
|
22994
|
+
function stringReplaceAll2(string, substring, replacer) {
|
|
22995
|
+
let index = string.indexOf(substring);
|
|
22996
|
+
if (index === -1) {
|
|
22997
|
+
return string;
|
|
22998
|
+
}
|
|
22999
|
+
const substringLength = substring.length;
|
|
23000
|
+
let endIndex = 0;
|
|
23001
|
+
let returnValue = "";
|
|
23002
|
+
do {
|
|
23003
|
+
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
23004
|
+
endIndex = index + substringLength;
|
|
23005
|
+
index = string.indexOf(substring, endIndex);
|
|
23006
|
+
} while (index !== -1);
|
|
23007
|
+
returnValue += string.slice(endIndex);
|
|
23008
|
+
return returnValue;
|
|
23009
|
+
}
|
|
23010
|
+
function stringEncaseCRLFWithFirstIndex2(string, prefix, postfix, index) {
|
|
23011
|
+
let endIndex = 0;
|
|
23012
|
+
let returnValue = "";
|
|
23013
|
+
do {
|
|
23014
|
+
const gotCR = string[index - 1] === "\r";
|
|
23015
|
+
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
23016
|
+
endIndex = index + 1;
|
|
23017
|
+
index = string.indexOf("\n", endIndex);
|
|
23018
|
+
} while (index !== -1);
|
|
23019
|
+
returnValue += string.slice(endIndex);
|
|
23020
|
+
return returnValue;
|
|
23021
|
+
}
|
|
23022
|
+
|
|
23023
|
+
// ../../../node_modules/log-symbols/node_modules/chalk/source/index.js
|
|
23024
|
+
var { stdout: stdoutColor2, stderr: stderrColor2 } = supports_color_default2;
|
|
23025
|
+
var GENERATOR2 = Symbol("GENERATOR");
|
|
23026
|
+
var STYLER2 = Symbol("STYLER");
|
|
23027
|
+
var IS_EMPTY2 = Symbol("IS_EMPTY");
|
|
23028
|
+
var levelMapping2 = [
|
|
23029
|
+
"ansi",
|
|
23030
|
+
"ansi",
|
|
23031
|
+
"ansi256",
|
|
23032
|
+
"ansi16m"
|
|
23033
|
+
];
|
|
23034
|
+
var styles4 = /* @__PURE__ */ Object.create(null);
|
|
23035
|
+
var applyOptions2 = (object, options = {}) => {
|
|
23036
|
+
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
23037
|
+
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
23038
|
+
}
|
|
23039
|
+
const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
|
|
23040
|
+
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
23041
|
+
};
|
|
23042
|
+
var chalkFactory2 = (options) => {
|
|
23043
|
+
const chalk3 = (...strings) => strings.join(" ");
|
|
23044
|
+
applyOptions2(chalk3, options);
|
|
23045
|
+
Object.setPrototypeOf(chalk3, createChalk2.prototype);
|
|
23046
|
+
return chalk3;
|
|
23047
|
+
};
|
|
23048
|
+
function createChalk2(options) {
|
|
23049
|
+
return chalkFactory2(options);
|
|
23050
|
+
}
|
|
23051
|
+
Object.setPrototypeOf(createChalk2.prototype, Function.prototype);
|
|
23052
|
+
for (const [styleName, style] of Object.entries(ansi_styles_default2)) {
|
|
23053
|
+
styles4[styleName] = {
|
|
23054
|
+
get() {
|
|
23055
|
+
const builder = createBuilder2(this, createStyler2(style.open, style.close, this[STYLER2]), this[IS_EMPTY2]);
|
|
23056
|
+
Object.defineProperty(this, styleName, { value: builder });
|
|
23057
|
+
return builder;
|
|
23058
|
+
}
|
|
23059
|
+
};
|
|
23060
|
+
}
|
|
23061
|
+
styles4.visible = {
|
|
23062
|
+
get() {
|
|
23063
|
+
const builder = createBuilder2(this, this[STYLER2], true);
|
|
23064
|
+
Object.defineProperty(this, "visible", { value: builder });
|
|
23065
|
+
return builder;
|
|
23066
|
+
}
|
|
23035
23067
|
};
|
|
23036
|
-
|
|
23037
|
-
if (
|
|
23038
|
-
|
|
23068
|
+
var getModelAnsi2 = (model, level, type, ...arguments_) => {
|
|
23069
|
+
if (model === "rgb") {
|
|
23070
|
+
if (level === "ansi16m") {
|
|
23071
|
+
return ansi_styles_default2[type].ansi16m(...arguments_);
|
|
23072
|
+
}
|
|
23073
|
+
if (level === "ansi256") {
|
|
23074
|
+
return ansi_styles_default2[type].ansi256(ansi_styles_default2.rgbToAnsi256(...arguments_));
|
|
23075
|
+
}
|
|
23076
|
+
return ansi_styles_default2[type].ansi(ansi_styles_default2.rgbToAnsi(...arguments_));
|
|
23039
23077
|
}
|
|
23040
|
-
|
|
23041
|
-
|
|
23042
|
-
|
|
23078
|
+
if (model === "hex") {
|
|
23079
|
+
return getModelAnsi2("rgb", level, type, ...ansi_styles_default2.hexToRgb(...arguments_));
|
|
23080
|
+
}
|
|
23081
|
+
return ansi_styles_default2[type][model](...arguments_);
|
|
23043
23082
|
};
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23083
|
+
var usedModels2 = ["rgb", "hex", "ansi256"];
|
|
23084
|
+
for (const model of usedModels2) {
|
|
23085
|
+
styles4[model] = {
|
|
23086
|
+
get() {
|
|
23087
|
+
const { level } = this;
|
|
23088
|
+
return function(...arguments_) {
|
|
23089
|
+
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "color", ...arguments_), ansi_styles_default2.color.close, this[STYLER2]);
|
|
23090
|
+
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
23091
|
+
};
|
|
23092
|
+
}
|
|
23093
|
+
};
|
|
23094
|
+
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
23095
|
+
styles4[bgModel] = {
|
|
23096
|
+
get() {
|
|
23097
|
+
const { level } = this;
|
|
23098
|
+
return function(...arguments_) {
|
|
23099
|
+
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "bgColor", ...arguments_), ansi_styles_default2.bgColor.close, this[STYLER2]);
|
|
23100
|
+
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
23101
|
+
};
|
|
23102
|
+
}
|
|
23103
|
+
};
|
|
23104
|
+
}
|
|
23105
|
+
var proto2 = Object.defineProperties(() => {
|
|
23106
|
+
}, {
|
|
23107
|
+
...styles4,
|
|
23108
|
+
level: {
|
|
23109
|
+
enumerable: true,
|
|
23110
|
+
get() {
|
|
23111
|
+
return this[GENERATOR2].level;
|
|
23112
|
+
},
|
|
23113
|
+
set(level) {
|
|
23114
|
+
this[GENERATOR2].level = level;
|
|
23115
|
+
}
|
|
23047
23116
|
}
|
|
23048
|
-
|
|
23049
|
-
|
|
23117
|
+
});
|
|
23118
|
+
var createStyler2 = (open, close, parent) => {
|
|
23119
|
+
let openAll;
|
|
23120
|
+
let closeAll;
|
|
23121
|
+
if (parent === void 0) {
|
|
23122
|
+
openAll = open;
|
|
23123
|
+
closeAll = close;
|
|
23050
23124
|
} else {
|
|
23051
|
-
|
|
23125
|
+
openAll = parent.openAll + open;
|
|
23126
|
+
closeAll = close + parent.closeAll;
|
|
23127
|
+
}
|
|
23128
|
+
return {
|
|
23129
|
+
open,
|
|
23130
|
+
close,
|
|
23131
|
+
openAll,
|
|
23132
|
+
closeAll,
|
|
23133
|
+
parent
|
|
23134
|
+
};
|
|
23135
|
+
};
|
|
23136
|
+
var createBuilder2 = (self2, _styler, _isEmpty) => {
|
|
23137
|
+
const builder = (...arguments_) => applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
23138
|
+
Object.setPrototypeOf(builder, proto2);
|
|
23139
|
+
builder[GENERATOR2] = self2;
|
|
23140
|
+
builder[STYLER2] = _styler;
|
|
23141
|
+
builder[IS_EMPTY2] = _isEmpty;
|
|
23142
|
+
return builder;
|
|
23143
|
+
};
|
|
23144
|
+
var applyStyle2 = (self2, string) => {
|
|
23145
|
+
if (self2.level <= 0 || !string) {
|
|
23146
|
+
return self2[IS_EMPTY2] ? "" : string;
|
|
23147
|
+
}
|
|
23148
|
+
let styler = self2[STYLER2];
|
|
23149
|
+
if (styler === void 0) {
|
|
23150
|
+
return string;
|
|
23151
|
+
}
|
|
23152
|
+
const { openAll, closeAll } = styler;
|
|
23153
|
+
if (string.includes("\x1B")) {
|
|
23154
|
+
while (styler !== void 0) {
|
|
23155
|
+
string = stringReplaceAll2(string, styler.close, styler.open);
|
|
23156
|
+
styler = styler.parent;
|
|
23157
|
+
}
|
|
23158
|
+
}
|
|
23159
|
+
const lfIndex = string.indexOf("\n");
|
|
23160
|
+
if (lfIndex !== -1) {
|
|
23161
|
+
string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
|
|
23052
23162
|
}
|
|
23163
|
+
return openAll + string + closeAll;
|
|
23053
23164
|
};
|
|
23054
|
-
|
|
23055
|
-
|
|
23056
|
-
|
|
23057
|
-
var
|
|
23165
|
+
Object.defineProperties(createChalk2.prototype, styles4);
|
|
23166
|
+
var chalk2 = createChalk2();
|
|
23167
|
+
var chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
|
|
23168
|
+
var source_default2 = chalk2;
|
|
23058
23169
|
|
|
23059
|
-
// ../../../node_modules/
|
|
23060
|
-
var
|
|
23170
|
+
// ../../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
23171
|
+
var import_node_process5 = __toESM(require("node:process"), 1);
|
|
23061
23172
|
function isUnicodeSupported() {
|
|
23062
|
-
if (
|
|
23063
|
-
return
|
|
23173
|
+
if (import_node_process5.default.platform !== "win32") {
|
|
23174
|
+
return import_node_process5.default.env.TERM !== "linux";
|
|
23064
23175
|
}
|
|
23065
|
-
return Boolean(
|
|
23176
|
+
return Boolean(import_node_process5.default.env.CI) || Boolean(import_node_process5.default.env.WT_SESSION) || Boolean(import_node_process5.default.env.TERMINUS_SUBLIME) || import_node_process5.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process5.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process5.default.env.TERM_PROGRAM === "vscode" || import_node_process5.default.env.TERM === "xterm-256color" || import_node_process5.default.env.TERM === "alacritty" || import_node_process5.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
23066
23177
|
}
|
|
23067
23178
|
|
|
23068
|
-
// ../../../node_modules/
|
|
23179
|
+
// ../../../node_modules/log-symbols/index.js
|
|
23069
23180
|
var main = {
|
|
23070
|
-
info:
|
|
23071
|
-
success:
|
|
23072
|
-
warning:
|
|
23073
|
-
error:
|
|
23181
|
+
info: source_default2.blue("\u2139"),
|
|
23182
|
+
success: source_default2.green("\u2714"),
|
|
23183
|
+
warning: source_default2.yellow("\u26A0"),
|
|
23184
|
+
error: source_default2.red("\u2716")
|
|
23074
23185
|
};
|
|
23075
23186
|
var fallback = {
|
|
23076
|
-
info:
|
|
23077
|
-
success:
|
|
23078
|
-
warning:
|
|
23079
|
-
error:
|
|
23187
|
+
info: source_default2.blue("i"),
|
|
23188
|
+
success: source_default2.green("\u221A"),
|
|
23189
|
+
warning: source_default2.yellow("\u203C"),
|
|
23190
|
+
error: source_default2.red("\xD7")
|
|
23080
23191
|
};
|
|
23081
23192
|
var logSymbols = isUnicodeSupported() ? main : fallback;
|
|
23082
23193
|
var log_symbols_default = logSymbols;
|
|
23083
23194
|
|
|
23084
23195
|
// ../../../node_modules/ora/node_modules/ansi-regex/index.js
|
|
23085
23196
|
function ansiRegex({ onlyFirst = false } = {}) {
|
|
23086
|
-
const
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23197
|
+
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
23198
|
+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
23199
|
+
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
23200
|
+
const pattern = `${osc}|${csi}`;
|
|
23090
23201
|
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
23091
23202
|
}
|
|
23092
23203
|
|
|
@@ -23107,7 +23218,7 @@ function isFullWidth(x) {
|
|
|
23107
23218
|
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
23108
23219
|
}
|
|
23109
23220
|
function isWide(x) {
|
|
23110
|
-
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x
|
|
23221
|
+
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
23111
23222
|
}
|
|
23112
23223
|
|
|
23113
23224
|
// ../../../node_modules/get-east-asian-width/index.js
|
|
@@ -23180,19 +23291,19 @@ function isInteractive({ stream: stream4 = process.stdout } = {}) {
|
|
|
23180
23291
|
);
|
|
23181
23292
|
}
|
|
23182
23293
|
|
|
23183
|
-
// ../../../node_modules/
|
|
23184
|
-
var
|
|
23294
|
+
// ../../../node_modules/is-unicode-supported/index.js
|
|
23295
|
+
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
23185
23296
|
function isUnicodeSupported2() {
|
|
23186
|
-
const { env:
|
|
23187
|
-
const { TERM, TERM_PROGRAM } =
|
|
23188
|
-
if (
|
|
23297
|
+
const { env: env3 } = import_node_process6.default;
|
|
23298
|
+
const { TERM, TERM_PROGRAM } = env3;
|
|
23299
|
+
if (import_node_process6.default.platform !== "win32") {
|
|
23189
23300
|
return TERM !== "linux";
|
|
23190
23301
|
}
|
|
23191
|
-
return Boolean(
|
|
23302
|
+
return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
23192
23303
|
}
|
|
23193
23304
|
|
|
23194
23305
|
// ../../../node_modules/stdin-discarder/index.js
|
|
23195
|
-
var
|
|
23306
|
+
var import_node_process7 = __toESM(require("node:process"), 1);
|
|
23196
23307
|
var ASCII_ETX_CODE = 3;
|
|
23197
23308
|
var StdinDiscarder = class {
|
|
23198
23309
|
#activeCount = 0;
|
|
@@ -23212,24 +23323,24 @@ var StdinDiscarder = class {
|
|
|
23212
23323
|
}
|
|
23213
23324
|
}
|
|
23214
23325
|
#realStart() {
|
|
23215
|
-
if (
|
|
23326
|
+
if (import_node_process7.default.platform === "win32" || !import_node_process7.default.stdin.isTTY) {
|
|
23216
23327
|
return;
|
|
23217
23328
|
}
|
|
23218
|
-
|
|
23219
|
-
|
|
23220
|
-
|
|
23329
|
+
import_node_process7.default.stdin.setRawMode(true);
|
|
23330
|
+
import_node_process7.default.stdin.on("data", this.#handleInput);
|
|
23331
|
+
import_node_process7.default.stdin.resume();
|
|
23221
23332
|
}
|
|
23222
23333
|
#realStop() {
|
|
23223
|
-
if (!
|
|
23334
|
+
if (!import_node_process7.default.stdin.isTTY) {
|
|
23224
23335
|
return;
|
|
23225
23336
|
}
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
|
|
23337
|
+
import_node_process7.default.stdin.off("data", this.#handleInput);
|
|
23338
|
+
import_node_process7.default.stdin.pause();
|
|
23339
|
+
import_node_process7.default.stdin.setRawMode(false);
|
|
23229
23340
|
}
|
|
23230
23341
|
#handleInput(chunk) {
|
|
23231
23342
|
if (chunk[0] === ASCII_ETX_CODE) {
|
|
23232
|
-
|
|
23343
|
+
import_node_process7.default.emit("SIGINT");
|
|
23233
23344
|
}
|
|
23234
23345
|
}
|
|
23235
23346
|
};
|
|
@@ -23264,7 +23375,7 @@ var Ora = class {
|
|
|
23264
23375
|
}
|
|
23265
23376
|
this.#options = {
|
|
23266
23377
|
color: "cyan",
|
|
23267
|
-
stream:
|
|
23378
|
+
stream: import_node_process8.default.stderr,
|
|
23268
23379
|
discardStdin: true,
|
|
23269
23380
|
hideCursor: true,
|
|
23270
23381
|
...options
|
|
@@ -23279,7 +23390,7 @@ var Ora = class {
|
|
|
23279
23390
|
this.prefixText = this.#options.prefixText;
|
|
23280
23391
|
this.suffixText = this.#options.suffixText;
|
|
23281
23392
|
this.indent = this.#options.indent;
|
|
23282
|
-
if (
|
|
23393
|
+
if (import_node_process8.default.env.NODE_ENV === "test") {
|
|
23283
23394
|
this._stream = this.#stream;
|
|
23284
23395
|
this._isEnabled = this.#isEnabled;
|
|
23285
23396
|
Object.defineProperty(this, "_linesToClear", {
|
|
@@ -23469,7 +23580,7 @@ var Ora = class {
|
|
|
23469
23580
|
if (this.#options.hideCursor) {
|
|
23470
23581
|
cli_cursor_default.hide(this.#stream);
|
|
23471
23582
|
}
|
|
23472
|
-
if (this.#options.discardStdin &&
|
|
23583
|
+
if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY) {
|
|
23473
23584
|
this.#isDiscardingStdin = true;
|
|
23474
23585
|
stdin_discarder_default.start();
|
|
23475
23586
|
}
|
|
@@ -23488,7 +23599,7 @@ var Ora = class {
|
|
|
23488
23599
|
if (this.#options.hideCursor) {
|
|
23489
23600
|
cli_cursor_default.show(this.#stream);
|
|
23490
23601
|
}
|
|
23491
|
-
if (this.#options.discardStdin &&
|
|
23602
|
+
if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY && this.#isDiscardingStdin) {
|
|
23492
23603
|
stdin_discarder_default.stop();
|
|
23493
23604
|
this.#isDiscardingStdin = false;
|
|
23494
23605
|
}
|
|
@@ -23710,7 +23821,7 @@ var _global = (() => {
|
|
|
23710
23821
|
})();
|
|
23711
23822
|
var isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
23712
23823
|
function merge() {
|
|
23713
|
-
const { caseless } = isContextDefined(this) && this || {};
|
|
23824
|
+
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
23714
23825
|
const result = {};
|
|
23715
23826
|
const assignValue = (val, key) => {
|
|
23716
23827
|
const targetKey = caseless && findKey(result, key) || key;
|
|
@@ -23720,7 +23831,7 @@ function merge() {
|
|
|
23720
23831
|
result[targetKey] = merge({}, val);
|
|
23721
23832
|
} else if (isArray(val)) {
|
|
23722
23833
|
result[targetKey] = val.slice();
|
|
23723
|
-
} else {
|
|
23834
|
+
} else if (!skipUndefined || !isUndefined(val)) {
|
|
23724
23835
|
result[targetKey] = val;
|
|
23725
23836
|
}
|
|
23726
23837
|
};
|
|
@@ -24051,9 +24162,13 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
24051
24162
|
}, (prop) => {
|
|
24052
24163
|
return prop !== "isAxiosError";
|
|
24053
24164
|
});
|
|
24054
|
-
|
|
24055
|
-
|
|
24056
|
-
axiosError
|
|
24165
|
+
const msg = error && error.message ? error.message : "Error";
|
|
24166
|
+
const errCode = code == null && error ? error.code : code;
|
|
24167
|
+
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
24168
|
+
if (error && axiosError.cause == null) {
|
|
24169
|
+
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
24170
|
+
}
|
|
24171
|
+
axiosError.name = error && error.name || "Error";
|
|
24057
24172
|
customProps && Object.assign(axiosError, customProps);
|
|
24058
24173
|
return axiosError;
|
|
24059
24174
|
};
|
|
@@ -24213,7 +24328,7 @@ var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
|
24213
24328
|
|
|
24214
24329
|
// ../../../node_modules/axios/lib/helpers/buildURL.js
|
|
24215
24330
|
function encode2(val) {
|
|
24216
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+")
|
|
24331
|
+
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
24217
24332
|
}
|
|
24218
24333
|
function buildURL(url2, params, options) {
|
|
24219
24334
|
if (!params) {
|
|
@@ -24269,7 +24384,7 @@ var InterceptorManager = class {
|
|
|
24269
24384
|
*
|
|
24270
24385
|
* @param {Number} id The ID that was returned by `use`
|
|
24271
24386
|
*
|
|
24272
|
-
* @returns {
|
|
24387
|
+
* @returns {void}
|
|
24273
24388
|
*/
|
|
24274
24389
|
eject(id) {
|
|
24275
24390
|
if (this.handlers[id]) {
|
|
@@ -24510,7 +24625,7 @@ var defaults = {
|
|
|
24510
24625
|
const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
|
|
24511
24626
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
24512
24627
|
try {
|
|
24513
|
-
return JSON.parse(data);
|
|
24628
|
+
return JSON.parse(data, this.parseReviver);
|
|
24514
24629
|
} catch (e) {
|
|
24515
24630
|
if (strictJSONParsing) {
|
|
24516
24631
|
if (e.name === "SyntaxError") {
|
|
@@ -24891,12 +25006,13 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
24891
25006
|
var import_proxy_from_env = __toESM(require_proxy_from_env(), 1);
|
|
24892
25007
|
var import_http = __toESM(require("http"), 1);
|
|
24893
25008
|
var import_https = __toESM(require("https"), 1);
|
|
25009
|
+
var import_http2 = __toESM(require("http2"), 1);
|
|
24894
25010
|
var import_util3 = __toESM(require("util"), 1);
|
|
24895
25011
|
var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
24896
25012
|
var import_zlib = __toESM(require("zlib"), 1);
|
|
24897
25013
|
|
|
24898
25014
|
// ../../../node_modules/axios/lib/env/data.js
|
|
24899
|
-
var VERSION = "1.
|
|
25015
|
+
var VERSION = "1.13.2";
|
|
24900
25016
|
|
|
24901
25017
|
// ../../../node_modules/axios/lib/helpers/parseProtocol.js
|
|
24902
25018
|
function parseProtocol(url2) {
|
|
@@ -25142,13 +25258,13 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
25142
25258
|
computedHeaders["Content-Length"] = contentLength;
|
|
25143
25259
|
}
|
|
25144
25260
|
headersHandler && headersHandler(computedHeaders);
|
|
25145
|
-
return import_stream3.Readable.from(async function* () {
|
|
25261
|
+
return import_stream3.Readable.from((async function* () {
|
|
25146
25262
|
for (const part of parts) {
|
|
25147
25263
|
yield boundaryBytes;
|
|
25148
25264
|
yield* part.encode();
|
|
25149
25265
|
}
|
|
25150
25266
|
yield footerBytes;
|
|
25151
|
-
}());
|
|
25267
|
+
})());
|
|
25152
25268
|
};
|
|
25153
25269
|
var formDataToStream_default = formDataToStream;
|
|
25154
25270
|
|
|
@@ -25295,6 +25411,57 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
25295
25411
|
};
|
|
25296
25412
|
var asyncDecorator = (fn) => (...args2) => utils_default.asap(() => fn(...args2));
|
|
25297
25413
|
|
|
25414
|
+
// ../../../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
25415
|
+
function estimateDataURLDecodedBytes(url2) {
|
|
25416
|
+
if (!url2 || typeof url2 !== "string") return 0;
|
|
25417
|
+
if (!url2.startsWith("data:")) return 0;
|
|
25418
|
+
const comma = url2.indexOf(",");
|
|
25419
|
+
if (comma < 0) return 0;
|
|
25420
|
+
const meta = url2.slice(5, comma);
|
|
25421
|
+
const body = url2.slice(comma + 1);
|
|
25422
|
+
const isBase64 = /;base64/i.test(meta);
|
|
25423
|
+
if (isBase64) {
|
|
25424
|
+
let effectiveLen = body.length;
|
|
25425
|
+
const len = body.length;
|
|
25426
|
+
for (let i = 0; i < len; i++) {
|
|
25427
|
+
if (body.charCodeAt(i) === 37 && i + 2 < len) {
|
|
25428
|
+
const a = body.charCodeAt(i + 1);
|
|
25429
|
+
const b = body.charCodeAt(i + 2);
|
|
25430
|
+
const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
|
|
25431
|
+
if (isHex) {
|
|
25432
|
+
effectiveLen -= 2;
|
|
25433
|
+
i += 2;
|
|
25434
|
+
}
|
|
25435
|
+
}
|
|
25436
|
+
}
|
|
25437
|
+
let pad = 0;
|
|
25438
|
+
let idx = len - 1;
|
|
25439
|
+
const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
|
|
25440
|
+
body.charCodeAt(j - 1) === 51 && // '3'
|
|
25441
|
+
(body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
|
|
25442
|
+
if (idx >= 0) {
|
|
25443
|
+
if (body.charCodeAt(idx) === 61) {
|
|
25444
|
+
pad++;
|
|
25445
|
+
idx--;
|
|
25446
|
+
} else if (tailIsPct3D(idx)) {
|
|
25447
|
+
pad++;
|
|
25448
|
+
idx -= 3;
|
|
25449
|
+
}
|
|
25450
|
+
}
|
|
25451
|
+
if (pad === 1 && idx >= 0) {
|
|
25452
|
+
if (body.charCodeAt(idx) === 61) {
|
|
25453
|
+
pad++;
|
|
25454
|
+
} else if (tailIsPct3D(idx)) {
|
|
25455
|
+
pad++;
|
|
25456
|
+
}
|
|
25457
|
+
}
|
|
25458
|
+
const groups = Math.floor(effectiveLen / 4);
|
|
25459
|
+
const bytes = groups * 3 - (pad || 0);
|
|
25460
|
+
return bytes > 0 ? bytes : 0;
|
|
25461
|
+
}
|
|
25462
|
+
return Buffer.byteLength(body, "utf8");
|
|
25463
|
+
}
|
|
25464
|
+
|
|
25298
25465
|
// ../../../node_modules/axios/lib/adapters/http.js
|
|
25299
25466
|
var zlibOptions = {
|
|
25300
25467
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
@@ -25314,6 +25481,76 @@ var flushOnFinish = (stream4, [throttled, flush]) => {
|
|
|
25314
25481
|
stream4.on("end", flush).on("error", flush);
|
|
25315
25482
|
return throttled;
|
|
25316
25483
|
};
|
|
25484
|
+
var Http2Sessions = class {
|
|
25485
|
+
constructor() {
|
|
25486
|
+
this.sessions = /* @__PURE__ */ Object.create(null);
|
|
25487
|
+
}
|
|
25488
|
+
getSession(authority, options) {
|
|
25489
|
+
options = Object.assign({
|
|
25490
|
+
sessionTimeout: 1e3
|
|
25491
|
+
}, options);
|
|
25492
|
+
let authoritySessions = this.sessions[authority];
|
|
25493
|
+
if (authoritySessions) {
|
|
25494
|
+
let len = authoritySessions.length;
|
|
25495
|
+
for (let i = 0; i < len; i++) {
|
|
25496
|
+
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
25497
|
+
if (!sessionHandle.destroyed && !sessionHandle.closed && import_util3.default.isDeepStrictEqual(sessionOptions, options)) {
|
|
25498
|
+
return sessionHandle;
|
|
25499
|
+
}
|
|
25500
|
+
}
|
|
25501
|
+
}
|
|
25502
|
+
const session = import_http2.default.connect(authority, options);
|
|
25503
|
+
let removed;
|
|
25504
|
+
const removeSession = () => {
|
|
25505
|
+
if (removed) {
|
|
25506
|
+
return;
|
|
25507
|
+
}
|
|
25508
|
+
removed = true;
|
|
25509
|
+
let entries = authoritySessions, len = entries.length, i = len;
|
|
25510
|
+
while (i--) {
|
|
25511
|
+
if (entries[i][0] === session) {
|
|
25512
|
+
if (len === 1) {
|
|
25513
|
+
delete this.sessions[authority];
|
|
25514
|
+
} else {
|
|
25515
|
+
entries.splice(i, 1);
|
|
25516
|
+
}
|
|
25517
|
+
return;
|
|
25518
|
+
}
|
|
25519
|
+
}
|
|
25520
|
+
};
|
|
25521
|
+
const originalRequestFn = session.request;
|
|
25522
|
+
const { sessionTimeout } = options;
|
|
25523
|
+
if (sessionTimeout != null) {
|
|
25524
|
+
let timer;
|
|
25525
|
+
let streamsCount = 0;
|
|
25526
|
+
session.request = function() {
|
|
25527
|
+
const stream4 = originalRequestFn.apply(this, arguments);
|
|
25528
|
+
streamsCount++;
|
|
25529
|
+
if (timer) {
|
|
25530
|
+
clearTimeout(timer);
|
|
25531
|
+
timer = null;
|
|
25532
|
+
}
|
|
25533
|
+
stream4.once("close", () => {
|
|
25534
|
+
if (!--streamsCount) {
|
|
25535
|
+
timer = setTimeout(() => {
|
|
25536
|
+
timer = null;
|
|
25537
|
+
removeSession();
|
|
25538
|
+
}, sessionTimeout);
|
|
25539
|
+
}
|
|
25540
|
+
});
|
|
25541
|
+
return stream4;
|
|
25542
|
+
};
|
|
25543
|
+
}
|
|
25544
|
+
session.once("close", removeSession);
|
|
25545
|
+
let entry = [
|
|
25546
|
+
session,
|
|
25547
|
+
options
|
|
25548
|
+
];
|
|
25549
|
+
authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
|
25550
|
+
return session;
|
|
25551
|
+
}
|
|
25552
|
+
};
|
|
25553
|
+
var http2Sessions = new Http2Sessions();
|
|
25317
25554
|
function dispatchBeforeRedirect(options, responseDetails) {
|
|
25318
25555
|
if (options.beforeRedirects.proxy) {
|
|
25319
25556
|
options.beforeRedirects.proxy(options);
|
|
@@ -25386,14 +25623,54 @@ var resolveFamily = ({ address, family }) => {
|
|
|
25386
25623
|
};
|
|
25387
25624
|
};
|
|
25388
25625
|
var buildAddressEntry = (address, family) => resolveFamily(utils_default.isObject(address) ? address : { address, family });
|
|
25626
|
+
var http2Transport = {
|
|
25627
|
+
request(options, cb) {
|
|
25628
|
+
const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
|
|
25629
|
+
const { http2Options, headers } = options;
|
|
25630
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
25631
|
+
const {
|
|
25632
|
+
HTTP2_HEADER_SCHEME,
|
|
25633
|
+
HTTP2_HEADER_METHOD,
|
|
25634
|
+
HTTP2_HEADER_PATH,
|
|
25635
|
+
HTTP2_HEADER_STATUS
|
|
25636
|
+
} = import_http2.default.constants;
|
|
25637
|
+
const http2Headers = {
|
|
25638
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
|
|
25639
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
25640
|
+
[HTTP2_HEADER_PATH]: options.path
|
|
25641
|
+
};
|
|
25642
|
+
utils_default.forEach(headers, (header, name) => {
|
|
25643
|
+
name.charAt(0) !== ":" && (http2Headers[name] = header);
|
|
25644
|
+
});
|
|
25645
|
+
const req = session.request(http2Headers);
|
|
25646
|
+
req.once("response", (responseHeaders) => {
|
|
25647
|
+
const response = req;
|
|
25648
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
25649
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
25650
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
25651
|
+
response.headers = responseHeaders;
|
|
25652
|
+
response.statusCode = +status;
|
|
25653
|
+
cb(response);
|
|
25654
|
+
});
|
|
25655
|
+
return req;
|
|
25656
|
+
}
|
|
25657
|
+
};
|
|
25389
25658
|
var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
25390
25659
|
return wrapAsync(async function dispatchHttpRequest(resolve3, reject, onDone) {
|
|
25391
|
-
let { data, lookup, family } = config;
|
|
25660
|
+
let { data, lookup, family, httpVersion = 1, http2Options } = config;
|
|
25392
25661
|
const { responseType, responseEncoding } = config;
|
|
25393
25662
|
const method = config.method.toUpperCase();
|
|
25394
25663
|
let isDone;
|
|
25395
25664
|
let rejected = false;
|
|
25396
25665
|
let req;
|
|
25666
|
+
httpVersion = +httpVersion;
|
|
25667
|
+
if (Number.isNaN(httpVersion)) {
|
|
25668
|
+
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
25669
|
+
}
|
|
25670
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
25671
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
25672
|
+
}
|
|
25673
|
+
const isHttp2 = httpVersion === 2;
|
|
25397
25674
|
if (lookup) {
|
|
25398
25675
|
const _lookup = callbackify_default(lookup, (value) => utils_default.isArray(value) ? value : [value]);
|
|
25399
25676
|
lookup = (hostname, opt, cb) => {
|
|
@@ -25406,7 +25683,15 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25406
25683
|
});
|
|
25407
25684
|
};
|
|
25408
25685
|
}
|
|
25409
|
-
const
|
|
25686
|
+
const abortEmitter = new import_events.EventEmitter();
|
|
25687
|
+
function abort(reason) {
|
|
25688
|
+
try {
|
|
25689
|
+
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError_default(null, config, req) : reason);
|
|
25690
|
+
} catch (err) {
|
|
25691
|
+
console.warn("emit error", err);
|
|
25692
|
+
}
|
|
25693
|
+
}
|
|
25694
|
+
abortEmitter.once("abort", reject);
|
|
25410
25695
|
const onFinished = () => {
|
|
25411
25696
|
if (config.cancelToken) {
|
|
25412
25697
|
config.cancelToken.unsubscribe(abort);
|
|
@@ -25414,29 +25699,46 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25414
25699
|
if (config.signal) {
|
|
25415
25700
|
config.signal.removeEventListener("abort", abort);
|
|
25416
25701
|
}
|
|
25417
|
-
|
|
25702
|
+
abortEmitter.removeAllListeners();
|
|
25418
25703
|
};
|
|
25419
|
-
onDone((value, isRejected) => {
|
|
25420
|
-
isDone = true;
|
|
25421
|
-
if (isRejected) {
|
|
25422
|
-
rejected = true;
|
|
25423
|
-
onFinished();
|
|
25424
|
-
}
|
|
25425
|
-
});
|
|
25426
|
-
function abort(reason) {
|
|
25427
|
-
emitter.emit("abort", !reason || reason.type ? new CanceledError_default(null, config, req) : reason);
|
|
25428
|
-
}
|
|
25429
|
-
emitter.once("abort", reject);
|
|
25430
25704
|
if (config.cancelToken || config.signal) {
|
|
25431
25705
|
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
25432
25706
|
if (config.signal) {
|
|
25433
25707
|
config.signal.aborted ? abort() : config.signal.addEventListener("abort", abort);
|
|
25434
25708
|
}
|
|
25435
25709
|
}
|
|
25710
|
+
onDone((response, isRejected) => {
|
|
25711
|
+
isDone = true;
|
|
25712
|
+
if (isRejected) {
|
|
25713
|
+
rejected = true;
|
|
25714
|
+
onFinished();
|
|
25715
|
+
return;
|
|
25716
|
+
}
|
|
25717
|
+
const { data: data2 } = response;
|
|
25718
|
+
if (data2 instanceof import_stream5.default.Readable || data2 instanceof import_stream5.default.Duplex) {
|
|
25719
|
+
const offListeners = import_stream5.default.finished(data2, () => {
|
|
25720
|
+
offListeners();
|
|
25721
|
+
onFinished();
|
|
25722
|
+
});
|
|
25723
|
+
} else {
|
|
25724
|
+
onFinished();
|
|
25725
|
+
}
|
|
25726
|
+
});
|
|
25436
25727
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
25437
25728
|
const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
|
|
25438
25729
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
25439
25730
|
if (protocol === "data:") {
|
|
25731
|
+
if (config.maxContentLength > -1) {
|
|
25732
|
+
const dataUrl = String(config.url || fullPath || "");
|
|
25733
|
+
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
25734
|
+
if (estimated > config.maxContentLength) {
|
|
25735
|
+
return reject(new AxiosError_default(
|
|
25736
|
+
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
25737
|
+
AxiosError_default.ERR_BAD_RESPONSE,
|
|
25738
|
+
config
|
|
25739
|
+
));
|
|
25740
|
+
}
|
|
25741
|
+
}
|
|
25440
25742
|
let convertedData;
|
|
25441
25743
|
if (method !== "GET") {
|
|
25442
25744
|
return settle(resolve3, reject, {
|
|
@@ -25587,7 +25889,8 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25587
25889
|
protocol,
|
|
25588
25890
|
family,
|
|
25589
25891
|
beforeRedirect: dispatchBeforeRedirect,
|
|
25590
|
-
beforeRedirects: {}
|
|
25892
|
+
beforeRedirects: {},
|
|
25893
|
+
http2Options
|
|
25591
25894
|
};
|
|
25592
25895
|
!utils_default.isUndefined(lookup) && (options.lookup = lookup);
|
|
25593
25896
|
if (config.socketPath) {
|
|
@@ -25600,18 +25903,22 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25600
25903
|
let transport;
|
|
25601
25904
|
const isHttpsRequest = isHttps.test(options.protocol);
|
|
25602
25905
|
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
|
25603
|
-
if (
|
|
25604
|
-
transport =
|
|
25605
|
-
} else if (config.maxRedirects === 0) {
|
|
25606
|
-
transport = isHttpsRequest ? import_https.default : import_http.default;
|
|
25906
|
+
if (isHttp2) {
|
|
25907
|
+
transport = http2Transport;
|
|
25607
25908
|
} else {
|
|
25608
|
-
if (config.
|
|
25609
|
-
|
|
25610
|
-
}
|
|
25611
|
-
|
|
25612
|
-
|
|
25909
|
+
if (config.transport) {
|
|
25910
|
+
transport = config.transport;
|
|
25911
|
+
} else if (config.maxRedirects === 0) {
|
|
25912
|
+
transport = isHttpsRequest ? import_https.default : import_http.default;
|
|
25913
|
+
} else {
|
|
25914
|
+
if (config.maxRedirects) {
|
|
25915
|
+
options.maxRedirects = config.maxRedirects;
|
|
25916
|
+
}
|
|
25917
|
+
if (config.beforeRedirect) {
|
|
25918
|
+
options.beforeRedirects.config = config.beforeRedirect;
|
|
25919
|
+
}
|
|
25920
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
25613
25921
|
}
|
|
25614
|
-
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
25615
25922
|
}
|
|
25616
25923
|
if (config.maxBodyLength > -1) {
|
|
25617
25924
|
options.maxBodyLength = config.maxBodyLength;
|
|
@@ -25624,7 +25931,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25624
25931
|
req = transport.request(options, function handleResponse(res) {
|
|
25625
25932
|
if (req.destroyed) return;
|
|
25626
25933
|
const streams = [res];
|
|
25627
|
-
const responseLength =
|
|
25934
|
+
const responseLength = utils_default.toFiniteNumber(res.headers["content-length"]);
|
|
25628
25935
|
if (onDownloadProgress || maxDownloadRate) {
|
|
25629
25936
|
const transformStream = new AxiosTransformStream_default({
|
|
25630
25937
|
maxRate: utils_default.toFiniteNumber(maxDownloadRate)
|
|
@@ -25666,10 +25973,6 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25666
25973
|
}
|
|
25667
25974
|
}
|
|
25668
25975
|
responseStream = streams.length > 1 ? import_stream5.default.pipeline(streams, utils_default.noop) : streams[0];
|
|
25669
|
-
const offListeners = import_stream5.default.finished(responseStream, () => {
|
|
25670
|
-
offListeners();
|
|
25671
|
-
onFinished();
|
|
25672
|
-
});
|
|
25673
25976
|
const response = {
|
|
25674
25977
|
status: res.statusCode,
|
|
25675
25978
|
statusText: res.statusMessage,
|
|
@@ -25689,7 +25992,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25689
25992
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
25690
25993
|
rejected = true;
|
|
25691
25994
|
responseStream.destroy();
|
|
25692
|
-
|
|
25995
|
+
abort(new AxiosError_default(
|
|
25693
25996
|
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
25694
25997
|
AxiosError_default.ERR_BAD_RESPONSE,
|
|
25695
25998
|
config,
|
|
@@ -25730,16 +26033,19 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25730
26033
|
settle(resolve3, reject, response);
|
|
25731
26034
|
});
|
|
25732
26035
|
}
|
|
25733
|
-
|
|
26036
|
+
abortEmitter.once("abort", (err) => {
|
|
25734
26037
|
if (!responseStream.destroyed) {
|
|
25735
26038
|
responseStream.emit("error", err);
|
|
25736
26039
|
responseStream.destroy();
|
|
25737
26040
|
}
|
|
25738
26041
|
});
|
|
25739
26042
|
});
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
26043
|
+
abortEmitter.once("abort", (err) => {
|
|
26044
|
+
if (req.close) {
|
|
26045
|
+
req.close();
|
|
26046
|
+
} else {
|
|
26047
|
+
req.destroy(err);
|
|
26048
|
+
}
|
|
25743
26049
|
});
|
|
25744
26050
|
req.on("error", function handleRequestError(err) {
|
|
25745
26051
|
reject(AxiosError_default.from(err, null, config, req));
|
|
@@ -25750,7 +26056,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25750
26056
|
if (config.timeout) {
|
|
25751
26057
|
const timeout = parseInt(config.timeout, 10);
|
|
25752
26058
|
if (Number.isNaN(timeout)) {
|
|
25753
|
-
|
|
26059
|
+
abort(new AxiosError_default(
|
|
25754
26060
|
"error trying to parse `config.timeout` to int",
|
|
25755
26061
|
AxiosError_default.ERR_BAD_OPTION_VALUE,
|
|
25756
26062
|
config,
|
|
@@ -25765,14 +26071,15 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25765
26071
|
if (config.timeoutErrorMessage) {
|
|
25766
26072
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
25767
26073
|
}
|
|
25768
|
-
|
|
26074
|
+
abort(new AxiosError_default(
|
|
25769
26075
|
timeoutErrorMessage,
|
|
25770
26076
|
transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED,
|
|
25771
26077
|
config,
|
|
25772
26078
|
req
|
|
25773
26079
|
));
|
|
25774
|
-
abort();
|
|
25775
26080
|
});
|
|
26081
|
+
} else {
|
|
26082
|
+
req.setTimeout(0);
|
|
25776
26083
|
}
|
|
25777
26084
|
if (utils_default.isStream(data)) {
|
|
25778
26085
|
let ended = false;
|
|
@@ -25791,7 +26098,8 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
25791
26098
|
});
|
|
25792
26099
|
data.pipe(req);
|
|
25793
26100
|
} else {
|
|
25794
|
-
req.
|
|
26101
|
+
data && req.write(data);
|
|
26102
|
+
req.end();
|
|
25795
26103
|
}
|
|
25796
26104
|
});
|
|
25797
26105
|
};
|
|
@@ -25809,20 +26117,33 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
|
|
|
25809
26117
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
25810
26118
|
// Standard browser envs support document.cookie
|
|
25811
26119
|
{
|
|
25812
|
-
write(name, value, expires, path, domain, secure) {
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
utils_default.
|
|
25816
|
-
|
|
25817
|
-
|
|
26120
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
26121
|
+
if (typeof document === "undefined") return;
|
|
26122
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
26123
|
+
if (utils_default.isNumber(expires)) {
|
|
26124
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
26125
|
+
}
|
|
26126
|
+
if (utils_default.isString(path)) {
|
|
26127
|
+
cookie.push(`path=${path}`);
|
|
26128
|
+
}
|
|
26129
|
+
if (utils_default.isString(domain)) {
|
|
26130
|
+
cookie.push(`domain=${domain}`);
|
|
26131
|
+
}
|
|
26132
|
+
if (secure === true) {
|
|
26133
|
+
cookie.push("secure");
|
|
26134
|
+
}
|
|
26135
|
+
if (utils_default.isString(sameSite)) {
|
|
26136
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
26137
|
+
}
|
|
25818
26138
|
document.cookie = cookie.join("; ");
|
|
25819
26139
|
},
|
|
25820
26140
|
read(name) {
|
|
25821
|
-
|
|
25822
|
-
|
|
26141
|
+
if (typeof document === "undefined") return null;
|
|
26142
|
+
const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
|
|
26143
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
25823
26144
|
},
|
|
25824
26145
|
remove(name) {
|
|
25825
|
-
this.write(name, "", Date.now() - 864e5);
|
|
26146
|
+
this.write(name, "", Date.now() - 864e5, "/");
|
|
25826
26147
|
}
|
|
25827
26148
|
}
|
|
25828
26149
|
) : (
|
|
@@ -25930,13 +26251,17 @@ var resolveConfig_default = (config) => {
|
|
|
25930
26251
|
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
25931
26252
|
);
|
|
25932
26253
|
}
|
|
25933
|
-
let contentType;
|
|
25934
26254
|
if (utils_default.isFormData(data)) {
|
|
25935
26255
|
if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
|
|
25936
26256
|
headers.setContentType(void 0);
|
|
25937
|
-
} else if ((
|
|
25938
|
-
const
|
|
25939
|
-
|
|
26257
|
+
} else if (utils_default.isFunction(data.getHeaders)) {
|
|
26258
|
+
const formHeaders = data.getHeaders();
|
|
26259
|
+
const allowedHeaders = ["content-type", "content-length"];
|
|
26260
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
26261
|
+
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
26262
|
+
headers.set(key, val);
|
|
26263
|
+
}
|
|
26264
|
+
});
|
|
25940
26265
|
}
|
|
25941
26266
|
}
|
|
25942
26267
|
if (platform_default.hasStandardBrowserEnv) {
|
|
@@ -26016,8 +26341,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
26016
26341
|
reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
|
|
26017
26342
|
request = null;
|
|
26018
26343
|
};
|
|
26019
|
-
request.onerror = function handleError() {
|
|
26020
|
-
|
|
26344
|
+
request.onerror = function handleError(event) {
|
|
26345
|
+
const msg = event && event.message ? event.message : "Network Error";
|
|
26346
|
+
const err = new AxiosError_default(msg, AxiosError_default.ERR_NETWORK, config, request);
|
|
26347
|
+
err.event = event || null;
|
|
26348
|
+
reject(err);
|
|
26021
26349
|
request = null;
|
|
26022
26350
|
};
|
|
26023
26351
|
request.ontimeout = function handleTimeout() {
|
|
@@ -26192,9 +26520,16 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
26192
26520
|
};
|
|
26193
26521
|
|
|
26194
26522
|
// ../../../node_modules/axios/lib/adapters/fetch.js
|
|
26195
|
-
var
|
|
26196
|
-
var
|
|
26197
|
-
var
|
|
26523
|
+
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
26524
|
+
var { isFunction: isFunction2 } = utils_default;
|
|
26525
|
+
var globalFetchAPI = (({ Request, Response }) => ({
|
|
26526
|
+
Request,
|
|
26527
|
+
Response
|
|
26528
|
+
}))(utils_default.global);
|
|
26529
|
+
var {
|
|
26530
|
+
ReadableStream: ReadableStream2,
|
|
26531
|
+
TextEncoder: TextEncoder2
|
|
26532
|
+
} = utils_default.global;
|
|
26198
26533
|
var test = (fn, ...args2) => {
|
|
26199
26534
|
try {
|
|
26200
26535
|
return !!fn(...args2);
|
|
@@ -26202,164 +26537,204 @@ var test = (fn, ...args2) => {
|
|
|
26202
26537
|
return false;
|
|
26203
26538
|
}
|
|
26204
26539
|
};
|
|
26205
|
-
var
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
return duplexAccessed && !hasContentType;
|
|
26216
|
-
});
|
|
26217
|
-
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
26218
|
-
var supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
|
|
26219
|
-
var resolvers = {
|
|
26220
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
26221
|
-
};
|
|
26222
|
-
isFetchSupported && ((res) => {
|
|
26223
|
-
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
26224
|
-
!resolvers[type] && (resolvers[type] = utils_default.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
26225
|
-
throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
|
|
26226
|
-
});
|
|
26227
|
-
});
|
|
26228
|
-
})(new Response());
|
|
26229
|
-
var getBodyLength = async (body) => {
|
|
26230
|
-
if (body == null) {
|
|
26231
|
-
return 0;
|
|
26232
|
-
}
|
|
26233
|
-
if (utils_default.isBlob(body)) {
|
|
26234
|
-
return body.size;
|
|
26540
|
+
var factory = (env3) => {
|
|
26541
|
+
env3 = utils_default.merge.call({
|
|
26542
|
+
skipUndefined: true
|
|
26543
|
+
}, globalFetchAPI, env3);
|
|
26544
|
+
const { fetch: envFetch, Request, Response } = env3;
|
|
26545
|
+
const isFetchSupported = envFetch ? isFunction2(envFetch) : typeof fetch === "function";
|
|
26546
|
+
const isRequestSupported = isFunction2(Request);
|
|
26547
|
+
const isResponseSupported = isFunction2(Response);
|
|
26548
|
+
if (!isFetchSupported) {
|
|
26549
|
+
return false;
|
|
26235
26550
|
}
|
|
26236
|
-
|
|
26237
|
-
|
|
26551
|
+
const isReadableStreamSupported = isFetchSupported && isFunction2(ReadableStream2);
|
|
26552
|
+
const encodeText = isFetchSupported && (typeof TextEncoder2 === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder2()) : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
26553
|
+
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
26554
|
+
let duplexAccessed = false;
|
|
26555
|
+
const hasContentType = new Request(platform_default.origin, {
|
|
26556
|
+
body: new ReadableStream2(),
|
|
26238
26557
|
method: "POST",
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
return
|
|
26245
|
-
}
|
|
26246
|
-
if (utils_default.isURLSearchParams(body)) {
|
|
26247
|
-
body = body + "";
|
|
26248
|
-
}
|
|
26249
|
-
if (utils_default.isString(body)) {
|
|
26250
|
-
return (await encodeText(body)).byteLength;
|
|
26251
|
-
}
|
|
26252
|
-
};
|
|
26253
|
-
var resolveBodyLength = async (headers, body) => {
|
|
26254
|
-
const length = utils_default.toFiniteNumber(headers.getContentLength());
|
|
26255
|
-
return length == null ? getBodyLength(body) : length;
|
|
26256
|
-
};
|
|
26257
|
-
var fetch_default = isFetchSupported && (async (config) => {
|
|
26258
|
-
let {
|
|
26259
|
-
url: url2,
|
|
26260
|
-
method,
|
|
26261
|
-
data,
|
|
26262
|
-
signal,
|
|
26263
|
-
cancelToken,
|
|
26264
|
-
timeout,
|
|
26265
|
-
onDownloadProgress,
|
|
26266
|
-
onUploadProgress,
|
|
26267
|
-
responseType,
|
|
26268
|
-
headers,
|
|
26269
|
-
withCredentials = "same-origin",
|
|
26270
|
-
fetchOptions
|
|
26271
|
-
} = resolveConfig_default(config);
|
|
26272
|
-
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
26273
|
-
let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
26274
|
-
let request;
|
|
26275
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
26276
|
-
composedSignal.unsubscribe();
|
|
26558
|
+
get duplex() {
|
|
26559
|
+
duplexAccessed = true;
|
|
26560
|
+
return "half";
|
|
26561
|
+
}
|
|
26562
|
+
}).headers.has("Content-Type");
|
|
26563
|
+
return duplexAccessed && !hasContentType;
|
|
26277
26564
|
});
|
|
26278
|
-
|
|
26279
|
-
|
|
26280
|
-
|
|
26281
|
-
|
|
26282
|
-
|
|
26283
|
-
|
|
26284
|
-
|
|
26565
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
|
|
26566
|
+
const resolvers = {
|
|
26567
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
26568
|
+
};
|
|
26569
|
+
isFetchSupported && (() => {
|
|
26570
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
26571
|
+
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
26572
|
+
let method = res && res[type];
|
|
26573
|
+
if (method) {
|
|
26574
|
+
return method.call(res);
|
|
26575
|
+
}
|
|
26576
|
+
throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
|
|
26285
26577
|
});
|
|
26286
|
-
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
|
|
26290
|
-
|
|
26291
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
26292
|
-
requestContentLength,
|
|
26293
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
26294
|
-
);
|
|
26295
|
-
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
26296
|
-
}
|
|
26578
|
+
});
|
|
26579
|
+
})();
|
|
26580
|
+
const getBodyLength = async (body) => {
|
|
26581
|
+
if (body == null) {
|
|
26582
|
+
return 0;
|
|
26297
26583
|
}
|
|
26298
|
-
if (
|
|
26299
|
-
|
|
26584
|
+
if (utils_default.isBlob(body)) {
|
|
26585
|
+
return body.size;
|
|
26300
26586
|
}
|
|
26301
|
-
|
|
26302
|
-
|
|
26303
|
-
|
|
26304
|
-
|
|
26305
|
-
method: method.toUpperCase(),
|
|
26306
|
-
headers: headers.normalize().toJSON(),
|
|
26307
|
-
body: data,
|
|
26308
|
-
duplex: "half",
|
|
26309
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
26310
|
-
});
|
|
26311
|
-
let response = await fetch(request, fetchOptions);
|
|
26312
|
-
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
26313
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
26314
|
-
const options = {};
|
|
26315
|
-
["status", "statusText", "headers"].forEach((prop) => {
|
|
26316
|
-
options[prop] = response[prop];
|
|
26587
|
+
if (utils_default.isSpecCompliantForm(body)) {
|
|
26588
|
+
const _request = new Request(platform_default.origin, {
|
|
26589
|
+
method: "POST",
|
|
26590
|
+
body
|
|
26317
26591
|
});
|
|
26318
|
-
|
|
26319
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
26320
|
-
responseContentLength,
|
|
26321
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
26322
|
-
) || [];
|
|
26323
|
-
response = new Response(
|
|
26324
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
26325
|
-
flush && flush();
|
|
26326
|
-
unsubscribe && unsubscribe();
|
|
26327
|
-
}),
|
|
26328
|
-
options
|
|
26329
|
-
);
|
|
26592
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
26330
26593
|
}
|
|
26331
|
-
|
|
26332
|
-
|
|
26333
|
-
|
|
26334
|
-
|
|
26335
|
-
|
|
26336
|
-
|
|
26337
|
-
|
|
26338
|
-
|
|
26339
|
-
|
|
26340
|
-
|
|
26341
|
-
|
|
26342
|
-
|
|
26594
|
+
if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
|
|
26595
|
+
return body.byteLength;
|
|
26596
|
+
}
|
|
26597
|
+
if (utils_default.isURLSearchParams(body)) {
|
|
26598
|
+
body = body + "";
|
|
26599
|
+
}
|
|
26600
|
+
if (utils_default.isString(body)) {
|
|
26601
|
+
return (await encodeText(body)).byteLength;
|
|
26602
|
+
}
|
|
26603
|
+
};
|
|
26604
|
+
const resolveBodyLength = async (headers, body) => {
|
|
26605
|
+
const length = utils_default.toFiniteNumber(headers.getContentLength());
|
|
26606
|
+
return length == null ? getBodyLength(body) : length;
|
|
26607
|
+
};
|
|
26608
|
+
return async (config) => {
|
|
26609
|
+
let {
|
|
26610
|
+
url: url2,
|
|
26611
|
+
method,
|
|
26612
|
+
data,
|
|
26613
|
+
signal,
|
|
26614
|
+
cancelToken,
|
|
26615
|
+
timeout,
|
|
26616
|
+
onDownloadProgress,
|
|
26617
|
+
onUploadProgress,
|
|
26618
|
+
responseType,
|
|
26619
|
+
headers,
|
|
26620
|
+
withCredentials = "same-origin",
|
|
26621
|
+
fetchOptions
|
|
26622
|
+
} = resolveConfig_default(config);
|
|
26623
|
+
let _fetch = envFetch || fetch;
|
|
26624
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
26625
|
+
let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
26626
|
+
let request = null;
|
|
26627
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
26628
|
+
composedSignal.unsubscribe();
|
|
26343
26629
|
});
|
|
26344
|
-
|
|
26345
|
-
|
|
26346
|
-
|
|
26347
|
-
|
|
26348
|
-
|
|
26349
|
-
|
|
26350
|
-
|
|
26630
|
+
let requestContentLength;
|
|
26631
|
+
try {
|
|
26632
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
26633
|
+
let _request = new Request(url2, {
|
|
26634
|
+
method: "POST",
|
|
26635
|
+
body: data,
|
|
26636
|
+
duplex: "half"
|
|
26637
|
+
});
|
|
26638
|
+
let contentTypeHeader;
|
|
26639
|
+
if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
26640
|
+
headers.setContentType(contentTypeHeader);
|
|
26641
|
+
}
|
|
26642
|
+
if (_request.body) {
|
|
26643
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
26644
|
+
requestContentLength,
|
|
26645
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
26646
|
+
);
|
|
26647
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
26351
26648
|
}
|
|
26352
|
-
|
|
26649
|
+
}
|
|
26650
|
+
if (!utils_default.isString(withCredentials)) {
|
|
26651
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
26652
|
+
}
|
|
26653
|
+
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
26654
|
+
const resolvedOptions = {
|
|
26655
|
+
...fetchOptions,
|
|
26656
|
+
signal: composedSignal,
|
|
26657
|
+
method: method.toUpperCase(),
|
|
26658
|
+
headers: headers.normalize().toJSON(),
|
|
26659
|
+
body: data,
|
|
26660
|
+
duplex: "half",
|
|
26661
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
26662
|
+
};
|
|
26663
|
+
request = isRequestSupported && new Request(url2, resolvedOptions);
|
|
26664
|
+
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url2, resolvedOptions));
|
|
26665
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
26666
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
26667
|
+
const options = {};
|
|
26668
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
26669
|
+
options[prop] = response[prop];
|
|
26670
|
+
});
|
|
26671
|
+
const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
|
|
26672
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
26673
|
+
responseContentLength,
|
|
26674
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
26675
|
+
) || [];
|
|
26676
|
+
response = new Response(
|
|
26677
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
26678
|
+
flush && flush();
|
|
26679
|
+
unsubscribe && unsubscribe();
|
|
26680
|
+
}),
|
|
26681
|
+
options
|
|
26682
|
+
);
|
|
26683
|
+
}
|
|
26684
|
+
responseType = responseType || "text";
|
|
26685
|
+
let responseData = await resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
|
|
26686
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
26687
|
+
return await new Promise((resolve3, reject) => {
|
|
26688
|
+
settle(resolve3, reject, {
|
|
26689
|
+
data: responseData,
|
|
26690
|
+
headers: AxiosHeaders_default.from(response.headers),
|
|
26691
|
+
status: response.status,
|
|
26692
|
+
statusText: response.statusText,
|
|
26693
|
+
config,
|
|
26694
|
+
request
|
|
26695
|
+
});
|
|
26696
|
+
});
|
|
26697
|
+
} catch (err) {
|
|
26698
|
+
unsubscribe && unsubscribe();
|
|
26699
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
26700
|
+
throw Object.assign(
|
|
26701
|
+
new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
|
|
26702
|
+
{
|
|
26703
|
+
cause: err.cause || err
|
|
26704
|
+
}
|
|
26705
|
+
);
|
|
26706
|
+
}
|
|
26707
|
+
throw AxiosError_default.from(err, err && err.code, config, request);
|
|
26353
26708
|
}
|
|
26354
|
-
|
|
26355
|
-
|
|
26356
|
-
|
|
26709
|
+
};
|
|
26710
|
+
};
|
|
26711
|
+
var seedCache = /* @__PURE__ */ new Map();
|
|
26712
|
+
var getFetch = (config) => {
|
|
26713
|
+
let env3 = config && config.env || {};
|
|
26714
|
+
const { fetch: fetch2, Request, Response } = env3;
|
|
26715
|
+
const seeds = [
|
|
26716
|
+
Request,
|
|
26717
|
+
Response,
|
|
26718
|
+
fetch2
|
|
26719
|
+
];
|
|
26720
|
+
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
26721
|
+
while (i--) {
|
|
26722
|
+
seed = seeds[i];
|
|
26723
|
+
target = map.get(seed);
|
|
26724
|
+
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env3));
|
|
26725
|
+
map = target;
|
|
26726
|
+
}
|
|
26727
|
+
return target;
|
|
26728
|
+
};
|
|
26729
|
+
var adapter = getFetch();
|
|
26357
26730
|
|
|
26358
26731
|
// ../../../node_modules/axios/lib/adapters/adapters.js
|
|
26359
26732
|
var knownAdapters = {
|
|
26360
26733
|
http: http_default,
|
|
26361
26734
|
xhr: xhr_default,
|
|
26362
|
-
fetch:
|
|
26735
|
+
fetch: {
|
|
26736
|
+
get: getFetch
|
|
26737
|
+
}
|
|
26363
26738
|
};
|
|
26364
26739
|
utils_default.forEach(knownAdapters, (fn, value) => {
|
|
26365
26740
|
if (fn) {
|
|
@@ -26371,41 +26746,50 @@ utils_default.forEach(knownAdapters, (fn, value) => {
|
|
|
26371
26746
|
}
|
|
26372
26747
|
});
|
|
26373
26748
|
var renderReason = (reason) => `- ${reason}`;
|
|
26374
|
-
var isResolvedHandle = (
|
|
26749
|
+
var isResolvedHandle = (adapter2) => utils_default.isFunction(adapter2) || adapter2 === null || adapter2 === false;
|
|
26750
|
+
function getAdapter(adapters, config) {
|
|
26751
|
+
adapters = utils_default.isArray(adapters) ? adapters : [adapters];
|
|
26752
|
+
const { length } = adapters;
|
|
26753
|
+
let nameOrAdapter;
|
|
26754
|
+
let adapter2;
|
|
26755
|
+
const rejectedReasons = {};
|
|
26756
|
+
for (let i = 0; i < length; i++) {
|
|
26757
|
+
nameOrAdapter = adapters[i];
|
|
26758
|
+
let id;
|
|
26759
|
+
adapter2 = nameOrAdapter;
|
|
26760
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
|
26761
|
+
adapter2 = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
26762
|
+
if (adapter2 === void 0) {
|
|
26763
|
+
throw new AxiosError_default(`Unknown adapter '${id}'`);
|
|
26764
|
+
}
|
|
26765
|
+
}
|
|
26766
|
+
if (adapter2 && (utils_default.isFunction(adapter2) || (adapter2 = adapter2.get(config)))) {
|
|
26767
|
+
break;
|
|
26768
|
+
}
|
|
26769
|
+
rejectedReasons[id || "#" + i] = adapter2;
|
|
26770
|
+
}
|
|
26771
|
+
if (!adapter2) {
|
|
26772
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
26773
|
+
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
26774
|
+
);
|
|
26775
|
+
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
26776
|
+
throw new AxiosError_default(
|
|
26777
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
|
26778
|
+
"ERR_NOT_SUPPORT"
|
|
26779
|
+
);
|
|
26780
|
+
}
|
|
26781
|
+
return adapter2;
|
|
26782
|
+
}
|
|
26375
26783
|
var adapters_default = {
|
|
26376
|
-
|
|
26377
|
-
|
|
26378
|
-
|
|
26379
|
-
|
|
26380
|
-
|
|
26381
|
-
|
|
26382
|
-
|
|
26383
|
-
|
|
26384
|
-
|
|
26385
|
-
adapter = nameOrAdapter;
|
|
26386
|
-
if (!isResolvedHandle(nameOrAdapter)) {
|
|
26387
|
-
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
26388
|
-
if (adapter === void 0) {
|
|
26389
|
-
throw new AxiosError_default(`Unknown adapter '${id}'`);
|
|
26390
|
-
}
|
|
26391
|
-
}
|
|
26392
|
-
if (adapter) {
|
|
26393
|
-
break;
|
|
26394
|
-
}
|
|
26395
|
-
rejectedReasons[id || "#" + i] = adapter;
|
|
26396
|
-
}
|
|
26397
|
-
if (!adapter) {
|
|
26398
|
-
const reasons = Object.entries(rejectedReasons).map(
|
|
26399
|
-
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
26400
|
-
);
|
|
26401
|
-
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
26402
|
-
throw new AxiosError_default(
|
|
26403
|
-
`There is no suitable adapter to dispatch the request ` + s,
|
|
26404
|
-
"ERR_NOT_SUPPORT"
|
|
26405
|
-
);
|
|
26406
|
-
}
|
|
26407
|
-
return adapter;
|
|
26408
|
-
},
|
|
26784
|
+
/**
|
|
26785
|
+
* Resolve an adapter from a list of adapter names or functions.
|
|
26786
|
+
* @type {Function}
|
|
26787
|
+
*/
|
|
26788
|
+
getAdapter,
|
|
26789
|
+
/**
|
|
26790
|
+
* Exposes all known adapters
|
|
26791
|
+
* @type {Object<string, Function|Object>}
|
|
26792
|
+
*/
|
|
26409
26793
|
adapters: knownAdapters
|
|
26410
26794
|
};
|
|
26411
26795
|
|
|
@@ -26428,8 +26812,8 @@ function dispatchRequest(config) {
|
|
|
26428
26812
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
26429
26813
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
26430
26814
|
}
|
|
26431
|
-
const
|
|
26432
|
-
return
|
|
26815
|
+
const adapter2 = adapters_default.getAdapter(config.adapter || defaults_default.adapter, config);
|
|
26816
|
+
return adapter2(config).then(function onAdapterResolution(response) {
|
|
26433
26817
|
throwIfCancellationRequested(config);
|
|
26434
26818
|
response.data = transformData.call(
|
|
26435
26819
|
config,
|
|
@@ -26635,7 +27019,6 @@ var Axios = class {
|
|
|
26635
27019
|
}
|
|
26636
27020
|
len = requestInterceptorChain.length;
|
|
26637
27021
|
let newConfig = config;
|
|
26638
|
-
i = 0;
|
|
26639
27022
|
while (i < len) {
|
|
26640
27023
|
const onFulfilled = requestInterceptorChain[i++];
|
|
26641
27024
|
const onRejected = requestInterceptorChain[i++];
|
|
@@ -26865,7 +27248,13 @@ var HttpStatusCode = {
|
|
|
26865
27248
|
InsufficientStorage: 507,
|
|
26866
27249
|
LoopDetected: 508,
|
|
26867
27250
|
NotExtended: 510,
|
|
26868
|
-
NetworkAuthenticationRequired: 511
|
|
27251
|
+
NetworkAuthenticationRequired: 511,
|
|
27252
|
+
WebServerIsDown: 521,
|
|
27253
|
+
ConnectionTimedOut: 522,
|
|
27254
|
+
OriginIsUnreachable: 523,
|
|
27255
|
+
TimeoutOccurred: 524,
|
|
27256
|
+
SslHandshakeFailed: 525,
|
|
27257
|
+
InvalidSslCertificate: 526
|
|
26869
27258
|
};
|
|
26870
27259
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
26871
27260
|
HttpStatusCode[value] = key;
|
|
@@ -26921,7 +27310,7 @@ var {
|
|
|
26921
27310
|
AxiosHeaders: AxiosHeaders2,
|
|
26922
27311
|
HttpStatusCode: HttpStatusCode2,
|
|
26923
27312
|
formToJSON,
|
|
26924
|
-
getAdapter,
|
|
27313
|
+
getAdapter: getAdapter2,
|
|
26925
27314
|
mergeConfig: mergeConfig2
|
|
26926
27315
|
} = axios_default;
|
|
26927
27316
|
|
|
@@ -26931,9 +27320,9 @@ var import_https2 = require("https");
|
|
|
26931
27320
|
|
|
26932
27321
|
// src/common.ts
|
|
26933
27322
|
var import_os = require("os");
|
|
26934
|
-
var
|
|
27323
|
+
var os3 = (0, import_os.platform)();
|
|
26935
27324
|
var standardHeaders = {
|
|
26936
|
-
"user-agent": `publish-microfrontend/http.node-${
|
|
27325
|
+
"user-agent": `publish-microfrontend/http.node-${os3}`
|
|
26937
27326
|
};
|
|
26938
27327
|
var isWindows = process.platform === "win32";
|
|
26939
27328
|
|
|
@@ -27163,23 +27552,23 @@ function resolveWinPath(specialFolder, subPath) {
|
|
|
27163
27552
|
function runScript(script, cwd = process.cwd(), output = process.stdout) {
|
|
27164
27553
|
const bin = (0, import_path2.resolve)(cwd, "./node_modules/.bin");
|
|
27165
27554
|
const sep = isWindows ? ";" : ":";
|
|
27166
|
-
const
|
|
27555
|
+
const env3 = Object.assign({}, process.env);
|
|
27167
27556
|
if (isWindows) {
|
|
27168
27557
|
const newPaths = [
|
|
27169
27558
|
resolveWinPath("AppData", "npm"),
|
|
27170
27559
|
resolveWinPath("ProgramFiles", "nodejs"),
|
|
27171
27560
|
resolveWinPath("ProgramFiles(x86)", "nodejs"),
|
|
27172
|
-
...(
|
|
27561
|
+
...(env3.Path || env3.PATH || "").split(";")
|
|
27173
27562
|
];
|
|
27174
|
-
|
|
27563
|
+
env3.PATH = newPaths.filter((path) => path && path.length > 0).join(sep);
|
|
27175
27564
|
}
|
|
27176
|
-
|
|
27565
|
+
env3.PATH = `${bin}${sep}${env3.PATH}`;
|
|
27177
27566
|
return new Promise((resolve3, reject) => {
|
|
27178
27567
|
const error = new MemoryStream();
|
|
27179
27568
|
const opt = { end: false };
|
|
27180
27569
|
const cp = (0, import_child_process.exec)(script, {
|
|
27181
27570
|
cwd,
|
|
27182
|
-
env:
|
|
27571
|
+
env: env3
|
|
27183
27572
|
});
|
|
27184
27573
|
cp.stdout.pipe(output, opt);
|
|
27185
27574
|
cp.stderr.pipe(error, opt);
|