@storm-software/linting-tools 1.133.51 → 1.133.52

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.
Files changed (3) hide show
  1. package/bin/lint.cjs +735 -732
  2. package/bin/lint.js +661 -658
  3. package/package.json +2 -2
package/bin/lint.js CHANGED
@@ -714,19 +714,19 @@ var require_conversions = __commonJS({
714
714
  const g2 = rgb[1];
715
715
  let b = rgb[2];
716
716
  const h = convert3.rgb.hsl(rgb)[0];
717
- const w3 = 1 / 255 * Math.min(r, Math.min(g2, b));
717
+ const w2 = 1 / 255 * Math.min(r, Math.min(g2, b));
718
718
  b = 1 - 1 / 255 * Math.max(r, Math.max(g2, b));
719
- return [h, w3 * 100, b * 100];
719
+ return [h, w2 * 100, b * 100];
720
720
  };
721
721
  convert3.rgb.cmyk = function(rgb) {
722
722
  const r = rgb[0] / 255;
723
723
  const g2 = rgb[1] / 255;
724
724
  const b = rgb[2] / 255;
725
- const k2 = Math.min(1 - r, 1 - g2, 1 - b);
726
- const c = (1 - r - k2) / (1 - k2) || 0;
727
- const m2 = (1 - g2 - k2) / (1 - k2) || 0;
728
- const y2 = (1 - b - k2) / (1 - k2) || 0;
729
- return [c * 100, m2 * 100, y2 * 100, k2 * 100];
725
+ const k3 = Math.min(1 - r, 1 - g2, 1 - b);
726
+ const c = (1 - r - k3) / (1 - k3) || 0;
727
+ const m2 = (1 - g2 - k3) / (1 - k3) || 0;
728
+ const y2 = (1 - b - k3) / (1 - k3) || 0;
729
+ return [c * 100, m2 * 100, y2 * 100, k3 * 100];
730
730
  };
731
731
  function comparativeDistance(x, y2) {
732
732
  return (x[0] - y2[0]) ** 2 + (x[1] - y2[1]) ** 2 + (x[2] - y2[2]) ** 2;
@@ -931,10 +931,10 @@ var require_conversions = __commonJS({
931
931
  const c = cmyk[0] / 100;
932
932
  const m2 = cmyk[1] / 100;
933
933
  const y2 = cmyk[2] / 100;
934
- const k2 = cmyk[3] / 100;
935
- const r = 1 - Math.min(1, c * (1 - k2) + k2);
936
- const g2 = 1 - Math.min(1, m2 * (1 - k2) + k2);
937
- const b = 1 - Math.min(1, y2 * (1 - k2) + k2);
934
+ const k3 = cmyk[3] / 100;
935
+ const r = 1 - Math.min(1, c * (1 - k3) + k3);
936
+ const g2 = 1 - Math.min(1, m2 * (1 - k3) + k3);
937
+ const b = 1 - Math.min(1, y2 * (1 - k3) + k3);
938
938
  return [r * 255, g2 * 255, b * 255];
939
939
  };
940
940
  convert3.xyz.rgb = function(xyz) {
@@ -1151,7 +1151,7 @@ var require_conversions = __commonJS({
1151
1151
  const pure = [0, 0, 0];
1152
1152
  const hi = h % 1 * 6;
1153
1153
  const v2 = hi % 1;
1154
- const w3 = 1 - v2;
1154
+ const w2 = 1 - v2;
1155
1155
  let mg = 0;
1156
1156
  switch (Math.floor(hi)) {
1157
1157
  case 0:
@@ -1160,7 +1160,7 @@ var require_conversions = __commonJS({
1160
1160
  pure[2] = 0;
1161
1161
  break;
1162
1162
  case 1:
1163
- pure[0] = w3;
1163
+ pure[0] = w2;
1164
1164
  pure[1] = 1;
1165
1165
  pure[2] = 0;
1166
1166
  break;
@@ -1171,7 +1171,7 @@ var require_conversions = __commonJS({
1171
1171
  break;
1172
1172
  case 3:
1173
1173
  pure[0] = 0;
1174
- pure[1] = w3;
1174
+ pure[1] = w2;
1175
1175
  pure[2] = 1;
1176
1176
  break;
1177
1177
  case 4:
@@ -1182,7 +1182,7 @@ var require_conversions = __commonJS({
1182
1182
  default:
1183
1183
  pure[0] = 1;
1184
1184
  pure[1] = 0;
1185
- pure[2] = w3;
1185
+ pure[2] = w2;
1186
1186
  }
1187
1187
  mg = (1 - c) * g2;
1188
1188
  return [
@@ -1220,10 +1220,10 @@ var require_conversions = __commonJS({
1220
1220
  return [hcg[0], (v2 - c) * 100, (1 - v2) * 100];
1221
1221
  };
1222
1222
  convert3.hwb.hcg = function(hwb) {
1223
- const w3 = hwb[1] / 100;
1223
+ const w2 = hwb[1] / 100;
1224
1224
  const b = hwb[2] / 100;
1225
1225
  const v2 = 1 - b;
1226
- const c = v2 - w3;
1226
+ const c = v2 - w2;
1227
1227
  let g2 = 0;
1228
1228
  if (c < 1) {
1229
1229
  g2 = (v2 - c) / (1 - c);
@@ -16221,14 +16221,14 @@ var require_src = __commonJS({
16221
16221
  var __import___getBorderCharacters = __toESM(require_getBorderCharacters());
16222
16222
  var __import___table = __toESM(require_table());
16223
16223
  var __import___types_api = __toESM(require_api());
16224
- var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m2, k2, k22) {
16225
- if (k22 === void 0) k22 = k2;
16224
+ var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m2, k3, k22) {
16225
+ if (k22 === void 0) k22 = k3;
16226
16226
  Object.defineProperty(o, k22, { enumerable: true, get: function() {
16227
- return m2[k2];
16227
+ return m2[k3];
16228
16228
  } });
16229
- }) : (function(o, m2, k2, k22) {
16230
- if (k22 === void 0) k22 = k2;
16231
- o[k22] = m2[k2];
16229
+ }) : (function(o, m2, k3, k22) {
16230
+ if (k22 === void 0) k22 = k3;
16231
+ o[k22] = m2[k3];
16232
16232
  }));
16233
16233
  var __exportStar2 = exports2 && exports2.__exportStar || function(m2, exports3) {
16234
16234
  for (var p in m2) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m2, p);
@@ -19308,30 +19308,30 @@ var require_ini = __commonJS({
19308
19308
  let padToChars = 0;
19309
19309
  if (opt.align) {
19310
19310
  padToChars = safe(
19311
- keys4.filter((k2) => obj[k2] === null || Array.isArray(obj[k2]) || typeof obj[k2] !== "object").map((k2) => Array.isArray(obj[k2]) ? `${k2}[]` : k2).concat([""]).reduce((a2, b) => safe(a2).length >= safe(b).length ? a2 : b)
19311
+ keys4.filter((k3) => obj[k3] === null || Array.isArray(obj[k3]) || typeof obj[k3] !== "object").map((k3) => Array.isArray(obj[k3]) ? `${k3}[]` : k3).concat([""]).reduce((a2, b) => safe(a2).length >= safe(b).length ? a2 : b)
19312
19312
  ).length;
19313
19313
  }
19314
19314
  let out = "";
19315
19315
  const arraySuffix = opt.bracketedArray ? "[]" : "";
19316
- for (const k2 of keys4) {
19317
- const val = obj[k2];
19316
+ for (const k3 of keys4) {
19317
+ const val = obj[k3];
19318
19318
  if (val && Array.isArray(val)) {
19319
19319
  for (const item of val) {
19320
- out += safe(`${k2}${arraySuffix}`).padEnd(padToChars, " ") + separator + safe(item) + eol2;
19320
+ out += safe(`${k3}${arraySuffix}`).padEnd(padToChars, " ") + separator + safe(item) + eol2;
19321
19321
  }
19322
19322
  } else if (val && typeof val === "object") {
19323
- children.push(k2);
19323
+ children.push(k3);
19324
19324
  } else {
19325
- out += safe(k2).padEnd(padToChars, " ") + separator + safe(val) + eol2;
19325
+ out += safe(k3).padEnd(padToChars, " ") + separator + safe(val) + eol2;
19326
19326
  }
19327
19327
  }
19328
19328
  if (opt.section && out.length) {
19329
19329
  out = "[" + safe(opt.section) + "]" + (opt.newline ? eol2 + eol2 : eol2) + out;
19330
19330
  }
19331
- for (const k2 of children) {
19332
- const nk = splitSections(k2, ".").join("\\.");
19331
+ for (const k3 of children) {
19332
+ const nk = splitSections(k3, ".").join("\\.");
19333
19333
  const section = (opt.section ? opt.section + "." : "") + nk;
19334
- const child = encode2(obj[k2], {
19334
+ const child = encode2(obj[k3], {
19335
19335
  ...opt,
19336
19336
  section
19337
19337
  });
@@ -19414,11 +19414,11 @@ var require_ini = __commonJS({
19414
19414
  }
19415
19415
  }
19416
19416
  const remove = [];
19417
- for (const k2 of Object.keys(out)) {
19418
- if (!hasOwnProperty4.call(out, k2) || typeof out[k2] !== "object" || Array.isArray(out[k2])) {
19417
+ for (const k3 of Object.keys(out)) {
19418
+ if (!hasOwnProperty4.call(out, k3) || typeof out[k3] !== "object" || Array.isArray(out[k3])) {
19419
19419
  continue;
19420
19420
  }
19421
- const parts = splitSections(k2, ".");
19421
+ const parts = splitSections(k3, ".");
19422
19422
  p = out;
19423
19423
  const l = parts.pop();
19424
19424
  const nl = l.replace(/\\\./g, ".");
@@ -19434,8 +19434,8 @@ var require_ini = __commonJS({
19434
19434
  if (p === out && nl === l) {
19435
19435
  continue;
19436
19436
  }
19437
- p[nl] = out[k2];
19438
- remove.push(k2);
19437
+ p[nl] = out[k3];
19438
+ remove.push(k3);
19439
19439
  }
19440
19440
  for (const del of remove) {
19441
19441
  delete out[del];
@@ -27838,9 +27838,9 @@ var require_src2 = __commonJS({
27838
27838
  this.runLength[i2 + 1] = this.runLength[i2 + 2];
27839
27839
  }
27840
27840
  this.stackSize--;
27841
- const k2 = gallopRight(array2[start2], array2, start1, length1, 0, compare6);
27842
- start1 += k2;
27843
- length1 -= k2;
27841
+ const k3 = gallopRight(array2[start2], array2, start1, length1, 0, compare6);
27842
+ start1 += k3;
27843
+ length1 -= k3;
27844
27844
  if (length1 === 0) {
27845
27845
  return;
27846
27846
  }
@@ -28858,7 +28858,7 @@ var require_parse4 = __commonJS({
28858
28858
  var symbolFor = (prefix) => Symbol.for(
28859
28859
  last_prop !== UNDEFINED ? prefix + COLON + last_prop : prefix
28860
28860
  );
28861
- var transform5 = (k2, { value, context = {} }) => reviver ? reviver(k2, value, context) : value;
28861
+ var transform5 = (k3, { value, context = {} }) => reviver ? reviver(k3, value, context) : value;
28862
28862
  var unexpected = () => {
28863
28863
  const error2 = new SyntaxError(`Unexpected token '${current.value.slice(0, 1)}', "${current_code}" is not valid JSON`);
28864
28864
  Object.assign(error2, current.loc.start);
@@ -29900,13 +29900,13 @@ var require_applyReviver = __commonJS({
29900
29900
  val[i2] = v1;
29901
29901
  }
29902
29902
  } else if (val instanceof Map) {
29903
- for (const k2 of Array.from(val.keys())) {
29904
- const v0 = val.get(k2);
29905
- const v1 = applyReviver(reviver, val, k2, v0);
29903
+ for (const k3 of Array.from(val.keys())) {
29904
+ const v0 = val.get(k3);
29905
+ const v1 = applyReviver(reviver, val, k3, v0);
29906
29906
  if (v1 === void 0)
29907
- val.delete(k2);
29907
+ val.delete(k3);
29908
29908
  else if (v1 !== v0)
29909
- val.set(k2, v1);
29909
+ val.set(k3, v1);
29910
29910
  }
29911
29911
  } else if (val instanceof Set) {
29912
29912
  for (const v0 of Array.from(val)) {
@@ -29919,12 +29919,12 @@ var require_applyReviver = __commonJS({
29919
29919
  }
29920
29920
  }
29921
29921
  } else {
29922
- for (const [k2, v0] of Object.entries(val)) {
29923
- const v1 = applyReviver(reviver, val, k2, v0);
29922
+ for (const [k3, v0] of Object.entries(val)) {
29923
+ const v1 = applyReviver(reviver, val, k3, v0);
29924
29924
  if (v1 === void 0)
29925
- delete val[k2];
29925
+ delete val[k3];
29926
29926
  else if (v1 !== v0)
29927
- val[k2] = v1;
29927
+ val[k3] = v1;
29928
29928
  }
29929
29929
  }
29930
29930
  }
@@ -30254,13 +30254,13 @@ var require_Collection = __commonJS({
30254
30254
  function collectionFromPath(schema2, path31, value) {
30255
30255
  let v2 = value;
30256
30256
  for (let i2 = path31.length - 1; i2 >= 0; --i2) {
30257
- const k2 = path31[i2];
30258
- if (typeof k2 === "number" && Number.isInteger(k2) && k2 >= 0) {
30257
+ const k3 = path31[i2];
30258
+ if (typeof k3 === "number" && Number.isInteger(k3) && k3 >= 0) {
30259
30259
  const a2 = [];
30260
- a2[k2] = v2;
30260
+ a2[k3] = v2;
30261
30261
  v2 = a2;
30262
30262
  } else {
30263
- v2 = /* @__PURE__ */ new Map([[k2, v2]]);
30263
+ v2 = /* @__PURE__ */ new Map([[k3, v2]]);
30264
30264
  }
30265
30265
  }
30266
30266
  return createNode.createNode(v2, void 0, {
@@ -31259,9 +31259,9 @@ var require_Pair = __commonJS({
31259
31259
  var addPairToJSMap = __import___addPairToJSMap_js;
31260
31260
  var identity2 = __import___identity_js;
31261
31261
  function createPair(key, value, ctx) {
31262
- const k2 = createNode.createNode(key, void 0, ctx);
31262
+ const k3 = createNode.createNode(key, void 0, ctx);
31263
31263
  const v2 = createNode.createNode(value, void 0, ctx);
31264
- return new Pair(k2, v2);
31264
+ return new Pair(k3, v2);
31265
31265
  }
31266
31266
  var Pair = class _Pair {
31267
31267
  constructor(key, value = null) {
@@ -31461,12 +31461,12 @@ var require_YAMLMap = __commonJS({
31461
31461
  var Pair = __import___Pair_js;
31462
31462
  var Scalar = __import___Scalar_js;
31463
31463
  function findPair(items, key) {
31464
- const k2 = identity2.isScalar(key) ? key.value : key;
31464
+ const k3 = identity2.isScalar(key) ? key.value : key;
31465
31465
  for (const it of items) {
31466
31466
  if (identity2.isPair(it)) {
31467
- if (it.key === key || it.key === k2)
31467
+ if (it.key === key || it.key === k3)
31468
31468
  return it;
31469
- if (identity2.isScalar(it.key) && it.key.value === k2)
31469
+ if (identity2.isScalar(it.key) && it.key.value === k3)
31470
31470
  return it;
31471
31471
  }
31472
31472
  }
@@ -33072,9 +33072,9 @@ var require_Document = __commonJS({
33072
33072
  * recursively wrapping all values as `Scalar` or `Collection` nodes.
33073
33073
  */
33074
33074
  createPair(key, value, options = {}) {
33075
- const k2 = this.createNode(key, null, options);
33075
+ const k3 = this.createNode(key, null, options);
33076
33076
  const v2 = this.createNode(value, null, options);
33077
- return new Pair.Pair(k2, v2);
33077
+ return new Pair.Pair(k3, v2);
33078
33078
  }
33079
33079
  /**
33080
33080
  * Removes a value from the document.
@@ -37244,19 +37244,19 @@ var require_json_buffer = __commonJS({
37244
37244
  var array2 = Array.isArray(o);
37245
37245
  s = array2 ? "[" : "{";
37246
37246
  var first3 = true;
37247
- for (var k2 in o) {
37248
- var ignore4 = "function" == typeof o[k2] || !array2 && "undefined" === typeof o[k2];
37249
- if (Object.hasOwnProperty.call(o, k2) && !ignore4) {
37247
+ for (var k3 in o) {
37248
+ var ignore4 = "function" == typeof o[k3] || !array2 && "undefined" === typeof o[k3];
37249
+ if (Object.hasOwnProperty.call(o, k3) && !ignore4) {
37250
37250
  if (!first3)
37251
37251
  s += ",";
37252
37252
  first3 = false;
37253
37253
  if (array2) {
37254
- if (o[k2] == void 0)
37254
+ if (o[k3] == void 0)
37255
37255
  s += "null";
37256
37256
  else
37257
- s += stringify5(o[k2]);
37258
- } else if (o[k2] !== void 0) {
37259
- s += stringify5(k2) + ":" + stringify5(o[k2]);
37257
+ s += stringify5(o[k3]);
37258
+ } else if (o[k3] !== void 0) {
37259
+ s += stringify5(k3) + ":" + stringify5(o[k3]);
37260
37260
  }
37261
37261
  }
37262
37262
  }
@@ -37508,18 +37508,18 @@ var init_esm = __esm({
37508
37508
  Primitives = (_2, value) => typeof value === primitive ? new Primitive(value) : value;
37509
37509
  resolver = (input, lazy, parsed, $) => (output) => {
37510
37510
  for (let ke = keys3(output), { length } = ke, y2 = 0; y2 < length; y2++) {
37511
- const k2 = ke[y2];
37512
- const value = output[k2];
37511
+ const k3 = ke[y2];
37512
+ const value = output[k3];
37513
37513
  if (value instanceof Primitive) {
37514
37514
  const tmp = input[+value];
37515
37515
  if (typeof tmp === object2 && !parsed.has(tmp)) {
37516
37516
  parsed.add(tmp);
37517
- output[k2] = ignore;
37518
- lazy.push({ o: output, k: k2, r: tmp });
37517
+ output[k3] = ignore;
37518
+ lazy.push({ o: output, k: k3, r: tmp });
37519
37519
  } else
37520
- output[k2] = $.call(output, k2, tmp);
37521
- } else if (output[k2] !== ignore)
37522
- output[k2] = $.call(output, k2, value);
37520
+ output[k3] = $.call(output, k3, tmp);
37521
+ } else if (output[k3] !== ignore)
37522
+ output[k3] = $.call(output, k3, value);
37523
37523
  }
37524
37524
  return output;
37525
37525
  };
@@ -37538,14 +37538,14 @@ var init_esm = __esm({
37538
37538
  value = revive(value);
37539
37539
  let i2 = 0;
37540
37540
  while (i2 < lazy.length) {
37541
- const { o, k: k2, r } = lazy[i2++];
37542
- o[k2] = $.call(o, k2, revive(r));
37541
+ const { o, k: k3, r } = lazy[i2++];
37542
+ o[k3] = $.call(o, k3, revive(r));
37543
37543
  }
37544
37544
  }
37545
37545
  return $.call({ "": value }, "", value);
37546
37546
  };
37547
37547
  stringify3 = (value, replacer, space) => {
37548
- const $ = replacer && typeof replacer === object2 ? (k2, v2) => k2 === "" || -1 < replacer.indexOf(k2) ? v2 : void 0 : replacer || noop;
37548
+ const $ = replacer && typeof replacer === object2 ? (k3, v2) => k3 === "" || -1 < replacer.indexOf(k3) ? v2 : void 0 : replacer || noop;
37549
37549
  const known = /* @__PURE__ */ new Map();
37550
37550
  const input = [];
37551
37551
  const output = [];
@@ -38364,9 +38364,9 @@ function __spread() {
38364
38364
  }
38365
38365
  function __spreadArrays() {
38366
38366
  for (var s = 0, i2 = 0, il = arguments.length; i2 < il; i2++) s += arguments[i2].length;
38367
- for (var r = Array(s), k2 = 0, i2 = 0; i2 < il; i2++)
38368
- for (var a2 = arguments[i2], j2 = 0, jl = a2.length; j2 < jl; j2++, k2++)
38369
- r[k2] = a2[j2];
38367
+ for (var r = Array(s), k3 = 0, i2 = 0; i2 < il; i2++)
38368
+ for (var a2 = arguments[i2], j2 = 0, jl = a2.length; j2 < jl; j2++, k3++)
38369
+ r[k3] = a2[j2];
38370
38370
  return r;
38371
38371
  }
38372
38372
  function __spreadArray(to, from, pack) {
@@ -38466,7 +38466,7 @@ function __importStar(mod) {
38466
38466
  if (mod && mod.__esModule) return mod;
38467
38467
  var result = {};
38468
38468
  if (mod != null) {
38469
- for (var k2 = ownKeys(mod), i2 = 0; i2 < k2.length; i2++) if (k2[i2] !== "default") __createBinding(result, mod, k2[i2]);
38469
+ for (var k3 = ownKeys(mod), i2 = 0; i2 < k3.length; i2++) if (k3[i2] !== "default") __createBinding(result, mod, k3[i2]);
38470
38470
  }
38471
38471
  __setModuleDefault(result, mod);
38472
38472
  return result;
@@ -38572,18 +38572,18 @@ var init_tslib_es6 = __esm({
38572
38572
  };
38573
38573
  return __assign.apply(this, arguments);
38574
38574
  };
38575
- __createBinding = Object.create ? (function(o, m2, k2, k22) {
38576
- if (k22 === void 0) k22 = k2;
38577
- var desc = Object.getOwnPropertyDescriptor(m2, k2);
38575
+ __createBinding = Object.create ? (function(o, m2, k3, k22) {
38576
+ if (k22 === void 0) k22 = k3;
38577
+ var desc = Object.getOwnPropertyDescriptor(m2, k3);
38578
38578
  if (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) {
38579
38579
  desc = { enumerable: true, get: function() {
38580
- return m2[k2];
38580
+ return m2[k3];
38581
38581
  } };
38582
38582
  }
38583
38583
  Object.defineProperty(o, k22, desc);
38584
- }) : (function(o, m2, k2, k22) {
38585
- if (k22 === void 0) k22 = k2;
38586
- o[k22] = m2[k2];
38584
+ }) : (function(o, m2, k3, k22) {
38585
+ if (k22 === void 0) k22 = k3;
38586
+ o[k22] = m2[k3];
38587
38587
  });
38588
38588
  __setModuleDefault = Object.create ? (function(o, v2) {
38589
38589
  Object.defineProperty(o, "default", { enumerable: true, value: v2 });
@@ -38593,7 +38593,7 @@ var init_tslib_es6 = __esm({
38593
38593
  ownKeys = function(o) {
38594
38594
  ownKeys = Object.getOwnPropertyNames || function(o2) {
38595
38595
  var ar = [];
38596
- for (var k2 in o2) if (Object.prototype.hasOwnProperty.call(o2, k2)) ar[ar.length] = k2;
38596
+ for (var k3 in o2) if (Object.prototype.hasOwnProperty.call(o2, k3)) ar[ar.length] = k3;
38597
38597
  return ar;
38598
38598
  };
38599
38599
  return ownKeys(o);
@@ -41003,8 +41003,8 @@ var require_brace_expansion = __commonJS({
41003
41003
  var pre = m2.pre;
41004
41004
  var post = m2.post.length ? expand5(m2.post, max4, false) : [""];
41005
41005
  if (/\$$/.test(m2.pre)) {
41006
- for (var k2 = 0; k2 < post.length && k2 < max4; k2++) {
41007
- var expansion = pre + "{" + m2.body + "}" + post[k2];
41006
+ for (var k3 = 0; k3 < post.length && k3 < max4; k3++) {
41007
+ var expansion = pre + "{" + m2.body + "}" + post[k3];
41008
41008
  expansions.push(expansion);
41009
41009
  }
41010
41010
  } else {
@@ -41075,8 +41075,8 @@ var require_brace_expansion = __commonJS({
41075
41075
  }
41076
41076
  }
41077
41077
  for (var j2 = 0; j2 < N.length; j2++) {
41078
- for (var k2 = 0; k2 < post.length && expansions.length < max4; k2++) {
41079
- var expansion = pre + N[j2] + post[k2];
41078
+ for (var k3 = 0; k3 < post.length && expansions.length < max4; k3++) {
41079
+ var expansion = pre + N[j2] + post[k3];
41080
41080
  if (!isTop || isSequence || expansion)
41081
41081
  expansions.push(expansion);
41082
41082
  }
@@ -42881,7 +42881,7 @@ var init_esm3 = __esm({
42881
42881
  free: c.#free,
42882
42882
  // methods
42883
42883
  isBackgroundFetch: (p) => c.#isBackgroundFetch(p),
42884
- backgroundFetch: (k2, index2, options, context) => c.#backgroundFetch(k2, index2, options, context),
42884
+ backgroundFetch: (k3, index2, options, context) => c.#backgroundFetch(k3, index2, options, context),
42885
42885
  moveToTail: (index2) => c.#moveToTail(index2),
42886
42886
  indexes: (options) => c.#indexes(options),
42887
42887
  rindexes: (options) => c.#rindexes(options),
@@ -43118,7 +43118,7 @@ var init_esm3 = __esm({
43118
43118
  this.#calculatedSize -= sizes[index2];
43119
43119
  sizes[index2] = 0;
43120
43120
  };
43121
- this.#requireSize = (k2, v2, size, sizeCalculation) => {
43121
+ this.#requireSize = (k3, v2, size, sizeCalculation) => {
43122
43122
  if (this.#isBackgroundFetch(v2)) {
43123
43123
  return 0;
43124
43124
  }
@@ -43127,7 +43127,7 @@ var init_esm3 = __esm({
43127
43127
  if (typeof sizeCalculation !== "function") {
43128
43128
  throw new TypeError("sizeCalculation must be a function");
43129
43129
  }
43130
- size = sizeCalculation(v2, k2);
43130
+ size = sizeCalculation(v2, k3);
43131
43131
  if (!isPosInt(size)) {
43132
43132
  throw new TypeError("sizeCalculation return invalid (expect positive integer)");
43133
43133
  }
@@ -43229,9 +43229,9 @@ var init_esm3 = __esm({
43229
43229
  */
43230
43230
  *keys() {
43231
43231
  for (const i2 of this.#indexes()) {
43232
- const k2 = this.#keyList[i2];
43233
- if (k2 !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) {
43234
- yield k2;
43232
+ const k3 = this.#keyList[i2];
43233
+ if (k3 !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) {
43234
+ yield k3;
43235
43235
  }
43236
43236
  }
43237
43237
  }
@@ -43243,9 +43243,9 @@ var init_esm3 = __esm({
43243
43243
  */
43244
43244
  *rkeys() {
43245
43245
  for (const i2 of this.#rindexes()) {
43246
- const k2 = this.#keyList[i2];
43247
- if (k2 !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) {
43248
- yield k2;
43246
+ const k3 = this.#keyList[i2];
43247
+ if (k3 !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) {
43248
+ yield k3;
43249
43249
  }
43250
43250
  }
43251
43251
  }
@@ -43468,28 +43468,28 @@ var init_esm3 = __esm({
43468
43468
  * If the value is `undefined`, then this is an alias for
43469
43469
  * `cache.delete(key)`. `undefined` is never stored in the cache.
43470
43470
  */
43471
- set(k2, v2, setOptions = {}) {
43471
+ set(k3, v2, setOptions = {}) {
43472
43472
  if (v2 === void 0) {
43473
- this.delete(k2);
43473
+ this.delete(k3);
43474
43474
  return this;
43475
43475
  }
43476
43476
  const { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status } = setOptions;
43477
43477
  let { noUpdateTTL = this.noUpdateTTL } = setOptions;
43478
- const size = this.#requireSize(k2, v2, setOptions.size || 0, sizeCalculation);
43478
+ const size = this.#requireSize(k3, v2, setOptions.size || 0, sizeCalculation);
43479
43479
  if (this.maxEntrySize && size > this.maxEntrySize) {
43480
43480
  if (status) {
43481
43481
  status.set = "miss";
43482
43482
  status.maxEntrySizeExceeded = true;
43483
43483
  }
43484
- this.#delete(k2, "set");
43484
+ this.#delete(k3, "set");
43485
43485
  return this;
43486
43486
  }
43487
- let index2 = this.#size === 0 ? void 0 : this.#keyMap.get(k2);
43487
+ let index2 = this.#size === 0 ? void 0 : this.#keyMap.get(k3);
43488
43488
  if (index2 === void 0) {
43489
43489
  index2 = this.#size === 0 ? this.#tail : this.#free.length !== 0 ? this.#free.pop() : this.#size === this.#max ? this.#evict(false) : this.#size;
43490
- this.#keyList[index2] = k2;
43490
+ this.#keyList[index2] = k3;
43491
43491
  this.#valList[index2] = v2;
43492
- this.#keyMap.set(k2, index2);
43492
+ this.#keyMap.set(k3, index2);
43493
43493
  this.#next[this.#tail] = index2;
43494
43494
  this.#prev[index2] = this.#tail;
43495
43495
  this.#tail = index2;
@@ -43507,18 +43507,18 @@ var init_esm3 = __esm({
43507
43507
  const { __staleWhileFetching: s } = oldVal;
43508
43508
  if (s !== void 0 && !noDisposeOnSet) {
43509
43509
  if (this.#hasDispose) {
43510
- this.#dispose?.(s, k2, "set");
43510
+ this.#dispose?.(s, k3, "set");
43511
43511
  }
43512
43512
  if (this.#hasDisposeAfter) {
43513
- this.#disposed?.push([s, k2, "set"]);
43513
+ this.#disposed?.push([s, k3, "set"]);
43514
43514
  }
43515
43515
  }
43516
43516
  } else if (!noDisposeOnSet) {
43517
43517
  if (this.#hasDispose) {
43518
- this.#dispose?.(oldVal, k2, "set");
43518
+ this.#dispose?.(oldVal, k3, "set");
43519
43519
  }
43520
43520
  if (this.#hasDisposeAfter) {
43521
- this.#disposed?.push([oldVal, k2, "set"]);
43521
+ this.#disposed?.push([oldVal, k3, "set"]);
43522
43522
  }
43523
43523
  }
43524
43524
  this.#removeItemSize(index2);
@@ -43582,16 +43582,16 @@ var init_esm3 = __esm({
43582
43582
  }
43583
43583
  #evict(free) {
43584
43584
  const head = this.#head;
43585
- const k2 = this.#keyList[head];
43585
+ const k3 = this.#keyList[head];
43586
43586
  const v2 = this.#valList[head];
43587
43587
  if (this.#hasFetchMethod && this.#isBackgroundFetch(v2)) {
43588
43588
  v2.__abortController.abort(new Error("evicted"));
43589
43589
  } else if (this.#hasDispose || this.#hasDisposeAfter) {
43590
43590
  if (this.#hasDispose) {
43591
- this.#dispose?.(v2, k2, "evict");
43591
+ this.#dispose?.(v2, k3, "evict");
43592
43592
  }
43593
43593
  if (this.#hasDisposeAfter) {
43594
- this.#disposed?.push([v2, k2, "evict"]);
43594
+ this.#disposed?.push([v2, k3, "evict"]);
43595
43595
  }
43596
43596
  }
43597
43597
  this.#removeItemSize(head);
@@ -43606,7 +43606,7 @@ var init_esm3 = __esm({
43606
43606
  } else {
43607
43607
  this.#head = this.#next[head];
43608
43608
  }
43609
- this.#keyMap.delete(k2);
43609
+ this.#keyMap.delete(k3);
43610
43610
  this.#size--;
43611
43611
  return head;
43612
43612
  }
@@ -43626,9 +43626,9 @@ var init_esm3 = __esm({
43626
43626
  * Will not update item age unless
43627
43627
  * {@link LRUCache.OptionsBase.updateAgeOnHas} is set.
43628
43628
  */
43629
- has(k2, hasOptions = {}) {
43629
+ has(k3, hasOptions = {}) {
43630
43630
  const { updateAgeOnHas = this.updateAgeOnHas, status } = hasOptions;
43631
- const index2 = this.#keyMap.get(k2);
43631
+ const index2 = this.#keyMap.get(k3);
43632
43632
  if (index2 !== void 0) {
43633
43633
  const v2 = this.#valList[index2];
43634
43634
  if (this.#isBackgroundFetch(v2) && v2.__staleWhileFetching === void 0) {
@@ -43659,16 +43659,16 @@ var init_esm3 = __esm({
43659
43659
  * Returns `undefined` if the item is stale, unless
43660
43660
  * {@link LRUCache.OptionsBase.allowStale} is set.
43661
43661
  */
43662
- peek(k2, peekOptions = {}) {
43662
+ peek(k3, peekOptions = {}) {
43663
43663
  const { allowStale = this.allowStale } = peekOptions;
43664
- const index2 = this.#keyMap.get(k2);
43664
+ const index2 = this.#keyMap.get(k3);
43665
43665
  if (index2 === void 0 || !allowStale && this.#isStale(index2)) {
43666
43666
  return;
43667
43667
  }
43668
43668
  const v2 = this.#valList[index2];
43669
43669
  return this.#isBackgroundFetch(v2) ? v2.__staleWhileFetching : v2;
43670
43670
  }
43671
- #backgroundFetch(k2, index2, options, context) {
43671
+ #backgroundFetch(k3, index2, options, context) {
43672
43672
  const v2 = index2 === void 0 ? void 0 : this.#valList[index2];
43673
43673
  if (this.#isBackgroundFetch(v2)) {
43674
43674
  return v2;
@@ -43705,12 +43705,12 @@ var init_esm3 = __esm({
43705
43705
  if (bf2.__staleWhileFetching) {
43706
43706
  this.#valList[index2] = bf2.__staleWhileFetching;
43707
43707
  } else {
43708
- this.#delete(k2, "fetch");
43708
+ this.#delete(k3, "fetch");
43709
43709
  }
43710
43710
  } else {
43711
43711
  if (options.status)
43712
43712
  options.status.fetchUpdated = true;
43713
- this.set(k2, v3, fetchOpts.options);
43713
+ this.set(k3, v3, fetchOpts.options);
43714
43714
  }
43715
43715
  }
43716
43716
  return v3;
@@ -43731,7 +43731,7 @@ var init_esm3 = __esm({
43731
43731
  if (this.#valList[index2] === p) {
43732
43732
  const del = !noDelete || bf2.__staleWhileFetching === void 0;
43733
43733
  if (del) {
43734
- this.#delete(k2, "fetch");
43734
+ this.#delete(k3, "fetch");
43735
43735
  } else if (!allowStaleAborted) {
43736
43736
  this.#valList[index2] = bf2.__staleWhileFetching;
43737
43737
  }
@@ -43746,7 +43746,7 @@ var init_esm3 = __esm({
43746
43746
  }
43747
43747
  };
43748
43748
  const pcall = (res, rej) => {
43749
- const fmp = this.#fetchMethod?.(k2, v2, fetchOpts);
43749
+ const fmp = this.#fetchMethod?.(k3, v2, fetchOpts);
43750
43750
  if (fmp && fmp instanceof Promise) {
43751
43751
  fmp.then((v3) => res(v3 === void 0 ? void 0 : v3), rej);
43752
43752
  }
@@ -43768,8 +43768,8 @@ var init_esm3 = __esm({
43768
43768
  __returned: void 0
43769
43769
  });
43770
43770
  if (index2 === void 0) {
43771
- this.set(k2, bf, { ...fetchOpts.options, status: void 0 });
43772
- index2 = this.#keyMap.get(k2);
43771
+ this.set(k3, bf, { ...fetchOpts.options, status: void 0 });
43772
+ index2 = this.#keyMap.get(k3);
43773
43773
  } else {
43774
43774
  this.#valList[index2] = bf;
43775
43775
  }
@@ -43781,7 +43781,7 @@ var init_esm3 = __esm({
43781
43781
  const b = p;
43782
43782
  return !!b && b instanceof Promise && b.hasOwnProperty("__staleWhileFetching") && b.__abortController instanceof AC;
43783
43783
  }
43784
- async fetch(k2, fetchOptions = {}) {
43784
+ async fetch(k3, fetchOptions = {}) {
43785
43785
  const {
43786
43786
  // get options
43787
43787
  allowStale = this.allowStale,
@@ -43806,7 +43806,7 @@ var init_esm3 = __esm({
43806
43806
  if (!this.#hasFetchMethod) {
43807
43807
  if (status)
43808
43808
  status.fetch = "get";
43809
- return this.get(k2, {
43809
+ return this.get(k3, {
43810
43810
  allowStale,
43811
43811
  updateAgeOnGet,
43812
43812
  noDeleteOnStaleGet,
@@ -43829,11 +43829,11 @@ var init_esm3 = __esm({
43829
43829
  status,
43830
43830
  signal
43831
43831
  };
43832
- let index2 = this.#keyMap.get(k2);
43832
+ let index2 = this.#keyMap.get(k3);
43833
43833
  if (index2 === void 0) {
43834
43834
  if (status)
43835
43835
  status.fetch = "miss";
43836
- const p = this.#backgroundFetch(k2, index2, options, context);
43836
+ const p = this.#backgroundFetch(k3, index2, options, context);
43837
43837
  return p.__returned = p;
43838
43838
  } else {
43839
43839
  const v2 = this.#valList[index2];
@@ -43858,7 +43858,7 @@ var init_esm3 = __esm({
43858
43858
  this.#statusTTL(status, index2);
43859
43859
  return v2;
43860
43860
  }
43861
- const p = this.#backgroundFetch(k2, index2, options, context);
43861
+ const p = this.#backgroundFetch(k3, index2, options, context);
43862
43862
  const hasStale = p.__staleWhileFetching !== void 0;
43863
43863
  const staleVal = hasStale && allowStale;
43864
43864
  if (status) {
@@ -43869,26 +43869,26 @@ var init_esm3 = __esm({
43869
43869
  return staleVal ? p.__staleWhileFetching : p.__returned = p;
43870
43870
  }
43871
43871
  }
43872
- async forceFetch(k2, fetchOptions = {}) {
43873
- const v2 = await this.fetch(k2, fetchOptions);
43872
+ async forceFetch(k3, fetchOptions = {}) {
43873
+ const v2 = await this.fetch(k3, fetchOptions);
43874
43874
  if (v2 === void 0)
43875
43875
  throw new Error("fetch() returned undefined");
43876
43876
  return v2;
43877
43877
  }
43878
- memo(k2, memoOptions = {}) {
43878
+ memo(k3, memoOptions = {}) {
43879
43879
  const memoMethod = this.#memoMethod;
43880
43880
  if (!memoMethod) {
43881
43881
  throw new Error("no memoMethod provided to constructor");
43882
43882
  }
43883
43883
  const { context, forceRefresh, ...options } = memoOptions;
43884
- const v2 = this.get(k2, options);
43884
+ const v2 = this.get(k3, options);
43885
43885
  if (!forceRefresh && v2 !== void 0)
43886
43886
  return v2;
43887
- const vv = memoMethod(k2, v2, {
43887
+ const vv = memoMethod(k3, v2, {
43888
43888
  options,
43889
43889
  context
43890
43890
  });
43891
- this.set(k2, vv, options);
43891
+ this.set(k3, vv, options);
43892
43892
  return vv;
43893
43893
  }
43894
43894
  /**
@@ -43897,9 +43897,9 @@ var init_esm3 = __esm({
43897
43897
  *
43898
43898
  * If the key is not found, get() will return `undefined`.
43899
43899
  */
43900
- get(k2, getOptions2 = {}) {
43900
+ get(k3, getOptions2 = {}) {
43901
43901
  const { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status } = getOptions2;
43902
- const index2 = this.#keyMap.get(k2);
43902
+ const index2 = this.#keyMap.get(k3);
43903
43903
  if (index2 !== void 0) {
43904
43904
  const value = this.#valList[index2];
43905
43905
  const fetching = this.#isBackgroundFetch(value);
@@ -43910,7 +43910,7 @@ var init_esm3 = __esm({
43910
43910
  status.get = "stale";
43911
43911
  if (!fetching) {
43912
43912
  if (!noDeleteOnStaleGet) {
43913
- this.#delete(k2, "expire");
43913
+ this.#delete(k3, "expire");
43914
43914
  }
43915
43915
  if (status && allowStale)
43916
43916
  status.returnedStale = true;
@@ -43957,13 +43957,13 @@ var init_esm3 = __esm({
43957
43957
  *
43958
43958
  * Returns true if the key was deleted, false otherwise.
43959
43959
  */
43960
- delete(k2) {
43961
- return this.#delete(k2, "delete");
43960
+ delete(k3) {
43961
+ return this.#delete(k3, "delete");
43962
43962
  }
43963
- #delete(k2, reason) {
43963
+ #delete(k3, reason) {
43964
43964
  let deleted = false;
43965
43965
  if (this.#size !== 0) {
43966
- const index2 = this.#keyMap.get(k2);
43966
+ const index2 = this.#keyMap.get(k3);
43967
43967
  if (index2 !== void 0) {
43968
43968
  deleted = true;
43969
43969
  if (this.#size === 1) {
@@ -43975,13 +43975,13 @@ var init_esm3 = __esm({
43975
43975
  v2.__abortController.abort(new Error("deleted"));
43976
43976
  } else if (this.#hasDispose || this.#hasDisposeAfter) {
43977
43977
  if (this.#hasDispose) {
43978
- this.#dispose?.(v2, k2, reason);
43978
+ this.#dispose?.(v2, k3, reason);
43979
43979
  }
43980
43980
  if (this.#hasDisposeAfter) {
43981
- this.#disposed?.push([v2, k2, reason]);
43981
+ this.#disposed?.push([v2, k3, reason]);
43982
43982
  }
43983
43983
  }
43984
- this.#keyMap.delete(k2);
43984
+ this.#keyMap.delete(k3);
43985
43985
  this.#keyList[index2] = void 0;
43986
43986
  this.#valList[index2] = void 0;
43987
43987
  if (index2 === this.#tail) {
@@ -44020,12 +44020,12 @@ var init_esm3 = __esm({
44020
44020
  if (this.#isBackgroundFetch(v2)) {
44021
44021
  v2.__abortController.abort(new Error("deleted"));
44022
44022
  } else {
44023
- const k2 = this.#keyList[index2];
44023
+ const k3 = this.#keyList[index2];
44024
44024
  if (this.#hasDispose) {
44025
- this.#dispose?.(v2, k2, reason);
44025
+ this.#dispose?.(v2, k3, reason);
44026
44026
  }
44027
44027
  if (this.#hasDisposeAfter) {
44028
- this.#disposed?.push([v2, k2, reason]);
44028
+ this.#disposed?.push([v2, k3, reason]);
44029
44029
  }
44030
44030
  }
44031
44031
  }
@@ -47012,7 +47012,7 @@ var init_processor = __esm({
47012
47012
  return subs;
47013
47013
  }
47014
47014
  entries() {
47015
- return this.keys().map((k2) => [k2, this.store.get(k2)]);
47015
+ return this.keys().map((k3) => [k3, this.store.get(k3)]);
47016
47016
  }
47017
47017
  keys() {
47018
47018
  return [...this.store.keys()].filter((t) => t.canReaddir());
@@ -95421,7 +95421,7 @@ ${lanes.join("\n")}
95421
95421
  }
95422
95422
  function createDiagnosticForInvalidCustomType(opt, createDiagnostic) {
95423
95423
  const namesOfType = arrayFrom(opt.type.keys());
95424
- const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k2) => !opt.deprecatedKeys.has(k2)) : namesOfType).map((key) => `'${key}'`).join(", ");
95424
+ const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k3) => !opt.deprecatedKeys.has(k3)) : namesOfType).map((key) => `'${key}'`).join(", ");
95425
95425
  return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, stringNames);
95426
95426
  }
95427
95427
  function parseCustomTypeOption(opt, value, errors) {
@@ -96143,7 +96143,7 @@ ${lanes.join("\n")}
96143
96143
  function generateTSConfig(options, newLine2) {
96144
96144
  const tab = " ";
96145
96145
  const result = [];
96146
- const allSetOptions = Object.keys(options).filter((k2) => k2 !== "init" && k2 !== "help" && k2 !== "watch");
96146
+ const allSetOptions = Object.keys(options).filter((k3) => k3 !== "init" && k3 !== "help" && k3 !== "watch");
96147
96147
  result.push(`{`);
96148
96148
  result.push(`${tab}// ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)}`);
96149
96149
  result.push(`${tab}"compilerOptions": {`);
@@ -99165,10 +99165,10 @@ ${lanes.join("\n")}
99165
99165
  return idx2 === -1 ? { packageName: moduleName, rest: "" } : { packageName: moduleName.slice(0, idx2), rest: moduleName.slice(idx2 + 1) };
99166
99166
  }
99167
99167
  function allKeysStartWithDot(obj) {
99168
- return every(getOwnKeys(obj), (k2) => startsWith(k2, "."));
99168
+ return every(getOwnKeys(obj), (k3) => startsWith(k3, "."));
99169
99169
  }
99170
99170
  function noKeyStartsWithDot(obj) {
99171
- return !some(getOwnKeys(obj), (k2) => startsWith(k2, "."));
99171
+ return !some(getOwnKeys(obj), (k3) => startsWith(k3, "."));
99172
99172
  }
99173
99173
  function loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache5, redirectedReference) {
99174
99174
  var _a5, _b;
@@ -99336,7 +99336,7 @@ ${lanes.join("\n")}
99336
99336
  moduleName
99337
99337
  );
99338
99338
  }
99339
- const expandingKeys = toSorted(filter6(getOwnKeys(lookupTable), (k2) => hasOneAsterisk(k2) || endsWith(k2, "/")), comparePatternKeys);
99339
+ const expandingKeys = toSorted(filter6(getOwnKeys(lookupTable), (k3) => hasOneAsterisk(k3) || endsWith(k3, "/")), comparePatternKeys);
99340
99340
  for (const potentialTarget of expandingKeys) {
99341
99341
  if (state.features & 16 && matchesPatternWithTrailer(potentialTarget, moduleName)) {
99342
99342
  const target = lookupTable[potentialTarget];
@@ -104277,20 +104277,20 @@ ${lanes.join("\n")}
104277
104277
  }
104278
104278
  function tryGetModuleNameFromExports(options, host, targetFilePath, packageDirectory, packageName2, exports22, conditions) {
104279
104279
  if (typeof exports22 === "object" && exports22 !== null && !Array.isArray(exports22) && allKeysStartWithDot(exports22)) {
104280
- return forEach3(getOwnKeys(exports22), (k2) => {
104280
+ return forEach3(getOwnKeys(exports22), (k3) => {
104281
104281
  const subPackageName = getNormalizedAbsolutePath(
104282
- combinePaths(packageName2, k2),
104282
+ combinePaths(packageName2, k3),
104283
104283
  /*currentDirectory*/
104284
104284
  void 0
104285
104285
  );
104286
- const mode = endsWith(k2, "/") ? 1 : k2.includes("*") ? 2 : 0;
104286
+ const mode = endsWith(k3, "/") ? 1 : k3.includes("*") ? 2 : 0;
104287
104287
  return tryGetModuleNameFromExportsOrImports(
104288
104288
  options,
104289
104289
  host,
104290
104290
  targetFilePath,
104291
104291
  packageDirectory,
104292
104292
  subPackageName,
104293
- exports22[k2],
104293
+ exports22[k3],
104294
104294
  conditions,
104295
104295
  mode,
104296
104296
  /*isImports*/
@@ -104335,16 +104335,16 @@ ${lanes.join("\n")}
104335
104335
  return void 0;
104336
104336
  }
104337
104337
  const conditions = getConditions(options, importMode);
104338
- return (_c = forEach3(getOwnKeys(imports), (k2) => {
104339
- if (!startsWith(k2, "#") || k2 === "#" || startsWith(k2, "#/")) return void 0;
104340
- const mode = endsWith(k2, "/") ? 1 : k2.includes("*") ? 2 : 0;
104338
+ return (_c = forEach3(getOwnKeys(imports), (k3) => {
104339
+ if (!startsWith(k3, "#") || k3 === "#" || startsWith(k3, "#/")) return void 0;
104340
+ const mode = endsWith(k3, "/") ? 1 : k3.includes("*") ? 2 : 0;
104341
104341
  return tryGetModuleNameFromExportsOrImports(
104342
104342
  options,
104343
104343
  host,
104344
104344
  moduleFileName,
104345
104345
  ancestorDirectoryWithPackageJson,
104346
- k2,
104347
- imports[k2],
104346
+ k3,
104347
+ imports[k3],
104348
104348
  conditions,
104349
104349
  mode,
104350
104350
  /*isImports*/
@@ -189544,31 +189544,31 @@ ${lanes.join("\n")}
189544
189544
  function create22(forward, reverse, deleted) {
189545
189545
  const map22 = {
189546
189546
  getKeys: (v2) => reverse.get(v2),
189547
- getValues: (k2) => forward.get(k2),
189547
+ getValues: (k3) => forward.get(k3),
189548
189548
  keys: () => forward.keys(),
189549
189549
  size: () => forward.size,
189550
- deleteKey: (k2) => {
189551
- (deleted || (deleted = /* @__PURE__ */ new Set())).add(k2);
189552
- const set5 = forward.get(k2);
189550
+ deleteKey: (k3) => {
189551
+ (deleted || (deleted = /* @__PURE__ */ new Set())).add(k3);
189552
+ const set5 = forward.get(k3);
189553
189553
  if (!set5) {
189554
189554
  return false;
189555
189555
  }
189556
- set5.forEach((v2) => deleteFromMultimap(reverse, v2, k2));
189557
- forward.delete(k2);
189556
+ set5.forEach((v2) => deleteFromMultimap(reverse, v2, k3));
189557
+ forward.delete(k3);
189558
189558
  return true;
189559
189559
  },
189560
- set: (k2, vSet) => {
189561
- deleted == null ? void 0 : deleted.delete(k2);
189562
- const existingVSet = forward.get(k2);
189563
- forward.set(k2, vSet);
189560
+ set: (k3, vSet) => {
189561
+ deleted == null ? void 0 : deleted.delete(k3);
189562
+ const existingVSet = forward.get(k3);
189563
+ forward.set(k3, vSet);
189564
189564
  existingVSet == null ? void 0 : existingVSet.forEach((v2) => {
189565
189565
  if (!vSet.has(v2)) {
189566
- deleteFromMultimap(reverse, v2, k2);
189566
+ deleteFromMultimap(reverse, v2, k3);
189567
189567
  }
189568
189568
  });
189569
189569
  vSet.forEach((v2) => {
189570
189570
  if (!(existingVSet == null ? void 0 : existingVSet.has(v2))) {
189571
- addToMultimap(reverse, v2, k2);
189571
+ addToMultimap(reverse, v2, k3);
189572
189572
  }
189573
189573
  });
189574
189574
  return map22;
@@ -189584,19 +189584,19 @@ ${lanes.join("\n")}
189584
189584
  );
189585
189585
  }
189586
189586
  BuilderState2.createManyToManyPathMap = createManyToManyPathMap;
189587
- function addToMultimap(map22, k2, v2) {
189588
- let set5 = map22.get(k2);
189587
+ function addToMultimap(map22, k3, v2) {
189588
+ let set5 = map22.get(k3);
189589
189589
  if (!set5) {
189590
189590
  set5 = /* @__PURE__ */ new Set();
189591
- map22.set(k2, set5);
189591
+ map22.set(k3, set5);
189592
189592
  }
189593
189593
  set5.add(v2);
189594
189594
  }
189595
- function deleteFromMultimap(map22, k2, v2) {
189596
- const set5 = map22.get(k2);
189595
+ function deleteFromMultimap(map22, k3, v2) {
189596
+ const set5 = map22.get(k3);
189597
189597
  if (set5 == null ? void 0 : set5.delete(v2)) {
189598
189598
  if (!set5.size) {
189599
- map22.delete(k2);
189599
+ map22.delete(k3);
189600
189600
  }
189601
189601
  return true;
189602
189602
  }
@@ -211178,7 +211178,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
211178
211178
  }
211179
211179
  function getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes) {
211180
211180
  const variableAssignments = map4(exposedVariableDeclarations, (v2) => factory.createShorthandPropertyAssignment(v2.symbol.name));
211181
- const writeAssignments = map4(writes, (w3) => factory.createShorthandPropertyAssignment(w3.symbol.name));
211181
+ const writeAssignments = map4(writes, (w2) => factory.createShorthandPropertyAssignment(w2.symbol.name));
211182
211182
  return variableAssignments === void 0 ? writeAssignments : writeAssignments === void 0 ? variableAssignments : variableAssignments.concat(writeAssignments);
211183
211183
  }
211184
211184
  function isReadonlyArray2(v2) {
@@ -250940,10 +250940,10 @@ ${options.prefix}` : "\n" : options.prefix
250940
250940
  };
250941
250941
  const pluginModule = pluginModuleFactory({ typescript: ts_exports2 });
250942
250942
  const newLS = pluginModule.create(info);
250943
- for (const k2 of Object.keys(this.languageService)) {
250944
- if (!(k2 in newLS)) {
250945
- this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${k2} in created LS. Patching.`);
250946
- newLS[k2] = this.languageService[k2];
250943
+ for (const k3 of Object.keys(this.languageService)) {
250944
+ if (!(k3 in newLS)) {
250945
+ this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${k3} in created LS. Patching.`);
250946
+ newLS[k3] = this.languageService[k3];
250947
250947
  }
250948
250948
  }
250949
250949
  this.projectService.logger.info(`Plugin validation succeeded`);
@@ -252465,8 +252465,8 @@ ${options.prefix}` : "\n" : options.prefix
252465
252465
  return;
252466
252466
  }
252467
252467
  const raw = JSON.parse(fileContent);
252468
- for (const k2 of Object.keys(raw.typesMap)) {
252469
- raw.typesMap[k2].match = new RegExp(raw.typesMap[k2].match, "i");
252468
+ for (const k3 of Object.keys(raw.typesMap)) {
252469
+ raw.typesMap[k3].match = new RegExp(raw.typesMap[k3].match, "i");
252470
252470
  }
252471
252471
  this.safelist = raw.typesMap;
252472
252472
  for (const key in raw.simpleMap) {
@@ -259845,12 +259845,12 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
259845
259845
  }
259846
259846
  let branchParent;
259847
259847
  let lastZeroCount;
259848
- for (let k2 = this.endBranch.length - 1; k2 >= 0; k2--) {
259849
- this.endBranch[k2].updateCounts();
259850
- if (this.endBranch[k2].charCount() === 0) {
259851
- lastZeroCount = this.endBranch[k2];
259852
- if (k2 > 0) {
259853
- branchParent = this.endBranch[k2 - 1];
259848
+ for (let k3 = this.endBranch.length - 1; k3 >= 0; k3--) {
259849
+ this.endBranch[k3].updateCounts();
259850
+ if (this.endBranch[k3].charCount() === 0) {
259851
+ lastZeroCount = this.endBranch[k3];
259852
+ if (k3 > 0) {
259853
+ branchParent = this.endBranch[k3 - 1];
259854
259854
  } else {
259855
259855
  branchParent = this.branchNode;
259856
259856
  }
@@ -261096,8 +261096,8 @@ var require_utils10 = __commonJS({
261096
261096
  if (v2 == null) {
261097
261097
  return true;
261098
261098
  }
261099
- for (const k2 in v2) {
261100
- if (v2.hasOwnProperty(k2)) {
261099
+ for (const k3 in v2) {
261100
+ if (v2.hasOwnProperty(k3)) {
261101
261101
  return false;
261102
261102
  }
261103
261103
  }
@@ -261696,7 +261696,7 @@ var require_ms = __commonJS({
261696
261696
  var m2 = s * 60;
261697
261697
  var h = m2 * 60;
261698
261698
  var d2 = h * 24;
261699
- var w3 = d2 * 7;
261699
+ var w2 = d2 * 7;
261700
261700
  var y2 = d2 * 365.25;
261701
261701
  module.exports = function(val, options) {
261702
261702
  options = options || {};
@@ -261733,7 +261733,7 @@ var require_ms = __commonJS({
261733
261733
  case "weeks":
261734
261734
  case "week":
261735
261735
  case "w":
261736
- return n * w3;
261736
+ return n * w2;
261737
261737
  case "days":
261738
261738
  case "day":
261739
261739
  case "d":
@@ -262264,8 +262264,8 @@ var require_node = __commonJS({
262264
262264
  exports2.inspectOpts = Object.keys(process.env).filter((key) => {
262265
262265
  return /^debug_/i.test(key);
262266
262266
  }).reduce((obj, key) => {
262267
- const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_2, k2) => {
262268
- return k2.toUpperCase();
262267
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_2, k3) => {
262268
+ return k3.toUpperCase();
262269
262269
  });
262270
262270
  let val = process.env[key];
262271
262271
  if (/^(yes|on|true|enabled)$/i.test(val)) {
@@ -262394,30 +262394,30 @@ var require_ini2 = __commonJS({
262394
262394
  let padToChars = 0;
262395
262395
  if (opt.align) {
262396
262396
  padToChars = safe(
262397
- keys4.filter((k2) => obj[k2] === null || Array.isArray(obj[k2]) || typeof obj[k2] !== "object").map((k2) => Array.isArray(obj[k2]) ? `${k2}[]` : k2).concat([""]).reduce((a2, b) => safe(a2).length >= safe(b).length ? a2 : b)
262397
+ keys4.filter((k3) => obj[k3] === null || Array.isArray(obj[k3]) || typeof obj[k3] !== "object").map((k3) => Array.isArray(obj[k3]) ? `${k3}[]` : k3).concat([""]).reduce((a2, b) => safe(a2).length >= safe(b).length ? a2 : b)
262398
262398
  ).length;
262399
262399
  }
262400
262400
  let out = "";
262401
262401
  const arraySuffix = opt.bracketedArray ? "[]" : "";
262402
- for (const k2 of keys4) {
262403
- const val = obj[k2];
262402
+ for (const k3 of keys4) {
262403
+ const val = obj[k3];
262404
262404
  if (val && Array.isArray(val)) {
262405
262405
  for (const item of val) {
262406
- out += safe(`${k2}${arraySuffix}`).padEnd(padToChars, " ") + separator + safe(item) + eol2;
262406
+ out += safe(`${k3}${arraySuffix}`).padEnd(padToChars, " ") + separator + safe(item) + eol2;
262407
262407
  }
262408
262408
  } else if (val && typeof val === "object") {
262409
- children.push(k2);
262409
+ children.push(k3);
262410
262410
  } else {
262411
- out += safe(k2).padEnd(padToChars, " ") + separator + safe(val) + eol2;
262411
+ out += safe(k3).padEnd(padToChars, " ") + separator + safe(val) + eol2;
262412
262412
  }
262413
262413
  }
262414
262414
  if (opt.section && out.length) {
262415
262415
  out = "[" + safe(opt.section) + "]" + (opt.newline ? eol2 + eol2 : eol2) + out;
262416
262416
  }
262417
- for (const k2 of children) {
262418
- const nk = splitSections(k2, ".").join("\\.");
262417
+ for (const k3 of children) {
262418
+ const nk = splitSections(k3, ".").join("\\.");
262419
262419
  const section = (opt.section ? opt.section + "." : "") + nk;
262420
- const child = encode2(obj[k2], {
262420
+ const child = encode2(obj[k3], {
262421
262421
  ...opt,
262422
262422
  section
262423
262423
  });
@@ -262500,11 +262500,11 @@ var require_ini2 = __commonJS({
262500
262500
  }
262501
262501
  }
262502
262502
  const remove = [];
262503
- for (const k2 of Object.keys(out)) {
262504
- if (!hasOwnProperty4.call(out, k2) || typeof out[k2] !== "object" || Array.isArray(out[k2])) {
262503
+ for (const k3 of Object.keys(out)) {
262504
+ if (!hasOwnProperty4.call(out, k3) || typeof out[k3] !== "object" || Array.isArray(out[k3])) {
262505
262505
  continue;
262506
262506
  }
262507
- const parts = splitSections(k2, ".");
262507
+ const parts = splitSections(k3, ".");
262508
262508
  p = out;
262509
262509
  const l = parts.pop();
262510
262510
  const nl = l.replace(/\\\./g, ".");
@@ -262520,8 +262520,8 @@ var require_ini2 = __commonJS({
262520
262520
  if (p === out && nl === l) {
262521
262521
  continue;
262522
262522
  }
262523
- p[nl] = out[k2];
262524
- remove.push(k2);
262523
+ p[nl] = out[k3];
262524
+ remove.push(k3);
262525
262525
  }
262526
262526
  for (const del of remove) {
262527
262527
  delete out[del];
@@ -262658,10 +262658,10 @@ var require_type_defs = __commonJS({
262658
262658
  var Stream3 = __import_stream6.Stream;
262659
262659
  var os7 = __import_os8;
262660
262660
  var debug14 = __import___debug;
262661
- function validateString(data, k2, val) {
262662
- data[k2] = String(val);
262661
+ function validateString(data, k3, val) {
262662
+ data[k3] = String(val);
262663
262663
  }
262664
- function validatePath(data, k2, val) {
262664
+ function validatePath(data, k3, val) {
262665
262665
  if (val === true) {
262666
262666
  return false;
262667
262667
  }
@@ -262673,28 +262673,28 @@ var require_type_defs = __commonJS({
262673
262673
  const homePattern = isWin2 ? /^~(\/|\\)/ : /^~\//;
262674
262674
  const home = os7.homedir();
262675
262675
  if (home && val.match(homePattern)) {
262676
- data[k2] = path31.resolve(home, val.slice(2));
262676
+ data[k3] = path31.resolve(home, val.slice(2));
262677
262677
  } else {
262678
- data[k2] = path31.resolve(val);
262678
+ data[k3] = path31.resolve(val);
262679
262679
  }
262680
262680
  return true;
262681
262681
  }
262682
- function validateNumber(data, k2, val) {
262683
- debug14("validate Number %j %j %j", k2, val, isNaN(val));
262682
+ function validateNumber(data, k3, val) {
262683
+ debug14("validate Number %j %j %j", k3, val, isNaN(val));
262684
262684
  if (isNaN(val)) {
262685
262685
  return false;
262686
262686
  }
262687
- data[k2] = +val;
262687
+ data[k3] = +val;
262688
262688
  }
262689
- function validateDate(data, k2, val) {
262689
+ function validateDate(data, k3, val) {
262690
262690
  const s = Date.parse(val);
262691
- debug14("validate Date %j %j %j", k2, val, s);
262691
+ debug14("validate Date %j %j %j", k3, val, s);
262692
262692
  if (isNaN(s)) {
262693
262693
  return false;
262694
262694
  }
262695
- data[k2] = new Date(val);
262695
+ data[k3] = new Date(val);
262696
262696
  }
262697
- function validateBoolean(data, k2, val) {
262697
+ function validateBoolean(data, k3, val) {
262698
262698
  if (typeof val === "string") {
262699
262699
  if (!isNaN(val)) {
262700
262700
  val = !!+val;
@@ -262706,20 +262706,20 @@ var require_type_defs = __commonJS({
262706
262706
  } else {
262707
262707
  val = !!val;
262708
262708
  }
262709
- data[k2] = val;
262709
+ data[k3] = val;
262710
262710
  }
262711
- function validateUrl(data, k2, val) {
262711
+ function validateUrl(data, k3, val) {
262712
262712
  val = url3.parse(String(val));
262713
262713
  if (!val.host) {
262714
262714
  return false;
262715
262715
  }
262716
- data[k2] = val.href;
262716
+ data[k3] = val.href;
262717
262717
  }
262718
- function validateStream(data, k2, val) {
262718
+ function validateStream(data, k3, val) {
262719
262719
  if (!(val instanceof Stream3)) {
262720
262720
  return false;
262721
262721
  }
262722
- data[k2] = val;
262722
+ data[k3] = val;
262723
262723
  }
262724
262724
  module.exports = {
262725
262725
  String: { type: String, validate: validateString },
@@ -262744,12 +262744,12 @@ var require_nopt_lib = __commonJS({
262744
262744
  var abbrev = __import_abbrev;
262745
262745
  var debug14 = __import___debug;
262746
262746
  var defaultTypeDefs = __import___typeDefs;
262747
- var hasOwn2 = (o, k2) => Object.prototype.hasOwnProperty.call(o, k2);
262748
- var getType = (k2, { types: types5, dynamicTypes }) => {
262749
- let hasType = hasOwn2(types5, k2);
262750
- let type2 = types5[k2];
262747
+ var hasOwn2 = (o, k3) => Object.prototype.hasOwnProperty.call(o, k3);
262748
+ var getType = (k3, { types: types5, dynamicTypes }) => {
262749
+ let hasType = hasOwn2(types5, k3);
262750
+ let type2 = types5[k3];
262751
262751
  if (!hasType && typeof dynamicTypes === "function") {
262752
- const matchedType = dynamicTypes(k2);
262752
+ const matchedType = dynamicTypes(k3);
262753
262753
  if (matchedType !== void 0) {
262754
262754
  type2 = matchedType;
262755
262755
  hasType = true;
@@ -262809,14 +262809,14 @@ var require_nopt_lib = __commonJS({
262809
262809
  }
262810
262810
  }
262811
262811
  const remove = {};
262812
- Object.keys(data).forEach((k2) => {
262813
- if (k2 === "argv") {
262812
+ Object.keys(data).forEach((k3) => {
262813
+ if (k3 === "argv") {
262814
262814
  return;
262815
262815
  }
262816
- let val = data[k2];
262816
+ let val = data[k3];
262817
262817
  debug14("val=%j", val);
262818
262818
  const isArray2 = Array.isArray(val);
262819
- let [hasType, rawType] = getType(k2, { types: types5, dynamicTypes });
262819
+ let [hasType, rawType] = getType(k3, { types: types5, dynamicTypes });
262820
262820
  let type2 = rawType;
262821
262821
  if (!isArray2) {
262822
262822
  val = [val];
@@ -262857,76 +262857,76 @@ var require_nopt_lib = __commonJS({
262857
262857
  v2 = null;
262858
262858
  }
262859
262859
  const d2 = {};
262860
- d2[k2] = v2;
262860
+ d2[k3] = v2;
262861
262861
  debug14("prevalidated val", d2, v2, rawType);
262862
- if (!validate(d2, k2, v2, rawType, { typeDefs })) {
262862
+ if (!validate(d2, k3, v2, rawType, { typeDefs })) {
262863
262863
  if (invalidHandler) {
262864
- invalidHandler(k2, v2, rawType, data);
262864
+ invalidHandler(k3, v2, rawType, data);
262865
262865
  } else if (invalidHandler !== false) {
262866
- debug14("invalid: " + k2 + "=" + v2, rawType);
262866
+ debug14("invalid: " + k3 + "=" + v2, rawType);
262867
262867
  }
262868
262868
  return remove;
262869
262869
  }
262870
262870
  debug14("validated v", d2, v2, rawType);
262871
- return d2[k2];
262871
+ return d2[k3];
262872
262872
  }).filter((v2) => v2 !== remove);
262873
262873
  if (!val.length && doesNotHaveTypeDef(type2, ArrayType)) {
262874
- debug14("VAL HAS NO LENGTH, DELETE IT", val, k2, type2.indexOf(ArrayType));
262875
- delete data[k2];
262874
+ debug14("VAL HAS NO LENGTH, DELETE IT", val, k3, type2.indexOf(ArrayType));
262875
+ delete data[k3];
262876
262876
  } else if (isArray2) {
262877
- debug14(isArray2, data[k2], val);
262878
- data[k2] = val;
262877
+ debug14(isArray2, data[k3], val);
262878
+ data[k3] = val;
262879
262879
  } else {
262880
- data[k2] = val[0];
262880
+ data[k3] = val[0];
262881
262881
  }
262882
- debug14("k=%s val=%j", k2, val, data[k2]);
262882
+ debug14("k=%s val=%j", k3, val, data[k3]);
262883
262883
  });
262884
262884
  }
262885
- function validate(data, k2, val, type2, { typeDefs } = {}) {
262885
+ function validate(data, k3, val, type2, { typeDefs } = {}) {
262886
262886
  const ArrayType = typeDefs?.Array?.type;
262887
262887
  if (Array.isArray(type2)) {
262888
262888
  for (let i2 = 0, l = type2.length; i2 < l; i2++) {
262889
262889
  if (isTypeDef(type2[i2], ArrayType)) {
262890
262890
  continue;
262891
262891
  }
262892
- if (validate(data, k2, val, type2[i2], { typeDefs })) {
262892
+ if (validate(data, k3, val, type2[i2], { typeDefs })) {
262893
262893
  return true;
262894
262894
  }
262895
262895
  }
262896
- delete data[k2];
262896
+ delete data[k3];
262897
262897
  return false;
262898
262898
  }
262899
262899
  if (isTypeDef(type2, ArrayType)) {
262900
262900
  return true;
262901
262901
  }
262902
262902
  if (type2 !== type2) {
262903
- debug14("Poison NaN", k2, val, type2);
262904
- delete data[k2];
262903
+ debug14("Poison NaN", k3, val, type2);
262904
+ delete data[k3];
262905
262905
  return false;
262906
262906
  }
262907
262907
  if (val === type2) {
262908
262908
  debug14("Explicitly allowed %j", val);
262909
- data[k2] = val;
262909
+ data[k3] = val;
262910
262910
  return true;
262911
262911
  }
262912
262912
  let ok4 = false;
262913
262913
  const types5 = Object.keys(typeDefs);
262914
262914
  for (let i2 = 0, l = types5.length; i2 < l; i2++) {
262915
- debug14("test type %j %j %j", k2, val, types5[i2]);
262915
+ debug14("test type %j %j %j", k3, val, types5[i2]);
262916
262916
  const t = typeDefs[types5[i2]];
262917
262917
  if (t && (type2 && type2.name && t.type && t.type.name ? type2.name === t.type.name : type2 === t.type)) {
262918
262918
  const d2 = {};
262919
- ok4 = t.validate(d2, k2, val) !== false;
262920
- val = d2[k2];
262919
+ ok4 = t.validate(d2, k3, val) !== false;
262920
+ val = d2[k3];
262921
262921
  if (ok4) {
262922
- data[k2] = val;
262922
+ data[k3] = val;
262923
262923
  break;
262924
262924
  }
262925
262925
  }
262926
262926
  }
262927
- debug14("OK? %j (%j %j %j)", ok4, k2, val, types5[types5.length - 1]);
262927
+ debug14("OK? %j (%j %j %j)", ok4, k3, val, types5[types5.length - 1]);
262928
262928
  if (!ok4) {
262929
- delete data[k2];
262929
+ delete data[k3];
262930
262930
  }
262931
262931
  return ok4;
262932
262932
  }
@@ -263319,9 +263319,9 @@ var require_umask = __commonJS({
263319
263319
  return val;
263320
263320
  }
263321
263321
  };
263322
- var validate = (data, k2, val) => {
263322
+ var validate = (data, k3, val) => {
263323
263323
  try {
263324
- data[k2] = parse9(val);
263324
+ data[k3] = parse9(val);
263325
263325
  return true;
263326
263326
  } catch (er) {
263327
263327
  return false;
@@ -263345,19 +263345,19 @@ var require_type_defs2 = __commonJS({
263345
263345
  var Semver = class {
263346
263346
  };
263347
263347
  var semverValid = __import_semver_functions_valid;
263348
- var validateSemver = (data, k2, val) => {
263348
+ var validateSemver = (data, k3, val) => {
263349
263349
  const valid = semverValid(val);
263350
263350
  if (!valid) {
263351
263351
  return false;
263352
263352
  }
263353
- data[k2] = valid;
263353
+ data[k3] = valid;
263354
263354
  };
263355
263355
  var noptValidatePath = nopt.typeDefs.path.validate;
263356
- var validatePath = (data, k2, val) => {
263356
+ var validatePath = (data, k3, val) => {
263357
263357
  if (typeof val !== "string") {
263358
263358
  return false;
263359
263359
  }
263360
- return noptValidatePath(data, k2, val);
263360
+ return noptValidatePath(data, k3, val);
263361
263361
  };
263362
263362
  module.exports = {
263363
263363
  ...nopt.typeDefs,
@@ -263825,7 +263825,7 @@ var require_update_workspaces = __commonJS({
263825
263825
  if (!newWorkspaces) {
263826
263826
  return originalContent;
263827
263827
  }
263828
- const hasInvalidWorkspaces = () => newWorkspaces.some((w3) => !(typeof w3 === "string"));
263828
+ const hasInvalidWorkspaces = () => newWorkspaces.some((w2) => !(typeof w2 === "string"));
263829
263829
  if (!newWorkspaces.length || hasInvalidWorkspaces()) {
263830
263830
  throw Object.assign(
263831
263831
  new TypeError("workspaces should be an array of strings."),
@@ -265975,8 +265975,8 @@ var require_lib15 = __commonJS({
265975
265975
  return normalizeObject(pkg);
265976
265976
  };
265977
265977
  var normalizeArray = (pkg) => {
265978
- pkg.bin = pkg.bin.reduce((acc, k2) => {
265979
- acc[basename7(k2)] = k2;
265978
+ pkg.bin = pkg.bin.reduce((acc, k3) => {
265979
+ acc[basename7(k3)] = k3;
265980
265980
  return acc;
265981
265981
  }, {});
265982
265982
  return normalizeObject(pkg);
@@ -267978,12 +267978,12 @@ var require_fixer = __commonJS({
267978
267978
  delete data.scripts;
267979
267979
  return;
267980
267980
  }
267981
- Object.keys(data.scripts).forEach(function(k2) {
267982
- if (typeof data.scripts[k2] !== "string") {
267981
+ Object.keys(data.scripts).forEach(function(k3) {
267982
+ if (typeof data.scripts[k3] !== "string") {
267983
267983
  this.warn("nonStringScript");
267984
- delete data.scripts[k2];
267985
- } else if (typos.script[k2] && !data.scripts[typos.script[k2]]) {
267986
- this.warn("typo", k2, typos.script[k2], "scripts");
267984
+ delete data.scripts[k3];
267985
+ } else if (typos.script[k3] && !data.scripts[typos.script[k3]]) {
267986
+ this.warn("typo", k3, typos.script[k3], "scripts");
267987
267987
  }
267988
267988
  }, this);
267989
267989
  },
@@ -268300,8 +268300,8 @@ var require_fixer = __commonJS({
268300
268300
  return;
268301
268301
  }
268302
268302
  var d2 = data.dependencies || {};
268303
- Object.keys(o).forEach(function(k2) {
268304
- d2[k2] = o[k2];
268303
+ Object.keys(o).forEach(function(k3) {
268304
+ d2[k3] = o[k3];
268305
268305
  });
268306
268306
  data.dependencies = d2;
268307
268307
  }
@@ -268341,11 +268341,11 @@ var require_fixer = __commonJS({
268341
268341
  if (!bugs2) {
268342
268342
  return;
268343
268343
  }
268344
- Object.keys(bugs2).forEach(function(k2) {
268345
- if (typos.bugs[k2]) {
268346
- warn("typo", k2, typos.bugs[k2], "bugs");
268347
- bugs2[typos.bugs[k2]] = bugs2[k2];
268348
- delete bugs2[k2];
268344
+ Object.keys(bugs2).forEach(function(k3) {
268345
+ if (typos.bugs[k3]) {
268346
+ warn("typo", k3, typos.bugs[k3], "bugs");
268347
+ bugs2[typos.bugs[k3]] = bugs2[k3];
268348
+ delete bugs2[k3];
268349
268349
  }
268350
268350
  });
268351
268351
  }
@@ -268518,8 +268518,8 @@ var require_normalize = __commonJS({
268518
268518
  pkg.bin = { [pkg.name]: pkg.bin };
268519
268519
  } else if (Array.isArray(pkg.bin)) {
268520
268520
  changes?.push('"bin" was converted to an object');
268521
- pkg.bin = pkg.bin.reduce((acc, k2) => {
268522
- acc[path31.basename(k2)] = k2;
268521
+ pkg.bin = pkg.bin.reduce((acc, k3) => {
268522
+ acc[path31.basename(k3)] = k3;
268523
268523
  return acc;
268524
268524
  }, {});
268525
268525
  }
@@ -269323,7 +269323,7 @@ var require_lib20 = __commonJS({
269323
269323
  return obj;
269324
269324
  };
269325
269325
  var stripUnderscores = (data) => {
269326
- for (const key of Object.keys(data).filter((k2) => /^_/.test(k2))) {
269326
+ for (const key of Object.keys(data).filter((k3) => /^_/.test(k3))) {
269327
269327
  delete data[key];
269328
269328
  }
269329
269329
  return data;
@@ -269861,7 +269861,7 @@ var require_lib22 = __commonJS({
269861
269861
  this.#loadObject(conf, "env", "environment");
269862
269862
  }
269863
269863
  loadCLI() {
269864
- nopt.invalidHandler = (k2, val, type2) => this.invalidHandler(k2, val, type2, "command line options", "cli");
269864
+ nopt.invalidHandler = (k3, val, type2) => this.invalidHandler(k3, val, type2, "command line options", "cli");
269865
269865
  const conf = nopt(this.types, this.shorthands, this.argv);
269866
269866
  nopt.invalidHandler = null;
269867
269867
  this.parsedArgv = conf.argv;
@@ -269919,7 +269919,7 @@ var require_lib22 = __commonJS({
269919
269919
  } else {
269920
269920
  const obj = this.data.get(where);
269921
269921
  obj[_valid] = true;
269922
- nopt.invalidHandler = (k2, val, type2) => this.invalidHandler(k2, val, type2, obj.source, where);
269922
+ nopt.invalidHandler = (k3, val, type2) => this.invalidHandler(k3, val, type2, obj.source, where);
269923
269923
  nopt.clean(obj.data, this.types, typeDefs);
269924
269924
  nopt.invalidHandler = null;
269925
269925
  return obj[_valid];
@@ -269964,11 +269964,11 @@ var require_lib22 = __commonJS({
269964
269964
  return !hasOwnProperty4(typeData, key);
269965
269965
  });
269966
269966
  }
269967
- invalidHandler(k2, val, type2, source, where) {
269967
+ invalidHandler(k3, val, type2, source, where) {
269968
269968
  const typeDescription = __import___typeDescription_js;
269969
269969
  log4.warn(
269970
269970
  "invalid config",
269971
- k2 + "=" + JSON.stringify(val),
269971
+ k3 + "=" + JSON.stringify(val),
269972
269972
  `set in ${source}`
269973
269973
  );
269974
269974
  this.data.get(where)[_valid] = false;
@@ -270020,10 +270020,10 @@ var require_lib22 = __commonJS({
270020
270020
  } else {
270021
270021
  conf.raw = obj;
270022
270022
  for (const [key, value] of Object.entries(obj)) {
270023
- const k2 = envReplace(key, this.env);
270024
- const v2 = this.parseField(value, k2);
270023
+ const k3 = envReplace(key, this.env);
270024
+ const v2 = this.parseField(value, k3);
270025
270025
  if (where !== "default") {
270026
- this.#checkDeprecated(k2);
270026
+ this.#checkDeprecated(k3);
270027
270027
  if (this.definitions[key]?.exclusive) {
270028
270028
  for (const exclusive of this.definitions[key].exclusive) {
270029
270029
  if (!this.isDefault(exclusive)) {
@@ -270032,7 +270032,7 @@ var require_lib22 = __commonJS({
270032
270032
  }
270033
270033
  }
270034
270034
  }
270035
- conf.data[k2] = v2;
270035
+ conf.data[k3] = v2;
270036
270036
  }
270037
270037
  }
270038
270038
  }
@@ -270108,8 +270108,8 @@ var require_lib22 = __commonJS({
270108
270108
  }
270109
270109
  const mapWorkspaces = __import__npmcli_mapWorkspaces;
270110
270110
  const workspaces = await mapWorkspaces({ cwd: p, pkg });
270111
- for (const w3 of workspaces.values()) {
270112
- if (w3 === this.localPrefix) {
270111
+ for (const w2 of workspaces.values()) {
270112
+ if (w2 === this.localPrefix) {
270113
270113
  if (await fileExists2(this.localPrefix, ".npmrc")) {
270114
270114
  log4.warn("config", `ignoring workspace config at ${this.localPrefix}/.npmrc`);
270115
270115
  }
@@ -270923,12 +270923,12 @@ var require_ci_info = __commonJS({
270923
270923
  return env5[obj.env] && env5[obj.env].includes(obj.includes);
270924
270924
  }
270925
270925
  if ("any" in obj) {
270926
- return obj.any.some(function(k2) {
270927
- return !!env5[k2];
270926
+ return obj.any.some(function(k3) {
270927
+ return !!env5[k3];
270928
270928
  });
270929
270929
  }
270930
- return Object.keys(obj).every(function(k2) {
270931
- return env5[k2] === obj[k2];
270930
+ return Object.keys(obj).every(function(k3) {
270931
+ return env5[k3] === obj[k3];
270932
270932
  });
270933
270933
  }
270934
270934
  function checkPR(vendor) {
@@ -276779,12 +276779,12 @@ var require_typedarray = __commonJS({
276779
276779
  function packIEEE754(v2, ebits, fbits) {
276780
276780
  var bias = (1 << ebits - 1) - 1, s, e, f, ln, i2, bits, str2, bytes;
276781
276781
  function roundToEven(n) {
276782
- var w3 = floor(n), f2 = n - w3;
276782
+ var w2 = floor(n), f2 = n - w2;
276783
276783
  if (f2 < 0.5)
276784
- return w3;
276784
+ return w2;
276785
276785
  if (f2 > 0.5)
276786
- return w3 + 1;
276787
- return w3 % 2 ? w3 + 1 : w3;
276786
+ return w2 + 1;
276787
+ return w2 % 2 ? w2 + 1 : w2;
276788
276788
  }
276789
276789
  if (v2 !== v2) {
276790
276790
  e = (1 << ebits) - 1;
@@ -277436,19 +277436,19 @@ var require_light = __commonJS({
277436
277436
  return n && n["default"] || n;
277437
277437
  }
277438
277438
  var load3 = function(received, defaults4, onto = {}) {
277439
- var k2, ref, v2;
277440
- for (k2 in defaults4) {
277441
- v2 = defaults4[k2];
277442
- onto[k2] = (ref = received[k2]) != null ? ref : v2;
277439
+ var k3, ref, v2;
277440
+ for (k3 in defaults4) {
277441
+ v2 = defaults4[k3];
277442
+ onto[k3] = (ref = received[k3]) != null ? ref : v2;
277443
277443
  }
277444
277444
  return onto;
277445
277445
  };
277446
277446
  var overwrite = function(received, defaults4, onto = {}) {
277447
- var k2, v2;
277448
- for (k2 in received) {
277449
- v2 = received[k2];
277450
- if (defaults4[k2] !== void 0) {
277451
- onto[k2] = v2;
277447
+ var k3, v2;
277448
+ for (k3 in received) {
277449
+ v2 = received[k3];
277450
+ if (defaults4[k3] !== void 0) {
277451
+ onto[k3] = v2;
277452
277452
  }
277453
277453
  }
277454
277454
  return onto;
@@ -278048,7 +278048,7 @@ var require_light = __commonJS({
278048
278048
  return (ref = this.status[this._jobs[id]]) != null ? ref : null;
278049
278049
  }
278050
278050
  statusJobs(status) {
278051
- var k2, pos, ref, results, v2;
278051
+ var k3, pos, ref, results, v2;
278052
278052
  if (status != null) {
278053
278053
  pos = this.status.indexOf(status);
278054
278054
  if (pos < 0) {
@@ -278056,10 +278056,10 @@ var require_light = __commonJS({
278056
278056
  }
278057
278057
  ref = this._jobs;
278058
278058
  results = [];
278059
- for (k2 in ref) {
278060
- v2 = ref[k2];
278059
+ for (k3 in ref) {
278060
+ v2 = ref[k3];
278061
278061
  if (v2 === pos) {
278062
- results.push(k2);
278062
+ results.push(k3);
278063
278063
  }
278064
278064
  }
278065
278065
  return results;
@@ -278186,13 +278186,13 @@ var require_light = __commonJS({
278186
278186
  return instance != null || deleted > 0;
278187
278187
  }
278188
278188
  limiters() {
278189
- var k2, ref, results, v2;
278189
+ var k3, ref, results, v2;
278190
278190
  ref = this.instances;
278191
278191
  results = [];
278192
- for (k2 in ref) {
278193
- v2 = ref[k2];
278192
+ for (k3 in ref) {
278193
+ v2 = ref[k3];
278194
278194
  results.push({
278195
- key: k2,
278195
+ key: k3,
278196
278196
  limiter: v2
278197
278197
  });
278198
278198
  }
@@ -278202,7 +278202,7 @@ var require_light = __commonJS({
278202
278202
  return Object.keys(this.instances);
278203
278203
  }
278204
278204
  async clusterKeys() {
278205
- var cursor, end, found, i2, k2, keys4, len, next, start;
278205
+ var cursor, end, found, i2, k3, keys4, len, next, start;
278206
278206
  if (this.connection == null) {
278207
278207
  return this.Promise.resolve(this.keys());
278208
278208
  }
@@ -278214,8 +278214,8 @@ var require_light = __commonJS({
278214
278214
  [next, found] = await this.connection.__runCommand__(["scan", cursor != null ? cursor : 0, "match", `b_${this.id}-*_settings`, "count", 1e4]);
278215
278215
  cursor = ~~next;
278216
278216
  for (i2 = 0, len = found.length; i2 < len; i2++) {
278217
- k2 = found[i2];
278218
- keys4.push(k2.slice(start, -end));
278217
+ k3 = found[i2];
278218
+ keys4.push(k3.slice(start, -end));
278219
278219
  }
278220
278220
  }
278221
278221
  return keys4;
@@ -278224,15 +278224,15 @@ var require_light = __commonJS({
278224
278224
  var base2;
278225
278225
  clearInterval(this.interval);
278226
278226
  return typeof (base2 = this.interval = setInterval(async () => {
278227
- var e, k2, ref, results, time2, v2;
278227
+ var e, k3, ref, results, time2, v2;
278228
278228
  time2 = Date.now();
278229
278229
  ref = this.instances;
278230
278230
  results = [];
278231
- for (k2 in ref) {
278232
- v2 = ref[k2];
278231
+ for (k3 in ref) {
278232
+ v2 = ref[k3];
278233
278233
  try {
278234
278234
  if (await v2._store.__groupCheck__(time2)) {
278235
- results.push(this.deleteKey(k2));
278235
+ results.push(this.deleteKey(k3));
278236
278236
  } else {
278237
278237
  results.push(void 0);
278238
278238
  }
@@ -278540,10 +278540,10 @@ var require_light = __commonJS({
278540
278540
  return this.Promise.resolve(null);
278541
278541
  }, this._registerLock.schedule(() => {
278542
278542
  return this._submitLock.schedule(() => {
278543
- var k2, ref, v2;
278543
+ var k3, ref, v2;
278544
278544
  ref = this._scheduled;
278545
- for (k2 in ref) {
278546
- v2 = ref[k2];
278545
+ for (k3 in ref) {
278546
+ v2 = ref[k3];
278547
278547
  if (this.jobStatus(v2.job.options.id) === "RUNNING") {
278548
278548
  clearTimeout(v2.timeout);
278549
278549
  clearTimeout(v2.expiration);
@@ -279866,10 +279866,10 @@ var require_analyze = __commonJS({
279866
279866
  }
279867
279867
  }
279868
279868
  }
279869
- for (var k2 in stats2) {
279870
- if (Object.keys(stats2[k2]).length) {
279871
- result[k2] = Object.keys(stats2[k2]).reduce(function(a2, b) {
279872
- return stats2[k2][a2] > stats2[k2][b] ? a2 : b;
279869
+ for (var k3 in stats2) {
279870
+ if (Object.keys(stats2[k3]).length) {
279871
+ result[k3] = Object.keys(stats2[k3]).reduce(function(a2, b) {
279872
+ return stats2[k3][a2] > stats2[k3][b] ? a2 : b;
279873
279873
  });
279874
279874
  }
279875
279875
  }
@@ -282076,23 +282076,23 @@ var require_pseudomap = __commonJS({
282076
282076
  }
282077
282077
  PseudoMap.prototype.forEach = function(fn, thisp) {
282078
282078
  thisp = thisp || this;
282079
- Object.keys(this._data).forEach(function(k2) {
282080
- if (k2 !== "size")
282081
- fn.call(thisp, this._data[k2].value, this._data[k2].key);
282079
+ Object.keys(this._data).forEach(function(k3) {
282080
+ if (k3 !== "size")
282081
+ fn.call(thisp, this._data[k3].value, this._data[k3].key);
282082
282082
  }, this);
282083
282083
  };
282084
- PseudoMap.prototype.has = function(k2) {
282085
- return !!find2(this._data, k2);
282084
+ PseudoMap.prototype.has = function(k3) {
282085
+ return !!find2(this._data, k3);
282086
282086
  };
282087
- PseudoMap.prototype.get = function(k2) {
282088
- var res = find2(this._data, k2);
282087
+ PseudoMap.prototype.get = function(k3) {
282088
+ var res = find2(this._data, k3);
282089
282089
  return res && res.value;
282090
282090
  };
282091
- PseudoMap.prototype.set = function(k2, v2) {
282092
- set5(this._data, k2, v2);
282091
+ PseudoMap.prototype.set = function(k3, v2) {
282092
+ set5(this._data, k3, v2);
282093
282093
  };
282094
- PseudoMap.prototype.delete = function(k2) {
282095
- var res = find2(this._data, k2);
282094
+ PseudoMap.prototype.delete = function(k3) {
282095
+ var res = find2(this._data, k3);
282096
282096
  if (res) {
282097
282097
  delete this._data[res._index];
282098
282098
  this._data.size--;
@@ -282123,26 +282123,26 @@ var require_pseudomap = __commonJS({
282123
282123
  function same(a2, b) {
282124
282124
  return a2 === b || a2 !== a2 && b !== b;
282125
282125
  }
282126
- function Entry(k2, v2, i2) {
282127
- this.key = k2;
282126
+ function Entry(k3, v2, i2) {
282127
+ this.key = k3;
282128
282128
  this.value = v2;
282129
282129
  this._index = i2;
282130
282130
  }
282131
- function find2(data, k2) {
282132
- for (var i2 = 0, s = "_" + k2, key = s; hasOwnProperty4.call(data, key); key = s + i2++) {
282133
- if (same(data[key].key, k2))
282131
+ function find2(data, k3) {
282132
+ for (var i2 = 0, s = "_" + k3, key = s; hasOwnProperty4.call(data, key); key = s + i2++) {
282133
+ if (same(data[key].key, k3))
282134
282134
  return data[key];
282135
282135
  }
282136
282136
  }
282137
- function set5(data, k2, v2) {
282138
- for (var i2 = 0, s = "_" + k2, key = s; hasOwnProperty4.call(data, key); key = s + i2++) {
282139
- if (same(data[key].key, k2)) {
282137
+ function set5(data, k3, v2) {
282138
+ for (var i2 = 0, s = "_" + k3, key = s; hasOwnProperty4.call(data, key); key = s + i2++) {
282139
+ if (same(data[key].key, k3)) {
282140
282140
  data[key].value = v2;
282141
282141
  return;
282142
282142
  }
282143
282143
  }
282144
282144
  data.size++;
282145
- data[key] = new Entry(k2, v2, key);
282145
+ data[key] = new Entry(k3, v2, key);
282146
282146
  }
282147
282147
  }
282148
282148
  });
@@ -282644,13 +282644,13 @@ var require_lru_cache = __commonJS({
282644
282644
  }
282645
282645
  };
282646
282646
  LRUCache2.prototype.keys = function() {
282647
- return this[LRU_LIST].toArray().map(function(k2) {
282648
- return k2.key;
282647
+ return this[LRU_LIST].toArray().map(function(k3) {
282648
+ return k3.key;
282649
282649
  }, this);
282650
282650
  };
282651
282651
  LRUCache2.prototype.values = function() {
282652
- return this[LRU_LIST].toArray().map(function(k2) {
282653
- return k2.value;
282652
+ return this[LRU_LIST].toArray().map(function(k3) {
282653
+ return k3.value;
282654
282654
  }, this);
282655
282655
  };
282656
282656
  LRUCache2.prototype.reset = function() {
@@ -284466,12 +284466,12 @@ ${message.sort(
284466
284466
  )}`
284467
284467
  ).join("\n")}` : typeof message === "object" ? `
284468
284468
  ${Object.keys(message).filter(
284469
- (key) => typeof key !== "string" || !skip3.map((k2) => k2.toLowerCase().trim()).includes(key.toLowerCase().trim())
284469
+ (key) => typeof key !== "string" || !skip3.map((k3) => k3.toLowerCase().trim()).includes(key.toLowerCase().trim())
284470
284470
  ).sort(
284471
284471
  sort ? (a2, b) => !a2 && !b ? 0 : !a2 ? 1 : !b ? -1 : String(a2).localeCompare(String(b)) : void 0
284472
284472
  ).map(
284473
284473
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
284474
- (key2) => typeof key2 !== "string" || !skip3.map((k2) => k2.toLowerCase().trim()).includes(key2.toLowerCase().trim())
284474
+ (key2) => typeof key2 !== "string" || !skip3.map((k3) => k3.toLowerCase().trim()).includes(key2.toLowerCase().trim())
284475
284475
  ).length === 0 ? "{}" : formatLogMessage(
284476
284476
  message[key],
284477
284477
  { prefix: `${prefix}--`, skip: skip3, sort },
@@ -284769,9 +284769,9 @@ function $constructor(name3, initializer2, params) {
284769
284769
  const proto2 = _2.prototype;
284770
284770
  const keys4 = Object.keys(proto2);
284771
284771
  for (let i2 = 0; i2 < keys4.length; i2++) {
284772
- const k2 = keys4[i2];
284773
- if (!(k2 in inst)) {
284774
- inst[k2] = proto2[k2].bind(inst);
284772
+ const k3 = keys4[i2];
284773
+ if (!(k3 in inst)) {
284774
+ inst[k3] = proto2[k3].bind(inst);
284775
284775
  }
284776
284776
  }
284777
284777
  }
@@ -284824,7 +284824,7 @@ init_esm_shims();
284824
284824
  init_esm_shims();
284825
284825
  function getEnumValues(entries) {
284826
284826
  const numericValues = Object.values(entries).filter((v2) => typeof v2 === "number");
284827
- const values = Object.entries(entries).filter(([k2, _2]) => numericValues.indexOf(+k2) === -1).map(([_2, v2]) => v2);
284827
+ const values = Object.entries(entries).filter(([k3, _2]) => numericValues.indexOf(+k3) === -1).map(([_2, v2]) => v2);
284828
284828
  return values;
284829
284829
  }
284830
284830
  function jsonStringifyReplacer(_2, value) {
@@ -284935,8 +284935,8 @@ function normalizeParams(_params) {
284935
284935
  return params;
284936
284936
  }
284937
284937
  function optionalKeys(shape) {
284938
- return Object.keys(shape).filter((k2) => {
284939
- return shape[k2]._zod.optin === "optional" && shape[k2]._zod.optout === "optional";
284938
+ return Object.keys(shape).filter((k3) => {
284939
+ return shape[k3]._zod.optin === "optional" && shape[k3]._zod.optout === "optional";
284940
284940
  });
284941
284941
  }
284942
284942
  var NUMBER_FORMAT_RANGES = {
@@ -285478,9 +285478,9 @@ function handlePropertyResult(result, final, key, input, isOptionalIn, isOptiona
285478
285478
  }
285479
285479
  function normalizeDef(def) {
285480
285480
  const keys4 = Object.keys(def.shape);
285481
- for (const k2 of keys4) {
285482
- if (!def.shape?.[k2]?._zod?.traits?.has("$ZodType")) {
285483
- throw new Error(`Invalid element at key "${k2}": expected a Zod schema`);
285481
+ for (const k3 of keys4) {
285482
+ if (!def.shape?.[k3]?._zod?.traits?.has("$ZodType")) {
285483
+ throw new Error(`Invalid element at key "${k3}": expected a Zod schema`);
285484
285484
  }
285485
285485
  }
285486
285486
  const okeys = optionalKeys(def.shape);
@@ -285789,7 +285789,7 @@ var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
285789
285789
  const values = getEnumValues(def.entries);
285790
285790
  const valuesSet = new Set(values);
285791
285791
  inst._zod.values = valuesSet;
285792
- inst._zod.pattern = new RegExp(`^(${values.filter((k2) => propertyKeyTypes.has(typeof k2)).map((o) => typeof o === "string" ? escapeRegex(o) : o.toString()).join("|")})$`);
285792
+ inst._zod.pattern = new RegExp(`^(${values.filter((k3) => propertyKeyTypes.has(typeof k3)).map((o) => typeof o === "string" ? escapeRegex(o) : o.toString()).join("|")})$`);
285793
285793
  inst._zod.parse = (payload, _ctx) => {
285794
285794
  const input = payload.value;
285795
285795
  if (valuesSet.has(input)) {
@@ -289718,12 +289718,12 @@ var opTap = (fn) => toPipeFn(opTapSync(fn), opTapAsync(fn));
289718
289718
 
289719
289719
  // ../../node_modules/.pnpm/@cspell+cspell-pipe@8.19.4/node_modules/@cspell/cspell-pipe/dist/operators/unique.js
289720
289720
  init_esm_shims();
289721
- function opUniqueAsync(k2) {
289722
- function fnK(k3) {
289721
+ function opUniqueAsync(k3) {
289722
+ function fnK(k4) {
289723
289723
  async function* fn2(iter) {
289724
289724
  const s = /* @__PURE__ */ new Set();
289725
289725
  for await (const v2 of iter) {
289726
- const kk = k3(v2);
289726
+ const kk = k4(v2);
289727
289727
  if (s.has(kk))
289728
289728
  continue;
289729
289729
  s.add(kk);
@@ -289741,9 +289741,9 @@ function opUniqueAsync(k2) {
289741
289741
  yield v2;
289742
289742
  }
289743
289743
  }
289744
- return k2 ? fnK(k2) : fn;
289744
+ return k3 ? fnK(k3) : fn;
289745
289745
  }
289746
- function opUniqueSync(k2) {
289746
+ function opUniqueSync(k3) {
289747
289747
  function fnK(key) {
289748
289748
  function* fn2(iter) {
289749
289749
  const s = /* @__PURE__ */ new Set();
@@ -289766,7 +289766,7 @@ function opUniqueSync(k2) {
289766
289766
  yield v2;
289767
289767
  }
289768
289768
  }
289769
- return k2 ? fnK(k2) : fn;
289769
+ return k3 ? fnK(k3) : fn;
289770
289770
  }
289771
289771
  var opUnique = (getKey) => toPipeFn(opUniqueSync(getKey), opUniqueAsync(getKey));
289772
289772
 
@@ -289962,14 +289962,14 @@ function autoCache(fn, size = CACHE_SIZE) {
289962
289962
  ac.hits = 0;
289963
289963
  ac.misses = 0;
289964
289964
  ac.swaps = 0;
289965
- function get3(k2) {
289966
- const f = cache5.get(k2);
289965
+ function get3(k3) {
289966
+ const f = cache5.get(k3);
289967
289967
  if (f !== void 0) {
289968
289968
  ++ac.hits;
289969
289969
  return f;
289970
289970
  }
289971
- const r = fn(k2);
289972
- cache5.set(k2, r);
289971
+ const r = fn(k3);
289972
+ cache5.set(k3, r);
289973
289973
  ac.swaps = cache5.swaps;
289974
289974
  ++ac.misses;
289975
289975
  return r;
@@ -290444,7 +290444,7 @@ function findCompoundNode(root, word2, compoundCharacter, ignoreCasePrefix) {
290444
290444
  const compoundPrefix = compoundCharacter || ignoreCasePrefix;
290445
290445
  const possibleCompoundPrefix = ignoreCasePrefix && compoundCharacter ? ignoreCasePrefix + compoundCharacter : "";
290446
290446
  const nw = word2.normalize();
290447
- const w3 = [...nw];
290447
+ const w2 = [...nw];
290448
290448
  function determineRoot(s) {
290449
290449
  const prefix = s.compoundPrefix;
290450
290450
  let r = root;
@@ -290466,7 +290466,7 @@ function findCompoundNode(root, word2, compoundCharacter, ignoreCasePrefix) {
290466
290466
  let node;
290467
290467
  while (true) {
290468
290468
  const s = stack[i2];
290469
- const h = w3[i2++];
290469
+ const h = w2[i2++];
290470
290470
  const n = s.cr || s.n;
290471
290471
  const c = h && n?.get(h) || void 0;
290472
290472
  if (c && i2 < word2.length) {
@@ -290523,11 +290523,11 @@ function isEndOfWordNode(n) {
290523
290523
  return !!n?.eow;
290524
290524
  }
290525
290525
  function walk(root, word2) {
290526
- const w3 = [...word2];
290526
+ const w2 = [...word2];
290527
290527
  let n = root;
290528
290528
  let i2 = 0;
290529
- while (n && i2 < w3.length) {
290530
- const h = w3[i2++];
290529
+ while (n && i2 < w2.length) {
290530
+ const h = w2[i2++];
290531
290531
  n = n.get(h);
290532
290532
  }
290533
290533
  return n;
@@ -290538,15 +290538,15 @@ function findLegacyCompoundNode(roots, word2, minCompoundLength) {
290538
290538
  const stack = [
290539
290539
  { n: root, usedRoots: 1, subLength: 0, isCompound: false, cr: void 0, caseMatched: true }
290540
290540
  ];
290541
- const w3 = word2;
290542
- const wLen = w3.length;
290541
+ const w2 = word2;
290542
+ const wLen = w2.length;
290543
290543
  let compoundUsed = false;
290544
290544
  let caseMatched = true;
290545
290545
  let i2 = 0;
290546
290546
  let node;
290547
290547
  while (true) {
290548
290548
  const s = stack[i2];
290549
- const h = w3[i2++];
290549
+ const h = w2[i2++];
290550
290550
  const n = s.cr || s.n;
290551
290551
  const c = n?.get(h);
290552
290552
  if (c && i2 < wLen) {
@@ -290807,7 +290807,7 @@ var ImplITrieNode = class _ImplITrieNode {
290807
290807
  return !this.node.c ? EmptyValues : Object.values(this.node.c).map((n) => _ImplITrieNode.toITrieNode(n));
290808
290808
  }
290809
290809
  entries() {
290810
- return !this.node.c ? EmptyEntries : Object.entries(this.node.c).map(([k2, n]) => [k2, _ImplITrieNode.toITrieNode(n)]);
290810
+ return !this.node.c ? EmptyEntries : Object.entries(this.node.c).map(([k3, n]) => [k3, _ImplITrieNode.toITrieNode(n)]);
290811
290811
  }
290812
290812
  /** get child ITrieNode */
290813
290813
  get(char) {
@@ -290990,8 +290990,8 @@ function createSuggestionOptions(...opts) {
290990
290990
  }
290991
290991
  return options;
290992
290992
  }
290993
- function assign(dest, src, k2) {
290994
- dest[k2] = src[k2] ?? dest[k2];
290993
+ function assign(dest, src, k3) {
290994
+ dest[k3] = src[k3] ?? dest[k3];
290995
290995
  }
290996
290996
  var PairingHeap = class {
290997
290997
  constructor(compare42) {
@@ -291615,7 +291615,7 @@ function suggestionCollector(wordToMatch, options) {
291615
291615
  const sugs = /* @__PURE__ */ new Map();
291616
291616
  let maxCost = BASE_COST * Math.min(wordToMatch.length * MAX_ALLOWED_COST_SCALE, changeLimit);
291617
291617
  const useSeparator = compoundSeparator || (weightMap ? DEFAULT_COMPOUNDED_WORD_SEPARATOR : defaultSuggestionCollectorOptions.compoundSeparator);
291618
- const fnCleanWord = !useSeparator || useSeparator === compoundSeparator ? (w3) => w3 : replaceAllFactory(useSeparator, "");
291618
+ const fnCleanWord = !useSeparator || useSeparator === compoundSeparator ? (w2) => w2 : replaceAllFactory(useSeparator, "");
291619
291619
  if (useSeparator && weightMap) {
291620
291620
  addDefToWeightMap(weightMap, { map: useSeparator, insDel: 50 });
291621
291621
  }
@@ -291643,7 +291643,7 @@ function suggestionCollector(wordToMatch, options) {
291643
291643
  function adjustCost(sug) {
291644
291644
  if (sug.isPreferred) return sug;
291645
291645
  const words = sug.word.split(regexSeparator);
291646
- const extraCost = words.map((w3) => wordLengthCost[w3.length] || 0).reduce((a2, b) => a2 + b, 0) + (words.length - 1) * EXTRA_WORD_COST;
291646
+ const extraCost = words.map((w2) => wordLengthCost[w2.length] || 0).reduce((a2, b) => a2 + b, 0) + (words.length - 1) * EXTRA_WORD_COST;
291647
291647
  return { word: sug.word, cost: sug.cost + extraCost };
291648
291648
  }
291649
291649
  function collectSuggestion(suggestion) {
@@ -292021,9 +292021,9 @@ var defaultTrieInfo = Object.freeze({
292021
292021
  function mergeDefaults(value, defaultValue) {
292022
292022
  const result = { ...defaultValue };
292023
292023
  if (value) {
292024
- for (const [k2, v2] of Object.entries(value)) {
292025
- if (k2 in result) {
292026
- result[k2] = v2 ?? result[k2];
292024
+ for (const [k3, v2] of Object.entries(value)) {
292025
+ if (k3 in result) {
292026
+ result[k3] = v2 ?? result[k3];
292027
292027
  }
292028
292028
  }
292029
292029
  }
@@ -293625,8 +293625,8 @@ var FastTrieBlobBuilder = class _FastTrieBlobBuilder {
293625
293625
  return this._insert(word2);
293626
293626
  }
293627
293627
  const words = word2;
293628
- for (const w3 of words) {
293629
- this._insert(w3);
293628
+ for (const w2 of words) {
293629
+ this._insert(w2);
293630
293630
  }
293631
293631
  return this;
293632
293632
  }
@@ -293989,7 +293989,7 @@ var ITrieImpl = class _ITrieImpl {
293989
293989
  const compoundChar = this.info.compoundCharacter;
293990
293990
  const subNodes = pipeSync(
293991
293991
  n ? iteratorTrieWords(n) : [],
293992
- opFilterSync((w3) => w3[w3.length - 1] !== compoundChar),
293992
+ opFilterSync((w2) => w2[w2.length - 1] !== compoundChar),
293993
293993
  opMapSync((suffix) => text + suffix)
293994
293994
  );
293995
293995
  return pipeSync(n && n.eow ? [text] : [], opAppendSync(subNodes));
@@ -294015,8 +294015,8 @@ var ITrieImpl = class _ITrieImpl {
294015
294015
  const adjWord = sep8 ? replaceAllFactory(sep8, "") : (a2) => a2;
294016
294016
  const optFilter = options.filter;
294017
294017
  const filter6 = optFilter ? (word2, cost) => {
294018
- const w3 = adjWord(word2);
294019
- return !this.isForbiddenWord(w3) && optFilter(w3, cost);
294018
+ const w2 = adjWord(word2);
294019
+ return !this.isForbiddenWord(w2) && optFilter(w2, cost);
294020
294020
  } : (word2) => !this.isForbiddenWord(adjWord(word2));
294021
294021
  const opts = { ...options, filter: filter6, weightMap };
294022
294022
  return suggestAStar(this.data, text, opts);
@@ -294172,7 +294172,7 @@ function consolidate(root) {
294172
294172
  }
294173
294173
  function signature2(n) {
294174
294174
  const isWord = n.f ? "*" : "";
294175
- const ref = n.c ? JSON.stringify(Object.entries(n.c).map(([k2, n2]) => [k2, cached2.get(n2)])) : "";
294175
+ const ref = n.c ? JSON.stringify(Object.entries(n.c).map(([k3, n2]) => [k3, cached2.get(n2)])) : "";
294176
294176
  return isWord + ref;
294177
294177
  }
294178
294178
  function findEow(n) {
@@ -294193,9 +294193,9 @@ function consolidate(root) {
294193
294193
  return a2.length === b.size;
294194
294194
  }
294195
294195
  function deepCopy(n) {
294196
- const k2 = knownMap.get(n);
294197
- if (k2) {
294198
- return k2;
294196
+ const k3 = knownMap.get(n);
294197
+ if (k3) {
294198
+ return k3;
294199
294199
  }
294200
294200
  const orig = n;
294201
294201
  if (n.c) {
@@ -294224,7 +294224,7 @@ function consolidate(root) {
294224
294224
  return knownMap.get(n) || deepCopy(n);
294225
294225
  }
294226
294226
  if (n.c) {
294227
- const children = Object.entries(n.c).sort((a2, b) => a2[0] < b[0] ? -1 : 1).map(([k2, n2]) => [k2, process10(n2)]);
294227
+ const children = Object.entries(n.c).sort((a2, b) => a2[0] < b[0] ? -1 : 1).map(([k3, n2]) => [k3, process10(n2)]);
294228
294228
  n.c = Object.fromEntries(children);
294229
294229
  }
294230
294230
  const sig = signature2(n);
@@ -294259,11 +294259,11 @@ function isEndOfWordNode2(n) {
294259
294259
  return n?.f === FLAG_WORD;
294260
294260
  }
294261
294261
  function walk3(root, word2) {
294262
- const w3 = [...word2];
294262
+ const w2 = [...word2];
294263
294263
  let n = root;
294264
294264
  let i2 = 0;
294265
- while (n && i2 < w3.length) {
294266
- const h = w3[i2++];
294265
+ while (n && i2 < w2.length) {
294266
+ const h = w2[i2++];
294267
294267
  n = n.c?.[h];
294268
294268
  }
294269
294269
  return n;
@@ -294362,7 +294362,7 @@ function importTrie(linesX) {
294362
294362
  const isWord = line[0] === EOW;
294363
294363
  line = isWord ? line.slice(1) : line;
294364
294364
  const flags = isWord ? flagsWord : {};
294365
- const children = splitLine2(line).filter((a2) => !!a2).map((a2) => [a2[0], Number.parseInt(a2.slice(1) || "0", radix)]).map(([k2, i2]) => [k2, nodes[i2]]);
294365
+ const children = splitLine2(line).filter((a2) => !!a2).map((a2) => [a2[0], Number.parseInt(a2.slice(1) || "0", radix)]).map(([k3, i2]) => [k3, nodes[i2]]);
294366
294366
  const cNode = children.length ? { c: Object.fromEntries(children) } : {};
294367
294367
  return { ...cNode, ...flags };
294368
294368
  }
@@ -296049,8 +296049,8 @@ function createDictionaryLineParserMapper(options) {
296049
296049
  if (!stripCaseAndAccentsOnForbidden) {
296050
296050
  doNotNormalizePrefix[forbidden] = true;
296051
296051
  }
296052
- function removeDoublePrefix(w3) {
296053
- return w3.startsWith(ignoreCase2 + ignoreCase2) ? w3.slice(1) : w3;
296052
+ function removeDoublePrefix(w2) {
296053
+ return w2.startsWith(ignoreCase2 + ignoreCase2) ? w2.slice(1) : w2;
296054
296054
  }
296055
296055
  function stripKeepCasePrefixAndQuotes(word2) {
296056
296056
  word2 = word2.replaceAll(/"(.*?)"/g, "$1");
@@ -296273,14 +296273,14 @@ function autoResolveWeak(map4, key, resolve13) {
296273
296273
  }
296274
296274
  var AutoResolveWeakCache = class {
296275
296275
  map = /* @__PURE__ */ new WeakMap();
296276
- get(k2, resolve13) {
296277
- return resolve13 ? autoResolveWeak(this.map, k2, resolve13) : this.map.get(k2);
296276
+ get(k3, resolve13) {
296277
+ return resolve13 ? autoResolveWeak(this.map, k3, resolve13) : this.map.get(k3);
296278
296278
  }
296279
- has(k2) {
296280
- return this.map.has(k2);
296279
+ has(k3) {
296280
+ return this.map.has(k3);
296281
296281
  }
296282
- set(k2, v2) {
296283
- this.map.set(k2, v2);
296282
+ set(k3, v2) {
296283
+ this.map.set(k3, v2);
296284
296284
  return this;
296285
296285
  }
296286
296286
  };
@@ -296920,7 +296920,7 @@ function charsetToRepMap(charset, replaceWith = "") {
296920
296920
  return charset.split("|").flatMap((chars) => [...expandCharacterSet(chars)]).map((char) => [char, replaceWith]);
296921
296921
  }
296922
296922
  function expandReplaceMap(repMap) {
296923
- return repMap.flatMap(([from, replaceWith]) => from.split("|").map((w3) => [w3, replaceWith]));
296923
+ return repMap.flatMap(([from, replaceWith]) => from.split("|").map((w2) => [w2, replaceWith]));
296924
296924
  }
296925
296925
  function createMapperRegExp(repMap) {
296926
296926
  const filteredMap = repMap.filter(([match4, _2]) => !!match4);
@@ -297003,8 +297003,8 @@ function createTrie(repMap, ignoreCharset) {
297003
297003
  function addToTrie(node, match4, replaceWith) {
297004
297004
  while (match4) {
297005
297005
  const children = node.children || (node.children = /* @__PURE__ */ Object.create(null));
297006
- const k2 = match4[0];
297007
- const childNode = children[k2] || (children[k2] = /* @__PURE__ */ Object.create(null));
297006
+ const k3 = match4[0];
297007
+ const childNode = children[k3] || (children[k3] = /* @__PURE__ */ Object.create(null));
297008
297008
  node = childNode;
297009
297009
  match4 = match4.slice(1);
297010
297010
  }
@@ -297105,16 +297105,16 @@ var SpellingDictionaryFromTrie = class {
297105
297105
  return findResult;
297106
297106
  }
297107
297107
  const forms2 = wordSearchForms(mWord, this.isDictionaryCaseSensitive, ignoreCase2);
297108
- for (const w3 of forms2) {
297109
- const findResult2 = this.trie.findWord(w3, opts);
297108
+ for (const w2 of forms2) {
297109
+ const findResult2 = this.trie.findWord(w2, opts);
297110
297110
  if (findResult2.found !== false) {
297111
297111
  return findResult2;
297112
297112
  }
297113
297113
  }
297114
297114
  if (useCompounds) {
297115
297115
  const optsUseCompounds = { ...opts, useLegacyWordCompounds: useCompounds };
297116
- for (const w3 of forms2) {
297117
- const findResult2 = this.trie.findWord(w3, optsUseCompounds);
297116
+ for (const w2 of forms2) {
297117
+ const findResult2 = this.trie.findWord(w2, optsUseCompounds);
297118
297118
  if (findResult2.found !== false) {
297119
297119
  return findResult2;
297120
297120
  }
@@ -297155,8 +297155,8 @@ var SpellingDictionaryFromTrie = class {
297155
297155
  if (this.options.noSuggest)
297156
297156
  return;
297157
297157
  const _compoundMethod = suggestOptions.compoundMethod ?? (this.options.useCompounds ? CompoundWordsMethod.JOIN_WORDS : CompoundWordsMethod.NONE);
297158
- for (const w3 of wordSuggestForms(collector.word)) {
297159
- this.trie.genSuggestions(impersonateCollector(collector, w3), _compoundMethod);
297158
+ for (const w2 of wordSuggestForms(collector.word)) {
297159
+ this.trie.genSuggestions(impersonateCollector(collector, w2), _compoundMethod);
297160
297160
  }
297161
297161
  }
297162
297162
  getErrors() {
@@ -297169,19 +297169,19 @@ function createSpellingDictionaryFromTrieFile(data, name3, source, options) {
297169
297169
  }
297170
297170
  function* outerWordForms(word2, mapWord) {
297171
297171
  const sent = /* @__PURE__ */ new Set();
297172
- let w3 = word2;
297173
- const ww = w3;
297174
- yield w3;
297175
- sent.add(w3);
297176
- w3 = word2.normalize("NFC");
297177
- if (w3 !== ww) {
297178
- yield w3;
297179
- sent.add(w3);
297180
- }
297181
- w3 = word2.normalize("NFD");
297182
- if (w3 !== ww && !sent.has(w3)) {
297183
- yield w3;
297184
- sent.add(w3);
297172
+ let w2 = word2;
297173
+ const ww = w2;
297174
+ yield w2;
297175
+ sent.add(w2);
297176
+ w2 = word2.normalize("NFC");
297177
+ if (w2 !== ww) {
297178
+ yield w2;
297179
+ sent.add(w2);
297180
+ }
297181
+ w2 = word2.normalize("NFD");
297182
+ if (w2 !== ww && !sent.has(w2)) {
297183
+ yield w2;
297184
+ sent.add(w2);
297185
297185
  }
297186
297186
  for (const f of sent) {
297187
297187
  for (const m2 of mapWord(f)) {
@@ -297342,7 +297342,7 @@ function extractAllSuggestions(typosDef) {
297342
297342
  }
297343
297343
  function extractIgnoreValues(typosDef, ignorePrefix) {
297344
297344
  const pfxLen = ignorePrefix.length;
297345
- return new Set(Object.keys(typosDef).filter((k2) => k2.startsWith(ignorePrefix)).map((k2) => k2.slice(pfxLen)));
297345
+ return new Set(Object.keys(typosDef).filter((k3) => k3.startsWith(ignorePrefix)).map((k3) => k3.slice(pfxLen)));
297346
297346
  }
297347
297347
  function isDefined3(v2) {
297348
297348
  return v2 !== void 0 && v2 !== null;
@@ -297691,7 +297691,7 @@ function createFlagWordsDictionary(wordList, name3, source) {
297691
297691
  }
297692
297692
  var regExpCleanIgnore = /^(!!)+/;
297693
297693
  function buildTrieDict(words, name3, source) {
297694
- const trie = buildITrieFromWords(pipeSync(words, opMapSync((w3) => "!" + w3), opMapSync((w3) => w3.replace(regExpCleanIgnore, ""))));
297694
+ const trie = buildITrieFromWords(pipeSync(words, opMapSync((w2) => "!" + w2), opMapSync((w2) => w2.replace(regExpCleanIgnore, ""))));
297695
297695
  return new FlagWordsDictionaryTrie(trie, name3, source);
297696
297696
  }
297697
297697
  function bisect(values, predicate) {
@@ -297722,7 +297722,7 @@ var IgnoreWordsDictionary = class {
297722
297722
  this.name = name3;
297723
297723
  this.source = source;
297724
297724
  this.dict = new Set(words);
297725
- this.dictNonStrict = new Set(pipeSync(this.dict, opFilterSync((w3) => w3.startsWith("~")), opMapSync((w3) => w3.slice(1))));
297725
+ this.dictNonStrict = new Set(pipeSync(this.dict, opFilterSync((w2) => w2.startsWith("~")), opMapSync((w2) => w2.slice(1))));
297726
297726
  }
297727
297727
  /**
297728
297728
  * A Forbidden word list does not "have" valid words.
@@ -297783,7 +297783,7 @@ var createCache3 = createAutoResolveWeakCache();
297783
297783
  function createIgnoreWordsDictionary(wordList, name3, source) {
297784
297784
  return createCache3.get(wordList, () => {
297785
297785
  const testSpecialCharacters = /[*+]/;
297786
- const words = [...parseDictionaryLines(wordList, { stripCaseAndAccents: true })].map((w3) => w3.normalize(NormalizeForm));
297786
+ const words = [...parseDictionaryLines(wordList, { stripCaseAndAccents: true })].map((w2) => w2.normalize(NormalizeForm));
297787
297787
  const hasSpecial = words.some((word2) => testSpecialCharacters.test(word2));
297788
297788
  if (hasSpecial) {
297789
297789
  return createSpellingDictionary(words, name3, source, {
@@ -297799,8 +297799,8 @@ function createIgnoreWordsDictionary(wordList, name3, source) {
297799
297799
 
297800
297800
  // ../../node_modules/.pnpm/cspell-dictionary@8.19.4/node_modules/cspell-dictionary/dist/SpellingDictionary/SpellingDictionaryCollection.js
297801
297801
  init_esm_shims();
297802
- function identityString(w3) {
297803
- return w3;
297802
+ function identityString(w2) {
297803
+ return w2;
297804
297804
  }
297805
297805
  var SpellingDictionaryCollectionImpl = class {
297806
297806
  dictionaries;
@@ -298156,18 +298156,18 @@ var CacheStatsTracker = class {
298156
298156
  };
298157
298157
  var AutoResolveCache = class {
298158
298158
  map = /* @__PURE__ */ new Map();
298159
- get(k2, resolve13) {
298160
- return resolve13 ? autoResolve(this.map, k2, resolve13) : this.map.get(k2);
298159
+ get(k3, resolve13) {
298160
+ return resolve13 ? autoResolve(this.map, k3, resolve13) : this.map.get(k3);
298161
298161
  }
298162
- has(k2) {
298163
- return this.map.has(k2);
298162
+ has(k3) {
298163
+ return this.map.has(k3);
298164
298164
  }
298165
- set(k2, v2) {
298166
- this.map.set(k2, v2);
298165
+ set(k3, v2) {
298166
+ this.map.set(k3, v2);
298167
298167
  return this;
298168
298168
  }
298169
- delete(k2) {
298170
- return this.map.delete(k2);
298169
+ delete(k3) {
298170
+ return this.map.delete(k3);
298171
298171
  }
298172
298172
  clear() {
298173
298173
  this.map.clear();
@@ -298190,10 +298190,10 @@ function autoResolveWeak2(map4, key, resolve13) {
298190
298190
  var AutoResolveWeakCache2 = class {
298191
298191
  _map = /* @__PURE__ */ new WeakMap();
298192
298192
  _stats = new CacheStatsTracker();
298193
- get(k2, resolve13) {
298193
+ get(k3, resolve13) {
298194
298194
  const map4 = this._map;
298195
- const found = map4.get(k2);
298196
- if (found !== void 0 || map4.has(k2)) {
298195
+ const found = map4.get(k3);
298196
+ if (found !== void 0 || map4.has(k3)) {
298197
298197
  ++this._stats.hits;
298198
298198
  return found;
298199
298199
  }
@@ -298202,28 +298202,28 @@ var AutoResolveWeakCache2 = class {
298202
298202
  return void 0;
298203
298203
  }
298204
298204
  ++this._stats.resolved;
298205
- const value = resolve13(k2);
298206
- map4.set(k2, value);
298205
+ const value = resolve13(k3);
298206
+ map4.set(k3, value);
298207
298207
  return value;
298208
298208
  }
298209
298209
  get map() {
298210
298210
  return this._map;
298211
298211
  }
298212
- has(k2) {
298213
- return this._map.has(k2);
298212
+ has(k3) {
298213
+ return this._map.has(k3);
298214
298214
  }
298215
- set(k2, v2) {
298215
+ set(k3, v2) {
298216
298216
  ++this._stats.sets;
298217
- this._map.set(k2, v2);
298217
+ this._map.set(k3, v2);
298218
298218
  return this;
298219
298219
  }
298220
298220
  clear() {
298221
298221
  this._stats.clear();
298222
298222
  this._map = /* @__PURE__ */ new WeakMap();
298223
298223
  }
298224
- delete(k2) {
298224
+ delete(k3) {
298225
298225
  ++this._stats.deletes;
298226
- return this._map.delete(k2);
298226
+ return this._map.delete(k3);
298227
298227
  }
298228
298228
  dispose() {
298229
298229
  ++this._stats.disposals;
@@ -298239,9 +298239,9 @@ function createAutoResolveWeakCache2() {
298239
298239
  var AutoResolveWeakWeakCache = class {
298240
298240
  _map = /* @__PURE__ */ new WeakMap();
298241
298241
  _stats = new CacheStatsTracker();
298242
- get(k2, resolve13) {
298242
+ get(k3, resolve13) {
298243
298243
  const map4 = this._map;
298244
- const found = map4.get(k2);
298244
+ const found = map4.get(k3);
298245
298245
  const foundValue = found?.deref();
298246
298246
  if (found !== void 0 && foundValue) {
298247
298247
  ++this._stats.hits;
@@ -298250,33 +298250,33 @@ var AutoResolveWeakWeakCache = class {
298250
298250
  ++this._stats.misses;
298251
298251
  if (!resolve13) {
298252
298252
  if (found) {
298253
- map4.delete(k2);
298253
+ map4.delete(k3);
298254
298254
  }
298255
298255
  return void 0;
298256
298256
  }
298257
298257
  ++this._stats.resolved;
298258
- const value = resolve13(k2);
298259
- map4.set(k2, new WeakRef(value));
298258
+ const value = resolve13(k3);
298259
+ map4.set(k3, new WeakRef(value));
298260
298260
  return value;
298261
298261
  }
298262
298262
  get map() {
298263
298263
  return this._map;
298264
298264
  }
298265
- has(k2) {
298266
- return !!this._map.get(k2)?.deref();
298265
+ has(k3) {
298266
+ return !!this._map.get(k3)?.deref();
298267
298267
  }
298268
- set(k2, v2) {
298268
+ set(k3, v2) {
298269
298269
  ++this._stats.sets;
298270
- this._map.set(k2, new WeakRef(v2));
298270
+ this._map.set(k3, new WeakRef(v2));
298271
298271
  return this;
298272
298272
  }
298273
298273
  clear() {
298274
298274
  this._stats.clear();
298275
298275
  this._map = /* @__PURE__ */ new WeakMap();
298276
298276
  }
298277
- delete(k2) {
298277
+ delete(k3) {
298278
298278
  ++this._stats.deletes;
298279
- return this._map.delete(k2);
298279
+ return this._map.delete(k3);
298280
298280
  }
298281
298281
  dispose() {
298282
298282
  ++this._stats.disposals;
@@ -302053,7 +302053,7 @@ init_esm_shims();
302053
302053
  var StrongWeakMap = class {
302054
302054
  map;
302055
302055
  constructor(init) {
302056
- this.map = new Map(init?.map(([k2, v2]) => [k2, new WeakRef(v2)]));
302056
+ this.map = new Map(init?.map(([k3, v2]) => [k3, new WeakRef(v2)]));
302057
302057
  }
302058
302058
  clear() {
302059
302059
  this.map.clear();
@@ -302400,7 +302400,7 @@ var DictionaryLoader = class {
302400
302400
  calcKey(def) {
302401
302401
  const path31 = def.path;
302402
302402
  const loaderType = determineType(toFileURL(path31), def);
302403
- const optValues = importantOptionKeys.map((k2) => def[k2]?.toString() || "");
302403
+ const optValues = importantOptionKeys.map((k3) => def[k3]?.toString() || "");
302404
302404
  const parts = [path31, loaderType, ...optValues];
302405
302405
  return parts.join("|");
302406
302406
  }
@@ -302506,7 +302506,7 @@ var specialDictionaryNames = {
302506
302506
  ignoreWords: "[ignoreWords]",
302507
302507
  suggestWords: "[suggestWords]"
302508
302508
  };
302509
- var mapSpecialDictionaryNamesToSettings = new Map(Object.entries(specialDictionaryNames).map(([k2, v2]) => [v2, k2]));
302509
+ var mapSpecialDictionaryNamesToSettings = new Map(Object.entries(specialDictionaryNames).map(([k3, v2]) => [v2, k3]));
302510
302510
  function getInlineConfigDictionaries(settings) {
302511
302511
  const { words = emptyWords, userWords = emptyWords, flagWords = emptyWords, ignoreWords = emptyWords, suggestWords = emptyWords } = settings;
302512
302512
  const settingsWordsDictionary = createSpellingDictionary(words, specialDictionaryNames.words, "From Settings `words`", {
@@ -302966,7 +302966,7 @@ function buildLanguageExtensionMapSet(defs) {
302966
302966
  }, /* @__PURE__ */ new Map());
302967
302967
  }
302968
302968
  function buildExtensionToLanguageIdMap(map4) {
302969
- return new Map([...map4].map(([k2, s]) => [k2, [...s]]));
302969
+ return new Map([...map4].map(([k3, s]) => [k3, [...s]]));
302970
302970
  }
302971
302971
  function matchPatternsToFilename(basename7) {
302972
302972
  return idsWithRegExp.filter(({ regexp }) => regexp.test(basename7)).map(({ id }) => id);
@@ -303247,7 +303247,7 @@ var LIB;
303247
303247
  }
303248
303248
  static parse(t2, e2 = false) {
303249
303249
  const r2 = u4.exec(t2);
303250
- return r2 ? new d2(r2[2] || c, w3(r2[4] || c), w3(r2[5] || c), w3(r2[7] || c), w3(r2[9] || c), e2) : new d2(c, c, c, c, c);
303250
+ return r2 ? new d2(r2[2] || c, w2(r2[4] || c), w2(r2[5] || c), w2(r2[7] || c), w2(r2[9] || c), e2) : new d2(c, c, c, c, c);
303251
303251
  }
303252
303252
  static file(t2) {
303253
303253
  let e2 = c;
@@ -303342,16 +303342,16 @@ var LIB;
303342
303342
  }
303343
303343
  return h2 && (n2 += "?", n2 += r2(h2, false, false)), a3 && (n2 += "#", n2 += e2 ? a3 : m2(a3, false, false)), n2;
303344
303344
  }
303345
- function C3(t2) {
303345
+ function C2(t2) {
303346
303346
  try {
303347
303347
  return decodeURIComponent(t2);
303348
303348
  } catch {
303349
- return t2.length > 3 ? t2.substr(0, 3) + C3(t2.substr(3)) : t2;
303349
+ return t2.length > 3 ? t2.substr(0, 3) + C2(t2.substr(3)) : t2;
303350
303350
  }
303351
303351
  }
303352
303352
  const A2 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
303353
- function w3(t2) {
303354
- return t2.match(A2) ? t2.replace(A2, ((t3) => C3(t3))) : t2;
303353
+ function w2(t2) {
303354
+ return t2.match(A2) ? t2.replace(A2, ((t3) => C2(t3))) : t2;
303355
303355
  }
303356
303356
  var x = r(975);
303357
303357
  const P3 = x.posix || x, _2 = "/";
@@ -305123,9 +305123,9 @@ var ImplCSpellConfigFile = class extends CSpellConfigFile {
305123
305123
  addWords(words) {
305124
305124
  if (this.readonly)
305125
305125
  throw new Error(`Config file is readonly: ${this.url.href}`);
305126
- const w3 = this.settings.words || [];
305127
- this.settings.words = w3;
305128
- addUniqueWordsToListAndSort(w3, words);
305126
+ const w2 = this.settings.words || [];
305127
+ this.settings.words = w2;
305128
+ addUniqueWordsToListAndSort(w2, words);
305129
305129
  return this;
305130
305130
  }
305131
305131
  };
@@ -306314,7 +306314,7 @@ var DirConfigScanner = class {
306314
306314
  }
306315
306315
  };
306316
306316
  function setupSearchPlacesByProtocol(searchPlaces2, allowedExtensionsByProtocol) {
306317
- const map4 = new Map([...allowedExtensionsByProtocol.entries()].map(([k2, v2]) => [k2, new Set(v2)]).map(([protocol, exts]) => [protocol, searchPlaces2.filter((url3) => exts.has(extname5(url3)))]));
306317
+ const map4 = new Map([...allowedExtensionsByProtocol.entries()].map(([k3, v2]) => [k3, new Set(v2)]).map(([protocol, exts]) => [protocol, searchPlaces2.filter((url3) => exts.has(extname5(url3)))]));
306318
306318
  return map4;
306319
306319
  }
306320
306320
  async function checkPackageJson(fs18, filename) {
@@ -308011,7 +308011,7 @@ function stringToList(sList) {
308011
308011
  }
308012
308012
  function memorizer(resolver2) {
308013
308013
  const cache5 = createAutoResolveCache();
308014
- return (k2) => cache5.get(k2, resolver2);
308014
+ return (k3) => cache5.get(k3, resolver2);
308015
308015
  }
308016
308016
  var _normalizeLanguageId = memorizer(__normalizeLanguageId);
308017
308017
  function __normalizeLanguageId(langId) {
@@ -309738,29 +309738,29 @@ function lineValidatorFactory(sDict, options) {
309738
309738
  annotateIsFlagged(issue2);
309739
309739
  if (!isFlaggedOrMinLength(issue2))
309740
309740
  continue;
309741
- for (const w3 of checkFullWord(issue2)) {
309742
- mismatches.push(w3);
309741
+ for (const w2 of checkFullWord(issue2)) {
309742
+ mismatches.push(w2);
309743
309743
  }
309744
309744
  }
309745
309745
  if (!mismatches.length)
309746
309746
  return mismatches;
309747
309747
  const hexSequences = !ignoreRandomStrings ? [] : extractHexSequences(possibleWord.text, MIN_HEX_SEQUENCE_LENGTH2).filter(
309748
309748
  // Only consider hex sequences that are all upper case or all lower case and contain a `-` or a digit.
309749
- (w3) => (w3.text === w3.text.toLowerCase() || w3.text === w3.text.toUpperCase()) && /[\d-]/.test(w3.text)
309750
- ).map((w3) => (w3.offset += possibleWord.offset, w3));
309749
+ (w2) => (w2.text === w2.text.toLowerCase() || w2.text === w2.text.toUpperCase()) && /[\d-]/.test(w2.text)
309750
+ ).map((w2) => (w2.offset += possibleWord.offset, w2));
309751
309751
  if (hexSequences.length) {
309752
309752
  mismatches = filterExcludedTextOffsets(mismatches, hexSequences);
309753
309753
  }
309754
309754
  if (mismatches.length) {
309755
309755
  const splitResult = split(lineSegment.segment, possibleWord.offset, splitterIsValid);
309756
- const nonMatching = splitResult.words.filter((w3) => !w3.isFound).filter((w3) => {
309757
- const m2 = w3.text.match(regExUpperCaseWithTrailingCommonEnglishSuffix);
309756
+ const nonMatching = splitResult.words.filter((w2) => !w2.isFound).filter((w2) => {
309757
+ const m2 = w2.text.match(regExUpperCaseWithTrailingCommonEnglishSuffix);
309758
309758
  if (!m2)
309759
309759
  return true;
309760
- const v2 = checkWord({ ...w3, text: m2[1], line: lineSegment.line });
309760
+ const v2 = checkWord({ ...w2, text: m2[1], line: lineSegment.line });
309761
309761
  return v2.isFlagged || !v2.isFound;
309762
309762
  });
309763
- const filtered = filterExcludedTextOffsets(nonMatching.map((w3) => ({ ...w3, line: lineSegment.line })).map(annotateIsFlagged), hexSequences);
309763
+ const filtered = filterExcludedTextOffsets(nonMatching.map((w2) => ({ ...w2, line: lineSegment.line })).map(annotateIsFlagged), hexSequences);
309764
309764
  if (filtered.length < mismatches.length) {
309765
309765
  return filtered;
309766
309766
  }
@@ -309949,11 +309949,11 @@ function flatten2(data) {
309949
309949
  size += data[i2].length;
309950
309950
  }
309951
309951
  const result = new Array(size);
309952
- let k2 = 0;
309952
+ let k3 = 0;
309953
309953
  for (let i2 = 0; i2 < data.length; ++i2) {
309954
309954
  const d2 = data[i2];
309955
309955
  for (let j2 = 0; j2 < d2.length; ++j2) {
309956
- result[k2++] = d2[j2];
309956
+ result[k3++] = d2[j2];
309957
309957
  }
309958
309958
  }
309959
309959
  return result;
@@ -309977,7 +309977,7 @@ function traceWord(word2, dictCollection, config2) {
309977
309977
  };
309978
309978
  const splits = split({ text: word2, offset: 0 }, 0, checkWord);
309979
309979
  const wfSplits = splits.words.map((s) => ({ word: s.text, found: s.isFound }));
309980
- const unique2 = uniqueFn((w3) => w3.word + "|" + w3.found);
309980
+ const unique2 = uniqueFn((w2) => w2.word + "|" + w2.found);
309981
309981
  const wsFound = { word: word2, found: dictCollection.has(word2, opts) };
309982
309982
  const wordSplits = wfSplits.some((s) => s.word === word2) ? wfSplits : [wsFound, ...wfSplits];
309983
309983
  const traces = wordSplits.filter(unique2).map((s) => s.word).flatMap((word3) => dictCollection.dictionaries.map((dict) => ({ dict, word: word3 }))).map(({ dict, word: word3 }) => ({ dict, findResult: dict.find(word3, opts), word: word3 })).flatMap((r2) => unpackDictionaryFindResult(r2, config2));
@@ -310485,7 +310485,7 @@ async function spellCheckFullDocument(document2, options, settingsOrConfigFile)
310485
310485
  const doc = documentToTextDocument(document2);
310486
310486
  const docValOptions = options;
310487
310487
  const docValidator = await DocumentValidator.create(doc, docValOptions, settingsOrConfigFile).finally(() => timerPrepare.end());
310488
- Object.assign(perf2, Object.fromEntries(Object.entries(docValidator.perfTiming).map(([k2, v2]) => ["_" + k2, v2])));
310488
+ Object.assign(perf2, Object.fromEntries(Object.entries(docValidator.perfTiming).map(([k3, v2]) => ["_" + k3, v2])));
310489
310489
  const prep = docValidator._getPreparations();
310490
310490
  if (docValidator.errors.length) {
310491
310491
  return {
@@ -310502,7 +310502,7 @@ async function spellCheckFullDocument(document2, options, settingsOrConfigFile)
310502
310502
  timerCheck.start();
310503
310503
  const issues = docValidator.checkDocument();
310504
310504
  timerCheck.end();
310505
- Object.assign(perf2, Object.fromEntries(Object.entries(docValidator.perfTiming).map(([k2, v2]) => ["_" + k2, v2])));
310505
+ Object.assign(perf2, Object.fromEntries(Object.entries(docValidator.perfTiming).map(([k3, v2]) => ["_" + k3, v2])));
310506
310506
  const result = {
310507
310507
  document: document2,
310508
310508
  options,
@@ -311109,7 +311109,7 @@ function formatQuickFix(io, issue2) {
311109
311109
  const preferred = issue2.suggestionsEx.filter((sug) => sug.isPreferred).map((sug) => sug.wordAdjustedToMatchCase || sug.word);
311110
311110
  if (!preferred.length)
311111
311111
  return "";
311112
- const fixes = preferred.map((w3) => io.chalk.italic(io.chalk.yellow(w3)));
311112
+ const fixes = preferred.map((w2) => io.chalk.italic(io.chalk.yellow(w2)));
311113
311113
  return `fix: (${fixes.join(", ")})`;
311114
311114
  }
311115
311115
  function substitute(text, substitutions) {
@@ -312860,8 +312860,8 @@ var DiskCache = class {
312860
312860
  };
312861
312861
  function getTreeEntry(tree, keys4) {
312862
312862
  let r = tree;
312863
- for (const k2 of keys4) {
312864
- r = r.c?.get(k2);
312863
+ for (const k3 of keys4) {
312864
+ r = r.c?.get(k3);
312865
312865
  if (!r)
312866
312866
  return r;
312867
312867
  }
@@ -312870,14 +312870,14 @@ function getTreeEntry(tree, keys4) {
312870
312870
  function setTreeEntry(tree, deps, update = false) {
312871
312871
  let r = tree;
312872
312872
  for (const d3 of deps) {
312873
- const k2 = d3.f;
312873
+ const k3 = d3.f;
312874
312874
  if (!r.c) {
312875
312875
  r.c = /* @__PURE__ */ new Map();
312876
312876
  }
312877
- const cn = r.c.get(k2);
312877
+ const cn = r.c.get(k3);
312878
312878
  const n = cn ?? {};
312879
312879
  if (!cn) {
312880
- r.c.set(k2, n);
312880
+ r.c.set(k3, n);
312881
312881
  }
312882
312882
  r = n;
312883
312883
  }
@@ -328565,8 +328565,8 @@ function expand_(str2, max4, isTop) {
328565
328565
  const pre = m2.pre;
328566
328566
  const post = m2.post.length ? expand_(m2.post, max4, false) : [""];
328567
328567
  if (/\$$/.test(m2.pre)) {
328568
- for (let k2 = 0; k2 < post.length && k2 < max4; k2++) {
328569
- const expansion = pre + "{" + m2.body + "}" + post[k2];
328568
+ for (let k3 = 0; k3 < post.length && k3 < max4; k3++) {
328569
+ const expansion = pre + "{" + m2.body + "}" + post[k3];
328570
328570
  expansions.push(expansion);
328571
328571
  }
328572
328572
  } else {
@@ -328637,8 +328637,8 @@ function expand_(str2, max4, isTop) {
328637
328637
  }
328638
328638
  }
328639
328639
  for (let j2 = 0; j2 < N.length; j2++) {
328640
- for (let k2 = 0; k2 < post.length && expansions.length < max4; k2++) {
328641
- const expansion = pre + N[j2] + post[k2];
328640
+ for (let k3 = 0; k3 < post.length && expansions.length < max4; k3++) {
328641
+ const expansion = pre + N[j2] + post[k3];
328642
328642
  if (!isTop || isSequence || expansion) {
328643
328643
  expansions.push(expansion);
328644
328644
  }
@@ -330251,21 +330251,21 @@ import { fileURLToPath as fileURLToPath26 } from "node:url";
330251
330251
  // ../../node_modules/.pnpm/path-scurry@2.0.2/node_modules/path-scurry/dist/esm/index.js
330252
330252
  init_esm_shims();
330253
330253
 
330254
- // ../../node_modules/.pnpm/lru-cache@11.4.0/node_modules/lru-cache/dist/esm/node/index.min.js
330254
+ // ../../node_modules/.pnpm/lru-cache@11.5.0/node_modules/lru-cache/dist/esm/node/index.min.js
330255
330255
  init_esm_shims();
330256
- import { tracingChannel as j, channel as G } from "node:diagnostics_channel";
330257
- var w2 = G("lru-cache:metrics");
330258
- var W = j("lru-cache");
330259
- var C2 = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
330260
- var D = () => w2.hasSubscribers || W.hasSubscribers;
330261
- var I2 = /* @__PURE__ */ new Set();
330262
- var L2 = typeof process == "object" && process ? process : {};
330263
- var P2 = (u4, e, t, i2) => {
330264
- typeof L2.emitWarning == "function" ? L2.emitWarning(u4, e, t, i2) : console.error(`[${t}] ${e}: ${u4}`);
330256
+ import { tracingChannel as G, channel as P2 } from "node:diagnostics_channel";
330257
+ var S2 = P2("lru-cache:metrics");
330258
+ var W = G("lru-cache");
330259
+ var L2 = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
330260
+ var D = () => S2.hasSubscribers || W.hasSubscribers;
330261
+ var U2 = /* @__PURE__ */ new Set();
330262
+ var M = typeof process == "object" && process ? process : {};
330263
+ var k2 = (u4, e, t, i2) => {
330264
+ typeof M.emitWarning == "function" ? M.emitWarning(u4, e, t, i2) : console.error(`[${t}] ${e}: ${u4}`);
330265
330265
  };
330266
- var H = (u4) => !I2.has(u4);
330266
+ var H = (u4) => !U2.has(u4);
330267
330267
  var T2 = (u4) => !!u4 && u4 === Math.floor(u4) && u4 > 0 && isFinite(u4);
330268
- var U2 = (u4) => T2(u4) ? u4 <= Math.pow(2, 8) ? Uint8Array : u4 <= Math.pow(2, 16) ? Uint16Array : u4 <= Math.pow(2, 32) ? Uint32Array : u4 <= Number.MAX_SAFE_INTEGER ? O : null : null;
330268
+ var j = (u4) => T2(u4) ? u4 <= Math.pow(2, 8) ? Uint8Array : u4 <= Math.pow(2, 16) ? Uint16Array : u4 <= Math.pow(2, 32) ? Uint32Array : u4 <= Number.MAX_SAFE_INTEGER ? O : null : null;
330269
330269
  var O = class extends Array {
330270
330270
  constructor(e) {
330271
330271
  super(e), this.fill(0);
@@ -330276,7 +330276,7 @@ var R2 = class u2 {
330276
330276
  length;
330277
330277
  static #o = false;
330278
330278
  static create(e) {
330279
- let t = U2(e);
330279
+ let t = j(e);
330280
330280
  if (!t) return [];
330281
330281
  u2.#o = true;
330282
330282
  let i2 = new u2(e, t);
@@ -330293,12 +330293,12 @@ var R2 = class u2 {
330293
330293
  return this.heap[--this.length];
330294
330294
  }
330295
330295
  };
330296
- var M = class u3 {
330296
+ var I2 = class u3 {
330297
330297
  #o;
330298
330298
  #c;
330299
- #w;
330300
- #O;
330301
330299
  #S;
330300
+ #O;
330301
+ #w;
330302
330302
  #M;
330303
330303
  #I;
330304
330304
  #m;
@@ -330320,6 +330320,7 @@ var M = class u3 {
330320
330320
  allowStaleOnFetchAbort;
330321
330321
  allowStaleOnFetchRejection;
330322
330322
  ignoreFetchAbort;
330323
+ backgroundFetchSize;
330323
330324
  #n;
330324
330325
  #b;
330325
330326
  #s;
@@ -330365,49 +330366,49 @@ var M = class u3 {
330365
330366
  return this.#I;
330366
330367
  }
330367
330368
  get dispose() {
330368
- return this.#w;
330369
+ return this.#S;
330369
330370
  }
330370
330371
  get onInsert() {
330371
330372
  return this.#O;
330372
330373
  }
330373
330374
  get disposeAfter() {
330374
- return this.#S;
330375
+ return this.#w;
330375
330376
  }
330376
330377
  constructor(e) {
330377
- let { max: t = 0, ttl: i2, ttlResolution: s = 1, ttlAutopurge: n, updateAgeOnGet: r, updateAgeOnHas: h, allowStale: a2, dispose: o, onInsert: p, disposeAfter: m2, noDisposeOnSet: _2, noUpdateTTL: c, maxSize: d2 = 0, maxEntrySize: f = 0, sizeCalculation: y2, fetchMethod: l, memoMethod: S2, noDeleteOnFetchRejection: F2, noDeleteOnStaleGet: b, allowStaleOnFetchRejection: g2, allowStaleOnFetchAbort: A2, ignoreFetchAbort: z, perf: x } = e;
330378
- if (x !== void 0 && typeof x?.now != "function") throw new TypeError("perf option must have a now() method if specified");
330379
- if (this.#m = x ?? C2, t !== 0 && !T2(t)) throw new TypeError("max option must be a nonnegative integer");
330380
- let E = t ? U2(t) : Array;
330381
- if (!E) throw new Error("invalid max value: " + t);
330382
- if (this.#o = t, this.#c = d2, this.maxEntrySize = f || this.#c, this.sizeCalculation = y2, this.sizeCalculation) {
330378
+ let { max: t = 0, ttl: i2, ttlResolution: s = 1, ttlAutopurge: n, updateAgeOnGet: r, updateAgeOnHas: h, allowStale: a2, dispose: o, onInsert: d2, disposeAfter: y2, noDisposeOnSet: _2, noUpdateTTL: c, maxSize: g2 = 0, maxEntrySize: f = 0, sizeCalculation: b, fetchMethod: l, memoMethod: w2, noDeleteOnFetchRejection: F2, noDeleteOnStaleGet: m2, allowStaleOnFetchRejection: p, allowStaleOnFetchAbort: A2, ignoreFetchAbort: z, backgroundFetchSize: C2 = 1, perf: E } = e;
330379
+ if (this.backgroundFetchSize = C2, E !== void 0 && typeof E?.now != "function") throw new TypeError("perf option must have a now() method if specified");
330380
+ if (this.#m = E ?? L2, t !== 0 && !T2(t)) throw new TypeError("max option must be a nonnegative integer");
330381
+ let v2 = t ? j(t) : Array;
330382
+ if (!v2) throw new Error("invalid max value: " + t);
330383
+ if (this.#o = t, this.#c = g2, this.maxEntrySize = f || this.#c, this.sizeCalculation = b, this.sizeCalculation) {
330383
330384
  if (!this.#c && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
330384
330385
  if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
330385
330386
  }
330386
- if (S2 !== void 0 && typeof S2 != "function") throw new TypeError("memoMethod must be a function if defined");
330387
- if (this.#I = S2, l !== void 0 && typeof l != "function") throw new TypeError("fetchMethod must be a function if specified");
330388
- if (this.#M = l, this.#U = !!l, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: t }).fill(void 0), this.#t = Array.from({ length: t }).fill(void 0), this.#l = new E(t), this.#u = new E(t), this.#a = 0, this.#h = 0, this.#y = R2.create(t), this.#n = 0, this.#b = 0, typeof o == "function" && (this.#w = o), typeof p == "function" && (this.#O = p), typeof m2 == "function" ? (this.#S = m2, this.#r = []) : (this.#S = void 0, this.#r = void 0), this.#T = !!this.#w, this.#x = !!this.#O, this.#f = !!this.#S, this.noDisposeOnSet = !!_2, this.noUpdateTTL = !!c, this.noDeleteOnFetchRejection = !!F2, this.allowStaleOnFetchRejection = !!g2, this.allowStaleOnFetchAbort = !!A2, this.ignoreFetchAbort = !!z, this.maxEntrySize !== 0) {
330387
+ if (w2 !== void 0 && typeof w2 != "function") throw new TypeError("memoMethod must be a function if defined");
330388
+ if (this.#I = w2, l !== void 0 && typeof l != "function") throw new TypeError("fetchMethod must be a function if specified");
330389
+ if (this.#M = l, this.#U = !!l, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: t }).fill(void 0), this.#t = Array.from({ length: t }).fill(void 0), this.#l = new v2(t), this.#u = new v2(t), this.#a = 0, this.#h = 0, this.#y = R2.create(t), this.#n = 0, this.#b = 0, typeof o == "function" && (this.#S = o), typeof d2 == "function" && (this.#O = d2), typeof y2 == "function" ? (this.#w = y2, this.#r = []) : (this.#w = void 0, this.#r = void 0), this.#T = !!this.#S, this.#x = !!this.#O, this.#f = !!this.#w, this.noDisposeOnSet = !!_2, this.noUpdateTTL = !!c, this.noDeleteOnFetchRejection = !!F2, this.allowStaleOnFetchRejection = !!p, this.allowStaleOnFetchAbort = !!A2, this.ignoreFetchAbort = !!z, this.maxEntrySize !== 0) {
330389
330390
  if (this.#c !== 0 && !T2(this.#c)) throw new TypeError("maxSize must be a positive integer if specified");
330390
330391
  if (!T2(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
330391
330392
  this.#X();
330392
330393
  }
330393
- if (this.allowStale = !!a2, this.noDeleteOnStaleGet = !!b, this.updateAgeOnGet = !!r, this.updateAgeOnHas = !!h, this.ttlResolution = T2(s) || s === 0 ? s : 1, this.ttlAutopurge = !!n, this.ttl = i2 || 0, this.ttl) {
330394
+ if (this.allowStale = !!a2, this.noDeleteOnStaleGet = !!m2, this.updateAgeOnGet = !!r, this.updateAgeOnHas = !!h, this.ttlResolution = T2(s) || s === 0 ? s : 1, this.ttlAutopurge = !!n, this.ttl = i2 || 0, this.ttl) {
330394
330395
  if (!T2(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
330395
- this.#H();
330396
+ this.#k();
330396
330397
  }
330397
330398
  if (this.#o === 0 && this.ttl === 0 && this.#c === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
330398
330399
  if (!this.ttlAutopurge && !this.#o && !this.#c) {
330399
- let v2 = "LRU_CACHE_UNBOUNDED";
330400
- H(v2) && (I2.add(v2), P2("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", v2, u3));
330400
+ let x = "LRU_CACHE_UNBOUNDED";
330401
+ H(x) && (U2.add(x), k2("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", x, u3));
330401
330402
  }
330402
330403
  }
330403
330404
  getRemainingTTL(e) {
330404
330405
  return this.#s.has(e) ? 1 / 0 : 0;
330405
330406
  }
330406
- #H() {
330407
+ #k() {
330407
330408
  let e = new O(this.#o), t = new O(this.#o);
330408
330409
  this.#d = e, this.#F = t;
330409
330410
  let i2 = this.ttlAutopurge ? Array.from({ length: this.#o }) : void 0;
330410
- this.#g = i2, this.#N = (h, a2, o = this.#m.now()) => {
330411
+ this.#g = i2, this.#H = (h, a2, o = this.#m.now()) => {
330411
330412
  t[h] = a2 !== 0 ? o : 0, e[h] = a2, s(h, a2);
330412
330413
  }, this.#D = (h) => {
330413
330414
  t[h] = e[h] !== 0 ? this.#m.now() : 0, s(h, e[h]);
@@ -330423,11 +330424,11 @@ var M = class u3 {
330423
330424
  };
330424
330425
  this.#v = (h, a2) => {
330425
330426
  if (e[a2]) {
330426
- let o = e[a2], p = t[a2];
330427
- if (!o || !p) return;
330428
- h.ttl = o, h.start = p, h.now = n || r();
330429
- let m2 = h.now - p;
330430
- h.remainingTTL = o - m2;
330427
+ let o = e[a2], d2 = t[a2];
330428
+ if (!o || !d2) return;
330429
+ h.ttl = o, h.start = d2, h.now = n || r();
330430
+ let y2 = h.now - d2;
330431
+ h.remainingTTL = o - y2;
330431
330432
  }
330432
330433
  };
330433
330434
  let n = 0, r = () => {
@@ -330442,10 +330443,10 @@ var M = class u3 {
330442
330443
  this.getRemainingTTL = (h) => {
330443
330444
  let a2 = this.#s.get(h);
330444
330445
  if (a2 === void 0) return 0;
330445
- let o = e[a2], p = t[a2];
330446
- if (!o || !p) return 1 / 0;
330447
- let m2 = (n || r()) - p;
330448
- return o - m2;
330446
+ let o = e[a2], d2 = t[a2];
330447
+ if (!o || !d2) return 1 / 0;
330448
+ let y2 = (n || r()) - d2;
330449
+ return o - y2;
330449
330450
  }, this.#p = (h) => {
330450
330451
  let a2 = t[h], o = e[h];
330451
330452
  return !!o && !!a2 && (n || r()) - a2 > o;
@@ -330455,19 +330456,21 @@ var M = class u3 {
330455
330456
  };
330456
330457
  #v = () => {
330457
330458
  };
330458
- #N = () => {
330459
+ #H = () => {
330459
330460
  };
330460
330461
  #p = () => false;
330461
330462
  #X() {
330462
330463
  let e = new O(this.#o);
330463
330464
  this.#b = 0, this.#_ = e, this.#R = (t) => {
330464
330465
  this.#b -= e[t], e[t] = 0;
330465
- }, this.#V = (t, i2, s, n) => {
330466
- if (this.#e(i2)) return 0;
330467
- if (!T2(s)) if (n) {
330468
- if (typeof n != "function") throw new TypeError("sizeCalculation must be a function");
330469
- if (s = n(i2, t), !T2(s)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
330470
- } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
330466
+ }, this.#N = (t, i2, s, n) => {
330467
+ if (!T2(s)) {
330468
+ if (this.#e(i2)) return this.backgroundFetchSize;
330469
+ if (n) {
330470
+ if (typeof n != "function") throw new TypeError("sizeCalculation must be a function");
330471
+ if (s = n(i2, t), !T2(s)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
330472
+ } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
330473
+ }
330471
330474
  return s;
330472
330475
  }, this.#j = (t, i2, s) => {
330473
330476
  if (e[t] = i2, this.#c) {
@@ -330481,17 +330484,17 @@ var M = class u3 {
330481
330484
  };
330482
330485
  #j = (e, t, i2) => {
330483
330486
  };
330484
- #V = (e, t, i2, s) => {
330487
+ #N = (e, t, i2, s) => {
330485
330488
  if (i2 || s) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
330486
330489
  return 0;
330487
330490
  };
330488
330491
  *#A({ allowStale: e = this.allowStale } = {}) {
330489
- if (this.#n) for (let t = this.#h; this.#B(t) && ((e || !this.#p(t)) && (yield t), t !== this.#a); ) t = this.#u[t];
330492
+ if (this.#n) for (let t = this.#h; this.#V(t) && ((e || !this.#p(t)) && (yield t), t !== this.#a); ) t = this.#u[t];
330490
330493
  }
330491
330494
  *#z({ allowStale: e = this.allowStale } = {}) {
330492
- if (this.#n) for (let t = this.#a; this.#B(t) && ((e || !this.#p(t)) && (yield t), t !== this.#h); ) t = this.#l[t];
330495
+ if (this.#n) for (let t = this.#a; this.#V(t) && ((e || !this.#p(t)) && (yield t), t !== this.#h); ) t = this.#l[t];
330493
330496
  }
330494
- #B(e) {
330497
+ #V(e) {
330495
330498
  return e !== void 0 && this.#s.get(this.#i[e]) === e;
330496
330499
  }
330497
330500
  *entries() {
@@ -330586,38 +330589,38 @@ var M = class u3 {
330586
330589
  }
330587
330590
  }
330588
330591
  set(e, t, i2 = {}) {
330589
- let { status: s = w2.hasSubscribers ? {} : void 0 } = i2;
330592
+ let { status: s = S2.hasSubscribers ? {} : void 0 } = i2;
330590
330593
  i2.status = s, s && (s.op = "set", s.key = e, t !== void 0 && (s.value = t), s.cache = this);
330591
330594
  let n = this.#W(e, t, i2);
330592
- return s && w2.hasSubscribers && w2.publish(s), n;
330595
+ return s && S2.hasSubscribers && S2.publish(s), n;
330593
330596
  }
330594
330597
  #W(e, t, i2, s) {
330595
- let { ttl: n = this.ttl, start: r, noDisposeOnSet: h = this.noDisposeOnSet, sizeCalculation: a2 = this.sizeCalculation, status: o } = i2;
330598
+ let { ttl: n = this.ttl, start: r, noDisposeOnSet: h = this.noDisposeOnSet, sizeCalculation: a2 = this.sizeCalculation, status: o } = i2, d2 = this.#e(t);
330596
330599
  if (t === void 0) return o && (o.set = "deleted"), this.delete(e), this;
330597
- let { noUpdateTTL: p = this.noUpdateTTL } = i2, m2 = this.#e(t);
330598
- o && !m2 && (o.value = t);
330599
- let _2 = this.#V(e, t, i2.size || 0, a2, o);
330600
+ let { noUpdateTTL: y2 = this.noUpdateTTL } = i2;
330601
+ o && !d2 && (o.value = t);
330602
+ let _2 = this.#N(e, t, i2.size || 0, a2, o);
330600
330603
  if (this.maxEntrySize && _2 > this.maxEntrySize) return this.#E(e, "set"), o && (o.set = "miss", o.maxEntrySizeExceeded = true), this;
330601
330604
  let c = this.#n === 0 ? void 0 : this.#s.get(e);
330602
- if (c === void 0) c = this.#n === 0 ? this.#h : this.#y.length !== 0 ? this.#y.pop() : this.#n === this.#o ? this.#G(false) : this.#n, this.#i[c] = e, this.#t[c] = t, this.#s.set(e, c), this.#l[this.#h] = c, this.#u[c] = this.#h, this.#h = c, this.#n++, this.#j(c, _2, o), o && (o.set = "add"), p = false, this.#x && !m2 && this.#O?.(t, e, "add");
330605
+ if (c === void 0) c = this.#n === 0 ? this.#h : this.#y.length !== 0 ? this.#y.pop() : this.#n === this.#o ? this.#G(false) : this.#n, this.#i[c] = e, this.#t[c] = t, this.#s.set(e, c), this.#l[this.#h] = c, this.#u[c] = this.#h, this.#h = c, this.#n++, this.#j(c, _2, o), o && (o.set = "add"), y2 = false, this.#x && !d2 && this.#O?.(t, e, "add");
330603
330606
  else {
330604
330607
  this.#L(c);
330605
- let d2 = this.#t[c];
330606
- if (t !== d2) {
330607
- if (!h) if (this.#e(d2)) {
330608
- d2 !== s && d2.__abortController.abort(new Error("replaced"));
330609
- let { __staleWhileFetching: f } = d2;
330610
- f !== void 0 && f !== t && (this.#T && this.#w?.(f, e, "set"), this.#f && this.#r?.push([f, e, "set"]));
330611
- } else this.#T && this.#w?.(d2, e, "set"), this.#f && this.#r?.push([d2, e, "set"]);
330612
- if (this.#R(c), this.#j(c, _2, o), this.#t[c] = t, !m2) {
330613
- let f = d2 && this.#e(d2) ? d2.__staleWhileFetching : d2, y2 = f === void 0 ? "add" : t !== f ? "replace" : "update";
330614
- o && (o.set = y2, f !== void 0 && (o.oldValue = f)), this.#x && this.onInsert?.(t, e, y2);
330615
- }
330616
- } else m2 || (o && (o.set = "update"), this.#x && this.onInsert?.(t, e, "update"));
330617
- }
330618
- if (n !== 0 && !this.#d && this.#H(), this.#d && (p || this.#N(c, n, r), o && this.#v(o, c)), !h && this.#f && this.#r) {
330619
- let d2 = this.#r, f;
330620
- for (; f = d2?.shift(); ) this.#S?.(...f);
330608
+ let g2 = this.#t[c];
330609
+ if (t !== g2) {
330610
+ if (!h) if (this.#e(g2)) {
330611
+ g2 !== s && g2.__abortController.abort(new Error("replaced"));
330612
+ let { __staleWhileFetching: f } = g2;
330613
+ f !== void 0 && f !== t && (this.#T && this.#S?.(f, e, "set"), this.#f && this.#r?.push([f, e, "set"]));
330614
+ } else this.#T && this.#S?.(g2, e, "set"), this.#f && this.#r?.push([g2, e, "set"]);
330615
+ if (this.#R(c), this.#j(c, _2, o), this.#t[c] = t, !d2) {
330616
+ let f = g2 && this.#e(g2) ? g2.__staleWhileFetching : g2, b = f === void 0 ? "add" : t !== f ? "replace" : "update";
330617
+ o && (o.set = b, f !== void 0 && (o.oldValue = f)), this.#x && this.onInsert?.(t, e, b);
330618
+ }
330619
+ } else d2 || (o && (o.set = "update"), this.#x && this.onInsert?.(t, e, "update"));
330620
+ }
330621
+ if (n !== 0 && !this.#d && this.#k(), this.#d && (y2 || this.#H(c, n, r), o && this.#v(o, c)), !h && this.#f && this.#r) {
330622
+ let g2 = this.#r, f;
330623
+ for (; f = g2?.shift(); ) this.#w?.(...f);
330621
330624
  }
330622
330625
  return this;
330623
330626
  }
@@ -330632,7 +330635,7 @@ var M = class u3 {
330632
330635
  } finally {
330633
330636
  if (this.#f && this.#r) {
330634
330637
  let e = this.#r, t;
330635
- for (; t = e?.shift(); ) this.#S?.(...t);
330638
+ for (; t = e?.shift(); ) this.#w?.(...t);
330636
330639
  }
330637
330640
  }
330638
330641
  }
@@ -330640,13 +330643,13 @@ var M = class u3 {
330640
330643
  let t = this.#a, i2 = this.#i[t], s = this.#t[t], n = this.#e(s);
330641
330644
  n && s.__abortController.abort(new Error("evicted"));
330642
330645
  let r = n ? s.__staleWhileFetching : s;
330643
- return (this.#T || this.#f) && r !== void 0 && (this.#T && this.#w?.(r, i2, "evict"), this.#f && this.#r?.push([r, i2, "evict"])), this.#R(t), this.#g?.[t] && (clearTimeout(this.#g[t]), this.#g[t] = void 0), e && (this.#i[t] = void 0, this.#t[t] = void 0, this.#y.push(t)), this.#n === 1 ? (this.#a = this.#h = 0, this.#y.length = 0) : this.#a = this.#l[t], this.#s.delete(i2), this.#n--, t;
330646
+ return (this.#T || this.#f) && r !== void 0 && (this.#T && this.#S?.(r, i2, "evict"), this.#f && this.#r?.push([r, i2, "evict"])), this.#R(t), this.#g?.[t] && (clearTimeout(this.#g[t]), this.#g[t] = void 0), e && (this.#i[t] = void 0, this.#t[t] = void 0, this.#y.push(t)), this.#n === 1 ? (this.#a = this.#h = 0, this.#y.length = 0) : this.#a = this.#l[t], this.#s.delete(i2), this.#n--, t;
330644
330647
  }
330645
330648
  has(e, t = {}) {
330646
- let { status: i2 = w2.hasSubscribers ? {} : void 0 } = t;
330649
+ let { status: i2 = S2.hasSubscribers ? {} : void 0 } = t;
330647
330650
  t.status = i2, i2 && (i2.op = "has", i2.key = e, i2.cache = this);
330648
330651
  let s = this.#Y(e, t);
330649
- return w2.hasSubscribers && w2.publish(i2), s;
330652
+ return S2.hasSubscribers && S2.publish(i2), s;
330650
330653
  }
330651
330654
  #Y(e, t = {}) {
330652
330655
  let { updateAgeOnHas: i2 = this.updateAgeOnHas, status: s } = t, n = this.#s.get(e);
@@ -330662,7 +330665,7 @@ var M = class u3 {
330662
330665
  let { status: i2 = D() ? {} : void 0 } = t;
330663
330666
  i2 && (i2.op = "peek", i2.key = e, i2.cache = this), t.status = i2;
330664
330667
  let s = this.#J(e, t);
330665
- return w2.hasSubscribers && w2.publish(i2), s;
330668
+ return S2.hasSubscribers && S2.publish(i2), s;
330666
330669
  }
330667
330670
  #J(e, t) {
330668
330671
  let { status: i2, allowStale: s = this.allowStale } = t, n = this.#s.get(e);
@@ -330678,24 +330681,24 @@ var M = class u3 {
330678
330681
  if (this.#e(n)) return n;
330679
330682
  let r = new AbortController(), { signal: h } = i2;
330680
330683
  h?.addEventListener("abort", () => r.abort(h.reason), { signal: r.signal });
330681
- let a2 = { signal: r.signal, options: i2, context: s }, o = (f, y2 = false) => {
330682
- let { aborted: l } = r.signal, S2 = i2.ignoreFetchAbort && f !== void 0, F2 = i2.ignoreFetchAbort || !!(i2.allowStaleOnFetchAbort && f !== void 0);
330683
- if (i2.status && (l && !y2 ? (i2.status.fetchAborted = true, i2.status.fetchError = r.signal.reason, S2 && (i2.status.fetchAbortIgnored = true)) : i2.status.fetchResolved = true), l && !S2 && !y2) return m2(r.signal.reason, F2);
330684
- let b = c, g2 = this.#t[t];
330685
- return (g2 === c || g2 === void 0 && S2 && y2) && (f === void 0 ? b.__staleWhileFetching !== void 0 ? this.#t[t] = b.__staleWhileFetching : this.#E(e, "fetch") : (i2.status && (i2.status.fetchUpdated = true), this.#W(e, f, a2.options, b))), f;
330686
- }, p = (f) => (i2.status && (i2.status.fetchRejected = true, i2.status.fetchError = f), m2(f, false)), m2 = (f, y2) => {
330687
- let { aborted: l } = r.signal, S2 = l && i2.allowStaleOnFetchAbort, F2 = S2 || i2.allowStaleOnFetchRejection, b = F2 || i2.noDeleteOnFetchRejection, g2 = c;
330688
- if (this.#t[t] === c && (!b || !y2 && g2.__staleWhileFetching === void 0 ? this.#E(e, "fetch") : S2 || (this.#t[t] = g2.__staleWhileFetching)), F2) return i2.status && g2.__staleWhileFetching !== void 0 && (i2.status.returnedStale = true), g2.__staleWhileFetching;
330689
- if (g2.__returned === g2) throw f;
330690
- }, _2 = (f, y2) => {
330684
+ let a2 = { signal: r.signal, options: i2, context: s }, o = (f, b = false) => {
330685
+ let { aborted: l } = r.signal, w2 = i2.ignoreFetchAbort && f !== void 0, F2 = i2.ignoreFetchAbort || !!(i2.allowStaleOnFetchAbort && f !== void 0);
330686
+ if (i2.status && (l && !b ? (i2.status.fetchAborted = true, i2.status.fetchError = r.signal.reason, w2 && (i2.status.fetchAbortIgnored = true)) : i2.status.fetchResolved = true), l && !w2 && !b) return y2(r.signal.reason, F2);
330687
+ let m2 = c, p = this.#t[t];
330688
+ return (p === c || p === void 0 && w2 && b) && (f === void 0 ? m2.__staleWhileFetching !== void 0 ? this.#t[t] = m2.__staleWhileFetching : this.#E(e, "fetch") : (i2.status && (i2.status.fetchUpdated = true), this.#W(e, f, a2.options, m2))), f;
330689
+ }, d2 = (f) => (i2.status && (i2.status.fetchRejected = true, i2.status.fetchError = f), y2(f, false)), y2 = (f, b) => {
330690
+ let { aborted: l } = r.signal, w2 = l && i2.allowStaleOnFetchAbort, F2 = w2 || i2.allowStaleOnFetchRejection, m2 = F2 || i2.noDeleteOnFetchRejection, p = c;
330691
+ if (this.#t[t] === c && (!m2 || !b && p.__staleWhileFetching === void 0 ? this.#E(e, "fetch") : w2 || (this.#t[t] = p.__staleWhileFetching)), F2) return i2.status && p.__staleWhileFetching !== void 0 && (i2.status.returnedStale = true), p.__staleWhileFetching;
330692
+ if (p.__returned === p) throw f;
330693
+ }, _2 = (f, b) => {
330691
330694
  let l = this.#M?.(e, n, a2);
330692
330695
  r.signal.addEventListener("abort", () => {
330693
- (!i2.ignoreFetchAbort || i2.allowStaleOnFetchAbort) && (f(void 0), i2.allowStaleOnFetchAbort && (f = (S2) => o(S2, true)));
330694
- }), l && l instanceof Promise ? l.then((S2) => f(S2 === void 0 ? void 0 : S2), y2) : l !== void 0 && f(l);
330696
+ (!i2.ignoreFetchAbort || i2.allowStaleOnFetchAbort) && (f(void 0), i2.allowStaleOnFetchAbort && (f = (w2) => o(w2, true)));
330697
+ }), l && l instanceof Promise ? l.then((w2) => f(w2 === void 0 ? void 0 : w2), b) : l !== void 0 && f(l);
330695
330698
  };
330696
330699
  i2.status && (i2.status.fetchDispatched = true);
330697
- let c = new Promise(_2).then(o, p), d2 = Object.assign(c, { __abortController: r, __staleWhileFetching: n, __returned: void 0 });
330698
- return t === void 0 ? (this.#W(e, d2, { ...a2.options, status: void 0 }), t = this.#s.get(e)) : this.#t[t] = d2, d2;
330700
+ let c = new Promise(_2).then(o, d2), g2 = Object.assign(c, { __abortController: r, __staleWhileFetching: n, __returned: void 0 });
330701
+ return t === void 0 ? (this.#W(e, g2, { ...a2.options, status: void 0 }), t = this.#s.get(e)) : this.#t[t] = g2, g2;
330699
330702
  }
330700
330703
  #e(e) {
330701
330704
  if (!this.#U) return false;
@@ -330705,27 +330708,27 @@ var M = class u3 {
330705
330708
  fetch(e, t = {}) {
330706
330709
  let i2 = W.hasSubscribers, { status: s = D() ? {} : void 0 } = t;
330707
330710
  t.status = s, s && t.context && (s.context = t.context);
330708
- let n = this.#k(e, t);
330711
+ let n = this.#B(e, t);
330709
330712
  return s && i2 && (s.trace = true, W.tracePromise(() => n, s).catch(() => {
330710
330713
  })), n;
330711
330714
  }
330712
- async #k(e, t = {}) {
330713
- let { allowStale: i2 = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, ttl: r = this.ttl, noDisposeOnSet: h = this.noDisposeOnSet, size: a2 = 0, sizeCalculation: o = this.sizeCalculation, noUpdateTTL: p = this.noUpdateTTL, noDeleteOnFetchRejection: m2 = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: _2 = this.allowStaleOnFetchRejection, ignoreFetchAbort: c = this.ignoreFetchAbort, allowStaleOnFetchAbort: d2 = this.allowStaleOnFetchAbort, context: f, forceRefresh: y2 = false, status: l, signal: S2 } = t;
330714
- if (l && (l.op = "fetch", l.key = e, y2 && (l.forceRefresh = true), l.cache = this), !this.#U) return l && (l.fetch = "get"), this.#C(e, { allowStale: i2, updateAgeOnGet: s, noDeleteOnStaleGet: n, status: l });
330715
- let F2 = { allowStale: i2, updateAgeOnGet: s, noDeleteOnStaleGet: n, ttl: r, noDisposeOnSet: h, size: a2, sizeCalculation: o, noUpdateTTL: p, noDeleteOnFetchRejection: m2, allowStaleOnFetchRejection: _2, allowStaleOnFetchAbort: d2, ignoreFetchAbort: c, status: l, signal: S2 }, b = this.#s.get(e);
330716
- if (b === void 0) {
330715
+ async #B(e, t = {}) {
330716
+ let { allowStale: i2 = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, ttl: r = this.ttl, noDisposeOnSet: h = this.noDisposeOnSet, size: a2 = 0, sizeCalculation: o = this.sizeCalculation, noUpdateTTL: d2 = this.noUpdateTTL, noDeleteOnFetchRejection: y2 = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: _2 = this.allowStaleOnFetchRejection, ignoreFetchAbort: c = this.ignoreFetchAbort, allowStaleOnFetchAbort: g2 = this.allowStaleOnFetchAbort, context: f, forceRefresh: b = false, status: l, signal: w2 } = t;
330717
+ if (l && (l.op = "fetch", l.key = e, b && (l.forceRefresh = true), l.cache = this), !this.#U) return l && (l.fetch = "get"), this.#C(e, { allowStale: i2, updateAgeOnGet: s, noDeleteOnStaleGet: n, status: l });
330718
+ let F2 = { allowStale: i2, updateAgeOnGet: s, noDeleteOnStaleGet: n, ttl: r, noDisposeOnSet: h, size: a2, sizeCalculation: o, noUpdateTTL: d2, noDeleteOnFetchRejection: y2, allowStaleOnFetchRejection: _2, allowStaleOnFetchAbort: g2, ignoreFetchAbort: c, status: l, signal: w2 }, m2 = this.#s.get(e);
330719
+ if (m2 === void 0) {
330717
330720
  l && (l.fetch = "miss");
330718
- let g2 = this.#P(e, b, F2, f);
330719
- return g2.__returned = g2;
330721
+ let p = this.#P(e, m2, F2, f);
330722
+ return p.__returned = p;
330720
330723
  } else {
330721
- let g2 = this.#t[b];
330722
- if (this.#e(g2)) {
330723
- let v2 = i2 && g2.__staleWhileFetching !== void 0;
330724
- return l && (l.fetch = "inflight", v2 && (l.returnedStale = true)), v2 ? g2.__staleWhileFetching : g2.__returned = g2;
330725
- }
330726
- let A2 = this.#p(b);
330727
- if (!y2 && !A2) return l && (l.fetch = "hit"), this.#L(b), s && this.#D(b), l && this.#v(l, b), g2;
330728
- let z = this.#P(e, b, F2, f), E = z.__staleWhileFetching !== void 0 && i2;
330724
+ let p = this.#t[m2];
330725
+ if (this.#e(p)) {
330726
+ let v2 = i2 && p.__staleWhileFetching !== void 0;
330727
+ return l && (l.fetch = "inflight", v2 && (l.returnedStale = true)), v2 ? p.__staleWhileFetching : p.__returned = p;
330728
+ }
330729
+ let A2 = this.#p(m2);
330730
+ if (!b && !A2) return l && (l.fetch = "hit"), this.#L(m2), s && this.#D(m2), l && this.#v(l, m2), p;
330731
+ let z = this.#P(e, m2, F2, f), E = z.__staleWhileFetching !== void 0 && i2;
330729
330732
  return l && (l.fetch = A2 ? "stale" : "refresh", E && A2 && (l.returnedStale = true)), E ? z.__staleWhileFetching : z.__returned = z;
330730
330733
  }
330731
330734
  }
@@ -330737,15 +330740,15 @@ var M = class u3 {
330737
330740
  })), n;
330738
330741
  }
330739
330742
  async #K(e, t = {}) {
330740
- let i2 = await this.#k(e, t);
330743
+ let i2 = await this.#B(e, t);
330741
330744
  if (i2 === void 0) throw new Error("fetch() returned undefined");
330742
330745
  return i2;
330743
330746
  }
330744
330747
  memo(e, t = {}) {
330745
- let { status: i2 = w2.hasSubscribers ? {} : void 0 } = t;
330748
+ let { status: i2 = S2.hasSubscribers ? {} : void 0 } = t;
330746
330749
  t.status = i2, i2 && (i2.op = "memo", i2.key = e, t.context && (i2.context = t.context), i2.cache = this);
330747
330750
  let s = this.#Q(e, t);
330748
- return i2 && (i2.value = s), w2.hasSubscribers && w2.publish(i2), s;
330751
+ return i2 && (i2.value = s), S2.hasSubscribers && S2.publish(i2), s;
330749
330752
  }
330750
330753
  #Q(e, t = {}) {
330751
330754
  let i2 = this.#I;
@@ -330754,14 +330757,14 @@ var M = class u3 {
330754
330757
  n && r && (n.forceRefresh = true);
330755
330758
  let a2 = this.#C(e, h), o = r || a2 === void 0;
330756
330759
  if (n && (n.memo = o ? "miss" : "hit", o || (n.value = a2)), !o) return a2;
330757
- let p = i2(e, a2, { options: h, context: s });
330758
- return n && (n.value = p), this.#W(e, p, h), p;
330760
+ let d2 = i2(e, a2, { options: h, context: s });
330761
+ return n && (n.value = d2), this.#W(e, d2, h), d2;
330759
330762
  }
330760
330763
  get(e, t = {}) {
330761
- let { status: i2 = w2.hasSubscribers ? {} : void 0 } = t;
330764
+ let { status: i2 = S2.hasSubscribers ? {} : void 0 } = t;
330762
330765
  t.status = i2, i2 && (i2.op = "get", i2.key = e, i2.cache = this);
330763
330766
  let s = this.#C(e, t);
330764
- return i2 && (s !== void 0 && (i2.value = s), w2.hasSubscribers && w2.publish(i2)), s;
330767
+ return i2 && (s !== void 0 && (i2.value = s), S2.hasSubscribers && S2.publish(i2)), s;
330765
330768
  }
330766
330769
  #C(e, t = {}) {
330767
330770
  let { allowStale: i2 = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, status: r } = t, h = this.#s.get(e);
@@ -330782,7 +330785,7 @@ var M = class u3 {
330782
330785
  return this.#E(e, "delete");
330783
330786
  }
330784
330787
  #E(e, t) {
330785
- w2.hasSubscribers && w2.publish({ op: "delete", delete: t, key: e, cache: this });
330788
+ S2.hasSubscribers && S2.publish({ op: "delete", delete: t, key: e, cache: this });
330786
330789
  let i2 = false;
330787
330790
  if (this.#n !== 0) {
330788
330791
  let s = this.#s.get(e);
@@ -330790,7 +330793,7 @@ var M = class u3 {
330790
330793
  else {
330791
330794
  this.#R(s);
330792
330795
  let n = this.#t[s];
330793
- if (this.#e(n) ? n.__abortController.abort(new Error("deleted")) : (this.#T || this.#f) && (this.#T && this.#w?.(n, e, t), this.#f && this.#r?.push([n, e, t])), this.#s.delete(e), this.#i[s] = void 0, this.#t[s] = void 0, s === this.#h) this.#h = this.#u[s];
330796
+ if (this.#e(n) ? n.__abortController.abort(new Error("deleted")) : (this.#T || this.#f) && (this.#T && this.#S?.(n, e, t), this.#f && this.#r?.push([n, e, t])), this.#s.delete(e), this.#i[s] = void 0, this.#t[s] = void 0, s === this.#h) this.#h = this.#u[s];
330794
330797
  else if (s === this.#a) this.#a = this.#l[s];
330795
330798
  else {
330796
330799
  let r = this.#u[s];
@@ -330803,7 +330806,7 @@ var M = class u3 {
330803
330806
  }
330804
330807
  if (this.#f && this.#r?.length) {
330805
330808
  let s = this.#r, n;
330806
- for (; n = s?.shift(); ) this.#S?.(...n);
330809
+ for (; n = s?.shift(); ) this.#w?.(...n);
330807
330810
  }
330808
330811
  return i2;
330809
330812
  }
@@ -330816,7 +330819,7 @@ var M = class u3 {
330816
330819
  if (this.#e(i2)) i2.__abortController.abort(new Error("deleted"));
330817
330820
  else {
330818
330821
  let s = this.#i[t];
330819
- this.#T && this.#w?.(i2, s, e), this.#f && this.#r?.push([i2, s, e]);
330822
+ this.#T && this.#S?.(i2, s, e), this.#f && this.#r?.push([i2, s, e]);
330820
330823
  }
330821
330824
  }
330822
330825
  if (this.#s.clear(), this.#t.fill(void 0), this.#i.fill(void 0), this.#d && this.#F) {
@@ -330826,7 +330829,7 @@ var M = class u3 {
330826
330829
  }
330827
330830
  if (this.#_ && this.#_.fill(0), this.#a = 0, this.#h = 0, this.#y.length = 0, this.#b = 0, this.#n = 0, this.#f && this.#r) {
330828
330831
  let t = this.#r, i2;
330829
- for (; i2 = t?.shift(); ) this.#S?.(...i2);
330832
+ for (; i2 = t?.shift(); ) this.#w?.(...i2);
330830
330833
  }
330831
330834
  }
330832
330835
  };
@@ -330882,7 +330885,7 @@ var ENOREALPATH2 = 512;
330882
330885
  var ENOCHILD2 = ENOTDIR2 | ENOENT2 | ENOREALPATH2;
330883
330886
  var TYPEMASK2 = 1023;
330884
330887
  var entToType2 = (s) => s.isFile() ? IFREG2 : s.isDirectory() ? IFDIR2 : s.isSymbolicLink() ? IFLNK2 : s.isCharacterDevice() ? IFCHR2 : s.isBlockDevice() ? IFBLK2 : s.isSocket() ? IFSOCK2 : s.isFIFO() ? IFIFO2 : UNKNOWN2;
330885
- var normalizeCache2 = new M({ max: 2 ** 12 });
330888
+ var normalizeCache2 = new I2({ max: 2 ** 12 });
330886
330889
  var normalize6 = (s) => {
330887
330890
  const c = normalizeCache2.get(s);
330888
330891
  if (c)
@@ -330891,7 +330894,7 @@ var normalize6 = (s) => {
330891
330894
  normalizeCache2.set(s, n);
330892
330895
  return n;
330893
330896
  };
330894
- var normalizeNocaseCache2 = new M({ max: 2 ** 12 });
330897
+ var normalizeNocaseCache2 = new I2({ max: 2 ** 12 });
330895
330898
  var normalizeNocase2 = (s) => {
330896
330899
  const c = normalizeNocaseCache2.get(s);
330897
330900
  if (c)
@@ -330900,12 +330903,12 @@ var normalizeNocase2 = (s) => {
330900
330903
  normalizeNocaseCache2.set(s, n);
330901
330904
  return n;
330902
330905
  };
330903
- var ResolveCache2 = class extends M {
330906
+ var ResolveCache2 = class extends I2 {
330904
330907
  constructor() {
330905
330908
  super({ max: 256 });
330906
330909
  }
330907
330910
  };
330908
- var ChildrenCache2 = class extends M {
330911
+ var ChildrenCache2 = class extends I2 {
330909
330912
  constructor(maxSize = 16 * 1024) {
330910
330913
  super({
330911
330914
  maxSize,
@@ -332883,7 +332886,7 @@ var SubWalks2 = class {
332883
332886
  return subs;
332884
332887
  }
332885
332888
  entries() {
332886
- return this.keys().map((k2) => [k2, this.store.get(k2)]);
332889
+ return this.keys().map((k3) => [k3, this.store.get(k3)]);
332887
332890
  }
332888
332891
  keys() {
332889
332892
  return [...this.store.keys()].filter((t) => t.canReaddir());
@@ -333919,9 +333922,9 @@ function getValues(context, operator, key, modifier) {
333919
333922
  );
333920
333923
  });
333921
333924
  } else {
333922
- Object.keys(value).forEach(function(k2) {
333923
- if (isDefined7(value[k2])) {
333924
- result.push(encodeValue(operator, value[k2], k2));
333925
+ Object.keys(value).forEach(function(k3) {
333926
+ if (isDefined7(value[k3])) {
333927
+ result.push(encodeValue(operator, value[k3], k3));
333925
333928
  }
333926
333929
  });
333927
333930
  }
@@ -333932,10 +333935,10 @@ function getValues(context, operator, key, modifier) {
333932
333935
  tmp.push(encodeValue(operator, value2));
333933
333936
  });
333934
333937
  } else {
333935
- Object.keys(value).forEach(function(k2) {
333936
- if (isDefined7(value[k2])) {
333937
- tmp.push(encodeUnreserved(k2));
333938
- tmp.push(encodeValue(operator, value[k2].toString()));
333938
+ Object.keys(value).forEach(function(k3) {
333939
+ if (isDefined7(value[k3])) {
333940
+ tmp.push(encodeUnreserved(k3));
333941
+ tmp.push(encodeValue(operator, value[k3].toString()));
333939
333942
  }
333940
333943
  });
333941
333944
  }
@@ -337672,12 +337675,12 @@ function urlBuilderAuthorize(base2, options) {
337672
337675
  state: "state"
337673
337676
  };
337674
337677
  let url3 = base2;
337675
- Object.keys(map4).filter((k2) => options[k2] !== null).filter((k2) => {
337676
- if (k2 !== "scopes")
337678
+ Object.keys(map4).filter((k3) => options[k3] !== null).filter((k3) => {
337679
+ if (k3 !== "scopes")
337677
337680
  return true;
337678
337681
  if (options.clientType === "github-app")
337679
337682
  return false;
337680
- return !Array.isArray(options[k2]) || options[k2].length > 0;
337683
+ return !Array.isArray(options[k3]) || options[k3].length > 0;
337681
337684
  }).map((key) => [map4[key], `${options[key]}`]).forEach(([key, value], index2) => {
337682
337685
  url3 += index2 === 0 ? `?` : "&";
337683
337686
  url3 += `${key}=${encodeURIComponent(value)}`;