create-vuetify0 0.0.9 → 0.0.10-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +384 -357
- package/dist/{prompt-DfzfvfGq.mjs → prompt-BIVRMyOv.mjs} +5 -5
- package/package.json +2 -2
- package/src/index.ts +0 -1
- package/tsdown.config.ts +11 -0
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as __toESM$1, i as __require, n as require_node_fetch_native_DhEqb06g, r as __commonJS$1, t as require_node } from "./node-CcjDTqtN.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
|
-
import
|
|
4
|
+
import g$1, { cwd, stdin, stdout } from "node:process";
|
|
5
5
|
import * as k$5 from "node:readline";
|
|
6
6
|
import c from "node:readline";
|
|
7
7
|
import * as tty from "node:tty";
|
|
8
8
|
import { ReadStream } from "node:tty";
|
|
9
9
|
import fs, { appendFileSync, cpSync, createWriteStream, existsSync, lstatSync, mkdirSync, mkdtempSync, promises, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
10
|
-
import path, { delimiter, dirname, isAbsolute, join, normalize, resolve, sep } from "node:path";
|
|
10
|
+
import path, { delimiter, dirname, isAbsolute, join, normalize, relative, resolve, sep } from "node:path";
|
|
11
11
|
import { format, formatWithOptions, inspect, promisify, stripVTControlCharacters } from "node:util";
|
|
12
12
|
import fs$1, { mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
13
13
|
import { createRequire as createRequire$1 } from "module";
|
|
@@ -16,7 +16,7 @@ import H$2 from "path";
|
|
|
16
16
|
import nt from "events";
|
|
17
17
|
import ot from "stream";
|
|
18
18
|
import ht from "string_decoder";
|
|
19
|
-
import P
|
|
19
|
+
import P from "buffer";
|
|
20
20
|
import O$2 from "zlib";
|
|
21
21
|
import nt$1 from "process";
|
|
22
22
|
import V from "fs";
|
|
@@ -315,12 +315,12 @@ var require_isFunction = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnp
|
|
|
315
315
|
* _.isFunction(/abc/);
|
|
316
316
|
* // => false
|
|
317
317
|
*/
|
|
318
|
-
function isFunction$
|
|
318
|
+
function isFunction$4(value) {
|
|
319
319
|
if (!isObject$12(value)) return false;
|
|
320
320
|
var tag = baseGetTag$4(value);
|
|
321
321
|
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
322
322
|
}
|
|
323
|
-
module.exports = isFunction$
|
|
323
|
+
module.exports = isFunction$4;
|
|
324
324
|
}) });
|
|
325
325
|
|
|
326
326
|
//#endregion
|
|
@@ -382,7 +382,7 @@ var require__toSource = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js
|
|
384
384
|
var require__baseIsNative = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js": ((exports, module) => {
|
|
385
|
-
var isFunction$
|
|
385
|
+
var isFunction$3 = require_isFunction(), isMasked = require__isMasked(), isObject$11 = require_isObject(), toSource$1 = require__toSource();
|
|
386
386
|
/**
|
|
387
387
|
* Used to match `RegExp`
|
|
388
388
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -408,7 +408,7 @@ var require__baseIsNative = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.
|
|
|
408
408
|
*/
|
|
409
409
|
function baseIsNative$1(value) {
|
|
410
410
|
if (!isObject$11(value) || isMasked(value)) return false;
|
|
411
|
-
return (isFunction$
|
|
411
|
+
return (isFunction$3(value) ? reIsNative : reIsHostCtor).test(toSource$1(value));
|
|
412
412
|
}
|
|
413
413
|
module.exports = baseIsNative$1;
|
|
414
414
|
}) });
|
|
@@ -1872,7 +1872,7 @@ var require__initCloneObject = /* @__PURE__ */ __commonJS$1({ "../../node_module
|
|
|
1872
1872
|
//#endregion
|
|
1873
1873
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js
|
|
1874
1874
|
var require_isArrayLike = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js": ((exports, module) => {
|
|
1875
|
-
var isFunction$
|
|
1875
|
+
var isFunction$2 = require_isFunction(), isLength$1 = require_isLength();
|
|
1876
1876
|
/**
|
|
1877
1877
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
1878
1878
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -1899,7 +1899,7 @@ var require_isArrayLike = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pn
|
|
|
1899
1899
|
* // => false
|
|
1900
1900
|
*/
|
|
1901
1901
|
function isArrayLike$6(value) {
|
|
1902
|
-
return value != null && isLength$1(value.length) && !isFunction$
|
|
1902
|
+
return value != null && isLength$1(value.length) && !isFunction$2(value);
|
|
1903
1903
|
}
|
|
1904
1904
|
module.exports = isArrayLike$6;
|
|
1905
1905
|
}) });
|
|
@@ -2359,7 +2359,7 @@ var require_toPlainObject = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.
|
|
|
2359
2359
|
//#endregion
|
|
2360
2360
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js
|
|
2361
2361
|
var require__baseMergeDeep = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js": ((exports, module) => {
|
|
2362
|
-
var assignMergeValue$1 = require__assignMergeValue(), cloneBuffer = require__cloneBuffer(), cloneTypedArray = require__cloneTypedArray(), copyArray = require__copyArray(), initCloneObject = require__initCloneObject(), isArguments$1 = require_isArguments(), isArray$9 = require_isArray(), isArrayLikeObject = require_isArrayLikeObject(), isBuffer$1 = require_isBuffer(), isFunction = require_isFunction(), isObject$8 = require_isObject(), isPlainObject$3 = require_isPlainObject(), isTypedArray$1 = require_isTypedArray(), safeGet$1 = require__safeGet(), toPlainObject = require_toPlainObject();
|
|
2362
|
+
var assignMergeValue$1 = require__assignMergeValue(), cloneBuffer = require__cloneBuffer(), cloneTypedArray = require__cloneTypedArray(), copyArray = require__copyArray(), initCloneObject = require__initCloneObject(), isArguments$1 = require_isArguments(), isArray$9 = require_isArray(), isArrayLikeObject = require_isArrayLikeObject(), isBuffer$1 = require_isBuffer(), isFunction$1 = require_isFunction(), isObject$8 = require_isObject(), isPlainObject$3 = require_isPlainObject(), isTypedArray$1 = require_isTypedArray(), safeGet$1 = require__safeGet(), toPlainObject = require_toPlainObject();
|
|
2363
2363
|
/**
|
|
2364
2364
|
* A specialized version of `baseMerge` for arrays and objects which performs
|
|
2365
2365
|
* deep merges and tracks traversed objects enabling objects with circular
|
|
@@ -2398,7 +2398,7 @@ var require__baseMergeDeep = /* @__PURE__ */ __commonJS$1({ "../../node_modules/
|
|
|
2398
2398
|
else if (isPlainObject$3(srcValue) || isArguments$1(srcValue)) {
|
|
2399
2399
|
newValue = objValue;
|
|
2400
2400
|
if (isArguments$1(objValue)) newValue = toPlainObject(objValue);
|
|
2401
|
-
else if (!isObject$8(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
|
|
2401
|
+
else if (!isObject$8(objValue) || isFunction$1(objValue)) newValue = initCloneObject(srcValue);
|
|
2402
2402
|
} else isCommon = false;
|
|
2403
2403
|
}
|
|
2404
2404
|
if (isCommon) {
|
|
@@ -4391,7 +4391,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
4391
4391
|
0x9184e72a000
|
|
4392
4392
|
], SQRT_BASE = 1e7, MAX = 1e9;
|
|
4393
4393
|
function clone(configObject) {
|
|
4394
|
-
var div, convertBase, parseNumeric, P$
|
|
4394
|
+
var div, convertBase, parseNumeric, P$6 = BigNumber$1.prototype = {
|
|
4395
4395
|
constructor: BigNumber$1,
|
|
4396
4396
|
toString: null,
|
|
4397
4397
|
valueOf: null
|
|
@@ -5030,15 +5030,15 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5030
5030
|
str = e$8 <= TO_EXP_NEG || e$8 >= TO_EXP_POS ? toExponential(str, e$8) : toFixedPoint(str, e$8, "0");
|
|
5031
5031
|
return n$6.s < 0 ? "-" + str : str;
|
|
5032
5032
|
}
|
|
5033
|
-
P$
|
|
5033
|
+
P$6.absoluteValue = P$6.abs = function() {
|
|
5034
5034
|
var x$5 = new BigNumber$1(this);
|
|
5035
5035
|
if (x$5.s < 0) x$5.s = 1;
|
|
5036
5036
|
return x$5;
|
|
5037
5037
|
};
|
|
5038
|
-
P$
|
|
5038
|
+
P$6.comparedTo = function(y$7, b$11) {
|
|
5039
5039
|
return compare$12(this, new BigNumber$1(y$7, b$11));
|
|
5040
5040
|
};
|
|
5041
|
-
P$
|
|
5041
|
+
P$6.decimalPlaces = P$6.dp = function(dp, rm$1) {
|
|
5042
5042
|
var c$8, n$6, v$5, x$5 = this;
|
|
5043
5043
|
if (dp != null) {
|
|
5044
5044
|
intCheck(dp, 0, MAX);
|
|
@@ -5052,13 +5052,13 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5052
5052
|
if (n$6 < 0) n$6 = 0;
|
|
5053
5053
|
return n$6;
|
|
5054
5054
|
};
|
|
5055
|
-
P$
|
|
5055
|
+
P$6.dividedBy = P$6.div = function(y$7, b$11) {
|
|
5056
5056
|
return div(this, new BigNumber$1(y$7, b$11), DECIMAL_PLACES, ROUNDING_MODE);
|
|
5057
5057
|
};
|
|
5058
|
-
P$
|
|
5058
|
+
P$6.dividedToIntegerBy = P$6.idiv = function(y$7, b$11) {
|
|
5059
5059
|
return div(this, new BigNumber$1(y$7, b$11), 0, 1);
|
|
5060
5060
|
};
|
|
5061
|
-
P$
|
|
5061
|
+
P$6.exponentiatedBy = P$6.pow = function(n$6, m$5) {
|
|
5062
5062
|
var half, isModExp, i$9, k$6, more, nIsBig, nIsNeg, nIsOdd, y$7, x$5 = this;
|
|
5063
5063
|
n$6 = new BigNumber$1(n$6);
|
|
5064
5064
|
if (n$6.c && !n$6.isInteger()) throw Error(bignumberError + "Exponent not an integer: " + valueOf(n$6));
|
|
@@ -5118,46 +5118,46 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5118
5118
|
if (nIsNeg) y$7 = ONE.div(y$7);
|
|
5119
5119
|
return m$5 ? y$7.mod(m$5) : k$6 ? round(y$7, POW_PRECISION, ROUNDING_MODE, more) : y$7;
|
|
5120
5120
|
};
|
|
5121
|
-
P$
|
|
5121
|
+
P$6.integerValue = function(rm$1) {
|
|
5122
5122
|
var n$6 = new BigNumber$1(this);
|
|
5123
5123
|
if (rm$1 == null) rm$1 = ROUNDING_MODE;
|
|
5124
5124
|
else intCheck(rm$1, 0, 8);
|
|
5125
5125
|
return round(n$6, n$6.e + 1, rm$1);
|
|
5126
5126
|
};
|
|
5127
|
-
P$
|
|
5127
|
+
P$6.isEqualTo = P$6.eq = function(y$7, b$11) {
|
|
5128
5128
|
return compare$12(this, new BigNumber$1(y$7, b$11)) === 0;
|
|
5129
5129
|
};
|
|
5130
|
-
P$
|
|
5130
|
+
P$6.isFinite = function() {
|
|
5131
5131
|
return !!this.c;
|
|
5132
5132
|
};
|
|
5133
|
-
P$
|
|
5133
|
+
P$6.isGreaterThan = P$6.gt = function(y$7, b$11) {
|
|
5134
5134
|
return compare$12(this, new BigNumber$1(y$7, b$11)) > 0;
|
|
5135
5135
|
};
|
|
5136
|
-
P$
|
|
5136
|
+
P$6.isGreaterThanOrEqualTo = P$6.gte = function(y$7, b$11) {
|
|
5137
5137
|
return (b$11 = compare$12(this, new BigNumber$1(y$7, b$11))) === 1 || b$11 === 0;
|
|
5138
5138
|
};
|
|
5139
|
-
P$
|
|
5139
|
+
P$6.isInteger = function() {
|
|
5140
5140
|
return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
|
|
5141
5141
|
};
|
|
5142
|
-
P$
|
|
5142
|
+
P$6.isLessThan = P$6.lt = function(y$7, b$11) {
|
|
5143
5143
|
return compare$12(this, new BigNumber$1(y$7, b$11)) < 0;
|
|
5144
5144
|
};
|
|
5145
|
-
P$
|
|
5145
|
+
P$6.isLessThanOrEqualTo = P$6.lte = function(y$7, b$11) {
|
|
5146
5146
|
return (b$11 = compare$12(this, new BigNumber$1(y$7, b$11))) === -1 || b$11 === 0;
|
|
5147
5147
|
};
|
|
5148
|
-
P$
|
|
5148
|
+
P$6.isNaN = function() {
|
|
5149
5149
|
return !this.s;
|
|
5150
5150
|
};
|
|
5151
|
-
P$
|
|
5151
|
+
P$6.isNegative = function() {
|
|
5152
5152
|
return this.s < 0;
|
|
5153
5153
|
};
|
|
5154
|
-
P$
|
|
5154
|
+
P$6.isPositive = function() {
|
|
5155
5155
|
return this.s > 0;
|
|
5156
5156
|
};
|
|
5157
|
-
P$
|
|
5157
|
+
P$6.isZero = function() {
|
|
5158
5158
|
return !!this.c && this.c[0] == 0;
|
|
5159
5159
|
};
|
|
5160
|
-
P$
|
|
5160
|
+
P$6.minus = function(y$7, b$11) {
|
|
5161
5161
|
var i$9, j$6, t$9, xLTy, x$5 = this, a$13 = x$5.s;
|
|
5162
5162
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5163
5163
|
b$11 = y$7.s;
|
|
@@ -5217,7 +5217,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5217
5217
|
}
|
|
5218
5218
|
return normalise(y$7, xc, ye$2);
|
|
5219
5219
|
};
|
|
5220
|
-
P$
|
|
5220
|
+
P$6.modulo = P$6.mod = function(y$7, b$11) {
|
|
5221
5221
|
var q$6, s$9, x$5 = this;
|
|
5222
5222
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5223
5223
|
if (!x$5.c || !y$7.s || y$7.c && !y$7.c[0]) return new BigNumber$1(NaN);
|
|
@@ -5233,7 +5233,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5233
5233
|
if (!y$7.c[0] && MODULO_MODE == 1) y$7.s = x$5.s;
|
|
5234
5234
|
return y$7;
|
|
5235
5235
|
};
|
|
5236
|
-
P$
|
|
5236
|
+
P$6.multipliedBy = P$6.times = function(y$7, b$11) {
|
|
5237
5237
|
var c$8, e$8, i$9, j$6, k$6, m$5, xcL, xlo, xhi, ycL, ylo, yhi, zc, base, sqrtBase, x$5 = this, xc = x$5.c, yc = (y$7 = new BigNumber$1(y$7, b$11)).c;
|
|
5238
5238
|
if (!xc || !yc || !xc[0] || !yc[0]) {
|
|
5239
5239
|
if (!x$5.s || !y$7.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) y$7.c = y$7.e = y$7.s = null;
|
|
@@ -5280,12 +5280,12 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5280
5280
|
else zc.splice(0, 1);
|
|
5281
5281
|
return normalise(y$7, zc, e$8);
|
|
5282
5282
|
};
|
|
5283
|
-
P$
|
|
5283
|
+
P$6.negated = function() {
|
|
5284
5284
|
var x$5 = new BigNumber$1(this);
|
|
5285
5285
|
x$5.s = -x$5.s || null;
|
|
5286
5286
|
return x$5;
|
|
5287
5287
|
};
|
|
5288
|
-
P$
|
|
5288
|
+
P$6.plus = function(y$7, b$11) {
|
|
5289
5289
|
var t$9, x$5 = this, a$13 = x$5.s;
|
|
5290
5290
|
y$7 = new BigNumber$1(y$7, b$11);
|
|
5291
5291
|
b$11 = y$7.s;
|
|
@@ -5332,7 +5332,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5332
5332
|
}
|
|
5333
5333
|
return normalise(y$7, xc, ye$2);
|
|
5334
5334
|
};
|
|
5335
|
-
P$
|
|
5335
|
+
P$6.precision = P$6.sd = function(sd, rm$1) {
|
|
5336
5336
|
var c$8, n$6, v$5, x$5 = this;
|
|
5337
5337
|
if (sd != null && sd !== !!sd) {
|
|
5338
5338
|
intCheck(sd, 1, MAX);
|
|
@@ -5350,11 +5350,11 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5350
5350
|
if (sd && x$5.e + 1 > n$6) n$6 = x$5.e + 1;
|
|
5351
5351
|
return n$6;
|
|
5352
5352
|
};
|
|
5353
|
-
P$
|
|
5353
|
+
P$6.shiftedBy = function(k$6) {
|
|
5354
5354
|
intCheck(k$6, -MAX_SAFE_INTEGER$5, MAX_SAFE_INTEGER$5);
|
|
5355
5355
|
return this.times("1e" + k$6);
|
|
5356
5356
|
};
|
|
5357
|
-
P$
|
|
5357
|
+
P$6.squareRoot = P$6.sqrt = function() {
|
|
5358
5358
|
var m$5, n$6, r$4, rep, t$9, x$5 = this, c$8 = x$5.c, s$9 = x$5.s, e$8 = x$5.e, dp = DECIMAL_PLACES + 4, half = new BigNumber$1("0.5");
|
|
5359
5359
|
if (s$9 !== 1 || !c$8 || !c$8[0]) return new BigNumber$1(!s$9 || s$9 < 0 && (!c$8 || c$8[0]) ? NaN : c$8 ? x$5 : Infinity);
|
|
5360
5360
|
s$9 = Math.sqrt(+valueOf(x$5));
|
|
@@ -5403,21 +5403,21 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5403
5403
|
}
|
|
5404
5404
|
return round(r$4, r$4.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m$5);
|
|
5405
5405
|
};
|
|
5406
|
-
P$
|
|
5406
|
+
P$6.toExponential = function(dp, rm$1) {
|
|
5407
5407
|
if (dp != null) {
|
|
5408
5408
|
intCheck(dp, 0, MAX);
|
|
5409
5409
|
dp++;
|
|
5410
5410
|
}
|
|
5411
5411
|
return format$1(this, dp, rm$1, 1);
|
|
5412
5412
|
};
|
|
5413
|
-
P$
|
|
5413
|
+
P$6.toFixed = function(dp, rm$1) {
|
|
5414
5414
|
if (dp != null) {
|
|
5415
5415
|
intCheck(dp, 0, MAX);
|
|
5416
5416
|
dp = dp + this.e + 1;
|
|
5417
5417
|
}
|
|
5418
5418
|
return format$1(this, dp, rm$1);
|
|
5419
5419
|
};
|
|
5420
|
-
P$
|
|
5420
|
+
P$6.toFormat = function(dp, rm$1, format$2) {
|
|
5421
5421
|
var str, x$5 = this;
|
|
5422
5422
|
if (format$2 == null) if (dp != null && rm$1 && typeof rm$1 == "object") {
|
|
5423
5423
|
format$2 = rm$1;
|
|
@@ -5447,7 +5447,7 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5447
5447
|
}
|
|
5448
5448
|
return (format$2.prefix || "") + str + (format$2.suffix || "");
|
|
5449
5449
|
};
|
|
5450
|
-
P$
|
|
5450
|
+
P$6.toFraction = function(md) {
|
|
5451
5451
|
var d$5, d0, d1, d2, e$8, exp, n$6, n0, n1, q$6, r$4, s$9, x$5 = this, xc = x$5.c;
|
|
5452
5452
|
if (md != null) {
|
|
5453
5453
|
n$6 = new BigNumber$1(md);
|
|
@@ -5485,14 +5485,14 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5485
5485
|
MAX_EXP = exp;
|
|
5486
5486
|
return r$4;
|
|
5487
5487
|
};
|
|
5488
|
-
P$
|
|
5488
|
+
P$6.toNumber = function() {
|
|
5489
5489
|
return +valueOf(this);
|
|
5490
5490
|
};
|
|
5491
|
-
P$
|
|
5491
|
+
P$6.toPrecision = function(sd, rm$1) {
|
|
5492
5492
|
if (sd != null) intCheck(sd, 1, MAX);
|
|
5493
5493
|
return format$1(this, sd, rm$1, 2);
|
|
5494
5494
|
};
|
|
5495
|
-
P$
|
|
5495
|
+
P$6.toString = function(b$11) {
|
|
5496
5496
|
var str, n$6 = this, s$9 = n$6.s, e$8 = n$6.e;
|
|
5497
5497
|
if (e$8 === null) if (s$9) {
|
|
5498
5498
|
str = "Infinity";
|
|
@@ -5511,10 +5511,10 @@ var require_bignumber = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm
|
|
|
5511
5511
|
}
|
|
5512
5512
|
return str;
|
|
5513
5513
|
};
|
|
5514
|
-
P$
|
|
5514
|
+
P$6.valueOf = P$6.toJSON = function() {
|
|
5515
5515
|
return valueOf(this);
|
|
5516
5516
|
};
|
|
5517
|
-
P$
|
|
5517
|
+
P$6._isBigNumber = true;
|
|
5518
5518
|
if (configObject != null) BigNumber$1.set(configObject);
|
|
5519
5519
|
return BigNumber$1;
|
|
5520
5520
|
}
|
|
@@ -7822,13 +7822,13 @@ var require_MissingTranslation = /* @__PURE__ */ __commonJS$1({ "../../node_modu
|
|
|
7822
7822
|
//#endregion
|
|
7823
7823
|
//#region ../../node_modules/.pnpm/i18n-js@4.5.1/node_modules/i18n-js/dist/require/I18n.js
|
|
7824
7824
|
var require_I18n = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/i18n-js@4.5.1/node_modules/i18n-js/dist/require/I18n.js": ((exports) => {
|
|
7825
|
-
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P$
|
|
7825
|
+
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P$6, generator) {
|
|
7826
7826
|
function adopt(value) {
|
|
7827
|
-
return value instanceof P$
|
|
7827
|
+
return value instanceof P$6 ? value : new P$6(function(resolve$2) {
|
|
7828
7828
|
resolve$2(value);
|
|
7829
7829
|
});
|
|
7830
7830
|
}
|
|
7831
|
-
return new (P$
|
|
7831
|
+
return new (P$6 || (P$6 = Promise))(function(resolve$2, reject) {
|
|
7832
7832
|
function fulfilled(value) {
|
|
7833
7833
|
try {
|
|
7834
7834
|
step(generator.next(value));
|
|
@@ -8310,7 +8310,8 @@ var en_default = {
|
|
|
8310
8310
|
"project": {
|
|
8311
8311
|
"name": "Project name:",
|
|
8312
8312
|
"invalid": "Invalid project name: %{error}",
|
|
8313
|
-
"overwrite": "The project path: %{path} already exists, would you like to overwrite this directory?"
|
|
8313
|
+
"overwrite": "The project path: %{path} already exists, would you like to overwrite this directory?",
|
|
8314
|
+
"cancel": "Use the different name for the project."
|
|
8314
8315
|
},
|
|
8315
8316
|
"framework": {
|
|
8316
8317
|
"select": "Which framework would you like to use?",
|
|
@@ -8334,30 +8335,24 @@ var en_default = {
|
|
|
8334
8335
|
},
|
|
8335
8336
|
"features": {
|
|
8336
8337
|
"select": "Select features to install: %{hint}",
|
|
8337
|
-
"pinia": {
|
|
8338
|
-
"label": "Pinia",
|
|
8339
|
-
"hint": "Intuitive, type safe and flexible Store for Vue"
|
|
8340
|
-
},
|
|
8338
|
+
"pinia": { "label": "Pinia" },
|
|
8341
8339
|
"eslint": {
|
|
8342
8340
|
"label": "ESLint",
|
|
8343
|
-
"hint": "
|
|
8344
|
-
},
|
|
8345
|
-
"i18n": {
|
|
8346
|
-
"label": "I18n",
|
|
8347
|
-
"hint": "Internationalization support for Vue"
|
|
8341
|
+
"hint": "with eslint-config-vuetify"
|
|
8348
8342
|
},
|
|
8343
|
+
"i18n": { "label": "I18n" },
|
|
8349
8344
|
"vuetify_nuxt_module": {
|
|
8350
8345
|
"label": "Vuetify Nuxt Module",
|
|
8351
8346
|
"hint": "Use vuetify-nuxt-module instead of local plugin"
|
|
8352
8347
|
},
|
|
8353
8348
|
"mcp": {
|
|
8354
8349
|
"label": "MCP",
|
|
8355
|
-
"hint": "
|
|
8350
|
+
"hint": "with @vuetify/mcp and @intellectronica/ruler"
|
|
8356
8351
|
}
|
|
8357
8352
|
},
|
|
8358
8353
|
"client_hints": { "enable": "Enable Client Hints? (Requires SSR)" },
|
|
8359
8354
|
"package_manager": { "select": "Which package manager would you like to use?" },
|
|
8360
|
-
"cancel": "
|
|
8355
|
+
"cancel": "Setup cancelled. You can run this command again anytime."
|
|
8361
8356
|
},
|
|
8362
8357
|
spinners: {
|
|
8363
8358
|
"template": {
|
|
@@ -8511,7 +8506,8 @@ var ru_default = {
|
|
|
8511
8506
|
"project": {
|
|
8512
8507
|
"name": "Название проекта:",
|
|
8513
8508
|
"invalid": "Некорректное название проекта: %{error}",
|
|
8514
|
-
"overwrite": "Папка проекта: %{path} уже существует, хотите перезаписать её?"
|
|
8509
|
+
"overwrite": "Папка проекта: %{path} уже существует, хотите перезаписать её?",
|
|
8510
|
+
"cancel": "Используйте другое название для проекта."
|
|
8515
8511
|
},
|
|
8516
8512
|
"framework": {
|
|
8517
8513
|
"select": "Какой фреймворк вы хотите использовать?",
|
|
@@ -8535,29 +8531,23 @@ var ru_default = {
|
|
|
8535
8531
|
},
|
|
8536
8532
|
"features": {
|
|
8537
8533
|
"select": "Выберите функции для установки: %{hint}",
|
|
8538
|
-
"pinia": {
|
|
8539
|
-
"label": "Pinia",
|
|
8540
|
-
"hint": "Интуитивный, типобезопасный и гибкий Store для Vue"
|
|
8541
|
-
},
|
|
8534
|
+
"pinia": { "label": "Pinia" },
|
|
8542
8535
|
"eslint": {
|
|
8543
8536
|
"label": "ESLint",
|
|
8544
|
-
"hint": "
|
|
8545
|
-
},
|
|
8546
|
-
"i18n": {
|
|
8547
|
-
"label": "I18n",
|
|
8548
|
-
"hint": "Поддержка i18n для Vue"
|
|
8537
|
+
"hint": "с eslint-config-vuetify"
|
|
8549
8538
|
},
|
|
8539
|
+
"i18n": { "label": "I18n" },
|
|
8550
8540
|
"vuetify_nuxt_module": {
|
|
8551
8541
|
"label": "Vuetify Nuxt Module",
|
|
8552
8542
|
"hint": "Использовать vuetify-nuxt-module вместо локального плагина"
|
|
8553
8543
|
},
|
|
8554
8544
|
"mcp": {
|
|
8555
8545
|
"label": "MCP",
|
|
8556
|
-
"hint": "
|
|
8546
|
+
"hint": "с @vuetify/mcp и @intellectronica/ruler"
|
|
8557
8547
|
}
|
|
8558
8548
|
},
|
|
8559
8549
|
"package_manager": { "select": "Какой менеджер пакетов вы хотите использовать?" },
|
|
8560
|
-
"cancel": "
|
|
8550
|
+
"cancel": "Создание проекта отменено. Вы можете запустить команду снова в любое время."
|
|
8561
8551
|
},
|
|
8562
8552
|
spinners: {
|
|
8563
8553
|
"template": {
|
|
@@ -8798,11 +8788,11 @@ var require_src = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/siste
|
|
|
8798
8788
|
//#region ../../node_modules/.pnpm/@clack+core@1.0.0-alpha.7/node_modules/@clack/core/dist/index.mjs
|
|
8799
8789
|
var import_picocolors$1 = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
8800
8790
|
var import_src$1 = require_src();
|
|
8801
|
-
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$
|
|
8791
|
+
const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 || t$9 === 170 || t$9 === 173 || t$9 === 174 || t$9 >= 176 && t$9 <= 180 || t$9 >= 182 && t$9 <= 186 || t$9 >= 188 && t$9 <= 191 || t$9 === 198 || t$9 === 208 || t$9 === 215 || t$9 === 216 || t$9 >= 222 && t$9 <= 225 || t$9 === 230 || t$9 >= 232 && t$9 <= 234 || t$9 === 236 || t$9 === 237 || t$9 === 240 || t$9 === 242 || t$9 === 243 || t$9 >= 247 && t$9 <= 250 || t$9 === 252 || t$9 === 254 || t$9 === 257 || t$9 === 273 || t$9 === 275 || t$9 === 283 || t$9 === 294 || t$9 === 295 || t$9 === 299 || t$9 >= 305 && t$9 <= 307 || t$9 === 312 || t$9 >= 319 && t$9 <= 322 || t$9 === 324 || t$9 >= 328 && t$9 <= 331 || t$9 === 333 || t$9 === 338 || t$9 === 339 || t$9 === 358 || t$9 === 359 || t$9 === 363 || t$9 === 462 || t$9 === 464 || t$9 === 466 || t$9 === 468 || t$9 === 470 || t$9 === 472 || t$9 === 474 || t$9 === 476 || t$9 === 593 || t$9 === 609 || t$9 === 708 || t$9 === 711 || t$9 >= 713 && t$9 <= 715 || t$9 === 717 || t$9 === 720 || t$9 >= 728 && t$9 <= 731 || t$9 === 733 || t$9 === 735 || t$9 >= 768 && t$9 <= 879 || t$9 >= 913 && t$9 <= 929 || t$9 >= 931 && t$9 <= 937 || t$9 >= 945 && t$9 <= 961 || t$9 >= 963 && t$9 <= 969 || t$9 === 1025 || t$9 >= 1040 && t$9 <= 1103 || t$9 === 1105 || t$9 === 8208 || t$9 >= 8211 && t$9 <= 8214 || t$9 === 8216 || t$9 === 8217 || t$9 === 8220 || t$9 === 8221 || t$9 >= 8224 && t$9 <= 8226 || t$9 >= 8228 && t$9 <= 8231 || t$9 === 8240 || t$9 === 8242 || t$9 === 8243 || t$9 === 8245 || t$9 === 8251 || t$9 === 8254 || t$9 === 8308 || t$9 === 8319 || t$9 >= 8321 && t$9 <= 8324 || t$9 === 8364 || t$9 === 8451 || t$9 === 8453 || t$9 === 8457 || t$9 === 8467 || t$9 === 8470 || t$9 === 8481 || t$9 === 8482 || t$9 === 8486 || t$9 === 8491 || t$9 === 8531 || t$9 === 8532 || t$9 >= 8539 && t$9 <= 8542 || t$9 >= 8544 && t$9 <= 8555 || t$9 >= 8560 && t$9 <= 8569 || t$9 === 8585 || t$9 >= 8592 && t$9 <= 8601 || t$9 === 8632 || t$9 === 8633 || t$9 === 8658 || t$9 === 8660 || t$9 === 8679 || t$9 === 8704 || t$9 === 8706 || t$9 === 8707 || t$9 === 8711 || t$9 === 8712 || t$9 === 8715 || t$9 === 8719 || t$9 === 8721 || t$9 === 8725 || t$9 === 8730 || t$9 >= 8733 && t$9 <= 8736 || t$9 === 8739 || t$9 === 8741 || t$9 >= 8743 && t$9 <= 8748 || t$9 === 8750 || t$9 >= 8756 && t$9 <= 8759 || t$9 === 8764 || t$9 === 8765 || t$9 === 8776 || t$9 === 8780 || t$9 === 8786 || t$9 === 8800 || t$9 === 8801 || t$9 >= 8804 && t$9 <= 8807 || t$9 === 8810 || t$9 === 8811 || t$9 === 8814 || t$9 === 8815 || t$9 === 8834 || t$9 === 8835 || t$9 === 8838 || t$9 === 8839 || t$9 === 8853 || t$9 === 8857 || t$9 === 8869 || t$9 === 8895 || t$9 === 8978 || t$9 >= 9312 && t$9 <= 9449 || t$9 >= 9451 && t$9 <= 9547 || t$9 >= 9552 && t$9 <= 9587 || t$9 >= 9600 && t$9 <= 9615 || t$9 >= 9618 && t$9 <= 9621 || t$9 === 9632 || t$9 === 9633 || t$9 >= 9635 && t$9 <= 9641 || t$9 === 9650 || t$9 === 9651 || t$9 === 9654 || t$9 === 9655 || t$9 === 9660 || t$9 === 9661 || t$9 === 9664 || t$9 === 9665 || t$9 >= 9670 && t$9 <= 9672 || t$9 === 9675 || t$9 >= 9678 && t$9 <= 9681 || t$9 >= 9698 && t$9 <= 9701 || t$9 === 9711 || t$9 === 9733 || t$9 === 9734 || t$9 === 9737 || t$9 === 9742 || t$9 === 9743 || t$9 === 9756 || t$9 === 9758 || t$9 === 9792 || t$9 === 9794 || t$9 === 9824 || t$9 === 9825 || t$9 >= 9827 && t$9 <= 9829 || t$9 >= 9831 && t$9 <= 9834 || t$9 === 9836 || t$9 === 9837 || t$9 === 9839 || t$9 === 9886 || t$9 === 9887 || t$9 === 9919 || t$9 >= 9926 && t$9 <= 9933 || t$9 >= 9935 && t$9 <= 9939 || t$9 >= 9941 && t$9 <= 9953 || t$9 === 9955 || t$9 === 9960 || t$9 === 9961 || t$9 >= 9963 && t$9 <= 9969 || t$9 === 9972 || t$9 >= 9974 && t$9 <= 9977 || t$9 === 9979 || t$9 === 9980 || t$9 === 9982 || t$9 === 9983 || t$9 === 10045 || t$9 >= 10102 && t$9 <= 10111 || t$9 >= 11094 && t$9 <= 11097 || t$9 >= 12872 && t$9 <= 12879 || t$9 >= 57344 && t$9 <= 63743 || t$9 >= 65024 && t$9 <= 65039 || t$9 === 65533 || t$9 >= 127232 && t$9 <= 127242 || t$9 >= 127248 && t$9 <= 127277 || t$9 >= 127280 && t$9 <= 127337 || t$9 >= 127344 && t$9 <= 127373 || t$9 === 127375 || t$9 === 127376 || t$9 >= 127387 && t$9 <= 127404 || t$9 >= 917760 && t$9 <= 917999 || t$9 >= 983040 && t$9 <= 1048573 || t$9 >= 1048576 && t$9 <= 1114109, lt$4 = (t$9) => t$9 === 12288 || t$9 >= 65281 && t$9 <= 65376 || t$9 >= 65504 && t$9 <= 65510, ht$2 = (t$9) => t$9 >= 4352 && t$9 <= 4447 || t$9 === 8986 || t$9 === 8987 || t$9 === 9001 || t$9 === 9002 || t$9 >= 9193 && t$9 <= 9196 || t$9 === 9200 || t$9 === 9203 || t$9 === 9725 || t$9 === 9726 || t$9 === 9748 || t$9 === 9749 || t$9 >= 9800 && t$9 <= 9811 || t$9 === 9855 || t$9 === 9875 || t$9 === 9889 || t$9 === 9898 || t$9 === 9899 || t$9 === 9917 || t$9 === 9918 || t$9 === 9924 || t$9 === 9925 || t$9 === 9934 || t$9 === 9940 || t$9 === 9962 || t$9 === 9970 || t$9 === 9971 || t$9 === 9973 || t$9 === 9978 || t$9 === 9981 || t$9 === 9989 || t$9 === 9994 || t$9 === 9995 || t$9 === 10024 || t$9 === 10060 || t$9 === 10062 || t$9 >= 10067 && t$9 <= 10069 || t$9 === 10071 || t$9 >= 10133 && t$9 <= 10135 || t$9 === 10160 || t$9 === 10175 || t$9 === 11035 || t$9 === 11036 || t$9 === 11088 || t$9 === 11093 || t$9 >= 11904 && t$9 <= 11929 || t$9 >= 11931 && t$9 <= 12019 || t$9 >= 12032 && t$9 <= 12245 || t$9 >= 12272 && t$9 <= 12287 || t$9 >= 12289 && t$9 <= 12350 || t$9 >= 12353 && t$9 <= 12438 || t$9 >= 12441 && t$9 <= 12543 || t$9 >= 12549 && t$9 <= 12591 || t$9 >= 12593 && t$9 <= 12686 || t$9 >= 12688 && t$9 <= 12771 || t$9 >= 12783 && t$9 <= 12830 || t$9 >= 12832 && t$9 <= 12871 || t$9 >= 12880 && t$9 <= 19903 || t$9 >= 19968 && t$9 <= 42124 || t$9 >= 42128 && t$9 <= 42182 || t$9 >= 43360 && t$9 <= 43388 || t$9 >= 44032 && t$9 <= 55203 || t$9 >= 63744 && t$9 <= 64255 || t$9 >= 65040 && t$9 <= 65049 || t$9 >= 65072 && t$9 <= 65106 || t$9 >= 65108 && t$9 <= 65126 || t$9 >= 65128 && t$9 <= 65131 || t$9 >= 94176 && t$9 <= 94180 || t$9 === 94192 || t$9 === 94193 || t$9 >= 94208 && t$9 <= 100343 || t$9 >= 100352 && t$9 <= 101589 || t$9 >= 101632 && t$9 <= 101640 || t$9 >= 110576 && t$9 <= 110579 || t$9 >= 110581 && t$9 <= 110587 || t$9 === 110589 || t$9 === 110590 || t$9 >= 110592 && t$9 <= 110882 || t$9 === 110898 || t$9 >= 110928 && t$9 <= 110930 || t$9 === 110933 || t$9 >= 110948 && t$9 <= 110951 || t$9 >= 110960 && t$9 <= 111355 || t$9 === 126980 || t$9 === 127183 || t$9 === 127374 || t$9 >= 127377 && t$9 <= 127386 || t$9 >= 127488 && t$9 <= 127490 || t$9 >= 127504 && t$9 <= 127547 || t$9 >= 127552 && t$9 <= 127560 || t$9 === 127568 || t$9 === 127569 || t$9 >= 127584 && t$9 <= 127589 || t$9 >= 127744 && t$9 <= 127776 || t$9 >= 127789 && t$9 <= 127797 || t$9 >= 127799 && t$9 <= 127868 || t$9 >= 127870 && t$9 <= 127891 || t$9 >= 127904 && t$9 <= 127946 || t$9 >= 127951 && t$9 <= 127955 || t$9 >= 127968 && t$9 <= 127984 || t$9 === 127988 || t$9 >= 127992 && t$9 <= 128062 || t$9 === 128064 || t$9 >= 128066 && t$9 <= 128252 || t$9 >= 128255 && t$9 <= 128317 || t$9 >= 128331 && t$9 <= 128334 || t$9 >= 128336 && t$9 <= 128359 || t$9 === 128378 || t$9 === 128405 || t$9 === 128406 || t$9 === 128420 || t$9 >= 128507 && t$9 <= 128591 || t$9 >= 128640 && t$9 <= 128709 || t$9 === 128716 || t$9 >= 128720 && t$9 <= 128722 || t$9 >= 128725 && t$9 <= 128727 || t$9 >= 128732 && t$9 <= 128735 || t$9 === 128747 || t$9 === 128748 || t$9 >= 128756 && t$9 <= 128764 || t$9 >= 128992 && t$9 <= 129003 || t$9 === 129008 || t$9 >= 129292 && t$9 <= 129338 || t$9 >= 129340 && t$9 <= 129349 || t$9 >= 129351 && t$9 <= 129535 || t$9 >= 129648 && t$9 <= 129660 || t$9 >= 129664 && t$9 <= 129672 || t$9 >= 129680 && t$9 <= 129725 || t$9 >= 129727 && t$9 <= 129733 || t$9 >= 129742 && t$9 <= 129755 || t$9 >= 129760 && t$9 <= 129768 || t$9 >= 129776 && t$9 <= 129784 || t$9 >= 131072 && t$9 <= 196605 || t$9 >= 196608 && t$9 <= 262141, O$8 = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y$6 = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$4 = /\t{1,1000}/y, P$5 = /[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy, L$4 = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, ct = /\p{M}+/gu, Ft$1 = {
|
|
8802
8792
|
limit: Infinity,
|
|
8803
8793
|
ellipsis: ""
|
|
8804
8794
|
}, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
|
|
8805
|
-
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$
|
|
8795
|
+
const i$9 = e$8.limit ?? Infinity, r$4 = e$8.ellipsis ?? "", n$6 = e$8?.ellipsisWidth ?? (r$4 ? X$3(r$4, Ft$1, s$9).width : 0), o$7 = s$9.ansiWidth ?? 0, a$13 = s$9.controlWidth ?? 0, l$3 = s$9.tabWidth ?? 8, E$5 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, m$5 = s$9.fullWidthWidth ?? 2, A$2 = s$9.regularWidth ?? 1, V$4 = s$9.wideWidth ?? 2;
|
|
8806
8796
|
let h$6 = 0, u$8 = 0, f$7 = t$9.length, v$5 = 0, p$3 = !1, d$5 = f$7, b$11 = Math.max(0, i$9 - n$6), C$5 = 0, B$2 = 0, c$8 = 0, F$6 = 0;
|
|
8807
8797
|
t: for (;;) {
|
|
8808
8798
|
if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
|
|
@@ -8851,12 +8841,12 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8851
8841
|
c$8 += F$6, C$5 = h$6, B$2 = u$8, u$8 = h$6 = M$4.lastIndex;
|
|
8852
8842
|
continue;
|
|
8853
8843
|
}
|
|
8854
|
-
if (P$
|
|
8855
|
-
if (c$8 + g$
|
|
8844
|
+
if (P$5.lastIndex = u$8, P$5.test(t$9)) {
|
|
8845
|
+
if (c$8 + g$5 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$5 > i$9) {
|
|
8856
8846
|
p$3 = !0;
|
|
8857
8847
|
break;
|
|
8858
8848
|
}
|
|
8859
|
-
c$8 += g$
|
|
8849
|
+
c$8 += g$5, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
|
|
8860
8850
|
continue;
|
|
8861
8851
|
}
|
|
8862
8852
|
u$8 += 1;
|
|
@@ -8883,10 +8873,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8883
8873
|
if (t$9 === 0) return 0;
|
|
8884
8874
|
}, st = (t$9) => `${W$4}${Q$3}${t$9}${tt$2}`, it = (t$9) => `${W$4}${U$4}${t$9}${j$5}`, gt$6 = (t$9) => t$9.map((e$8) => S$6(e$8)), G$4 = (t$9, e$8, s$9) => {
|
|
8885
8875
|
const i$9 = e$8[Symbol.iterator]();
|
|
8886
|
-
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$
|
|
8876
|
+
let r$4 = !1, n$6 = !1, o$7 = t$9.at(-1), a$13 = o$7 === void 0 ? 0 : S$6(o$7), l$3 = i$9.next(), E$5 = i$9.next(), g$5 = 0;
|
|
8887
8877
|
for (; !l$3.done;) {
|
|
8888
8878
|
const m$5 = l$3.value, A$2 = S$6(m$5);
|
|
8889
|
-
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$
|
|
8879
|
+
a$13 + A$2 <= s$9 ? t$9[t$9.length - 1] += m$5 : (t$9.push(m$5), a$13 = 0), (m$5 === W$4 || m$5 === Z$3) && (r$4 = !0, n$6 = e$8.startsWith(U$4, g$5 + 1)), r$4 ? n$6 ? m$5 === j$5 && (r$4 = !1, n$6 = !1) : m$5 === tt$2 && (r$4 = !1) : (a$13 += A$2, a$13 === s$9 && !E$5.done && (t$9.push(""), a$13 = 0)), l$3 = E$5, E$5 = i$9.next(), g$5 += m$5.length;
|
|
8890
8880
|
}
|
|
8891
8881
|
o$7 = t$9.at(-1), !a$13 && o$7 !== void 0 && o$7.length > 0 && t$9.length > 1 && (t$9[t$9.length - 2] += t$9.pop());
|
|
8892
8882
|
}, vt$1 = (t$9) => {
|
|
@@ -8922,8 +8912,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8922
8912
|
}
|
|
8923
8913
|
s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
|
|
8924
8914
|
const E$5 = l$3.join(`
|
|
8925
|
-
`), g$
|
|
8926
|
-
let m$5 = g$
|
|
8915
|
+
`), g$5 = E$5[Symbol.iterator]();
|
|
8916
|
+
let m$5 = g$5.next(), A$2 = g$5.next(), V$4 = 0;
|
|
8927
8917
|
for (; !m$5.done;) {
|
|
8928
8918
|
const h$6 = m$5.value, u$8 = A$2.value;
|
|
8929
8919
|
if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
|
|
@@ -8937,7 +8927,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
|
|
|
8937
8927
|
const f$7 = r$4 ? mt$1(r$4) : void 0;
|
|
8938
8928
|
u$8 === `
|
|
8939
8929
|
` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
|
|
8940
|
-
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$
|
|
8930
|
+
` && (r$4 && f$7 && (i$9 += st(r$4)), n$6 && (i$9 += it(n$6))), V$4 += h$6.length, m$5 = A$2, A$2 = g$5.next();
|
|
8941
8931
|
}
|
|
8942
8932
|
return i$9;
|
|
8943
8933
|
};
|
|
@@ -9016,8 +9006,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
|
|
|
9016
9006
|
return;
|
|
9017
9007
|
}
|
|
9018
9008
|
if (!s$9) return;
|
|
9019
|
-
const g$
|
|
9020
|
-
k$5.moveCursor(e$8, g$
|
|
9009
|
+
const g$5 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
|
|
9010
|
+
k$5.moveCursor(e$8, g$5, m$5, () => {
|
|
9021
9011
|
k$5.clearLine(e$8, 1, () => {
|
|
9022
9012
|
t$9.once("keypress", n$6);
|
|
9023
9013
|
});
|
|
@@ -9415,7 +9405,7 @@ var Wt$1 = class extends x$4 {
|
|
|
9415
9405
|
});
|
|
9416
9406
|
}
|
|
9417
9407
|
};
|
|
9418
|
-
var Tt = class extends x$4 {
|
|
9408
|
+
var Tt$1 = class extends x$4 {
|
|
9419
9409
|
options;
|
|
9420
9410
|
cursor = 0;
|
|
9421
9411
|
constructor(e$8) {
|
|
@@ -9456,12 +9446,12 @@ var $t = class extends x$4 {
|
|
|
9456
9446
|
var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
|
|
9457
9447
|
var import_src = require_src();
|
|
9458
9448
|
function ht$1() {
|
|
9459
|
-
return
|
|
9449
|
+
return g$1.platform !== "win32" ? g$1.env.TERM !== "linux" : !!g$1.env.CI || !!g$1.env.WT_SESSION || !!g$1.env.TERMINUS_SUBLIME || g$1.env.ConEmuTask === "{cmd::Cmder}" || g$1.env.TERM_PROGRAM === "Terminus-Sublime" || g$1.env.TERM_PROGRAM === "vscode" || g$1.env.TERM === "xterm-256color" || g$1.env.TERM === "alacritty" || g$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
9460
9450
|
}
|
|
9461
9451
|
const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8.isTTY === !0, w$5 = (e$8, r$4) => ee$2 ? e$8 : r$4, Me$1 = w$5("◆", "*"), ce$1 = w$5("■", "x"), de$2 = w$5("▲", "x"), j$4 = w$5("◇", "o"), $e$1 = w$5("┌", "T"), h$5 = w$5("│", "|"), x$3 = w$5("└", "—"), Re$2 = w$5("┐", "T"), Oe$1 = w$5("┘", "—"), Y$2 = w$5("●", ">"), K$4 = w$5("○", " "), te$1 = w$5("◻", "[•]"), V$3 = w$5("◼", "[+]"), z$4 = w$5("◻", "[ ]"), Pe$1 = w$5("▪", "•"), se$1 = w$5("─", "-"), he$1 = w$5("╮", "+"), Ne$1 = w$5("├", "+"), me$1 = w$5("╯", "+"), pe$1 = w$5("╰", "+"), We$1 = w$5("╭", "+"), ge$1 = w$5("●", "•"), fe$2 = w$5("◆", "*"), Fe$1 = w$5("▲", "!"), ye$1 = w$5("■", "x"), W$3 = (e$8) => {
|
|
9462
9452
|
switch (e$8) {
|
|
9463
9453
|
case "initial":
|
|
9464
|
-
case "active": return import_picocolors.default.
|
|
9454
|
+
case "active": return import_picocolors.default.blue(Me$1);
|
|
9465
9455
|
case "cancel": return import_picocolors.default.red(ce$1);
|
|
9466
9456
|
case "error": return import_picocolors.default.yellow(de$2);
|
|
9467
9457
|
case "submit": return import_picocolors.default.green(j$4);
|
|
@@ -9469,7 +9459,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9469
9459
|
}, Ee$1 = (e$8) => {
|
|
9470
9460
|
switch (e$8) {
|
|
9471
9461
|
case "initial":
|
|
9472
|
-
case "active": return import_picocolors.default.
|
|
9462
|
+
case "active": return import_picocolors.default.blue(h$5);
|
|
9473
9463
|
case "cancel": return import_picocolors.default.red(h$5);
|
|
9474
9464
|
case "error": return import_picocolors.default.yellow(h$5);
|
|
9475
9465
|
case "submit": return import_picocolors.default.green(h$5);
|
|
@@ -9478,7 +9468,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9478
9468
|
limit: Infinity,
|
|
9479
9469
|
ellipsis: ""
|
|
9480
9470
|
}, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
|
|
9481
|
-
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$
|
|
9471
|
+
const i$9 = r$4.limit ?? Infinity, n$6 = r$4.ellipsis ?? "", l$3 = r$4?.ellipsisWidth ?? (n$6 ? Le$1(n$6, Ft, s$9).width : 0), u$8 = s$9.ansiWidth ?? 0, o$7 = s$9.controlWidth ?? 0, a$13 = s$9.tabWidth ?? 8, c$8 = s$9.ambiguousWidth ?? 1, g$5 = s$9.emojiWidth ?? 2, E$5 = s$9.fullWidthWidth ?? 2, p$3 = s$9.regularWidth ?? 1, y$7 = s$9.wideWidth ?? 2;
|
|
9482
9472
|
let $$2 = 0, m$5 = 0, d$5 = e$8.length, F$6 = 0, f$7 = !1, v$5 = d$5, I$4 = Math.max(0, i$9 - l$3), B$2 = 0, b$11 = 0, A$2 = 0, C$5 = 0;
|
|
9483
9473
|
e: for (;;) {
|
|
9484
9474
|
if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
|
|
@@ -9528,11 +9518,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9528
9518
|
continue;
|
|
9529
9519
|
}
|
|
9530
9520
|
if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
|
|
9531
|
-
if (A$2 + g$
|
|
9521
|
+
if (A$2 + g$5 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$5 > i$9) {
|
|
9532
9522
|
f$7 = !0;
|
|
9533
9523
|
break;
|
|
9534
9524
|
}
|
|
9535
|
-
A$2 += g$
|
|
9525
|
+
A$2 += g$5, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
|
|
9536
9526
|
continue;
|
|
9537
9527
|
}
|
|
9538
9528
|
m$5 += 1;
|
|
@@ -9559,10 +9549,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9559
9549
|
if (e$8 === 0) return 0;
|
|
9560
9550
|
}, He$1 = (e$8) => `${ae$1}${Ve$1}${e$8}${ke$2}`, Ue$1 = (e$8) => `${ae$1}${we$1}${e$8}${Ce$1}`, Ct$1 = (e$8) => e$8.map((r$4) => M$3(r$4)), Ie$1 = (e$8, r$4, s$9) => {
|
|
9561
9551
|
const i$9 = r$4[Symbol.iterator]();
|
|
9562
|
-
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$
|
|
9552
|
+
let n$6 = !1, l$3 = !1, u$8 = e$8.at(-1), o$7 = u$8 === void 0 ? 0 : M$3(u$8), a$13 = i$9.next(), c$8 = i$9.next(), g$5 = 0;
|
|
9563
9553
|
for (; !a$13.done;) {
|
|
9564
9554
|
const E$5 = a$13.value, p$3 = M$3(E$5);
|
|
9565
|
-
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$
|
|
9555
|
+
o$7 + p$3 <= s$9 ? e$8[e$8.length - 1] += E$5 : (e$8.push(E$5), o$7 = 0), (E$5 === ae$1 || E$5 === je$1) && (n$6 = !0, l$3 = r$4.startsWith(we$1, g$5 + 1)), n$6 ? l$3 ? E$5 === Ce$1 && (n$6 = !1, l$3 = !1) : E$5 === ke$2 && (n$6 = !1) : (o$7 += p$3, o$7 === s$9 && !c$8.done && (e$8.push(""), o$7 = 0)), a$13 = c$8, c$8 = i$9.next(), g$5 += E$5.length;
|
|
9566
9556
|
}
|
|
9567
9557
|
u$8 = e$8.at(-1), !o$7 && u$8 !== void 0 && u$8.length > 0 && e$8.length > 1 && (e$8[e$8.length - 2] += e$8.pop());
|
|
9568
9558
|
}, wt = (e$8) => {
|
|
@@ -9598,8 +9588,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9598
9588
|
}
|
|
9599
9589
|
s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
|
|
9600
9590
|
const c$8 = a$13.join(`
|
|
9601
|
-
`), g$
|
|
9602
|
-
let E$5 = g$
|
|
9591
|
+
`), g$5 = c$8[Symbol.iterator]();
|
|
9592
|
+
let E$5 = g$5.next(), p$3 = g$5.next(), y$7 = 0;
|
|
9603
9593
|
for (; !E$5.done;) {
|
|
9604
9594
|
const $$2 = E$5.value, m$5 = p$3.value;
|
|
9605
9595
|
if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
|
|
@@ -9613,7 +9603,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
|
|
|
9613
9603
|
const d$5 = n$6 ? At(n$6) : void 0;
|
|
9614
9604
|
m$5 === `
|
|
9615
9605
|
` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
|
|
9616
|
-
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$
|
|
9606
|
+
` && (n$6 && d$5 && (i$9 += He$1(n$6)), l$3 && (i$9 += Ue$1(l$3))), y$7 += $$2.length, E$5 = p$3, p$3 = g$5.next();
|
|
9617
9607
|
}
|
|
9618
9608
|
return i$9;
|
|
9619
9609
|
};
|
|
@@ -9635,7 +9625,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9635
9625
|
removals: u$8
|
|
9636
9626
|
};
|
|
9637
9627
|
}, J$4 = (e$8) => {
|
|
9638
|
-
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$
|
|
9628
|
+
const { cursor: r$4, options: s$9, style: i$9 } = e$8, n$6 = e$8.output ?? process.stdout, l$3 = rt$1(n$6), u$8 = e$8.columnPadding ?? 0, o$7 = e$8.rowPadding ?? 4, a$13 = l$3 - u$8, c$8 = nt$2(n$6), g$5 = import_picocolors.default.dim("..."), E$5 = e$8.maxItems ?? Number.POSITIVE_INFINITY, p$3 = Math.max(c$8 - o$7, 0), y$7 = Math.max(Math.min(E$5, p$3), 5);
|
|
9639
9629
|
let $$2 = 0;
|
|
9640
9630
|
r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
|
|
9641
9631
|
let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
|
|
@@ -9657,9 +9647,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
|
|
|
9657
9647
|
m$5 ? ({lineCount: _$7, removals: A$2} = T$8(0, D$4), _$7 > p$3 && ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length))) : ({lineCount: _$7, removals: C$5} = T$8(D$4 + 1, f$7.length), _$7 > p$3 && ({lineCount: _$7, removals: A$2} = T$8(0, D$4))), A$2 > 0 && (m$5 = !0, f$7.splice(0, A$2)), C$5 > 0 && (d$5 = !0, f$7.splice(f$7.length - C$5, C$5));
|
|
9658
9648
|
}
|
|
9659
9649
|
const b$11 = [];
|
|
9660
|
-
m$5 && b$11.push(g$
|
|
9650
|
+
m$5 && b$11.push(g$5);
|
|
9661
9651
|
for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
|
|
9662
|
-
return d$5 && b$11.push(g$
|
|
9652
|
+
return d$5 && b$11.push(g$5), b$11;
|
|
9663
9653
|
};
|
|
9664
9654
|
function Ke(e$8) {
|
|
9665
9655
|
return e$8.label ?? String(e$8.value ?? "");
|
|
@@ -9699,14 +9689,14 @@ ${import_picocolors.default.gray(h$5)}${a$13}`;
|
|
|
9699
9689
|
${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
9700
9690
|
}
|
|
9701
9691
|
default: {
|
|
9702
|
-
const o$7 = `${(this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.
|
|
9692
|
+
const o$7 = `${(this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.blue)(h$5)} `, a$13 = (this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.blue)(x$3);
|
|
9703
9693
|
let c$8 = "";
|
|
9704
9694
|
if (this.isNavigating || u$8) {
|
|
9705
9695
|
const d$5 = u$8 ? l$3 : s$9;
|
|
9706
9696
|
c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
|
|
9707
9697
|
} else c$8 = ` ${this.userInputWithCursor}`;
|
|
9708
|
-
const g$
|
|
9709
|
-
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$
|
|
9698
|
+
const g$5 = this.filteredOptions.length !== n$6.length ? import_picocolors.default.dim(` (${this.filteredOptions.length} match${this.filteredOptions.length === 1 ? "" : "es"})`) : "", E$5 = this.filteredOptions.length === 0 && s$9 ? [`${o$7}${import_picocolors.default.yellow("No matches found")}`] : [], p$3 = this.state === "error" ? [`${o$7}${import_picocolors.default.yellow(this.error)}`] : [];
|
|
9699
|
+
r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$5}`, ...E$5, ...p$3);
|
|
9710
9700
|
const y$7 = [
|
|
9711
9701
|
`${import_picocolors.default.dim("↑/↓")} to select`,
|
|
9712
9702
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
@@ -9734,8 +9724,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
|
|
|
9734
9724
|
}
|
|
9735
9725
|
}).prompt(), bt = (e$8) => {
|
|
9736
9726
|
const r$4 = (i$9, n$6, l$3, u$8) => {
|
|
9737
|
-
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$
|
|
9738
|
-
return n$6 ? `${g$
|
|
9727
|
+
const o$7 = l$3.includes(i$9.value), a$13 = i$9.label ?? String(i$9.value ?? ""), c$8 = i$9.hint && u$8 !== void 0 && i$9.value === u$8 ? import_picocolors.default.dim(` (${i$9.hint})`) : "", g$5 = o$7 ? import_picocolors.default.green(V$3) : import_picocolors.default.dim(z$4);
|
|
9728
|
+
return n$6 ? `${g$5} ${a$13}${c$8}` : `${g$5} ${import_picocolors.default.dim(a$13)}`;
|
|
9739
9729
|
}, s$9 = new Vt({
|
|
9740
9730
|
options: e$8.options,
|
|
9741
9731
|
multiple: !0,
|
|
@@ -9755,18 +9745,18 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9755
9745
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
|
|
9756
9746
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
|
|
9757
9747
|
default: {
|
|
9758
|
-
const g$
|
|
9748
|
+
const g$5 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.blue, E$5 = [
|
|
9759
9749
|
`${import_picocolors.default.dim("↑/↓")} to navigate`,
|
|
9760
9750
|
`${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
|
|
9761
9751
|
`${import_picocolors.default.dim("Enter:")} confirm`,
|
|
9762
9752
|
`${import_picocolors.default.dim("Type:")} to search`
|
|
9763
|
-
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$
|
|
9764
|
-
...`${i$9}${g$
|
|
9753
|
+
], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$5(h$5)} ${import_picocolors.default.yellow("No matches found")}`] : [], y$7 = this.state === "error" ? [`${g$5(h$5)} ${import_picocolors.default.yellow(this.error)}`] : [], $$2 = [
|
|
9754
|
+
...`${i$9}${g$5(h$5)}`.split(`
|
|
9765
9755
|
`),
|
|
9766
|
-
`${g$
|
|
9756
|
+
`${g$5(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
|
|
9767
9757
|
...p$3,
|
|
9768
9758
|
...y$7
|
|
9769
|
-
], m$5 = [`${g$
|
|
9759
|
+
], m$5 = [`${g$5(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$5(x$3)}`], d$5 = J$4({
|
|
9770
9760
|
cursor: this.cursor,
|
|
9771
9761
|
options: this.filteredOptions,
|
|
9772
9762
|
style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
|
|
@@ -9776,7 +9766,7 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9776
9766
|
});
|
|
9777
9767
|
return [
|
|
9778
9768
|
...$$2,
|
|
9779
|
-
...d$5.map((F$6) => `${g$
|
|
9769
|
+
...d$5.map((F$6) => `${g$5(h$5)} ${F$6}`),
|
|
9780
9770
|
...m$5
|
|
9781
9771
|
].join(`
|
|
9782
9772
|
`);
|
|
@@ -9800,8 +9790,8 @@ function Xe(e$8, r$4, s$9, i$9) {
|
|
|
9800
9790
|
let n$6 = s$9, l$3 = s$9;
|
|
9801
9791
|
return i$9 === "center" ? n$6 = Math.floor((r$4 - e$8) / 2) : i$9 === "right" && (n$6 = r$4 - e$8 - s$9), l$3 = r$4 - n$6 - e$8, [n$6, l$3];
|
|
9802
9792
|
}
|
|
9803
|
-
const Dt = (e$8) => e$8, Tt
|
|
9804
|
-
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$
|
|
9793
|
+
const Dt = (e$8) => e$8, Tt = (e$8 = "", r$4 = "", s$9) => {
|
|
9794
|
+
const i$9 = s$9?.output ?? process.stdout, n$6 = rt$1(i$9), l$3 = 2, u$8 = s$9?.titlePadding ?? 1, o$7 = s$9?.contentPadding ?? 2, a$13 = s$9?.width === void 0 || s$9.width === "auto" ? 1 : Math.min(1, s$9.width), c$8 = (s$9?.withGuide ?? _$6.withGuide) !== !1 ? `${h$5} ` : "", g$5 = s$9?.formatBorder ?? Dt, E$5 = (s$9?.rounded ? xt$1 : _t).map(g$5), p$3 = g$5(se$1), y$7 = g$5(h$5), $$2 = M$3(c$8), m$5 = M$3(r$4), d$5 = n$6 - $$2;
|
|
9805
9795
|
let F$6 = Math.floor(n$6 * a$13) - $$2;
|
|
9806
9796
|
if (s$9?.width === "auto") {
|
|
9807
9797
|
const _$7 = e$8.split(`
|
|
@@ -9847,8 +9837,8 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
9847
9837
|
case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(n$6)}`;
|
|
9848
9838
|
case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}
|
|
9849
9839
|
${import_picocolors.default.gray(h$5)}`;
|
|
9850
|
-
default: return `${i$9}${import_picocolors.default.
|
|
9851
|
-
${import_picocolors.default.
|
|
9840
|
+
default: return `${i$9}${import_picocolors.default.blue(h$5)} ${this.value ? `${import_picocolors.default.green(Y$2)} ${r$4}` : `${import_picocolors.default.dim(K$4)} ${import_picocolors.default.dim(r$4)}`} ${import_picocolors.default.dim("/")} ${this.value ? `${import_picocolors.default.dim(K$4)} ${import_picocolors.default.dim(s$9)}` : `${import_picocolors.default.green(Y$2)} ${s$9}`}
|
|
9841
|
+
${import_picocolors.default.blue(x$3)}
|
|
9852
9842
|
`;
|
|
9853
9843
|
}
|
|
9854
9844
|
}
|
|
@@ -9868,15 +9858,15 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9868
9858
|
return s$9;
|
|
9869
9859
|
}, Ot = (e$8) => {
|
|
9870
9860
|
const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
|
|
9871
|
-
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$
|
|
9861
|
+
const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$5 = c$8 && (o$7[o$7.indexOf(l$3) + 1] ?? { group: !0 }), E$5 = c$8 && g$5 && g$5.group === !0, p$3 = c$8 ? r$4 ? `${E$5 ? x$3 : h$5} ` : " " : "";
|
|
9872
9862
|
let y$7 = "";
|
|
9873
9863
|
if (s$9 > 0 && !c$8) {
|
|
9874
9864
|
const m$5 = `
|
|
9875
|
-
${import_picocolors.default.
|
|
9865
|
+
${import_picocolors.default.blue(h$5)}`;
|
|
9876
9866
|
y$7 = `${m$5.repeat(s$9 - 1)}${m$5} `;
|
|
9877
9867
|
}
|
|
9878
|
-
if (u$8 === "active") return `${y$7}${import_picocolors.default.dim(p$3)}${import_picocolors.default.
|
|
9879
|
-
if (u$8 === "group-active") return `${y$7}${p$3}${import_picocolors.default.
|
|
9868
|
+
if (u$8 === "active") return `${y$7}${import_picocolors.default.dim(p$3)}${import_picocolors.default.blue(te$1)} ${a$13}${l$3.hint ? ` ${import_picocolors.default.dim(`(${l$3.hint})`)}` : ""}`;
|
|
9869
|
+
if (u$8 === "group-active") return `${y$7}${p$3}${import_picocolors.default.blue(te$1)} ${import_picocolors.default.dim(a$13)}`;
|
|
9880
9870
|
if (u$8 === "group-active-selected") return `${y$7}${p$3}${import_picocolors.default.green(V$3)} ${import_picocolors.default.dim(a$13)}`;
|
|
9881
9871
|
if (u$8 === "selected") {
|
|
9882
9872
|
const m$5 = c$8 || r$4 ? import_picocolors.default.green(V$3) : "";
|
|
@@ -9919,25 +9909,25 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
|
9919
9909
|
const o$7 = this.error.split(`
|
|
9920
9910
|
`).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
|
|
9921
9911
|
`);
|
|
9922
|
-
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$
|
|
9912
|
+
return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$5) => {
|
|
9923
9913
|
const E$5 = u$8.includes(a$13.value) || a$13.group === !0 && this.isGroupSelected(`${a$13.value}`), p$3 = c$8 === this.cursor;
|
|
9924
|
-
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$
|
|
9914
|
+
return !p$3 && typeof a$13.group == "string" && this.options[this.cursor].value === a$13.group ? i$9(a$13, E$5 ? "group-active-selected" : "group-active", g$5) : p$3 && E$5 ? i$9(a$13, "active-selected", g$5) : E$5 ? i$9(a$13, "selected", g$5) : i$9(a$13, p$3 ? "active" : "inactive", g$5);
|
|
9925
9915
|
}).join(`
|
|
9926
9916
|
${import_picocolors.default.yellow(h$5)} `)}
|
|
9927
9917
|
${o$7}
|
|
9928
9918
|
`;
|
|
9929
9919
|
}
|
|
9930
9920
|
default: {
|
|
9931
|
-
const o$7 = this.options.map((c$8, g$
|
|
9932
|
-
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$
|
|
9921
|
+
const o$7 = this.options.map((c$8, g$5, E$5) => {
|
|
9922
|
+
const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$5 === this.cursor, $$2 = !y$7 && typeof c$8.group == "string" && this.options[this.cursor].value === c$8.group;
|
|
9933
9923
|
let m$5 = "";
|
|
9934
|
-
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$
|
|
9924
|
+
return $$2 ? m$5 = i$9(c$8, p$3 ? "group-active-selected" : "group-active", E$5) : y$7 && p$3 ? m$5 = i$9(c$8, "active-selected", E$5) : p$3 ? m$5 = i$9(c$8, "selected", E$5) : m$5 = i$9(c$8, y$7 ? "active" : "inactive", E$5), `${g$5 !== 0 && !m$5.startsWith(`
|
|
9935
9925
|
`) ? " " : ""}${m$5}`;
|
|
9936
9926
|
}).join(`
|
|
9937
|
-
${import_picocolors.default.
|
|
9927
|
+
${import_picocolors.default.blue(h$5)}`), a$13 = o$7.startsWith(`
|
|
9938
9928
|
`) ? "" : " ";
|
|
9939
|
-
return `${l$3}${import_picocolors.default.
|
|
9940
|
-
${import_picocolors.default.
|
|
9929
|
+
return `${l$3}${import_picocolors.default.blue(h$5)}${a$13}${o$7}
|
|
9930
|
+
${import_picocolors.default.blue(x$3)}
|
|
9941
9931
|
`;
|
|
9942
9932
|
}
|
|
9943
9933
|
}
|
|
@@ -9945,14 +9935,14 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
9945
9935
|
}).prompt();
|
|
9946
9936
|
}, R = {
|
|
9947
9937
|
message: (e$8 = [], { symbol: r$4 = import_picocolors.default.gray(h$5), secondarySymbol: s$9 = import_picocolors.default.gray(h$5), output: i$9 = process.stdout, spacing: n$6 = 1, withGuide: l$3 } = {}) => {
|
|
9948
|
-
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$
|
|
9938
|
+
const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$5 = o$7 ? `${s$9} ` : "";
|
|
9949
9939
|
for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
|
|
9950
9940
|
const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
|
|
9951
9941
|
`);
|
|
9952
9942
|
if (E$5.length > 0) {
|
|
9953
9943
|
const [p$3, ...y$7] = E$5;
|
|
9954
9944
|
p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
|
|
9955
|
-
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$
|
|
9945
|
+
for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$5}${$$2}`) : u$8.push(o$7 ? "" : s$9);
|
|
9956
9946
|
}
|
|
9957
9947
|
i$9.write(`${u$8.join(`
|
|
9958
9948
|
`)}
|
|
@@ -10008,7 +9998,7 @@ ${import_picocolors.default.gray(x$3)} ${e$8}
|
|
|
10008
9998
|
`), Lt = (e$8) => {
|
|
10009
9999
|
const r$4 = (i$9, n$6) => {
|
|
10010
10000
|
const l$3 = i$9.label ?? String(i$9.value);
|
|
10011
|
-
return n$6 === "disabled" ? `${import_picocolors.default.gray(z$4)} ${Q$2(l$3, (u$8) => import_picocolors.default.strikethrough(import_picocolors.default.gray(u$8)))}${i$9.hint ? ` ${import_picocolors.default.dim(`(${i$9.hint ?? "disabled"})`)}` : ""}` : n$6 === "active" ? `${import_picocolors.default.
|
|
10001
|
+
return n$6 === "disabled" ? `${import_picocolors.default.gray(z$4)} ${Q$2(l$3, (u$8) => import_picocolors.default.strikethrough(import_picocolors.default.gray(u$8)))}${i$9.hint ? ` ${import_picocolors.default.dim(`(${i$9.hint ?? "disabled"})`)}` : ""}` : n$6 === "active" ? `${import_picocolors.default.blue(te$1)} ${l$3}${i$9.hint ? ` ${import_picocolors.default.dim(`(${i$9.hint})`)}` : ""}` : n$6 === "selected" ? `${import_picocolors.default.green(V$3)} ${Q$2(l$3, import_picocolors.default.dim)}${i$9.hint ? ` ${import_picocolors.default.dim(`(${i$9.hint})`)}` : ""}` : n$6 === "cancelled" ? `${Q$2(l$3, (u$8) => import_picocolors.default.strikethrough(import_picocolors.default.dim(u$8)))}` : n$6 === "active-selected" ? `${import_picocolors.default.green(V$3)} ${l$3}${i$9.hint ? ` ${import_picocolors.default.dim(`(${i$9.hint})`)}` : ""}` : n$6 === "submitted" ? `${Q$2(l$3, import_picocolors.default.dim)}` : `${import_picocolors.default.dim(z$4)} ${Q$2(l$3, import_picocolors.default.dim)}`;
|
|
10012
10002
|
}, s$9 = e$8.required ?? !0;
|
|
10013
10003
|
return new Mt$1({
|
|
10014
10004
|
options: e$8.options,
|
|
@@ -10045,7 +10035,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10045
10035
|
const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
|
|
10046
10036
|
`).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
|
|
10047
10037
|
`), c$8 = n$6.split(`
|
|
10048
|
-
`).length, g$
|
|
10038
|
+
`).length, g$5 = a$13.split(`
|
|
10049
10039
|
`).length + 1;
|
|
10050
10040
|
return `${n$6}${o$7}${J$4({
|
|
10051
10041
|
output: e$8.output,
|
|
@@ -10053,7 +10043,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10053
10043
|
cursor: this.cursor,
|
|
10054
10044
|
maxItems: e$8.maxItems,
|
|
10055
10045
|
columnPadding: o$7.length,
|
|
10056
|
-
rowPadding: c$8 + g$
|
|
10046
|
+
rowPadding: c$8 + g$5,
|
|
10057
10047
|
style: u$8
|
|
10058
10048
|
}).join(`
|
|
10059
10049
|
${o$7}`)}
|
|
@@ -10061,7 +10051,7 @@ ${a$13}
|
|
|
10061
10051
|
`;
|
|
10062
10052
|
}
|
|
10063
10053
|
default: {
|
|
10064
|
-
const o$7 = `${import_picocolors.default.
|
|
10054
|
+
const o$7 = `${import_picocolors.default.blue(h$5)} `, a$13 = n$6.split(`
|
|
10065
10055
|
`).length;
|
|
10066
10056
|
return `${n$6}${o$7}${J$4({
|
|
10067
10057
|
output: e$8.output,
|
|
@@ -10073,7 +10063,7 @@ ${a$13}
|
|
|
10073
10063
|
style: u$8
|
|
10074
10064
|
}).join(`
|
|
10075
10065
|
${o$7}`)}
|
|
10076
|
-
${import_picocolors.default.
|
|
10066
|
+
${import_picocolors.default.blue(x$3)}
|
|
10077
10067
|
`;
|
|
10078
10068
|
}
|
|
10079
10069
|
}
|
|
@@ -10087,7 +10077,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10087
10077
|
`), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
|
|
10088
10078
|
return q$5(e$8, r$4 - (n$6.map(s$9).reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0) - l$3), i$9);
|
|
10089
10079
|
}, kt$1 = (e$8 = "", r$4 = "", s$9) => {
|
|
10090
|
-
const i$9 = s$9?.output ??
|
|
10080
|
+
const i$9 = s$9?.output ?? g$1.stdout, n$6 = (s$9?.withGuide ?? _$6.withGuide) !== !1, l$3 = s$9?.format ?? jt, u$8 = [
|
|
10091
10081
|
"",
|
|
10092
10082
|
...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
|
|
10093
10083
|
`).map(l$3),
|
|
@@ -10096,9 +10086,9 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10096
10086
|
const $$2 = M$3(y$7);
|
|
10097
10087
|
return $$2 > p$3 ? $$2 : p$3;
|
|
10098
10088
|
}, 0), o$7) + 2, c$8 = u$8.map((p$3) => `${import_picocolors.default.gray(h$5)} ${p$3}${" ".repeat(a$13 - M$3(p$3))}${import_picocolors.default.gray(h$5)}`).join(`
|
|
10099
|
-
`), g$
|
|
10089
|
+
`), g$5 = n$6 ? `${import_picocolors.default.gray(h$5)}
|
|
10100
10090
|
` : "", E$5 = n$6 ? Ne$1 : pe$1;
|
|
10101
|
-
i$9.write(`${g$
|
|
10091
|
+
i$9.write(`${g$5}${import_picocolors.default.green(j$4)} ${import_picocolors.default.reset(r$4)} ${import_picocolors.default.gray(se$1.repeat(Math.max(a$13 - o$7 - 1, 1)) + he$1)}
|
|
10102
10092
|
${c$8}
|
|
10103
10093
|
${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
|
|
10104
10094
|
`);
|
|
@@ -10129,8 +10119,8 @@ ${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(thi
|
|
|
10129
10119
|
return `${r$4}${import_picocolors.default.gray(h$5)}${n$6}${i$9 ? `
|
|
10130
10120
|
${import_picocolors.default.gray(h$5)}` : ""}`;
|
|
10131
10121
|
}
|
|
10132
|
-
default: return `${r$4}${import_picocolors.default.
|
|
10133
|
-
${import_picocolors.default.
|
|
10122
|
+
default: return `${r$4}${import_picocolors.default.blue(h$5)} ${s$9}
|
|
10123
|
+
${import_picocolors.default.blue(x$3)}
|
|
10134
10124
|
`;
|
|
10135
10125
|
}
|
|
10136
10126
|
}
|
|
@@ -10176,7 +10166,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10176
10166
|
"0"
|
|
10177
10167
|
], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
|
|
10178
10168
|
const c$8 = ue$1();
|
|
10179
|
-
let g$
|
|
10169
|
+
let g$5, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
|
|
10180
10170
|
const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
|
|
10181
10171
|
const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
|
|
10182
10172
|
y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
|
|
@@ -10198,7 +10188,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10198
10188
|
const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
|
|
10199
10189
|
return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
|
|
10200
10190
|
}, T$8 = (S$7 = "") => {
|
|
10201
|
-
p$3 = !0, g$
|
|
10191
|
+
p$3 = !0, g$5 = xt({ output: s$9 }), $$2 = _$7(S$7), d$5 = performance.now(), s$9.write(`${import_picocolors.default.gray(h$5)}
|
|
10202
10192
|
`);
|
|
10203
10193
|
let O$9 = 0, N$6 = 0;
|
|
10204
10194
|
b$11(), E$5 = setInterval(() => {
|
|
@@ -10224,7 +10214,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10224
10214
|
const N$6 = O$9 === 0 ? import_picocolors.default.green(j$4) : O$9 === 1 ? import_picocolors.default.red(ce$1) : import_picocolors.default.red(de$2);
|
|
10225
10215
|
$$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
|
|
10226
10216
|
`) : s$9.write(`${N$6} ${$$2}
|
|
10227
|
-
`), A$2(), g$
|
|
10217
|
+
`), A$2(), g$5();
|
|
10228
10218
|
};
|
|
10229
10219
|
return {
|
|
10230
10220
|
start: T$8,
|
|
@@ -10278,7 +10268,7 @@ ${n$6}
|
|
|
10278
10268
|
${import_picocolors.default.gray(h$5)}`;
|
|
10279
10269
|
}
|
|
10280
10270
|
default: {
|
|
10281
|
-
const u$8 = `${import_picocolors.default.
|
|
10271
|
+
const u$8 = `${import_picocolors.default.blue(h$5)} `, o$7 = l$3.split(`
|
|
10282
10272
|
`).length;
|
|
10283
10273
|
return `${l$3}${u$8}${J$4({
|
|
10284
10274
|
output: e$8.output,
|
|
@@ -10290,7 +10280,7 @@ ${import_picocolors.default.gray(h$5)}`;
|
|
|
10290
10280
|
style: (a$13, c$8) => r$4(a$13, a$13.disabled ? "disabled" : c$8 ? "active" : "inactive")
|
|
10291
10281
|
}).join(`
|
|
10292
10282
|
${u$8}`)}
|
|
10293
|
-
${import_picocolors.default.
|
|
10283
|
+
${import_picocolors.default.blue(x$3)}
|
|
10294
10284
|
`;
|
|
10295
10285
|
}
|
|
10296
10286
|
}
|
|
@@ -10301,7 +10291,7 @@ ${import_picocolors.default.cyan(x$3)}
|
|
|
10301
10291
|
const n$6 = s$9.label ?? String(s$9.value);
|
|
10302
10292
|
return i$9 === "selected" ? `${import_picocolors.default.dim(n$6)}` : i$9 === "cancelled" ? `${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}` : i$9 === "active" ? `${import_picocolors.default.bgCyan(import_picocolors.default.gray(` ${s$9.value} `))} ${n$6} ${s$9.hint ? import_picocolors.default.dim(`(${s$9.hint})`) : ""}` : `${import_picocolors.default.gray(import_picocolors.default.bgWhite(import_picocolors.default.inverse(` ${s$9.value} `)))} ${n$6} ${s$9.hint ? import_picocolors.default.dim(`(${s$9.hint})`) : ""}`;
|
|
10303
10293
|
};
|
|
10304
|
-
return new Tt({
|
|
10294
|
+
return new Tt$1({
|
|
10305
10295
|
options: e$8.options,
|
|
10306
10296
|
signal: e$8.signal,
|
|
10307
10297
|
input: e$8.input,
|
|
@@ -10315,9 +10305,9 @@ ${W$3(this.state)} ${e$8.message}
|
|
|
10315
10305
|
case "submit": return `${s$9}${import_picocolors.default.gray(h$5)} ${r$4(this.options.find((i$9) => i$9.value === this.value) ?? e$8.options[0], "selected")}`;
|
|
10316
10306
|
case "cancel": return `${s$9}${import_picocolors.default.gray(h$5)} ${r$4(this.options[0], "cancelled")}
|
|
10317
10307
|
${import_picocolors.default.gray(h$5)}`;
|
|
10318
|
-
default: return `${s$9}${import_picocolors.default.
|
|
10319
|
-
${import_picocolors.default.
|
|
10320
|
-
${import_picocolors.default.
|
|
10308
|
+
default: return `${s$9}${import_picocolors.default.blue(h$5)} ${this.options.map((i$9, n$6) => r$4(i$9, n$6 === this.cursor ? "active" : "inactive")).join(`
|
|
10309
|
+
${import_picocolors.default.blue(h$5)} `)}
|
|
10310
|
+
${import_picocolors.default.blue(x$3)}
|
|
10321
10311
|
`;
|
|
10322
10312
|
}
|
|
10323
10313
|
}
|
|
@@ -10365,7 +10355,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
|
|
|
10365
10355
|
full: ""
|
|
10366
10356
|
}];
|
|
10367
10357
|
let c$8 = !1;
|
|
10368
|
-
const g$
|
|
10358
|
+
const g$5 = (d$5) => {
|
|
10369
10359
|
if (a$13.length === 0) return;
|
|
10370
10360
|
let F$6 = 0;
|
|
10371
10361
|
d$5 && (F$6 += n$6 + 2);
|
|
@@ -10402,7 +10392,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10402
10392
|
(F$6 === void 0 || F$6.length === 0) && f$7.length === 0 || E$5(d$5, void 0, u$8 === !0 && v$5.length > 0);
|
|
10403
10393
|
}
|
|
10404
10394
|
}, y$7 = (d$5, F$6, f$7) => {
|
|
10405
|
-
if (g$
|
|
10395
|
+
if (g$5(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
|
|
10406
10396
|
`), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
|
|
10407
10397
|
const v$5 = d$5.value.split(`
|
|
10408
10398
|
`), I$4 = v$5.length - e$8.limit;
|
|
@@ -10427,7 +10417,7 @@ ${d$5.value}` : d$5.value;
|
|
|
10427
10417
|
spacing: 0
|
|
10428
10418
|
}) : d$5.value !== "" && E$5(d$5, 0);
|
|
10429
10419
|
}, m$5 = (d$5, F$6) => {
|
|
10430
|
-
g$
|
|
10420
|
+
g$5(!1), d$5.result = F$6, o$7 && $$2();
|
|
10431
10421
|
};
|
|
10432
10422
|
return {
|
|
10433
10423
|
message(d$5, F$6) {
|
|
@@ -10458,14 +10448,14 @@ ${d$5.value}` : d$5.value;
|
|
|
10458
10448
|
};
|
|
10459
10449
|
},
|
|
10460
10450
|
error(d$5, F$6) {
|
|
10461
|
-
g$
|
|
10451
|
+
g$5(!0), R.error(d$5, {
|
|
10462
10452
|
output: r$4,
|
|
10463
10453
|
secondarySymbol: i$9,
|
|
10464
10454
|
spacing: 1
|
|
10465
10455
|
}), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
|
|
10466
10456
|
},
|
|
10467
10457
|
success(d$5, F$6) {
|
|
10468
|
-
g$
|
|
10458
|
+
g$5(!0), R.success(d$5, {
|
|
10469
10459
|
output: r$4,
|
|
10470
10460
|
secondarySymbol: i$9,
|
|
10471
10461
|
spacing: 1
|
|
@@ -10501,8 +10491,8 @@ ${a$13}${u$8}
|
|
|
10501
10491
|
return `${s$9}${o$7}${u$8}${l$3.trim() ? `
|
|
10502
10492
|
${o$7}` : ""}`;
|
|
10503
10493
|
}
|
|
10504
|
-
default: return `${s$9}${r$4 ? `${import_picocolors.default.
|
|
10505
|
-
${r$4 ? import_picocolors.default.
|
|
10494
|
+
default: return `${s$9}${r$4 ? `${import_picocolors.default.blue(h$5)} ` : ""}${n$6}
|
|
10495
|
+
${r$4 ? import_picocolors.default.blue(x$3) : ""}
|
|
10506
10496
|
`;
|
|
10507
10497
|
}
|
|
10508
10498
|
}
|
|
@@ -11277,7 +11267,7 @@ l$2.name;
|
|
|
11277
11267
|
function n$5(e$8) {
|
|
11278
11268
|
return e$8 ? e$8 !== "false" : false;
|
|
11279
11269
|
}
|
|
11280
|
-
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$
|
|
11270
|
+
const I$2 = globalThis.process?.platform || "", T$6 = n$5(o$6.CI) || l$2.ci !== false, a$11 = n$5(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g$4 = n$5(o$6.DEBUG), R$6 = t$7 === "test" || n$5(o$6.TEST);
|
|
11281
11271
|
n$5(o$6.MINIMAL);
|
|
11282
11272
|
const A$1 = /^win/i.test(I$2);
|
|
11283
11273
|
!n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
|
|
@@ -11358,9 +11348,9 @@ function stringWidth$1(string, options$1 = {}) {
|
|
|
11358
11348
|
return width;
|
|
11359
11349
|
}
|
|
11360
11350
|
function isUnicodeSupported() {
|
|
11361
|
-
const { env: env$2 } =
|
|
11351
|
+
const { env: env$2 } = g$1;
|
|
11362
11352
|
const { TERM, TERM_PROGRAM } = env$2;
|
|
11363
|
-
if (
|
|
11353
|
+
if (g$1.platform !== "win32") return TERM !== "linux";
|
|
11364
11354
|
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
11365
11355
|
}
|
|
11366
11356
|
const TYPE_COLOR_MAP = {
|
|
@@ -11447,13 +11437,13 @@ function createConsola$1(options$1 = {}) {
|
|
|
11447
11437
|
defaults: { level },
|
|
11448
11438
|
stdout: process.stdout,
|
|
11449
11439
|
stderr: process.stderr,
|
|
11450
|
-
prompt: (...args$2) => import("./prompt-
|
|
11440
|
+
prompt: (...args$2) => import("./prompt-BIVRMyOv.mjs").then((m$5) => m$5.prompt(...args$2)),
|
|
11451
11441
|
reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
|
|
11452
11442
|
...options$1
|
|
11453
11443
|
});
|
|
11454
11444
|
}
|
|
11455
11445
|
function _getDefaultLogLevel() {
|
|
11456
|
-
if (g$
|
|
11446
|
+
if (g$4) return LogLevels.debug;
|
|
11457
11447
|
if (R$6) return LogLevels.warn;
|
|
11458
11448
|
return LogLevels.info;
|
|
11459
11449
|
}
|
|
@@ -12319,12 +12309,12 @@ async function pathExists(path2, type) {
|
|
|
12319
12309
|
}
|
|
12320
12310
|
}
|
|
12321
12311
|
function getUserAgent() {
|
|
12322
|
-
const userAgent =
|
|
12312
|
+
const userAgent = g$1.env.npm_config_user_agent;
|
|
12323
12313
|
if (!userAgent) return null;
|
|
12324
12314
|
const name = userAgent.split("/")[0];
|
|
12325
12315
|
return AGENTS.includes(name) ? name : null;
|
|
12326
12316
|
}
|
|
12327
|
-
function* lookup(cwd$2 =
|
|
12317
|
+
function* lookup(cwd$2 = g$1.cwd()) {
|
|
12328
12318
|
let directory = path.resolve(cwd$2);
|
|
12329
12319
|
const { root: root$3 } = path.parse(directory);
|
|
12330
12320
|
while (directory && directory !== root$3) {
|
|
@@ -12512,17 +12502,21 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12512
12502
|
}
|
|
12513
12503
|
});
|
|
12514
12504
|
},
|
|
12515
|
-
force: ({ results }) => {
|
|
12505
|
+
force: async ({ results }) => {
|
|
12516
12506
|
const projectRoot = join(cwd$2, results.name || args$2.name);
|
|
12517
12507
|
if (existsSync(projectRoot) && readdirSync(projectRoot).length > 0) {
|
|
12518
|
-
if (args$2.force) return
|
|
12519
|
-
if (!args$2.interactive) return
|
|
12520
|
-
|
|
12508
|
+
if (args$2.force) return true;
|
|
12509
|
+
if (!args$2.interactive) return false;
|
|
12510
|
+
const overwrite = await Mt({
|
|
12521
12511
|
message: i18n.t("prompts.project.overwrite", { path: projectRoot }),
|
|
12522
12512
|
initialValue: false
|
|
12523
12513
|
});
|
|
12514
|
+
if (overwrite === false || typeof overwrite !== "boolean") {
|
|
12515
|
+
Pt(i18n.t("prompts.project.cancel"));
|
|
12516
|
+
process.exit(0);
|
|
12517
|
+
}
|
|
12524
12518
|
}
|
|
12525
|
-
return
|
|
12519
|
+
return args$2.force || false;
|
|
12526
12520
|
},
|
|
12527
12521
|
platform: () => {
|
|
12528
12522
|
if (args$2.platform) return Promise.resolve(args$2.platform);
|
|
@@ -12598,7 +12592,9 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12598
12592
|
features: ({ results }) => {
|
|
12599
12593
|
if (args$2.features) return Promise.resolve(args$2.features.filter((f$7) => f$7 !== "router" && f$7 !== "file-router"));
|
|
12600
12594
|
if (!args$2.interactive) return Promise.resolve([]);
|
|
12601
|
-
|
|
12595
|
+
const platform$1 = results.platform || args$2.platform;
|
|
12596
|
+
const type = results.type || args$2.type;
|
|
12597
|
+
return platform$1 === "vue" ? Lt({
|
|
12602
12598
|
message: i18n.t("prompts.features.select", { hint: dim("↑/↓ to navigate, space to select, a to toggle all, enter to confirm") }),
|
|
12603
12599
|
options: [
|
|
12604
12600
|
{
|
|
@@ -12613,13 +12609,11 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12613
12609
|
},
|
|
12614
12610
|
{
|
|
12615
12611
|
label: i18n.t("prompts.features.pinia.label"),
|
|
12616
|
-
value: "pinia"
|
|
12617
|
-
hint: i18n.t("prompts.features.pinia.hint")
|
|
12612
|
+
value: "pinia"
|
|
12618
12613
|
},
|
|
12619
12614
|
{
|
|
12620
12615
|
label: i18n.t("prompts.features.i18n.label"),
|
|
12621
|
-
value: "i18n"
|
|
12622
|
-
hint: i18n.t("prompts.features.i18n.hint")
|
|
12616
|
+
value: "i18n"
|
|
12623
12617
|
}
|
|
12624
12618
|
],
|
|
12625
12619
|
initialValues: ["eslint", "mcp"],
|
|
@@ -12632,11 +12626,11 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12632
12626
|
value: "eslint",
|
|
12633
12627
|
hint: i18n.t("prompts.features.eslint.hint")
|
|
12634
12628
|
},
|
|
12635
|
-
{
|
|
12629
|
+
...type === "vuetify0" ? [] : [{
|
|
12636
12630
|
label: i18n.t("prompts.features.vuetify_nuxt_module.label"),
|
|
12637
12631
|
value: "vuetify-nuxt-module",
|
|
12638
12632
|
hint: i18n.t("prompts.features.vuetify_nuxt_module.hint")
|
|
12639
|
-
},
|
|
12633
|
+
}],
|
|
12640
12634
|
{
|
|
12641
12635
|
label: i18n.t("prompts.features.mcp.label"),
|
|
12642
12636
|
value: "mcp",
|
|
@@ -12644,18 +12638,16 @@ async function prompt(args$2, cwd$2 = process.cwd()) {
|
|
|
12644
12638
|
},
|
|
12645
12639
|
{
|
|
12646
12640
|
label: i18n.t("prompts.features.pinia.label"),
|
|
12647
|
-
value: "pinia"
|
|
12648
|
-
hint: i18n.t("prompts.features.pinia.hint")
|
|
12641
|
+
value: "pinia"
|
|
12649
12642
|
},
|
|
12650
12643
|
{
|
|
12651
12644
|
label: i18n.t("prompts.features.i18n.label"),
|
|
12652
|
-
value: "i18n"
|
|
12653
|
-
hint: i18n.t("prompts.features.i18n.hint")
|
|
12645
|
+
value: "i18n"
|
|
12654
12646
|
}
|
|
12655
12647
|
],
|
|
12656
12648
|
initialValues: [
|
|
12657
12649
|
"eslint",
|
|
12658
|
-
"vuetify-nuxt-module",
|
|
12650
|
+
...type === "vuetify0" ? [] : ["vuetify-nuxt-module"],
|
|
12659
12651
|
"mcp"
|
|
12660
12652
|
],
|
|
12661
12653
|
required: false
|
|
@@ -12865,7 +12857,7 @@ function normalizeString(path$1, allowAboveRoot) {
|
|
|
12865
12857
|
const isAbsolute$1 = function(p$3) {
|
|
12866
12858
|
return _IS_ABSOLUTE_RE.test(p$3);
|
|
12867
12859
|
};
|
|
12868
|
-
const relative = function(from, to) {
|
|
12860
|
+
const relative$1 = function(from, to) {
|
|
12869
12861
|
const _from = resolve$1(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
12870
12862
|
const _to = resolve$1(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
12871
12863
|
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) return _to.join("/");
|
|
@@ -12939,7 +12931,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
12939
12931
|
//#endregion
|
|
12940
12932
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
12941
12933
|
const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
|
|
12942
|
-
function g$
|
|
12934
|
+
function g$3(e$8, t$9) {
|
|
12943
12935
|
const n$6 = /* @__PURE__ */ new Map();
|
|
12944
12936
|
let s$9 = 0, o$7, i$9;
|
|
12945
12937
|
for (const c$8 of e$8.split(/\n/g)) {
|
|
@@ -12980,8 +12972,8 @@ function S$4(e$8, t$9) {
|
|
|
12980
12972
|
}
|
|
12981
12973
|
function _$4(e$8) {
|
|
12982
12974
|
if (typeof e$8 != "string") throw new TypeError("Expected a string");
|
|
12983
|
-
let t$9 = g$
|
|
12984
|
-
t$9.size === 0 && (t$9 = g$
|
|
12975
|
+
let t$9 = g$3(e$8, !0);
|
|
12976
|
+
t$9.size === 0 && (t$9 = g$3(e$8, !1));
|
|
12985
12977
|
const n$6 = E$4(t$9);
|
|
12986
12978
|
let s$9, o$7 = 0, i$9 = "";
|
|
12987
12979
|
return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
|
|
@@ -13064,17 +13056,17 @@ function uu() {
|
|
|
13064
13056
|
Z$2 = 1;
|
|
13065
13057
|
const C$5 = T$4();
|
|
13066
13058
|
let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
|
|
13067
|
-
q$4 = function(a$13, g$
|
|
13059
|
+
q$4 = function(a$13, g$5) {
|
|
13068
13060
|
r$4 = String(a$13), s$9 = "start", c$8 = [], d$5 = 0, h$6 = 1, o$7 = 0, f$7 = void 0, S$7 = void 0, m$5 = void 0;
|
|
13069
13061
|
do
|
|
13070
13062
|
f$7 = E$5(), Q$4[s$9]();
|
|
13071
13063
|
while (f$7.type !== "eof");
|
|
13072
|
-
return typeof g$
|
|
13064
|
+
return typeof g$5 == "function" ? v$5({ "": m$5 }, "", g$5) : m$5;
|
|
13073
13065
|
};
|
|
13074
|
-
function v$5(D$4, a$13, g$
|
|
13066
|
+
function v$5(D$4, a$13, g$5) {
|
|
13075
13067
|
const y$7 = D$4[a$13];
|
|
13076
|
-
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$
|
|
13077
|
-
const I$4 = String(P$
|
|
13068
|
+
if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$6 = 0; P$6 < y$7.length; P$6++) {
|
|
13069
|
+
const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$5);
|
|
13078
13070
|
H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
|
|
13079
13071
|
value: H$8,
|
|
13080
13072
|
writable: !0,
|
|
@@ -13082,16 +13074,16 @@ function uu() {
|
|
|
13082
13074
|
configurable: !0
|
|
13083
13075
|
});
|
|
13084
13076
|
}
|
|
13085
|
-
else for (const P$
|
|
13086
|
-
const I$4 = v$5(y$7, P$
|
|
13087
|
-
I$4 === void 0 ? delete y$7[P$
|
|
13077
|
+
else for (const P$6 in y$7) {
|
|
13078
|
+
const I$4 = v$5(y$7, P$6, g$5);
|
|
13079
|
+
I$4 === void 0 ? delete y$7[P$6] : Object.defineProperty(y$7, P$6, {
|
|
13088
13080
|
value: I$4,
|
|
13089
13081
|
writable: !0,
|
|
13090
13082
|
enumerable: !0,
|
|
13091
13083
|
configurable: !0
|
|
13092
13084
|
});
|
|
13093
13085
|
}
|
|
13094
|
-
return g$
|
|
13086
|
+
return g$5.call(D$4, a$13, y$7);
|
|
13095
13087
|
}
|
|
13096
13088
|
let t$9, e$8, x$5, w$7, A$2;
|
|
13097
13089
|
function E$5() {
|
|
@@ -13530,8 +13522,8 @@ function uu() {
|
|
|
13530
13522
|
function $$2() {
|
|
13531
13523
|
let D$4 = "", a$13 = 4;
|
|
13532
13524
|
for (; a$13-- > 0;) {
|
|
13533
|
-
const g$
|
|
13534
|
-
if (!C$5.isHexDigit(g$
|
|
13525
|
+
const g$5 = n$6();
|
|
13526
|
+
if (!C$5.isHexDigit(g$5)) throw B$2(u$8());
|
|
13535
13527
|
D$4 += u$8();
|
|
13536
13528
|
}
|
|
13537
13529
|
return String.fromCodePoint(parseInt(D$4, 16));
|
|
@@ -13659,8 +13651,8 @@ function uu() {
|
|
|
13659
13651
|
};
|
|
13660
13652
|
if (a$13[D$4]) return a$13[D$4];
|
|
13661
13653
|
if (D$4 < " ") {
|
|
13662
|
-
const g$
|
|
13663
|
-
return "\\x" + ("00" + g$
|
|
13654
|
+
const g$5 = D$4.charCodeAt(0).toString(16);
|
|
13655
|
+
return "\\x" + ("00" + g$5).substring(g$5.length);
|
|
13664
13656
|
}
|
|
13665
13657
|
return D$4;
|
|
13666
13658
|
}
|
|
@@ -13816,7 +13808,7 @@ function Au(C$5, r$4) {
|
|
|
13816
13808
|
//#endregion
|
|
13817
13809
|
//#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
13818
13810
|
function $$1(n$6, l$3 = !1) {
|
|
13819
|
-
const g$
|
|
13811
|
+
const g$5 = n$6.length;
|
|
13820
13812
|
let e$8 = 0, u$8 = "", p$3 = 0, k$6 = 16, A$2 = 0, o$7 = 0, O$9 = 0, B$2 = 0, b$11 = 0;
|
|
13821
13813
|
function I$4(i$9, T$8) {
|
|
13822
13814
|
let s$9 = 0, c$8 = 0;
|
|
@@ -13849,7 +13841,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13849
13841
|
function a$13() {
|
|
13850
13842
|
let i$9 = "", T$8 = e$8;
|
|
13851
13843
|
for (;;) {
|
|
13852
|
-
if (e$8 >= g$
|
|
13844
|
+
if (e$8 >= g$5) {
|
|
13853
13845
|
i$9 += n$6.substring(T$8, e$8), b$11 = 2;
|
|
13854
13846
|
break;
|
|
13855
13847
|
}
|
|
@@ -13859,7 +13851,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13859
13851
|
break;
|
|
13860
13852
|
}
|
|
13861
13853
|
if (s$9 === 92) {
|
|
13862
|
-
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$
|
|
13854
|
+
if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$5) {
|
|
13863
13855
|
b$11 = 2;
|
|
13864
13856
|
break;
|
|
13865
13857
|
}
|
|
@@ -13907,7 +13899,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13907
13899
|
return i$9;
|
|
13908
13900
|
}
|
|
13909
13901
|
function w$7() {
|
|
13910
|
-
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$
|
|
13902
|
+
if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$5) return p$3 = g$5, k$6 = 17;
|
|
13911
13903
|
let i$9 = n$6.charCodeAt(e$8);
|
|
13912
13904
|
if (J$2(i$9)) {
|
|
13913
13905
|
do
|
|
@@ -13928,12 +13920,12 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13928
13920
|
case 47:
|
|
13929
13921
|
const T$8 = e$8 - 1;
|
|
13930
13922
|
if (n$6.charCodeAt(e$8 + 1) === 47) {
|
|
13931
|
-
for (e$8 += 2; e$8 < g$
|
|
13923
|
+
for (e$8 += 2; e$8 < g$5 && !r(n$6.charCodeAt(e$8));) e$8++;
|
|
13932
13924
|
return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
|
|
13933
13925
|
}
|
|
13934
13926
|
if (n$6.charCodeAt(e$8 + 1) === 42) {
|
|
13935
13927
|
e$8 += 2;
|
|
13936
|
-
const s$9 = g$
|
|
13928
|
+
const s$9 = g$5 - 1;
|
|
13937
13929
|
let c$8 = !1;
|
|
13938
13930
|
for (; e$8 < s$9;) {
|
|
13939
13931
|
const t$9 = n$6.charCodeAt(e$8);
|
|
@@ -13946,7 +13938,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13946
13938
|
return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
|
|
13947
13939
|
}
|
|
13948
13940
|
return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
|
|
13949
|
-
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$
|
|
13941
|
+
case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$5 || !L$2(n$6.charCodeAt(e$8))) return k$6 = 16;
|
|
13950
13942
|
case 48:
|
|
13951
13943
|
case 49:
|
|
13952
13944
|
case 50:
|
|
@@ -13958,7 +13950,7 @@ function $$1(n$6, l$3 = !1) {
|
|
|
13958
13950
|
case 56:
|
|
13959
13951
|
case 57: return u$8 += F$6(), k$6 = 11;
|
|
13960
13952
|
default:
|
|
13961
|
-
for (; e$8 < g$
|
|
13953
|
+
for (; e$8 < g$5 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
|
|
13962
13954
|
if (p$3 !== e$8) {
|
|
13963
13955
|
switch (u$8 = n$6.substring(p$3, e$8), u$8) {
|
|
13964
13956
|
case "true": return k$6 = 8;
|
|
@@ -14027,13 +14019,13 @@ var U$2;
|
|
|
14027
14019
|
(function(n$6) {
|
|
14028
14020
|
n$6.DEFAULT = { allowTrailingComma: !1 };
|
|
14029
14021
|
})(U$2 || (U$2 = {}));
|
|
14030
|
-
function S$3(n$6, l$3 = [], g$
|
|
14022
|
+
function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
|
|
14031
14023
|
let e$8 = null, u$8 = [];
|
|
14032
14024
|
const p$3 = [];
|
|
14033
14025
|
function k$6(o$7) {
|
|
14034
14026
|
Array.isArray(u$8) ? u$8.push(o$7) : e$8 !== null && (u$8[e$8] = o$7);
|
|
14035
14027
|
}
|
|
14036
|
-
return P$
|
|
14028
|
+
return P$4(n$6, {
|
|
14037
14029
|
onObjectBegin: () => {
|
|
14038
14030
|
const o$7 = {};
|
|
14039
14031
|
k$6(o$7), p$3.push(u$8), u$8 = o$7, e$8 = null;
|
|
@@ -14059,9 +14051,9 @@ function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
|
|
|
14059
14051
|
length: B$2
|
|
14060
14052
|
});
|
|
14061
14053
|
}
|
|
14062
|
-
}, g$
|
|
14054
|
+
}, g$5), u$8[0];
|
|
14063
14055
|
}
|
|
14064
|
-
function P$
|
|
14056
|
+
function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
|
|
14065
14057
|
const e$8 = $$1(n$6, !1), u$8 = [];
|
|
14066
14058
|
let p$3 = 0;
|
|
14067
14059
|
function k$6(f$7) {
|
|
@@ -14083,7 +14075,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14083
14075
|
p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
|
|
14084
14076
|
} : () => !0;
|
|
14085
14077
|
}
|
|
14086
|
-
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$
|
|
14078
|
+
const b$11 = O$9(l$3.onObjectBegin), I$4 = o$7(l$3.onObjectProperty), V$4 = B$2(l$3.onObjectEnd), F$6 = O$9(l$3.onArrayBegin), a$13 = B$2(l$3.onArrayEnd), w$7 = o$7(l$3.onLiteralValue), v$5 = A$2(l$3.onSeparator), j$6 = k$6(l$3.onComment), i$9 = A$2(l$3.onError), T$8 = g$5 && g$5.disallowComments, s$9 = g$5 && g$5.allowTrailingComma;
|
|
14087
14079
|
function c$8() {
|
|
14088
14080
|
for (;;) {
|
|
14089
14081
|
const f$7 = e$8.scan();
|
|
@@ -14190,7 +14182,7 @@ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
|
|
|
14190
14182
|
default: return G$5();
|
|
14191
14183
|
}
|
|
14192
14184
|
}
|
|
14193
|
-
return c$8(), e$8.getToken() === 17 ? g$
|
|
14185
|
+
return c$8(), e$8.getToken() === 17 ? g$5.allowEmptyContent ? !0 : (t$9(4, [], []), !1) : E$5() ? (e$8.getToken() !== 17 && t$9(9, [], []), !0) : (t$9(4, [], []), !1);
|
|
14194
14186
|
}
|
|
14195
14187
|
var W$2;
|
|
14196
14188
|
(function(n$6) {
|
|
@@ -14206,16 +14198,16 @@ var q$3;
|
|
|
14206
14198
|
n$6[n$6.InvalidSymbol = 1] = "InvalidSymbol", n$6[n$6.InvalidNumberFormat = 2] = "InvalidNumberFormat", n$6[n$6.PropertyNameExpected = 3] = "PropertyNameExpected", n$6[n$6.ValueExpected = 4] = "ValueExpected", n$6[n$6.ColonExpected = 5] = "ColonExpected", n$6[n$6.CommaExpected = 6] = "CommaExpected", n$6[n$6.CloseBraceExpected = 7] = "CloseBraceExpected", n$6[n$6.CloseBracketExpected = 8] = "CloseBracketExpected", n$6[n$6.EndOfFileExpected = 9] = "EndOfFileExpected", n$6[n$6.InvalidCommentToken = 10] = "InvalidCommentToken", n$6[n$6.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", n$6[n$6.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", n$6[n$6.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", n$6[n$6.InvalidUnicode = 14] = "InvalidUnicode", n$6[n$6.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", n$6[n$6.InvalidCharacter = 16] = "InvalidCharacter";
|
|
14207
14199
|
})(q$3 || (q$3 = {}));
|
|
14208
14200
|
function x$1(n$6, l$3) {
|
|
14209
|
-
const g$
|
|
14210
|
-
return N$1(n$6, g$
|
|
14201
|
+
const g$5 = JSON.parse(n$6, l$3?.reviver);
|
|
14202
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14211
14203
|
}
|
|
14212
14204
|
function z$2(n$6, l$3) {
|
|
14213
|
-
const g$
|
|
14214
|
-
return g$
|
|
14205
|
+
const g$5 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$5.indent);
|
|
14206
|
+
return g$5.whitespace.start + e$8 + g$5.whitespace.end;
|
|
14215
14207
|
}
|
|
14216
14208
|
function h$2(n$6, l$3) {
|
|
14217
|
-
const g$
|
|
14218
|
-
return N$1(n$6, g$
|
|
14209
|
+
const g$5 = K$2(n$6, l$3?.errors, l$3);
|
|
14210
|
+
return N$1(n$6, g$5, l$3), g$5;
|
|
14219
14211
|
}
|
|
14220
14212
|
|
|
14221
14213
|
//#endregion
|
|
@@ -14867,13 +14859,13 @@ function yi(e$8, n$6) {
|
|
|
14867
14859
|
h$3(e$8, "unexpected end of the stream within a double quoted scalar");
|
|
14868
14860
|
}
|
|
14869
14861
|
function Ci(e$8, n$6) {
|
|
14870
|
-
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$
|
|
14862
|
+
var i$9 = !0, l$3, r$4, u$8, o$7 = e$8.tag, f$7, c$8 = e$8.anchor, a$13, t$9, p$3, d$5, s$9, x$5 = Object.create(null), g$5, A$2, b$11, m$5;
|
|
14871
14863
|
if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
|
|
14872
14864
|
else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
|
|
14873
14865
|
else return !1;
|
|
14874
14866
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = f$7), m$5 = e$8.input.charCodeAt(++e$8.position); m$5 !== 0;) {
|
|
14875
14867
|
if (v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === t$9) return e$8.position++, e$8.tag = o$7, e$8.anchor = c$8, e$8.kind = s$9 ? "mapping" : "sequence", e$8.result = f$7, !0;
|
|
14876
|
-
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$
|
|
14868
|
+
i$9 ? m$5 === 44 && h$3(e$8, "expected the node content, but found ','") : h$3(e$8, "missed comma between flow collection entries"), A$2 = g$5 = b$11 = null, p$3 = d$5 = !1, m$5 === 63 && (a$13 = e$8.input.charCodeAt(e$8.position + 1), F$4(a$13) && (p$3 = d$5 = !0, e$8.position++, v$3(e$8, !0, n$6))), l$3 = e$8.line, r$4 = e$8.lineStart, u$8 = e$8.position, R$4(e$8, n$6, H$5, !1, !0), A$2 = e$8.tag, g$5 = e$8.result, v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), (d$5 || e$8.line === l$3) && m$5 === 58 && (p$3 = !0, m$5 = e$8.input.charCodeAt(++e$8.position), v$3(e$8, !0, n$6), R$4(e$8, n$6, H$5, !1, !0), b$11 = e$8.result), s$9 ? N$2(e$8, f$7, x$5, A$2, g$5, b$11, l$3, r$4, u$8) : p$3 ? f$7.push(N$2(e$8, null, x$5, A$2, g$5, b$11, l$3, r$4, u$8)) : f$7.push(g$5), v$3(e$8, !0, n$6), m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 44 ? (i$9 = !0, m$5 = e$8.input.charCodeAt(++e$8.position)) : i$9 = !1;
|
|
14877
14869
|
}
|
|
14878
14870
|
h$3(e$8, "unexpected end of the stream within a flow collection");
|
|
14879
14871
|
}
|
|
@@ -14928,21 +14920,21 @@ function we(e$8, n$6) {
|
|
|
14928
14920
|
return f$7 ? (e$8.tag = l$3, e$8.anchor = r$4, e$8.kind = "sequence", e$8.result = u$8, !0) : !1;
|
|
14929
14921
|
}
|
|
14930
14922
|
function wi(e$8, n$6, i$9) {
|
|
14931
|
-
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$
|
|
14923
|
+
var l$3, r$4, u$8, o$7, f$7, c$8, a$13 = e$8.tag, t$9 = e$8.anchor, p$3 = {}, d$5 = Object.create(null), s$9 = null, x$5 = null, g$5 = null, A$2 = !1, b$11 = !1, m$5;
|
|
14932
14924
|
if (e$8.firstTabInLine !== -1) return !1;
|
|
14933
14925
|
for (e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = p$3), m$5 = e$8.input.charCodeAt(e$8.position); m$5 !== 0;) {
|
|
14934
|
-
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14926
|
+
if (!A$2 && e$8.firstTabInLine !== -1 && (e$8.position = e$8.firstTabInLine, h$3(e$8, "tab characters must not be used in indentation")), l$3 = e$8.input.charCodeAt(e$8.position + 1), u$8 = e$8.line, (m$5 === 63 || m$5 === 58) && F$4(l$3)) m$5 === 63 ? (A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !0, r$4 = !0) : A$2 ? (A$2 = !1, r$4 = !0) : h$3(e$8, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e$8.position += 1, m$5 = l$3;
|
|
14935
14927
|
else {
|
|
14936
14928
|
if (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position, !R$4(e$8, i$9, te, !1, !0)) break;
|
|
14937
14929
|
if (e$8.line === u$8) {
|
|
14938
14930
|
for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
|
|
14939
|
-
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$
|
|
14931
|
+
if (m$5 === 58) m$5 = e$8.input.charCodeAt(++e$8.position), F$4(m$5) || h$3(e$8, "a whitespace character is expected after the key-value separator within a block mapping"), A$2 && (N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), b$11 = !0, A$2 = !1, r$4 = !1, s$9 = e$8.tag, x$5 = e$8.result;
|
|
14940
14932
|
else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
|
|
14941
14933
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14942
14934
|
} else if (b$11) h$3(e$8, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
14943
14935
|
else return e$8.tag = a$13, e$8.anchor = t$9, !0;
|
|
14944
14936
|
}
|
|
14945
|
-
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$
|
|
14937
|
+
if ((e$8.line === u$8 || e$8.lineIndent > n$6) && (A$2 && (o$7 = e$8.line, f$7 = e$8.lineStart, c$8 = e$8.position), R$4(e$8, n$6, U$1, !0, r$4) && (A$2 ? x$5 = e$8.result : g$5 = e$8.result), A$2 || (N$2(e$8, p$3, d$5, s$9, x$5, g$5, o$7, f$7, c$8), s$9 = x$5 = g$5 = null), v$3(e$8, !0, -1), m$5 = e$8.input.charCodeAt(e$8.position)), (e$8.line === u$8 || e$8.lineIndent > n$6) && m$5 !== 0) h$3(e$8, "bad indentation of a mapping entry");
|
|
14946
14938
|
else if (e$8.lineIndent < n$6) break;
|
|
14947
14939
|
}
|
|
14948
14940
|
return A$2 && N$2(e$8, p$3, d$5, s$9, x$5, null, o$7, f$7, c$8), b$11 && (e$8.tag = a$13, e$8.anchor = t$9, e$8.kind = "mapping", e$8.result = p$3), b$11;
|
|
@@ -14980,9 +14972,9 @@ function Si(e$8) {
|
|
|
14980
14972
|
return e$8.position === n$6 && h$3(e$8, "name of an alias node must contain at least one character"), i$9 = e$8.input.slice(n$6, e$8.position), T$3.call(e$8.anchorMap, i$9) || h$3(e$8, "unidentified alias \"" + i$9 + "\""), e$8.result = e$8.anchorMap[i$9], v$3(e$8, !0, -1), !0;
|
|
14981
14973
|
}
|
|
14982
14974
|
function R$4(e$8, n$6, i$9, l$3, r$4) {
|
|
14983
|
-
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$
|
|
14975
|
+
var u$8, o$7, f$7, c$8 = 1, a$13 = !1, t$9 = !1, p$3, d$5, s$9, x$5, g$5, A$2;
|
|
14984
14976
|
if (e$8.listener !== null && e$8.listener("open", e$8), e$8.tag = null, e$8.anchor = null, e$8.kind = null, e$8.result = null, u$8 = o$7 = f$7 = U$1 === i$9 || he === i$9, l$3 && v$3(e$8, !0, -1) && (a$13 = !0, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)), c$8 === 1) for (; Fi(e$8) || bi(e$8);) v$3(e$8, !0, -1) ? (a$13 = !0, f$7 = u$8, e$8.lineIndent > n$6 ? c$8 = 1 : e$8.lineIndent === n$6 ? c$8 = 0 : e$8.lineIndent < n$6 && (c$8 = -1)) : f$7 = !1;
|
|
14985
|
-
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$
|
|
14977
|
+
if (f$7 && (f$7 = a$13 || r$4), (c$8 === 1 || U$1 === i$9) && (H$5 === i$9 || te === i$9 ? g$5 = n$6 : g$5 = n$6 + 1, A$2 = e$8.position - e$8.lineStart, c$8 === 1 ? f$7 && (we(e$8, A$2) || wi(e$8, A$2, g$5)) || Ci(e$8, g$5) ? t$9 = !0 : (o$7 && _i(e$8, g$5) || vi(e$8, g$5) || yi(e$8, g$5) ? t$9 = !0 : Si(e$8) ? (t$9 = !0, (e$8.tag !== null || e$8.anchor !== null) && h$3(e$8, "alias node should not have any properties")) : Ai(e$8, g$5, H$5 === i$9) && (t$9 = !0, e$8.tag === null && (e$8.tag = "?")), e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result)) : c$8 === 0 && (t$9 = f$7 && we(e$8, A$2))), e$8.tag === null) e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
14986
14978
|
else if (e$8.tag === "?") {
|
|
14987
14979
|
for (e$8.result !== null && e$8.kind !== "scalar" && h$3(e$8, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e$8.kind + "\""), p$3 = 0, d$5 = e$8.implicitTypes.length; p$3 < d$5; p$3 += 1) if (x$5 = e$8.implicitTypes[p$3], x$5.resolve(e$8.result)) {
|
|
14988
14980
|
e$8.result = x$5.construct(e$8.result), e$8.tag = x$5.tag, e$8.anchor !== null && (e$8.anchorMap[e$8.anchor] = e$8.result);
|
|
@@ -15094,18 +15086,18 @@ function er(e$8, n$6) {
|
|
|
15094
15086
|
function W$1(e$8) {
|
|
15095
15087
|
return e$8 === Ri || e$8 === Li;
|
|
15096
15088
|
}
|
|
15097
|
-
function P$
|
|
15089
|
+
function P$3(e$8) {
|
|
15098
15090
|
return 32 <= e$8 && e$8 <= 126 || 161 <= e$8 && e$8 <= 55295 && e$8 !== 8232 && e$8 !== 8233 || 57344 <= e$8 && e$8 <= 65533 && e$8 !== ee$1 || 65536 <= e$8 && e$8 <= 1114111;
|
|
15099
15091
|
}
|
|
15100
15092
|
function Le(e$8) {
|
|
15101
|
-
return P$
|
|
15093
|
+
return P$3(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
|
|
15102
15094
|
}
|
|
15103
15095
|
function Ne(e$8, n$6, i$9) {
|
|
15104
15096
|
var l$3 = Le(e$8), r$4 = l$3 && !W$1(e$8);
|
|
15105
15097
|
return (i$9 ? l$3 : l$3 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie) && e$8 !== ne && !(n$6 === G$2 && !r$4) || Le(n$6) && !W$1(n$6) && e$8 === ne || n$6 === G$2 && r$4;
|
|
15106
15098
|
}
|
|
15107
15099
|
function nr(e$8) {
|
|
15108
|
-
return P$
|
|
15100
|
+
return P$3(e$8) && e$8 !== ee$1 && !W$1(e$8) && e$8 !== Hi && e$8 !== qi && e$8 !== G$2 && e$8 !== Se$1 && e$8 !== Ee && e$8 !== Te && e$8 !== Oe && e$8 !== Ie && e$8 !== ne && e$8 !== Bi && e$8 !== ji && e$8 !== Di && e$8 !== $i && e$8 !== Ui && e$8 !== Ki && e$8 !== Pi && e$8 !== Mi && e$8 !== Yi && e$8 !== Gi && e$8 !== Wi;
|
|
15109
15101
|
}
|
|
15110
15102
|
function ir(e$8) {
|
|
15111
15103
|
return !W$1(e$8) && e$8 !== G$2;
|
|
@@ -15119,20 +15111,20 @@ function Re$1(e$8) {
|
|
|
15119
15111
|
}
|
|
15120
15112
|
var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
|
|
15121
15113
|
function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
|
|
15122
|
-
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$
|
|
15114
|
+
var c$8, a$13 = 0, t$9 = null, p$3 = !1, d$5 = !1, s$9 = l$3 !== -1, x$5 = -1, g$5 = nr(j$3(e$8, 0)) && ir(j$3(e$8, e$8.length - 1));
|
|
15123
15115
|
if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15124
|
-
if (a$13 = j$3(e$8, c$8), !P$
|
|
15125
|
-
g$
|
|
15116
|
+
if (a$13 = j$3(e$8, c$8), !P$3(a$13)) return D$1;
|
|
15117
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15126
15118
|
}
|
|
15127
15119
|
else {
|
|
15128
15120
|
for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
|
|
15129
15121
|
if (a$13 = j$3(e$8, c$8), a$13 === Y) p$3 = !0, s$9 && (d$5 = d$5 || c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ", x$5 = c$8);
|
|
15130
|
-
else if (!P$
|
|
15131
|
-
g$
|
|
15122
|
+
else if (!P$3(a$13)) return D$1;
|
|
15123
|
+
g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
|
|
15132
15124
|
}
|
|
15133
15125
|
d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
|
|
15134
15126
|
}
|
|
15135
|
-
return !p$3 && !d$5 ? g$
|
|
15127
|
+
return !p$3 && !d$5 ? g$5 && !o$7 && !r$4(e$8) ? De : u$8 === B$1 ? D$1 : re$5 : i$9 > 9 && Re$1(e$8) ? D$1 : o$7 ? u$8 === B$1 ? D$1 : re$5 : d$5 ? Ye$1 : Me;
|
|
15136
15128
|
}
|
|
15137
15129
|
function lr(e$8, n$6, i$9, l$3, r$4) {
|
|
15138
15130
|
e$8.dump = function() {
|
|
@@ -15186,7 +15178,7 @@ function je(e$8, n$6) {
|
|
|
15186
15178
|
` + e$8.slice(o$7 + 1) : c$8 += e$8.slice(r$4), c$8.slice(1);
|
|
15187
15179
|
}
|
|
15188
15180
|
function ur(e$8) {
|
|
15189
|
-
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$
|
|
15181
|
+
for (var n$6 = "", i$9 = 0, l$3, r$4 = 0; r$4 < e$8.length; i$9 >= 65536 ? r$4 += 2 : r$4++) i$9 = j$3(e$8, r$4), l$3 = _$2[i$9], !l$3 && P$3(i$9) ? (n$6 += e$8[r$4], i$9 >= 65536 && (n$6 += e$8[r$4 + 1])) : n$6 += l$3 || Zi(i$9);
|
|
15190
15182
|
return n$6;
|
|
15191
15183
|
}
|
|
15192
15184
|
function fr(e$8, n$6, i$9) {
|
|
@@ -15701,19 +15693,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
15701
15693
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
15702
15694
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
15703
15695
|
function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
|
|
15704
|
-
if (
|
|
15696
|
+
if (g$1.noDeprecation) return;
|
|
15705
15697
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
15706
15698
|
const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
|
|
15707
|
-
|
|
15699
|
+
g$1.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request$2}" ${request$2 === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
15708
15700
|
}
|
|
15709
15701
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
|
|
15710
|
-
if (
|
|
15702
|
+
if (g$1.noDeprecation) return;
|
|
15711
15703
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
15712
15704
|
const urlPath = fileURLToPath(url.href);
|
|
15713
15705
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
15714
15706
|
const basePath = fileURLToPath(base);
|
|
15715
|
-
if (!main$1)
|
|
15716
|
-
else if (path.resolve(packagePath, main$1) !== urlPath)
|
|
15707
|
+
if (!main$1) g$1.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15708
|
+
else if (path.resolve(packagePath, main$1) !== urlPath) g$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main$1}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
15717
15709
|
}
|
|
15718
15710
|
function tryStatSync(path$1) {
|
|
15719
15711
|
try {
|
|
@@ -15921,11 +15913,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
|
|
|
15921
15913
|
return isConditionalSugar;
|
|
15922
15914
|
}
|
|
15923
15915
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
15924
|
-
if (
|
|
15916
|
+
if (g$1.noDeprecation) return;
|
|
15925
15917
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
15926
15918
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
15927
15919
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
15928
|
-
|
|
15920
|
+
g$1.emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
15929
15921
|
}
|
|
15930
15922
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
15931
15923
|
let exports$1 = packageConfig.exports;
|
|
@@ -16410,7 +16402,7 @@ var f$4 = Object.getOwnPropertyNames;
|
|
|
16410
16402
|
var p$1 = Object.getPrototypeOf;
|
|
16411
16403
|
var m$3 = Object.prototype.hasOwnProperty;
|
|
16412
16404
|
var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
|
|
16413
|
-
var g$
|
|
16405
|
+
var g$2 = (e$8, t$9, n$6, r$4) => {
|
|
16414
16406
|
if (t$9 && typeof t$9 === "object" || typeof t$9 === "function") for (var i$9 = f$4(t$9), a$13 = 0, o$7 = i$9.length, s$9; a$13 < o$7; a$13++) {
|
|
16415
16407
|
s$9 = i$9[a$13];
|
|
16416
16408
|
if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
|
|
@@ -16420,7 +16412,7 @@ var g$1 = (e$8, t$9, n$6, r$4) => {
|
|
|
16420
16412
|
}
|
|
16421
16413
|
return e$8;
|
|
16422
16414
|
};
|
|
16423
|
-
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$
|
|
16415
|
+
var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$2(t$9 || !e$8 || !e$8.__esModule ? u$6(n$6, "default", {
|
|
16424
16416
|
value: e$8,
|
|
16425
16417
|
enumerable: true
|
|
16426
16418
|
}) : n$6, e$8));
|
|
@@ -16713,7 +16705,7 @@ var N = h$1((exports$1, t$9) => {
|
|
|
16713
16705
|
return i$9 ? `${a$13} ${i$9}` : a$13;
|
|
16714
16706
|
};
|
|
16715
16707
|
});
|
|
16716
|
-
var P$
|
|
16708
|
+
var P$2 = h$1((exports$1, t$9) => {
|
|
16717
16709
|
const n$6 = v$2("fs");
|
|
16718
16710
|
const r$4 = N();
|
|
16719
16711
|
function i$9(e$8) {
|
|
@@ -16733,7 +16725,7 @@ var F$3 = h$1((exports$1, t$9) => {
|
|
|
16733
16725
|
const n$6 = v$2("path");
|
|
16734
16726
|
const r$4 = A();
|
|
16735
16727
|
const i$9 = j$2();
|
|
16736
|
-
const a$13 = P$
|
|
16728
|
+
const a$13 = P$2();
|
|
16737
16729
|
const o$7 = process.platform === "win32";
|
|
16738
16730
|
const s$9 = /\.(?:com|exe)$/i;
|
|
16739
16731
|
const c$8 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -28943,19 +28935,19 @@ ${p$3}`;
|
|
|
28943
28935
|
process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A$2);
|
|
28944
28936
|
}
|
|
28945
28937
|
e$6(H$3, "H"), s$7(H$3, "debug");
|
|
28946
|
-
function P$
|
|
28938
|
+
function P$1(A$2, k$6) {
|
|
28947
28939
|
if (!k$6) return !1;
|
|
28948
28940
|
for (const c$8 of k$6) if (c$8 === A$2 || c$8[0] === "." && A$2.endsWith(c$8.slice(1))) return !0;
|
|
28949
28941
|
return !1;
|
|
28950
28942
|
}
|
|
28951
|
-
e$6(P$
|
|
28943
|
+
e$6(P$1, "P"), s$7(P$1, "bypassProxy");
|
|
28952
28944
|
const g = (fe = class extends undiciExports.ProxyAgent {
|
|
28953
28945
|
constructor(k$6) {
|
|
28954
28946
|
super(k$6), this._options = k$6, i$7(this, "_agent"), this._agent = new undiciExports.Agent();
|
|
28955
28947
|
}
|
|
28956
28948
|
dispatch(k$6, c$8) {
|
|
28957
28949
|
const B$2 = new require$$1$1.URL(k$6.origin).hostname;
|
|
28958
|
-
return P$
|
|
28950
|
+
return P$1(B$2, this._options.noProxy) ? (H$3(`Bypassing proxy for: ${B$2}`), this._agent.dispatch(k$6, c$8)) : super.dispatch(k$6, c$8);
|
|
28959
28951
|
}
|
|
28960
28952
|
}, e$6(fe, "g"), fe);
|
|
28961
28953
|
s$7(g, "UndiciProxyAgent");
|
|
@@ -28974,7 +28966,7 @@ ${p$3}`;
|
|
|
28974
28966
|
}
|
|
28975
28967
|
connect(k$6, c$8) {
|
|
28976
28968
|
const B$2 = k$6.getHeader("upgrade") === "websocket", t$9 = c$8.secureEndpoint ? B$2 ? "wss:" : "https:" : B$2 ? "ws:" : "http:";
|
|
28977
|
-
if (P$
|
|
28969
|
+
if (P$1(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
|
|
28978
28970
|
const R$7 = `${t$9}+${this._options.uri}`;
|
|
28979
28971
|
let F$6 = this.cache.get(R$7);
|
|
28980
28972
|
if (!F$6) {
|
|
@@ -29099,13 +29091,13 @@ function w$1() {
|
|
|
29099
29091
|
if (i$5) return f$3;
|
|
29100
29092
|
i$5 = 1;
|
|
29101
29093
|
const v$5 = (e$8, r$4) => {
|
|
29102
|
-
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$
|
|
29094
|
+
if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$5(e$8, r$4) : p$3(e$8, r$4);
|
|
29103
29095
|
else throw Error("cannot encode number outside of javascript safe integer range");
|
|
29104
29096
|
return r$4;
|
|
29105
29097
|
}, p$3 = (e$8, r$4) => {
|
|
29106
29098
|
r$4[0] = 128;
|
|
29107
29099
|
for (var o$7 = r$4.length; o$7 > 1; o$7--) r$4[o$7 - 1] = e$8 & 255, e$8 = Math.floor(e$8 / 256);
|
|
29108
|
-
}, g$
|
|
29100
|
+
}, g$5 = (e$8, r$4) => {
|
|
29109
29101
|
r$4[0] = 255;
|
|
29110
29102
|
var o$7 = false;
|
|
29111
29103
|
e$8 = e$8 * -1;
|
|
@@ -29140,14 +29132,14 @@ var k, w;
|
|
|
29140
29132
|
function E() {
|
|
29141
29133
|
if (w) return k;
|
|
29142
29134
|
w = 1;
|
|
29143
|
-
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$
|
|
29135
|
+
const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$6 = Symbol("slurp"), a$13 = Symbol("type");
|
|
29144
29136
|
class B$2 {
|
|
29145
29137
|
constructor(e$8, t$9, i$9, h$6) {
|
|
29146
29138
|
this.cksumValid = false, this.needPax = false, this.nullBlock = false, this.block = null, this.path = null, this.mode = null, this.uid = null, this.gid = null, this.size = null, this.mtime = null, this.cksum = null, this[a$13] = "0", this.linkpath = null, this.uname = null, this.gname = null, this.devmaj = 0, this.devmin = 0, this.atime = null, this.ctime = null, Buffer.isBuffer(e$8) ? this.decode(e$8, t$9 || 0, i$9, h$6) : e$8 && this.set(e$8);
|
|
29147
29139
|
}
|
|
29148
29140
|
decode(e$8, t$9, i$9, h$6) {
|
|
29149
29141
|
if (t$9 || (t$9 = 0), !e$8 || !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29150
|
-
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$
|
|
29142
|
+
if (this.path = d$5(e$8, t$9, 100), this.mode = r$4(e$8, t$9 + 100, 8), this.uid = r$4(e$8, t$9 + 108, 8), this.gid = r$4(e$8, t$9 + 116, 8), this.size = r$4(e$8, t$9 + 124, 12), this.mtime = o$7(e$8, t$9 + 136, 12), this.cksum = r$4(e$8, t$9 + 148, 12), this[P$6](i$9), this[P$6](h$6, true), this[a$13] = d$5(e$8, t$9 + 156, 1), this[a$13] === "" && (this[a$13] = "0"), this[a$13] === "0" && this.path.slice(-1) === "/" && (this[a$13] = "5"), this[a$13] === "5" && (this.size = 0), this.linkpath = d$5(e$8, t$9 + 157, 100), e$8.slice(t$9 + 257, t$9 + 265).toString() === "ustar\x0000") if (this.uname = d$5(e$8, t$9 + 265, 32), this.gname = d$5(e$8, t$9 + 297, 32), this.devmaj = r$4(e$8, t$9 + 329, 8), this.devmin = r$4(e$8, t$9 + 337, 8), e$8[t$9 + 475] !== 0) this.path = d$5(e$8, t$9 + 345, 155) + "/" + this.path;
|
|
29151
29143
|
else {
|
|
29152
29144
|
const n$6 = d$5(e$8, t$9 + 345, 130);
|
|
29153
29145
|
n$6 && (this.path = n$6 + "/" + this.path), this.atime = o$7(e$8, t$9 + 476, 12), this.ctime = o$7(e$8, t$9 + 488, 12);
|
|
@@ -29157,13 +29149,13 @@ function E() {
|
|
|
29157
29149
|
for (let n$6 = t$9 + 156; n$6 < t$9 + 512; n$6++) l$3 += e$8[n$6];
|
|
29158
29150
|
this.cksumValid = l$3 === this.cksum, this.cksum === null && l$3 === 256 && (this.nullBlock = true);
|
|
29159
29151
|
}
|
|
29160
|
-
[P$
|
|
29152
|
+
[P$6](e$8, t$9) {
|
|
29161
29153
|
for (const i$9 in e$8) e$8[i$9] !== null && e$8[i$9] !== void 0 && !(t$9 && i$9 === "path") && (this[i$9] = e$8[i$9]);
|
|
29162
29154
|
}
|
|
29163
29155
|
encode(e$8, t$9) {
|
|
29164
29156
|
if (e$8 || (e$8 = this.block = Buffer.alloc(512), t$9 = 0), t$9 || (t$9 = 0), !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
|
|
29165
29157
|
const i$9 = this.ctime || this.atime ? 130 : 155, h$6 = L$5(this.path || "", i$9), l$3 = h$6[0], n$6 = h$6[1];
|
|
29166
|
-
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$
|
|
29158
|
+
this.needPax = h$6[2], this.needPax = m$5(e$8, t$9, 100, l$3) || this.needPax, this.needPax = c$8(e$8, t$9 + 100, 8, this.mode) || this.needPax, this.needPax = c$8(e$8, t$9 + 108, 8, this.uid) || this.needPax, this.needPax = c$8(e$8, t$9 + 116, 8, this.gid) || this.needPax, this.needPax = c$8(e$8, t$9 + 124, 12, this.size) || this.needPax, this.needPax = g$5(e$8, t$9 + 136, 12, this.mtime) || this.needPax, e$8[t$9 + 156] = this[a$13].charCodeAt(0), this.needPax = m$5(e$8, t$9 + 157, 100, this.linkpath) || this.needPax, e$8.write("ustar\x0000", t$9 + 257, 8), this.needPax = m$5(e$8, t$9 + 265, 32, this.uname) || this.needPax, this.needPax = m$5(e$8, t$9 + 297, 32, this.gname) || this.needPax, this.needPax = c$8(e$8, t$9 + 329, 8, this.devmaj) || this.needPax, this.needPax = c$8(e$8, t$9 + 337, 8, this.devmin) || this.needPax, this.needPax = m$5(e$8, t$9 + 345, i$9, n$6) || this.needPax, e$8[t$9 + 475] !== 0 ? this.needPax = m$5(e$8, t$9 + 345, 155, n$6) || this.needPax : (this.needPax = m$5(e$8, t$9 + 345, 130, n$6) || this.needPax, this.needPax = g$5(e$8, t$9 + 476, 12, this.atime) || this.needPax, this.needPax = g$5(e$8, t$9 + 488, 12, this.ctime) || this.needPax);
|
|
29167
29159
|
let S$7 = 256;
|
|
29168
29160
|
for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
|
|
29169
29161
|
for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
|
|
@@ -29213,7 +29205,7 @@ function E() {
|
|
|
29213
29205
|
}, d$5 = (s$9, e$8, t$9) => s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*/, ""), o$7 = (s$9, e$8, t$9) => N$6(r$4(s$9, e$8, t$9)), N$6 = (s$9) => s$9 === null ? null : /* @__PURE__ */ new Date(s$9 * 1e3), r$4 = (s$9, e$8, t$9) => s$9[e$8] & 128 ? y$7.parse(s$9.slice(e$8, e$8 + t$9)) : j$6(s$9, e$8, t$9), q$6 = (s$9) => isNaN(s$9) ? null : s$9, j$6 = (s$9, e$8, t$9) => q$6(parseInt(s$9.slice(e$8, e$8 + t$9).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v$5 = {
|
|
29214
29206
|
12: 8589934591,
|
|
29215
29207
|
8: 2097151
|
|
29216
|
-
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$
|
|
29208
|
+
}, c$8 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : i$9 > v$5[t$9] || i$9 < 0 ? (y$7.encode(i$9, s$9.slice(e$8, e$8 + t$9)), true) : ($$2(s$9, e$8, t$9, i$9), false), $$2 = (s$9, e$8, t$9, i$9) => s$9.write(_$7(i$9, t$9), e$8, t$9, "ascii"), _$7 = (s$9, e$8) => z$6(Math.floor(s$9).toString(8), e$8), z$6 = (s$9, e$8) => (s$9.length === e$8 - 1 ? s$9 : new Array(e$8 - s$9.length - 1).join("0") + s$9 + " ") + "\0", g$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : c$8(s$9, e$8, t$9, i$9.getTime() / 1e3), A$2 = new Array(156).join("\0"), m$5 = (s$9, e$8, t$9, i$9) => i$9 === null ? false : (s$9.write(i$9 + A$2, e$8, t$9, "utf8"), i$9.length !== Buffer.byteLength(i$9) || i$9.length > t$9);
|
|
29217
29209
|
return k = B$2, k;
|
|
29218
29210
|
}
|
|
29219
29211
|
var e$3, t$3$1;
|
|
@@ -29365,7 +29357,7 @@ function ft() {
|
|
|
29365
29357
|
const H$8 = typeof process == "object" && process ? process : {
|
|
29366
29358
|
stdout: null,
|
|
29367
29359
|
stderr: null
|
|
29368
|
-
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$
|
|
29360
|
+
}, Z$4 = nt, q$6 = ot, G$5 = ht.StringDecoder, m$5 = Symbol("EOF"), d$5 = Symbol("maybeEmitEnd"), y$7 = Symbol("emittedEnd"), R$7 = Symbol("emittingEnd"), g$5 = Symbol("emittedError"), B$2 = Symbol("closed"), Y$3 = Symbol("read"), T$8 = Symbol("flush"), $$2 = Symbol("flushChunk"), f$7 = Symbol("encoding"), c$8 = Symbol("decoder"), M$5 = Symbol("flowing"), S$7 = Symbol("paused"), b$11 = Symbol("resume"), i$9 = Symbol("buffer"), a$13 = Symbol("pipes"), n$6 = Symbol("bufferLength"), j$6 = Symbol("bufferPush"), I$4 = Symbol("bufferShift"), o$7 = Symbol("objectMode"), r$4 = Symbol("destroyed"), P$6 = Symbol("error"), x$5 = Symbol("emitData"), V$4 = Symbol("emitEnd"), N$6 = Symbol("emitEnd2"), p$3 = Symbol("async"), _$7 = Symbol("abort"), O$9 = Symbol("aborted"), E$5 = Symbol("signal"), w$7 = (h$6) => Promise.resolve().then(h$6), J$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K$6 = J$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W$5 = J$5 && Symbol.iterator || Symbol("iterator not implemented"), k$6 = (h$6) => h$6 === "end" || h$6 === "finish" || h$6 === "prefinish", tt$3 = (h$6) => h$6 instanceof ArrayBuffer || typeof h$6 == "object" && h$6.constructor && h$6.constructor.name === "ArrayBuffer" && h$6.byteLength >= 0, et$1 = (h$6) => !Buffer.isBuffer(h$6) && ArrayBuffer.isView(h$6);
|
|
29369
29361
|
class z$6 {
|
|
29370
29362
|
constructor(t$9, e$8, s$9) {
|
|
29371
29363
|
this.src = t$9, this.dest = e$8, this.opts = s$9, this.ondrain = () => t$9[b$11](), e$8.on("drain", this.ondrain);
|
|
@@ -29388,7 +29380,7 @@ function ft() {
|
|
|
29388
29380
|
}
|
|
29389
29381
|
class F$6 extends q$6 {
|
|
29390
29382
|
constructor(t$9) {
|
|
29391
|
-
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$
|
|
29383
|
+
super(), this[M$5] = false, this[S$7] = false, this[a$13] = [], this[i$9] = [], this[o$7] = t$9 && t$9.objectMode || false, this[o$7] ? this[f$7] = null : this[f$7] = t$9 && t$9.encoding || null, this[f$7] === "buffer" && (this[f$7] = null), this[p$3] = t$9 && !!t$9.async || false, this[c$8] = this[f$7] ? new G$5(this[f$7]) : null, this[m$5] = false, this[y$7] = false, this[R$7] = false, this[B$2] = false, this[g$5] = null, this.writable = true, this.readable = true, this[n$6] = 0, this[r$4] = false, t$9 && t$9.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i$9] }), t$9 && t$9.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a$13] }), this[E$5] = t$9 && t$9.signal, this[O$9] = false, this[E$5] && (this[E$5].addEventListener("abort", () => this[_$7]()), this[E$5].aborted && this[_$7]());
|
|
29392
29384
|
}
|
|
29393
29385
|
get bufferLength() {
|
|
29394
29386
|
return this[n$6];
|
|
@@ -29490,7 +29482,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29490
29482
|
}
|
|
29491
29483
|
on(t$9, e$8) {
|
|
29492
29484
|
const s$9 = super.on(t$9, e$8);
|
|
29493
|
-
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$
|
|
29485
|
+
return t$9 === "data" && !this[a$13].length && !this.flowing ? this[b$11]() : t$9 === "readable" && this[n$6] !== 0 ? super.emit("readable") : k$6(t$9) && this[y$7] ? (super.emit(t$9), this.removeAllListeners(t$9)) : t$9 === "error" && this[g$5] && (this[p$3] ? w$7(() => e$8.call(this, this[g$5])) : e$8.call(this, this[g$5])), s$9;
|
|
29494
29486
|
}
|
|
29495
29487
|
get emittedEnd() {
|
|
29496
29488
|
return this[y$7];
|
|
@@ -29507,7 +29499,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29507
29499
|
const u$8 = super.emit("close");
|
|
29508
29500
|
return this.removeAllListeners("close"), u$8;
|
|
29509
29501
|
} else if (t$9 === "error") {
|
|
29510
|
-
this[g$
|
|
29502
|
+
this[g$5] = e$8, super.emit(P$6, e$8);
|
|
29511
29503
|
const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
|
|
29512
29504
|
return this[d$5](), u$8;
|
|
29513
29505
|
} else if (t$9 === "resume") {
|
|
@@ -29592,12 +29584,12 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
|
|
|
29592
29584
|
}
|
|
29593
29585
|
[W$5]() {
|
|
29594
29586
|
let t$9 = false;
|
|
29595
|
-
const e$8 = () => (this.pause(), this.removeListener(P$
|
|
29587
|
+
const e$8 = () => (this.pause(), this.removeListener(P$6, e$8), this.removeListener(r$4, e$8), this.removeListener("end", e$8), t$9 = true, { done: true }), s$9 = () => {
|
|
29596
29588
|
if (t$9) return e$8();
|
|
29597
29589
|
const l$3 = this.read();
|
|
29598
29590
|
return l$3 === null ? e$8() : { value: l$3 };
|
|
29599
29591
|
};
|
|
29600
|
-
return this.once("end", e$8), this.once(P$
|
|
29592
|
+
return this.once("end", e$8), this.once(P$6, e$8), this.once(r$4, e$8), {
|
|
29601
29593
|
next: s$9,
|
|
29602
29594
|
throw: e$8,
|
|
29603
29595
|
return: e$8,
|
|
@@ -29839,7 +29831,7 @@ function tt$1() {
|
|
|
29839
29831
|
const I$4 = typeof process == "object" && process ? process : {
|
|
29840
29832
|
stdout: null,
|
|
29841
29833
|
stderr: null
|
|
29842
|
-
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$
|
|
29834
|
+
}, Y$3 = nt, x$5 = ot, N$6 = ht.StringDecoder, u$8 = Symbol("EOF"), a$13 = Symbol("maybeEmitEnd"), c$8 = Symbol("emittedEnd"), S$7 = Symbol("emittingEnd"), E$5 = Symbol("emittedError"), w$7 = Symbol("closed"), P$6 = Symbol("read"), L$5 = Symbol("flush"), _$7 = Symbol("flushChunk"), h$6 = Symbol("encoding"), m$5 = Symbol("decoder"), M$5 = Symbol("flowing"), y$7 = Symbol("paused"), p$3 = Symbol("resume"), s$9 = Symbol("bufferLength"), T$8 = Symbol("bufferPush"), B$2 = Symbol("bufferShift"), r$4 = Symbol("objectMode"), n$6 = Symbol("destroyed"), D$4 = Symbol("emitData"), F$6 = Symbol("emitEnd"), R$7 = Symbol("emitEnd2"), d$5 = Symbol("async"), b$11 = (o$7) => Promise.resolve().then(o$7), C$5 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $$2 = C$5 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G$5 = C$5 && Symbol.iterator || Symbol("iterator not implemented"), V$4 = (o$7) => o$7 === "end" || o$7 === "finish" || o$7 === "prefinish", v$5 = (o$7) => o$7 instanceof ArrayBuffer || typeof o$7 == "object" && o$7.constructor && o$7.constructor.name === "ArrayBuffer" && o$7.byteLength >= 0, J$5 = (o$7) => !Buffer.isBuffer(o$7) && ArrayBuffer.isView(o$7);
|
|
29843
29835
|
class U$5 {
|
|
29844
29836
|
constructor(t$9, e$8, i$9) {
|
|
29845
29837
|
this.src = t$9, this.dest = e$8, this.opts = i$9, this.ondrain = () => t$9[p$3](), e$8.on("drain", this.ondrain);
|
|
@@ -29901,10 +29893,10 @@ function tt$1() {
|
|
|
29901
29893
|
if (this[n$6]) return null;
|
|
29902
29894
|
if (this[s$9] === 0 || t$9 === 0 || t$9 > this[s$9]) return this[a$13](), null;
|
|
29903
29895
|
this[r$4] && (t$9 = null), this.buffer.length > 1 && !this[r$4] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[s$9])]);
|
|
29904
|
-
const e$8 = this[P$
|
|
29896
|
+
const e$8 = this[P$6](t$9 || null, this.buffer[0]);
|
|
29905
29897
|
return this[a$13](), e$8;
|
|
29906
29898
|
}
|
|
29907
|
-
[P$
|
|
29899
|
+
[P$6](t$9, e$8) {
|
|
29908
29900
|
return t$9 === e$8.length || t$9 === null ? this[B$2]() : (this.buffer[0] = e$8.slice(t$9), e$8 = e$8.slice(0, t$9), this[s$9] -= t$9), this.emit("data", e$8), !this.buffer.length && !this[u$8] && this.emit("drain"), e$8;
|
|
29909
29901
|
}
|
|
29910
29902
|
end(t$9, e$8, i$9) {
|
|
@@ -30031,18 +30023,18 @@ while (this[_$7](this[B$2]()));
|
|
|
30031
30023
|
});
|
|
30032
30024
|
if (this[u$8]) return Promise.resolve({ done: true });
|
|
30033
30025
|
let i$9 = null, l$3 = null;
|
|
30034
|
-
const f$7 = (g$
|
|
30035
|
-
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$
|
|
30036
|
-
}, A$2 = (g$
|
|
30026
|
+
const f$7 = (g$5) => {
|
|
30027
|
+
this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$5);
|
|
30028
|
+
}, A$2 = (g$5) => {
|
|
30037
30029
|
this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
|
|
30038
|
-
value: g$
|
|
30030
|
+
value: g$5,
|
|
30039
30031
|
done: !!this[u$8]
|
|
30040
30032
|
});
|
|
30041
30033
|
}, O$9 = () => {
|
|
30042
30034
|
this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
|
|
30043
30035
|
}, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
|
|
30044
|
-
return new Promise((g$
|
|
30045
|
-
l$3 = z$6, i$9 = g$
|
|
30036
|
+
return new Promise((g$5, z$6) => {
|
|
30037
|
+
l$3 = z$6, i$9 = g$5, this.once(n$6, W$5), this.once("error", f$7), this.once("end", O$9), this.once("data", A$2);
|
|
30046
30038
|
});
|
|
30047
30039
|
} };
|
|
30048
30040
|
}
|
|
@@ -30067,7 +30059,7 @@ var C;
|
|
|
30067
30059
|
function J() {
|
|
30068
30060
|
if (C) return i$3;
|
|
30069
30061
|
C = 1;
|
|
30070
|
-
const w$7 = j$1, n$6 = P
|
|
30062
|
+
const w$7 = j$1, n$6 = P.Buffer, z$6 = O$2, u$8 = i$3.constants = T(), L$5 = tt$1(), E$5 = n$6.concat, c$8 = Symbol("_superWrite");
|
|
30071
30063
|
class d$5 extends Error {
|
|
30072
30064
|
constructor(s$9) {
|
|
30073
30065
|
super("zlib: " + s$9.message), this.code = s$9.code, this.errno = s$9.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + s$9.message, Error.captureStackTrace(this, this.constructor);
|
|
@@ -30076,11 +30068,11 @@ function J() {
|
|
|
30076
30068
|
return "ZlibError";
|
|
30077
30069
|
}
|
|
30078
30070
|
}
|
|
30079
|
-
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$
|
|
30071
|
+
const Z$4 = Symbol("opts"), p$3 = Symbol("flushFlag"), I$4 = Symbol("finishFlushFlag"), y$7 = Symbol("fullFlushFlag"), t$9 = Symbol("handle"), _$7 = Symbol("onError"), f$7 = Symbol("sawError"), F$6 = Symbol("level"), S$7 = Symbol("strategy"), g$5 = Symbol("ended");
|
|
30080
30072
|
class x$5 extends L$5 {
|
|
30081
30073
|
constructor(s$9, e$8) {
|
|
30082
30074
|
if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
|
|
30083
|
-
super(s$9), this[f$7] = false, this[g$
|
|
30075
|
+
super(s$9), this[f$7] = false, this[g$5] = false, this[Z$4] = s$9, this[p$3] = s$9.flush, this[I$4] = s$9.finishFlush;
|
|
30084
30076
|
try {
|
|
30085
30077
|
this[t$9] = new z$6[e$8](s$9);
|
|
30086
30078
|
} catch (i$9) {
|
|
@@ -30100,10 +30092,10 @@ function J() {
|
|
|
30100
30092
|
this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
|
|
30101
30093
|
}
|
|
30102
30094
|
end(s$9, e$8, i$9) {
|
|
30103
|
-
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$
|
|
30095
|
+
return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$5] = true, super.end(null, null, i$9);
|
|
30104
30096
|
}
|
|
30105
30097
|
get ended() {
|
|
30106
|
-
return this[g$
|
|
30098
|
+
return this[g$5];
|
|
30107
30099
|
}
|
|
30108
30100
|
write(s$9, e$8, i$9) {
|
|
30109
30101
|
if (typeof e$8 == "function" && (i$9 = e$8, e$8 = "utf8"), typeof s$9 == "string" && (s$9 = n$6.from(s$9, e$8)), this[f$7]) return;
|
|
@@ -30221,8 +30213,8 @@ var O$1, F$2;
|
|
|
30221
30213
|
function rt() {
|
|
30222
30214
|
if (F$2) return O$1;
|
|
30223
30215
|
F$2 = 1;
|
|
30224
|
-
const P$
|
|
30225
|
-
return O$1 = P$
|
|
30216
|
+
const P$6 = c$4(), $$2 = E(), v$5 = nt, W$5 = c$3(), G$5 = 1024 * 1024, k$6 = u$3(), C$5 = f$2(), x$5 = J(), { nextTick: j$6 } = nt$1, B$2 = Buffer.from([31, 139]), h$6 = Symbol("state"), d$5 = Symbol("writeEntry"), a$13 = Symbol("readEntry"), I$4 = Symbol("nextEntry"), U$5 = Symbol("processEntry"), l$3 = Symbol("extendedHeader"), y$7 = Symbol("globalExtendedHeader"), c$8 = Symbol("meta"), H$8 = Symbol("emitMeta"), n$6 = Symbol("buffer"), f$7 = Symbol("queue"), u$8 = Symbol("ended"), L$5 = Symbol("emittedEnd"), b$11 = Symbol("emit"), r$4 = Symbol("unzip"), _$7 = Symbol("consumeChunk"), g$5 = Symbol("consumeChunkSub"), q$6 = Symbol("consumeBody"), z$6 = Symbol("consumeMeta"), Y$3 = Symbol("consumeHeader"), N$6 = Symbol("consuming"), D$4 = Symbol("bufferConcat"), M$5 = Symbol("maybeEnd"), S$7 = Symbol("writing"), m$5 = Symbol("aborted"), T$8 = Symbol("onDone"), E$1$1 = Symbol("sawValidEntry"), R$7 = Symbol("sawNullBlock"), A$2 = Symbol("sawEOF"), V$4 = Symbol("closeStream"), K$6 = (X$4) => true;
|
|
30217
|
+
return O$1 = P$6(class extends v$5 {
|
|
30226
30218
|
constructor(t$9) {
|
|
30227
30219
|
t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
|
|
30228
30220
|
(this[h$6] === "begin" || this[E$1$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
|
@@ -30358,17 +30350,17 @@ while (this[U$5](this[f$7].shift()));
|
|
|
30358
30350
|
if (this[N$6] = true, this[n$6]) {
|
|
30359
30351
|
this[D$4](t$9);
|
|
30360
30352
|
const i$9 = this[n$6];
|
|
30361
|
-
this[n$6] = null, this[g$
|
|
30362
|
-
} else this[g$
|
|
30353
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30354
|
+
} else this[g$5](t$9);
|
|
30363
30355
|
for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
|
|
30364
30356
|
const i$9 = this[n$6];
|
|
30365
|
-
this[n$6] = null, this[g$
|
|
30357
|
+
this[n$6] = null, this[g$5](i$9);
|
|
30366
30358
|
}
|
|
30367
30359
|
this[N$6] = false;
|
|
30368
30360
|
}
|
|
30369
30361
|
(!this[n$6] || this[u$8]) && this[M$5]();
|
|
30370
30362
|
}
|
|
30371
|
-
[g$
|
|
30363
|
+
[g$5](t$9) {
|
|
30372
30364
|
let i$9 = 0;
|
|
30373
30365
|
const s$9 = t$9.length;
|
|
30374
30366
|
for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
|
|
@@ -30406,7 +30398,7 @@ function X() {
|
|
|
30406
30398
|
j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
|
|
30407
30399
|
};
|
|
30408
30400
|
}
|
|
30409
|
-
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$
|
|
30401
|
+
const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$5 = Symbol("_ended"), s$9 = Symbol("_fd"), B$2 = Symbol("_finished"), o$7 = Symbol("_flags"), x$5 = Symbol("_flush"), z$6 = Symbol("_handleChunk"), T$8 = Symbol("_makeBuf"), q$6 = Symbol("_mode"), E$5 = Symbol("_needDrain"), d$5 = Symbol("_onerror"), y$7 = Symbol("_onopen"), W$5 = Symbol("_onread"), _$7 = Symbol("_onwrite"), a$13 = Symbol("_open"), l$3 = Symbol("_path"), u$8 = Symbol("_pos"), n$6 = Symbol("_queue"), S$7 = Symbol("_read"), M$5 = Symbol("_readSize"), f$7 = Symbol("_reading"), k$6 = Symbol("_remain"), N$6 = Symbol("_size"), C$5 = Symbol("_write"), b$11 = Symbol("_writing"), F$6 = Symbol("_defaultFlag"), p$3 = Symbol("_errored");
|
|
30410
30402
|
class D$4 extends H$8 {
|
|
30411
30403
|
constructor(t$9, e$8) {
|
|
30412
30404
|
if (e$8 = e$8 || {}, super(e$8), this.readable = true, this.writable = false, typeof t$9 != "string") throw new TypeError("path must be a string");
|
|
@@ -30469,7 +30461,7 @@ function X() {
|
|
|
30469
30461
|
}
|
|
30470
30462
|
}
|
|
30471
30463
|
}
|
|
30472
|
-
class P$
|
|
30464
|
+
class P$6 extends D$4 {
|
|
30473
30465
|
[a$13]() {
|
|
30474
30466
|
let t$9 = true;
|
|
30475
30467
|
try {
|
|
@@ -30503,7 +30495,7 @@ function X() {
|
|
|
30503
30495
|
}
|
|
30504
30496
|
class O$9 extends I$4 {
|
|
30505
30497
|
constructor(t$9, e$8) {
|
|
30506
|
-
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$
|
|
30498
|
+
e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$5] = false, this[E$5] = false, this[n$6] = [], this[l$3] = t$9, this[s$9] = typeof e$8.fd == "number" ? e$8.fd : null, this[q$6] = e$8.mode === void 0 ? 438 : e$8.mode, this[u$8] = typeof e$8.start == "number" ? e$8.start : null, this[m$5] = typeof e$8.autoClose == "boolean" ? e$8.autoClose : true;
|
|
30507
30499
|
const i$9 = this[u$8] !== null ? "r+" : "w";
|
|
30508
30500
|
this[F$6] = e$8.flags === void 0, this[o$7] = this[F$6] ? i$9 : e$8.flags, this[s$9] === null && this[a$13]();
|
|
30509
30501
|
}
|
|
@@ -30530,19 +30522,19 @@ function X() {
|
|
|
30530
30522
|
this[F$6] && this[o$7] === "r+" && t$9 && t$9.code === "ENOENT" ? (this[o$7] = "w", this[a$13]()) : t$9 ? this[d$5](t$9) : (this[s$9] = e$8, this.emit("open", e$8), this[x$5]());
|
|
30531
30523
|
}
|
|
30532
30524
|
end(t$9, e$8) {
|
|
30533
|
-
return t$9 && this.write(t$9, e$8), this[g$
|
|
30525
|
+
return t$9 && this.write(t$9, e$8), this[g$5] = true, !this[b$11] && !this[n$6].length && typeof this[s$9] == "number" && this[_$7](null, 0), this;
|
|
30534
30526
|
}
|
|
30535
30527
|
write(t$9, e$8) {
|
|
30536
|
-
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$
|
|
30528
|
+
return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$5] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), false) : this[s$9] === null || this[b$11] || this[n$6].length ? (this[n$6].push(t$9), this[E$5] = true, false) : (this[b$11] = true, this[C$5](t$9), true);
|
|
30537
30529
|
}
|
|
30538
30530
|
[C$5](t$9) {
|
|
30539
30531
|
r$4.write(this[s$9], t$9, 0, t$9.length, this[u$8], (e$8, i$9) => this[_$7](e$8, i$9));
|
|
30540
30532
|
}
|
|
30541
30533
|
[_$7](t$9, e$8) {
|
|
30542
|
-
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$
|
|
30534
|
+
t$9 ? this[d$5](t$9) : (this[u$8] !== null && (this[u$8] += e$8), this[n$6].length ? this[x$5]() : (this[b$11] = false, this[g$5] && !this[B$2] ? (this[B$2] = true, this[h$6](), this.emit("finish")) : this[E$5] && (this[E$5] = false, this.emit("drain"))));
|
|
30543
30535
|
}
|
|
30544
30536
|
[x$5]() {
|
|
30545
|
-
if (this[n$6].length === 0) this[g$
|
|
30537
|
+
if (this[n$6].length === 0) this[g$5] && this[_$7](null, 0);
|
|
30546
30538
|
else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
|
|
30547
30539
|
else {
|
|
30548
30540
|
const t$9 = this[n$6];
|
|
@@ -30585,7 +30577,7 @@ function X() {
|
|
|
30585
30577
|
}
|
|
30586
30578
|
}
|
|
30587
30579
|
}
|
|
30588
|
-
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$
|
|
30580
|
+
return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$6, s$4.WriteStream = O$9, s$4.WriteStreamSync = U$5, s$4;
|
|
30589
30581
|
}
|
|
30590
30582
|
var r$1 = { exports: {} };
|
|
30591
30583
|
var i$2, m$2;
|
|
@@ -30818,7 +30810,7 @@ var R$2;
|
|
|
30818
30810
|
function H() {
|
|
30819
30811
|
if (R$2) return r$1.exports;
|
|
30820
30812
|
R$2 = 1;
|
|
30821
|
-
const g$
|
|
30813
|
+
const g$5 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
|
|
30822
30814
|
class D$4 extends Error {
|
|
30823
30815
|
constructor(e$8, s$9) {
|
|
30824
30816
|
super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
|
|
@@ -30847,7 +30839,7 @@ function H() {
|
|
|
30847
30839
|
};
|
|
30848
30840
|
if (h$6 && v$5(h$6, n$6) === true) return w$7();
|
|
30849
30841
|
if (n$6 === d$5) return I$4(n$6, w$7);
|
|
30850
|
-
if (u$8) return g$
|
|
30842
|
+
if (u$8) return g$5(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
|
|
30851
30843
|
C$5(d$5, y$7(p$3.relative(d$5, n$6)).split("/"), c$8, h$6, m$5, d$5, null, w$7);
|
|
30852
30844
|
};
|
|
30853
30845
|
const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
|
|
@@ -30885,7 +30877,7 @@ function H() {
|
|
|
30885
30877
|
};
|
|
30886
30878
|
if (m$5 && v$5(m$5, n$6) === true) return d$5();
|
|
30887
30879
|
if (n$6 === h$6) return L$5(h$6), d$5();
|
|
30888
|
-
if (a$13) return d$5(g$
|
|
30880
|
+
if (a$13) return d$5(g$5.sync(n$6, r$4));
|
|
30889
30881
|
const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
|
|
30890
30882
|
let S$7 = null;
|
|
30891
30883
|
for (let k$6 = $$2.shift(), o$7 = h$6; k$6 && (o$7 += "/" + k$6); k$6 = $$2.shift()) if (o$7 = y$7(p$3.resolve(o$7)), !v$5(m$5, o$7)) try {
|
|
@@ -30938,7 +30930,7 @@ var u$1, f$1;
|
|
|
30938
30930
|
function z() {
|
|
30939
30931
|
if (f$1) return u$1;
|
|
30940
30932
|
f$1 = 1;
|
|
30941
|
-
const l$3 = j$1, m$5 = a$1(), g$
|
|
30933
|
+
const l$3 = j$1, m$5 = a$1(), g$5 = s(), { join: d$5 } = H$2, q$6 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
|
30942
30934
|
return u$1 = () => {
|
|
30943
30935
|
const i$9 = /* @__PURE__ */ new Map(), c$8 = /* @__PURE__ */ new Map(), v$5 = (e$8) => e$8.split("/").slice(0, -1).reduce((o$7, r$4) => (o$7.length && (r$4 = d$5(o$7[o$7.length - 1], r$4)), o$7.push(r$4 || "/"), o$7), []), a$13 = /* @__PURE__ */ new Set(), w$7 = (e$8) => {
|
|
30944
30936
|
const s$9 = c$8.get(e$8);
|
|
@@ -30964,7 +30956,7 @@ function z() {
|
|
|
30964
30956
|
return {
|
|
30965
30957
|
check: h$6,
|
|
30966
30958
|
reserve: (e$8, s$9) => {
|
|
30967
|
-
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$
|
|
30959
|
+
e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$5(d$5(m$5(r$4))).toLowerCase());
|
|
30968
30960
|
const o$7 = new Set(e$8.map((r$4) => v$5(r$4)).reduce((r$4, t$9) => r$4.concat(t$9)));
|
|
30969
30961
|
return c$8.set(s$9, {
|
|
30970
30962
|
dirs: o$7,
|
|
@@ -31005,7 +30997,7 @@ var G, y;
|
|
|
31005
30997
|
function Os() {
|
|
31006
30998
|
if (y) return G;
|
|
31007
30999
|
y = 1;
|
|
31008
|
-
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$
|
|
31000
|
+
const ss = j$1, is = rt(), r$4 = V, es = X(), w$7 = H$2, M$5 = H(), K$6 = p(), ts = z(), os$1 = c$5(), l$3 = a$7(), rs = s(), hs = a$1(), H$1$1 = Symbol("onEntry"), q$6 = Symbol("checkFs"), Y$3 = Symbol("checkFs2"), v$5 = Symbol("pruneCache"), N$6 = Symbol("isReusable"), d$5 = Symbol("makeFs"), U$5 = Symbol("file"), F$1$1 = Symbol("directory"), O$9 = Symbol("link"), B$2 = Symbol("symlink"), z$1$1 = Symbol("hardlink"), W$5 = Symbol("unsupported"), j$6 = Symbol("checkPath"), b$11 = Symbol("mkdir"), m$5 = Symbol("onError"), $$2 = Symbol("pending"), V$1$1 = Symbol("pend"), S$7 = Symbol("unpend"), P$6 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$5 = Symbol("checkedCwd"), X$1$1 = Ds, J$5 = F(), C$5 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a$13, s$9) => {
|
|
31009
31001
|
if (!C$5) return r$4.unlink(a$13, s$9);
|
|
31010
31002
|
const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
|
|
31011
31003
|
r$4.rename(a$13, i$9, (e$8) => {
|
|
@@ -31028,8 +31020,8 @@ function Os() {
|
|
|
31028
31020
|
class L$5 extends is {
|
|
31029
31021
|
constructor(s$9) {
|
|
31030
31022
|
if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
|
|
31031
|
-
this[P$
|
|
31032
|
-
}, super(s$9), this[g$
|
|
31023
|
+
this[P$6] = true, this[A$2]();
|
|
31024
|
+
}, super(s$9), this[g$5] = false, this.reservations = ts(), this.transform = typeof s$9.transform == "function" ? s$9.transform : null, this.writable = true, this.readable = false, this[$$2] = 0, this[P$6] = false, this.dirCache = s$9.dirCache || /* @__PURE__ */ new Map(), typeof s$9.uid == "number" || typeof s$9.gid == "number") {
|
|
31033
31025
|
if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
|
|
31034
31026
|
if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
31035
31027
|
this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
|
|
@@ -31040,7 +31032,7 @@ function Os() {
|
|
|
31040
31032
|
return (s$9 === "TAR_BAD_ARCHIVE" || s$9 === "TAR_ABORT") && (e$8.recoverable = false), super.warn(s$9, i$9, e$8);
|
|
31041
31033
|
}
|
|
31042
31034
|
[A$2]() {
|
|
31043
|
-
this[P$
|
|
31035
|
+
this[P$6] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
|
|
31044
31036
|
}
|
|
31045
31037
|
[j$6](s$9) {
|
|
31046
31038
|
const i$9 = l$3(s$9.path), e$8 = i$9.split("/");
|
|
@@ -31220,7 +31212,7 @@ function Os() {
|
|
|
31220
31212
|
this[m$5](h$6, s$9), e$8();
|
|
31221
31213
|
return;
|
|
31222
31214
|
}
|
|
31223
|
-
this[g$
|
|
31215
|
+
this[g$5] = true, o$7();
|
|
31224
31216
|
});
|
|
31225
31217
|
}, o$7 = () => {
|
|
31226
31218
|
if (s$9.absolute !== this.cwd) {
|
|
@@ -31252,7 +31244,7 @@ function Os() {
|
|
|
31252
31244
|
as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
|
|
31253
31245
|
});
|
|
31254
31246
|
};
|
|
31255
|
-
this[g$
|
|
31247
|
+
this[g$5] ? o$7() : t$9();
|
|
31256
31248
|
}
|
|
31257
31249
|
[d$5](s$9, i$9, e$8) {
|
|
31258
31250
|
if (s$9) {
|
|
@@ -31287,10 +31279,10 @@ function Os() {
|
|
|
31287
31279
|
return super[d$5](s$9, i$9, () => {});
|
|
31288
31280
|
}
|
|
31289
31281
|
[q$6](s$9) {
|
|
31290
|
-
if (this[v$5](s$9), !this[g$
|
|
31282
|
+
if (this[v$5](s$9), !this[g$5]) {
|
|
31291
31283
|
const o$7 = this[b$11](this.cwd, this.dmode);
|
|
31292
31284
|
if (o$7) return this[m$5](o$7, s$9);
|
|
31293
|
-
this[g$
|
|
31285
|
+
this[g$5] = true;
|
|
31294
31286
|
}
|
|
31295
31287
|
if (s$9.absolute !== this.cwd) {
|
|
31296
31288
|
const o$7 = l$3(w$7.dirname(s$9.absolute));
|
|
@@ -44512,7 +44504,7 @@ function typesPlugin(_fork) {
|
|
|
44512
44504
|
return type;
|
|
44513
44505
|
}
|
|
44514
44506
|
const isString$2 = defBuiltInType("string", "truthy");
|
|
44515
|
-
const isFunction$
|
|
44507
|
+
const isFunction$5 = defBuiltInType("function", function() {});
|
|
44516
44508
|
const isArray$4$1 = defBuiltInType("array", []);
|
|
44517
44509
|
const isObject$4$1 = defBuiltInType("object", {});
|
|
44518
44510
|
const isRegExp = defBuiltInType("RegExp", /./);
|
|
@@ -44523,7 +44515,7 @@ function typesPlugin(_fork) {
|
|
|
44523
44515
|
const isUndefined = defBuiltInType("undefined", void 0);
|
|
44524
44516
|
const builtInTypes$1 = {
|
|
44525
44517
|
string: isString$2,
|
|
44526
|
-
function: isFunction$
|
|
44518
|
+
function: isFunction$5,
|
|
44527
44519
|
array: isArray$4$1,
|
|
44528
44520
|
object: isObject$4$1,
|
|
44529
44521
|
RegExp: isRegExp,
|
|
@@ -44682,7 +44674,7 @@ function typesPlugin(_fork) {
|
|
|
44682
44674
|
var old = nodePrototype[name];
|
|
44683
44675
|
if (isUndefined.check(func)) delete nodePrototype[name];
|
|
44684
44676
|
else {
|
|
44685
|
-
isFunction$
|
|
44677
|
+
isFunction$5.assert(func);
|
|
44686
44678
|
Object.defineProperty(nodePrototype, name, {
|
|
44687
44679
|
enumerable: true,
|
|
44688
44680
|
configurable: true,
|
|
@@ -45467,7 +45459,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45467
45459
|
var NodePath$1 = fork.use(nodePathPlugin);
|
|
45468
45460
|
var isArray$4$1 = types$1.builtInTypes.array;
|
|
45469
45461
|
var isObject$4$1 = types$1.builtInTypes.object;
|
|
45470
|
-
var isFunction$
|
|
45462
|
+
var isFunction$5 = types$1.builtInTypes.function;
|
|
45471
45463
|
var undefined$1;
|
|
45472
45464
|
const PathVisitor$1 = function PathVisitor$2() {
|
|
45473
45465
|
if (!(this instanceof PathVisitor$2)) throw new Error("PathVisitor constructor cannot be invoked without 'new'");
|
|
@@ -45488,7 +45480,7 @@ function pathVisitorPlugin(fork) {
|
|
|
45488
45480
|
for (var i$9 = 0; i$9 < typeNameCount; ++i$9) {
|
|
45489
45481
|
var typeName = typeNameKeys[i$9];
|
|
45490
45482
|
methodName = "visit" + supertypeTable[typeName];
|
|
45491
|
-
if (isFunction$
|
|
45483
|
+
if (isFunction$5.check(visitor[methodName])) methodNameTable[typeName] = methodName;
|
|
45492
45484
|
}
|
|
45493
45485
|
return methodNameTable;
|
|
45494
45486
|
}
|
|
@@ -45503,8 +45495,8 @@ function pathVisitorPlugin(fork) {
|
|
|
45503
45495
|
Vp.constructor = Visitor;
|
|
45504
45496
|
extend(Vp, methods);
|
|
45505
45497
|
extend(Visitor, PathVisitor$1);
|
|
45506
|
-
isFunction$
|
|
45507
|
-
isFunction$
|
|
45498
|
+
isFunction$5.assert(Visitor.fromMethodsObject);
|
|
45499
|
+
isFunction$5.assert(Visitor.visit);
|
|
45508
45500
|
return new Visitor();
|
|
45509
45501
|
};
|
|
45510
45502
|
function extend(target, source) {
|
|
@@ -46683,7 +46675,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
46683
46675
|
* @param aRoot The root path or URL.
|
|
46684
46676
|
* @param aPath The path or URL to be made relative to aRoot.
|
|
46685
46677
|
*/
|
|
46686
|
-
function relative$
|
|
46678
|
+
function relative$2(aRoot, aPath) {
|
|
46687
46679
|
if (aRoot === "") aRoot = ".";
|
|
46688
46680
|
aRoot = aRoot.replace(/\/$/, "");
|
|
46689
46681
|
var level = 0;
|
|
@@ -46696,7 +46688,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
46696
46688
|
}
|
|
46697
46689
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
46698
46690
|
}
|
|
46699
|
-
exports$1.relative = relative$
|
|
46691
|
+
exports$1.relative = relative$2;
|
|
46700
46692
|
var supportsNullProto = function() {
|
|
46701
46693
|
return !("__proto__" in Object.create(null));
|
|
46702
46694
|
}();
|
|
@@ -52684,6 +52676,30 @@ export default withNuxt(
|
|
|
52684
52676
|
`;
|
|
52685
52677
|
}
|
|
52686
52678
|
|
|
52679
|
+
//#endregion
|
|
52680
|
+
//#region ../shared/src/utils/magicast.ts
|
|
52681
|
+
/**
|
|
52682
|
+
* Adds a statement to a function body using AST manipulation.
|
|
52683
|
+
* magicast's $body.push() doesn't work for function-expression types,
|
|
52684
|
+
* so we need to manipulate the AST directly.
|
|
52685
|
+
*/
|
|
52686
|
+
function addStatementToFunctionBody(fn$1, statement) {
|
|
52687
|
+
if (!fn$1 || !fn$1.$ast?.body?.body) return false;
|
|
52688
|
+
const newStatement = {
|
|
52689
|
+
type: "ExpressionStatement",
|
|
52690
|
+
expression: parseExpression(statement).$ast,
|
|
52691
|
+
loc: null
|
|
52692
|
+
};
|
|
52693
|
+
fn$1.$ast.body.body.push(newStatement);
|
|
52694
|
+
return true;
|
|
52695
|
+
}
|
|
52696
|
+
/**
|
|
52697
|
+
* Checks if the export is a function (either 'function' or 'function-expression')
|
|
52698
|
+
*/
|
|
52699
|
+
function isFunction(fn$1) {
|
|
52700
|
+
return fn$1 && (fn$1.$type === "function" || fn$1.$type === "function-expression");
|
|
52701
|
+
}
|
|
52702
|
+
|
|
52687
52703
|
//#endregion
|
|
52688
52704
|
//#region ../shared/src/features/i18n.ts
|
|
52689
52705
|
const i18n$1 = {
|
|
@@ -52699,7 +52715,10 @@ const i18n$1 = {
|
|
|
52699
52715
|
if (options$1) {
|
|
52700
52716
|
options$1.modules ||= [];
|
|
52701
52717
|
options$1.modules.push("@nuxtjs/i18n");
|
|
52702
|
-
options$1.i18n = {
|
|
52718
|
+
options$1.i18n = {
|
|
52719
|
+
defaultLocale: "en",
|
|
52720
|
+
vueI18n: "./i18n.config.ts"
|
|
52721
|
+
};
|
|
52703
52722
|
}
|
|
52704
52723
|
await writeFile(configPath, mod.generate().code);
|
|
52705
52724
|
await writeFile(join(cwd$2, `i18n.config.${ext}`), getNuxtI18nConfig(isTypescript));
|
|
@@ -52717,7 +52736,7 @@ const i18n$1 = {
|
|
|
52717
52736
|
local: "i18n"
|
|
52718
52737
|
});
|
|
52719
52738
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52720
|
-
if (registerPlugins
|
|
52739
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(i18n)");
|
|
52721
52740
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52722
52741
|
}
|
|
52723
52742
|
}
|
|
@@ -52838,7 +52857,7 @@ const pinia = {
|
|
|
52838
52857
|
imported: "createPinia"
|
|
52839
52858
|
});
|
|
52840
52859
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52841
|
-
if (registerPlugins
|
|
52860
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(createPinia())");
|
|
52842
52861
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52843
52862
|
}
|
|
52844
52863
|
}
|
|
@@ -52857,8 +52876,8 @@ export const useAppStore = defineStore('app', {
|
|
|
52857
52876
|
|
|
52858
52877
|
//#endregion
|
|
52859
52878
|
//#region ../shared/src/utils/installFeature.ts
|
|
52860
|
-
async function installFeature(feature, cwd$2) {
|
|
52861
|
-
const templateName =
|
|
52879
|
+
async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
52880
|
+
const templateName = `${type === "vuetify0" ? "vuetify0" : "vue"}/${feature}`;
|
|
52862
52881
|
if (process.env.VUETIFY_CLI_TEMPLATES_PATH) {
|
|
52863
52882
|
const templatePath = join(process.env.VUETIFY_CLI_TEMPLATES_PATH, templateName);
|
|
52864
52883
|
if (existsSync(templatePath)) cpSync(templatePath, cwd$2, { recursive: true });
|
|
@@ -52880,8 +52899,8 @@ async function installFeature(feature, cwd$2) {
|
|
|
52880
52899
|
//#region ../shared/src/features/router.ts
|
|
52881
52900
|
const router = {
|
|
52882
52901
|
name: "router",
|
|
52883
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52884
|
-
await installFeature("router", cwd$2);
|
|
52902
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52903
|
+
await installFeature("router", cwd$2, type);
|
|
52885
52904
|
const ext = isTypescript ? "ts" : "js";
|
|
52886
52905
|
pkg.dependencies = pkg.dependencies || {};
|
|
52887
52906
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52896,14 +52915,14 @@ const router = {
|
|
|
52896
52915
|
local: "router"
|
|
52897
52916
|
});
|
|
52898
52917
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52899
|
-
if (registerPlugins
|
|
52918
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52900
52919
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52901
52920
|
}
|
|
52902
52921
|
};
|
|
52903
52922
|
const fileRouter = {
|
|
52904
52923
|
name: "file-router",
|
|
52905
|
-
apply: async ({ cwd: cwd$2, pkg, isTypescript }) => {
|
|
52906
|
-
await installFeature("file-router", cwd$2);
|
|
52924
|
+
apply: async ({ cwd: cwd$2, pkg, isTypescript, type }) => {
|
|
52925
|
+
await installFeature("file-router", cwd$2, type);
|
|
52907
52926
|
const ext = isTypescript ? "ts" : "js";
|
|
52908
52927
|
pkg.dependencies = pkg.dependencies || {};
|
|
52909
52928
|
pkg.dependencies["vue-router"] = dependencies["vue-router"];
|
|
@@ -52920,7 +52939,7 @@ const fileRouter = {
|
|
|
52920
52939
|
local: "router"
|
|
52921
52940
|
});
|
|
52922
52941
|
const registerPlugins = mod.exports.registerPlugins;
|
|
52923
|
-
if (registerPlugins
|
|
52942
|
+
if (isFunction(registerPlugins)) addStatementToFunctionBody(registerPlugins, "app.use(router)");
|
|
52924
52943
|
await writeFile(pluginsPath, mod.generate().code);
|
|
52925
52944
|
const viteConfigPath = join(cwd$2, `vite.config.m${ext}`);
|
|
52926
52945
|
if (existsSync(viteConfigPath)) {
|
|
@@ -52948,7 +52967,7 @@ import { createRouter, createWebHistory } from 'vue-router'
|
|
|
52948
52967
|
import Index from '@/pages/index.vue'
|
|
52949
52968
|
|
|
52950
52969
|
const router = createRouter({
|
|
52951
|
-
history: createWebHistory(
|
|
52970
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
52952
52971
|
routes: [
|
|
52953
52972
|
{
|
|
52954
52973
|
path: '/',
|
|
@@ -52968,10 +52987,12 @@ function getFileRouterContent(ts) {
|
|
|
52968
52987
|
*/
|
|
52969
52988
|
|
|
52970
52989
|
// Composables
|
|
52971
|
-
import { createRouter, createWebHistory } from 'vue-router
|
|
52990
|
+
import { createRouter, createWebHistory } from 'vue-router'
|
|
52991
|
+
import { routes } from 'vue-router/auto-routes'
|
|
52972
52992
|
|
|
52973
52993
|
const router = createRouter({
|
|
52974
|
-
history: createWebHistory(
|
|
52994
|
+
history: createWebHistory(import.meta.env.BASE_URL),
|
|
52995
|
+
routes,
|
|
52975
52996
|
})
|
|
52976
52997
|
|
|
52977
52998
|
export default router
|
|
@@ -53021,14 +53042,15 @@ const features = {
|
|
|
53021
53042
|
mcp,
|
|
53022
53043
|
"vuetify-nuxt-module": vuetifyNuxtModule
|
|
53023
53044
|
};
|
|
53024
|
-
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints) {
|
|
53045
|
+
async function applyFeatures(cwd$2, featureNames, pkg, isTypescript, clientHints, type) {
|
|
53025
53046
|
for (const name of featureNames) {
|
|
53026
53047
|
const feature = features[name];
|
|
53027
53048
|
if (feature) await feature.apply({
|
|
53028
53049
|
cwd: cwd$2,
|
|
53029
53050
|
pkg,
|
|
53030
53051
|
isTypescript,
|
|
53031
|
-
clientHints
|
|
53052
|
+
clientHints,
|
|
53053
|
+
type
|
|
53032
53054
|
});
|
|
53033
53055
|
}
|
|
53034
53056
|
}
|
|
@@ -53235,8 +53257,8 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
53235
53257
|
let pkg;
|
|
53236
53258
|
pkg = await readPackageJSON(join(projectRoot, "package.json"));
|
|
53237
53259
|
callbacks.onConfigStart?.();
|
|
53238
|
-
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints);
|
|
53239
|
-
if (platform$1 === "nuxt" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53260
|
+
if (features$1 && features$1.length > 0) await applyFeatures(projectRoot, features$1, pkg, !!typescript$1, clientHints, type);
|
|
53261
|
+
if (platform$1 === "nuxt" && type !== "vuetify0" && (!features$1 || !features$1.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
53240
53262
|
cwd: projectRoot,
|
|
53241
53263
|
pkg,
|
|
53242
53264
|
isTypescript: !!typescript$1
|
|
@@ -53317,8 +53339,8 @@ async function createVuetify(options$1) {
|
|
|
53317
53339
|
onConvertEnd: () => {
|
|
53318
53340
|
s$9.stop(i18n.t("spinners.convert.done"));
|
|
53319
53341
|
},
|
|
53320
|
-
onInstallStart: (pm) => {
|
|
53321
|
-
s$9.start(i18n.t("spinners.dependencies.installing_with", { pm }));
|
|
53342
|
+
onInstallStart: (pm$1) => {
|
|
53343
|
+
s$9.start(i18n.t("spinners.dependencies.installing_with", { pm: pm$1 }));
|
|
53322
53344
|
},
|
|
53323
53345
|
onInstallEnd: () => {
|
|
53324
53346
|
s$9.stop(i18n.t("spinners.dependencies.installed"));
|
|
@@ -53329,10 +53351,19 @@ async function createVuetify(options$1) {
|
|
|
53329
53351
|
console.error(`Failed to create project: ${error}`);
|
|
53330
53352
|
throw error;
|
|
53331
53353
|
}
|
|
53354
|
+
const relativePath = relative(cwd$2, projectRoot);
|
|
53355
|
+
const pm = (context.packageManager === "none" ? getUserAgent() : context.packageManager) || "npm";
|
|
53356
|
+
const lines = [];
|
|
53357
|
+
if (relativePath) lines.push(`cd ${relativePath}`);
|
|
53358
|
+
if (!context.install) lines.push(`${pm} install`);
|
|
53359
|
+
lines.push(`${pm} ${pm === "npm" ? "run " : ""}dev`);
|
|
53332
53360
|
Wt(i18n.t("messages.create.generated", {
|
|
53333
53361
|
name: context.name,
|
|
53334
|
-
path:
|
|
53362
|
+
path: relativePath
|
|
53335
53363
|
}));
|
|
53364
|
+
Tt(lines.join("\n"), "Next steps", { withGuide: false });
|
|
53365
|
+
const blue$4 = ansi256(33);
|
|
53366
|
+
console.log(`${blue$4(link("Docs", "https://0.vuetifyjs.com/guide"))} ⸱ ${blue$4(link("Discord", "https://discord.gg/vK6T89eNP7"))} ⸱ ${blue$4(link("Support Us", "https://opencollective.com/vuetify"))}\n`);
|
|
53336
53367
|
}
|
|
53337
53368
|
|
|
53338
53369
|
//#endregion
|
|
@@ -53396,10 +53427,6 @@ const LINKS = {
|
|
|
53396
53427
|
[ESLINT_CONFIG]: link(ESLINT_CONFIG, "https://npmjs.org/package/eslint-config-vuetify"),
|
|
53397
53428
|
[NUXT_ESLINT]: link(NUXT_ESLINT, "https://npmjs.org/package/@nuxt/eslint")
|
|
53398
53429
|
};
|
|
53399
|
-
const configData = `import vuetify from 'eslint-config-vuetify'
|
|
53400
|
-
|
|
53401
|
-
export default vuetify()
|
|
53402
|
-
`;
|
|
53403
53430
|
|
|
53404
53431
|
//#endregion
|
|
53405
53432
|
//#region ../shared/src/functions/eslint.ts
|
|
@@ -53470,7 +53497,7 @@ async function addEslint() {
|
|
|
53470
53497
|
Nt(description$1);
|
|
53471
53498
|
const status = await getEslintStatus();
|
|
53472
53499
|
const { packagesToInstall, packagesToUpgrade, isEslintSupportsConcurrency, isNuxt, nuxtConfigUrl } = status;
|
|
53473
|
-
tryResolveFilePath("tsconfig.json");
|
|
53500
|
+
const isTypescript = !!tryResolveFilePath("tsconfig.json");
|
|
53474
53501
|
const configUrl = tryResolveFilePath("./eslint.config", { extensions: [
|
|
53475
53502
|
".js",
|
|
53476
53503
|
".mjs",
|
|
@@ -53505,8 +53532,9 @@ async function addEslint() {
|
|
|
53505
53532
|
}
|
|
53506
53533
|
}
|
|
53507
53534
|
let overwriteConfig = false;
|
|
53508
|
-
overwriteConfig = await (configUrl ? Mt({ message: i18n.t("prompts.eslint.overwrite", { file: underline(relative(process.cwd(), configUrl)) }) }) : Mt({ message: i18n.t("prompts.eslint.create") }));
|
|
53535
|
+
overwriteConfig = await (configUrl ? Mt({ message: i18n.t("prompts.eslint.overwrite", { file: underline(relative$1(process.cwd(), configUrl)) }) }) : Mt({ message: i18n.t("prompts.eslint.create") }));
|
|
53509
53536
|
if (overwriteConfig === true) {
|
|
53537
|
+
const configData = isNuxt ? getNuxtEslintContent(isTypescript) : getVueEslintContent(isTypescript);
|
|
53510
53538
|
const s$9 = Se();
|
|
53511
53539
|
s$9.start(i18n.t("spinners.eslint.setup_config"));
|
|
53512
53540
|
await writeFile(configUrl ?? "eslint.config.mjs", configData);
|
|
@@ -53723,51 +53751,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
|
|
|
53723
53751
|
//#endregion
|
|
53724
53752
|
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
53725
53753
|
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
53726
|
-
const isWindows =
|
|
53754
|
+
const isWindows = g$1.platform === "win32";
|
|
53727
53755
|
const readRc = (filePath) => {
|
|
53728
53756
|
try {
|
|
53729
53757
|
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
53730
53758
|
} catch {}
|
|
53731
53759
|
};
|
|
53732
|
-
const getEnvNpmPrefix = () => Object.keys(
|
|
53760
|
+
const getEnvNpmPrefix = () => Object.keys(g$1.env).reduce((prefix$1, name) => /^npm_config_prefix$/i.test(name) ? g$1.env[name] : prefix$1, void 0);
|
|
53733
53761
|
const getGlobalNpmrc = () => {
|
|
53734
|
-
if (isWindows &&
|
|
53735
|
-
if (
|
|
53736
|
-
const homebrewPrefix =
|
|
53762
|
+
if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
|
|
53763
|
+
if (g$1.execPath.includes("/Cellar/node")) {
|
|
53764
|
+
const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
|
|
53737
53765
|
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
53738
53766
|
}
|
|
53739
|
-
if (
|
|
53740
|
-
const installDir = path.dirname(path.dirname(
|
|
53767
|
+
if (g$1.execPath.endsWith("/bin/node")) {
|
|
53768
|
+
const installDir = path.dirname(path.dirname(g$1.execPath));
|
|
53741
53769
|
return path.join(installDir, "/etc/npmrc");
|
|
53742
53770
|
}
|
|
53743
53771
|
};
|
|
53744
53772
|
const getDefaultNpmPrefix = () => {
|
|
53745
53773
|
if (isWindows) {
|
|
53746
|
-
const { APPDATA } =
|
|
53747
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(
|
|
53774
|
+
const { APPDATA } = g$1.env;
|
|
53775
|
+
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
|
|
53748
53776
|
}
|
|
53749
|
-
return path.dirname(path.dirname(
|
|
53777
|
+
return path.dirname(path.dirname(g$1.execPath));
|
|
53750
53778
|
};
|
|
53751
53779
|
const getNpmPrefix = () => {
|
|
53752
53780
|
const envPrefix = getEnvNpmPrefix();
|
|
53753
53781
|
if (envPrefix) return envPrefix;
|
|
53754
53782
|
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
53755
53783
|
if (homePrefix) return homePrefix;
|
|
53756
|
-
if (
|
|
53784
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
53757
53785
|
const globalPrefix = readRc(getGlobalNpmrc());
|
|
53758
53786
|
if (globalPrefix) return globalPrefix;
|
|
53759
53787
|
return getDefaultNpmPrefix();
|
|
53760
53788
|
};
|
|
53761
53789
|
const npmPrefix = path.resolve(getNpmPrefix());
|
|
53762
53790
|
const getYarnWindowsDirectory = () => {
|
|
53763
|
-
if (isWindows &&
|
|
53764
|
-
const dir = path.join(
|
|
53791
|
+
if (isWindows && g$1.env.LOCALAPPDATA) {
|
|
53792
|
+
const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
|
|
53765
53793
|
if (fs.existsSync(dir)) return dir;
|
|
53766
53794
|
}
|
|
53767
53795
|
return false;
|
|
53768
53796
|
};
|
|
53769
53797
|
const getYarnPrefix = () => {
|
|
53770
|
-
if (
|
|
53798
|
+
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
53771
53799
|
const windowsPrefix = getYarnWindowsDirectory();
|
|
53772
53800
|
if (windowsPrefix) return windowsPrefix;
|
|
53773
53801
|
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
@@ -55451,7 +55479,7 @@ function commandUpgradeFabric(pkgName) {
|
|
|
55451
55479
|
|
|
55452
55480
|
//#endregion
|
|
55453
55481
|
//#region package.json
|
|
55454
|
-
var version = "0.0.
|
|
55482
|
+
var version = "0.0.10-beta.11";
|
|
55455
55483
|
|
|
55456
55484
|
//#endregion
|
|
55457
55485
|
//#region src/commands/upgrade.ts
|
|
@@ -55491,8 +55519,7 @@ const main = defineCommand({
|
|
|
55491
55519
|
},
|
|
55492
55520
|
platform: {
|
|
55493
55521
|
type: "string",
|
|
55494
|
-
description: "The framework to use (vue, nuxt)"
|
|
55495
|
-
default: "vue"
|
|
55522
|
+
description: "The framework to use (vue, nuxt)"
|
|
55496
55523
|
}
|
|
55497
55524
|
},
|
|
55498
55525
|
run: async ({ args: args$2 }) => {
|