@prisma/internals 7.7.0-dev.2 → 7.7.0-dev.4

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 (51) hide show
  1. package/dist/{chunk-MPKKUOYA.js → chunk-5NAMXNXR.js} +5 -5
  2. package/dist/{chunk-23FCYS36.js → chunk-6C5KJ77C.js} +5 -5
  3. package/dist/{chunk-Q75TMXCR.js → chunk-6I5EQPM7.js} +5 -5
  4. package/dist/{chunk-TMUYUMBB.js → chunk-B7OEBEDI.js} +5 -5
  5. package/dist/{chunk-EQ7XM232.js → chunk-CS4GLLZE.js} +8 -8
  6. package/dist/{chunk-ZI7BX3VK.js → chunk-DVMCRKSY.js} +7 -7
  7. package/dist/{chunk-PKOQQT7I.js → chunk-DZ4QWHTB.js} +5 -5
  8. package/dist/{chunk-IDINCQMN.js → chunk-E476ARWS.js} +6 -7
  9. package/dist/{chunk-B7X6GLGJ.js → chunk-ELN6OAOE.js} +7 -7
  10. package/dist/{chunk-QH3JKKFJ.js → chunk-F6IVH5VF.js} +5 -5
  11. package/dist/{chunk-N7SNWLKR.js → chunk-JKNVBKB2.js} +19 -19
  12. package/dist/{chunk-YV4IFLW4.js → chunk-JPZYSRK3.js} +262 -15
  13. package/dist/{chunk-5BRXEOYH.js → chunk-K2EOOA2X.js} +5 -5
  14. package/dist/{chunk-2GPDFPDR.js → chunk-KARIQA23.js} +7 -7
  15. package/dist/{chunk-VV6EBVZS.js → chunk-MZRGLTTB.js} +5 -5
  16. package/dist/{chunk-BXIKQUP5.js → chunk-PTPRBA7K.js} +289 -93
  17. package/dist/{chunk-Q5XW7CMJ.js → chunk-QVJ2BXKF.js} +9 -9
  18. package/dist/{chunk-YE3EKTIE.js → chunk-T2HXQT2I.js} +8 -8
  19. package/dist/{chunk-YJVCIN4F.js → chunk-T3R75LJS.js} +5 -5
  20. package/dist/{chunk-3TFDMTMW.js → chunk-VFNP7Q3Y.js} +481 -466
  21. package/dist/{chunk-JWTZIJ4N.js → chunk-WCRQJIEI.js} +4 -4
  22. package/dist/{chunk-DQWKFZPY.js → chunk-WMYLXKKD.js} +5 -5
  23. package/dist/cli/checkUnsupportedDataProxy.js +22 -22
  24. package/dist/cli/schemaContext.js +23 -23
  25. package/dist/engine-commands/errorHelpers.js +4 -4
  26. package/dist/engine-commands/formatSchema.js +21 -21
  27. package/dist/engine-commands/getConfig.js +7 -7
  28. package/dist/engine-commands/getDmmf.js +8 -8
  29. package/dist/engine-commands/getEngineVersion.js +5 -5
  30. package/dist/engine-commands/getEnginesInfo.js +6 -6
  31. package/dist/engine-commands/index.js +33 -33
  32. package/dist/engine-commands/lintSchema.js +8 -8
  33. package/dist/engine-commands/mergeSchemas.js +7 -7
  34. package/dist/engine-commands/validate.js +7 -7
  35. package/dist/get-generators/getGenerators.js +24 -24
  36. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
  37. package/dist/getPackedPackage.js +3 -3
  38. package/dist/index.js +52 -52
  39. package/dist/resolveBinary.js +7 -7
  40. package/dist/schemaEngineCommands.js +8 -8
  41. package/dist/utils/__tests__/isCi.test.js +16 -16
  42. package/dist/utils/__tests__/isInteractive.test.js +14 -14
  43. package/dist/utils/callOnce.test.js +17 -17
  44. package/dist/utils/fs-functional.js +10 -10
  45. package/dist/utils/fs-utils.js +8 -8
  46. package/dist/utils/getVersionFromPackageJson.js +3 -3
  47. package/dist/utils/max.test.js +11 -11
  48. package/dist/utils/path.test.js +30 -30
  49. package/dist/utils/prismaPostgres.test.js +23 -23
  50. package/dist/wasm.js +5 -5
  51. package/package.json +12 -12
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_3TFDMTMW_exports = {};
30
- __export(chunk_3TFDMTMW_exports, {
29
+ var chunk_VFNP7Q3Y_exports = {};
30
+ __export(chunk_VFNP7Q3Y_exports, {
31
31
  afterAll: () => afterAll,
32
32
  beforeEach: () => beforeEach,
33
33
  describe: () => describe,
@@ -35,16 +35,16 @@ __export(chunk_3TFDMTMW_exports, {
35
35
  test: () => test2,
36
36
  vi: () => vi
37
37
  });
38
- module.exports = __toCommonJS(chunk_3TFDMTMW_exports);
38
+ module.exports = __toCommonJS(chunk_VFNP7Q3Y_exports);
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var require_branding = (0, import_chunk_4VNS5WPM.__commonJS)({
41
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/branding.js"(exports) {
41
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js"(exports) {
42
42
  "use strict";
43
43
  Object.defineProperty(exports, "__esModule", { value: true });
44
44
  }
45
45
  });
46
46
  var require_messages = (0, import_chunk_4VNS5WPM.__commonJS)({
47
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/messages.js"(exports) {
47
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js"(exports) {
48
48
  "use strict";
49
49
  Object.defineProperty(exports, "__esModule", { value: true });
50
50
  var inverted = Symbol("inverted");
@@ -66,13 +66,13 @@ var require_messages = (0, import_chunk_4VNS5WPM.__commonJS)({
66
66
  }
67
67
  });
68
68
  var require_overloads = (0, import_chunk_4VNS5WPM.__commonJS)({
69
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/overloads.js"(exports) {
69
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js"(exports) {
70
70
  "use strict";
71
71
  Object.defineProperty(exports, "__esModule", { value: true });
72
72
  }
73
73
  });
74
74
  var require_utils = (0, import_chunk_4VNS5WPM.__commonJS)({
75
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/utils.js"(exports) {
75
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js"(exports) {
76
76
  "use strict";
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  var secret = Symbol("secret");
@@ -81,7 +81,7 @@ var require_utils = (0, import_chunk_4VNS5WPM.__commonJS)({
81
81
  }
82
82
  });
83
83
  var require_dist = (0, import_chunk_4VNS5WPM.__commonJS)({
84
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/index.js"(exports) {
84
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js"(exports) {
85
85
  "use strict";
86
86
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
87
87
  if (k2 === void 0) k2 = k;
@@ -158,7 +158,7 @@ var require_dist = (0, import_chunk_4VNS5WPM.__commonJS)({
158
158
  exports.expectTypeOf = expectTypeOf2;
159
159
  }
160
160
  });
161
- var d = {
161
+ var b = {
162
162
  reset: [0, 0],
163
163
  bold: [1, 22, "\x1B[22m\x1B[1m"],
164
164
  dim: [2, 22, "\x1B[22m\x1B[2m"],
@@ -201,42 +201,43 @@ var d = {
201
201
  bgCyanBright: [106, 49],
202
202
  bgWhiteBright: [107, 49]
203
203
  };
204
- function g(e) {
204
+ function i(e) {
205
205
  return String(e);
206
206
  }
207
- g.open = "";
208
- g.close = "";
209
- function h() {
210
- let e = typeof process != "undefined" ? process : void 0, n = (e == null ? void 0 : e.env) || {}, a = n.FORCE_TTY !== "false", i = (e == null ? void 0 : e.argv) || [];
211
- return !("NO_COLOR" in n || i.includes("--no-color")) && ("FORCE_COLOR" in n || i.includes("--color") || (e == null ? void 0 : e.platform) === "win32" || a && n.TERM !== "dumb" || "CI" in n) || typeof window != "undefined" && !!window.chrome;
207
+ i.open = "";
208
+ i.close = "";
209
+ function B() {
210
+ let e = typeof process != "undefined" ? process : void 0, r = (e == null ? void 0 : e.env) || {}, a = r.FORCE_TTY !== "false", l = (e == null ? void 0 : e.argv) || [];
211
+ return !("NO_COLOR" in r || l.includes("--no-color")) && ("FORCE_COLOR" in r || l.includes("--color") || (e == null ? void 0 : e.platform) === "win32" || a && r.TERM !== "dumb" || "CI" in r) || typeof window != "undefined" && !!window.chrome;
212
212
  }
213
- function f() {
214
- let e = h(), n = (r, t, u, o) => {
215
- let l = "", s = 0;
213
+ function C({ force: e } = {}) {
214
+ let r = e || B(), a = (t, o, u, n) => {
215
+ let g = "", s = 0;
216
216
  do
217
- l += r.substring(s, o) + u, s = o + t.length, o = r.indexOf(t, s);
218
- while (~o);
219
- return l + r.substring(s);
220
- }, a = (r, t, u = r) => {
221
- let o = (l) => {
222
- let s = String(l), b = s.indexOf(t, r.length);
223
- return ~b ? r + n(s, t, u, b) + t : r + s + t;
217
+ g += t.substring(s, n) + u, s = n + o.length, n = t.indexOf(o, s);
218
+ while (~n);
219
+ return g + t.substring(s);
220
+ }, l = (t, o, u = t) => {
221
+ let n = (g) => {
222
+ let s = String(g), h = s.indexOf(o, t.length);
223
+ return ~h ? t + a(s, o, u, h) + o : t + s + o;
224
224
  };
225
- return o.open = r, o.close = t, o;
226
- }, i = {
227
- isColorSupported: e
228
- }, c = (r) => `\x1B[${r}m`;
229
- for (let r in d) {
230
- let t = d[r];
231
- i[r] = e ? a(
232
- c(t[0]),
233
- c(t[1]),
234
- t[2]
235
- ) : g;
236
- }
237
- return i;
238
- }
239
- var C = f();
225
+ return n.open = t, n.close = o, n;
226
+ }, c = {
227
+ isColorSupported: r
228
+ }, f = (t) => `\x1B[${t}m`;
229
+ for (let t in b) {
230
+ let o = b[t];
231
+ c[t] = r ? l(
232
+ f(o[0]),
233
+ f(o[1]),
234
+ o[2]
235
+ ) : i;
236
+ }
237
+ return c;
238
+ }
239
+ var d = C();
240
+ var y = d;
240
241
  function _mergeNamespaces(n, m) {
241
242
  m.forEach(function(e) {
242
243
  e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -325,16 +326,16 @@ function printListItems(list, config2, indentation, depth, refs, printer2) {
325
326
  if (length > 0) {
326
327
  result += config2.spacingOuter;
327
328
  const indentationNext = indentation + config2.indent;
328
- for (let i = 0; i < length; i++) {
329
+ for (let i2 = 0; i2 < length; i2++) {
329
330
  result += indentationNext;
330
- if (i === config2.maxWidth) {
331
+ if (i2 === config2.maxWidth) {
331
332
  result += "\u2026";
332
333
  break;
333
334
  }
334
- if (isDataView(list) || i in list) {
335
- result += printer2(isDataView(list) ? list.getInt8(i) : list[i], config2, indentationNext, depth, refs);
335
+ if (isDataView(list) || i2 in list) {
336
+ result += printer2(isDataView(list) ? list.getInt8(i2) : list[i2], config2, indentationNext, depth, refs);
336
337
  }
337
- if (i < length - 1) {
338
+ if (i2 < length - 1) {
338
339
  result += `,${config2.spacingInner}`;
339
340
  } else if (!config2.min) {
340
341
  result += ",";
@@ -350,12 +351,12 @@ function printObjectProperties(val, config2, indentation, depth, refs, printer2)
350
351
  if (keys2.length > 0) {
351
352
  result += config2.spacingOuter;
352
353
  const indentationNext = indentation + config2.indent;
353
- for (let i = 0; i < keys2.length; i++) {
354
- const key = keys2[i];
354
+ for (let i2 = 0; i2 < keys2.length; i2++) {
355
+ const key = keys2[i2];
355
356
  const name = printer2(key, config2, indentationNext, depth, refs);
356
357
  const value = printer2(val[key], config2, indentationNext, depth, refs);
357
358
  result += `${indentationNext + name}: ${value}`;
358
- if (i < keys2.length - 1) {
359
+ if (i2 < keys2.length - 1) {
359
360
  result += `,${config2.spacingInner}`;
360
361
  } else if (!config2.min) {
361
362
  result += ",";
@@ -532,10 +533,10 @@ function printImmutableEntries(val, config2, indentation, depth, refs, printer2,
532
533
  return ++depth > config2.maxDepth ? printAsLeaf(getImmutableName(type3)) : `${getImmutableName(type3) + SPACE}{${printIteratorEntries(val.entries(), config2, indentation, depth, refs, printer2)}}`;
533
534
  }
534
535
  function getRecordEntries(val) {
535
- let i = 0;
536
+ let i2 = 0;
536
537
  return { next() {
537
- if (i < val._keys.length) {
538
- const key = val._keys[i++];
538
+ if (i2 < val._keys.length) {
539
+ const key = val._keys[i2++];
539
540
  return {
540
541
  done: false,
541
542
  value: [key, val.get(key)]
@@ -703,16 +704,16 @@ var hasRequiredReactIs_production_min;
703
704
  function requireReactIs_production_min() {
704
705
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
705
706
  hasRequiredReactIs_production_min = 1;
706
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d2 = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f2 = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
707
+ var b2 = Symbol.for("react.element"), c = Symbol.for("react.portal"), d2 = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
707
708
  u = Symbol.for("react.module.reference");
708
709
  function v(a) {
709
710
  if ("object" === typeof a && null !== a) {
710
711
  var r = a.$$typeof;
711
712
  switch (r) {
712
- case b:
713
+ case b2:
713
714
  switch (a = a.type, a) {
714
715
  case d2:
715
- case f2:
716
+ case f:
716
717
  case e:
717
718
  case m:
718
719
  case n:
@@ -720,11 +721,11 @@ function requireReactIs_production_min() {
720
721
  default:
721
722
  switch (a = a && a.$$typeof, a) {
722
723
  case k:
723
- case h2:
724
+ case h:
724
725
  case l:
725
726
  case q:
726
727
  case p:
727
- case g2:
728
+ case g:
728
729
  return a;
729
730
  default:
730
731
  return r;
@@ -735,15 +736,15 @@ function requireReactIs_production_min() {
735
736
  }
736
737
  }
737
738
  }
738
- reactIs_production_min.ContextConsumer = h2;
739
- reactIs_production_min.ContextProvider = g2;
740
- reactIs_production_min.Element = b;
739
+ reactIs_production_min.ContextConsumer = h;
740
+ reactIs_production_min.ContextProvider = g;
741
+ reactIs_production_min.Element = b2;
741
742
  reactIs_production_min.ForwardRef = l;
742
743
  reactIs_production_min.Fragment = d2;
743
744
  reactIs_production_min.Lazy = q;
744
745
  reactIs_production_min.Memo = p;
745
746
  reactIs_production_min.Portal = c;
746
- reactIs_production_min.Profiler = f2;
747
+ reactIs_production_min.Profiler = f;
747
748
  reactIs_production_min.StrictMode = e;
748
749
  reactIs_production_min.Suspense = m;
749
750
  reactIs_production_min.SuspenseList = n;
@@ -754,13 +755,13 @@ function requireReactIs_production_min() {
754
755
  return false;
755
756
  };
756
757
  reactIs_production_min.isContextConsumer = function(a) {
757
- return v(a) === h2;
758
+ return v(a) === h;
758
759
  };
759
760
  reactIs_production_min.isContextProvider = function(a) {
760
- return v(a) === g2;
761
+ return v(a) === g;
761
762
  };
762
763
  reactIs_production_min.isElement = function(a) {
763
- return "object" === typeof a && null !== a && a.$$typeof === b;
764
+ return "object" === typeof a && null !== a && a.$$typeof === b2;
764
765
  };
765
766
  reactIs_production_min.isForwardRef = function(a) {
766
767
  return v(a) === l;
@@ -778,7 +779,7 @@ function requireReactIs_production_min() {
778
779
  return v(a) === c;
779
780
  };
780
781
  reactIs_production_min.isProfiler = function(a) {
781
- return v(a) === f2;
782
+ return v(a) === f;
782
783
  };
783
784
  reactIs_production_min.isStrictMode = function(a) {
784
785
  return v(a) === e;
@@ -790,7 +791,7 @@ function requireReactIs_production_min() {
790
791
  return v(a) === n;
791
792
  };
792
793
  reactIs_production_min.isValidElementType = function(a) {
793
- return "string" === typeof a || "function" === typeof a || a === d2 || a === f2 || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g2 || a.$$typeof === h2 || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
794
+ return "string" === typeof a || "function" === typeof a || a === d2 || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
794
795
  };
795
796
  reactIs_production_min.typeOf = v;
796
797
  return reactIs_production_min;
@@ -1121,7 +1122,7 @@ function validateOptions(options) {
1121
1122
  function getColorsHighlight() {
1122
1123
  return DEFAULT_THEME_KEYS.reduce((colors, key) => {
1123
1124
  const value = DEFAULT_THEME[key];
1124
- const color = value && C[value];
1125
+ const color = value && y[value];
1125
1126
  if (color && typeof color.close === "string" && typeof color.open === "string") {
1126
1127
  colors[key] = color;
1127
1128
  } else {
@@ -1303,11 +1304,11 @@ function inspectList(list, options, inspectItem, separator = ", ") {
1303
1304
  let output = "";
1304
1305
  let peek = "";
1305
1306
  let truncated = "";
1306
- for (let i = 0; i < size; i += 1) {
1307
- const last = i + 1 === list.length;
1308
- const secondToLast = i + 2 === list.length;
1309
- truncated = `${truncator}(${list.length - i})`;
1310
- const value = list[i];
1307
+ for (let i2 = 0; i2 < size; i2 += 1) {
1308
+ const last = i2 + 1 === list.length;
1309
+ const secondToLast = i2 + 2 === list.length;
1310
+ truncated = `${truncator}(${list.length - i2})`;
1311
+ const value = list[i2];
1311
1312
  options.truncate = originalLength - output.length - (last ? 0 : separator.length);
1312
1313
  const string2 = peek || inspectItem(value, options) + (last ? "" : separator);
1313
1314
  const nextLength = output.length + string2.length;
@@ -1318,13 +1319,13 @@ function inspectList(list, options, inspectItem, separator = ", ") {
1318
1319
  if (!last && !secondToLast && truncatedLength > originalLength) {
1319
1320
  break;
1320
1321
  }
1321
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
1322
+ peek = last ? "" : inspectItem(list[i2 + 1], options) + (secondToLast ? "" : separator);
1322
1323
  if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {
1323
1324
  break;
1324
1325
  }
1325
1326
  output += string2;
1326
1327
  if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
1327
- truncated = `${truncator}(${list.length - i - 1})`;
1328
+ truncated = `${truncator}(${list.length - i2 - 1})`;
1328
1329
  break;
1329
1330
  }
1330
1331
  truncated = "";
@@ -1377,11 +1378,11 @@ function inspectTypedArray(array2, options) {
1377
1378
  if (!array2.length && !nonIndexProperties.length)
1378
1379
  return `${name}[]`;
1379
1380
  let output = "";
1380
- for (let i = 0; i < array2.length; i++) {
1381
- const string2 = `${options.stylize(truncate(array2[i], options.truncate), "number")}${i === array2.length - 1 ? "" : ", "}`;
1381
+ for (let i2 = 0; i2 < array2.length; i2++) {
1382
+ const string2 = `${options.stylize(truncate(array2[i2], options.truncate), "number")}${i2 === array2.length - 1 ? "" : ", "}`;
1382
1383
  options.truncate -= string2.length;
1383
- if (array2[i] !== array2.length && options.truncate <= 3) {
1384
- output += `${truncator}(${array2.length - array2[i] + 1})`;
1384
+ if (array2[i2] !== array2.length && options.truncate <= 3) {
1385
+ output += `${truncator}(${array2.length - array2[i2] + 1})`;
1385
1386
  break;
1386
1387
  }
1387
1388
  output += string2;
@@ -1429,7 +1430,7 @@ function inspectMap(map2, options) {
1429
1430
  options.truncate -= 7;
1430
1431
  return `Map{ ${inspectList(mapToEntries(map2), options, inspectMapEntry)} }`;
1431
1432
  }
1432
- var isNaN = Number.isNaN || ((i) => i !== i);
1433
+ var isNaN = Number.isNaN || ((i2) => i2 !== i2);
1433
1434
  function inspectNumber(number, options) {
1434
1435
  if (isNaN(number)) {
1435
1436
  return options.stylize("NaN", "number");
@@ -1758,8 +1759,8 @@ function baseFormat(args, options = {}) {
1758
1759
  };
1759
1760
  if (typeof args[0] !== "string") {
1760
1761
  const objects = [];
1761
- for (let i2 = 0; i2 < args.length; i2++) {
1762
- objects.push(formatArg(args[i2], {
1762
+ for (let i3 = 0; i3 < args.length; i3++) {
1763
+ objects.push(formatArg(args[i3], {
1763
1764
  depth: 0,
1764
1765
  colors: false
1765
1766
  }));
@@ -1767,18 +1768,18 @@ function baseFormat(args, options = {}) {
1767
1768
  return objects.join(" ");
1768
1769
  }
1769
1770
  const len = args.length;
1770
- let i = 1;
1771
+ let i2 = 1;
1771
1772
  const template = args[0];
1772
1773
  let str = String(template).replace(formatRegExp, (x) => {
1773
1774
  if (x === "%%") {
1774
1775
  return "%";
1775
1776
  }
1776
- if (i >= len) {
1777
+ if (i2 >= len) {
1777
1778
  return x;
1778
1779
  }
1779
1780
  switch (x) {
1780
1781
  case "%s": {
1781
- const value = args[i++];
1782
+ const value = args[i2++];
1782
1783
  if (typeof value === "bigint") {
1783
1784
  return `${value.toString()}n`;
1784
1785
  }
@@ -1797,35 +1798,35 @@ function baseFormat(args, options = {}) {
1797
1798
  return String(value);
1798
1799
  }
1799
1800
  case "%d": {
1800
- const value = args[i++];
1801
+ const value = args[i2++];
1801
1802
  if (typeof value === "bigint") {
1802
1803
  return `${value.toString()}n`;
1803
1804
  }
1804
1805
  return Number(value).toString();
1805
1806
  }
1806
1807
  case "%i": {
1807
- const value = args[i++];
1808
+ const value = args[i2++];
1808
1809
  if (typeof value === "bigint") {
1809
1810
  return `${value.toString()}n`;
1810
1811
  }
1811
1812
  return Number.parseInt(String(value)).toString();
1812
1813
  }
1813
1814
  case "%f":
1814
- return Number.parseFloat(String(args[i++])).toString();
1815
+ return Number.parseFloat(String(args[i2++])).toString();
1815
1816
  case "%o":
1816
- return formatArg(args[i++], {
1817
+ return formatArg(args[i2++], {
1817
1818
  showHidden: true,
1818
1819
  showProxy: true
1819
1820
  });
1820
1821
  case "%O":
1821
- return formatArg(args[i++]);
1822
+ return formatArg(args[i2++]);
1822
1823
  case "%c": {
1823
- i++;
1824
+ i2++;
1824
1825
  return "";
1825
1826
  }
1826
1827
  case "%j":
1827
1828
  try {
1828
- return JSON.stringify(args[i++]);
1829
+ return JSON.stringify(args[i2++]);
1829
1830
  } catch (err) {
1830
1831
  const m = err.message;
1831
1832
  if (m.includes("circular structure") || m.includes("cyclic structures") || m.includes("cyclic object")) {
@@ -1837,7 +1838,7 @@ function baseFormat(args, options = {}) {
1837
1838
  return x;
1838
1839
  }
1839
1840
  });
1840
- for (let x = args[i]; i < len; x = args[++i]) {
1841
+ for (let x = args[i2]; i2 < len; x = args[++i2]) {
1841
1842
  if (x === null || typeof x !== "object") {
1842
1843
  str += ` ${x}`;
1843
1844
  } else {
@@ -2851,34 +2852,34 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2851
2852
  let jLength = iLength;
2852
2853
  let hasExcessAtStartOrEnd = false;
2853
2854
  let nExcessesBetweenChanges = 0;
2854
- let i = 0;
2855
- while (i !== iLength) {
2856
- const iStart = i;
2857
- while (i !== iLength && diffs[i][0] === DIFF_EQUAL) {
2858
- i += 1;
2855
+ let i2 = 0;
2856
+ while (i2 !== iLength) {
2857
+ const iStart = i2;
2858
+ while (i2 !== iLength && diffs[i2][0] === DIFF_EQUAL) {
2859
+ i2 += 1;
2859
2860
  }
2860
- if (iStart !== i) {
2861
+ if (iStart !== i2) {
2861
2862
  if (iStart === 0) {
2862
- if (i > nContextLines) {
2863
- jLength -= i - nContextLines;
2863
+ if (i2 > nContextLines) {
2864
+ jLength -= i2 - nContextLines;
2864
2865
  hasExcessAtStartOrEnd = true;
2865
2866
  }
2866
- } else if (i === iLength) {
2867
- const n = i - iStart;
2867
+ } else if (i2 === iLength) {
2868
+ const n = i2 - iStart;
2868
2869
  if (n > nContextLines) {
2869
2870
  jLength -= n - nContextLines;
2870
2871
  hasExcessAtStartOrEnd = true;
2871
2872
  }
2872
2873
  } else {
2873
- const n = i - iStart;
2874
+ const n = i2 - iStart;
2874
2875
  if (n > nContextLines2) {
2875
2876
  jLength -= n - nContextLines2;
2876
2877
  nExcessesBetweenChanges += 1;
2877
2878
  }
2878
2879
  }
2879
2880
  }
2880
- while (i !== iLength && diffs[i][0] !== DIFF_EQUAL) {
2881
- i += 1;
2881
+ while (i2 !== iLength && diffs[i2][0] !== DIFF_EQUAL) {
2882
+ i2 += 1;
2882
2883
  }
2883
2884
  }
2884
2885
  const hasPatch = nExcessesBetweenChanges !== 0 || hasExcessAtStartOrEnd;
@@ -2913,31 +2914,31 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2913
2914
  lines.push(printInsertLine(line, j === 0 || j === jLast, options));
2914
2915
  bEnd += 1;
2915
2916
  };
2916
- i = 0;
2917
- while (i !== iLength) {
2918
- let iStart = i;
2919
- while (i !== iLength && diffs[i][0] === DIFF_EQUAL) {
2920
- i += 1;
2917
+ i2 = 0;
2918
+ while (i2 !== iLength) {
2919
+ let iStart = i2;
2920
+ while (i2 !== iLength && diffs[i2][0] === DIFF_EQUAL) {
2921
+ i2 += 1;
2921
2922
  }
2922
- if (iStart !== i) {
2923
+ if (iStart !== i2) {
2923
2924
  if (iStart === 0) {
2924
- if (i > nContextLines) {
2925
- iStart = i - nContextLines;
2925
+ if (i2 > nContextLines) {
2926
+ iStart = i2 - nContextLines;
2926
2927
  aStart = iStart;
2927
2928
  bStart = iStart;
2928
2929
  aEnd = aStart;
2929
2930
  bEnd = bStart;
2930
2931
  }
2931
- for (let iCommon = iStart; iCommon !== i; iCommon += 1) {
2932
+ for (let iCommon = iStart; iCommon !== i2; iCommon += 1) {
2932
2933
  pushCommonLine(diffs[iCommon][1]);
2933
2934
  }
2934
- } else if (i === iLength) {
2935
- const iEnd = i - iStart > nContextLines ? iStart + nContextLines : i;
2935
+ } else if (i2 === iLength) {
2936
+ const iEnd = i2 - iStart > nContextLines ? iStart + nContextLines : i2;
2936
2937
  for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) {
2937
2938
  pushCommonLine(diffs[iCommon][1]);
2938
2939
  }
2939
2940
  } else {
2940
- const nCommon = i - iStart;
2941
+ const nCommon = i2 - iStart;
2941
2942
  if (nCommon > nContextLines2) {
2942
2943
  const iEnd = iStart + nContextLines;
2943
2944
  for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) {
@@ -2951,23 +2952,23 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2951
2952
  bStart = bEnd + nOmit;
2952
2953
  aEnd = aStart;
2953
2954
  bEnd = bStart;
2954
- for (let iCommon = i - nContextLines; iCommon !== i; iCommon += 1) {
2955
+ for (let iCommon = i2 - nContextLines; iCommon !== i2; iCommon += 1) {
2955
2956
  pushCommonLine(diffs[iCommon][1]);
2956
2957
  }
2957
2958
  } else {
2958
- for (let iCommon = iStart; iCommon !== i; iCommon += 1) {
2959
+ for (let iCommon = iStart; iCommon !== i2; iCommon += 1) {
2959
2960
  pushCommonLine(diffs[iCommon][1]);
2960
2961
  }
2961
2962
  }
2962
2963
  }
2963
2964
  }
2964
- while (i !== iLength && diffs[i][0] === DIFF_DELETE) {
2965
- pushDeleteLine(diffs[i][1]);
2966
- i += 1;
2965
+ while (i2 !== iLength && diffs[i2][0] === DIFF_DELETE) {
2966
+ pushDeleteLine(diffs[i2][1]);
2967
+ i2 += 1;
2967
2968
  }
2968
- while (i !== iLength && diffs[i][0] === DIFF_INSERT) {
2969
- pushInsertLine(diffs[i][1]);
2970
- i += 1;
2969
+ while (i2 !== iLength && diffs[i2][0] === DIFF_INSERT) {
2970
+ pushInsertLine(diffs[i2][1]);
2971
+ i2 += 1;
2971
2972
  }
2972
2973
  }
2973
2974
  if (hasPatch) {
@@ -2976,9 +2977,9 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2976
2977
  return lines.join("\n");
2977
2978
  }
2978
2979
  function joinAlignedDiffsExpand(diffs, options) {
2979
- return diffs.map((diff2, i, diffs2) => {
2980
+ return diffs.map((diff2, i2, diffs2) => {
2980
2981
  const line = diff2[1];
2981
- const isFirstOrLast = i === 0 || i === diffs2.length - 1;
2982
+ const isFirstOrLast = i2 === 0 || i2 === diffs2.length - 1;
2982
2983
  switch (diff2[0]) {
2983
2984
  case DIFF_DELETE:
2984
2985
  return printDeleteLine(line, isFirstOrLast, options);
@@ -2995,14 +2996,14 @@ var DIFF_TRUNCATE_THRESHOLD_DEFAULT = 0;
2995
2996
  function getDefaultOptions() {
2996
2997
  return {
2997
2998
  aAnnotation: "Expected",
2998
- aColor: C.green,
2999
+ aColor: y.green,
2999
3000
  aIndicator: "-",
3000
3001
  bAnnotation: "Received",
3001
- bColor: C.red,
3002
+ bColor: y.red,
3002
3003
  bIndicator: "+",
3003
- changeColor: C.inverse,
3004
+ changeColor: y.inverse,
3004
3005
  changeLineTrailingSpaceColor: noColor,
3005
- commonColor: C.dim,
3006
+ commonColor: y.dim,
3006
3007
  commonIndicator: " ",
3007
3008
  commonLineTrailingSpaceColor: noColor,
3008
3009
  compareKeys: void 0,
@@ -3011,7 +3012,7 @@ function getDefaultOptions() {
3011
3012
  expand: false,
3012
3013
  includeChangeCounts: false,
3013
3014
  omitAnnotationLines: false,
3014
- patchColor: C.yellow,
3015
+ patchColor: y.yellow,
3015
3016
  printBasicPrototype: false,
3016
3017
  truncateThreshold: DIFF_TRUNCATE_THRESHOLD_DEFAULT,
3017
3018
  truncateAnnotation: "... Diff result is truncated",
@@ -3037,20 +3038,20 @@ function isEmptyString(lines) {
3037
3038
  }
3038
3039
  function countChanges(diffs) {
3039
3040
  let a = 0;
3040
- let b = 0;
3041
+ let b2 = 0;
3041
3042
  diffs.forEach((diff2) => {
3042
3043
  switch (diff2[0]) {
3043
3044
  case DIFF_DELETE:
3044
3045
  a += 1;
3045
3046
  break;
3046
3047
  case DIFF_INSERT:
3047
- b += 1;
3048
+ b2 += 1;
3048
3049
  break;
3049
3050
  }
3050
3051
  });
3051
3052
  return {
3052
3053
  a,
3053
- b
3054
+ b: b2
3054
3055
  };
3055
3056
  }
3056
3057
  function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines }, changeCounts) {
@@ -3072,9 +3073,9 @@ function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor,
3072
3073
  bRest = `${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;
3073
3074
  }
3074
3075
  const a = `${aIndicator} ${aAnnotation}${aRest}`;
3075
- const b = `${bIndicator} ${bAnnotation}${bRest}`;
3076
+ const b2 = `${bIndicator} ${bAnnotation}${bRest}`;
3076
3077
  return `${aColor(a)}
3077
- ${bColor(b)}
3078
+ ${bColor(b2)}
3078
3079
 
3079
3080
  `;
3080
3081
  }
@@ -3188,25 +3189,25 @@ function getType3(value) {
3188
3189
  function getNewLineSymbol(string2) {
3189
3190
  return string2.includes("\r\n") ? "\r\n" : "\n";
3190
3191
  }
3191
- function diffStrings(a, b, options) {
3192
+ function diffStrings(a, b2, options) {
3192
3193
  const truncate3 = (options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? false;
3193
3194
  const truncateThreshold = Math.max(Math.floor((options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? 0), 0);
3194
3195
  let aLength = a.length;
3195
- let bLength = b.length;
3196
+ let bLength = b2.length;
3196
3197
  if (truncate3) {
3197
3198
  const aMultipleLines = a.includes("\n");
3198
- const bMultipleLines = b.includes("\n");
3199
+ const bMultipleLines = b2.includes("\n");
3199
3200
  const aNewLineSymbol = getNewLineSymbol(a);
3200
- const bNewLineSymbol = getNewLineSymbol(b);
3201
+ const bNewLineSymbol = getNewLineSymbol(b2);
3201
3202
  const _a = aMultipleLines ? `${a.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
3202
3203
  ` : a;
3203
- const _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
3204
- ` : b;
3204
+ const _b = bMultipleLines ? `${b2.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
3205
+ ` : b2;
3205
3206
  aLength = _a.length;
3206
3207
  bLength = _b.length;
3207
3208
  }
3208
- const truncated = aLength !== a.length || bLength !== b.length;
3209
- const isCommon = (aIndex2, bIndex2) => a[aIndex2] === b[bIndex2];
3209
+ const truncated = aLength !== a.length || bLength !== b2.length;
3210
+ const isCommon = (aIndex2, bIndex2) => a[aIndex2] === b2[bIndex2];
3210
3211
  let aIndex = 0;
3211
3212
  let bIndex = 0;
3212
3213
  const diffs = [];
@@ -3215,18 +3216,18 @@ function diffStrings(a, b, options) {
3215
3216
  diffs.push(new Diff(DIFF_DELETE, a.slice(aIndex, aCommon)));
3216
3217
  }
3217
3218
  if (bIndex !== bCommon) {
3218
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon)));
3219
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex, bCommon)));
3219
3220
  }
3220
3221
  aIndex = aCommon + nCommon;
3221
3222
  bIndex = bCommon + nCommon;
3222
- diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
3223
+ diffs.push(new Diff(DIFF_EQUAL, b2.slice(bCommon, bIndex)));
3223
3224
  };
3224
3225
  diffSequences(aLength, bLength, isCommon, foundSubsequence);
3225
3226
  if (aIndex !== aLength) {
3226
3227
  diffs.push(new Diff(DIFF_DELETE, a.slice(aIndex)));
3227
3228
  }
3228
3229
  if (bIndex !== bLength) {
3229
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex)));
3230
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex)));
3230
3231
  }
3231
3232
  return [diffs, truncated];
3232
3233
  }
@@ -3264,8 +3265,8 @@ var ChangeBuffer = class {
3264
3265
  if (string2.includes("\n")) {
3265
3266
  const substrings = string2.split("\n");
3266
3267
  const iLast = substrings.length - 1;
3267
- substrings.forEach((substring, i) => {
3268
- if (i < iLast) {
3268
+ substrings.forEach((substring, i2) => {
3269
+ if (i2 < iLast) {
3269
3270
  this.pushSubstring(substring);
3270
3271
  this.pushLine();
3271
3272
  } else if (substring.length !== 0) {
@@ -3317,8 +3318,8 @@ var CommonBuffer = class {
3317
3318
  if (string2.includes("\n")) {
3318
3319
  const substrings = string2.split("\n");
3319
3320
  const iLast = substrings.length - 1;
3320
- substrings.forEach((substring, i) => {
3321
- if (i === 0) {
3321
+ substrings.forEach((substring, i2) => {
3322
+ if (i2 === 0) {
3322
3323
  const subdiff = new Diff(op, substring);
3323
3324
  if (this.deleteBuffer.isLineEmpty() && this.insertBuffer.isLineEmpty()) {
3324
3325
  this.flushChangeLines();
@@ -3327,7 +3328,7 @@ var CommonBuffer = class {
3327
3328
  this.pushDiffChangeLines(subdiff);
3328
3329
  this.flushChangeLines();
3329
3330
  }
3330
- } else if (i < iLast) {
3331
+ } else if (i2 < iLast) {
3331
3332
  this.pushDiffCommonLine(new Diff(op, substring));
3332
3333
  } else if (substring.length !== 0) {
3333
3334
  this.pushDiffChangeLines(new Diff(op, substring));
@@ -3364,26 +3365,26 @@ function getAlignedDiffs(diffs, changeColor) {
3364
3365
  function hasCommonDiff(diffs, isMultiline) {
3365
3366
  if (isMultiline) {
3366
3367
  const iLast = diffs.length - 1;
3367
- return diffs.some((diff2, i) => diff2[0] === DIFF_EQUAL && (i !== iLast || diff2[1] !== "\n"));
3368
+ return diffs.some((diff2, i2) => diff2[0] === DIFF_EQUAL && (i2 !== iLast || diff2[1] !== "\n"));
3368
3369
  }
3369
3370
  return diffs.some((diff2) => diff2[0] === DIFF_EQUAL);
3370
3371
  }
3371
- function diffStringsUnified(a, b, options) {
3372
- if (a !== b && a.length !== 0 && b.length !== 0) {
3373
- const isMultiline = a.includes("\n") || b.includes("\n");
3372
+ function diffStringsUnified(a, b2, options) {
3373
+ if (a !== b2 && a.length !== 0 && b2.length !== 0) {
3374
+ const isMultiline = a.includes("\n") || b2.includes("\n");
3374
3375
  const [diffs, truncated] = diffStringsRaw(isMultiline ? `${a}
3375
- ` : a, isMultiline ? `${b}
3376
- ` : b, true, options);
3376
+ ` : a, isMultiline ? `${b2}
3377
+ ` : b2, true, options);
3377
3378
  if (hasCommonDiff(diffs, isMultiline)) {
3378
3379
  const optionsNormalized = normalizeDiffOptions(options);
3379
3380
  const lines = getAlignedDiffs(diffs, optionsNormalized.changeColor);
3380
3381
  return printDiffLines(lines, truncated, optionsNormalized);
3381
3382
  }
3382
3383
  }
3383
- return diffLinesUnified(a.split("\n"), b.split("\n"), options);
3384
+ return diffLinesUnified(a.split("\n"), b2.split("\n"), options);
3384
3385
  }
3385
- function diffStringsRaw(a, b, cleanup, options) {
3386
- const [diffs, truncated] = diffStrings(a, b, options);
3386
+ function diffStringsRaw(a, b2, cleanup, options) {
3387
+ const [diffs, truncated] = diffStrings(a, b2, options);
3387
3388
  if (cleanup) {
3388
3389
  diff_cleanupSemantic(diffs);
3389
3390
  }
@@ -3412,8 +3413,8 @@ var FALLBACK_FORMAT_OPTIONS = {
3412
3413
  maxDepth: 8,
3413
3414
  plugins: PLUGINS2
3414
3415
  };
3415
- function diff(a, b, options) {
3416
- if (Object.is(a, b)) {
3416
+ function diff(a, b2, options) {
3417
+ if (Object.is(a, b2)) {
3417
3418
  return "";
3418
3419
  }
3419
3420
  const aType = getType3(a);
@@ -3429,7 +3430,7 @@ function diff(a, b, options) {
3429
3430
  expectedType = a.getExpectedType();
3430
3431
  omitDifference = expectedType === "string";
3431
3432
  }
3432
- if (expectedType !== getType3(b)) {
3433
+ if (expectedType !== getType3(b2)) {
3433
3434
  let truncate4 = function(s) {
3434
3435
  return s.length <= MAX_LENGTH ? s : `${s.slice(0, MAX_LENGTH)}...`;
3435
3436
  };
@@ -3437,7 +3438,7 @@ function diff(a, b, options) {
3437
3438
  const { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options);
3438
3439
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
3439
3440
  let aDisplay = format(a, formatOptions);
3440
- let bDisplay = format(b, formatOptions);
3441
+ let bDisplay = format(b2, formatOptions);
3441
3442
  const MAX_LENGTH = 1e5;
3442
3443
  aDisplay = truncate4(aDisplay);
3443
3444
  bDisplay = truncate4(bDisplay);
@@ -3454,21 +3455,21 @@ ${bDiff}`;
3454
3455
  }
3455
3456
  switch (aType) {
3456
3457
  case "string":
3457
- return diffLinesUnified(a.split("\n"), b.split("\n"), options);
3458
+ return diffLinesUnified(a.split("\n"), b2.split("\n"), options);
3458
3459
  case "boolean":
3459
3460
  case "number":
3460
- return comparePrimitive(a, b, options);
3461
+ return comparePrimitive(a, b2, options);
3461
3462
  case "map":
3462
- return compareObjects(sortMap(a), sortMap(b), options);
3463
+ return compareObjects(sortMap(a), sortMap(b2), options);
3463
3464
  case "set":
3464
- return compareObjects(sortSet(a), sortSet(b), options);
3465
+ return compareObjects(sortSet(a), sortSet(b2), options);
3465
3466
  default:
3466
- return compareObjects(a, b, options);
3467
+ return compareObjects(a, b2, options);
3467
3468
  }
3468
3469
  }
3469
- function comparePrimitive(a, b, options) {
3470
+ function comparePrimitive(a, b2, options) {
3470
3471
  const aFormat = format(a, FORMAT_OPTIONS);
3471
- const bFormat = format(b, FORMAT_OPTIONS);
3472
+ const bFormat = format(b2, FORMAT_OPTIONS);
3472
3473
  return aFormat === bFormat ? "" : diffLinesUnified(aFormat.split("\n"), bFormat.split("\n"), options);
3473
3474
  }
3474
3475
  function sortMap(map2) {
@@ -3477,19 +3478,19 @@ function sortMap(map2) {
3477
3478
  function sortSet(set3) {
3478
3479
  return new Set(Array.from(set3.values()).sort());
3479
3480
  }
3480
- function compareObjects(a, b, options) {
3481
+ function compareObjects(a, b2, options) {
3481
3482
  let difference;
3482
3483
  let hasThrown = false;
3483
3484
  try {
3484
3485
  const formatOptions = getFormatOptions(FORMAT_OPTIONS, options);
3485
- difference = getObjectsDifference(a, b, formatOptions, options);
3486
+ difference = getObjectsDifference(a, b2, formatOptions, options);
3486
3487
  } catch {
3487
3488
  hasThrown = true;
3488
3489
  }
3489
3490
  const noDiffMessage = getCommonMessage(NO_DIFF_MESSAGE, options);
3490
3491
  if (difference === void 0 || difference === noDiffMessage) {
3491
3492
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
3492
- difference = getObjectsDifference(a, b, formatOptions, options);
3493
+ difference = getObjectsDifference(a, b2, formatOptions, options);
3493
3494
  if (difference !== noDiffMessage && !hasThrown) {
3494
3495
  difference = `${getCommonMessage(SIMILAR_MESSAGE, options)}
3495
3496
 
@@ -3507,18 +3508,18 @@ function getFormatOptions(formatOptions, options) {
3507
3508
  maxDepth: maxDepth ?? formatOptions.maxDepth
3508
3509
  };
3509
3510
  }
3510
- function getObjectsDifference(a, b, formatOptions, options) {
3511
+ function getObjectsDifference(a, b2, formatOptions, options) {
3511
3512
  const formatOptionsZeroIndent = {
3512
3513
  ...formatOptions,
3513
3514
  indent: 0
3514
3515
  };
3515
3516
  const aCompare = format(a, formatOptionsZeroIndent);
3516
- const bCompare = format(b, formatOptionsZeroIndent);
3517
+ const bCompare = format(b2, formatOptionsZeroIndent);
3517
3518
  if (aCompare === bCompare) {
3518
3519
  return getCommonMessage(NO_DIFF_MESSAGE, options);
3519
3520
  } else {
3520
3521
  const aDisplay = format(a, formatOptions);
3521
- const bDisplay = format(b, formatOptions);
3522
+ const bDisplay = format(b2, formatOptions);
3522
3523
  return diffLinesUnified2(aDisplay.split("\n"), bDisplay.split("\n"), aCompare.split("\n"), bCompare.split("\n"), options);
3523
3524
  }
3524
3525
  }
@@ -3613,13 +3614,13 @@ function replaceTrailingSpaces(text) {
3613
3614
  return text.replace(/\s+$/gm, (spaces) => SPACE_SYMBOL.repeat(spaces.length));
3614
3615
  }
3615
3616
  function printReceived(object2) {
3616
- return C.red(replaceTrailingSpaces(stringify(object2)));
3617
+ return y.red(replaceTrailingSpaces(stringify(object2)));
3617
3618
  }
3618
3619
  function printExpected(value) {
3619
- return C.green(replaceTrailingSpaces(stringify(value)));
3620
+ return y.green(replaceTrailingSpaces(stringify(value)));
3620
3621
  }
3621
3622
  function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) {
3622
- return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? C.inverse(diff2[1]) : diff2[1] : ""), "");
3623
+ return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? y.inverse(diff2[1]) : diff2[1] : ""), "");
3623
3624
  }
3624
3625
  var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
3625
3626
  var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
@@ -3691,11 +3692,11 @@ function serializeValue(val, seen = /* @__PURE__ */ new WeakMap()) {
3691
3692
  if (Array.isArray(val)) {
3692
3693
  const clone2 = new Array(val.length);
3693
3694
  seen.set(val, clone2);
3694
- val.forEach((e, i) => {
3695
+ val.forEach((e, i2) => {
3695
3696
  try {
3696
- clone2[i] = serializeValue(e, seen);
3697
+ clone2[i2] = serializeValue(e, seen);
3697
3698
  } catch (err) {
3698
- clone2[i] = getUnserializableMessage(err);
3699
+ clone2[i2] = getUnserializableMessage(err);
3699
3700
  }
3700
3701
  });
3701
3702
  return clone2;
@@ -3880,10 +3881,10 @@ var comma = ",".charCodeAt(0);
3880
3881
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
3881
3882
  var intToChar = new Uint8Array(64);
3882
3883
  var charToInt = new Uint8Array(128);
3883
- for (let i = 0; i < chars.length; i++) {
3884
- const c = chars.charCodeAt(i);
3885
- intToChar[i] = c;
3886
- charToInt[c] = i;
3884
+ for (let i2 = 0; i2 < chars.length; i2++) {
3885
+ const c = chars.charCodeAt(i2);
3886
+ intToChar[i2] = c;
3887
+ charToInt[c] = i2;
3887
3888
  }
3888
3889
  var CHROME_IE_STACK_REGEXP = /^\s*at .*(?:\S:\d+|\(native\))/m;
3889
3890
  var SAFARI_NATIVE_CODE_REGEXP = /^(?:eval@)?(?:\[native code\])?$/;
@@ -3930,13 +3931,13 @@ function parseSingleFFOrSafariStack(raw) {
3930
3931
  let atIndex = -1;
3931
3932
  let locationPart = "";
3932
3933
  let functionName2;
3933
- for (let i = 0; i < line.length; i++) {
3934
- if (line[i] === "@") {
3935
- const candidateLocation = line.slice(i + 1);
3934
+ for (let i2 = 0; i2 < line.length; i2++) {
3935
+ if (line[i2] === "@") {
3936
+ const candidateLocation = line.slice(i2 + 1);
3936
3937
  if (candidateLocation.includes(":") && candidateLocation.length >= 3) {
3937
- atIndex = i;
3938
+ atIndex = i2;
3938
3939
  locationPart = candidateLocation;
3939
- functionName2 = i > 0 ? line.slice(0, i) : void 0;
3940
+ functionName2 = i2 > 0 ? line.slice(0, i2) : void 0;
3940
3941
  break;
3941
3942
  }
3942
3943
  }
@@ -4409,23 +4410,23 @@ function getUsedProps(fn2) {
4409
4410
  function filterOutComments(s) {
4410
4411
  const result = [];
4411
4412
  let commentState = "none";
4412
- for (let i = 0; i < s.length; ++i) {
4413
+ for (let i2 = 0; i2 < s.length; ++i2) {
4413
4414
  if (commentState === "singleline") {
4414
- if (s[i] === "\n") {
4415
+ if (s[i2] === "\n") {
4415
4416
  commentState = "none";
4416
4417
  }
4417
4418
  } else if (commentState === "multiline") {
4418
- if (s[i - 1] === "*" && s[i] === "/") {
4419
+ if (s[i2 - 1] === "*" && s[i2] === "/") {
4419
4420
  commentState = "none";
4420
4421
  }
4421
4422
  } else if (commentState === "none") {
4422
- if (s[i] === "/" && s[i + 1] === "/") {
4423
+ if (s[i2] === "/" && s[i2 + 1] === "/") {
4423
4424
  commentState = "singleline";
4424
- } else if (s[i] === "/" && s[i + 1] === "*") {
4425
+ } else if (s[i2] === "/" && s[i2 + 1] === "*") {
4425
4426
  commentState = "multiline";
4426
- i += 2;
4427
+ i2 += 2;
4427
4428
  } else {
4428
- result.push(s[i]);
4429
+ result.push(s[i2]);
4429
4430
  }
4430
4431
  }
4431
4432
  }
@@ -4435,17 +4436,17 @@ function splitByComma(s) {
4435
4436
  const result = [];
4436
4437
  const stack = [];
4437
4438
  let start = 0;
4438
- for (let i = 0; i < s.length; i++) {
4439
- if (s[i] === "{" || s[i] === "[") {
4440
- stack.push(s[i] === "{" ? "}" : "]");
4441
- } else if (s[i] === stack.at(-1)) {
4439
+ for (let i2 = 0; i2 < s.length; i2++) {
4440
+ if (s[i2] === "{" || s[i2] === "[") {
4441
+ stack.push(s[i2] === "{" ? "}" : "]");
4442
+ } else if (s[i2] === stack.at(-1)) {
4442
4443
  stack.pop();
4443
- } else if (!stack.length && s[i] === ",") {
4444
- const token = s.substring(start, i).trim();
4444
+ } else if (!stack.length && s[i2] === ",") {
4445
+ const token = s.substring(start, i2).trim();
4445
4446
  if (token) {
4446
4447
  result.push(token);
4447
4448
  }
4448
- start = i + 1;
4449
+ start = i2 + 1;
4449
4450
  }
4450
4451
  }
4451
4452
  const lastToken = s.substring(start).trim();
@@ -4719,8 +4720,8 @@ function createSuiteCollector(name, factory = () => {
4719
4720
  await runWithSuite(collector, () => factory(test5));
4720
4721
  }
4721
4722
  const allChildren = [];
4722
- for (const i of tasks) {
4723
- allChildren.push(i.type === "collector" ? await i.collect(file) : i);
4723
+ for (const i2 of tasks) {
4724
+ allChildren.push(i2.type === "collector" ? await i2.collect(file) : i2);
4724
4725
  }
4725
4726
  suite2.tasks = allChildren;
4726
4727
  return suite2;
@@ -4777,19 +4778,19 @@ function createSuite() {
4777
4778
  const arrayOnlyCases = cases.every(Array.isArray);
4778
4779
  const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
4779
4780
  const fnFirst = typeof optionsOrFn === "function";
4780
- cases.forEach((i, idx) => {
4781
- const items = Array.isArray(i) ? i : [i];
4781
+ cases.forEach((i2, idx) => {
4782
+ const items = Array.isArray(i2) ? i2 : [i2];
4782
4783
  if (fnFirst) {
4783
4784
  if (arrayOnlyCases) {
4784
4785
  suite2(formatTitle(_name, items, idx), handler ? () => handler(...items) : void 0, options.timeout);
4785
4786
  } else {
4786
- suite2(formatTitle(_name, items, idx), handler ? () => handler(i) : void 0, options.timeout);
4787
+ suite2(formatTitle(_name, items, idx), handler ? () => handler(i2) : void 0, options.timeout);
4787
4788
  }
4788
4789
  } else {
4789
4790
  if (arrayOnlyCases) {
4790
4791
  suite2(formatTitle(_name, items, idx), options, handler ? () => handler(...items) : void 0);
4791
4792
  } else {
4792
- suite2(formatTitle(_name, items, idx), options, handler ? () => handler(i) : void 0);
4793
+ suite2(formatTitle(_name, items, idx), options, handler ? () => handler(i2) : void 0);
4793
4794
  }
4794
4795
  }
4795
4796
  });
@@ -4832,19 +4833,19 @@ function createTaskCollector(fn2, context) {
4832
4833
  const arrayOnlyCases = cases.every(Array.isArray);
4833
4834
  const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
4834
4835
  const fnFirst = typeof optionsOrFn === "function";
4835
- cases.forEach((i, idx) => {
4836
- const items = Array.isArray(i) ? i : [i];
4836
+ cases.forEach((i2, idx) => {
4837
+ const items = Array.isArray(i2) ? i2 : [i2];
4837
4838
  if (fnFirst) {
4838
4839
  if (arrayOnlyCases) {
4839
4840
  test5(formatTitle(_name, items, idx), handler ? () => handler(...items) : void 0, options.timeout);
4840
4841
  } else {
4841
- test5(formatTitle(_name, items, idx), handler ? () => handler(i) : void 0, options.timeout);
4842
+ test5(formatTitle(_name, items, idx), handler ? () => handler(i2) : void 0, options.timeout);
4842
4843
  }
4843
4844
  } else {
4844
4845
  if (arrayOnlyCases) {
4845
4846
  test5(formatTitle(_name, items, idx), options, handler ? () => handler(...items) : void 0);
4846
4847
  } else {
4847
- test5(formatTitle(_name, items, idx), options, handler ? () => handler(i) : void 0);
4848
+ test5(formatTitle(_name, items, idx), options, handler ? () => handler(i2) : void 0);
4848
4849
  }
4849
4850
  }
4850
4851
  });
@@ -4922,12 +4923,12 @@ function formatTitle(template, items, idx) {
4922
4923
  const count = template.split("%").length - 1;
4923
4924
  if (template.includes("%f")) {
4924
4925
  const placeholders = template.match(/%f/g) || [];
4925
- placeholders.forEach((_, i2) => {
4926
- if (isNegativeNaN(items[i2]) || Object.is(items[i2], -0)) {
4926
+ placeholders.forEach((_, i3) => {
4927
+ if (isNegativeNaN(items[i3]) || Object.is(items[i3], -0)) {
4927
4928
  let occurrence = 0;
4928
4929
  template = template.replace(/%f/g, (match) => {
4929
4930
  occurrence++;
4930
- return occurrence === i2 + 1 ? "-%f" : match;
4931
+ return occurrence === i3 + 1 ? "-%f" : match;
4931
4932
  });
4932
4933
  }
4933
4934
  });
@@ -4946,14 +4947,14 @@ function formatTitle(template, items, idx) {
4946
4947
  });
4947
4948
  }
4948
4949
  let output = "";
4949
- let i = 0;
4950
+ let i2 = 0;
4950
4951
  handleRegexMatch(
4951
4952
  template,
4952
4953
  formatRegExp,
4953
4954
  // format "%"
4954
4955
  (match) => {
4955
- if (i < count) {
4956
- output += format2(match[0], items[i++]);
4956
+ if (i2 < count) {
4957
+ output += format2(match[0], items[i2++]);
4957
4958
  } else {
4958
4959
  output += match[0];
4959
4960
  }
@@ -4979,12 +4980,12 @@ function handleRegexMatch(input, regex, onMatch, onNonMatch) {
4979
4980
  }
4980
4981
  }
4981
4982
  function formatTemplateString(cases, args) {
4982
- const header = cases.join("").trim().replace(/ /g, "").split("\n").map((i) => i.split("|"))[0];
4983
+ const header = cases.join("").trim().replace(/ /g, "").split("\n").map((i2) => i2.split("|"))[0];
4983
4984
  const res = [];
4984
- for (let i = 0; i < Math.floor(args.length / header.length); i++) {
4985
+ for (let i2 = 0; i2 < Math.floor(args.length / header.length); i2++) {
4985
4986
  const oneCase = {};
4986
4987
  for (let j = 0; j < header.length; j++) {
4987
- oneCase[header[j]] = args[i * header.length + j];
4988
+ oneCase[header[j]] = args[i2 * header.length + j];
4988
4989
  }
4989
4990
  res.push(oneCase);
4990
4991
  }
@@ -5218,41 +5219,41 @@ async function recordArtifact(task, artifact) {
5218
5219
  return resolvedArtifact;
5219
5220
  }
5220
5221
  var table = [];
5221
- for (let i = 65; i < 91; i++) {
5222
- table.push(String.fromCharCode(i));
5222
+ for (let i2 = 65; i2 < 91; i2++) {
5223
+ table.push(String.fromCharCode(i2));
5223
5224
  }
5224
- for (let i = 97; i < 123; i++) {
5225
- table.push(String.fromCharCode(i));
5225
+ for (let i2 = 97; i2 < 123; i2++) {
5226
+ table.push(String.fromCharCode(i2));
5226
5227
  }
5227
- for (let i = 0; i < 10; i++) {
5228
- table.push(i.toString(10));
5228
+ for (let i2 = 0; i2 < 10; i2++) {
5229
+ table.push(i2.toString(10));
5229
5230
  }
5230
5231
  table.push("+", "/");
5231
5232
  function encodeUint8Array(bytes) {
5232
5233
  let base64 = "";
5233
5234
  const len = bytes.byteLength;
5234
- for (let i = 0; i < len; i += 3) {
5235
- if (len === i + 1) {
5236
- const a = (bytes[i] & 252) >> 2;
5237
- const b = (bytes[i] & 3) << 4;
5235
+ for (let i2 = 0; i2 < len; i2 += 3) {
5236
+ if (len === i2 + 1) {
5237
+ const a = (bytes[i2] & 252) >> 2;
5238
+ const b2 = (bytes[i2] & 3) << 4;
5238
5239
  base64 += table[a];
5239
- base64 += table[b];
5240
+ base64 += table[b2];
5240
5241
  base64 += "==";
5241
- } else if (len === i + 2) {
5242
- const a = (bytes[i] & 252) >> 2;
5243
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
5244
- const c = (bytes[i + 1] & 15) << 2;
5242
+ } else if (len === i2 + 2) {
5243
+ const a = (bytes[i2] & 252) >> 2;
5244
+ const b2 = (bytes[i2] & 3) << 4 | (bytes[i2 + 1] & 240) >> 4;
5245
+ const c = (bytes[i2 + 1] & 15) << 2;
5245
5246
  base64 += table[a];
5246
- base64 += table[b];
5247
+ base64 += table[b2];
5247
5248
  base64 += table[c];
5248
5249
  base64 += "=";
5249
5250
  } else {
5250
- const a = (bytes[i] & 252) >> 2;
5251
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
5252
- const c = (bytes[i + 1] & 15) << 2 | (bytes[i + 2] & 192) >> 6;
5253
- const d2 = bytes[i + 2] & 63;
5251
+ const a = (bytes[i2] & 252) >> 2;
5252
+ const b2 = (bytes[i2] & 3) << 4 | (bytes[i2 + 1] & 240) >> 4;
5253
+ const c = (bytes[i2 + 1] & 15) << 2 | (bytes[i2 + 2] & 192) >> 6;
5254
+ const d2 = bytes[i2 + 2] & 63;
5254
5255
  base64 += table[a];
5255
- base64 += table[b];
5256
+ base64 += table[b2];
5256
5257
  base64 += table[c];
5257
5258
  base64 += table[d2];
5258
5259
  }
@@ -6020,11 +6021,11 @@ function inspectList2(list, options, inspectItem, separator = ", ") {
6020
6021
  let output = "";
6021
6022
  let peek = "";
6022
6023
  let truncated = "";
6023
- for (let i = 0; i < size; i += 1) {
6024
- const last = i + 1 === list.length;
6025
- const secondToLast = i + 2 === list.length;
6026
- truncated = `${truncator2}(${list.length - i})`;
6027
- const value = list[i];
6024
+ for (let i2 = 0; i2 < size; i2 += 1) {
6025
+ const last = i2 + 1 === list.length;
6026
+ const secondToLast = i2 + 2 === list.length;
6027
+ truncated = `${truncator2}(${list.length - i2})`;
6028
+ const value = list[i2];
6028
6029
  options.truncate = originalLength - output.length - (last ? 0 : separator.length);
6029
6030
  const string2 = peek || inspectItem(value, options) + (last ? "" : separator);
6030
6031
  const nextLength = output.length + string2.length;
@@ -6035,13 +6036,13 @@ function inspectList2(list, options, inspectItem, separator = ", ") {
6035
6036
  if (!last && !secondToLast && truncatedLength > originalLength) {
6036
6037
  break;
6037
6038
  }
6038
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
6039
+ peek = last ? "" : inspectItem(list[i2 + 1], options) + (secondToLast ? "" : separator);
6039
6040
  if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {
6040
6041
  break;
6041
6042
  }
6042
6043
  output += string2;
6043
6044
  if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
6044
- truncated = `${truncator2}(${list.length - i - 1})`;
6045
+ truncated = `${truncator2}(${list.length - i2 - 1})`;
6045
6046
  break;
6046
6047
  }
6047
6048
  truncated = "";
@@ -6098,11 +6099,11 @@ function inspectTypedArray2(array2, options) {
6098
6099
  if (!array2.length && !nonIndexProperties.length)
6099
6100
  return `${name}[]`;
6100
6101
  let output = "";
6101
- for (let i = 0; i < array2.length; i++) {
6102
- const string2 = `${options.stylize(truncate2(array2[i], options.truncate), "number")}${i === array2.length - 1 ? "" : ", "}`;
6102
+ for (let i2 = 0; i2 < array2.length; i2++) {
6103
+ const string2 = `${options.stylize(truncate2(array2[i2], options.truncate), "number")}${i2 === array2.length - 1 ? "" : ", "}`;
6103
6104
  options.truncate -= string2.length;
6104
- if (array2[i] !== array2.length && options.truncate <= 3) {
6105
- output += `${truncator2}(${array2.length - array2[i] + 1})`;
6105
+ if (array2[i2] !== array2.length && options.truncate <= 3) {
6106
+ output += `${truncator2}(${array2.length - array2[i2] + 1})`;
6106
6107
  break;
6107
6108
  }
6108
6109
  output += string2;
@@ -6156,7 +6157,7 @@ function inspectMap2(map2, options) {
6156
6157
  return `Map{ ${inspectList2(mapToEntries2(map2), options, inspectMapEntry2)} }`;
6157
6158
  }
6158
6159
  __name(inspectMap2, "inspectMap");
6159
- var isNaN2 = Number.isNaN || ((i) => i !== i);
6160
+ var isNaN2 = Number.isNaN || ((i2) => i2 !== i2);
6160
6161
  function inspectNumber2(number, options) {
6161
6162
  if (isNaN2(number)) {
6162
6163
  return options.stylize("NaN", "number");
@@ -6887,8 +6888,8 @@ __name(getEnumerableKeys, "getEnumerableKeys");
6887
6888
  function getEnumerableSymbols(target) {
6888
6889
  var keys2 = [];
6889
6890
  var allKeys = Object.getOwnPropertySymbols(target);
6890
- for (var i = 0; i < allKeys.length; i += 1) {
6891
- var key = allKeys[i];
6891
+ for (var i2 = 0; i2 < allKeys.length; i2 += 1) {
6892
+ var key = allKeys[i2];
6892
6893
  if (Object.getOwnPropertyDescriptor(target, key).enumerable) {
6893
6894
  keys2.push(key);
6894
6895
  }
@@ -6901,8 +6902,8 @@ function keysEqual(leftHandOperand, rightHandOperand, keys2, options) {
6901
6902
  if (length === 0) {
6902
6903
  return true;
6903
6904
  }
6904
- for (var i = 0; i < length; i += 1) {
6905
- if (deepEqual(leftHandOperand[keys2[i]], rightHandOperand[keys2[i]], options) === false) {
6905
+ for (var i2 = 0; i2 < length; i2 += 1) {
6906
+ if (deepEqual(leftHandOperand[keys2[i2]], rightHandOperand[keys2[i2]], options) === false) {
6906
6907
  return false;
6907
6908
  }
6908
6909
  }
@@ -6978,15 +6979,15 @@ function internalGetPathValue(obj, parsed, pathDepth) {
6978
6979
  let temporaryValue = obj;
6979
6980
  let res = null;
6980
6981
  pathDepth = typeof pathDepth === "undefined" ? parsed.length : pathDepth;
6981
- for (let i = 0; i < pathDepth; i++) {
6982
- const part = parsed[i];
6982
+ for (let i2 = 0; i2 < pathDepth; i2++) {
6983
+ const part = parsed[i2];
6983
6984
  if (temporaryValue) {
6984
6985
  if (typeof part.p === "undefined") {
6985
6986
  temporaryValue = temporaryValue[part.i];
6986
6987
  } else {
6987
6988
  temporaryValue = temporaryValue[part.p];
6988
6989
  }
6989
- if (i === pathDepth - 1) {
6990
+ if (i2 === pathDepth - 1) {
6990
6991
  res = temporaryValue;
6991
6992
  }
6992
6993
  }
@@ -7296,24 +7297,24 @@ function stringDistanceCapped(strA, strB, cap) {
7296
7297
  return cap;
7297
7298
  }
7298
7299
  let memo = [];
7299
- for (let i = 0; i <= strA.length; i++) {
7300
- memo[i] = Array(strB.length + 1).fill(0);
7301
- memo[i][0] = i;
7300
+ for (let i2 = 0; i2 <= strA.length; i2++) {
7301
+ memo[i2] = Array(strB.length + 1).fill(0);
7302
+ memo[i2][0] = i2;
7302
7303
  }
7303
7304
  for (let j = 0; j < strB.length; j++) {
7304
7305
  memo[0][j] = j;
7305
7306
  }
7306
- for (let i = 1; i <= strA.length; i++) {
7307
- let ch = strA.charCodeAt(i - 1);
7307
+ for (let i2 = 1; i2 <= strA.length; i2++) {
7308
+ let ch = strA.charCodeAt(i2 - 1);
7308
7309
  for (let j = 1; j <= strB.length; j++) {
7309
- if (Math.abs(i - j) >= cap) {
7310
- memo[i][j] = cap;
7310
+ if (Math.abs(i2 - j) >= cap) {
7311
+ memo[i2][j] = cap;
7311
7312
  continue;
7312
7313
  }
7313
- memo[i][j] = Math.min(
7314
- memo[i - 1][j] + 1,
7315
- memo[i][j - 1] + 1,
7316
- memo[i - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
7314
+ memo[i2][j] = Math.min(
7315
+ memo[i2 - 1][j] + 1,
7316
+ memo[i2][j - 1] + 1,
7317
+ memo[i2 - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
7317
7318
  );
7318
7319
  }
7319
7320
  }
@@ -7485,8 +7486,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
7485
7486
  }, "overwritingChainableMethodWrapper");
7486
7487
  }
7487
7488
  __name(overwriteChainableMethod, "overwriteChainableMethod");
7488
- function compareByInspect(a, b) {
7489
- return inspect22(a) < inspect22(b) ? -1 : 1;
7489
+ function compareByInspect(a, b2) {
7490
+ return inspect22(a) < inspect22(b2) ? -1 : 1;
7490
7491
  }
7491
7492
  __name(compareByInspect, "compareByInspect");
7492
7493
  function getOwnEnumerablePropertySymbols(obj) {
@@ -7620,8 +7621,8 @@ function an(type3, msg) {
7620
7621
  __name(an, "an");
7621
7622
  Assertion.addChainableMethod("an", an);
7622
7623
  Assertion.addChainableMethod("a", an);
7623
- function SameValueZero(a, b) {
7624
- return isNaN22(a) && isNaN22(b) || a === b;
7624
+ function SameValueZero(a, b2) {
7625
+ return isNaN22(a) && isNaN22(b2) || a === b2;
7625
7626
  }
7626
7627
  __name(SameValueZero, "SameValueZero");
7627
7628
  function includeChainingBehavior() {
@@ -9809,11 +9810,11 @@ ${printReceived3(actual)}`
9809
9810
  };
9810
9811
  }
9811
9812
  };
9812
- var EXPECTED_COLOR = C.green;
9813
- var RECEIVED_COLOR = C.red;
9814
- var INVERTED_COLOR = C.inverse;
9815
- var BOLD_WEIGHT = C.bold;
9816
- var DIM_COLOR = C.dim;
9813
+ var EXPECTED_COLOR = y.green;
9814
+ var RECEIVED_COLOR = y.red;
9815
+ var INVERTED_COLOR = y.inverse;
9816
+ var BOLD_WEIGHT = y.bold;
9817
+ var DIM_COLOR = y.dim;
9817
9818
  function matcherHint(matcherName, received = "received", expected = "expected", options = {}) {
9818
9819
  const { comment = "", isDirectExpectCall = false, isNot = false, promise = "", secondArgument = "", expectedColor = EXPECTED_COLOR, receivedColor = RECEIVED_COLOR, secondArgumentColor = EXPECTED_COLOR } = options;
9819
9820
  let hint = "";
@@ -9894,71 +9895,71 @@ function addCustomEqualityTesters(newTesters) {
9894
9895
  function getCustomEqualityTesters() {
9895
9896
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
9896
9897
  }
9897
- function equals(a, b, customTesters, strictCheck) {
9898
+ function equals(a, b2, customTesters, strictCheck) {
9898
9899
  customTesters = customTesters || [];
9899
- return eq(a, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
9900
+ return eq(a, b2, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
9900
9901
  }
9901
9902
  var functionToString = Function.prototype.toString;
9902
9903
  function isAsymmetric(obj) {
9903
9904
  return !!obj && typeof obj === "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
9904
9905
  }
9905
- function asymmetricMatch(a, b, customTesters) {
9906
+ function asymmetricMatch(a, b2, customTesters) {
9906
9907
  const asymmetricA = isAsymmetric(a);
9907
- const asymmetricB = isAsymmetric(b);
9908
+ const asymmetricB = isAsymmetric(b2);
9908
9909
  if (asymmetricA && asymmetricB) {
9909
9910
  return void 0;
9910
9911
  }
9911
9912
  if (asymmetricA) {
9912
- return a.asymmetricMatch(b, customTesters);
9913
+ return a.asymmetricMatch(b2, customTesters);
9913
9914
  }
9914
9915
  if (asymmetricB) {
9915
- return b.asymmetricMatch(a, customTesters);
9916
+ return b2.asymmetricMatch(a, customTesters);
9916
9917
  }
9917
9918
  }
9918
- function eq(a, b, aStack, bStack, customTesters, hasKey2) {
9919
+ function eq(a, b2, aStack, bStack, customTesters, hasKey2) {
9919
9920
  let result = true;
9920
- const asymmetricResult = asymmetricMatch(a, b, customTesters);
9921
+ const asymmetricResult = asymmetricMatch(a, b2, customTesters);
9921
9922
  if (asymmetricResult !== void 0) {
9922
9923
  return asymmetricResult;
9923
9924
  }
9924
9925
  const testerContext = { equals };
9925
- for (let i = 0; i < customTesters.length; i++) {
9926
- const customTesterResult = customTesters[i].call(testerContext, a, b, customTesters);
9926
+ for (let i2 = 0; i2 < customTesters.length; i2++) {
9927
+ const customTesterResult = customTesters[i2].call(testerContext, a, b2, customTesters);
9927
9928
  if (customTesterResult !== void 0) {
9928
9929
  return customTesterResult;
9929
9930
  }
9930
9931
  }
9931
- if (typeof URL === "function" && a instanceof URL && b instanceof URL) {
9932
- return a.href === b.href;
9932
+ if (typeof URL === "function" && a instanceof URL && b2 instanceof URL) {
9933
+ return a.href === b2.href;
9933
9934
  }
9934
- if (Object.is(a, b)) {
9935
+ if (Object.is(a, b2)) {
9935
9936
  return true;
9936
9937
  }
9937
- if (a === null || b === null) {
9938
- return a === b;
9938
+ if (a === null || b2 === null) {
9939
+ return a === b2;
9939
9940
  }
9940
9941
  const className = Object.prototype.toString.call(a);
9941
- if (className !== Object.prototype.toString.call(b)) {
9942
+ if (className !== Object.prototype.toString.call(b2)) {
9942
9943
  return false;
9943
9944
  }
9944
9945
  switch (className) {
9945
9946
  case "[object Boolean]":
9946
9947
  case "[object String]":
9947
9948
  case "[object Number]":
9948
- if (typeof a !== typeof b) {
9949
+ if (typeof a !== typeof b2) {
9949
9950
  return false;
9950
- } else if (typeof a !== "object" && typeof b !== "object") {
9951
- return Object.is(a, b);
9951
+ } else if (typeof a !== "object" && typeof b2 !== "object") {
9952
+ return Object.is(a, b2);
9952
9953
  } else {
9953
- return Object.is(a.valueOf(), b.valueOf());
9954
+ return Object.is(a.valueOf(), b2.valueOf());
9954
9955
  }
9955
9956
  case "[object Date]": {
9956
9957
  const numA = +a;
9957
- const numB = +b;
9958
+ const numB = +b2;
9958
9959
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
9959
9960
  }
9960
9961
  case "[object RegExp]":
9961
- return a.source === b.source && a.flags === b.flags;
9962
+ return a.source === b2.source && a.flags === b2.flags;
9962
9963
  case "[object Temporal.Instant]":
9963
9964
  case "[object Temporal.ZonedDateTime]":
9964
9965
  case "[object Temporal.PlainDateTime]":
@@ -9966,32 +9967,32 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
9966
9967
  case "[object Temporal.PlainTime]":
9967
9968
  case "[object Temporal.PlainYearMonth]":
9968
9969
  case "[object Temporal.PlainMonthDay]":
9969
- return a.equals(b);
9970
+ return a.equals(b2);
9970
9971
  case "[object Temporal.Duration]":
9971
- return a.toString() === b.toString();
9972
+ return a.toString() === b2.toString();
9972
9973
  }
9973
- if (typeof a !== "object" || typeof b !== "object") {
9974
+ if (typeof a !== "object" || typeof b2 !== "object") {
9974
9975
  return false;
9975
9976
  }
9976
- if (isDomNode(a) && isDomNode(b)) {
9977
- return a.isEqualNode(b);
9977
+ if (isDomNode(a) && isDomNode(b2)) {
9978
+ return a.isEqualNode(b2);
9978
9979
  }
9979
9980
  let length = aStack.length;
9980
9981
  while (length--) {
9981
9982
  if (aStack[length] === a) {
9982
- return bStack[length] === b;
9983
- } else if (bStack[length] === b) {
9983
+ return bStack[length] === b2;
9984
+ } else if (bStack[length] === b2) {
9984
9985
  return false;
9985
9986
  }
9986
9987
  }
9987
9988
  aStack.push(a);
9988
- bStack.push(b);
9989
- if (className === "[object Array]" && a.length !== b.length) {
9989
+ bStack.push(b2);
9990
+ if (className === "[object Array]" && a.length !== b2.length) {
9990
9991
  return false;
9991
9992
  }
9992
- if (a instanceof Error && b instanceof Error) {
9993
+ if (a instanceof Error && b2 instanceof Error) {
9993
9994
  try {
9994
- return isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2);
9995
+ return isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2);
9995
9996
  } finally {
9996
9997
  aStack.pop();
9997
9998
  bStack.pop();
@@ -10000,12 +10001,12 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
10000
10001
  const aKeys = keys(a, hasKey2);
10001
10002
  let key;
10002
10003
  let size = aKeys.length;
10003
- if (keys(b, hasKey2).length !== size) {
10004
+ if (keys(b2, hasKey2).length !== size) {
10004
10005
  return false;
10005
10006
  }
10006
10007
  while (size--) {
10007
10008
  key = aKeys[size];
10008
- result = hasKey2(b, key) && eq(a[key], b[key], aStack, bStack, customTesters, hasKey2);
10009
+ result = hasKey2(b2, key) && eq(a[key], b2[key], aStack, bStack, customTesters, hasKey2);
10009
10010
  if (!result) {
10010
10011
  return false;
10011
10012
  }
@@ -10014,15 +10015,15 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
10014
10015
  bStack.pop();
10015
10016
  return result;
10016
10017
  }
10017
- function isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2) {
10018
- let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b) && a.name === b.name && a.message === b.message;
10019
- if (typeof b.cause !== "undefined") {
10020
- result && (result = eq(a.cause, b.cause, aStack, bStack, customTesters, hasKey2));
10018
+ function isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2) {
10019
+ let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b2) && a.name === b2.name && a.message === b2.message;
10020
+ if (typeof b2.cause !== "undefined") {
10021
+ result && (result = eq(a.cause, b2.cause, aStack, bStack, customTesters, hasKey2));
10021
10022
  }
10022
- if (a instanceof AggregateError && b instanceof AggregateError) {
10023
- result && (result = eq(a.errors, b.errors, aStack, bStack, customTesters, hasKey2));
10023
+ if (a instanceof AggregateError && b2 instanceof AggregateError) {
10024
+ result && (result = eq(a.errors, b2.errors, aStack, bStack, customTesters, hasKey2));
10024
10025
  }
10025
- result && (result = eq({ ...a }, { ...b }, aStack, bStack, customTesters, hasKey2));
10026
+ result && (result = eq({ ...a }, { ...b2 }, aStack, bStack, customTesters, hasKey2));
10026
10027
  return result;
10027
10028
  }
10028
10029
  function keys(obj, hasKey2) {
@@ -10076,34 +10077,34 @@ var IteratorSymbol = Symbol.iterator;
10076
10077
  function hasIterator(object2) {
10077
10078
  return !!(object2 != null && object2[IteratorSymbol]);
10078
10079
  }
10079
- function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
10080
- if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b)) {
10080
+ function iterableEquality(a, b2, customTesters = [], aStack = [], bStack = []) {
10081
+ if (typeof a !== "object" || typeof b2 !== "object" || Array.isArray(a) || Array.isArray(b2) || !hasIterator(a) || !hasIterator(b2)) {
10081
10082
  return void 0;
10082
10083
  }
10083
- if (a.constructor !== b.constructor) {
10084
+ if (a.constructor !== b2.constructor) {
10084
10085
  return false;
10085
10086
  }
10086
10087
  let length = aStack.length;
10087
10088
  while (length--) {
10088
10089
  if (aStack[length] === a) {
10089
- return bStack[length] === b;
10090
+ return bStack[length] === b2;
10090
10091
  }
10091
10092
  }
10092
10093
  aStack.push(a);
10093
- bStack.push(b);
10094
+ bStack.push(b2);
10094
10095
  const filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];
10095
- function iterableEqualityWithStack(a2, b2) {
10096
- return iterableEquality(a2, b2, [...customTesters], [...aStack], [...bStack]);
10096
+ function iterableEqualityWithStack(a2, b3) {
10097
+ return iterableEquality(a2, b3, [...customTesters], [...aStack], [...bStack]);
10097
10098
  }
10098
10099
  if (a.size !== void 0) {
10099
- if (a.size !== b.size) {
10100
+ if (a.size !== b2.size) {
10100
10101
  return false;
10101
10102
  } else if (isA("Set", a) || isImmutableUnorderedSet(a)) {
10102
10103
  let allFound = true;
10103
10104
  for (const aValue of a) {
10104
- if (!b.has(aValue)) {
10105
+ if (!b2.has(aValue)) {
10105
10106
  let has = false;
10106
- for (const bValue of b) {
10107
+ for (const bValue of b2) {
10107
10108
  const isEqual = equals(aValue, bValue, filteredCustomTesters);
10108
10109
  if (isEqual === true) {
10109
10110
  has = true;
@@ -10121,9 +10122,9 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
10121
10122
  } else if (isA("Map", a) || isImmutableUnorderedKeyed(a)) {
10122
10123
  let allFound = true;
10123
10124
  for (const aEntry of a) {
10124
- if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
10125
+ if (!b2.has(aEntry[0]) || !equals(aEntry[1], b2.get(aEntry[0]), filteredCustomTesters)) {
10125
10126
  let has = false;
10126
- for (const bEntry of b) {
10127
+ for (const bEntry of b2) {
10127
10128
  const matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);
10128
10129
  let matchedValue = false;
10129
10130
  if (matchedKey === true) {
@@ -10144,7 +10145,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
10144
10145
  return allFound;
10145
10146
  }
10146
10147
  }
10147
- const bIterator = b[IteratorSymbol]();
10148
+ const bIterator = b2[IteratorSymbol]();
10148
10149
  for (const aValue of a) {
10149
10150
  const nextB = bIterator.next();
10150
10151
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
@@ -10156,7 +10157,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
10156
10157
  }
10157
10158
  if (!isImmutableList(a) && !isImmutableOrderedKeyed(a) && !isImmutableOrderedSet(a) && !isImmutableRecord(a)) {
10158
10159
  const aEntries = Object.entries(a);
10159
- const bEntries = Object.entries(b);
10160
+ const bEntries = Object.entries(b2);
10160
10161
  if (!equals(aEntries, bEntries, filteredCustomTesters)) {
10161
10162
  return false;
10162
10163
  }
@@ -10195,22 +10196,22 @@ function subsetEquality(object2, subset, customTesters = []) {
10195
10196
  };
10196
10197
  return subsetEqualityWithContext()(object2, subset);
10197
10198
  }
10198
- function typeEquality(a, b) {
10199
- if (a == null || b == null || a.constructor === b.constructor) {
10199
+ function typeEquality(a, b2) {
10200
+ if (a == null || b2 == null || a.constructor === b2.constructor) {
10200
10201
  return void 0;
10201
10202
  }
10202
10203
  return false;
10203
10204
  }
10204
- function arrayBufferEquality(a, b) {
10205
+ function arrayBufferEquality(a, b2) {
10205
10206
  let dataViewA = a;
10206
- let dataViewB = b;
10207
- if (!(a instanceof DataView && b instanceof DataView)) {
10208
- if (!(a instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {
10207
+ let dataViewB = b2;
10208
+ if (!(a instanceof DataView && b2 instanceof DataView)) {
10209
+ if (!(a instanceof ArrayBuffer) || !(b2 instanceof ArrayBuffer)) {
10209
10210
  return void 0;
10210
10211
  }
10211
10212
  try {
10212
10213
  dataViewA = new DataView(a);
10213
- dataViewB = new DataView(b);
10214
+ dataViewB = new DataView(b2);
10214
10215
  } catch {
10215
10216
  return void 0;
10216
10217
  }
@@ -10218,21 +10219,21 @@ function arrayBufferEquality(a, b) {
10218
10219
  if (dataViewA.byteLength !== dataViewB.byteLength) {
10219
10220
  return false;
10220
10221
  }
10221
- for (let i = 0; i < dataViewA.byteLength; i++) {
10222
- if (dataViewA.getUint8(i) !== dataViewB.getUint8(i)) {
10222
+ for (let i2 = 0; i2 < dataViewA.byteLength; i2++) {
10223
+ if (dataViewA.getUint8(i2) !== dataViewB.getUint8(i2)) {
10223
10224
  return false;
10224
10225
  }
10225
10226
  }
10226
10227
  return true;
10227
10228
  }
10228
- function sparseArrayEquality(a, b, customTesters = []) {
10229
- if (!Array.isArray(a) || !Array.isArray(b)) {
10229
+ function sparseArrayEquality(a, b2, customTesters = []) {
10230
+ if (!Array.isArray(a) || !Array.isArray(b2)) {
10230
10231
  return void 0;
10231
10232
  }
10232
10233
  const aKeys = Object.keys(a);
10233
- const bKeys = Object.keys(b);
10234
+ const bKeys = Object.keys(b2);
10234
10235
  const filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
10235
- return equals(a, b, filteredCustomTesters, true) && equals(aKeys, bKeys);
10236
+ return equals(a, b2, filteredCustomTesters, true) && equals(aKeys, bKeys);
10236
10237
  }
10237
10238
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
10238
10239
  const toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;
@@ -10261,7 +10262,7 @@ function getObjectSubset(object2, subset, customTesters) {
10261
10262
  const getObjectSubsetWithContext = (seenReferences = /* @__PURE__ */ new WeakMap()) => (object3, subset2) => {
10262
10263
  if (Array.isArray(object3)) {
10263
10264
  if (Array.isArray(subset2) && subset2.length === object3.length) {
10264
- return subset2.map((sub, i) => getObjectSubsetWithContext(seenReferences)(object3[i], sub));
10265
+ return subset2.map((sub, i2) => getObjectSubsetWithContext(seenReferences)(object3[i2], sub));
10265
10266
  }
10266
10267
  } else if (object3 instanceof Date) {
10267
10268
  return object3;
@@ -11018,8 +11019,8 @@ var JestChaiExpect = (chai, utils) => {
11018
11019
  throw new AssertionError2(msg);
11019
11020
  }
11020
11021
  });
11021
- function equalsArgumentArray(a, b) {
11022
- return a.length === b.length && a.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
11022
+ function equalsArgumentArray(a, b2) {
11023
+ return a.length === b2.length && a.every((aItem, i2) => equals(aItem, b2[i2], [...customTesters, iterableEquality]));
11023
11024
  }
11024
11025
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
11025
11026
  const spy = getSpy(this);
@@ -11320,28 +11321,28 @@ var JestChaiExpect = (chai, utils) => {
11320
11321
  return proxy;
11321
11322
  });
11322
11323
  };
11323
- function ordinalOf(i) {
11324
- const j = i % 10;
11325
- const k = i % 100;
11324
+ function ordinalOf(i2) {
11325
+ const j = i2 % 10;
11326
+ const k = i2 % 100;
11326
11327
  if (j === 1 && k !== 11) {
11327
- return `${i}st`;
11328
+ return `${i2}st`;
11328
11329
  }
11329
11330
  if (j === 2 && k !== 12) {
11330
- return `${i}nd`;
11331
+ return `${i2}nd`;
11331
11332
  }
11332
11333
  if (j === 3 && k !== 13) {
11333
- return `${i}rd`;
11334
+ return `${i2}rd`;
11334
11335
  }
11335
- return `${i}th`;
11336
+ return `${i2}th`;
11336
11337
  }
11337
11338
  function formatCalls(spy, msg, showActualCall) {
11338
11339
  if (spy.mock.calls.length) {
11339
- msg += C.gray(`
11340
+ msg += y.gray(`
11340
11341
 
11341
11342
  Received:
11342
11343
 
11343
- ${spy.mock.calls.map((callArg, i) => {
11344
- let methodCall = C.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
11344
+ ${spy.mock.calls.map((callArg, i2) => {
11345
+ let methodCall = y.bold(` ${ordinalOf(i2 + 1)} ${spy.getMockName()} call:
11345
11346
 
11346
11347
  `);
11347
11348
  if (showActualCall) {
@@ -11353,20 +11354,20 @@ ${spy.mock.calls.map((callArg, i) => {
11353
11354
  return methodCall;
11354
11355
  }).join("\n")}`);
11355
11356
  }
11356
- msg += C.gray(`
11357
+ msg += y.gray(`
11357
11358
 
11358
- Number of calls: ${C.bold(spy.mock.calls.length)}
11359
+ Number of calls: ${y.bold(spy.mock.calls.length)}
11359
11360
  `);
11360
11361
  return msg;
11361
11362
  }
11362
11363
  function formatReturns(spy, results, msg, showActualReturn) {
11363
11364
  if (results.length) {
11364
- msg += C.gray(`
11365
+ msg += y.gray(`
11365
11366
 
11366
11367
  Received:
11367
11368
 
11368
- ${results.map((callReturn, i) => {
11369
- let methodCall = C.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
11369
+ ${results.map((callReturn, i2) => {
11370
+ let methodCall = y.bold(` ${ordinalOf(i2 + 1)} ${spy.getMockName()} call return:
11370
11371
 
11371
11372
  `);
11372
11373
  if (showActualReturn) {
@@ -11378,9 +11379,9 @@ ${results.map((callReturn, i) => {
11378
11379
  return methodCall;
11379
11380
  }).join("\n")}`);
11380
11381
  }
11381
- msg += C.gray(`
11382
+ msg += y.gray(`
11382
11383
 
11383
- Number of calls: ${C.bold(spy.mock.calls.length)}
11384
+ Number of calls: ${y.bold(spy.mock.calls.length)}
11384
11385
  `);
11385
11386
  return msg;
11386
11387
  }
@@ -11539,10 +11540,10 @@ var comma2 = ",".charCodeAt(0);
11539
11540
  var chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
11540
11541
  var intToChar2 = new Uint8Array(64);
11541
11542
  var charToInt2 = new Uint8Array(128);
11542
- for (let i = 0; i < chars2.length; i++) {
11543
- const c = chars2.charCodeAt(i);
11544
- intToChar2[i] = c;
11545
- charToInt2[c] = i;
11543
+ for (let i2 = 0; i2 < chars2.length; i2++) {
11544
+ const c = chars2.charCodeAt(i2);
11545
+ intToChar2[i2] = c;
11546
+ charToInt2[c] = i2;
11546
11547
  }
11547
11548
  function decodeInteger(reader, relative2) {
11548
11549
  let value = 0;
@@ -11627,8 +11628,8 @@ function decode(mappings) {
11627
11628
  function sort(line) {
11628
11629
  line.sort(sortComparator);
11629
11630
  }
11630
- function sortComparator(a, b) {
11631
- return a[0] - b[0];
11631
+ function sortComparator(a, b2) {
11632
+ return a[0] - b2[0];
11632
11633
  }
11633
11634
  var COLUMN = 0;
11634
11635
  var SOURCES_INDEX = 1;
@@ -11654,14 +11655,14 @@ function binarySearch(haystack, needle, low, high) {
11654
11655
  return low - 1;
11655
11656
  }
11656
11657
  function upperBound(haystack, needle, index2) {
11657
- for (let i = index2 + 1; i < haystack.length; index2 = i++) {
11658
- if (haystack[i][COLUMN] !== needle) break;
11658
+ for (let i2 = index2 + 1; i2 < haystack.length; index2 = i2++) {
11659
+ if (haystack[i2][COLUMN] !== needle) break;
11659
11660
  }
11660
11661
  return index2;
11661
11662
  }
11662
11663
  function lowerBound(haystack, needle, index2) {
11663
- for (let i = index2 - 1; i >= 0; index2 = i--) {
11664
- if (haystack[i][COLUMN] !== needle) break;
11664
+ for (let i2 = index2 - 1; i2 >= 0; index2 = i2--) {
11665
+ if (haystack[i2][COLUMN] !== needle) break;
11665
11666
  }
11666
11667
  return index2;
11667
11668
  }
@@ -11840,13 +11841,13 @@ function parseSingleFFOrSafariStack2(raw) {
11840
11841
  let atIndex = -1;
11841
11842
  let locationPart = "";
11842
11843
  let functionName2;
11843
- for (let i = 0; i < line.length; i++) {
11844
- if (line[i] === "@") {
11845
- const candidateLocation = line.slice(i + 1);
11844
+ for (let i2 = 0; i2 < line.length; i2++) {
11845
+ if (line[i2] === "@") {
11846
+ const candidateLocation = line.slice(i2 + 1);
11846
11847
  if (candidateLocation.includes(":") && candidateLocation.length >= 3) {
11847
- atIndex = i;
11848
+ atIndex = i2;
11848
11849
  locationPart = candidateLocation;
11849
- functionName2 = i > 0 ? line.slice(0, i) : void 0;
11850
+ functionName2 = i2 > 0 ? line.slice(0, i2) : void 0;
11850
11851
  break;
11851
11852
  }
11852
11853
  }
@@ -11963,7 +11964,7 @@ function parseErrorStacktrace(e, options = {}) {
11963
11964
  }
11964
11965
  }
11965
11966
  if (options.frameFilter) {
11966
- stackFrames = stackFrames.filter((f2) => options.frameFilter(e, f2) !== false);
11967
+ stackFrames = stackFrames.filter((f) => options.frameFilter(e, f) !== false);
11967
11968
  }
11968
11969
  e.stacks = stackFrames;
11969
11970
  return stackFrames;
@@ -12009,8 +12010,8 @@ function positionToOffset(source, lineNumber, columnNumber) {
12009
12010
  if (lineNumber > lines.length) {
12010
12011
  return source.length;
12011
12012
  }
12012
- for (let i = 0; i < lineNumber - 1; i++) {
12013
- start += lines[i].length + nl;
12013
+ for (let i2 = 0; i2 < lineNumber - 1; i2++) {
12014
+ start += lines[i2].length + nl;
12014
12015
  }
12015
12016
  return start + columnNumber;
12016
12017
  }
@@ -12033,9 +12034,9 @@ function offsetToLineNumber(source, offset) {
12033
12034
  }
12034
12035
  async function saveInlineSnapshots(environment, snapshots) {
12035
12036
  const MagicString = (await import("./magic-string.es-B2CP4FDB.js")).default;
12036
- const files = new Set(snapshots.map((i) => i.file));
12037
+ const files = new Set(snapshots.map((i2) => i2.file));
12037
12038
  await Promise.all(Array.from(files).map(async (file) => {
12038
- const snaps = snapshots.filter((i) => i.file === file);
12039
+ const snaps = snapshots.filter((i2) => i2.file === file);
12039
12040
  const code = await environment.readSnapshotFile(file);
12040
12041
  const s = new MagicString(code);
12041
12042
  for (const snap of snaps) {
@@ -12096,7 +12097,7 @@ function prepareSnapString(snap, source, index2) {
12096
12097
  return `${quote}${lines.join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}${quote}`;
12097
12098
  }
12098
12099
  return `${quote}
12099
- ${lines.map((i) => i ? indentNext + i : "").join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}
12100
+ ${lines.map((i2) => i2 ? indentNext + i2 : "").join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}
12100
12101
  ${indent}${quote}`;
12101
12102
  }
12102
12103
  var toMatchInlineName = "toMatchInlineSnapshot";
@@ -12160,12 +12161,12 @@ function stripSnapshotIndentation(inlineSnapshot) {
12160
12161
  if (lines[0].trim() !== "" || ((_lines$at = lines.at(-1)) === null || _lines$at === void 0 ? void 0 : _lines$at.trim()) !== "") {
12161
12162
  return inlineSnapshot;
12162
12163
  }
12163
- for (let i = 1; i < lines.length - 1; i++) {
12164
- if (lines[i] !== "") {
12165
- if (lines[i].indexOf(indentation) !== 0) {
12164
+ for (let i2 = 1; i2 < lines.length - 1; i2++) {
12165
+ if (lines[i2] !== "") {
12166
+ if (lines[i2].indexOf(indentation) !== 0) {
12166
12167
  return inlineSnapshot;
12167
12168
  }
12168
- lines[i] = lines[i].substring(indentation.length);
12169
+ lines[i2] = lines[i2].substring(indentation.length);
12169
12170
  }
12170
12171
  }
12171
12172
  lines[lines.length - 1] = "";
@@ -12187,23 +12188,23 @@ var hasRequiredNaturalCompare;
12187
12188
  function requireNaturalCompare() {
12188
12189
  if (hasRequiredNaturalCompare) return naturalCompare$1.exports;
12189
12190
  hasRequiredNaturalCompare = 1;
12190
- var naturalCompare2 = function(a, b) {
12191
- var i, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
12191
+ var naturalCompare2 = function(a, b2) {
12192
+ var i2, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
12192
12193
  function getCode(str, pos, code) {
12193
12194
  if (code) {
12194
- for (i = pos; code = getCode(str, i), code < 76 && code > 65; ) ++i;
12195
- return +str.slice(pos - 1, i);
12195
+ for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; ) ++i2;
12196
+ return +str.slice(pos - 1, i2);
12196
12197
  }
12197
12198
  code = alphabet && alphabet.indexOf(str.charAt(pos));
12198
12199
  return code > -1 ? code + 76 : (code = str.charCodeAt(pos) || 0, code < 45 || code > 127) ? code : code < 46 ? 65 : code < 48 ? code - 1 : code < 58 ? code + 18 : code < 65 ? code - 11 : code < 91 ? code + 11 : code < 97 ? code - 37 : code < 123 ? code + 5 : code - 63;
12199
12200
  }
12200
- if ((a += "") != (b += "")) for (; codeB; ) {
12201
+ if ((a += "") != (b2 += "")) for (; codeB; ) {
12201
12202
  codeA = getCode(a, posA++);
12202
- codeB = getCode(b, posB++);
12203
+ codeB = getCode(b2, posB++);
12203
12204
  if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
12204
12205
  codeA = getCode(a, posA, posA);
12205
- codeB = getCode(b, posB, posA = i);
12206
- posB = i;
12206
+ codeB = getCode(b2, posB, posA = i2);
12207
+ posB = i2;
12207
12208
  }
12208
12209
  if (codeA != codeB) return codeA < codeB ? -1 : 1;
12209
12210
  }
@@ -12399,8 +12400,8 @@ var CounterMap = class extends DefaultMap {
12399
12400
  return total;
12400
12401
  }
12401
12402
  };
12402
- function isSameStackPosition(x, y) {
12403
- return x.file === y.file && x.column === y.column && x.line === y.line;
12403
+ function isSameStackPosition(x, y2) {
12404
+ return x.file === y2.file && x.column === y2.column && x.line === y2.line;
12404
12405
  }
12405
12406
  var SnapshotState = class _SnapshotState {
12406
12407
  _counters = new CounterMap();
@@ -12503,11 +12504,11 @@ var SnapshotState = class _SnapshotState {
12503
12504
  this.unmatched.delete(testId);
12504
12505
  }
12505
12506
  _inferInlineSnapshotStack(stacks) {
12506
- const promiseIndex = stacks.findIndex((i) => i.method.match(/__VITEST_(RESOLVES|REJECTS)__/));
12507
+ const promiseIndex = stacks.findIndex((i2) => i2.method.match(/__VITEST_(RESOLVES|REJECTS)__/));
12507
12508
  if (promiseIndex !== -1) {
12508
12509
  return stacks[promiseIndex + 3];
12509
12510
  }
12510
- const stackIndex = stacks.findIndex((i) => i.method.includes("__INLINE_SNAPSHOT__"));
12511
+ const stackIndex = stacks.findIndex((i2) => i2.method.includes("__INLINE_SNAPSHOT__"));
12511
12512
  return stackIndex !== -1 ? stacks[stackIndex + 2] : null;
12512
12513
  }
12513
12514
  _addSnapshot(key, receivedSerialized, options) {
@@ -12816,7 +12817,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
12816
12817
  var RealDate = Date;
12817
12818
  var now2 = null;
12818
12819
  var MockDate = class _MockDate extends RealDate {
12819
- constructor(y, m, d2, h2, M, s, ms) {
12820
+ constructor(y2, m, d2, h, M, s, ms) {
12820
12821
  super();
12821
12822
  let date;
12822
12823
  switch (arguments.length) {
@@ -12825,15 +12826,15 @@ var MockDate = class _MockDate extends RealDate {
12825
12826
  else date = new RealDate();
12826
12827
  break;
12827
12828
  case 1:
12828
- date = new RealDate(y);
12829
+ date = new RealDate(y2);
12829
12830
  break;
12830
12831
  default:
12831
12832
  d2 = typeof d2 === "undefined" ? 1 : d2;
12832
- h2 = h2 || 0;
12833
+ h = h || 0;
12833
12834
  M = M || 0;
12834
12835
  s = s || 0;
12835
12836
  ms = ms || 0;
12836
- date = new RealDate(y, m, d2, h2, M, s, ms);
12837
+ date = new RealDate(y2, m, d2, h, M, s, ms);
12837
12838
  break;
12838
12839
  }
12839
12840
  Object.setPrototypeOf(date, _MockDate.prototype);
@@ -13392,9 +13393,9 @@ function requireOrderByFirstCall() {
13392
13393
  hasRequiredOrderByFirstCall = 1;
13393
13394
  var sort2 = requireArray().sort;
13394
13395
  var slice = requireArray().slice;
13395
- function comparator(a, b) {
13396
+ function comparator(a, b2) {
13396
13397
  var aCall = a.getCall(0);
13397
- var bCall = b.getCall(0);
13398
+ var bCall = b2.getCall(0);
13398
13399
  var aId = aCall && aCall.callId || -1;
13399
13400
  var bId = bCall && bCall.callId || -1;
13400
13401
  return aId < bId ? -1 : 1;
@@ -13714,8 +13715,8 @@ function requireFakeTimersSrc() {
13714
13715
  return isFinite(num);
13715
13716
  }
13716
13717
  let isNearInfiniteLimit = false;
13717
- function checkIsNearInfiniteLimit(clock, i) {
13718
- if (clock.loopLimit && i === clock.loopLimit - 1) {
13718
+ function checkIsNearInfiniteLimit(clock, i2) {
13719
+ if (clock.loopLimit && i2 === clock.loopLimit - 1) {
13719
13720
  isNearInfiniteLimit = true;
13720
13721
  }
13721
13722
  }
@@ -13728,7 +13729,7 @@ function requireFakeTimersSrc() {
13728
13729
  }
13729
13730
  const strings = str.split(":");
13730
13731
  const l = strings.length;
13731
- let i = l;
13732
+ let i2 = l;
13732
13733
  let ms = 0;
13733
13734
  let parsed;
13734
13735
  if (l > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) {
@@ -13736,12 +13737,12 @@ function requireFakeTimersSrc() {
13736
13737
  "tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits"
13737
13738
  );
13738
13739
  }
13739
- while (i--) {
13740
- parsed = parseInt(strings[i], 10);
13740
+ while (i2--) {
13741
+ parsed = parseInt(strings[i2], 10);
13741
13742
  if (parsed >= 60) {
13742
13743
  throw new Error(`Invalid time ${str}`);
13743
13744
  }
13744
- ms += parsed * Math.pow(60, l - i - 1);
13745
+ ms += parsed * Math.pow(60, l - i2 - 1);
13745
13746
  }
13746
13747
  return ms * 1e3;
13747
13748
  }
@@ -13783,15 +13784,15 @@ function requireFakeTimersSrc() {
13783
13784
  );
13784
13785
  }
13785
13786
  let matchedLineIndex = -1;
13786
- job.error.stack.split("\n").some(function(line, i) {
13787
+ job.error.stack.split("\n").some(function(line, i2) {
13787
13788
  const matchedComputedTarget = line.match(computedTargetPattern);
13788
13789
  if (matchedComputedTarget) {
13789
- matchedLineIndex = i;
13790
+ matchedLineIndex = i2;
13790
13791
  return true;
13791
13792
  }
13792
13793
  const matchedClockMethod = line.match(clockMethodPattern);
13793
13794
  if (matchedClockMethod) {
13794
- matchedLineIndex = i;
13795
+ matchedLineIndex = i2;
13795
13796
  return false;
13796
13797
  }
13797
13798
  return matchedLineIndex >= 0;
@@ -13898,11 +13899,11 @@ ${job.error.stack.split("\n").slice(matchedLineIndex + 1).join("\n")}`;
13898
13899
  if (!clock.jobs) {
13899
13900
  return;
13900
13901
  }
13901
- for (let i = 0; i < clock.jobs.length; i++) {
13902
- const job = clock.jobs[i];
13902
+ for (let i2 = 0; i2 < clock.jobs.length; i2++) {
13903
+ const job = clock.jobs[i2];
13903
13904
  job.func.apply(null, job.args);
13904
- checkIsNearInfiniteLimit(clock, i);
13905
- if (clock.loopLimit && i > clock.loopLimit) {
13905
+ checkIsNearInfiniteLimit(clock, i2);
13906
+ if (clock.loopLimit && i2 > clock.loopLimit) {
13906
13907
  throw getInfiniteLoopError(clock, job);
13907
13908
  }
13908
13909
  }
@@ -13980,29 +13981,29 @@ ${job.error.stack.split("\n").slice(matchedLineIndex + 1).join("\n")}`;
13980
13981
  }
13981
13982
  return timer.id;
13982
13983
  }
13983
- function compareTimers(a, b) {
13984
- if (a.callAt < b.callAt) {
13984
+ function compareTimers(a, b2) {
13985
+ if (a.callAt < b2.callAt) {
13985
13986
  return -1;
13986
13987
  }
13987
- if (a.callAt > b.callAt) {
13988
+ if (a.callAt > b2.callAt) {
13988
13989
  return 1;
13989
13990
  }
13990
- if (a.immediate && !b.immediate) {
13991
+ if (a.immediate && !b2.immediate) {
13991
13992
  return -1;
13992
13993
  }
13993
- if (!a.immediate && b.immediate) {
13994
+ if (!a.immediate && b2.immediate) {
13994
13995
  return 1;
13995
13996
  }
13996
- if (a.createdAt < b.createdAt) {
13997
+ if (a.createdAt < b2.createdAt) {
13997
13998
  return -1;
13998
13999
  }
13999
- if (a.createdAt > b.createdAt) {
14000
+ if (a.createdAt > b2.createdAt) {
14000
14001
  return 1;
14001
14002
  }
14002
- if (a.id < b.id) {
14003
+ if (a.id < b2.id) {
14003
14004
  return -1;
14004
14005
  }
14005
- if (a.id > b.id) {
14006
+ if (a.id > b2.id) {
14006
14007
  return 1;
14007
14008
  }
14008
14009
  }
@@ -14113,11 +14114,11 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14113
14114
  }
14114
14115
  }
14115
14116
  function uninstall(clock, config2) {
14116
- let method, i, l;
14117
+ let method, i2, l;
14117
14118
  const installedHrTime = "_hrtime";
14118
14119
  const installedNextTick = "_nextTick";
14119
- for (i = 0, l = clock.methods.length; i < l; i++) {
14120
- method = clock.methods[i];
14120
+ for (i2 = 0, l = clock.methods.length; i2 < l; i2++) {
14121
+ method = clock.methods[i2];
14121
14122
  if (method === "hrtime" && _global.process) {
14122
14123
  _global.process.hrtime = clock[installedHrTime];
14123
14124
  } else if (method === "nextTick" && _global.process) {
@@ -14572,9 +14573,9 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14572
14573
  };
14573
14574
  }
14574
14575
  clock.runAll = function runAll() {
14575
- let numTimers, i;
14576
+ let numTimers, i2;
14576
14577
  runJobs(clock);
14577
- for (i = 0; i < clock.loopLimit; i++) {
14578
+ for (i2 = 0; i2 < clock.loopLimit; i2++) {
14578
14579
  if (!clock.timers) {
14579
14580
  resetIsNearInfiniteLimit();
14580
14581
  return clock.now;
@@ -14585,7 +14586,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14585
14586
  return clock.now;
14586
14587
  }
14587
14588
  clock.next();
14588
- checkIsNearInfiniteLimit(clock, i);
14589
+ checkIsNearInfiniteLimit(clock, i2);
14589
14590
  }
14590
14591
  const excessJob = firstTimer(clock);
14591
14592
  throw getInfiniteLoopError(clock, excessJob);
@@ -14596,13 +14597,13 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14596
14597
  if (typeof _global.Promise !== "undefined") {
14597
14598
  clock.runAllAsync = function runAllAsync() {
14598
14599
  return new _global.Promise(function(resolve3, reject) {
14599
- let i = 0;
14600
+ let i2 = 0;
14600
14601
  function doRun() {
14601
14602
  originalSetTimeout(function() {
14602
14603
  try {
14603
14604
  runJobs(clock);
14604
14605
  let numTimers;
14605
- if (i < clock.loopLimit) {
14606
+ if (i2 < clock.loopLimit) {
14606
14607
  if (!clock.timers) {
14607
14608
  resetIsNearInfiniteLimit();
14608
14609
  resolve3(clock.now);
@@ -14617,9 +14618,9 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14617
14618
  return;
14618
14619
  }
14619
14620
  clock.next();
14620
- i++;
14621
+ i2++;
14621
14622
  doRun();
14622
- checkIsNearInfiniteLimit(clock, i);
14623
+ checkIsNearInfiniteLimit(clock, i2);
14623
14624
  return;
14624
14625
  }
14625
14626
  const excessJob = firstTimer(clock);
@@ -14730,7 +14731,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14730
14731
  `non-existent timers and/or objects cannot be faked: '${timer}'`
14731
14732
  );
14732
14733
  }
14733
- let i, l;
14734
+ let i2, l;
14734
14735
  const clock = createClock(config2.now, config2.loopLimit);
14735
14736
  clock.shouldClearNativeTimers = config2.shouldClearNativeTimers;
14736
14737
  clock.uninstall = function() {
@@ -14781,8 +14782,8 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14781
14782
  if (_global === globalObject && timersPromisesModule) {
14782
14783
  clock.timersPromisesModuleMethods = [];
14783
14784
  }
14784
- for (i = 0, l = clock.methods.length; i < l; i++) {
14785
- const nameOfMethodToReplace = clock.methods[i];
14785
+ for (i2 = 0, l = clock.methods.length; i2 < l; i2++) {
14786
+ const nameOfMethodToReplace = clock.methods[i2];
14786
14787
  if (!isPresent[nameOfMethodToReplace]) {
14787
14788
  handleMissingTimer(nameOfMethodToReplace);
14788
14789
  continue;
@@ -15052,14 +15053,14 @@ var FakeTimers = class {
15052
15053
  if (this._checkFakeTimers()) await this._clock.runToLastAsync();
15053
15054
  }
15054
15055
  advanceTimersToNextTimer(steps = 1) {
15055
- if (this._checkFakeTimers()) for (let i = steps; i > 0; i--) {
15056
+ if (this._checkFakeTimers()) for (let i2 = steps; i2 > 0; i2--) {
15056
15057
  this._clock.next();
15057
15058
  this._clock.tick(0);
15058
15059
  if (this._clock.countTimers() === 0) break;
15059
15060
  }
15060
15061
  }
15061
15062
  async advanceTimersToNextTimerAsync(steps = 1) {
15062
- if (this._checkFakeTimers()) for (let i = steps; i > 0; i--) {
15063
+ if (this._checkFakeTimers()) for (let i2 = steps; i2 > 0; i2--) {
15063
15064
  await this._clock.nextAsync();
15064
15065
  this._clock.tick(0);
15065
15066
  if (this._clock.countTimers() === 0) break;
@@ -15459,27 +15460,41 @@ var AsyncFunction = async function() {
15459
15460
  var chars3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
15460
15461
  var intToChar3 = new Uint8Array(64);
15461
15462
  var charToInt3 = new Uint8Array(128);
15462
- for (let i = 0; i < chars3.length; i++) {
15463
- const c = chars3.charCodeAt(i);
15464
- intToChar3[i] = c, charToInt3[c] = i;
15463
+ for (let i2 = 0; i2 < chars3.length; i2++) {
15464
+ let c = chars3.charCodeAt(i2);
15465
+ intToChar3[i2] = c, charToInt3[c] = i2;
15465
15466
  }
15466
- var MODULE_RUNNER_SOURCEMAPPING_REGEXP = new RegExp(
15467
- `//# ${SOURCEMAPPING_URL}=data:application/json;base64,(.+)`
15468
- );
15467
+ var MODULE_RUNNER_SOURCEMAPPING_REGEXP = /* @__PURE__ */ RegExp(`//# ${SOURCEMAPPING_URL}=data:application/json;base64,(.+)`);
15469
15468
  var retrieveFileHandlers = /* @__PURE__ */ new Set();
15470
15469
  var retrieveSourceMapHandlers = /* @__PURE__ */ new Set();
15471
15470
  var createExecHandlers = (handlers) => (...args) => {
15472
- for (const handler of handlers) {
15473
- const result = handler(...args);
15471
+ for (let handler of handlers) {
15472
+ let result = handler(...args);
15474
15473
  if (result) return result;
15475
15474
  }
15476
15475
  return null;
15477
15476
  };
15478
15477
  var retrieveFileFromHandlers = createExecHandlers(retrieveFileHandlers);
15479
- var retrieveSourceMapFromHandlers = createExecHandlers(
15480
- retrieveSourceMapHandlers
15481
- );
15478
+ var retrieveSourceMapFromHandlers = createExecHandlers(retrieveSourceMapHandlers);
15482
15479
  var originalPrepare = Error.prepareStackTrace;
15480
+ var customizationHookNamespace = "vite-module-runner:import-meta-resolve/v1/";
15481
+ var customizationHooksModule = `
15482
+
15483
+ export async function resolve(specifier, context, nextResolve) {
15484
+ if (specifier.startsWith(${JSON.stringify(customizationHookNamespace)})) {
15485
+ const data = specifier.slice(${JSON.stringify(customizationHookNamespace)}.length)
15486
+ const [parsedSpecifier, parsedImporter] = JSON.parse(data)
15487
+ specifier = parsedSpecifier
15488
+ context.parentURL = parsedImporter
15489
+ }
15490
+ return nextResolve(specifier, context)
15491
+ }
15492
+
15493
+ `;
15494
+ `${customizationHookNamespace}`;
15495
+ var envProxy = new Proxy({}, { get(_, p) {
15496
+ throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
15497
+ } });
15483
15498
  var import_expect_type = (0, import_chunk_4VNS5WPM.__toESM)(require_dist(), 1);
15484
15499
  /*! Bundled license information:
15485
15500