@prisma/get-platform 7.7.0-integration-feat-bootstrap-ux-fixes.9 → 7.8.0-dev.1

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.
@@ -35,17 +35,17 @@ __export(vitestContext_exports, {
35
35
  vitestStdoutContext: () => vitestStdoutContext
36
36
  });
37
37
  module.exports = __toCommonJS(vitestContext_exports);
38
- var import_chunk_3UEKS5W6 = require("../chunk-3UEKS5W6.js");
38
+ var import_chunk_IL63DMPY = require("../chunk-IL63DMPY.js");
39
39
  var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
40
40
  var import_node_path = __toESM(require("node:path"));
41
41
  var require_branding = (0, import_chunk_2ESYSVXG.__commonJS)({
42
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/branding.js"(exports) {
42
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js"(exports) {
43
43
  "use strict";
44
44
  Object.defineProperty(exports, "__esModule", { value: true });
45
45
  }
46
46
  });
47
47
  var require_messages = (0, import_chunk_2ESYSVXG.__commonJS)({
48
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/messages.js"(exports) {
48
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js"(exports) {
49
49
  "use strict";
50
50
  Object.defineProperty(exports, "__esModule", { value: true });
51
51
  var inverted = Symbol("inverted");
@@ -67,13 +67,13 @@ var require_messages = (0, import_chunk_2ESYSVXG.__commonJS)({
67
67
  }
68
68
  });
69
69
  var require_overloads = (0, import_chunk_2ESYSVXG.__commonJS)({
70
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/overloads.js"(exports) {
70
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js"(exports) {
71
71
  "use strict";
72
72
  Object.defineProperty(exports, "__esModule", { value: true });
73
73
  }
74
74
  });
75
75
  var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
76
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/utils.js"(exports) {
76
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js"(exports) {
77
77
  "use strict";
78
78
  Object.defineProperty(exports, "__esModule", { value: true });
79
79
  var secret = Symbol("secret");
@@ -82,7 +82,7 @@ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
82
82
  }
83
83
  });
84
84
  var require_dist = (0, import_chunk_2ESYSVXG.__commonJS)({
85
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/index.js"(exports) {
85
+ "../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js"(exports) {
86
86
  "use strict";
87
87
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
88
88
  if (k2 === void 0) k2 = k;
@@ -159,9 +159,9 @@ var require_dist = (0, import_chunk_2ESYSVXG.__commonJS)({
159
159
  exports.expectTypeOf = expectTypeOf2;
160
160
  }
161
161
  });
162
- var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_3UEKS5W6.require_main)());
163
- var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_3UEKS5W6.require_tempy)());
164
- var d = {
162
+ var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_IL63DMPY.require_main)());
163
+ var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_IL63DMPY.require_tempy)());
164
+ var b = {
165
165
  reset: [0, 0],
166
166
  bold: [1, 22, "\x1B[22m\x1B[1m"],
167
167
  dim: [2, 22, "\x1B[22m\x1B[2m"],
@@ -204,42 +204,43 @@ var d = {
204
204
  bgCyanBright: [106, 49],
205
205
  bgWhiteBright: [107, 49]
206
206
  };
207
- function g(e) {
207
+ function i(e) {
208
208
  return String(e);
209
209
  }
210
- g.open = "";
211
- g.close = "";
212
- function h() {
213
- 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) || [];
214
- 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;
210
+ i.open = "";
211
+ i.close = "";
212
+ function B() {
213
+ 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) || [];
214
+ 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;
215
215
  }
216
- function f() {
217
- let e = h(), n = (r, t, u, o) => {
218
- let l = "", s = 0;
216
+ function C({ force: e } = {}) {
217
+ let r = e || B(), a = (t, o, u, n) => {
218
+ let g = "", s = 0;
219
219
  do
220
- l += r.substring(s, o) + u, s = o + t.length, o = r.indexOf(t, s);
221
- while (~o);
222
- return l + r.substring(s);
223
- }, a = (r, t, u = r) => {
224
- let o = (l) => {
225
- let s = String(l), b = s.indexOf(t, r.length);
226
- return ~b ? r + n(s, t, u, b) + t : r + s + t;
220
+ g += t.substring(s, n) + u, s = n + o.length, n = t.indexOf(o, s);
221
+ while (~n);
222
+ return g + t.substring(s);
223
+ }, l = (t, o, u = t) => {
224
+ let n = (g) => {
225
+ let s = String(g), h = s.indexOf(o, t.length);
226
+ return ~h ? t + a(s, o, u, h) + o : t + s + o;
227
227
  };
228
- return o.open = r, o.close = t, o;
229
- }, i = {
230
- isColorSupported: e
231
- }, c = (r) => `\x1B[${r}m`;
232
- for (let r in d) {
233
- let t = d[r];
234
- i[r] = e ? a(
235
- c(t[0]),
236
- c(t[1]),
237
- t[2]
238
- ) : g;
239
- }
240
- return i;
241
- }
242
- var C = f();
228
+ return n.open = t, n.close = o, n;
229
+ }, c = {
230
+ isColorSupported: r
231
+ }, f = (t) => `\x1B[${t}m`;
232
+ for (let t in b) {
233
+ let o = b[t];
234
+ c[t] = r ? l(
235
+ f(o[0]),
236
+ f(o[1]),
237
+ o[2]
238
+ ) : i;
239
+ }
240
+ return c;
241
+ }
242
+ var d = C();
243
+ var y = d;
243
244
  function _mergeNamespaces(n, m) {
244
245
  m.forEach(function(e) {
245
246
  e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -328,16 +329,16 @@ function printListItems(list, config2, indentation, depth, refs, printer2) {
328
329
  if (length > 0) {
329
330
  result += config2.spacingOuter;
330
331
  const indentationNext = indentation + config2.indent;
331
- for (let i = 0; i < length; i++) {
332
+ for (let i2 = 0; i2 < length; i2++) {
332
333
  result += indentationNext;
333
- if (i === config2.maxWidth) {
334
+ if (i2 === config2.maxWidth) {
334
335
  result += "\u2026";
335
336
  break;
336
337
  }
337
- if (isDataView(list) || i in list) {
338
- result += printer2(isDataView(list) ? list.getInt8(i) : list[i], config2, indentationNext, depth, refs);
338
+ if (isDataView(list) || i2 in list) {
339
+ result += printer2(isDataView(list) ? list.getInt8(i2) : list[i2], config2, indentationNext, depth, refs);
339
340
  }
340
- if (i < length - 1) {
341
+ if (i2 < length - 1) {
341
342
  result += `,${config2.spacingInner}`;
342
343
  } else if (!config2.min) {
343
344
  result += ",";
@@ -353,12 +354,12 @@ function printObjectProperties(val, config2, indentation, depth, refs, printer2)
353
354
  if (keys2.length > 0) {
354
355
  result += config2.spacingOuter;
355
356
  const indentationNext = indentation + config2.indent;
356
- for (let i = 0; i < keys2.length; i++) {
357
- const key = keys2[i];
357
+ for (let i2 = 0; i2 < keys2.length; i2++) {
358
+ const key = keys2[i2];
358
359
  const name = printer2(key, config2, indentationNext, depth, refs);
359
360
  const value = printer2(val[key], config2, indentationNext, depth, refs);
360
361
  result += `${indentationNext + name}: ${value}`;
361
- if (i < keys2.length - 1) {
362
+ if (i2 < keys2.length - 1) {
362
363
  result += `,${config2.spacingInner}`;
363
364
  } else if (!config2.min) {
364
365
  result += ",";
@@ -535,10 +536,10 @@ function printImmutableEntries(val, config2, indentation, depth, refs, printer2,
535
536
  return ++depth > config2.maxDepth ? printAsLeaf(getImmutableName(type3)) : `${getImmutableName(type3) + SPACE}{${printIteratorEntries(val.entries(), config2, indentation, depth, refs, printer2)}}`;
536
537
  }
537
538
  function getRecordEntries(val) {
538
- let i = 0;
539
+ let i2 = 0;
539
540
  return { next() {
540
- if (i < val._keys.length) {
541
- const key = val._keys[i++];
541
+ if (i2 < val._keys.length) {
542
+ const key = val._keys[i2++];
542
543
  return {
543
544
  done: false,
544
545
  value: [key, val.get(key)]
@@ -706,16 +707,16 @@ var hasRequiredReactIs_production_min;
706
707
  function requireReactIs_production_min() {
707
708
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
708
709
  hasRequiredReactIs_production_min = 1;
709
- 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;
710
+ 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;
710
711
  u = Symbol.for("react.module.reference");
711
712
  function v(a) {
712
713
  if ("object" === typeof a && null !== a) {
713
714
  var r = a.$$typeof;
714
715
  switch (r) {
715
- case b:
716
+ case b2:
716
717
  switch (a = a.type, a) {
717
718
  case d2:
718
- case f2:
719
+ case f:
719
720
  case e:
720
721
  case m:
721
722
  case n:
@@ -723,11 +724,11 @@ function requireReactIs_production_min() {
723
724
  default:
724
725
  switch (a = a && a.$$typeof, a) {
725
726
  case k:
726
- case h2:
727
+ case h:
727
728
  case l:
728
729
  case q:
729
730
  case p:
730
- case g2:
731
+ case g:
731
732
  return a;
732
733
  default:
733
734
  return r;
@@ -738,15 +739,15 @@ function requireReactIs_production_min() {
738
739
  }
739
740
  }
740
741
  }
741
- reactIs_production_min.ContextConsumer = h2;
742
- reactIs_production_min.ContextProvider = g2;
743
- reactIs_production_min.Element = b;
742
+ reactIs_production_min.ContextConsumer = h;
743
+ reactIs_production_min.ContextProvider = g;
744
+ reactIs_production_min.Element = b2;
744
745
  reactIs_production_min.ForwardRef = l;
745
746
  reactIs_production_min.Fragment = d2;
746
747
  reactIs_production_min.Lazy = q;
747
748
  reactIs_production_min.Memo = p;
748
749
  reactIs_production_min.Portal = c;
749
- reactIs_production_min.Profiler = f2;
750
+ reactIs_production_min.Profiler = f;
750
751
  reactIs_production_min.StrictMode = e;
751
752
  reactIs_production_min.Suspense = m;
752
753
  reactIs_production_min.SuspenseList = n;
@@ -757,13 +758,13 @@ function requireReactIs_production_min() {
757
758
  return false;
758
759
  };
759
760
  reactIs_production_min.isContextConsumer = function(a) {
760
- return v(a) === h2;
761
+ return v(a) === h;
761
762
  };
762
763
  reactIs_production_min.isContextProvider = function(a) {
763
- return v(a) === g2;
764
+ return v(a) === g;
764
765
  };
765
766
  reactIs_production_min.isElement = function(a) {
766
- return "object" === typeof a && null !== a && a.$$typeof === b;
767
+ return "object" === typeof a && null !== a && a.$$typeof === b2;
767
768
  };
768
769
  reactIs_production_min.isForwardRef = function(a) {
769
770
  return v(a) === l;
@@ -781,7 +782,7 @@ function requireReactIs_production_min() {
781
782
  return v(a) === c;
782
783
  };
783
784
  reactIs_production_min.isProfiler = function(a) {
784
- return v(a) === f2;
785
+ return v(a) === f;
785
786
  };
786
787
  reactIs_production_min.isStrictMode = function(a) {
787
788
  return v(a) === e;
@@ -793,7 +794,7 @@ function requireReactIs_production_min() {
793
794
  return v(a) === n;
794
795
  };
795
796
  reactIs_production_min.isValidElementType = function(a) {
796
- 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;
797
+ 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;
797
798
  };
798
799
  reactIs_production_min.typeOf = v;
799
800
  return reactIs_production_min;
@@ -1124,7 +1125,7 @@ function validateOptions(options) {
1124
1125
  function getColorsHighlight() {
1125
1126
  return DEFAULT_THEME_KEYS.reduce((colors, key) => {
1126
1127
  const value = DEFAULT_THEME[key];
1127
- const color = value && C[value];
1128
+ const color = value && y[value];
1128
1129
  if (color && typeof color.close === "string" && typeof color.open === "string") {
1129
1130
  colors[key] = color;
1130
1131
  } else {
@@ -1306,11 +1307,11 @@ function inspectList(list, options, inspectItem, separator = ", ") {
1306
1307
  let output = "";
1307
1308
  let peek = "";
1308
1309
  let truncated = "";
1309
- for (let i = 0; i < size; i += 1) {
1310
- const last = i + 1 === list.length;
1311
- const secondToLast = i + 2 === list.length;
1312
- truncated = `${truncator}(${list.length - i})`;
1313
- const value = list[i];
1310
+ for (let i2 = 0; i2 < size; i2 += 1) {
1311
+ const last = i2 + 1 === list.length;
1312
+ const secondToLast = i2 + 2 === list.length;
1313
+ truncated = `${truncator}(${list.length - i2})`;
1314
+ const value = list[i2];
1314
1315
  options.truncate = originalLength - output.length - (last ? 0 : separator.length);
1315
1316
  const string2 = peek || inspectItem(value, options) + (last ? "" : separator);
1316
1317
  const nextLength = output.length + string2.length;
@@ -1321,13 +1322,13 @@ function inspectList(list, options, inspectItem, separator = ", ") {
1321
1322
  if (!last && !secondToLast && truncatedLength > originalLength) {
1322
1323
  break;
1323
1324
  }
1324
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
1325
+ peek = last ? "" : inspectItem(list[i2 + 1], options) + (secondToLast ? "" : separator);
1325
1326
  if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {
1326
1327
  break;
1327
1328
  }
1328
1329
  output += string2;
1329
1330
  if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
1330
- truncated = `${truncator}(${list.length - i - 1})`;
1331
+ truncated = `${truncator}(${list.length - i2 - 1})`;
1331
1332
  break;
1332
1333
  }
1333
1334
  truncated = "";
@@ -1380,11 +1381,11 @@ function inspectTypedArray(array2, options) {
1380
1381
  if (!array2.length && !nonIndexProperties.length)
1381
1382
  return `${name}[]`;
1382
1383
  let output = "";
1383
- for (let i = 0; i < array2.length; i++) {
1384
- const string2 = `${options.stylize(truncate(array2[i], options.truncate), "number")}${i === array2.length - 1 ? "" : ", "}`;
1384
+ for (let i2 = 0; i2 < array2.length; i2++) {
1385
+ const string2 = `${options.stylize(truncate(array2[i2], options.truncate), "number")}${i2 === array2.length - 1 ? "" : ", "}`;
1385
1386
  options.truncate -= string2.length;
1386
- if (array2[i] !== array2.length && options.truncate <= 3) {
1387
- output += `${truncator}(${array2.length - array2[i] + 1})`;
1387
+ if (array2[i2] !== array2.length && options.truncate <= 3) {
1388
+ output += `${truncator}(${array2.length - array2[i2] + 1})`;
1388
1389
  break;
1389
1390
  }
1390
1391
  output += string2;
@@ -1432,7 +1433,7 @@ function inspectMap(map2, options) {
1432
1433
  options.truncate -= 7;
1433
1434
  return `Map{ ${inspectList(mapToEntries(map2), options, inspectMapEntry)} }`;
1434
1435
  }
1435
- var isNaN = Number.isNaN || ((i) => i !== i);
1436
+ var isNaN = Number.isNaN || ((i2) => i2 !== i2);
1436
1437
  function inspectNumber(number, options) {
1437
1438
  if (isNaN(number)) {
1438
1439
  return options.stylize("NaN", "number");
@@ -1761,8 +1762,8 @@ function baseFormat(args, options = {}) {
1761
1762
  };
1762
1763
  if (typeof args[0] !== "string") {
1763
1764
  const objects = [];
1764
- for (let i2 = 0; i2 < args.length; i2++) {
1765
- objects.push(formatArg(args[i2], {
1765
+ for (let i3 = 0; i3 < args.length; i3++) {
1766
+ objects.push(formatArg(args[i3], {
1766
1767
  depth: 0,
1767
1768
  colors: false
1768
1769
  }));
@@ -1770,18 +1771,18 @@ function baseFormat(args, options = {}) {
1770
1771
  return objects.join(" ");
1771
1772
  }
1772
1773
  const len = args.length;
1773
- let i = 1;
1774
+ let i2 = 1;
1774
1775
  const template = args[0];
1775
1776
  let str = String(template).replace(formatRegExp, (x) => {
1776
1777
  if (x === "%%") {
1777
1778
  return "%";
1778
1779
  }
1779
- if (i >= len) {
1780
+ if (i2 >= len) {
1780
1781
  return x;
1781
1782
  }
1782
1783
  switch (x) {
1783
1784
  case "%s": {
1784
- const value = args[i++];
1785
+ const value = args[i2++];
1785
1786
  if (typeof value === "bigint") {
1786
1787
  return `${value.toString()}n`;
1787
1788
  }
@@ -1800,35 +1801,35 @@ function baseFormat(args, options = {}) {
1800
1801
  return String(value);
1801
1802
  }
1802
1803
  case "%d": {
1803
- const value = args[i++];
1804
+ const value = args[i2++];
1804
1805
  if (typeof value === "bigint") {
1805
1806
  return `${value.toString()}n`;
1806
1807
  }
1807
1808
  return Number(value).toString();
1808
1809
  }
1809
1810
  case "%i": {
1810
- const value = args[i++];
1811
+ const value = args[i2++];
1811
1812
  if (typeof value === "bigint") {
1812
1813
  return `${value.toString()}n`;
1813
1814
  }
1814
1815
  return Number.parseInt(String(value)).toString();
1815
1816
  }
1816
1817
  case "%f":
1817
- return Number.parseFloat(String(args[i++])).toString();
1818
+ return Number.parseFloat(String(args[i2++])).toString();
1818
1819
  case "%o":
1819
- return formatArg(args[i++], {
1820
+ return formatArg(args[i2++], {
1820
1821
  showHidden: true,
1821
1822
  showProxy: true
1822
1823
  });
1823
1824
  case "%O":
1824
- return formatArg(args[i++]);
1825
+ return formatArg(args[i2++]);
1825
1826
  case "%c": {
1826
- i++;
1827
+ i2++;
1827
1828
  return "";
1828
1829
  }
1829
1830
  case "%j":
1830
1831
  try {
1831
- return JSON.stringify(args[i++]);
1832
+ return JSON.stringify(args[i2++]);
1832
1833
  } catch (err) {
1833
1834
  const m = err.message;
1834
1835
  if (m.includes("circular structure") || m.includes("cyclic structures") || m.includes("cyclic object")) {
@@ -1840,7 +1841,7 @@ function baseFormat(args, options = {}) {
1840
1841
  return x;
1841
1842
  }
1842
1843
  });
1843
- for (let x = args[i]; i < len; x = args[++i]) {
1844
+ for (let x = args[i2]; i2 < len; x = args[++i2]) {
1844
1845
  if (x === null || typeof x !== "object") {
1845
1846
  str += ` ${x}`;
1846
1847
  } else {
@@ -2854,34 +2855,34 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2854
2855
  let jLength = iLength;
2855
2856
  let hasExcessAtStartOrEnd = false;
2856
2857
  let nExcessesBetweenChanges = 0;
2857
- let i = 0;
2858
- while (i !== iLength) {
2859
- const iStart = i;
2860
- while (i !== iLength && diffs[i][0] === DIFF_EQUAL) {
2861
- i += 1;
2858
+ let i2 = 0;
2859
+ while (i2 !== iLength) {
2860
+ const iStart = i2;
2861
+ while (i2 !== iLength && diffs[i2][0] === DIFF_EQUAL) {
2862
+ i2 += 1;
2862
2863
  }
2863
- if (iStart !== i) {
2864
+ if (iStart !== i2) {
2864
2865
  if (iStart === 0) {
2865
- if (i > nContextLines) {
2866
- jLength -= i - nContextLines;
2866
+ if (i2 > nContextLines) {
2867
+ jLength -= i2 - nContextLines;
2867
2868
  hasExcessAtStartOrEnd = true;
2868
2869
  }
2869
- } else if (i === iLength) {
2870
- const n = i - iStart;
2870
+ } else if (i2 === iLength) {
2871
+ const n = i2 - iStart;
2871
2872
  if (n > nContextLines) {
2872
2873
  jLength -= n - nContextLines;
2873
2874
  hasExcessAtStartOrEnd = true;
2874
2875
  }
2875
2876
  } else {
2876
- const n = i - iStart;
2877
+ const n = i2 - iStart;
2877
2878
  if (n > nContextLines2) {
2878
2879
  jLength -= n - nContextLines2;
2879
2880
  nExcessesBetweenChanges += 1;
2880
2881
  }
2881
2882
  }
2882
2883
  }
2883
- while (i !== iLength && diffs[i][0] !== DIFF_EQUAL) {
2884
- i += 1;
2884
+ while (i2 !== iLength && diffs[i2][0] !== DIFF_EQUAL) {
2885
+ i2 += 1;
2885
2886
  }
2886
2887
  }
2887
2888
  const hasPatch = nExcessesBetweenChanges !== 0 || hasExcessAtStartOrEnd;
@@ -2916,31 +2917,31 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2916
2917
  lines.push(printInsertLine(line, j === 0 || j === jLast, options));
2917
2918
  bEnd += 1;
2918
2919
  };
2919
- i = 0;
2920
- while (i !== iLength) {
2921
- let iStart = i;
2922
- while (i !== iLength && diffs[i][0] === DIFF_EQUAL) {
2923
- i += 1;
2920
+ i2 = 0;
2921
+ while (i2 !== iLength) {
2922
+ let iStart = i2;
2923
+ while (i2 !== iLength && diffs[i2][0] === DIFF_EQUAL) {
2924
+ i2 += 1;
2924
2925
  }
2925
- if (iStart !== i) {
2926
+ if (iStart !== i2) {
2926
2927
  if (iStart === 0) {
2927
- if (i > nContextLines) {
2928
- iStart = i - nContextLines;
2928
+ if (i2 > nContextLines) {
2929
+ iStart = i2 - nContextLines;
2929
2930
  aStart = iStart;
2930
2931
  bStart = iStart;
2931
2932
  aEnd = aStart;
2932
2933
  bEnd = bStart;
2933
2934
  }
2934
- for (let iCommon = iStart; iCommon !== i; iCommon += 1) {
2935
+ for (let iCommon = iStart; iCommon !== i2; iCommon += 1) {
2935
2936
  pushCommonLine(diffs[iCommon][1]);
2936
2937
  }
2937
- } else if (i === iLength) {
2938
- const iEnd = i - iStart > nContextLines ? iStart + nContextLines : i;
2938
+ } else if (i2 === iLength) {
2939
+ const iEnd = i2 - iStart > nContextLines ? iStart + nContextLines : i2;
2939
2940
  for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) {
2940
2941
  pushCommonLine(diffs[iCommon][1]);
2941
2942
  }
2942
2943
  } else {
2943
- const nCommon = i - iStart;
2944
+ const nCommon = i2 - iStart;
2944
2945
  if (nCommon > nContextLines2) {
2945
2946
  const iEnd = iStart + nContextLines;
2946
2947
  for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) {
@@ -2954,23 +2955,23 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2954
2955
  bStart = bEnd + nOmit;
2955
2956
  aEnd = aStart;
2956
2957
  bEnd = bStart;
2957
- for (let iCommon = i - nContextLines; iCommon !== i; iCommon += 1) {
2958
+ for (let iCommon = i2 - nContextLines; iCommon !== i2; iCommon += 1) {
2958
2959
  pushCommonLine(diffs[iCommon][1]);
2959
2960
  }
2960
2961
  } else {
2961
- for (let iCommon = iStart; iCommon !== i; iCommon += 1) {
2962
+ for (let iCommon = iStart; iCommon !== i2; iCommon += 1) {
2962
2963
  pushCommonLine(diffs[iCommon][1]);
2963
2964
  }
2964
2965
  }
2965
2966
  }
2966
2967
  }
2967
- while (i !== iLength && diffs[i][0] === DIFF_DELETE) {
2968
- pushDeleteLine(diffs[i][1]);
2969
- i += 1;
2968
+ while (i2 !== iLength && diffs[i2][0] === DIFF_DELETE) {
2969
+ pushDeleteLine(diffs[i2][1]);
2970
+ i2 += 1;
2970
2971
  }
2971
- while (i !== iLength && diffs[i][0] === DIFF_INSERT) {
2972
- pushInsertLine(diffs[i][1]);
2973
- i += 1;
2972
+ while (i2 !== iLength && diffs[i2][0] === DIFF_INSERT) {
2973
+ pushInsertLine(diffs[i2][1]);
2974
+ i2 += 1;
2974
2975
  }
2975
2976
  }
2976
2977
  if (hasPatch) {
@@ -2979,9 +2980,9 @@ function joinAlignedDiffsNoExpand(diffs, options) {
2979
2980
  return lines.join("\n");
2980
2981
  }
2981
2982
  function joinAlignedDiffsExpand(diffs, options) {
2982
- return diffs.map((diff2, i, diffs2) => {
2983
+ return diffs.map((diff2, i2, diffs2) => {
2983
2984
  const line = diff2[1];
2984
- const isFirstOrLast = i === 0 || i === diffs2.length - 1;
2985
+ const isFirstOrLast = i2 === 0 || i2 === diffs2.length - 1;
2985
2986
  switch (diff2[0]) {
2986
2987
  case DIFF_DELETE:
2987
2988
  return printDeleteLine(line, isFirstOrLast, options);
@@ -2998,14 +2999,14 @@ var DIFF_TRUNCATE_THRESHOLD_DEFAULT = 0;
2998
2999
  function getDefaultOptions() {
2999
3000
  return {
3000
3001
  aAnnotation: "Expected",
3001
- aColor: C.green,
3002
+ aColor: y.green,
3002
3003
  aIndicator: "-",
3003
3004
  bAnnotation: "Received",
3004
- bColor: C.red,
3005
+ bColor: y.red,
3005
3006
  bIndicator: "+",
3006
- changeColor: C.inverse,
3007
+ changeColor: y.inverse,
3007
3008
  changeLineTrailingSpaceColor: noColor,
3008
- commonColor: C.dim,
3009
+ commonColor: y.dim,
3009
3010
  commonIndicator: " ",
3010
3011
  commonLineTrailingSpaceColor: noColor,
3011
3012
  compareKeys: void 0,
@@ -3014,7 +3015,7 @@ function getDefaultOptions() {
3014
3015
  expand: false,
3015
3016
  includeChangeCounts: false,
3016
3017
  omitAnnotationLines: false,
3017
- patchColor: C.yellow,
3018
+ patchColor: y.yellow,
3018
3019
  printBasicPrototype: false,
3019
3020
  truncateThreshold: DIFF_TRUNCATE_THRESHOLD_DEFAULT,
3020
3021
  truncateAnnotation: "... Diff result is truncated",
@@ -3040,20 +3041,20 @@ function isEmptyString(lines) {
3040
3041
  }
3041
3042
  function countChanges(diffs) {
3042
3043
  let a = 0;
3043
- let b = 0;
3044
+ let b2 = 0;
3044
3045
  diffs.forEach((diff2) => {
3045
3046
  switch (diff2[0]) {
3046
3047
  case DIFF_DELETE:
3047
3048
  a += 1;
3048
3049
  break;
3049
3050
  case DIFF_INSERT:
3050
- b += 1;
3051
+ b2 += 1;
3051
3052
  break;
3052
3053
  }
3053
3054
  });
3054
3055
  return {
3055
3056
  a,
3056
- b
3057
+ b: b2
3057
3058
  };
3058
3059
  }
3059
3060
  function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines }, changeCounts) {
@@ -3075,9 +3076,9 @@ function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor,
3075
3076
  bRest = `${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;
3076
3077
  }
3077
3078
  const a = `${aIndicator} ${aAnnotation}${aRest}`;
3078
- const b = `${bIndicator} ${bAnnotation}${bRest}`;
3079
+ const b2 = `${bIndicator} ${bAnnotation}${bRest}`;
3079
3080
  return `${aColor(a)}
3080
- ${bColor(b)}
3081
+ ${bColor(b2)}
3081
3082
 
3082
3083
  `;
3083
3084
  }
@@ -3191,25 +3192,25 @@ function getType3(value) {
3191
3192
  function getNewLineSymbol(string2) {
3192
3193
  return string2.includes("\r\n") ? "\r\n" : "\n";
3193
3194
  }
3194
- function diffStrings(a, b, options) {
3195
+ function diffStrings(a, b2, options) {
3195
3196
  const truncate3 = (options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? false;
3196
3197
  const truncateThreshold = Math.max(Math.floor((options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? 0), 0);
3197
3198
  let aLength = a.length;
3198
- let bLength = b.length;
3199
+ let bLength = b2.length;
3199
3200
  if (truncate3) {
3200
3201
  const aMultipleLines = a.includes("\n");
3201
- const bMultipleLines = b.includes("\n");
3202
+ const bMultipleLines = b2.includes("\n");
3202
3203
  const aNewLineSymbol = getNewLineSymbol(a);
3203
- const bNewLineSymbol = getNewLineSymbol(b);
3204
+ const bNewLineSymbol = getNewLineSymbol(b2);
3204
3205
  const _a = aMultipleLines ? `${a.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
3205
3206
  ` : a;
3206
- const _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
3207
- ` : b;
3207
+ const _b = bMultipleLines ? `${b2.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
3208
+ ` : b2;
3208
3209
  aLength = _a.length;
3209
3210
  bLength = _b.length;
3210
3211
  }
3211
- const truncated = aLength !== a.length || bLength !== b.length;
3212
- const isCommon = (aIndex2, bIndex2) => a[aIndex2] === b[bIndex2];
3212
+ const truncated = aLength !== a.length || bLength !== b2.length;
3213
+ const isCommon = (aIndex2, bIndex2) => a[aIndex2] === b2[bIndex2];
3213
3214
  let aIndex = 0;
3214
3215
  let bIndex = 0;
3215
3216
  const diffs = [];
@@ -3218,18 +3219,18 @@ function diffStrings(a, b, options) {
3218
3219
  diffs.push(new Diff(DIFF_DELETE, a.slice(aIndex, aCommon)));
3219
3220
  }
3220
3221
  if (bIndex !== bCommon) {
3221
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon)));
3222
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex, bCommon)));
3222
3223
  }
3223
3224
  aIndex = aCommon + nCommon;
3224
3225
  bIndex = bCommon + nCommon;
3225
- diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
3226
+ diffs.push(new Diff(DIFF_EQUAL, b2.slice(bCommon, bIndex)));
3226
3227
  };
3227
3228
  diffSequences(aLength, bLength, isCommon, foundSubsequence);
3228
3229
  if (aIndex !== aLength) {
3229
3230
  diffs.push(new Diff(DIFF_DELETE, a.slice(aIndex)));
3230
3231
  }
3231
3232
  if (bIndex !== bLength) {
3232
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex)));
3233
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex)));
3233
3234
  }
3234
3235
  return [diffs, truncated];
3235
3236
  }
@@ -3267,8 +3268,8 @@ var ChangeBuffer = class {
3267
3268
  if (string2.includes("\n")) {
3268
3269
  const substrings = string2.split("\n");
3269
3270
  const iLast = substrings.length - 1;
3270
- substrings.forEach((substring, i) => {
3271
- if (i < iLast) {
3271
+ substrings.forEach((substring, i2) => {
3272
+ if (i2 < iLast) {
3272
3273
  this.pushSubstring(substring);
3273
3274
  this.pushLine();
3274
3275
  } else if (substring.length !== 0) {
@@ -3320,8 +3321,8 @@ var CommonBuffer = class {
3320
3321
  if (string2.includes("\n")) {
3321
3322
  const substrings = string2.split("\n");
3322
3323
  const iLast = substrings.length - 1;
3323
- substrings.forEach((substring, i) => {
3324
- if (i === 0) {
3324
+ substrings.forEach((substring, i2) => {
3325
+ if (i2 === 0) {
3325
3326
  const subdiff = new Diff(op, substring);
3326
3327
  if (this.deleteBuffer.isLineEmpty() && this.insertBuffer.isLineEmpty()) {
3327
3328
  this.flushChangeLines();
@@ -3330,7 +3331,7 @@ var CommonBuffer = class {
3330
3331
  this.pushDiffChangeLines(subdiff);
3331
3332
  this.flushChangeLines();
3332
3333
  }
3333
- } else if (i < iLast) {
3334
+ } else if (i2 < iLast) {
3334
3335
  this.pushDiffCommonLine(new Diff(op, substring));
3335
3336
  } else if (substring.length !== 0) {
3336
3337
  this.pushDiffChangeLines(new Diff(op, substring));
@@ -3367,26 +3368,26 @@ function getAlignedDiffs(diffs, changeColor) {
3367
3368
  function hasCommonDiff(diffs, isMultiline) {
3368
3369
  if (isMultiline) {
3369
3370
  const iLast = diffs.length - 1;
3370
- return diffs.some((diff2, i) => diff2[0] === DIFF_EQUAL && (i !== iLast || diff2[1] !== "\n"));
3371
+ return diffs.some((diff2, i2) => diff2[0] === DIFF_EQUAL && (i2 !== iLast || diff2[1] !== "\n"));
3371
3372
  }
3372
3373
  return diffs.some((diff2) => diff2[0] === DIFF_EQUAL);
3373
3374
  }
3374
- function diffStringsUnified(a, b, options) {
3375
- if (a !== b && a.length !== 0 && b.length !== 0) {
3376
- const isMultiline = a.includes("\n") || b.includes("\n");
3375
+ function diffStringsUnified(a, b2, options) {
3376
+ if (a !== b2 && a.length !== 0 && b2.length !== 0) {
3377
+ const isMultiline = a.includes("\n") || b2.includes("\n");
3377
3378
  const [diffs, truncated] = diffStringsRaw(isMultiline ? `${a}
3378
- ` : a, isMultiline ? `${b}
3379
- ` : b, true, options);
3379
+ ` : a, isMultiline ? `${b2}
3380
+ ` : b2, true, options);
3380
3381
  if (hasCommonDiff(diffs, isMultiline)) {
3381
3382
  const optionsNormalized = normalizeDiffOptions(options);
3382
3383
  const lines = getAlignedDiffs(diffs, optionsNormalized.changeColor);
3383
3384
  return printDiffLines(lines, truncated, optionsNormalized);
3384
3385
  }
3385
3386
  }
3386
- return diffLinesUnified(a.split("\n"), b.split("\n"), options);
3387
+ return diffLinesUnified(a.split("\n"), b2.split("\n"), options);
3387
3388
  }
3388
- function diffStringsRaw(a, b, cleanup, options) {
3389
- const [diffs, truncated] = diffStrings(a, b, options);
3389
+ function diffStringsRaw(a, b2, cleanup, options) {
3390
+ const [diffs, truncated] = diffStrings(a, b2, options);
3390
3391
  if (cleanup) {
3391
3392
  diff_cleanupSemantic(diffs);
3392
3393
  }
@@ -3415,8 +3416,8 @@ var FALLBACK_FORMAT_OPTIONS = {
3415
3416
  maxDepth: 8,
3416
3417
  plugins: PLUGINS2
3417
3418
  };
3418
- function diff(a, b, options) {
3419
- if (Object.is(a, b)) {
3419
+ function diff(a, b2, options) {
3420
+ if (Object.is(a, b2)) {
3420
3421
  return "";
3421
3422
  }
3422
3423
  const aType = getType3(a);
@@ -3432,7 +3433,7 @@ function diff(a, b, options) {
3432
3433
  expectedType = a.getExpectedType();
3433
3434
  omitDifference = expectedType === "string";
3434
3435
  }
3435
- if (expectedType !== getType3(b)) {
3436
+ if (expectedType !== getType3(b2)) {
3436
3437
  let truncate4 = function(s) {
3437
3438
  return s.length <= MAX_LENGTH ? s : `${s.slice(0, MAX_LENGTH)}...`;
3438
3439
  };
@@ -3440,7 +3441,7 @@ function diff(a, b, options) {
3440
3441
  const { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options);
3441
3442
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
3442
3443
  let aDisplay = format(a, formatOptions);
3443
- let bDisplay = format(b, formatOptions);
3444
+ let bDisplay = format(b2, formatOptions);
3444
3445
  const MAX_LENGTH = 1e5;
3445
3446
  aDisplay = truncate4(aDisplay);
3446
3447
  bDisplay = truncate4(bDisplay);
@@ -3457,21 +3458,21 @@ ${bDiff}`;
3457
3458
  }
3458
3459
  switch (aType) {
3459
3460
  case "string":
3460
- return diffLinesUnified(a.split("\n"), b.split("\n"), options);
3461
+ return diffLinesUnified(a.split("\n"), b2.split("\n"), options);
3461
3462
  case "boolean":
3462
3463
  case "number":
3463
- return comparePrimitive(a, b, options);
3464
+ return comparePrimitive(a, b2, options);
3464
3465
  case "map":
3465
- return compareObjects(sortMap(a), sortMap(b), options);
3466
+ return compareObjects(sortMap(a), sortMap(b2), options);
3466
3467
  case "set":
3467
- return compareObjects(sortSet(a), sortSet(b), options);
3468
+ return compareObjects(sortSet(a), sortSet(b2), options);
3468
3469
  default:
3469
- return compareObjects(a, b, options);
3470
+ return compareObjects(a, b2, options);
3470
3471
  }
3471
3472
  }
3472
- function comparePrimitive(a, b, options) {
3473
+ function comparePrimitive(a, b2, options) {
3473
3474
  const aFormat = format(a, FORMAT_OPTIONS);
3474
- const bFormat = format(b, FORMAT_OPTIONS);
3475
+ const bFormat = format(b2, FORMAT_OPTIONS);
3475
3476
  return aFormat === bFormat ? "" : diffLinesUnified(aFormat.split("\n"), bFormat.split("\n"), options);
3476
3477
  }
3477
3478
  function sortMap(map2) {
@@ -3480,19 +3481,19 @@ function sortMap(map2) {
3480
3481
  function sortSet(set3) {
3481
3482
  return new Set(Array.from(set3.values()).sort());
3482
3483
  }
3483
- function compareObjects(a, b, options) {
3484
+ function compareObjects(a, b2, options) {
3484
3485
  let difference;
3485
3486
  let hasThrown = false;
3486
3487
  try {
3487
3488
  const formatOptions = getFormatOptions(FORMAT_OPTIONS, options);
3488
- difference = getObjectsDifference(a, b, formatOptions, options);
3489
+ difference = getObjectsDifference(a, b2, formatOptions, options);
3489
3490
  } catch {
3490
3491
  hasThrown = true;
3491
3492
  }
3492
3493
  const noDiffMessage = getCommonMessage(NO_DIFF_MESSAGE, options);
3493
3494
  if (difference === void 0 || difference === noDiffMessage) {
3494
3495
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
3495
- difference = getObjectsDifference(a, b, formatOptions, options);
3496
+ difference = getObjectsDifference(a, b2, formatOptions, options);
3496
3497
  if (difference !== noDiffMessage && !hasThrown) {
3497
3498
  difference = `${getCommonMessage(SIMILAR_MESSAGE, options)}
3498
3499
 
@@ -3510,18 +3511,18 @@ function getFormatOptions(formatOptions, options) {
3510
3511
  maxDepth: maxDepth ?? formatOptions.maxDepth
3511
3512
  };
3512
3513
  }
3513
- function getObjectsDifference(a, b, formatOptions, options) {
3514
+ function getObjectsDifference(a, b2, formatOptions, options) {
3514
3515
  const formatOptionsZeroIndent = {
3515
3516
  ...formatOptions,
3516
3517
  indent: 0
3517
3518
  };
3518
3519
  const aCompare = format(a, formatOptionsZeroIndent);
3519
- const bCompare = format(b, formatOptionsZeroIndent);
3520
+ const bCompare = format(b2, formatOptionsZeroIndent);
3520
3521
  if (aCompare === bCompare) {
3521
3522
  return getCommonMessage(NO_DIFF_MESSAGE, options);
3522
3523
  } else {
3523
3524
  const aDisplay = format(a, formatOptions);
3524
- const bDisplay = format(b, formatOptions);
3525
+ const bDisplay = format(b2, formatOptions);
3525
3526
  return diffLinesUnified2(aDisplay.split("\n"), bDisplay.split("\n"), aCompare.split("\n"), bCompare.split("\n"), options);
3526
3527
  }
3527
3528
  }
@@ -3616,13 +3617,13 @@ function replaceTrailingSpaces(text) {
3616
3617
  return text.replace(/\s+$/gm, (spaces) => SPACE_SYMBOL.repeat(spaces.length));
3617
3618
  }
3618
3619
  function printReceived(object2) {
3619
- return C.red(replaceTrailingSpaces(stringify(object2)));
3620
+ return y.red(replaceTrailingSpaces(stringify(object2)));
3620
3621
  }
3621
3622
  function printExpected(value) {
3622
- return C.green(replaceTrailingSpaces(stringify(value)));
3623
+ return y.green(replaceTrailingSpaces(stringify(value)));
3623
3624
  }
3624
3625
  function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) {
3625
- return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? C.inverse(diff2[1]) : diff2[1] : ""), "");
3626
+ return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? y.inverse(diff2[1]) : diff2[1] : ""), "");
3626
3627
  }
3627
3628
  function isMockFunction(fn2) {
3628
3629
  return typeof fn2 === "function" && "_isMockFunction" in fn2 && fn2._isMockFunction === true;
@@ -4107,11 +4108,11 @@ function serializeValue(val, seen = /* @__PURE__ */ new WeakMap()) {
4107
4108
  if (Array.isArray(val)) {
4108
4109
  const clone2 = new Array(val.length);
4109
4110
  seen.set(val, clone2);
4110
- val.forEach((e, i) => {
4111
+ val.forEach((e, i2) => {
4111
4112
  try {
4112
- clone2[i] = serializeValue(e, seen);
4113
+ clone2[i2] = serializeValue(e, seen);
4113
4114
  } catch (err) {
4114
- clone2[i] = getUnserializableMessage(err);
4115
+ clone2[i2] = getUnserializableMessage(err);
4115
4116
  }
4116
4117
  });
4117
4118
  return clone2;
@@ -4500,11 +4501,11 @@ function inspectList2(list, options, inspectItem, separator = ", ") {
4500
4501
  let output = "";
4501
4502
  let peek = "";
4502
4503
  let truncated = "";
4503
- for (let i = 0; i < size; i += 1) {
4504
- const last = i + 1 === list.length;
4505
- const secondToLast = i + 2 === list.length;
4506
- truncated = `${truncator2}(${list.length - i})`;
4507
- const value = list[i];
4504
+ for (let i2 = 0; i2 < size; i2 += 1) {
4505
+ const last = i2 + 1 === list.length;
4506
+ const secondToLast = i2 + 2 === list.length;
4507
+ truncated = `${truncator2}(${list.length - i2})`;
4508
+ const value = list[i2];
4508
4509
  options.truncate = originalLength - output.length - (last ? 0 : separator.length);
4509
4510
  const string2 = peek || inspectItem(value, options) + (last ? "" : separator);
4510
4511
  const nextLength = output.length + string2.length;
@@ -4515,13 +4516,13 @@ function inspectList2(list, options, inspectItem, separator = ", ") {
4515
4516
  if (!last && !secondToLast && truncatedLength > originalLength) {
4516
4517
  break;
4517
4518
  }
4518
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
4519
+ peek = last ? "" : inspectItem(list[i2 + 1], options) + (secondToLast ? "" : separator);
4519
4520
  if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {
4520
4521
  break;
4521
4522
  }
4522
4523
  output += string2;
4523
4524
  if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
4524
- truncated = `${truncator2}(${list.length - i - 1})`;
4525
+ truncated = `${truncator2}(${list.length - i2 - 1})`;
4525
4526
  break;
4526
4527
  }
4527
4528
  truncated = "";
@@ -4578,11 +4579,11 @@ function inspectTypedArray2(array2, options) {
4578
4579
  if (!array2.length && !nonIndexProperties.length)
4579
4580
  return `${name}[]`;
4580
4581
  let output = "";
4581
- for (let i = 0; i < array2.length; i++) {
4582
- const string2 = `${options.stylize(truncate2(array2[i], options.truncate), "number")}${i === array2.length - 1 ? "" : ", "}`;
4582
+ for (let i2 = 0; i2 < array2.length; i2++) {
4583
+ const string2 = `${options.stylize(truncate2(array2[i2], options.truncate), "number")}${i2 === array2.length - 1 ? "" : ", "}`;
4583
4584
  options.truncate -= string2.length;
4584
- if (array2[i] !== array2.length && options.truncate <= 3) {
4585
- output += `${truncator2}(${array2.length - array2[i] + 1})`;
4585
+ if (array2[i2] !== array2.length && options.truncate <= 3) {
4586
+ output += `${truncator2}(${array2.length - array2[i2] + 1})`;
4586
4587
  break;
4587
4588
  }
4588
4589
  output += string2;
@@ -4636,7 +4637,7 @@ function inspectMap2(map2, options) {
4636
4637
  return `Map{ ${inspectList2(mapToEntries2(map2), options, inspectMapEntry2)} }`;
4637
4638
  }
4638
4639
  __name(inspectMap2, "inspectMap");
4639
- var isNaN2 = Number.isNaN || ((i) => i !== i);
4640
+ var isNaN2 = Number.isNaN || ((i2) => i2 !== i2);
4640
4641
  function inspectNumber2(number, options) {
4641
4642
  if (isNaN2(number)) {
4642
4643
  return options.stylize("NaN", "number");
@@ -5367,8 +5368,8 @@ __name(getEnumerableKeys, "getEnumerableKeys");
5367
5368
  function getEnumerableSymbols(target) {
5368
5369
  var keys2 = [];
5369
5370
  var allKeys = Object.getOwnPropertySymbols(target);
5370
- for (var i = 0; i < allKeys.length; i += 1) {
5371
- var key = allKeys[i];
5371
+ for (var i2 = 0; i2 < allKeys.length; i2 += 1) {
5372
+ var key = allKeys[i2];
5372
5373
  if (Object.getOwnPropertyDescriptor(target, key).enumerable) {
5373
5374
  keys2.push(key);
5374
5375
  }
@@ -5381,8 +5382,8 @@ function keysEqual(leftHandOperand, rightHandOperand, keys2, options) {
5381
5382
  if (length === 0) {
5382
5383
  return true;
5383
5384
  }
5384
- for (var i = 0; i < length; i += 1) {
5385
- if (deepEqual(leftHandOperand[keys2[i]], rightHandOperand[keys2[i]], options) === false) {
5385
+ for (var i2 = 0; i2 < length; i2 += 1) {
5386
+ if (deepEqual(leftHandOperand[keys2[i2]], rightHandOperand[keys2[i2]], options) === false) {
5386
5387
  return false;
5387
5388
  }
5388
5389
  }
@@ -5458,15 +5459,15 @@ function internalGetPathValue(obj, parsed, pathDepth) {
5458
5459
  let temporaryValue = obj;
5459
5460
  let res = null;
5460
5461
  pathDepth = typeof pathDepth === "undefined" ? parsed.length : pathDepth;
5461
- for (let i = 0; i < pathDepth; i++) {
5462
- const part = parsed[i];
5462
+ for (let i2 = 0; i2 < pathDepth; i2++) {
5463
+ const part = parsed[i2];
5463
5464
  if (temporaryValue) {
5464
5465
  if (typeof part.p === "undefined") {
5465
5466
  temporaryValue = temporaryValue[part.i];
5466
5467
  } else {
5467
5468
  temporaryValue = temporaryValue[part.p];
5468
5469
  }
5469
- if (i === pathDepth - 1) {
5470
+ if (i2 === pathDepth - 1) {
5470
5471
  res = temporaryValue;
5471
5472
  }
5472
5473
  }
@@ -5776,24 +5777,24 @@ function stringDistanceCapped(strA, strB, cap) {
5776
5777
  return cap;
5777
5778
  }
5778
5779
  let memo = [];
5779
- for (let i = 0; i <= strA.length; i++) {
5780
- memo[i] = Array(strB.length + 1).fill(0);
5781
- memo[i][0] = i;
5780
+ for (let i2 = 0; i2 <= strA.length; i2++) {
5781
+ memo[i2] = Array(strB.length + 1).fill(0);
5782
+ memo[i2][0] = i2;
5782
5783
  }
5783
5784
  for (let j = 0; j < strB.length; j++) {
5784
5785
  memo[0][j] = j;
5785
5786
  }
5786
- for (let i = 1; i <= strA.length; i++) {
5787
- let ch = strA.charCodeAt(i - 1);
5787
+ for (let i2 = 1; i2 <= strA.length; i2++) {
5788
+ let ch = strA.charCodeAt(i2 - 1);
5788
5789
  for (let j = 1; j <= strB.length; j++) {
5789
- if (Math.abs(i - j) >= cap) {
5790
- memo[i][j] = cap;
5790
+ if (Math.abs(i2 - j) >= cap) {
5791
+ memo[i2][j] = cap;
5791
5792
  continue;
5792
5793
  }
5793
- memo[i][j] = Math.min(
5794
- memo[i - 1][j] + 1,
5795
- memo[i][j - 1] + 1,
5796
- memo[i - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
5794
+ memo[i2][j] = Math.min(
5795
+ memo[i2 - 1][j] + 1,
5796
+ memo[i2][j - 1] + 1,
5797
+ memo[i2 - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
5797
5798
  );
5798
5799
  }
5799
5800
  }
@@ -5965,8 +5966,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
5965
5966
  }, "overwritingChainableMethodWrapper");
5966
5967
  }
5967
5968
  __name(overwriteChainableMethod, "overwriteChainableMethod");
5968
- function compareByInspect(a, b) {
5969
- return inspect22(a) < inspect22(b) ? -1 : 1;
5969
+ function compareByInspect(a, b2) {
5970
+ return inspect22(a) < inspect22(b2) ? -1 : 1;
5970
5971
  }
5971
5972
  __name(compareByInspect, "compareByInspect");
5972
5973
  function getOwnEnumerablePropertySymbols(obj) {
@@ -6100,8 +6101,8 @@ function an(type3, msg) {
6100
6101
  __name(an, "an");
6101
6102
  Assertion.addChainableMethod("an", an);
6102
6103
  Assertion.addChainableMethod("a", an);
6103
- function SameValueZero(a, b) {
6104
- return isNaN22(a) && isNaN22(b) || a === b;
6104
+ function SameValueZero(a, b2) {
6105
+ return isNaN22(a) && isNaN22(b2) || a === b2;
6105
6106
  }
6106
6107
  __name(SameValueZero, "SameValueZero");
6107
6108
  function includeChainingBehavior() {
@@ -8289,11 +8290,11 @@ ${printReceived3(actual)}`
8289
8290
  };
8290
8291
  }
8291
8292
  };
8292
- var EXPECTED_COLOR = C.green;
8293
- var RECEIVED_COLOR = C.red;
8294
- var INVERTED_COLOR = C.inverse;
8295
- var BOLD_WEIGHT = C.bold;
8296
- var DIM_COLOR = C.dim;
8293
+ var EXPECTED_COLOR = y.green;
8294
+ var RECEIVED_COLOR = y.red;
8295
+ var INVERTED_COLOR = y.inverse;
8296
+ var BOLD_WEIGHT = y.bold;
8297
+ var DIM_COLOR = y.dim;
8297
8298
  function matcherHint(matcherName, received = "received", expected = "expected", options = {}) {
8298
8299
  const { comment = "", isDirectExpectCall = false, isNot = false, promise = "", secondArgument = "", expectedColor = EXPECTED_COLOR, receivedColor = RECEIVED_COLOR, secondArgumentColor = EXPECTED_COLOR } = options;
8299
8300
  let hint = "";
@@ -8374,71 +8375,71 @@ function addCustomEqualityTesters(newTesters) {
8374
8375
  function getCustomEqualityTesters() {
8375
8376
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
8376
8377
  }
8377
- function equals(a, b, customTesters, strictCheck) {
8378
+ function equals(a, b2, customTesters, strictCheck) {
8378
8379
  customTesters = customTesters || [];
8379
- return eq(a, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
8380
+ return eq(a, b2, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
8380
8381
  }
8381
8382
  var functionToString = Function.prototype.toString;
8382
8383
  function isAsymmetric(obj) {
8383
8384
  return !!obj && typeof obj === "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
8384
8385
  }
8385
- function asymmetricMatch(a, b, customTesters) {
8386
+ function asymmetricMatch(a, b2, customTesters) {
8386
8387
  const asymmetricA = isAsymmetric(a);
8387
- const asymmetricB = isAsymmetric(b);
8388
+ const asymmetricB = isAsymmetric(b2);
8388
8389
  if (asymmetricA && asymmetricB) {
8389
8390
  return void 0;
8390
8391
  }
8391
8392
  if (asymmetricA) {
8392
- return a.asymmetricMatch(b, customTesters);
8393
+ return a.asymmetricMatch(b2, customTesters);
8393
8394
  }
8394
8395
  if (asymmetricB) {
8395
- return b.asymmetricMatch(a, customTesters);
8396
+ return b2.asymmetricMatch(a, customTesters);
8396
8397
  }
8397
8398
  }
8398
- function eq(a, b, aStack, bStack, customTesters, hasKey2) {
8399
+ function eq(a, b2, aStack, bStack, customTesters, hasKey2) {
8399
8400
  let result = true;
8400
- const asymmetricResult = asymmetricMatch(a, b, customTesters);
8401
+ const asymmetricResult = asymmetricMatch(a, b2, customTesters);
8401
8402
  if (asymmetricResult !== void 0) {
8402
8403
  return asymmetricResult;
8403
8404
  }
8404
8405
  const testerContext = { equals };
8405
- for (let i = 0; i < customTesters.length; i++) {
8406
- const customTesterResult = customTesters[i].call(testerContext, a, b, customTesters);
8406
+ for (let i2 = 0; i2 < customTesters.length; i2++) {
8407
+ const customTesterResult = customTesters[i2].call(testerContext, a, b2, customTesters);
8407
8408
  if (customTesterResult !== void 0) {
8408
8409
  return customTesterResult;
8409
8410
  }
8410
8411
  }
8411
- if (typeof URL === "function" && a instanceof URL && b instanceof URL) {
8412
- return a.href === b.href;
8412
+ if (typeof URL === "function" && a instanceof URL && b2 instanceof URL) {
8413
+ return a.href === b2.href;
8413
8414
  }
8414
- if (Object.is(a, b)) {
8415
+ if (Object.is(a, b2)) {
8415
8416
  return true;
8416
8417
  }
8417
- if (a === null || b === null) {
8418
- return a === b;
8418
+ if (a === null || b2 === null) {
8419
+ return a === b2;
8419
8420
  }
8420
8421
  const className = Object.prototype.toString.call(a);
8421
- if (className !== Object.prototype.toString.call(b)) {
8422
+ if (className !== Object.prototype.toString.call(b2)) {
8422
8423
  return false;
8423
8424
  }
8424
8425
  switch (className) {
8425
8426
  case "[object Boolean]":
8426
8427
  case "[object String]":
8427
8428
  case "[object Number]":
8428
- if (typeof a !== typeof b) {
8429
+ if (typeof a !== typeof b2) {
8429
8430
  return false;
8430
- } else if (typeof a !== "object" && typeof b !== "object") {
8431
- return Object.is(a, b);
8431
+ } else if (typeof a !== "object" && typeof b2 !== "object") {
8432
+ return Object.is(a, b2);
8432
8433
  } else {
8433
- return Object.is(a.valueOf(), b.valueOf());
8434
+ return Object.is(a.valueOf(), b2.valueOf());
8434
8435
  }
8435
8436
  case "[object Date]": {
8436
8437
  const numA = +a;
8437
- const numB = +b;
8438
+ const numB = +b2;
8438
8439
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
8439
8440
  }
8440
8441
  case "[object RegExp]":
8441
- return a.source === b.source && a.flags === b.flags;
8442
+ return a.source === b2.source && a.flags === b2.flags;
8442
8443
  case "[object Temporal.Instant]":
8443
8444
  case "[object Temporal.ZonedDateTime]":
8444
8445
  case "[object Temporal.PlainDateTime]":
@@ -8446,32 +8447,32 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
8446
8447
  case "[object Temporal.PlainTime]":
8447
8448
  case "[object Temporal.PlainYearMonth]":
8448
8449
  case "[object Temporal.PlainMonthDay]":
8449
- return a.equals(b);
8450
+ return a.equals(b2);
8450
8451
  case "[object Temporal.Duration]":
8451
- return a.toString() === b.toString();
8452
+ return a.toString() === b2.toString();
8452
8453
  }
8453
- if (typeof a !== "object" || typeof b !== "object") {
8454
+ if (typeof a !== "object" || typeof b2 !== "object") {
8454
8455
  return false;
8455
8456
  }
8456
- if (isDomNode(a) && isDomNode(b)) {
8457
- return a.isEqualNode(b);
8457
+ if (isDomNode(a) && isDomNode(b2)) {
8458
+ return a.isEqualNode(b2);
8458
8459
  }
8459
8460
  let length = aStack.length;
8460
8461
  while (length--) {
8461
8462
  if (aStack[length] === a) {
8462
- return bStack[length] === b;
8463
- } else if (bStack[length] === b) {
8463
+ return bStack[length] === b2;
8464
+ } else if (bStack[length] === b2) {
8464
8465
  return false;
8465
8466
  }
8466
8467
  }
8467
8468
  aStack.push(a);
8468
- bStack.push(b);
8469
- if (className === "[object Array]" && a.length !== b.length) {
8469
+ bStack.push(b2);
8470
+ if (className === "[object Array]" && a.length !== b2.length) {
8470
8471
  return false;
8471
8472
  }
8472
- if (a instanceof Error && b instanceof Error) {
8473
+ if (a instanceof Error && b2 instanceof Error) {
8473
8474
  try {
8474
- return isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2);
8475
+ return isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2);
8475
8476
  } finally {
8476
8477
  aStack.pop();
8477
8478
  bStack.pop();
@@ -8480,12 +8481,12 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
8480
8481
  const aKeys = keys(a, hasKey2);
8481
8482
  let key;
8482
8483
  let size = aKeys.length;
8483
- if (keys(b, hasKey2).length !== size) {
8484
+ if (keys(b2, hasKey2).length !== size) {
8484
8485
  return false;
8485
8486
  }
8486
8487
  while (size--) {
8487
8488
  key = aKeys[size];
8488
- result = hasKey2(b, key) && eq(a[key], b[key], aStack, bStack, customTesters, hasKey2);
8489
+ result = hasKey2(b2, key) && eq(a[key], b2[key], aStack, bStack, customTesters, hasKey2);
8489
8490
  if (!result) {
8490
8491
  return false;
8491
8492
  }
@@ -8494,15 +8495,15 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
8494
8495
  bStack.pop();
8495
8496
  return result;
8496
8497
  }
8497
- function isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2) {
8498
- let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b) && a.name === b.name && a.message === b.message;
8499
- if (typeof b.cause !== "undefined") {
8500
- result && (result = eq(a.cause, b.cause, aStack, bStack, customTesters, hasKey2));
8498
+ function isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2) {
8499
+ let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b2) && a.name === b2.name && a.message === b2.message;
8500
+ if (typeof b2.cause !== "undefined") {
8501
+ result && (result = eq(a.cause, b2.cause, aStack, bStack, customTesters, hasKey2));
8501
8502
  }
8502
- if (a instanceof AggregateError && b instanceof AggregateError) {
8503
- result && (result = eq(a.errors, b.errors, aStack, bStack, customTesters, hasKey2));
8503
+ if (a instanceof AggregateError && b2 instanceof AggregateError) {
8504
+ result && (result = eq(a.errors, b2.errors, aStack, bStack, customTesters, hasKey2));
8504
8505
  }
8505
- result && (result = eq({ ...a }, { ...b }, aStack, bStack, customTesters, hasKey2));
8506
+ result && (result = eq({ ...a }, { ...b2 }, aStack, bStack, customTesters, hasKey2));
8506
8507
  return result;
8507
8508
  }
8508
8509
  function keys(obj, hasKey2) {
@@ -8556,34 +8557,34 @@ var IteratorSymbol = Symbol.iterator;
8556
8557
  function hasIterator(object2) {
8557
8558
  return !!(object2 != null && object2[IteratorSymbol]);
8558
8559
  }
8559
- function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
8560
- if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b)) {
8560
+ function iterableEquality(a, b2, customTesters = [], aStack = [], bStack = []) {
8561
+ if (typeof a !== "object" || typeof b2 !== "object" || Array.isArray(a) || Array.isArray(b2) || !hasIterator(a) || !hasIterator(b2)) {
8561
8562
  return void 0;
8562
8563
  }
8563
- if (a.constructor !== b.constructor) {
8564
+ if (a.constructor !== b2.constructor) {
8564
8565
  return false;
8565
8566
  }
8566
8567
  let length = aStack.length;
8567
8568
  while (length--) {
8568
8569
  if (aStack[length] === a) {
8569
- return bStack[length] === b;
8570
+ return bStack[length] === b2;
8570
8571
  }
8571
8572
  }
8572
8573
  aStack.push(a);
8573
- bStack.push(b);
8574
+ bStack.push(b2);
8574
8575
  const filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];
8575
- function iterableEqualityWithStack(a2, b2) {
8576
- return iterableEquality(a2, b2, [...customTesters], [...aStack], [...bStack]);
8576
+ function iterableEqualityWithStack(a2, b3) {
8577
+ return iterableEquality(a2, b3, [...customTesters], [...aStack], [...bStack]);
8577
8578
  }
8578
8579
  if (a.size !== void 0) {
8579
- if (a.size !== b.size) {
8580
+ if (a.size !== b2.size) {
8580
8581
  return false;
8581
8582
  } else if (isA("Set", a) || isImmutableUnorderedSet(a)) {
8582
8583
  let allFound = true;
8583
8584
  for (const aValue of a) {
8584
- if (!b.has(aValue)) {
8585
+ if (!b2.has(aValue)) {
8585
8586
  let has = false;
8586
- for (const bValue of b) {
8587
+ for (const bValue of b2) {
8587
8588
  const isEqual = equals(aValue, bValue, filteredCustomTesters);
8588
8589
  if (isEqual === true) {
8589
8590
  has = true;
@@ -8601,9 +8602,9 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
8601
8602
  } else if (isA("Map", a) || isImmutableUnorderedKeyed(a)) {
8602
8603
  let allFound = true;
8603
8604
  for (const aEntry of a) {
8604
- if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
8605
+ if (!b2.has(aEntry[0]) || !equals(aEntry[1], b2.get(aEntry[0]), filteredCustomTesters)) {
8605
8606
  let has = false;
8606
- for (const bEntry of b) {
8607
+ for (const bEntry of b2) {
8607
8608
  const matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);
8608
8609
  let matchedValue = false;
8609
8610
  if (matchedKey === true) {
@@ -8624,7 +8625,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
8624
8625
  return allFound;
8625
8626
  }
8626
8627
  }
8627
- const bIterator = b[IteratorSymbol]();
8628
+ const bIterator = b2[IteratorSymbol]();
8628
8629
  for (const aValue of a) {
8629
8630
  const nextB = bIterator.next();
8630
8631
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
@@ -8636,7 +8637,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
8636
8637
  }
8637
8638
  if (!isImmutableList(a) && !isImmutableOrderedKeyed(a) && !isImmutableOrderedSet(a) && !isImmutableRecord(a)) {
8638
8639
  const aEntries = Object.entries(a);
8639
- const bEntries = Object.entries(b);
8640
+ const bEntries = Object.entries(b2);
8640
8641
  if (!equals(aEntries, bEntries, filteredCustomTesters)) {
8641
8642
  return false;
8642
8643
  }
@@ -8675,22 +8676,22 @@ function subsetEquality(object2, subset, customTesters = []) {
8675
8676
  };
8676
8677
  return subsetEqualityWithContext()(object2, subset);
8677
8678
  }
8678
- function typeEquality(a, b) {
8679
- if (a == null || b == null || a.constructor === b.constructor) {
8679
+ function typeEquality(a, b2) {
8680
+ if (a == null || b2 == null || a.constructor === b2.constructor) {
8680
8681
  return void 0;
8681
8682
  }
8682
8683
  return false;
8683
8684
  }
8684
- function arrayBufferEquality(a, b) {
8685
+ function arrayBufferEquality(a, b2) {
8685
8686
  let dataViewA = a;
8686
- let dataViewB = b;
8687
- if (!(a instanceof DataView && b instanceof DataView)) {
8688
- if (!(a instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {
8687
+ let dataViewB = b2;
8688
+ if (!(a instanceof DataView && b2 instanceof DataView)) {
8689
+ if (!(a instanceof ArrayBuffer) || !(b2 instanceof ArrayBuffer)) {
8689
8690
  return void 0;
8690
8691
  }
8691
8692
  try {
8692
8693
  dataViewA = new DataView(a);
8693
- dataViewB = new DataView(b);
8694
+ dataViewB = new DataView(b2);
8694
8695
  } catch {
8695
8696
  return void 0;
8696
8697
  }
@@ -8698,21 +8699,21 @@ function arrayBufferEquality(a, b) {
8698
8699
  if (dataViewA.byteLength !== dataViewB.byteLength) {
8699
8700
  return false;
8700
8701
  }
8701
- for (let i = 0; i < dataViewA.byteLength; i++) {
8702
- if (dataViewA.getUint8(i) !== dataViewB.getUint8(i)) {
8702
+ for (let i2 = 0; i2 < dataViewA.byteLength; i2++) {
8703
+ if (dataViewA.getUint8(i2) !== dataViewB.getUint8(i2)) {
8703
8704
  return false;
8704
8705
  }
8705
8706
  }
8706
8707
  return true;
8707
8708
  }
8708
- function sparseArrayEquality(a, b, customTesters = []) {
8709
- if (!Array.isArray(a) || !Array.isArray(b)) {
8709
+ function sparseArrayEquality(a, b2, customTesters = []) {
8710
+ if (!Array.isArray(a) || !Array.isArray(b2)) {
8710
8711
  return void 0;
8711
8712
  }
8712
8713
  const aKeys = Object.keys(a);
8713
- const bKeys = Object.keys(b);
8714
+ const bKeys = Object.keys(b2);
8714
8715
  const filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
8715
- return equals(a, b, filteredCustomTesters, true) && equals(aKeys, bKeys);
8716
+ return equals(a, b2, filteredCustomTesters, true) && equals(aKeys, bKeys);
8716
8717
  }
8717
8718
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
8718
8719
  const toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;
@@ -8741,7 +8742,7 @@ function getObjectSubset(object2, subset, customTesters) {
8741
8742
  const getObjectSubsetWithContext = (seenReferences = /* @__PURE__ */ new WeakMap()) => (object3, subset2) => {
8742
8743
  if (Array.isArray(object3)) {
8743
8744
  if (Array.isArray(subset2) && subset2.length === object3.length) {
8744
- return subset2.map((sub, i) => getObjectSubsetWithContext(seenReferences)(object3[i], sub));
8745
+ return subset2.map((sub, i2) => getObjectSubsetWithContext(seenReferences)(object3[i2], sub));
8745
8746
  }
8746
8747
  } else if (object3 instanceof Date) {
8747
8748
  return object3;
@@ -9498,8 +9499,8 @@ var JestChaiExpect = (chai, utils) => {
9498
9499
  throw new AssertionError2(msg);
9499
9500
  }
9500
9501
  });
9501
- function equalsArgumentArray(a, b) {
9502
- return a.length === b.length && a.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
9502
+ function equalsArgumentArray(a, b2) {
9503
+ return a.length === b2.length && a.every((aItem, i2) => equals(aItem, b2[i2], [...customTesters, iterableEquality]));
9503
9504
  }
9504
9505
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
9505
9506
  const spy = getSpy(this);
@@ -9800,28 +9801,28 @@ var JestChaiExpect = (chai, utils) => {
9800
9801
  return proxy;
9801
9802
  });
9802
9803
  };
9803
- function ordinalOf(i) {
9804
- const j = i % 10;
9805
- const k = i % 100;
9804
+ function ordinalOf(i2) {
9805
+ const j = i2 % 10;
9806
+ const k = i2 % 100;
9806
9807
  if (j === 1 && k !== 11) {
9807
- return `${i}st`;
9808
+ return `${i2}st`;
9808
9809
  }
9809
9810
  if (j === 2 && k !== 12) {
9810
- return `${i}nd`;
9811
+ return `${i2}nd`;
9811
9812
  }
9812
9813
  if (j === 3 && k !== 13) {
9813
- return `${i}rd`;
9814
+ return `${i2}rd`;
9814
9815
  }
9815
- return `${i}th`;
9816
+ return `${i2}th`;
9816
9817
  }
9817
9818
  function formatCalls(spy, msg, showActualCall) {
9818
9819
  if (spy.mock.calls.length) {
9819
- msg += C.gray(`
9820
+ msg += y.gray(`
9820
9821
 
9821
9822
  Received:
9822
9823
 
9823
- ${spy.mock.calls.map((callArg, i) => {
9824
- let methodCall = C.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
9824
+ ${spy.mock.calls.map((callArg, i2) => {
9825
+ let methodCall = y.bold(` ${ordinalOf(i2 + 1)} ${spy.getMockName()} call:
9825
9826
 
9826
9827
  `);
9827
9828
  if (showActualCall) {
@@ -9833,20 +9834,20 @@ ${spy.mock.calls.map((callArg, i) => {
9833
9834
  return methodCall;
9834
9835
  }).join("\n")}`);
9835
9836
  }
9836
- msg += C.gray(`
9837
+ msg += y.gray(`
9837
9838
 
9838
- Number of calls: ${C.bold(spy.mock.calls.length)}
9839
+ Number of calls: ${y.bold(spy.mock.calls.length)}
9839
9840
  `);
9840
9841
  return msg;
9841
9842
  }
9842
9843
  function formatReturns(spy, results, msg, showActualReturn) {
9843
9844
  if (results.length) {
9844
- msg += C.gray(`
9845
+ msg += y.gray(`
9845
9846
 
9846
9847
  Received:
9847
9848
 
9848
- ${results.map((callReturn, i) => {
9849
- let methodCall = C.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
9849
+ ${results.map((callReturn, i2) => {
9850
+ let methodCall = y.bold(` ${ordinalOf(i2 + 1)} ${spy.getMockName()} call return:
9850
9851
 
9851
9852
  `);
9852
9853
  if (showActualReturn) {
@@ -9858,9 +9859,9 @@ ${results.map((callReturn, i) => {
9858
9859
  return methodCall;
9859
9860
  }).join("\n")}`);
9860
9861
  }
9861
- msg += C.gray(`
9862
+ msg += y.gray(`
9862
9863
 
9863
- Number of calls: ${C.bold(spy.mock.calls.length)}
9864
+ Number of calls: ${y.bold(spy.mock.calls.length)}
9864
9865
  `);
9865
9866
  return msg;
9866
9867
  }
@@ -10094,10 +10095,10 @@ var comma = ",".charCodeAt(0);
10094
10095
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
10095
10096
  var intToChar = new Uint8Array(64);
10096
10097
  var charToInt = new Uint8Array(128);
10097
- for (let i = 0; i < chars.length; i++) {
10098
- const c = chars.charCodeAt(i);
10099
- intToChar[i] = c;
10100
- charToInt[c] = i;
10098
+ for (let i2 = 0; i2 < chars.length; i2++) {
10099
+ const c = chars.charCodeAt(i2);
10100
+ intToChar[i2] = c;
10101
+ charToInt[c] = i2;
10101
10102
  }
10102
10103
  var CHROME_IE_STACK_REGEXP = /^\s*at .*(?:\S:\d+|\(native\))/m;
10103
10104
  var SAFARI_NATIVE_CODE_REGEXP = /^(?:eval@)?(?:\[native code\])?$/;
@@ -10144,13 +10145,13 @@ function parseSingleFFOrSafariStack(raw) {
10144
10145
  let atIndex = -1;
10145
10146
  let locationPart = "";
10146
10147
  let functionName2;
10147
- for (let i = 0; i < line.length; i++) {
10148
- if (line[i] === "@") {
10149
- const candidateLocation = line.slice(i + 1);
10148
+ for (let i2 = 0; i2 < line.length; i2++) {
10149
+ if (line[i2] === "@") {
10150
+ const candidateLocation = line.slice(i2 + 1);
10150
10151
  if (candidateLocation.includes(":") && candidateLocation.length >= 3) {
10151
- atIndex = i;
10152
+ atIndex = i2;
10152
10153
  locationPart = candidateLocation;
10153
- functionName2 = i > 0 ? line.slice(0, i) : void 0;
10154
+ functionName2 = i2 > 0 ? line.slice(0, i2) : void 0;
10154
10155
  break;
10155
10156
  }
10156
10157
  }
@@ -10623,23 +10624,23 @@ function getUsedProps(fn2) {
10623
10624
  function filterOutComments(s) {
10624
10625
  const result = [];
10625
10626
  let commentState = "none";
10626
- for (let i = 0; i < s.length; ++i) {
10627
+ for (let i2 = 0; i2 < s.length; ++i2) {
10627
10628
  if (commentState === "singleline") {
10628
- if (s[i] === "\n") {
10629
+ if (s[i2] === "\n") {
10629
10630
  commentState = "none";
10630
10631
  }
10631
10632
  } else if (commentState === "multiline") {
10632
- if (s[i - 1] === "*" && s[i] === "/") {
10633
+ if (s[i2 - 1] === "*" && s[i2] === "/") {
10633
10634
  commentState = "none";
10634
10635
  }
10635
10636
  } else if (commentState === "none") {
10636
- if (s[i] === "/" && s[i + 1] === "/") {
10637
+ if (s[i2] === "/" && s[i2 + 1] === "/") {
10637
10638
  commentState = "singleline";
10638
- } else if (s[i] === "/" && s[i + 1] === "*") {
10639
+ } else if (s[i2] === "/" && s[i2 + 1] === "*") {
10639
10640
  commentState = "multiline";
10640
- i += 2;
10641
+ i2 += 2;
10641
10642
  } else {
10642
- result.push(s[i]);
10643
+ result.push(s[i2]);
10643
10644
  }
10644
10645
  }
10645
10646
  }
@@ -10649,17 +10650,17 @@ function splitByComma(s) {
10649
10650
  const result = [];
10650
10651
  const stack = [];
10651
10652
  let start = 0;
10652
- for (let i = 0; i < s.length; i++) {
10653
- if (s[i] === "{" || s[i] === "[") {
10654
- stack.push(s[i] === "{" ? "}" : "]");
10655
- } else if (s[i] === stack.at(-1)) {
10653
+ for (let i2 = 0; i2 < s.length; i2++) {
10654
+ if (s[i2] === "{" || s[i2] === "[") {
10655
+ stack.push(s[i2] === "{" ? "}" : "]");
10656
+ } else if (s[i2] === stack.at(-1)) {
10656
10657
  stack.pop();
10657
- } else if (!stack.length && s[i] === ",") {
10658
- const token = s.substring(start, i).trim();
10658
+ } else if (!stack.length && s[i2] === ",") {
10659
+ const token = s.substring(start, i2).trim();
10659
10660
  if (token) {
10660
10661
  result.push(token);
10661
10662
  }
10662
- start = i + 1;
10663
+ start = i2 + 1;
10663
10664
  }
10664
10665
  }
10665
10666
  const lastToken = s.substring(start).trim();
@@ -10932,8 +10933,8 @@ function createSuiteCollector(name, factory2 = () => {
10932
10933
  await runWithSuite(collector, () => factory2(test5));
10933
10934
  }
10934
10935
  const allChildren = [];
10935
- for (const i of tasks) {
10936
- allChildren.push(i.type === "collector" ? await i.collect(file) : i);
10936
+ for (const i2 of tasks) {
10937
+ allChildren.push(i2.type === "collector" ? await i2.collect(file) : i2);
10937
10938
  }
10938
10939
  suite2.tasks = allChildren;
10939
10940
  return suite2;
@@ -10990,19 +10991,19 @@ function createSuite() {
10990
10991
  const arrayOnlyCases = cases.every(Array.isArray);
10991
10992
  const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
10992
10993
  const fnFirst = typeof optionsOrFn === "function";
10993
- cases.forEach((i, idx) => {
10994
- const items = Array.isArray(i) ? i : [i];
10994
+ cases.forEach((i2, idx) => {
10995
+ const items = Array.isArray(i2) ? i2 : [i2];
10995
10996
  if (fnFirst) {
10996
10997
  if (arrayOnlyCases) {
10997
10998
  suite2(formatTitle(_name, items, idx), handler ? () => handler(...items) : void 0, options.timeout);
10998
10999
  } else {
10999
- suite2(formatTitle(_name, items, idx), handler ? () => handler(i) : void 0, options.timeout);
11000
+ suite2(formatTitle(_name, items, idx), handler ? () => handler(i2) : void 0, options.timeout);
11000
11001
  }
11001
11002
  } else {
11002
11003
  if (arrayOnlyCases) {
11003
11004
  suite2(formatTitle(_name, items, idx), options, handler ? () => handler(...items) : void 0);
11004
11005
  } else {
11005
- suite2(formatTitle(_name, items, idx), options, handler ? () => handler(i) : void 0);
11006
+ suite2(formatTitle(_name, items, idx), options, handler ? () => handler(i2) : void 0);
11006
11007
  }
11007
11008
  }
11008
11009
  });
@@ -11045,19 +11046,19 @@ function createTaskCollector(fn2, context) {
11045
11046
  const arrayOnlyCases = cases.every(Array.isArray);
11046
11047
  const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
11047
11048
  const fnFirst = typeof optionsOrFn === "function";
11048
- cases.forEach((i, idx) => {
11049
- const items = Array.isArray(i) ? i : [i];
11049
+ cases.forEach((i2, idx) => {
11050
+ const items = Array.isArray(i2) ? i2 : [i2];
11050
11051
  if (fnFirst) {
11051
11052
  if (arrayOnlyCases) {
11052
11053
  test5(formatTitle(_name, items, idx), handler ? () => handler(...items) : void 0, options.timeout);
11053
11054
  } else {
11054
- test5(formatTitle(_name, items, idx), handler ? () => handler(i) : void 0, options.timeout);
11055
+ test5(formatTitle(_name, items, idx), handler ? () => handler(i2) : void 0, options.timeout);
11055
11056
  }
11056
11057
  } else {
11057
11058
  if (arrayOnlyCases) {
11058
11059
  test5(formatTitle(_name, items, idx), options, handler ? () => handler(...items) : void 0);
11059
11060
  } else {
11060
- test5(formatTitle(_name, items, idx), options, handler ? () => handler(i) : void 0);
11061
+ test5(formatTitle(_name, items, idx), options, handler ? () => handler(i2) : void 0);
11061
11062
  }
11062
11063
  }
11063
11064
  });
@@ -11135,12 +11136,12 @@ function formatTitle(template, items, idx) {
11135
11136
  const count = template.split("%").length - 1;
11136
11137
  if (template.includes("%f")) {
11137
11138
  const placeholders = template.match(/%f/g) || [];
11138
- placeholders.forEach((_, i2) => {
11139
- if (isNegativeNaN(items[i2]) || Object.is(items[i2], -0)) {
11139
+ placeholders.forEach((_, i3) => {
11140
+ if (isNegativeNaN(items[i3]) || Object.is(items[i3], -0)) {
11140
11141
  let occurrence = 0;
11141
11142
  template = template.replace(/%f/g, (match) => {
11142
11143
  occurrence++;
11143
- return occurrence === i2 + 1 ? "-%f" : match;
11144
+ return occurrence === i3 + 1 ? "-%f" : match;
11144
11145
  });
11145
11146
  }
11146
11147
  });
@@ -11159,14 +11160,14 @@ function formatTitle(template, items, idx) {
11159
11160
  });
11160
11161
  }
11161
11162
  let output = "";
11162
- let i = 0;
11163
+ let i2 = 0;
11163
11164
  handleRegexMatch(
11164
11165
  template,
11165
11166
  formatRegExp,
11166
11167
  // format "%"
11167
11168
  (match) => {
11168
- if (i < count) {
11169
- output += format2(match[0], items[i++]);
11169
+ if (i2 < count) {
11170
+ output += format2(match[0], items[i2++]);
11170
11171
  } else {
11171
11172
  output += match[0];
11172
11173
  }
@@ -11192,12 +11193,12 @@ function handleRegexMatch(input, regex, onMatch, onNonMatch) {
11192
11193
  }
11193
11194
  }
11194
11195
  function formatTemplateString(cases, args) {
11195
- const header = cases.join("").trim().replace(/ /g, "").split("\n").map((i) => i.split("|"))[0];
11196
+ const header = cases.join("").trim().replace(/ /g, "").split("\n").map((i2) => i2.split("|"))[0];
11196
11197
  const res = [];
11197
- for (let i = 0; i < Math.floor(args.length / header.length); i++) {
11198
+ for (let i2 = 0; i2 < Math.floor(args.length / header.length); i2++) {
11198
11199
  const oneCase = {};
11199
11200
  for (let j = 0; j < header.length; j++) {
11200
- oneCase[header[j]] = args[i * header.length + j];
11201
+ oneCase[header[j]] = args[i2 * header.length + j];
11201
11202
  }
11202
11203
  res.push(oneCase);
11203
11204
  }
@@ -11431,41 +11432,41 @@ async function recordArtifact(task, artifact) {
11431
11432
  return resolvedArtifact;
11432
11433
  }
11433
11434
  var table = [];
11434
- for (let i = 65; i < 91; i++) {
11435
- table.push(String.fromCharCode(i));
11435
+ for (let i2 = 65; i2 < 91; i2++) {
11436
+ table.push(String.fromCharCode(i2));
11436
11437
  }
11437
- for (let i = 97; i < 123; i++) {
11438
- table.push(String.fromCharCode(i));
11438
+ for (let i2 = 97; i2 < 123; i2++) {
11439
+ table.push(String.fromCharCode(i2));
11439
11440
  }
11440
- for (let i = 0; i < 10; i++) {
11441
- table.push(i.toString(10));
11441
+ for (let i2 = 0; i2 < 10; i2++) {
11442
+ table.push(i2.toString(10));
11442
11443
  }
11443
11444
  table.push("+", "/");
11444
11445
  function encodeUint8Array(bytes) {
11445
11446
  let base64 = "";
11446
11447
  const len = bytes.byteLength;
11447
- for (let i = 0; i < len; i += 3) {
11448
- if (len === i + 1) {
11449
- const a = (bytes[i] & 252) >> 2;
11450
- const b = (bytes[i] & 3) << 4;
11448
+ for (let i2 = 0; i2 < len; i2 += 3) {
11449
+ if (len === i2 + 1) {
11450
+ const a = (bytes[i2] & 252) >> 2;
11451
+ const b2 = (bytes[i2] & 3) << 4;
11451
11452
  base64 += table[a];
11452
- base64 += table[b];
11453
+ base64 += table[b2];
11453
11454
  base64 += "==";
11454
- } else if (len === i + 2) {
11455
- const a = (bytes[i] & 252) >> 2;
11456
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
11457
- const c = (bytes[i + 1] & 15) << 2;
11455
+ } else if (len === i2 + 2) {
11456
+ const a = (bytes[i2] & 252) >> 2;
11457
+ const b2 = (bytes[i2] & 3) << 4 | (bytes[i2 + 1] & 240) >> 4;
11458
+ const c = (bytes[i2 + 1] & 15) << 2;
11458
11459
  base64 += table[a];
11459
- base64 += table[b];
11460
+ base64 += table[b2];
11460
11461
  base64 += table[c];
11461
11462
  base64 += "=";
11462
11463
  } else {
11463
- const a = (bytes[i] & 252) >> 2;
11464
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
11465
- const c = (bytes[i + 1] & 15) << 2 | (bytes[i + 2] & 192) >> 6;
11466
- const d2 = bytes[i + 2] & 63;
11464
+ const a = (bytes[i2] & 252) >> 2;
11465
+ const b2 = (bytes[i2] & 3) << 4 | (bytes[i2 + 1] & 240) >> 4;
11466
+ const c = (bytes[i2 + 1] & 15) << 2 | (bytes[i2 + 2] & 192) >> 6;
11467
+ const d2 = bytes[i2 + 2] & 63;
11467
11468
  base64 += table[a];
11468
- base64 += table[b];
11469
+ base64 += table[b2];
11469
11470
  base64 += table[c];
11470
11471
  base64 += table[d2];
11471
11472
  }
@@ -11541,10 +11542,10 @@ var comma2 = ",".charCodeAt(0);
11541
11542
  var chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
11542
11543
  var intToChar2 = new Uint8Array(64);
11543
11544
  var charToInt2 = new Uint8Array(128);
11544
- for (let i = 0; i < chars2.length; i++) {
11545
- const c = chars2.charCodeAt(i);
11546
- intToChar2[i] = c;
11547
- charToInt2[c] = i;
11545
+ for (let i2 = 0; i2 < chars2.length; i2++) {
11546
+ const c = chars2.charCodeAt(i2);
11547
+ intToChar2[i2] = c;
11548
+ charToInt2[c] = i2;
11548
11549
  }
11549
11550
  function decodeInteger(reader, relative2) {
11550
11551
  let value = 0;
@@ -11629,8 +11630,8 @@ function decode(mappings) {
11629
11630
  function sort(line) {
11630
11631
  line.sort(sortComparator);
11631
11632
  }
11632
- function sortComparator(a, b) {
11633
- return a[0] - b[0];
11633
+ function sortComparator(a, b2) {
11634
+ return a[0] - b2[0];
11634
11635
  }
11635
11636
  var COLUMN = 0;
11636
11637
  var SOURCES_INDEX = 1;
@@ -11656,14 +11657,14 @@ function binarySearch(haystack, needle, low, high) {
11656
11657
  return low - 1;
11657
11658
  }
11658
11659
  function upperBound(haystack, needle, index2) {
11659
- for (let i = index2 + 1; i < haystack.length; index2 = i++) {
11660
- if (haystack[i][COLUMN] !== needle) break;
11660
+ for (let i2 = index2 + 1; i2 < haystack.length; index2 = i2++) {
11661
+ if (haystack[i2][COLUMN] !== needle) break;
11661
11662
  }
11662
11663
  return index2;
11663
11664
  }
11664
11665
  function lowerBound(haystack, needle, index2) {
11665
- for (let i = index2 - 1; i >= 0; index2 = i--) {
11666
- if (haystack[i][COLUMN] !== needle) break;
11666
+ for (let i2 = index2 - 1; i2 >= 0; index2 = i2--) {
11667
+ if (haystack[i2][COLUMN] !== needle) break;
11667
11668
  }
11668
11669
  return index2;
11669
11670
  }
@@ -11842,13 +11843,13 @@ function parseSingleFFOrSafariStack2(raw) {
11842
11843
  let atIndex = -1;
11843
11844
  let locationPart = "";
11844
11845
  let functionName2;
11845
- for (let i = 0; i < line.length; i++) {
11846
- if (line[i] === "@") {
11847
- const candidateLocation = line.slice(i + 1);
11846
+ for (let i2 = 0; i2 < line.length; i2++) {
11847
+ if (line[i2] === "@") {
11848
+ const candidateLocation = line.slice(i2 + 1);
11848
11849
  if (candidateLocation.includes(":") && candidateLocation.length >= 3) {
11849
- atIndex = i;
11850
+ atIndex = i2;
11850
11851
  locationPart = candidateLocation;
11851
- functionName2 = i > 0 ? line.slice(0, i) : void 0;
11852
+ functionName2 = i2 > 0 ? line.slice(0, i2) : void 0;
11852
11853
  break;
11853
11854
  }
11854
11855
  }
@@ -11965,7 +11966,7 @@ function parseErrorStacktrace(e, options = {}) {
11965
11966
  }
11966
11967
  }
11967
11968
  if (options.frameFilter) {
11968
- stackFrames = stackFrames.filter((f2) => options.frameFilter(e, f2) !== false);
11969
+ stackFrames = stackFrames.filter((f) => options.frameFilter(e, f) !== false);
11969
11970
  }
11970
11971
  e.stacks = stackFrames;
11971
11972
  return stackFrames;
@@ -12011,8 +12012,8 @@ function positionToOffset(source, lineNumber, columnNumber) {
12011
12012
  if (lineNumber > lines.length) {
12012
12013
  return source.length;
12013
12014
  }
12014
- for (let i = 0; i < lineNumber - 1; i++) {
12015
- start += lines[i].length + nl;
12015
+ for (let i2 = 0; i2 < lineNumber - 1; i2++) {
12016
+ start += lines[i2].length + nl;
12016
12017
  }
12017
12018
  return start + columnNumber;
12018
12019
  }
@@ -12035,9 +12036,9 @@ function offsetToLineNumber(source, offset) {
12035
12036
  }
12036
12037
  async function saveInlineSnapshots(environment, snapshots) {
12037
12038
  const MagicString = (await import("../magic-string.es-SDTMJBWP.js")).default;
12038
- const files = new Set(snapshots.map((i) => i.file));
12039
+ const files = new Set(snapshots.map((i2) => i2.file));
12039
12040
  await Promise.all(Array.from(files).map(async (file) => {
12040
- const snaps = snapshots.filter((i) => i.file === file);
12041
+ const snaps = snapshots.filter((i2) => i2.file === file);
12041
12042
  const code = await environment.readSnapshotFile(file);
12042
12043
  const s = new MagicString(code);
12043
12044
  for (const snap of snaps) {
@@ -12098,7 +12099,7 @@ function prepareSnapString(snap, source, index2) {
12098
12099
  return `${quote}${lines.join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}${quote}`;
12099
12100
  }
12100
12101
  return `${quote}
12101
- ${lines.map((i) => i ? indentNext + i : "").join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}
12102
+ ${lines.map((i2) => i2 ? indentNext + i2 : "").join("\n").replace(/`/g, "\\`").replace(/\$\{/g, "\\${")}
12102
12103
  ${indent}${quote}`;
12103
12104
  }
12104
12105
  var toMatchInlineName = "toMatchInlineSnapshot";
@@ -12162,12 +12163,12 @@ function stripSnapshotIndentation(inlineSnapshot) {
12162
12163
  if (lines[0].trim() !== "" || ((_lines$at = lines.at(-1)) === null || _lines$at === void 0 ? void 0 : _lines$at.trim()) !== "") {
12163
12164
  return inlineSnapshot;
12164
12165
  }
12165
- for (let i = 1; i < lines.length - 1; i++) {
12166
- if (lines[i] !== "") {
12167
- if (lines[i].indexOf(indentation) !== 0) {
12166
+ for (let i2 = 1; i2 < lines.length - 1; i2++) {
12167
+ if (lines[i2] !== "") {
12168
+ if (lines[i2].indexOf(indentation) !== 0) {
12168
12169
  return inlineSnapshot;
12169
12170
  }
12170
- lines[i] = lines[i].substring(indentation.length);
12171
+ lines[i2] = lines[i2].substring(indentation.length);
12171
12172
  }
12172
12173
  }
12173
12174
  lines[lines.length - 1] = "";
@@ -12189,23 +12190,23 @@ var hasRequiredNaturalCompare;
12189
12190
  function requireNaturalCompare() {
12190
12191
  if (hasRequiredNaturalCompare) return naturalCompare$1.exports;
12191
12192
  hasRequiredNaturalCompare = 1;
12192
- var naturalCompare2 = function(a, b) {
12193
- var i, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
12193
+ var naturalCompare2 = function(a, b2) {
12194
+ var i2, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
12194
12195
  function getCode(str, pos, code) {
12195
12196
  if (code) {
12196
- for (i = pos; code = getCode(str, i), code < 76 && code > 65; ) ++i;
12197
- return +str.slice(pos - 1, i);
12197
+ for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; ) ++i2;
12198
+ return +str.slice(pos - 1, i2);
12198
12199
  }
12199
12200
  code = alphabet && alphabet.indexOf(str.charAt(pos));
12200
12201
  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;
12201
12202
  }
12202
- if ((a += "") != (b += "")) for (; codeB; ) {
12203
+ if ((a += "") != (b2 += "")) for (; codeB; ) {
12203
12204
  codeA = getCode(a, posA++);
12204
- codeB = getCode(b, posB++);
12205
+ codeB = getCode(b2, posB++);
12205
12206
  if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
12206
12207
  codeA = getCode(a, posA, posA);
12207
- codeB = getCode(b, posB, posA = i);
12208
- posB = i;
12208
+ codeB = getCode(b2, posB, posA = i2);
12209
+ posB = i2;
12209
12210
  }
12210
12211
  if (codeA != codeB) return codeA < codeB ? -1 : 1;
12211
12212
  }
@@ -12401,8 +12402,8 @@ var CounterMap = class extends DefaultMap {
12401
12402
  return total;
12402
12403
  }
12403
12404
  };
12404
- function isSameStackPosition(x, y) {
12405
- return x.file === y.file && x.column === y.column && x.line === y.line;
12405
+ function isSameStackPosition(x, y2) {
12406
+ return x.file === y2.file && x.column === y2.column && x.line === y2.line;
12406
12407
  }
12407
12408
  var SnapshotState = class _SnapshotState {
12408
12409
  _counters = new CounterMap();
@@ -12505,11 +12506,11 @@ var SnapshotState = class _SnapshotState {
12505
12506
  this.unmatched.delete(testId);
12506
12507
  }
12507
12508
  _inferInlineSnapshotStack(stacks) {
12508
- const promiseIndex = stacks.findIndex((i) => i.method.match(/__VITEST_(RESOLVES|REJECTS)__/));
12509
+ const promiseIndex = stacks.findIndex((i2) => i2.method.match(/__VITEST_(RESOLVES|REJECTS)__/));
12509
12510
  if (promiseIndex !== -1) {
12510
12511
  return stacks[promiseIndex + 3];
12511
12512
  }
12512
- const stackIndex = stacks.findIndex((i) => i.method.includes("__INLINE_SNAPSHOT__"));
12513
+ const stackIndex = stacks.findIndex((i2) => i2.method.includes("__INLINE_SNAPSHOT__"));
12513
12514
  return stackIndex !== -1 ? stacks[stackIndex + 2] : null;
12514
12515
  }
12515
12516
  _addSnapshot(key, receivedSerialized, options) {
@@ -12818,7 +12819,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
12818
12819
  var RealDate = Date;
12819
12820
  var now2 = null;
12820
12821
  var MockDate = class _MockDate extends RealDate {
12821
- constructor(y, m, d2, h2, M, s, ms) {
12822
+ constructor(y2, m, d2, h, M, s, ms) {
12822
12823
  super();
12823
12824
  let date;
12824
12825
  switch (arguments.length) {
@@ -12827,15 +12828,15 @@ var MockDate = class _MockDate extends RealDate {
12827
12828
  else date = new RealDate();
12828
12829
  break;
12829
12830
  case 1:
12830
- date = new RealDate(y);
12831
+ date = new RealDate(y2);
12831
12832
  break;
12832
12833
  default:
12833
12834
  d2 = typeof d2 === "undefined" ? 1 : d2;
12834
- h2 = h2 || 0;
12835
+ h = h || 0;
12835
12836
  M = M || 0;
12836
12837
  s = s || 0;
12837
12838
  ms = ms || 0;
12838
- date = new RealDate(y, m, d2, h2, M, s, ms);
12839
+ date = new RealDate(y2, m, d2, h, M, s, ms);
12839
12840
  break;
12840
12841
  }
12841
12842
  Object.setPrototypeOf(date, _MockDate.prototype);
@@ -13394,9 +13395,9 @@ function requireOrderByFirstCall() {
13394
13395
  hasRequiredOrderByFirstCall = 1;
13395
13396
  var sort2 = requireArray().sort;
13396
13397
  var slice = requireArray().slice;
13397
- function comparator(a, b) {
13398
+ function comparator(a, b2) {
13398
13399
  var aCall = a.getCall(0);
13399
- var bCall = b.getCall(0);
13400
+ var bCall = b2.getCall(0);
13400
13401
  var aId = aCall && aCall.callId || -1;
13401
13402
  var bId = bCall && bCall.callId || -1;
13402
13403
  return aId < bId ? -1 : 1;
@@ -13716,8 +13717,8 @@ function requireFakeTimersSrc() {
13716
13717
  return isFinite(num);
13717
13718
  }
13718
13719
  let isNearInfiniteLimit = false;
13719
- function checkIsNearInfiniteLimit(clock, i) {
13720
- if (clock.loopLimit && i === clock.loopLimit - 1) {
13720
+ function checkIsNearInfiniteLimit(clock, i2) {
13721
+ if (clock.loopLimit && i2 === clock.loopLimit - 1) {
13721
13722
  isNearInfiniteLimit = true;
13722
13723
  }
13723
13724
  }
@@ -13730,7 +13731,7 @@ function requireFakeTimersSrc() {
13730
13731
  }
13731
13732
  const strings = str.split(":");
13732
13733
  const l = strings.length;
13733
- let i = l;
13734
+ let i2 = l;
13734
13735
  let ms = 0;
13735
13736
  let parsed;
13736
13737
  if (l > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) {
@@ -13738,12 +13739,12 @@ function requireFakeTimersSrc() {
13738
13739
  "tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits"
13739
13740
  );
13740
13741
  }
13741
- while (i--) {
13742
- parsed = parseInt(strings[i], 10);
13742
+ while (i2--) {
13743
+ parsed = parseInt(strings[i2], 10);
13743
13744
  if (parsed >= 60) {
13744
13745
  throw new Error(`Invalid time ${str}`);
13745
13746
  }
13746
- ms += parsed * Math.pow(60, l - i - 1);
13747
+ ms += parsed * Math.pow(60, l - i2 - 1);
13747
13748
  }
13748
13749
  return ms * 1e3;
13749
13750
  }
@@ -13785,15 +13786,15 @@ function requireFakeTimersSrc() {
13785
13786
  );
13786
13787
  }
13787
13788
  let matchedLineIndex = -1;
13788
- job.error.stack.split("\n").some(function(line, i) {
13789
+ job.error.stack.split("\n").some(function(line, i2) {
13789
13790
  const matchedComputedTarget = line.match(computedTargetPattern);
13790
13791
  if (matchedComputedTarget) {
13791
- matchedLineIndex = i;
13792
+ matchedLineIndex = i2;
13792
13793
  return true;
13793
13794
  }
13794
13795
  const matchedClockMethod = line.match(clockMethodPattern);
13795
13796
  if (matchedClockMethod) {
13796
- matchedLineIndex = i;
13797
+ matchedLineIndex = i2;
13797
13798
  return false;
13798
13799
  }
13799
13800
  return matchedLineIndex >= 0;
@@ -13900,11 +13901,11 @@ ${job.error.stack.split("\n").slice(matchedLineIndex + 1).join("\n")}`;
13900
13901
  if (!clock.jobs) {
13901
13902
  return;
13902
13903
  }
13903
- for (let i = 0; i < clock.jobs.length; i++) {
13904
- const job = clock.jobs[i];
13904
+ for (let i2 = 0; i2 < clock.jobs.length; i2++) {
13905
+ const job = clock.jobs[i2];
13905
13906
  job.func.apply(null, job.args);
13906
- checkIsNearInfiniteLimit(clock, i);
13907
- if (clock.loopLimit && i > clock.loopLimit) {
13907
+ checkIsNearInfiniteLimit(clock, i2);
13908
+ if (clock.loopLimit && i2 > clock.loopLimit) {
13908
13909
  throw getInfiniteLoopError(clock, job);
13909
13910
  }
13910
13911
  }
@@ -13982,29 +13983,29 @@ ${job.error.stack.split("\n").slice(matchedLineIndex + 1).join("\n")}`;
13982
13983
  }
13983
13984
  return timer.id;
13984
13985
  }
13985
- function compareTimers(a, b) {
13986
- if (a.callAt < b.callAt) {
13986
+ function compareTimers(a, b2) {
13987
+ if (a.callAt < b2.callAt) {
13987
13988
  return -1;
13988
13989
  }
13989
- if (a.callAt > b.callAt) {
13990
+ if (a.callAt > b2.callAt) {
13990
13991
  return 1;
13991
13992
  }
13992
- if (a.immediate && !b.immediate) {
13993
+ if (a.immediate && !b2.immediate) {
13993
13994
  return -1;
13994
13995
  }
13995
- if (!a.immediate && b.immediate) {
13996
+ if (!a.immediate && b2.immediate) {
13996
13997
  return 1;
13997
13998
  }
13998
- if (a.createdAt < b.createdAt) {
13999
+ if (a.createdAt < b2.createdAt) {
13999
14000
  return -1;
14000
14001
  }
14001
- if (a.createdAt > b.createdAt) {
14002
+ if (a.createdAt > b2.createdAt) {
14002
14003
  return 1;
14003
14004
  }
14004
- if (a.id < b.id) {
14005
+ if (a.id < b2.id) {
14005
14006
  return -1;
14006
14007
  }
14007
- if (a.id > b.id) {
14008
+ if (a.id > b2.id) {
14008
14009
  return 1;
14009
14010
  }
14010
14011
  }
@@ -14115,11 +14116,11 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14115
14116
  }
14116
14117
  }
14117
14118
  function uninstall(clock, config2) {
14118
- let method, i, l;
14119
+ let method, i2, l;
14119
14120
  const installedHrTime = "_hrtime";
14120
14121
  const installedNextTick = "_nextTick";
14121
- for (i = 0, l = clock.methods.length; i < l; i++) {
14122
- method = clock.methods[i];
14122
+ for (i2 = 0, l = clock.methods.length; i2 < l; i2++) {
14123
+ method = clock.methods[i2];
14123
14124
  if (method === "hrtime" && _global.process) {
14124
14125
  _global.process.hrtime = clock[installedHrTime];
14125
14126
  } else if (method === "nextTick" && _global.process) {
@@ -14574,9 +14575,9 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14574
14575
  };
14575
14576
  }
14576
14577
  clock.runAll = function runAll() {
14577
- let numTimers, i;
14578
+ let numTimers, i2;
14578
14579
  runJobs(clock);
14579
- for (i = 0; i < clock.loopLimit; i++) {
14580
+ for (i2 = 0; i2 < clock.loopLimit; i2++) {
14580
14581
  if (!clock.timers) {
14581
14582
  resetIsNearInfiniteLimit();
14582
14583
  return clock.now;
@@ -14587,7 +14588,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14587
14588
  return clock.now;
14588
14589
  }
14589
14590
  clock.next();
14590
- checkIsNearInfiniteLimit(clock, i);
14591
+ checkIsNearInfiniteLimit(clock, i2);
14591
14592
  }
14592
14593
  const excessJob = firstTimer(clock);
14593
14594
  throw getInfiniteLoopError(clock, excessJob);
@@ -14598,13 +14599,13 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14598
14599
  if (typeof _global.Promise !== "undefined") {
14599
14600
  clock.runAllAsync = function runAllAsync() {
14600
14601
  return new _global.Promise(function(resolve3, reject) {
14601
- let i = 0;
14602
+ let i2 = 0;
14602
14603
  function doRun() {
14603
14604
  originalSetTimeout(function() {
14604
14605
  try {
14605
14606
  runJobs(clock);
14606
14607
  let numTimers;
14607
- if (i < clock.loopLimit) {
14608
+ if (i2 < clock.loopLimit) {
14608
14609
  if (!clock.timers) {
14609
14610
  resetIsNearInfiniteLimit();
14610
14611
  resolve3(clock.now);
@@ -14619,9 +14620,9 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14619
14620
  return;
14620
14621
  }
14621
14622
  clock.next();
14622
- i++;
14623
+ i2++;
14623
14624
  doRun();
14624
- checkIsNearInfiniteLimit(clock, i);
14625
+ checkIsNearInfiniteLimit(clock, i2);
14625
14626
  return;
14626
14627
  }
14627
14628
  const excessJob = firstTimer(clock);
@@ -14732,7 +14733,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14732
14733
  `non-existent timers and/or objects cannot be faked: '${timer}'`
14733
14734
  );
14734
14735
  }
14735
- let i, l;
14736
+ let i2, l;
14736
14737
  const clock = createClock(config2.now, config2.loopLimit);
14737
14738
  clock.shouldClearNativeTimers = config2.shouldClearNativeTimers;
14738
14739
  clock.uninstall = function() {
@@ -14783,8 +14784,8 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
14783
14784
  if (_global === globalObject && timersPromisesModule) {
14784
14785
  clock.timersPromisesModuleMethods = [];
14785
14786
  }
14786
- for (i = 0, l = clock.methods.length; i < l; i++) {
14787
- const nameOfMethodToReplace = clock.methods[i];
14787
+ for (i2 = 0, l = clock.methods.length; i2 < l; i2++) {
14788
+ const nameOfMethodToReplace = clock.methods[i2];
14788
14789
  if (!isPresent[nameOfMethodToReplace]) {
14789
14790
  handleMissingTimer(nameOfMethodToReplace);
14790
14791
  continue;
@@ -15054,14 +15055,14 @@ var FakeTimers = class {
15054
15055
  if (this._checkFakeTimers()) await this._clock.runToLastAsync();
15055
15056
  }
15056
15057
  advanceTimersToNextTimer(steps = 1) {
15057
- if (this._checkFakeTimers()) for (let i = steps; i > 0; i--) {
15058
+ if (this._checkFakeTimers()) for (let i2 = steps; i2 > 0; i2--) {
15058
15059
  this._clock.next();
15059
15060
  this._clock.tick(0);
15060
15061
  if (this._clock.countTimers() === 0) break;
15061
15062
  }
15062
15063
  }
15063
15064
  async advanceTimersToNextTimerAsync(steps = 1) {
15064
- if (this._checkFakeTimers()) for (let i = steps; i > 0; i--) {
15065
+ if (this._checkFakeTimers()) for (let i2 = steps; i2 > 0; i2--) {
15065
15066
  await this._clock.nextAsync();
15066
15067
  this._clock.tick(0);
15067
15068
  if (this._clock.countTimers() === 0) break;
@@ -15461,27 +15462,41 @@ var AsyncFunction = async function() {
15461
15462
  var chars3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
15462
15463
  var intToChar3 = new Uint8Array(64);
15463
15464
  var charToInt3 = new Uint8Array(128);
15464
- for (let i = 0; i < chars3.length; i++) {
15465
- const c = chars3.charCodeAt(i);
15466
- intToChar3[i] = c, charToInt3[c] = i;
15465
+ for (let i2 = 0; i2 < chars3.length; i2++) {
15466
+ let c = chars3.charCodeAt(i2);
15467
+ intToChar3[i2] = c, charToInt3[c] = i2;
15467
15468
  }
15468
- var MODULE_RUNNER_SOURCEMAPPING_REGEXP = new RegExp(
15469
- `//# ${SOURCEMAPPING_URL}=data:application/json;base64,(.+)`
15470
- );
15469
+ var MODULE_RUNNER_SOURCEMAPPING_REGEXP = /* @__PURE__ */ RegExp(`//# ${SOURCEMAPPING_URL}=data:application/json;base64,(.+)`);
15471
15470
  var retrieveFileHandlers = /* @__PURE__ */ new Set();
15472
15471
  var retrieveSourceMapHandlers = /* @__PURE__ */ new Set();
15473
15472
  var createExecHandlers = (handlers) => (...args) => {
15474
- for (const handler of handlers) {
15475
- const result = handler(...args);
15473
+ for (let handler of handlers) {
15474
+ let result = handler(...args);
15476
15475
  if (result) return result;
15477
15476
  }
15478
15477
  return null;
15479
15478
  };
15480
15479
  var retrieveFileFromHandlers = createExecHandlers(retrieveFileHandlers);
15481
- var retrieveSourceMapFromHandlers = createExecHandlers(
15482
- retrieveSourceMapHandlers
15483
- );
15480
+ var retrieveSourceMapFromHandlers = createExecHandlers(retrieveSourceMapHandlers);
15484
15481
  var originalPrepare = Error.prepareStackTrace;
15482
+ var customizationHookNamespace = "vite-module-runner:import-meta-resolve/v1/";
15483
+ var customizationHooksModule = `
15484
+
15485
+ export async function resolve(specifier, context, nextResolve) {
15486
+ if (specifier.startsWith(${JSON.stringify(customizationHookNamespace)})) {
15487
+ const data = specifier.slice(${JSON.stringify(customizationHookNamespace)}.length)
15488
+ const [parsedSpecifier, parsedImporter] = JSON.parse(data)
15489
+ specifier = parsedSpecifier
15490
+ context.parentURL = parsedImporter
15491
+ }
15492
+ return nextResolve(specifier, context)
15493
+ }
15494
+
15495
+ `;
15496
+ `${customizationHookNamespace}`;
15497
+ var envProxy = new Proxy({}, { get(_, p) {
15498
+ throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
15499
+ } });
15485
15500
  var import_expect_type = (0, import_chunk_2ESYSVXG.__toESM)(require_dist(), 1);
15486
15501
  var vitestContext = {
15487
15502
  new: function(ctx = {}) {
@@ -15522,7 +15537,7 @@ ${[...generateDirectoryTree(children, indent)].join("\n")}
15522
15537
  c.fs.symlink(import_node_path.default.join(originalCwd, "..", "config"), import_node_path.default.join(c.fs.cwd(), "node_modules", "@prisma", "config"));
15523
15538
  };
15524
15539
  c.cli = (...input) => {
15525
- return (0, import_chunk_3UEKS5W6.execaNode)(import_node_path.default.join(originalCwd, "../cli/build/index.js"), input, {
15540
+ return (0, import_chunk_IL63DMPY.execaNode)(import_node_path.default.join(originalCwd, "../cli/build/index.js"), input, {
15526
15541
  cwd: c.fs.cwd(),
15527
15542
  stdio: "pipe",
15528
15543
  all: true
@@ -15530,7 +15545,7 @@ ${[...generateDirectoryTree(children, indent)].join("\n")}
15530
15545
  };
15531
15546
  c.printDir = (dir, extensions) => {
15532
15547
  const content = c.fs.list(dir) ?? [];
15533
- content.sort((a, b) => a.localeCompare(b));
15548
+ content.sort((a, b2) => a.localeCompare(b2));
15534
15549
  return content.filter((name) => extensions.includes(import_node_path.default.extname(name))).map((name) => `${name}:
15535
15550
 
15536
15551
  ${c.fs.read(import_node_path.default.join(dir, name))}`).join("\n\n");