create-vuetify0 0.0.8 → 0.0.9

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 CHANGED
@@ -1,7 +1,7 @@
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 g$1, { cwd, stdin, stdout } from "node:process";
4
+ import P, { 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";
@@ -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 from "buffer";
19
+ import P$1 from "buffer";
20
20
  import O$2 from "zlib";
21
21
  import nt$1 from "process";
22
22
  import V from "fs";
@@ -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$6 = BigNumber$1.prototype = {
4394
+ var div, convertBase, parseNumeric, P$7 = 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$6.absoluteValue = P$6.abs = function() {
5033
+ P$7.absoluteValue = P$7.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$6.comparedTo = function(y$7, b$11) {
5038
+ P$7.comparedTo = function(y$7, b$11) {
5039
5039
  return compare$12(this, new BigNumber$1(y$7, b$11));
5040
5040
  };
5041
- P$6.decimalPlaces = P$6.dp = function(dp, rm$1) {
5041
+ P$7.decimalPlaces = P$7.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$6.dividedBy = P$6.div = function(y$7, b$11) {
5055
+ P$7.dividedBy = P$7.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$6.dividedToIntegerBy = P$6.idiv = function(y$7, b$11) {
5058
+ P$7.dividedToIntegerBy = P$7.idiv = function(y$7, b$11) {
5059
5059
  return div(this, new BigNumber$1(y$7, b$11), 0, 1);
5060
5060
  };
5061
- P$6.exponentiatedBy = P$6.pow = function(n$6, m$5) {
5061
+ P$7.exponentiatedBy = P$7.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$6.integerValue = function(rm$1) {
5121
+ P$7.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$6.isEqualTo = P$6.eq = function(y$7, b$11) {
5127
+ P$7.isEqualTo = P$7.eq = function(y$7, b$11) {
5128
5128
  return compare$12(this, new BigNumber$1(y$7, b$11)) === 0;
5129
5129
  };
5130
- P$6.isFinite = function() {
5130
+ P$7.isFinite = function() {
5131
5131
  return !!this.c;
5132
5132
  };
5133
- P$6.isGreaterThan = P$6.gt = function(y$7, b$11) {
5133
+ P$7.isGreaterThan = P$7.gt = function(y$7, b$11) {
5134
5134
  return compare$12(this, new BigNumber$1(y$7, b$11)) > 0;
5135
5135
  };
5136
- P$6.isGreaterThanOrEqualTo = P$6.gte = function(y$7, b$11) {
5136
+ P$7.isGreaterThanOrEqualTo = P$7.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$6.isInteger = function() {
5139
+ P$7.isInteger = function() {
5140
5140
  return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
5141
5141
  };
5142
- P$6.isLessThan = P$6.lt = function(y$7, b$11) {
5142
+ P$7.isLessThan = P$7.lt = function(y$7, b$11) {
5143
5143
  return compare$12(this, new BigNumber$1(y$7, b$11)) < 0;
5144
5144
  };
5145
- P$6.isLessThanOrEqualTo = P$6.lte = function(y$7, b$11) {
5145
+ P$7.isLessThanOrEqualTo = P$7.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$6.isNaN = function() {
5148
+ P$7.isNaN = function() {
5149
5149
  return !this.s;
5150
5150
  };
5151
- P$6.isNegative = function() {
5151
+ P$7.isNegative = function() {
5152
5152
  return this.s < 0;
5153
5153
  };
5154
- P$6.isPositive = function() {
5154
+ P$7.isPositive = function() {
5155
5155
  return this.s > 0;
5156
5156
  };
5157
- P$6.isZero = function() {
5157
+ P$7.isZero = function() {
5158
5158
  return !!this.c && this.c[0] == 0;
5159
5159
  };
5160
- P$6.minus = function(y$7, b$11) {
5160
+ P$7.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$6.modulo = P$6.mod = function(y$7, b$11) {
5220
+ P$7.modulo = P$7.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$6.multipliedBy = P$6.times = function(y$7, b$11) {
5236
+ P$7.multipliedBy = P$7.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$6.negated = function() {
5283
+ P$7.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$6.plus = function(y$7, b$11) {
5288
+ P$7.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$6.precision = P$6.sd = function(sd, rm$1) {
5335
+ P$7.precision = P$7.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$6.shiftedBy = function(k$6) {
5353
+ P$7.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$6.squareRoot = P$6.sqrt = function() {
5357
+ P$7.squareRoot = P$7.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$6.toExponential = function(dp, rm$1) {
5406
+ P$7.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$6.toFixed = function(dp, rm$1) {
5413
+ P$7.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$6.toFormat = function(dp, rm$1, format$2) {
5420
+ P$7.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$6.toFraction = function(md) {
5450
+ P$7.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$6.toNumber = function() {
5488
+ P$7.toNumber = function() {
5489
5489
  return +valueOf(this);
5490
5490
  };
5491
- P$6.toPrecision = function(sd, rm$1) {
5491
+ P$7.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$6.toString = function(b$11) {
5495
+ P$7.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$6.valueOf = P$6.toJSON = function() {
5514
+ P$7.valueOf = P$7.toJSON = function() {
5515
5515
  return valueOf(this);
5516
5516
  };
5517
- P$6._isBigNumber = true;
5517
+ P$7._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$6, generator) {
7825
+ var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P$7, generator) {
7826
7826
  function adopt(value) {
7827
- return value instanceof P$6 ? value : new P$6(function(resolve$2) {
7827
+ return value instanceof P$7 ? value : new P$7(function(resolve$2) {
7828
7828
  resolve$2(value);
7829
7829
  });
7830
7830
  }
7831
- return new (P$6 || (P$6 = Promise))(function(resolve$2, reject) {
7831
+ return new (P$7 || (P$7 = Promise))(function(resolve$2, reject) {
7832
7832
  function fulfilled(value) {
7833
7833
  try {
7834
7834
  step(generator.next(value));
@@ -8233,6 +8233,12 @@ var en_default = {
8233
8233
  "current": "Currently",
8234
8234
  "need_to": "We need to %{actions}."
8235
8235
  },
8236
+ "mcp": {
8237
+ "description": "Install %{pkg} to enable MCP integration with Vuetify.",
8238
+ "action": { "install": "install %{pkg}" },
8239
+ "current": "Currently",
8240
+ "need_to": "We need to %{action}."
8241
+ },
8236
8242
  "init": {
8237
8243
  "v0": "Initialize a Vuetify0 project",
8238
8244
  "description": "Initialize a Vuetify project",
@@ -8290,6 +8296,11 @@ var en_default = {
8290
8296
  "create": "No ESLint config found. Do you want to create one?",
8291
8297
  "scripts": "Do you want to add lint scripts to package.json?"
8292
8298
  },
8299
+ "mcp": {
8300
+ "overwrite": "Found %{file}. Overwrite?",
8301
+ "create": "Create Ruler config files?",
8302
+ "scripts": "Add mcp scripts to package.json?"
8303
+ },
8293
8304
  "directory": {
8294
8305
  "name": "Project name",
8295
8306
  "overwrite": "Directory \"%{dir}\" already exists. Do you want to overwrite it?",
@@ -8372,6 +8383,10 @@ var en_default = {
8372
8383
  "eslint": {
8373
8384
  "setup_config": "Setting up ESLint config...",
8374
8385
  "complete": "ESLint config setup complete!"
8386
+ },
8387
+ "mcp": {
8388
+ "setup_config": "Setting up Ruler config...",
8389
+ "complete": "Ruler setup complete"
8375
8390
  }
8376
8391
  },
8377
8392
  messages: {
@@ -8424,6 +8439,12 @@ var ru_default = {
8424
8439
  "current": "Сейчас",
8425
8440
  "need_to": "Нужно %{actions}."
8426
8441
  },
8442
+ "mcp": {
8443
+ "description": "Установим %{configPkg}, чтобы включить интеграцию MCP с Vuetify.",
8444
+ "action": { "install": "установить %{pkgs}" },
8445
+ "current": "Сейчас",
8446
+ "need_to": "Нужно %{actions}."
8447
+ },
8427
8448
  "init": {
8428
8449
  "v0": "Инициализировать проект Vuetify0",
8429
8450
  "description": "Инициализировать проект Vuetify",
@@ -8777,11 +8798,11 @@ var require_src = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/siste
8777
8798
  //#region ../../node_modules/.pnpm/@clack+core@1.0.0-alpha.7/node_modules/@clack/core/dist/index.mjs
8778
8799
  var import_picocolors$1 = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
8779
8800
  var import_src$1 = require_src();
8780
- 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 = {
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$6 = /[\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 = {
8781
8802
  limit: Infinity,
8782
8803
  ellipsis: ""
8783
8804
  }, X$3 = (t$9, e$8 = {}, s$9 = {}) => {
8784
- 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;
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$4 = s$9.emojiWidth ?? 2, m$5 = s$9.fullWidthWidth ?? 2, A$2 = s$9.regularWidth ?? 1, V$4 = s$9.wideWidth ?? 2;
8785
8806
  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;
8786
8807
  t: for (;;) {
8787
8808
  if (B$2 > C$5 || u$8 >= f$7 && u$8 > h$6) {
@@ -8830,12 +8851,12 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
8830
8851
  c$8 += F$6, C$5 = h$6, B$2 = u$8, u$8 = h$6 = M$4.lastIndex;
8831
8852
  continue;
8832
8853
  }
8833
- if (P$5.lastIndex = u$8, P$5.test(t$9)) {
8834
- if (c$8 + g$5 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$5 > i$9) {
8854
+ if (P$6.lastIndex = u$8, P$6.test(t$9)) {
8855
+ if (c$8 + g$4 > b$11 && (d$5 = Math.min(d$5, u$8)), c$8 + g$4 > i$9) {
8835
8856
  p$3 = !0;
8836
8857
  break;
8837
8858
  }
8838
- c$8 += g$5, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$5.lastIndex;
8859
+ c$8 += g$4, C$5 = h$6, B$2 = u$8, u$8 = h$6 = P$6.lastIndex;
8839
8860
  continue;
8840
8861
  }
8841
8862
  u$8 += 1;
@@ -8862,10 +8883,10 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
8862
8883
  if (t$9 === 0) return 0;
8863
8884
  }, 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) => {
8864
8885
  const i$9 = e$8[Symbol.iterator]();
8865
- 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;
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$4 = 0;
8866
8887
  for (; !l$3.done;) {
8867
8888
  const m$5 = l$3.value, A$2 = S$6(m$5);
8868
- 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;
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$4 + 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$4 += m$5.length;
8869
8890
  }
8870
8891
  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());
8871
8892
  }, vt$1 = (t$9) => {
@@ -8901,8 +8922,8 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
8901
8922
  }
8902
8923
  s$9.trim !== !1 && (l$3 = l$3.map((h$6) => vt$1(h$6)));
8903
8924
  const E$5 = l$3.join(`
8904
- `), g$5 = E$5[Symbol.iterator]();
8905
- let m$5 = g$5.next(), A$2 = g$5.next(), V$4 = 0;
8925
+ `), g$4 = E$5[Symbol.iterator]();
8926
+ let m$5 = g$4.next(), A$2 = g$4.next(), V$4 = 0;
8906
8927
  for (; !m$5.done;) {
8907
8928
  const h$6 = m$5.value, u$8 = A$2.value;
8908
8929
  if (i$9 += h$6, h$6 === W$4 || h$6 === Z$3) {
@@ -8916,7 +8937,7 @@ const at = (t$9) => t$9 === 161 || t$9 === 164 || t$9 === 167 || t$9 === 168 ||
8916
8937
  const f$7 = r$4 ? mt$1(r$4) : void 0;
8917
8938
  u$8 === `
8918
8939
  ` ? (n$6 && (i$9 += it("")), r$4 && f$7 && (i$9 += st(f$7))) : h$6 === `
8919
- ` && (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();
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$4.next();
8920
8941
  }
8921
8942
  return i$9;
8922
8943
  };
@@ -8995,8 +9016,8 @@ function xt({ input: t$9 = stdin, output: e$8 = stdout, overwrite: s$9 = !0, hid
8995
9016
  return;
8996
9017
  }
8997
9018
  if (!s$9) return;
8998
- const g$5 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
8999
- k$5.moveCursor(e$8, g$5, m$5, () => {
9019
+ const g$4 = a$13 === "return" ? 0 : -1, m$5 = a$13 === "return" ? -1 : 0;
9020
+ k$5.moveCursor(e$8, g$4, m$5, () => {
9000
9021
  k$5.clearLine(e$8, 1, () => {
9001
9022
  t$9.once("keypress", n$6);
9002
9023
  });
@@ -9435,7 +9456,7 @@ var $t = class extends x$4 {
9435
9456
  var import_picocolors = /* @__PURE__ */ __toESM$1(require_picocolors(), 1);
9436
9457
  var import_src = require_src();
9437
9458
  function ht$1() {
9438
- 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";
9459
+ return P.platform !== "win32" ? P.env.TERM !== "linux" : !!P.env.CI || !!P.env.WT_SESSION || !!P.env.TERMINUS_SUBLIME || P.env.ConEmuTask === "{cmd::Cmder}" || P.env.TERM_PROGRAM === "Terminus-Sublime" || P.env.TERM_PROGRAM === "vscode" || P.env.TERM === "xterm-256color" || P.env.TERM === "alacritty" || P.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
9439
9460
  }
9440
9461
  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) => {
9441
9462
  switch (e$8) {
@@ -9457,7 +9478,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
9457
9478
  limit: Infinity,
9458
9479
  ellipsis: ""
9459
9480
  }, Le$1 = (e$8, r$4 = {}, s$9 = {}) => {
9460
- 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;
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$4 = s$9.emojiWidth ?? 2, E$5 = s$9.fullWidthWidth ?? 2, p$3 = s$9.regularWidth ?? 1, y$7 = s$9.wideWidth ?? 2;
9461
9482
  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;
9462
9483
  e: for (;;) {
9463
9484
  if (b$11 > B$2 || m$5 >= d$5 && m$5 > $$2) {
@@ -9507,11 +9528,11 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
9507
9528
  continue;
9508
9529
  }
9509
9530
  if (Ae$1.lastIndex = m$5, Ae$1.test(e$8)) {
9510
- if (A$2 + g$5 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$5 > i$9) {
9531
+ if (A$2 + g$4 > I$4 && (v$5 = Math.min(v$5, m$5)), A$2 + g$4 > i$9) {
9511
9532
  f$7 = !0;
9512
9533
  break;
9513
9534
  }
9514
- A$2 += g$5, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
9535
+ A$2 += g$4, B$2 = $$2, b$11 = m$5, m$5 = $$2 = Ae$1.lastIndex;
9515
9536
  continue;
9516
9537
  }
9517
9538
  m$5 += 1;
@@ -9538,10 +9559,10 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
9538
9559
  if (e$8 === 0) return 0;
9539
9560
  }, 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) => {
9540
9561
  const i$9 = r$4[Symbol.iterator]();
9541
- 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;
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$4 = 0;
9542
9563
  for (; !a$13.done;) {
9543
9564
  const E$5 = a$13.value, p$3 = M$3(E$5);
9544
- 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;
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$4 + 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$4 += E$5.length;
9545
9566
  }
9546
9567
  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());
9547
9568
  }, wt = (e$8) => {
@@ -9577,8 +9598,8 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
9577
9598
  }
9578
9599
  s$9.trim !== !1 && (a$13 = a$13.map(($$2) => wt($$2)));
9579
9600
  const c$8 = a$13.join(`
9580
- `), g$5 = c$8[Symbol.iterator]();
9581
- let E$5 = g$5.next(), p$3 = g$5.next(), y$7 = 0;
9601
+ `), g$4 = c$8[Symbol.iterator]();
9602
+ let E$5 = g$4.next(), p$3 = g$4.next(), y$7 = 0;
9582
9603
  for (; !E$5.done;) {
9583
9604
  const $$2 = E$5.value, m$5 = p$3.value;
9584
9605
  if (i$9 += $$2, $$2 === ae$1 || $$2 === je$1) {
@@ -9592,7 +9613,7 @@ const ee$2 = ht$1(), ue$1 = () => process.env.CI === "true", Te$1 = (e$8) => e$8
9592
9613
  const d$5 = n$6 ? At(n$6) : void 0;
9593
9614
  m$5 === `
9594
9615
  ` ? (l$3 && (i$9 += Ue$1("")), n$6 && d$5 && (i$9 += He$1(d$5))) : $$2 === `
9595
- ` && (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();
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$4.next();
9596
9617
  }
9597
9618
  return i$9;
9598
9619
  };
@@ -9614,7 +9635,7 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
9614
9635
  removals: u$8
9615
9636
  };
9616
9637
  }, J$4 = (e$8) => {
9617
- 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);
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$4 = 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);
9618
9639
  let $$2 = 0;
9619
9640
  r$4 >= y$7 - 3 && ($$2 = Math.max(Math.min(r$4 - y$7 + 3, s$9.length - y$7), 0));
9620
9641
  let m$5 = y$7 < s$9.length && $$2 > 0, d$5 = y$7 < s$9.length && $$2 + y$7 < s$9.length;
@@ -9636,9 +9657,9 @@ const St = (e$8, r$4, s$9, i$9, n$6) => {
9636
9657
  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));
9637
9658
  }
9638
9659
  const b$11 = [];
9639
- m$5 && b$11.push(g$5);
9660
+ m$5 && b$11.push(g$4);
9640
9661
  for (const A$2 of f$7) for (const C$5 of A$2) b$11.push(C$5);
9641
- return d$5 && b$11.push(g$5), b$11;
9662
+ return d$5 && b$11.push(g$4), b$11;
9642
9663
  };
9643
9664
  function Ke(e$8) {
9644
9665
  return e$8.label ?? String(e$8.value ?? "");
@@ -9684,8 +9705,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
9684
9705
  const d$5 = u$8 ? l$3 : s$9;
9685
9706
  c$8 = d$5 !== "" ? ` ${import_picocolors.default.dim(d$5)}` : "";
9686
9707
  } else c$8 = ` ${this.userInputWithCursor}`;
9687
- 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)}`] : [];
9688
- r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$5}`, ...E$5, ...p$3);
9708
+ const g$4 = 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)}`] : [];
9709
+ r$4.push(`${o$7.trimEnd()}`, `${o$7}${import_picocolors.default.dim("Search:")}${c$8}${g$4}`, ...E$5, ...p$3);
9689
9710
  const y$7 = [
9690
9711
  `${import_picocolors.default.dim("↑/↓")} to select`,
9691
9712
  `${import_picocolors.default.dim("Enter:")} confirm`,
@@ -9713,8 +9734,8 @@ ${import_picocolors.default.gray(h$5)}${o$7}`;
9713
9734
  }
9714
9735
  }).prompt(), bt = (e$8) => {
9715
9736
  const r$4 = (i$9, n$6, l$3, u$8) => {
9716
- 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);
9717
- return n$6 ? `${g$5} ${a$13}${c$8}` : `${g$5} ${import_picocolors.default.dim(a$13)}`;
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$4 = o$7 ? import_picocolors.default.green(V$3) : import_picocolors.default.dim(z$4);
9738
+ return n$6 ? `${g$4} ${a$13}${c$8}` : `${g$4} ${import_picocolors.default.dim(a$13)}`;
9718
9739
  }, s$9 = new Vt({
9719
9740
  options: e$8.options,
9720
9741
  multiple: !0,
@@ -9734,18 +9755,18 @@ ${W$3(this.state)} ${e$8.message}
9734
9755
  case "submit": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.dim(`${this.selectedValues.length} items selected`)}`;
9735
9756
  case "cancel": return `${i$9}${import_picocolors.default.gray(h$5)} ${import_picocolors.default.strikethrough(import_picocolors.default.dim(n$6))}`;
9736
9757
  default: {
9737
- const g$5 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
9758
+ const g$4 = this.state === "error" ? import_picocolors.default.yellow : import_picocolors.default.cyan, E$5 = [
9738
9759
  `${import_picocolors.default.dim("↑/↓")} to navigate`,
9739
9760
  `${import_picocolors.default.dim(this.isNavigating ? "Space/Tab:" : "Tab:")} select`,
9740
9761
  `${import_picocolors.default.dim("Enter:")} confirm`,
9741
9762
  `${import_picocolors.default.dim("Type:")} to search`
9742
- ], 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 = [
9743
- ...`${i$9}${g$5(h$5)}`.split(`
9763
+ ], p$3 = this.filteredOptions.length === 0 && n$6 ? [`${g$4(h$5)} ${import_picocolors.default.yellow("No matches found")}`] : [], y$7 = this.state === "error" ? [`${g$4(h$5)} ${import_picocolors.default.yellow(this.error)}`] : [], $$2 = [
9764
+ ...`${i$9}${g$4(h$5)}`.split(`
9744
9765
  `),
9745
- `${g$5(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
9766
+ `${g$4(h$5)} ${import_picocolors.default.dim("Search:")} ${o$7}${c$8}`,
9746
9767
  ...p$3,
9747
9768
  ...y$7
9748
- ], m$5 = [`${g$5(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$5(x$3)}`], d$5 = J$4({
9769
+ ], m$5 = [`${g$4(h$5)} ${import_picocolors.default.dim(E$5.join(" • "))}`, `${g$4(x$3)}`], d$5 = J$4({
9749
9770
  cursor: this.cursor,
9750
9771
  options: this.filteredOptions,
9751
9772
  style: (F$6, f$7) => r$4(F$6, f$7, this.selectedValues, this.focusedValue),
@@ -9755,7 +9776,7 @@ ${W$3(this.state)} ${e$8.message}
9755
9776
  });
9756
9777
  return [
9757
9778
  ...$$2,
9758
- ...d$5.map((F$6) => `${g$5(h$5)} ${F$6}`),
9779
+ ...d$5.map((F$6) => `${g$4(h$5)} ${F$6}`),
9759
9780
  ...m$5
9760
9781
  ].join(`
9761
9782
  `);
@@ -9780,7 +9801,7 @@ function Xe(e$8, r$4, s$9, i$9) {
9780
9801
  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];
9781
9802
  }
9782
9803
  const Dt = (e$8) => e$8, Tt$1 = (e$8 = "", r$4 = "", s$9) => {
9783
- 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;
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$4 = s$9?.formatBorder ?? Dt, E$5 = (s$9?.rounded ? xt$1 : _t).map(g$4), p$3 = g$4(se$1), y$7 = g$4(h$5), $$2 = M$3(c$8), m$5 = M$3(r$4), d$5 = n$6 - $$2;
9784
9805
  let F$6 = Math.floor(n$6 * a$13) - $$2;
9785
9806
  if (s$9?.width === "auto") {
9786
9807
  const _$7 = e$8.split(`
@@ -9847,7 +9868,7 @@ ${import_picocolors.default.cyan(x$3)}
9847
9868
  return s$9;
9848
9869
  }, Ot = (e$8) => {
9849
9870
  const { selectableGroups: r$4 = !0, groupSpacing: s$9 = 0 } = e$8, i$9 = (l$3, u$8, o$7 = []) => {
9850
- 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} ` : " " : "";
9871
+ const a$13 = l$3.label ?? String(l$3.value), c$8 = typeof l$3.group == "string", g$4 = c$8 && (o$7[o$7.indexOf(l$3) + 1] ?? { group: !0 }), E$5 = c$8 && g$4 && g$4.group === !0, p$3 = c$8 ? r$4 ? `${E$5 ? x$3 : h$5} ` : " " : "";
9851
9872
  let y$7 = "";
9852
9873
  if (s$9 > 0 && !c$8) {
9853
9874
  const m$5 = `
@@ -9898,19 +9919,19 @@ ${import_picocolors.default.gray(h$5)}` : ""}`;
9898
9919
  const o$7 = this.error.split(`
9899
9920
  `).map((a$13, c$8) => c$8 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(a$13)}` : ` ${a$13}`).join(`
9900
9921
  `);
9901
- return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$5) => {
9922
+ return `${l$3}${import_picocolors.default.yellow(h$5)} ${this.options.map((a$13, c$8, g$4) => {
9902
9923
  const E$5 = u$8.includes(a$13.value) || a$13.group === !0 && this.isGroupSelected(`${a$13.value}`), p$3 = c$8 === this.cursor;
9903
- 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);
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$4) : p$3 && E$5 ? i$9(a$13, "active-selected", g$4) : E$5 ? i$9(a$13, "selected", g$4) : i$9(a$13, p$3 ? "active" : "inactive", g$4);
9904
9925
  }).join(`
9905
9926
  ${import_picocolors.default.yellow(h$5)} `)}
9906
9927
  ${o$7}
9907
9928
  `;
9908
9929
  }
9909
9930
  default: {
9910
- const o$7 = this.options.map((c$8, g$5, E$5) => {
9911
- 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;
9931
+ const o$7 = this.options.map((c$8, g$4, E$5) => {
9932
+ const p$3 = u$8.includes(c$8.value) || c$8.group === !0 && this.isGroupSelected(`${c$8.value}`), y$7 = g$4 === this.cursor, $$2 = !y$7 && typeof c$8.group == "string" && this.options[this.cursor].value === c$8.group;
9912
9933
  let m$5 = "";
9913
- 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(`
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$4 !== 0 && !m$5.startsWith(`
9914
9935
  `) ? " " : ""}${m$5}`;
9915
9936
  }).join(`
9916
9937
  ${import_picocolors.default.cyan(h$5)}`), a$13 = o$7.startsWith(`
@@ -9924,14 +9945,14 @@ ${import_picocolors.default.cyan(x$3)}
9924
9945
  }).prompt();
9925
9946
  }, R = {
9926
9947
  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 } = {}) => {
9927
- 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} ` : "";
9948
+ const u$8 = [], o$7 = (l$3 ?? _$6.withGuide) !== !1, a$13 = o$7 ? s$9 : "", c$8 = o$7 ? `${r$4} ` : "", g$4 = o$7 ? `${s$9} ` : "";
9928
9949
  for (let p$3 = 0; p$3 < n$6; p$3++) u$8.push(a$13);
9929
9950
  const E$5 = Array.isArray(e$8) ? e$8 : e$8.split(`
9930
9951
  `);
9931
9952
  if (E$5.length > 0) {
9932
9953
  const [p$3, ...y$7] = E$5;
9933
9954
  p$3.length > 0 ? u$8.push(`${c$8}${p$3}`) : u$8.push(o$7 ? r$4 : "");
9934
- for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$5}${$$2}`) : u$8.push(o$7 ? "" : s$9);
9955
+ for (const $$2 of y$7) $$2.length > 0 ? u$8.push(`${g$4}${$$2}`) : u$8.push(o$7 ? "" : s$9);
9935
9956
  }
9936
9957
  i$9.write(`${u$8.join(`
9937
9958
  `)}
@@ -10024,7 +10045,7 @@ ${import_picocolors.default.gray(h$5)}`;
10024
10045
  const o$7 = `${import_picocolors.default.yellow(h$5)} `, a$13 = this.error.split(`
10025
10046
  `).map((E$5, p$3) => p$3 === 0 ? `${import_picocolors.default.yellow(x$3)} ${import_picocolors.default.yellow(E$5)}` : ` ${E$5}`).join(`
10026
10047
  `), c$8 = n$6.split(`
10027
- `).length, g$5 = a$13.split(`
10048
+ `).length, g$4 = a$13.split(`
10028
10049
  `).length + 1;
10029
10050
  return `${n$6}${o$7}${J$4({
10030
10051
  output: e$8.output,
@@ -10032,7 +10053,7 @@ ${import_picocolors.default.gray(h$5)}`;
10032
10053
  cursor: this.cursor,
10033
10054
  maxItems: e$8.maxItems,
10034
10055
  columnPadding: o$7.length,
10035
- rowPadding: c$8 + g$5,
10056
+ rowPadding: c$8 + g$4,
10036
10057
  style: u$8
10037
10058
  }).join(`
10038
10059
  ${o$7}`)}
@@ -10066,7 +10087,7 @@ ${import_picocolors.default.cyan(x$3)}
10066
10087
  `), l$3 = n$6.reduce((a$13, c$8) => Math.max(M$3(c$8), a$13), 0);
10067
10088
  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);
10068
10089
  }, kt$1 = (e$8 = "", r$4 = "", s$9) => {
10069
- 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 = [
10090
+ const i$9 = s$9?.output ?? P.stdout, n$6 = (s$9?.withGuide ?? _$6.withGuide) !== !1, l$3 = s$9?.format ?? jt, u$8 = [
10070
10091
  "",
10071
10092
  ...Vt$1(e$8, rt$1(i$9) - 6, l$3).split(`
10072
10093
  `).map(l$3),
@@ -10075,9 +10096,9 @@ ${import_picocolors.default.cyan(x$3)}
10075
10096
  const $$2 = M$3(y$7);
10076
10097
  return $$2 > p$3 ? $$2 : p$3;
10077
10098
  }, 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(`
10078
- `), g$5 = n$6 ? `${import_picocolors.default.gray(h$5)}
10099
+ `), g$4 = n$6 ? `${import_picocolors.default.gray(h$5)}
10079
10100
  ` : "", E$5 = n$6 ? Ne$1 : pe$1;
10080
- 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)}
10101
+ i$9.write(`${g$4}${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)}
10081
10102
  ${c$8}
10082
10103
  ${import_picocolors.default.gray(E$5 + se$1.repeat(a$13 + 2) + me$1)}
10083
10104
  `);
@@ -10155,7 +10176,7 @@ ${import_picocolors.default.cyan(x$3)}
10155
10176
  "0"
10156
10177
  ], delay: u$8 = ee$2 ? 80 : 120, signal: o$7, ...a$13 } = {}) => {
10157
10178
  const c$8 = ue$1();
10158
- let g$5, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
10179
+ let g$4, E$5, p$3 = !1, y$7 = !1, $$2 = "", m$5, d$5 = performance.now();
10159
10180
  const F$6 = rt$1(s$9), f$7 = a$13?.styleFrame ?? Ut, v$5 = (S$7) => {
10160
10181
  const O$9 = S$7 > 1 ? n$6 ?? _$6.messages.error : i$9 ?? _$6.messages.cancel;
10161
10182
  y$7 = S$7 === 1, p$3 && (L$5(O$9, S$7), y$7 && typeof r$4 == "function" && r$4());
@@ -10177,7 +10198,7 @@ ${import_picocolors.default.cyan(x$3)}
10177
10198
  const O$9 = (performance.now() - S$7) / 1e3, N$6 = Math.floor(O$9 / 60), G$5 = Math.floor(O$9 % 60);
10178
10199
  return N$6 > 0 ? `[${N$6}m ${G$5}s]` : `[${G$5}s]`;
10179
10200
  }, T$8 = (S$7 = "") => {
10180
- 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)}
10201
+ p$3 = !0, g$4 = xt({ output: s$9 }), $$2 = _$7(S$7), d$5 = performance.now(), s$9.write(`${import_picocolors.default.gray(h$5)}
10181
10202
  `);
10182
10203
  let O$9 = 0, N$6 = 0;
10183
10204
  b$11(), E$5 = setInterval(() => {
@@ -10203,7 +10224,7 @@ ${import_picocolors.default.cyan(x$3)}
10203
10224
  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);
10204
10225
  $$2 = S$7 ?? $$2, e$8 === "timer" ? s$9.write(`${N$6} ${$$2} ${D$4(d$5)}
10205
10226
  `) : s$9.write(`${N$6} ${$$2}
10206
- `), A$2(), g$5();
10227
+ `), A$2(), g$4();
10207
10228
  };
10208
10229
  return {
10209
10230
  start: T$8,
@@ -10344,7 +10365,7 @@ ${ze$1}${i$9.trimStart()}`), s$9 = 3 + stripVTControlCharacters(i$9.trimStart())
10344
10365
  full: ""
10345
10366
  }];
10346
10367
  let c$8 = !1;
10347
- const g$5 = (d$5) => {
10368
+ const g$4 = (d$5) => {
10348
10369
  if (a$13.length === 0) return;
10349
10370
  let F$6 = 0;
10350
10371
  d$5 && (F$6 += n$6 + 2);
@@ -10381,7 +10402,7 @@ ${d$5.value}` : d$5.value;
10381
10402
  (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);
10382
10403
  }
10383
10404
  }, y$7 = (d$5, F$6, f$7) => {
10384
- if (g$5(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
10405
+ if (g$4(!1), (f$7?.raw !== !0 || !c$8) && d$5.value !== "" && (d$5.value += `
10385
10406
  `), d$5.value += Yt(F$6), c$8 = f$7?.raw === !0, e$8.limit !== void 0) {
10386
10407
  const v$5 = d$5.value.split(`
10387
10408
  `), I$4 = v$5.length - e$8.limit;
@@ -10406,7 +10427,7 @@ ${d$5.value}` : d$5.value;
10406
10427
  spacing: 0
10407
10428
  }) : d$5.value !== "" && E$5(d$5, 0);
10408
10429
  }, m$5 = (d$5, F$6) => {
10409
- g$5(!1), d$5.result = F$6, o$7 && $$2();
10430
+ g$4(!1), d$5.result = F$6, o$7 && $$2();
10410
10431
  };
10411
10432
  return {
10412
10433
  message(d$5, F$6) {
@@ -10437,14 +10458,14 @@ ${d$5.value}` : d$5.value;
10437
10458
  };
10438
10459
  },
10439
10460
  error(d$5, F$6) {
10440
- g$5(!0), R.error(d$5, {
10461
+ g$4(!0), R.error(d$5, {
10441
10462
  output: r$4,
10442
10463
  secondarySymbol: i$9,
10443
10464
  spacing: 1
10444
10465
  }), F$6?.showLog !== !1 && p$3(), a$13.splice(1, a$13.length - 1), a$13[0].value = "", a$13[0].full = "";
10445
10466
  },
10446
10467
  success(d$5, F$6) {
10447
- g$5(!0), R.success(d$5, {
10468
+ g$4(!0), R.success(d$5, {
10448
10469
  output: r$4,
10449
10470
  secondarySymbol: i$9,
10450
10471
  spacing: 1
@@ -11256,7 +11277,7 @@ l$2.name;
11256
11277
  function n$5(e$8) {
11257
11278
  return e$8 ? e$8 !== "false" : false;
11258
11279
  }
11259
- 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);
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$3 = n$5(o$6.DEBUG), R$6 = t$7 === "test" || n$5(o$6.TEST);
11260
11281
  n$5(o$6.MINIMAL);
11261
11282
  const A$1 = /^win/i.test(I$2);
11262
11283
  !n$5(o$6.NO_COLOR) && (n$5(o$6.FORCE_COLOR) || (a$11 || A$1) && o$6.TERM);
@@ -11337,9 +11358,9 @@ function stringWidth$1(string, options$1 = {}) {
11337
11358
  return width;
11338
11359
  }
11339
11360
  function isUnicodeSupported() {
11340
- const { env: env$2 } = g$1;
11361
+ const { env: env$2 } = P;
11341
11362
  const { TERM, TERM_PROGRAM } = env$2;
11342
- if (g$1.platform !== "win32") return TERM !== "linux";
11363
+ if (P.platform !== "win32") return TERM !== "linux";
11343
11364
  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";
11344
11365
  }
11345
11366
  const TYPE_COLOR_MAP = {
@@ -11426,13 +11447,13 @@ function createConsola$1(options$1 = {}) {
11426
11447
  defaults: { level },
11427
11448
  stdout: process.stdout,
11428
11449
  stderr: process.stderr,
11429
- prompt: (...args$2) => import("./prompt-BIVRMyOv.mjs").then((m$5) => m$5.prompt(...args$2)),
11450
+ prompt: (...args$2) => import("./prompt-DfzfvfGq.mjs").then((m$5) => m$5.prompt(...args$2)),
11430
11451
  reporters: options$1.reporters || [options$1.fancy ?? !(T$6 || R$6) ? new FancyReporter() : new BasicReporter()],
11431
11452
  ...options$1
11432
11453
  });
11433
11454
  }
11434
11455
  function _getDefaultLogLevel() {
11435
- if (g$4) return LogLevels.debug;
11456
+ if (g$3) return LogLevels.debug;
11436
11457
  if (R$6) return LogLevels.warn;
11437
11458
  return LogLevels.info;
11438
11459
  }
@@ -11822,7 +11843,7 @@ const black = kolorist(30, 39);
11822
11843
  const red = kolorist(31, 39);
11823
11844
  const green = kolorist(32, 39);
11824
11845
  const yellow = kolorist(33, 39);
11825
- const blue$2 = kolorist(34, 39);
11846
+ const blue$3 = kolorist(34, 39);
11826
11847
  const magenta = kolorist(35, 39);
11827
11848
  const cyan = kolorist(36, 39);
11828
11849
  const white = kolorist(97, 39);
@@ -12298,12 +12319,12 @@ async function pathExists(path2, type) {
12298
12319
  }
12299
12320
  }
12300
12321
  function getUserAgent() {
12301
- const userAgent = g$1.env.npm_config_user_agent;
12322
+ const userAgent = P.env.npm_config_user_agent;
12302
12323
  if (!userAgent) return null;
12303
12324
  const name = userAgent.split("/")[0];
12304
12325
  return AGENTS.includes(name) ? name : null;
12305
12326
  }
12306
- function* lookup(cwd$2 = g$1.cwd()) {
12327
+ function* lookup(cwd$2 = P.cwd()) {
12307
12328
  let directory = path.resolve(cwd$2);
12308
12329
  const { root: root$3 } = path.parse(directory);
12309
12330
  while (directory && directory !== root$3) {
@@ -12722,7 +12743,7 @@ const colorfulBanner = `  \`$$[38;5;1
12722
12743
                  \`T:             
12723
12744
  `;
12724
12745
  const unstyledBanner = stripColors(colorfulBanner);
12725
- const coloredBanner = blue$2(unstyledBanner);
12746
+ const coloredBanner = blue$3(unstyledBanner);
12726
12747
  function createBanner() {
12727
12748
  if (!options.enabled) return unstyledBanner;
12728
12749
  else if (options.supportLevel < 2) return coloredBanner;
@@ -12918,7 +12939,7 @@ const defuArrayFn = createDefu((object, key, currentValue) => {
12918
12939
  //#endregion
12919
12940
  //#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
12920
12941
  const b$8 = /^(?:( )+|\t+)/, d$3 = "space", h$4 = "tab";
12921
- function g$3(e$8, t$9) {
12942
+ function g$2(e$8, t$9) {
12922
12943
  const n$6 = /* @__PURE__ */ new Map();
12923
12944
  let s$9 = 0, o$7, i$9;
12924
12945
  for (const c$8 of e$8.split(/\n/g)) {
@@ -12959,8 +12980,8 @@ function S$4(e$8, t$9) {
12959
12980
  }
12960
12981
  function _$4(e$8) {
12961
12982
  if (typeof e$8 != "string") throw new TypeError("Expected a string");
12962
- let t$9 = g$3(e$8, !0);
12963
- t$9.size === 0 && (t$9 = g$3(e$8, !1));
12983
+ let t$9 = g$2(e$8, !0);
12984
+ t$9.size === 0 && (t$9 = g$2(e$8, !1));
12964
12985
  const n$6 = E$4(t$9);
12965
12986
  let s$9, o$7 = 0, i$9 = "";
12966
12987
  return n$6 !== void 0 && ({type: s$9, amount: o$7} = w$4(n$6), i$9 = S$4(s$9, o$7)), {
@@ -13043,17 +13064,17 @@ function uu() {
13043
13064
  Z$2 = 1;
13044
13065
  const C$5 = T$4();
13045
13066
  let r$4, s$9, c$8, d$5, h$6, o$7, f$7, S$7, m$5;
13046
- q$4 = function(a$13, g$5) {
13067
+ q$4 = function(a$13, g$4) {
13047
13068
  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;
13048
13069
  do
13049
13070
  f$7 = E$5(), Q$4[s$9]();
13050
13071
  while (f$7.type !== "eof");
13051
- return typeof g$5 == "function" ? v$5({ "": m$5 }, "", g$5) : m$5;
13072
+ return typeof g$4 == "function" ? v$5({ "": m$5 }, "", g$4) : m$5;
13052
13073
  };
13053
- function v$5(D$4, a$13, g$5) {
13074
+ function v$5(D$4, a$13, g$4) {
13054
13075
  const y$7 = D$4[a$13];
13055
- 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++) {
13056
- const I$4 = String(P$6), H$8 = v$5(y$7, I$4, g$5);
13076
+ if (y$7 != null && typeof y$7 == "object") if (Array.isArray(y$7)) for (let P$7 = 0; P$7 < y$7.length; P$7++) {
13077
+ const I$4 = String(P$7), H$8 = v$5(y$7, I$4, g$4);
13057
13078
  H$8 === void 0 ? delete y$7[I$4] : Object.defineProperty(y$7, I$4, {
13058
13079
  value: H$8,
13059
13080
  writable: !0,
@@ -13061,16 +13082,16 @@ function uu() {
13061
13082
  configurable: !0
13062
13083
  });
13063
13084
  }
13064
- else for (const P$6 in y$7) {
13065
- const I$4 = v$5(y$7, P$6, g$5);
13066
- I$4 === void 0 ? delete y$7[P$6] : Object.defineProperty(y$7, P$6, {
13085
+ else for (const P$7 in y$7) {
13086
+ const I$4 = v$5(y$7, P$7, g$4);
13087
+ I$4 === void 0 ? delete y$7[P$7] : Object.defineProperty(y$7, P$7, {
13067
13088
  value: I$4,
13068
13089
  writable: !0,
13069
13090
  enumerable: !0,
13070
13091
  configurable: !0
13071
13092
  });
13072
13093
  }
13073
- return g$5.call(D$4, a$13, y$7);
13094
+ return g$4.call(D$4, a$13, y$7);
13074
13095
  }
13075
13096
  let t$9, e$8, x$5, w$7, A$2;
13076
13097
  function E$5() {
@@ -13509,8 +13530,8 @@ function uu() {
13509
13530
  function $$2() {
13510
13531
  let D$4 = "", a$13 = 4;
13511
13532
  for (; a$13-- > 0;) {
13512
- const g$5 = n$6();
13513
- if (!C$5.isHexDigit(g$5)) throw B$2(u$8());
13533
+ const g$4 = n$6();
13534
+ if (!C$5.isHexDigit(g$4)) throw B$2(u$8());
13514
13535
  D$4 += u$8();
13515
13536
  }
13516
13537
  return String.fromCodePoint(parseInt(D$4, 16));
@@ -13638,8 +13659,8 @@ function uu() {
13638
13659
  };
13639
13660
  if (a$13[D$4]) return a$13[D$4];
13640
13661
  if (D$4 < " ") {
13641
- const g$5 = D$4.charCodeAt(0).toString(16);
13642
- return "\\x" + ("00" + g$5).substring(g$5.length);
13662
+ const g$4 = D$4.charCodeAt(0).toString(16);
13663
+ return "\\x" + ("00" + g$4).substring(g$4.length);
13643
13664
  }
13644
13665
  return D$4;
13645
13666
  }
@@ -13795,7 +13816,7 @@ function Au(C$5, r$4) {
13795
13816
  //#endregion
13796
13817
  //#region ../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
13797
13818
  function $$1(n$6, l$3 = !1) {
13798
- const g$5 = n$6.length;
13819
+ const g$4 = n$6.length;
13799
13820
  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;
13800
13821
  function I$4(i$9, T$8) {
13801
13822
  let s$9 = 0, c$8 = 0;
@@ -13828,7 +13849,7 @@ function $$1(n$6, l$3 = !1) {
13828
13849
  function a$13() {
13829
13850
  let i$9 = "", T$8 = e$8;
13830
13851
  for (;;) {
13831
- if (e$8 >= g$5) {
13852
+ if (e$8 >= g$4) {
13832
13853
  i$9 += n$6.substring(T$8, e$8), b$11 = 2;
13833
13854
  break;
13834
13855
  }
@@ -13838,7 +13859,7 @@ function $$1(n$6, l$3 = !1) {
13838
13859
  break;
13839
13860
  }
13840
13861
  if (s$9 === 92) {
13841
- if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$5) {
13862
+ if (i$9 += n$6.substring(T$8, e$8), e$8++, e$8 >= g$4) {
13842
13863
  b$11 = 2;
13843
13864
  break;
13844
13865
  }
@@ -13886,7 +13907,7 @@ function $$1(n$6, l$3 = !1) {
13886
13907
  return i$9;
13887
13908
  }
13888
13909
  function w$7() {
13889
- 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;
13910
+ if (u$8 = "", b$11 = 0, p$3 = e$8, o$7 = A$2, B$2 = O$9, e$8 >= g$4) return p$3 = g$4, k$6 = 17;
13890
13911
  let i$9 = n$6.charCodeAt(e$8);
13891
13912
  if (J$2(i$9)) {
13892
13913
  do
@@ -13907,12 +13928,12 @@ function $$1(n$6, l$3 = !1) {
13907
13928
  case 47:
13908
13929
  const T$8 = e$8 - 1;
13909
13930
  if (n$6.charCodeAt(e$8 + 1) === 47) {
13910
- for (e$8 += 2; e$8 < g$5 && !r(n$6.charCodeAt(e$8));) e$8++;
13931
+ for (e$8 += 2; e$8 < g$4 && !r(n$6.charCodeAt(e$8));) e$8++;
13911
13932
  return u$8 = n$6.substring(T$8, e$8), k$6 = 12;
13912
13933
  }
13913
13934
  if (n$6.charCodeAt(e$8 + 1) === 42) {
13914
13935
  e$8 += 2;
13915
- const s$9 = g$5 - 1;
13936
+ const s$9 = g$4 - 1;
13916
13937
  let c$8 = !1;
13917
13938
  for (; e$8 < s$9;) {
13918
13939
  const t$9 = n$6.charCodeAt(e$8);
@@ -13925,7 +13946,7 @@ function $$1(n$6, l$3 = !1) {
13925
13946
  return c$8 || (e$8++, b$11 = 1), u$8 = n$6.substring(T$8, e$8), k$6 = 13;
13926
13947
  }
13927
13948
  return u$8 += String.fromCharCode(i$9), e$8++, k$6 = 16;
13928
- 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;
13949
+ case 45: if (u$8 += String.fromCharCode(i$9), e$8++, e$8 === g$4 || !L$2(n$6.charCodeAt(e$8))) return k$6 = 16;
13929
13950
  case 48:
13930
13951
  case 49:
13931
13952
  case 50:
@@ -13937,7 +13958,7 @@ function $$1(n$6, l$3 = !1) {
13937
13958
  case 56:
13938
13959
  case 57: return u$8 += F$6(), k$6 = 11;
13939
13960
  default:
13940
- for (; e$8 < g$5 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
13961
+ for (; e$8 < g$4 && v$5(i$9);) e$8++, i$9 = n$6.charCodeAt(e$8);
13941
13962
  if (p$3 !== e$8) {
13942
13963
  switch (u$8 = n$6.substring(p$3, e$8), u$8) {
13943
13964
  case "true": return k$6 = 8;
@@ -14006,13 +14027,13 @@ var U$2;
14006
14027
  (function(n$6) {
14007
14028
  n$6.DEFAULT = { allowTrailingComma: !1 };
14008
14029
  })(U$2 || (U$2 = {}));
14009
- function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
14030
+ function S$3(n$6, l$3 = [], g$4 = U$2.DEFAULT) {
14010
14031
  let e$8 = null, u$8 = [];
14011
14032
  const p$3 = [];
14012
14033
  function k$6(o$7) {
14013
14034
  Array.isArray(u$8) ? u$8.push(o$7) : e$8 !== null && (u$8[e$8] = o$7);
14014
14035
  }
14015
- return P$4(n$6, {
14036
+ return P$5(n$6, {
14016
14037
  onObjectBegin: () => {
14017
14038
  const o$7 = {};
14018
14039
  k$6(o$7), p$3.push(u$8), u$8 = o$7, e$8 = null;
@@ -14038,9 +14059,9 @@ function S$3(n$6, l$3 = [], g$5 = U$2.DEFAULT) {
14038
14059
  length: B$2
14039
14060
  });
14040
14061
  }
14041
- }, g$5), u$8[0];
14062
+ }, g$4), u$8[0];
14042
14063
  }
14043
- function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
14064
+ function P$5(n$6, l$3, g$4 = U$2.DEFAULT) {
14044
14065
  const e$8 = $$1(n$6, !1), u$8 = [];
14045
14066
  let p$3 = 0;
14046
14067
  function k$6(f$7) {
@@ -14062,7 +14083,7 @@ function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
14062
14083
  p$3 > 0 && p$3--, p$3 === 0 && f$7(e$8.getTokenOffset(), e$8.getTokenLength(), e$8.getTokenStartLine(), e$8.getTokenStartCharacter());
14063
14084
  } : () => !0;
14064
14085
  }
14065
- 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;
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$4 && g$4.disallowComments, s$9 = g$4 && g$4.allowTrailingComma;
14066
14087
  function c$8() {
14067
14088
  for (;;) {
14068
14089
  const f$7 = e$8.scan();
@@ -14169,7 +14190,7 @@ function P$4(n$6, l$3, g$5 = U$2.DEFAULT) {
14169
14190
  default: return G$5();
14170
14191
  }
14171
14192
  }
14172
- 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);
14193
+ return c$8(), e$8.getToken() === 17 ? g$4.allowEmptyContent ? !0 : (t$9(4, [], []), !1) : E$5() ? (e$8.getToken() !== 17 && t$9(9, [], []), !0) : (t$9(4, [], []), !1);
14173
14194
  }
14174
14195
  var W$2;
14175
14196
  (function(n$6) {
@@ -14185,16 +14206,16 @@ var q$3;
14185
14206
  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";
14186
14207
  })(q$3 || (q$3 = {}));
14187
14208
  function x$1(n$6, l$3) {
14188
- const g$5 = JSON.parse(n$6, l$3?.reviver);
14189
- return N$1(n$6, g$5, l$3), g$5;
14209
+ const g$4 = JSON.parse(n$6, l$3?.reviver);
14210
+ return N$1(n$6, g$4, l$3), g$4;
14190
14211
  }
14191
14212
  function z$2(n$6, l$3) {
14192
- const g$5 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$5.indent);
14193
- return g$5.whitespace.start + e$8 + g$5.whitespace.end;
14213
+ const g$4 = C$2(n$6, l$3), e$8 = JSON.stringify(n$6, l$3?.replacer, g$4.indent);
14214
+ return g$4.whitespace.start + e$8 + g$4.whitespace.end;
14194
14215
  }
14195
14216
  function h$2(n$6, l$3) {
14196
- const g$5 = K$2(n$6, l$3?.errors, l$3);
14197
- return N$1(n$6, g$5, l$3), g$5;
14217
+ const g$4 = K$2(n$6, l$3?.errors, l$3);
14218
+ return N$1(n$6, g$4, l$3), g$4;
14198
14219
  }
14199
14220
 
14200
14221
  //#endregion
@@ -14846,13 +14867,13 @@ function yi(e$8, n$6) {
14846
14867
  h$3(e$8, "unexpected end of the stream within a double quoted scalar");
14847
14868
  }
14848
14869
  function Ci(e$8, n$6) {
14849
- 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;
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$4, A$2, b$11, m$5;
14850
14871
  if (m$5 = e$8.input.charCodeAt(e$8.position), m$5 === 91) t$9 = 93, s$9 = !1, f$7 = [];
14851
14872
  else if (m$5 === 123) t$9 = 125, s$9 = !0, f$7 = {};
14852
14873
  else return !1;
14853
14874
  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;) {
14854
14875
  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;
14855
- 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;
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$4 = 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$4 = 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$4, b$11, l$3, r$4, u$8) : p$3 ? f$7.push(N$2(e$8, null, x$5, A$2, g$4, b$11, l$3, r$4, u$8)) : f$7.push(g$4), 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;
14856
14877
  }
14857
14878
  h$3(e$8, "unexpected end of the stream within a flow collection");
14858
14879
  }
@@ -14907,21 +14928,21 @@ function we(e$8, n$6) {
14907
14928
  return f$7 ? (e$8.tag = l$3, e$8.anchor = r$4, e$8.kind = "sequence", e$8.result = u$8, !0) : !1;
14908
14929
  }
14909
14930
  function wi(e$8, n$6, i$9) {
14910
- 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;
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$4 = null, A$2 = !1, b$11 = !1, m$5;
14911
14932
  if (e$8.firstTabInLine !== -1) return !1;
14912
14933
  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;) {
14913
- 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;
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$4 = 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;
14914
14935
  else {
14915
14936
  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;
14916
14937
  if (e$8.line === u$8) {
14917
14938
  for (m$5 = e$8.input.charCodeAt(e$8.position); I$1(m$5);) m$5 = e$8.input.charCodeAt(++e$8.position);
14918
- 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;
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$4 = null), b$11 = !0, A$2 = !1, r$4 = !1, s$9 = e$8.tag, x$5 = e$8.result;
14919
14940
  else if (b$11) h$3(e$8, "can not read an implicit mapping pair; a colon is missed");
14920
14941
  else return e$8.tag = a$13, e$8.anchor = t$9, !0;
14921
14942
  } else if (b$11) h$3(e$8, "can not read a block mapping entry; a multiline key may not be an implicit key");
14922
14943
  else return e$8.tag = a$13, e$8.anchor = t$9, !0;
14923
14944
  }
14924
- 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");
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$4 = e$8.result), A$2 || (N$2(e$8, p$3, d$5, s$9, x$5, g$4, o$7, f$7, c$8), s$9 = x$5 = g$4 = 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");
14925
14946
  else if (e$8.lineIndent < n$6) break;
14926
14947
  }
14927
14948
  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;
@@ -14959,9 +14980,9 @@ function Si(e$8) {
14959
14980
  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;
14960
14981
  }
14961
14982
  function R$4(e$8, n$6, i$9, l$3, r$4) {
14962
- 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;
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$4, A$2;
14963
14984
  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;
14964
- 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);
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$4 = n$6 : g$4 = 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$4)) || Ci(e$8, g$4) ? t$9 = !0 : (o$7 && _i(e$8, g$4) || vi(e$8, g$4) || yi(e$8, g$4) ? 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$4, 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);
14965
14986
  else if (e$8.tag === "?") {
14966
14987
  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)) {
14967
14988
  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);
@@ -15073,18 +15094,18 @@ function er(e$8, n$6) {
15073
15094
  function W$1(e$8) {
15074
15095
  return e$8 === Ri || e$8 === Li;
15075
15096
  }
15076
- function P$3(e$8) {
15097
+ function P$4(e$8) {
15077
15098
  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;
15078
15099
  }
15079
15100
  function Le(e$8) {
15080
- return P$3(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
15101
+ return P$4(e$8) && e$8 !== ee$1 && e$8 !== Ni && e$8 !== Y;
15081
15102
  }
15082
15103
  function Ne(e$8, n$6, i$9) {
15083
15104
  var l$3 = Le(e$8), r$4 = l$3 && !W$1(e$8);
15084
15105
  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;
15085
15106
  }
15086
15107
  function nr(e$8) {
15087
- 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;
15108
+ return P$4(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;
15088
15109
  }
15089
15110
  function ir(e$8) {
15090
15111
  return !W$1(e$8) && e$8 !== G$2;
@@ -15098,20 +15119,20 @@ function Re$1(e$8) {
15098
15119
  }
15099
15120
  var De = 1, re$5 = 2, Me = 3, Ye$1 = 4, D$1 = 5;
15100
15121
  function rr(e$8, n$6, i$9, l$3, r$4, u$8, o$7, f$7) {
15101
- 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));
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$4 = nr(j$3(e$8, 0)) && ir(j$3(e$8, e$8.length - 1));
15102
15123
  if (n$6 || o$7) for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
15103
- if (a$13 = j$3(e$8, c$8), !P$3(a$13)) return D$1;
15104
- g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
15124
+ if (a$13 = j$3(e$8, c$8), !P$4(a$13)) return D$1;
15125
+ g$4 = g$4 && Ne(a$13, t$9, f$7), t$9 = a$13;
15105
15126
  }
15106
15127
  else {
15107
15128
  for (c$8 = 0; c$8 < e$8.length; a$13 >= 65536 ? c$8 += 2 : c$8++) {
15108
15129
  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);
15109
- else if (!P$3(a$13)) return D$1;
15110
- g$5 = g$5 && Ne(a$13, t$9, f$7), t$9 = a$13;
15130
+ else if (!P$4(a$13)) return D$1;
15131
+ g$4 = g$4 && Ne(a$13, t$9, f$7), t$9 = a$13;
15111
15132
  }
15112
15133
  d$5 = d$5 || s$9 && c$8 - x$5 - 1 > l$3 && e$8[x$5 + 1] !== " ";
15113
15134
  }
15114
- 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;
15135
+ return !p$3 && !d$5 ? g$4 && !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;
15115
15136
  }
15116
15137
  function lr(e$8, n$6, i$9, l$3, r$4) {
15117
15138
  e$8.dump = function() {
@@ -15165,7 +15186,7 @@ function je(e$8, n$6) {
15165
15186
  ` + e$8.slice(o$7 + 1) : c$8 += e$8.slice(r$4), c$8.slice(1);
15166
15187
  }
15167
15188
  function ur(e$8) {
15168
- 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);
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$4(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);
15169
15190
  return n$6;
15170
15191
  }
15171
15192
  function fr(e$8, n$6, i$9) {
@@ -15680,19 +15701,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
15680
15701
  const emittedPackageWarnings = /* @__PURE__ */ new Set();
15681
15702
  const doubleSlashRegEx = /[/\\]{2}/;
15682
15703
  function emitInvalidSegmentDeprecation(target, request$2, match, packageJsonUrl, internal, base, isTarget) {
15683
- if (g$1.noDeprecation) return;
15704
+ if (P.noDeprecation) return;
15684
15705
  const pjsonPath = fileURLToPath(packageJsonUrl);
15685
15706
  const double = doubleSlashRegEx.exec(isTarget ? target : request$2) !== null;
15686
- 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");
15707
+ P.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");
15687
15708
  }
15688
15709
  function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main$1) {
15689
- if (g$1.noDeprecation) return;
15710
+ if (P.noDeprecation) return;
15690
15711
  if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
15691
15712
  const urlPath = fileURLToPath(url.href);
15692
15713
  const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
15693
15714
  const basePath = fileURLToPath(base);
15694
- 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");
15695
- 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");
15715
+ if (!main$1) P.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");
15716
+ else if (path.resolve(packagePath, main$1) !== urlPath) P.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");
15696
15717
  }
15697
15718
  function tryStatSync(path$1) {
15698
15719
  try {
@@ -15900,11 +15921,11 @@ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
15900
15921
  return isConditionalSugar;
15901
15922
  }
15902
15923
  function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
15903
- if (g$1.noDeprecation) return;
15924
+ if (P.noDeprecation) return;
15904
15925
  const pjsonPath = fileURLToPath(pjsonUrl);
15905
15926
  if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
15906
15927
  emittedPackageWarnings.add(pjsonPath + "|" + match);
15907
- 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");
15928
+ P.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");
15908
15929
  }
15909
15930
  function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
15910
15931
  let exports$1 = packageConfig.exports;
@@ -16389,7 +16410,7 @@ var f$4 = Object.getOwnPropertyNames;
16389
16410
  var p$1 = Object.getPrototypeOf;
16390
16411
  var m$3 = Object.prototype.hasOwnProperty;
16391
16412
  var h$1 = (e$8, t$9) => () => (t$9 || e$8((t$9 = { exports: {} }).exports, t$9), t$9.exports);
16392
- var g$2 = (e$8, t$9, n$6, r$4) => {
16413
+ var g$1 = (e$8, t$9, n$6, r$4) => {
16393
16414
  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++) {
16394
16415
  s$9 = i$9[a$13];
16395
16416
  if (!m$3.call(e$8, s$9) && s$9 !== n$6) u$6(e$8, s$9, {
@@ -16399,7 +16420,7 @@ var g$2 = (e$8, t$9, n$6, r$4) => {
16399
16420
  }
16400
16421
  return e$8;
16401
16422
  };
16402
- 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", {
16423
+ var _$1 = (e$8, t$9, n$6) => (n$6 = e$8 != null ? l$1(p$1(e$8)) : {}, g$1(t$9 || !e$8 || !e$8.__esModule ? u$6(n$6, "default", {
16403
16424
  value: e$8,
16404
16425
  enumerable: true
16405
16426
  }) : n$6, e$8));
@@ -16692,7 +16713,7 @@ var N = h$1((exports$1, t$9) => {
16692
16713
  return i$9 ? `${a$13} ${i$9}` : a$13;
16693
16714
  };
16694
16715
  });
16695
- var P$2 = h$1((exports$1, t$9) => {
16716
+ var P$3 = h$1((exports$1, t$9) => {
16696
16717
  const n$6 = v$2("fs");
16697
16718
  const r$4 = N();
16698
16719
  function i$9(e$8) {
@@ -16712,7 +16733,7 @@ var F$3 = h$1((exports$1, t$9) => {
16712
16733
  const n$6 = v$2("path");
16713
16734
  const r$4 = A();
16714
16735
  const i$9 = j$2();
16715
- const a$13 = P$2();
16736
+ const a$13 = P$3();
16716
16737
  const o$7 = process.platform === "win32";
16717
16738
  const s$9 = /\.(?:com|exe)$/i;
16718
16739
  const c$8 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
@@ -28922,19 +28943,19 @@ ${p$3}`;
28922
28943
  process.env.DEBUG && console.debug("[node-fetch-native] [proxy]", ...A$2);
28923
28944
  }
28924
28945
  e$6(H$3, "H"), s$7(H$3, "debug");
28925
- function P$1(A$2, k$6) {
28946
+ function P$2(A$2, k$6) {
28926
28947
  if (!k$6) return !1;
28927
28948
  for (const c$8 of k$6) if (c$8 === A$2 || c$8[0] === "." && A$2.endsWith(c$8.slice(1))) return !0;
28928
28949
  return !1;
28929
28950
  }
28930
- e$6(P$1, "P"), s$7(P$1, "bypassProxy");
28951
+ e$6(P$2, "P"), s$7(P$2, "bypassProxy");
28931
28952
  const g = (fe = class extends undiciExports.ProxyAgent {
28932
28953
  constructor(k$6) {
28933
28954
  super(k$6), this._options = k$6, i$7(this, "_agent"), this._agent = new undiciExports.Agent();
28934
28955
  }
28935
28956
  dispatch(k$6, c$8) {
28936
28957
  const B$2 = new require$$1$1.URL(k$6.origin).hostname;
28937
- 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);
28958
+ return P$2(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);
28938
28959
  }
28939
28960
  }, e$6(fe, "g"), fe);
28940
28961
  s$7(g, "UndiciProxyAgent");
@@ -28953,7 +28974,7 @@ ${p$3}`;
28953
28974
  }
28954
28975
  connect(k$6, c$8) {
28955
28976
  const B$2 = k$6.getHeader("upgrade") === "websocket", t$9 = c$8.secureEndpoint ? B$2 ? "wss:" : "https:" : B$2 ? "ws:" : "http:";
28956
- if (P$1(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
28977
+ if (P$2(k$6.getHeader("host"), this._options.noProxy)) return c$8.secureEndpoint ? this.httpsAgent : this.httpAgent;
28957
28978
  const R$7 = `${t$9}+${this._options.uri}`;
28958
28979
  let F$6 = this.cache.get(R$7);
28959
28980
  if (!F$6) {
@@ -29078,13 +29099,13 @@ function w$1() {
29078
29099
  if (i$5) return f$3;
29079
29100
  i$5 = 1;
29080
29101
  const v$5 = (e$8, r$4) => {
29081
- if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$5(e$8, r$4) : p$3(e$8, r$4);
29102
+ if (Number.isSafeInteger(e$8)) e$8 < 0 ? g$4(e$8, r$4) : p$3(e$8, r$4);
29082
29103
  else throw Error("cannot encode number outside of javascript safe integer range");
29083
29104
  return r$4;
29084
29105
  }, p$3 = (e$8, r$4) => {
29085
29106
  r$4[0] = 128;
29086
29107
  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);
29087
- }, g$5 = (e$8, r$4) => {
29108
+ }, g$4 = (e$8, r$4) => {
29088
29109
  r$4[0] = 255;
29089
29110
  var o$7 = false;
29090
29111
  e$8 = e$8 * -1;
@@ -29119,14 +29140,14 @@ var k, w;
29119
29140
  function E() {
29120
29141
  if (w) return k;
29121
29142
  w = 1;
29122
- const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$6 = Symbol("slurp"), a$13 = Symbol("type");
29143
+ const u$8 = n$3$1(), x$5 = H$2.posix, y$7 = w$1(), P$7 = Symbol("slurp"), a$13 = Symbol("type");
29123
29144
  class B$2 {
29124
29145
  constructor(e$8, t$9, i$9, h$6) {
29125
29146
  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);
29126
29147
  }
29127
29148
  decode(e$8, t$9, i$9, h$6) {
29128
29149
  if (t$9 || (t$9 = 0), !e$8 || !(e$8.length >= t$9 + 512)) throw new Error("need 512 bytes for header");
29129
- 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;
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$7](i$9), this[P$7](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;
29130
29151
  else {
29131
29152
  const n$6 = d$5(e$8, t$9 + 345, 130);
29132
29153
  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);
@@ -29136,13 +29157,13 @@ function E() {
29136
29157
  for (let n$6 = t$9 + 156; n$6 < t$9 + 512; n$6++) l$3 += e$8[n$6];
29137
29158
  this.cksumValid = l$3 === this.cksum, this.cksum === null && l$3 === 256 && (this.nullBlock = true);
29138
29159
  }
29139
- [P$6](e$8, t$9) {
29160
+ [P$7](e$8, t$9) {
29140
29161
  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]);
29141
29162
  }
29142
29163
  encode(e$8, t$9) {
29143
29164
  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");
29144
29165
  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];
29145
- 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);
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$4(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$4(e$8, t$9 + 476, 12, this.atime) || this.needPax, this.needPax = g$4(e$8, t$9 + 488, 12, this.ctime) || this.needPax);
29146
29167
  let S$7 = 256;
29147
29168
  for (let p$3 = t$9; p$3 < t$9 + 148; p$3++) S$7 += e$8[p$3];
29148
29169
  for (let p$3 = t$9 + 156; p$3 < t$9 + 512; p$3++) S$7 += e$8[p$3];
@@ -29192,7 +29213,7 @@ function E() {
29192
29213
  }, 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 = {
29193
29214
  12: 8589934591,
29194
29215
  8: 2097151
29195
- }, 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);
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$4 = (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);
29196
29217
  return k = B$2, k;
29197
29218
  }
29198
29219
  var e$3, t$3$1;
@@ -29344,7 +29365,7 @@ function ft() {
29344
29365
  const H$8 = typeof process == "object" && process ? process : {
29345
29366
  stdout: null,
29346
29367
  stderr: null
29347
- }, 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);
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$4 = 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$7 = 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);
29348
29369
  class z$6 {
29349
29370
  constructor(t$9, e$8, s$9) {
29350
29371
  this.src = t$9, this.dest = e$8, this.opts = s$9, this.ondrain = () => t$9[b$11](), e$8.on("drain", this.ondrain);
@@ -29367,7 +29388,7 @@ function ft() {
29367
29388
  }
29368
29389
  class F$6 extends q$6 {
29369
29390
  constructor(t$9) {
29370
- 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]());
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$4] = 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]());
29371
29392
  }
29372
29393
  get bufferLength() {
29373
29394
  return this[n$6];
@@ -29469,7 +29490,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
29469
29490
  }
29470
29491
  on(t$9, e$8) {
29471
29492
  const s$9 = super.on(t$9, e$8);
29472
- 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;
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$4] && (this[p$3] ? w$7(() => e$8.call(this, this[g$4])) : e$8.call(this, this[g$4])), s$9;
29473
29494
  }
29474
29495
  get emittedEnd() {
29475
29496
  return this[y$7];
@@ -29486,7 +29507,7 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
29486
29507
  const u$8 = super.emit("close");
29487
29508
  return this.removeAllListeners("close"), u$8;
29488
29509
  } else if (t$9 === "error") {
29489
- this[g$5] = e$8, super.emit(P$6, e$8);
29510
+ this[g$4] = e$8, super.emit(P$7, e$8);
29490
29511
  const u$8 = !this[E$5] || this.listeners("error").length ? super.emit("error", e$8) : false;
29491
29512
  return this[d$5](), u$8;
29492
29513
  } else if (t$9 === "resume") {
@@ -29571,12 +29592,12 @@ while (this[$$2](this[I$4]()) && this[i$9].length);
29571
29592
  }
29572
29593
  [W$5]() {
29573
29594
  let t$9 = false;
29574
- 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 = () => {
29595
+ const e$8 = () => (this.pause(), this.removeListener(P$7, e$8), this.removeListener(r$4, e$8), this.removeListener("end", e$8), t$9 = true, { done: true }), s$9 = () => {
29575
29596
  if (t$9) return e$8();
29576
29597
  const l$3 = this.read();
29577
29598
  return l$3 === null ? e$8() : { value: l$3 };
29578
29599
  };
29579
- return this.once("end", e$8), this.once(P$6, e$8), this.once(r$4, e$8), {
29600
+ return this.once("end", e$8), this.once(P$7, e$8), this.once(r$4, e$8), {
29580
29601
  next: s$9,
29581
29602
  throw: e$8,
29582
29603
  return: e$8,
@@ -29818,7 +29839,7 @@ function tt$1() {
29818
29839
  const I$4 = typeof process == "object" && process ? process : {
29819
29840
  stdout: null,
29820
29841
  stderr: null
29821
- }, 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);
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$7 = 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);
29822
29843
  class U$5 {
29823
29844
  constructor(t$9, e$8, i$9) {
29824
29845
  this.src = t$9, this.dest = e$8, this.opts = i$9, this.ondrain = () => t$9[p$3](), e$8.on("drain", this.ondrain);
@@ -29880,10 +29901,10 @@ function tt$1() {
29880
29901
  if (this[n$6]) return null;
29881
29902
  if (this[s$9] === 0 || t$9 === 0 || t$9 > this[s$9]) return this[a$13](), null;
29882
29903
  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])]);
29883
- const e$8 = this[P$6](t$9 || null, this.buffer[0]);
29904
+ const e$8 = this[P$7](t$9 || null, this.buffer[0]);
29884
29905
  return this[a$13](), e$8;
29885
29906
  }
29886
- [P$6](t$9, e$8) {
29907
+ [P$7](t$9, e$8) {
29887
29908
  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;
29888
29909
  }
29889
29910
  end(t$9, e$8, i$9) {
@@ -30010,18 +30031,18 @@ while (this[_$7](this[B$2]()));
30010
30031
  });
30011
30032
  if (this[u$8]) return Promise.resolve({ done: true });
30012
30033
  let i$9 = null, l$3 = null;
30013
- const f$7 = (g$5) => {
30014
- this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$5);
30015
- }, A$2 = (g$5) => {
30034
+ const f$7 = (g$4) => {
30035
+ this.removeListener("data", A$2), this.removeListener("end", O$9), l$3(g$4);
30036
+ }, A$2 = (g$4) => {
30016
30037
  this.removeListener("error", f$7), this.removeListener("end", O$9), this.pause(), i$9({
30017
- value: g$5,
30038
+ value: g$4,
30018
30039
  done: !!this[u$8]
30019
30040
  });
30020
30041
  }, O$9 = () => {
30021
30042
  this.removeListener("error", f$7), this.removeListener("data", A$2), i$9({ done: true });
30022
30043
  }, W$5 = () => f$7(/* @__PURE__ */ new Error("stream destroyed"));
30023
- return new Promise((g$5, z$6) => {
30024
- 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);
30044
+ return new Promise((g$4, z$6) => {
30045
+ l$3 = z$6, i$9 = g$4, this.once(n$6, W$5), this.once("error", f$7), this.once("end", O$9), this.once("data", A$2);
30025
30046
  });
30026
30047
  } };
30027
30048
  }
@@ -30046,7 +30067,7 @@ var C;
30046
30067
  function J() {
30047
30068
  if (C) return i$3;
30048
30069
  C = 1;
30049
- 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");
30070
+ const w$7 = j$1, n$6 = P$1.Buffer, z$6 = O$2, u$8 = i$3.constants = T(), L$5 = tt$1(), E$5 = n$6.concat, c$8 = Symbol("_superWrite");
30050
30071
  class d$5 extends Error {
30051
30072
  constructor(s$9) {
30052
30073
  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);
@@ -30055,11 +30076,11 @@ function J() {
30055
30076
  return "ZlibError";
30056
30077
  }
30057
30078
  }
30058
- 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");
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$4 = Symbol("ended");
30059
30080
  class x$5 extends L$5 {
30060
30081
  constructor(s$9, e$8) {
30061
30082
  if (!s$9 || typeof s$9 != "object") throw new TypeError("invalid options for ZlibBase constructor");
30062
- 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;
30083
+ super(s$9), this[f$7] = false, this[g$4] = false, this[Z$4] = s$9, this[p$3] = s$9.flush, this[I$4] = s$9.finishFlush;
30063
30084
  try {
30064
30085
  this[t$9] = new z$6[e$8](s$9);
30065
30086
  } catch (i$9) {
@@ -30079,10 +30100,10 @@ function J() {
30079
30100
  this.ended || (typeof s$9 != "number" && (s$9 = this[y$7]), this.write(Object.assign(n$6.alloc(0), { [p$3]: s$9 })));
30080
30101
  }
30081
30102
  end(s$9, e$8, i$9) {
30082
- return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$5] = true, super.end(null, null, i$9);
30103
+ return s$9 && this.write(s$9, e$8), this.flush(this[I$4]), this[g$4] = true, super.end(null, null, i$9);
30083
30104
  }
30084
30105
  get ended() {
30085
- return this[g$5];
30106
+ return this[g$4];
30086
30107
  }
30087
30108
  write(s$9, e$8, i$9) {
30088
30109
  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;
@@ -30200,8 +30221,8 @@ var O$1, F$2;
30200
30221
  function rt() {
30201
30222
  if (F$2) return O$1;
30202
30223
  F$2 = 1;
30203
- 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;
30204
- return O$1 = P$6(class extends v$5 {
30224
+ const P$7 = 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$4 = 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;
30225
+ return O$1 = P$7(class extends v$5 {
30205
30226
  constructor(t$9) {
30206
30227
  t$9 = t$9 || {}, super(t$9), this.file = t$9.file || "", this[E$1$1] = null, this.on(T$8, (s$9) => {
30207
30228
  (this[h$6] === "begin" || this[E$1$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
@@ -30337,17 +30358,17 @@ while (this[U$5](this[f$7].shift()));
30337
30358
  if (this[N$6] = true, this[n$6]) {
30338
30359
  this[D$4](t$9);
30339
30360
  const i$9 = this[n$6];
30340
- this[n$6] = null, this[g$5](i$9);
30341
- } else this[g$5](t$9);
30361
+ this[n$6] = null, this[g$4](i$9);
30362
+ } else this[g$4](t$9);
30342
30363
  for (; this[n$6] && this[n$6].length >= 512 && !this[m$5] && !this[A$2];) {
30343
30364
  const i$9 = this[n$6];
30344
- this[n$6] = null, this[g$5](i$9);
30365
+ this[n$6] = null, this[g$4](i$9);
30345
30366
  }
30346
30367
  this[N$6] = false;
30347
30368
  }
30348
30369
  (!this[n$6] || this[u$8]) && this[M$5]();
30349
30370
  }
30350
- [g$5](t$9) {
30371
+ [g$4](t$9) {
30351
30372
  let i$9 = 0;
30352
30373
  const s$9 = t$9.length;
30353
30374
  for (; i$9 + 512 <= s$9 && !this[m$5] && !this[A$2];) switch (this[h$6]) {
@@ -30385,7 +30406,7 @@ function X() {
30385
30406
  j$6.oncomplete = G$5, c$8.writeBuffers(e$8, i$9, $$2, j$6);
30386
30407
  };
30387
30408
  }
30388
- 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");
30409
+ const m$5 = Symbol("_autoClose"), h$6 = Symbol("_close"), g$4 = 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");
30389
30410
  class D$4 extends H$8 {
30390
30411
  constructor(t$9, e$8) {
30391
30412
  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");
@@ -30448,7 +30469,7 @@ function X() {
30448
30469
  }
30449
30470
  }
30450
30471
  }
30451
- class P$6 extends D$4 {
30472
+ class P$7 extends D$4 {
30452
30473
  [a$13]() {
30453
30474
  let t$9 = true;
30454
30475
  try {
@@ -30482,7 +30503,7 @@ function X() {
30482
30503
  }
30483
30504
  class O$9 extends I$4 {
30484
30505
  constructor(t$9, e$8) {
30485
- 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;
30506
+ e$8 = e$8 || {}, super(e$8), this.readable = false, this.writable = true, this[p$3] = false, this[b$11] = false, this[g$4] = 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;
30486
30507
  const i$9 = this[u$8] !== null ? "r+" : "w";
30487
30508
  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]();
30488
30509
  }
@@ -30509,19 +30530,19 @@ function X() {
30509
30530
  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]());
30510
30531
  }
30511
30532
  end(t$9, e$8) {
30512
- 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;
30533
+ return t$9 && this.write(t$9, e$8), this[g$4] = true, !this[b$11] && !this[n$6].length && typeof this[s$9] == "number" && this[_$7](null, 0), this;
30513
30534
  }
30514
30535
  write(t$9, e$8) {
30515
- 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);
30536
+ return typeof t$9 == "string" && (t$9 = Buffer.from(t$9, e$8)), this[g$4] ? (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);
30516
30537
  }
30517
30538
  [C$5](t$9) {
30518
30539
  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));
30519
30540
  }
30520
30541
  [_$7](t$9, e$8) {
30521
- 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"))));
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$4] && !this[B$2] ? (this[B$2] = true, this[h$6](), this.emit("finish")) : this[E$5] && (this[E$5] = false, this.emit("drain"))));
30522
30543
  }
30523
30544
  [x$5]() {
30524
- if (this[n$6].length === 0) this[g$5] && this[_$7](null, 0);
30545
+ if (this[n$6].length === 0) this[g$4] && this[_$7](null, 0);
30525
30546
  else if (this[n$6].length === 1) this[C$5](this[n$6].pop());
30526
30547
  else {
30527
30548
  const t$9 = this[n$6];
@@ -30564,7 +30585,7 @@ function X() {
30564
30585
  }
30565
30586
  }
30566
30587
  }
30567
- return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$6, s$4.WriteStream = O$9, s$4.WriteStreamSync = U$5, s$4;
30588
+ return s$4.ReadStream = D$4, s$4.ReadStreamSync = P$7, s$4.WriteStream = O$9, s$4.WriteStreamSync = U$5, s$4;
30568
30589
  }
30569
30590
  var r$1 = { exports: {} };
30570
30591
  var i$2, m$2;
@@ -30797,7 +30818,7 @@ var R$2;
30797
30818
  function H() {
30798
30819
  if (R$2) return r$1.exports;
30799
30820
  R$2 = 1;
30800
- const g$5 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
30821
+ const g$4 = S(), l$3 = V, p$3 = H$2, x$5 = F$1(), y$7 = a$7();
30801
30822
  class D$4 extends Error {
30802
30823
  constructor(e$8, s$9) {
30803
30824
  super("Cannot extract through symbolic link"), this.path = s$9, this.symlink = e$8;
@@ -30826,7 +30847,7 @@ function H() {
30826
30847
  };
30827
30848
  if (h$6 && v$5(h$6, n$6) === true) return w$7();
30828
30849
  if (n$6 === d$5) return I$4(n$6, w$7);
30829
- if (u$8) return g$5(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
30850
+ if (u$8) return g$4(n$6, { mode: c$8 }).then((k$6) => w$7(null, k$6), w$7);
30830
30851
  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);
30831
30852
  };
30832
30853
  const C$5 = (n$6, e$8, s$9, r$4, c$8, f$7, t$9, i$9) => {
@@ -30864,7 +30885,7 @@ function H() {
30864
30885
  };
30865
30886
  if (m$5 && v$5(m$5, n$6) === true) return d$5();
30866
30887
  if (n$6 === h$6) return L$5(h$6), d$5();
30867
- if (a$13) return d$5(g$5.sync(n$6, r$4));
30888
+ if (a$13) return d$5(g$4.sync(n$6, r$4));
30868
30889
  const $$2 = y$7(p$3.relative(h$6, n$6)).split("/");
30869
30890
  let S$7 = null;
30870
30891
  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 {
@@ -30917,7 +30938,7 @@ var u$1, f$1;
30917
30938
  function z() {
30918
30939
  if (f$1) return u$1;
30919
30940
  f$1 = 1;
30920
- 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";
30941
+ const l$3 = j$1, m$5 = a$1(), g$4 = s(), { join: d$5 } = H$2, q$6 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
30921
30942
  return u$1 = () => {
30922
30943
  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) => {
30923
30944
  const s$9 = c$8.get(e$8);
@@ -30943,7 +30964,7 @@ function z() {
30943
30964
  return {
30944
30965
  check: h$6,
30945
30966
  reserve: (e$8, s$9) => {
30946
- e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$5(d$5(m$5(r$4))).toLowerCase());
30967
+ e$8 = q$6 ? ["win32 parallelization disabled"] : e$8.map((r$4) => g$4(d$5(m$5(r$4))).toLowerCase());
30947
30968
  const o$7 = new Set(e$8.map((r$4) => v$5(r$4)).reduce((r$4, t$9) => r$4.concat(t$9)));
30948
30969
  return c$8.set(s$9, {
30949
30970
  dirs: o$7,
@@ -30984,7 +31005,7 @@ var G, y;
30984
31005
  function Os() {
30985
31006
  if (y) return G;
30986
31007
  y = 1;
30987
- 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) => {
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$7 = Symbol("ended"), A$2 = Symbol("maybeClose"), x$5 = Symbol("skip"), E$5 = Symbol("doChown"), R$7 = Symbol("uid"), _$7 = Symbol("gid"), g$4 = 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) => {
30988
31009
  if (!C$5) return r$4.unlink(a$13, s$9);
30989
31010
  const i$9 = a$13 + ".DELETE." + X$1$1.randomBytes(16).toString("hex");
30990
31011
  r$4.rename(a$13, i$9, (e$8) => {
@@ -31007,8 +31028,8 @@ function Os() {
31007
31028
  class L$5 extends is {
31008
31029
  constructor(s$9) {
31009
31030
  if (s$9 || (s$9 = {}), s$9.ondone = (i$9) => {
31010
- this[P$6] = true, this[A$2]();
31011
- }, 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") {
31031
+ this[P$7] = true, this[A$2]();
31032
+ }, super(s$9), this[g$4] = 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$7] = false, this.dirCache = s$9.dirCache || /* @__PURE__ */ new Map(), typeof s$9.uid == "number" || typeof s$9.gid == "number") {
31012
31033
  if (typeof s$9.uid != "number" || typeof s$9.gid != "number") throw new TypeError("cannot set owner without number uid and gid");
31013
31034
  if (s$9.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
31014
31035
  this.uid = s$9.uid, this.gid = s$9.gid, this.setOwner = true;
@@ -31019,7 +31040,7 @@ function Os() {
31019
31040
  return (s$9 === "TAR_BAD_ARCHIVE" || s$9 === "TAR_ABORT") && (e$8.recoverable = false), super.warn(s$9, i$9, e$8);
31020
31041
  }
31021
31042
  [A$2]() {
31022
- this[P$6] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
31043
+ this[P$7] && this[$$2] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
31023
31044
  }
31024
31045
  [j$6](s$9) {
31025
31046
  const i$9 = l$3(s$9.path), e$8 = i$9.split("/");
@@ -31199,7 +31220,7 @@ function Os() {
31199
31220
  this[m$5](h$6, s$9), e$8();
31200
31221
  return;
31201
31222
  }
31202
- this[g$5] = true, o$7();
31223
+ this[g$4] = true, o$7();
31203
31224
  });
31204
31225
  }, o$7 = () => {
31205
31226
  if (s$9.absolute !== this.cwd) {
@@ -31231,7 +31252,7 @@ function Os() {
31231
31252
  as(s$9.absolute, (n$6) => this[d$5](n$6, s$9, e$8));
31232
31253
  });
31233
31254
  };
31234
- this[g$5] ? o$7() : t$9();
31255
+ this[g$4] ? o$7() : t$9();
31235
31256
  }
31236
31257
  [d$5](s$9, i$9, e$8) {
31237
31258
  if (s$9) {
@@ -31266,10 +31287,10 @@ function Os() {
31266
31287
  return super[d$5](s$9, i$9, () => {});
31267
31288
  }
31268
31289
  [q$6](s$9) {
31269
- if (this[v$5](s$9), !this[g$5]) {
31290
+ if (this[v$5](s$9), !this[g$4]) {
31270
31291
  const o$7 = this[b$11](this.cwd, this.dmode);
31271
31292
  if (o$7) return this[m$5](o$7, s$9);
31272
- this[g$5] = true;
31293
+ this[g$4] = true;
31273
31294
  }
31274
31295
  if (s$9.absolute !== this.cwd) {
31275
31296
  const o$7 = l$3(w$7.dirname(s$9.absolute));
@@ -52743,21 +52764,7 @@ function getNuxtI18nConfig(_ts) {
52743
52764
  }
52744
52765
 
52745
52766
  //#endregion
52746
- //#region ../shared/src/features/mcp.ts
52747
- const mcp = {
52748
- name: "mcp",
52749
- apply: async ({ cwd: cwd$2, pkg }) => {
52750
- pkg.devDependencies = pkg.devDependencies || {};
52751
- pkg.devDependencies["@intellectronica/ruler"] = dependencies["@intellectronica/ruler"];
52752
- pkg.scripts = pkg.scripts || {};
52753
- pkg.scripts["mcp"] = "ruler apply";
52754
- pkg.scripts["mcp:revert"] = "ruler revert";
52755
- const rulerDir = join(cwd$2, ".ruler");
52756
- await mkdir(rulerDir, { recursive: true });
52757
- await writeFile(join(rulerDir, "ruler.toml"), getRulerToml());
52758
- await writeFile(join(rulerDir, "AGENTS.md"), getAgentsMd());
52759
- }
52760
- };
52767
+ //#region ../shared/src/utils/mcp.ts
52761
52768
  function getRulerToml() {
52762
52769
  return `# For a complete example, see: https://okigu.com/ruler#complete-example
52763
52770
 
@@ -52780,6 +52787,23 @@ function getAgentsMd() {
52780
52787
  `;
52781
52788
  }
52782
52789
 
52790
+ //#endregion
52791
+ //#region ../shared/src/features/mcp.ts
52792
+ const mcp = {
52793
+ name: "mcp",
52794
+ apply: async ({ cwd: cwd$2, pkg }) => {
52795
+ pkg.devDependencies = pkg.devDependencies || {};
52796
+ pkg.devDependencies["@intellectronica/ruler"] = dependencies["@intellectronica/ruler"];
52797
+ pkg.scripts = pkg.scripts || {};
52798
+ pkg.scripts["mcp"] = "ruler apply";
52799
+ pkg.scripts["mcp:revert"] = "ruler revert";
52800
+ const rulerDir = join(cwd$2, ".ruler");
52801
+ await mkdir(rulerDir, { recursive: true });
52802
+ await writeFile(join(rulerDir, "ruler.toml"), getRulerToml());
52803
+ await writeFile(join(rulerDir, "AGENTS.md"), getAgentsMd());
52804
+ }
52805
+ };
52806
+
52783
52807
  //#endregion
52784
52808
  //#region ../shared/src/features/pinia.ts
52785
52809
  const pinia = {
@@ -53379,8 +53403,8 @@ export default vuetify()
53379
53403
 
53380
53404
  //#endregion
53381
53405
  //#region ../shared/src/functions/eslint.ts
53382
- const blue$1 = ansi256(33);
53383
- const description = i18n.t("commands.eslint.description", { configPkg: blue$1(ESLINT_CONFIG) });
53406
+ const blue$2 = ansi256(33);
53407
+ const description$1 = i18n.t("commands.eslint.description", { configPkg: blue$2(ESLINT_CONFIG) });
53384
53408
  async function getEslintStatus() {
53385
53409
  const nuxtConfigUrl = tryResolveFilePath("./nuxt.config", { extensions: [
53386
53410
  ".ts",
@@ -53443,7 +53467,7 @@ function getActionMessage(status) {
53443
53467
  return i18n.t("commands.eslint.need_to", { actions: actions.join(" ") });
53444
53468
  }
53445
53469
  async function addEslint() {
53446
- Nt(description);
53470
+ Nt(description$1);
53447
53471
  const status = await getEslintStatus();
53448
53472
  const { packagesToInstall, packagesToUpgrade, isEslintSupportsConcurrency, isNuxt, nuxtConfigUrl } = status;
53449
53473
  tryResolveFilePath("tsconfig.json");
@@ -53499,6 +53523,45 @@ async function addEslint() {
53499
53523
  Wt(i18n.t("messages.all_done"));
53500
53524
  }
53501
53525
 
53526
+ //#endregion
53527
+ //#region ../shared/src/functions/mcp.ts
53528
+ const RULER_PKG = "@intellectronica/ruler";
53529
+ const blue$1 = ansi256(33);
53530
+ const description = i18n.t("commands.mcp.description", { pkg: blue$1(RULER_PKG) });
53531
+ async function addMcp() {
53532
+ Nt(description);
53533
+ if (await tryResolvePackage(RULER_PKG)) R.info(i18n.t("messages.eslint.deps_already_installed"));
53534
+ else {
53535
+ R.info(i18n.t("commands.mcp.need_to", { action: i18n.t("commands.mcp.action.install", { pkg: RULER_PKG }) }));
53536
+ if (await Mt({ message: i18n.t("prompts.proceed") }) === true) {
53537
+ const s$9 = Se();
53538
+ s$9.start(i18n.t("spinners.dependencies.installing"));
53539
+ await addDevDependency(RULER_PKG, { silent: true });
53540
+ s$9.stop(i18n.t("spinners.dependencies.installed"));
53541
+ }
53542
+ }
53543
+ const rulerDir = join(process.cwd(), ".ruler");
53544
+ const rulerTomlPath = join(rulerDir, "ruler.toml");
53545
+ const agentsMdPath = join(rulerDir, "AGENTS.md");
53546
+ if (await Mt({ message: existsSync(rulerDir) && existsSync(rulerTomlPath) && existsSync(agentsMdPath) ? i18n.t("prompts.mcp.overwrite", { file: ".ruler" }) : i18n.t("prompts.mcp.create") }) === true) {
53547
+ const s$9 = Se();
53548
+ s$9.start(i18n.t("spinners.mcp.setup_config"));
53549
+ await mkdir(rulerDir, { recursive: true });
53550
+ await writeFile(rulerTomlPath, getRulerToml());
53551
+ await writeFile(agentsMdPath, getAgentsMd());
53552
+ s$9.stop(i18n.t("spinners.mcp.complete"));
53553
+ }
53554
+ const filename = await findPackage();
53555
+ const packageJson = await readPackage(filename);
53556
+ if ((packageJson.scripts?.mcp && packageJson.scripts?.["mcp:revert"] ? false : await Mt({ message: i18n.t("prompts.mcp.scripts") })) === true) updatePackage(filename, (pkg) => {
53557
+ pkg.scripts ??= {};
53558
+ pkg.scripts["mcp"] = "ruler apply";
53559
+ pkg.scripts["mcp:revert"] = "ruler revert";
53560
+ return pkg;
53561
+ });
53562
+ Wt(i18n.t("messages.all_done"));
53563
+ }
53564
+
53502
53565
  //#endregion
53503
53566
  //#region ../../node_modules/.pnpm/ini@4.1.1/node_modules/ini/lib/ini.js
53504
53567
  var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4.1.1/node_modules/ini/lib/ini.js": ((exports, module) => {
@@ -53660,51 +53723,51 @@ var require_ini = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/ini@4
53660
53723
  //#endregion
53661
53724
  //#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
53662
53725
  var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
53663
- const isWindows = g$1.platform === "win32";
53726
+ const isWindows = P.platform === "win32";
53664
53727
  const readRc = (filePath) => {
53665
53728
  try {
53666
53729
  return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
53667
53730
  } catch {}
53668
53731
  };
53669
- 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);
53732
+ const getEnvNpmPrefix = () => Object.keys(P.env).reduce((prefix$1, name) => /^npm_config_prefix$/i.test(name) ? P.env[name] : prefix$1, void 0);
53670
53733
  const getGlobalNpmrc = () => {
53671
- if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
53672
- if (g$1.execPath.includes("/Cellar/node")) {
53673
- const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
53734
+ if (isWindows && P.env.APPDATA) return path.join(P.env.APPDATA, "/npm/etc/npmrc");
53735
+ if (P.execPath.includes("/Cellar/node")) {
53736
+ const homebrewPrefix = P.execPath.slice(0, P.execPath.indexOf("/Cellar/node"));
53674
53737
  return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
53675
53738
  }
53676
- if (g$1.execPath.endsWith("/bin/node")) {
53677
- const installDir = path.dirname(path.dirname(g$1.execPath));
53739
+ if (P.execPath.endsWith("/bin/node")) {
53740
+ const installDir = path.dirname(path.dirname(P.execPath));
53678
53741
  return path.join(installDir, "/etc/npmrc");
53679
53742
  }
53680
53743
  };
53681
53744
  const getDefaultNpmPrefix = () => {
53682
53745
  if (isWindows) {
53683
- const { APPDATA } = g$1.env;
53684
- return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
53746
+ const { APPDATA } = P.env;
53747
+ return APPDATA ? path.join(APPDATA, "npm") : path.dirname(P.execPath);
53685
53748
  }
53686
- return path.dirname(path.dirname(g$1.execPath));
53749
+ return path.dirname(path.dirname(P.execPath));
53687
53750
  };
53688
53751
  const getNpmPrefix = () => {
53689
53752
  const envPrefix = getEnvNpmPrefix();
53690
53753
  if (envPrefix) return envPrefix;
53691
53754
  const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
53692
53755
  if (homePrefix) return homePrefix;
53693
- if (g$1.env.PREFIX) return g$1.env.PREFIX;
53756
+ if (P.env.PREFIX) return P.env.PREFIX;
53694
53757
  const globalPrefix = readRc(getGlobalNpmrc());
53695
53758
  if (globalPrefix) return globalPrefix;
53696
53759
  return getDefaultNpmPrefix();
53697
53760
  };
53698
53761
  const npmPrefix = path.resolve(getNpmPrefix());
53699
53762
  const getYarnWindowsDirectory = () => {
53700
- if (isWindows && g$1.env.LOCALAPPDATA) {
53701
- const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
53763
+ if (isWindows && P.env.LOCALAPPDATA) {
53764
+ const dir = path.join(P.env.LOCALAPPDATA, "Yarn");
53702
53765
  if (fs.existsSync(dir)) return dir;
53703
53766
  }
53704
53767
  return false;
53705
53768
  };
53706
53769
  const getYarnPrefix = () => {
53707
- if (g$1.env.PREFIX) return g$1.env.PREFIX;
53770
+ if (P.env.PREFIX) return P.env.PREFIX;
53708
53771
  const windowsPrefix = getYarnWindowsDirectory();
53709
53772
  if (windowsPrefix) return windowsPrefix;
53710
53773
  const configPrefix = path.join(os.homedir(), ".config/yarn");
@@ -53767,7 +53830,7 @@ async function upgradeSelf(pkgName) {
53767
53830
 
53768
53831
  //#endregion
53769
53832
  //#region ../shared/src/commands/add.ts
53770
- const choices = ["eslint"];
53833
+ const choices = ["eslint", "mcp"];
53771
53834
  const add = defineCommand({
53772
53835
  meta: {
53773
53836
  name: "add",
@@ -53804,6 +53867,9 @@ const add = defineCommand({
53804
53867
  case "eslint":
53805
53868
  await addEslint();
53806
53869
  break;
53870
+ case "mcp":
53871
+ await addMcp();
53872
+ break;
53807
53873
  }
53808
53874
  }
53809
53875
  });
@@ -55385,7 +55451,7 @@ function commandUpgradeFabric(pkgName) {
55385
55451
 
55386
55452
  //#endregion
55387
55453
  //#region package.json
55388
- var version = "0.0.8";
55454
+ var version = "0.0.9";
55389
55455
 
55390
55456
  //#endregion
55391
55457
  //#region src/commands/upgrade.ts