storybook 10.2.0-alpha.2 → 10.2.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/_browser-chunks/{chunk-MOYJJEXA.js → chunk-Q5RYDXT3.js} +3 -4
  2. package/dist/_node-chunks/{builder-manager-ZK4QXZNX.js → builder-manager-U6SN6ZED.js} +12 -12
  3. package/dist/_node-chunks/{camelcase-QWQG7I72.js → camelcase-GLXVGCEV.js} +7 -7
  4. package/dist/_node-chunks/{chunk-HMFROKHU.js → chunk-2IFACTU4.js} +7 -7
  5. package/dist/_node-chunks/{chunk-TOXVUAH2.js → chunk-4VZME5CV.js} +6 -6
  6. package/dist/_node-chunks/{chunk-OV2CP4VV.js → chunk-5SCVRD6U.js} +6 -6
  7. package/dist/_node-chunks/{chunk-WUKWNPSQ.js → chunk-5ZGZ22PV.js} +9 -9
  8. package/dist/_node-chunks/{chunk-Q5ZQH2OQ.js → chunk-6RXAFKLM.js} +7 -7
  9. package/dist/_node-chunks/chunk-6WHPDWFA.js +61 -0
  10. package/dist/_node-chunks/chunk-B6AJKALV.js +20 -0
  11. package/dist/_node-chunks/{chunk-EXZXVBZO.js → chunk-C2G5ML5F.js} +7 -7
  12. package/dist/_node-chunks/chunk-CFCZ5PKC.js +18 -0
  13. package/dist/_node-chunks/{chunk-NKOHF7TQ.js → chunk-DO56XDMZ.js} +10 -10
  14. package/dist/_node-chunks/{chunk-URBB5EGY.js → chunk-E6CKDKNL.js} +7 -7
  15. package/dist/_node-chunks/{chunk-QFSK4B7R.js → chunk-H4BZRGVO.js} +8 -8
  16. package/dist/_node-chunks/{chunk-UWJ4BOOL.js → chunk-HGYHQF7Z.js} +9 -9
  17. package/dist/_node-chunks/{chunk-GKEAARBQ.js → chunk-HKTRFCJD.js} +6 -6
  18. package/dist/_node-chunks/{chunk-6OZRMRVO.js → chunk-HYH2IT7K.js} +7 -7
  19. package/dist/_node-chunks/{chunk-2AFVBCGF.js → chunk-IKSK6CEY.js} +6 -6
  20. package/dist/_node-chunks/{chunk-FZFZ5TOM.js → chunk-KP6H4S3L.js} +6 -6
  21. package/dist/_node-chunks/{chunk-I5TOD3AY.js → chunk-LHBDNMEP.js} +12 -12
  22. package/dist/_node-chunks/{chunk-WOS3OQVT.js → chunk-MUWHX7GN.js} +6 -6
  23. package/dist/_node-chunks/{chunk-CW7HJRCY.js → chunk-N3O3HJMU.js} +7 -7
  24. package/dist/_node-chunks/{chunk-KVNLJSAB.js → chunk-NKUDIVPF.js} +7 -7
  25. package/dist/_node-chunks/chunk-O5OIO47U.js +23 -0
  26. package/dist/_node-chunks/{chunk-XFU23B4C.js → chunk-Q27GKV7Y.js} +7 -7
  27. package/dist/_node-chunks/{chunk-DWVHBQGR.js → chunk-Q47IIVLL.js} +8 -8
  28. package/dist/_node-chunks/{chunk-5VZMCPTH.js → chunk-SM7QXYN4.js} +43 -27
  29. package/dist/_node-chunks/{chunk-VJPI73BB.js → chunk-VKFEIIOF.js} +39 -24
  30. package/dist/_node-chunks/{chunk-R2J3OB3H.js → chunk-XYVZIRZC.js} +6 -6
  31. package/dist/_node-chunks/{chunk-RGQC4G3L.js → chunk-YPCGEC3N.js} +13 -13
  32. package/dist/_node-chunks/{dist-UBFMIJZC.js → dist-GGDI7EVD.js} +9 -9
  33. package/dist/_node-chunks/{globby-VD3CGPVI.js → globby-DY2UCDKN.js} +9 -9
  34. package/dist/_node-chunks/{lib-MMJB47J3.js → lib-PFKECSVA.js} +7 -7
  35. package/dist/_node-chunks/{mdx-N42X6CFJ-3J2G7NZZ.js → mdx-N42X6CFJ-OPAAI5WZ.js} +8 -8
  36. package/dist/_node-chunks/{p-limit-SOBWTEVH.js → p-limit-PMYE6ZFC.js} +7 -7
  37. package/dist/babel/index.js +10 -10
  38. package/dist/bin/core.js +24 -18
  39. package/dist/bin/dispatcher.js +11 -11
  40. package/dist/bin/loader.js +9 -9
  41. package/dist/cli/index.js +18 -18
  42. package/dist/common/index.d.ts +25 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/core-server/index.js +35 -35
  45. package/dist/core-server/presets/common-override-preset.js +9 -9
  46. package/dist/core-server/presets/common-preset.js +25 -25
  47. package/dist/csf-tools/index.js +9 -9
  48. package/dist/instrumenter/index.js +1 -1
  49. package/dist/manager/globals-runtime.js +3102 -3017
  50. package/dist/manager-api/index.js +1 -1
  51. package/dist/mocking-utils/index.js +8 -8
  52. package/dist/node-logger/index.d.ts +1 -1
  53. package/dist/node-logger/index.js +9 -9
  54. package/dist/preview/runtime.js +706 -621
  55. package/dist/server-errors.js +11 -11
  56. package/dist/telemetry/index.js +23 -23
  57. package/dist/test/index.js +370 -286
  58. package/dist/types/index.d.ts +3 -1
  59. package/package.json +1 -1
  60. package/dist/_node-chunks/chunk-CLCLRZYL.js +0 -61
  61. package/dist/_node-chunks/chunk-DF3QP62W.js +0 -18
  62. package/dist/_node-chunks/chunk-EVBCPGQO.js +0 -20
  63. package/dist/_node-chunks/chunk-PCMFKXWQ.js +0 -23
@@ -10,9 +10,8 @@ import {
10
10
  noop,
11
11
  printDiffOrStringify,
12
12
  processError,
13
- s,
14
13
  stringify
15
- } from "../_browser-chunks/chunk-MOYJJEXA.js";
14
+ } from "../_browser-chunks/chunk-Q5RYDXT3.js";
16
15
  import {
17
16
  dedent
18
17
  } from "../_browser-chunks/chunk-3LY4VQVK.js";
@@ -28,7 +27,7 @@ var require_min_indent = __commonJS({
28
27
  "use strict";
29
28
  module2.exports = (string) => {
30
29
  let match = string.match(/^[ \t]*(?=\S)/gm);
31
- return match ? match.reduce((r, a) => Math.min(r, a.length), 1 / 0) : 0;
30
+ return match ? match.reduce((r, a2) => Math.min(r, a2.length), 1 / 0) : 0;
32
31
  };
33
32
  }
34
33
  });
@@ -165,37 +164,37 @@ var require_ariaPropsMap = __commonJS({
165
164
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
166
165
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
167
166
  }
168
- function _unsupportedIterableToArray(r, a) {
167
+ function _unsupportedIterableToArray(r, a2) {
169
168
  if (r) {
170
- if (typeof r == "string") return _arrayLikeToArray(r, a);
169
+ if (typeof r == "string") return _arrayLikeToArray(r, a2);
171
170
  var t = {}.toString.call(r).slice(8, -1);
172
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
171
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
173
172
  }
174
173
  }
175
- function _arrayLikeToArray(r, a) {
176
- (a == null || a > r.length) && (a = r.length);
177
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
174
+ function _arrayLikeToArray(r, a2) {
175
+ (a2 == null || a2 > r.length) && (a2 = r.length);
176
+ for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
178
177
  return n;
179
178
  }
180
179
  function _iterableToArrayLimit(r, l) {
181
180
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
182
181
  if (t != null) {
183
- var e, n, i, u2, a = [], f2 = !0, o = !1;
182
+ var e, n, i, u2, a2 = [], f3 = !0, o = !1;
184
183
  try {
185
184
  if (i = (t = t.call(r)).next, l === 0) {
186
185
  if (Object(t) !== t) return;
187
- f2 = !1;
188
- } else for (; !(f2 = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f2 = !0) ;
186
+ f3 = !1;
187
+ } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
189
188
  } catch (r2) {
190
189
  o = !0, n = r2;
191
190
  } finally {
192
191
  try {
193
- if (!f2 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
192
+ if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
194
193
  } finally {
195
194
  if (o) throw n;
196
195
  }
197
196
  }
198
- return a;
197
+ return a2;
199
198
  }
200
199
  }
201
200
  function _arrayWithHoles(r) {
@@ -370,37 +369,37 @@ var require_domMap = __commonJS({
370
369
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
371
370
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
372
371
  }
373
- function _unsupportedIterableToArray(r, a) {
372
+ function _unsupportedIterableToArray(r, a2) {
374
373
  if (r) {
375
- if (typeof r == "string") return _arrayLikeToArray(r, a);
374
+ if (typeof r == "string") return _arrayLikeToArray(r, a2);
376
375
  var t = {}.toString.call(r).slice(8, -1);
377
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
376
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
378
377
  }
379
378
  }
380
- function _arrayLikeToArray(r, a) {
381
- (a == null || a > r.length) && (a = r.length);
382
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
379
+ function _arrayLikeToArray(r, a2) {
380
+ (a2 == null || a2 > r.length) && (a2 = r.length);
381
+ for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
383
382
  return n;
384
383
  }
385
384
  function _iterableToArrayLimit(r, l) {
386
385
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
387
386
  if (t != null) {
388
- var e, n, i, u2, a = [], f2 = !0, o = !1;
387
+ var e, n, i, u2, a2 = [], f3 = !0, o = !1;
389
388
  try {
390
389
  if (i = (t = t.call(r)).next, l === 0) {
391
390
  if (Object(t) !== t) return;
392
- f2 = !1;
393
- } else for (; !(f2 = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f2 = !0) ;
391
+ f3 = !1;
392
+ } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
394
393
  } catch (r2) {
395
394
  o = !0, n = r2;
396
395
  } finally {
397
396
  try {
398
- if (!f2 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
397
+ if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
399
398
  } finally {
400
399
  if (o) throw n;
401
400
  }
402
401
  }
403
- return a;
402
+ return a2;
404
403
  }
405
404
  }
406
405
  function _arrayWithHoles(r) {
@@ -6078,17 +6077,17 @@ var require_rolesMap = __commonJS({
6078
6077
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6079
6078
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6080
6079
  }
6081
- var o, a = !0, u2 = !1;
6080
+ var o, a2 = !0, u2 = !1;
6082
6081
  return { s: function() {
6083
6082
  t = t.call(r);
6084
6083
  }, n: function() {
6085
6084
  var r2 = t.next();
6086
- return a = r2.done, r2;
6085
+ return a2 = r2.done, r2;
6087
6086
  }, e: function(r2) {
6088
6087
  u2 = !0, o = r2;
6089
6088
  }, f: function() {
6090
6089
  try {
6091
- a || t.return == null || t.return();
6090
+ a2 || t.return == null || t.return();
6092
6091
  } finally {
6093
6092
  if (u2) throw o;
6094
6093
  }
@@ -6101,37 +6100,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6101
6100
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6102
6101
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6103
6102
  }
6104
- function _unsupportedIterableToArray(r, a) {
6103
+ function _unsupportedIterableToArray(r, a2) {
6105
6104
  if (r) {
6106
- if (typeof r == "string") return _arrayLikeToArray(r, a);
6105
+ if (typeof r == "string") return _arrayLikeToArray(r, a2);
6107
6106
  var t = {}.toString.call(r).slice(8, -1);
6108
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
6107
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6109
6108
  }
6110
6109
  }
6111
- function _arrayLikeToArray(r, a) {
6112
- (a == null || a > r.length) && (a = r.length);
6113
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
6110
+ function _arrayLikeToArray(r, a2) {
6111
+ (a2 == null || a2 > r.length) && (a2 = r.length);
6112
+ for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6114
6113
  return n;
6115
6114
  }
6116
6115
  function _iterableToArrayLimit(r, l) {
6117
6116
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6118
6117
  if (t != null) {
6119
- var e, n, i, u2, a = [], f2 = !0, o = !1;
6118
+ var e, n, i, u2, a2 = [], f3 = !0, o = !1;
6120
6119
  try {
6121
6120
  if (i = (t = t.call(r)).next, l === 0) {
6122
6121
  if (Object(t) !== t) return;
6123
- f2 = !1;
6124
- } else for (; !(f2 = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f2 = !0) ;
6122
+ f3 = !1;
6123
+ } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6125
6124
  } catch (r2) {
6126
6125
  o = !0, n = r2;
6127
6126
  } finally {
6128
6127
  try {
6129
- if (!f2 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6128
+ if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6130
6129
  } finally {
6131
6130
  if (o) throw n;
6132
6131
  }
6133
6132
  }
6134
- return a;
6133
+ return a2;
6135
6134
  }
6136
6135
  }
6137
6136
  function _arrayWithHoles(r) {
@@ -6230,37 +6229,37 @@ var require_elementRoleMap = __commonJS({
6230
6229
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6231
6230
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6232
6231
  }
6233
- function _unsupportedIterableToArray(r, a) {
6232
+ function _unsupportedIterableToArray(r, a2) {
6234
6233
  if (r) {
6235
- if (typeof r == "string") return _arrayLikeToArray(r, a);
6234
+ if (typeof r == "string") return _arrayLikeToArray(r, a2);
6236
6235
  var t = {}.toString.call(r).slice(8, -1);
6237
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
6236
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6238
6237
  }
6239
6238
  }
6240
- function _arrayLikeToArray(r, a) {
6241
- (a == null || a > r.length) && (a = r.length);
6242
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
6239
+ function _arrayLikeToArray(r, a2) {
6240
+ (a2 == null || a2 > r.length) && (a2 = r.length);
6241
+ for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6243
6242
  return n;
6244
6243
  }
6245
6244
  function _iterableToArrayLimit(r, l) {
6246
6245
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6247
6246
  if (t != null) {
6248
- var e, n, i2, u2, a = [], f2 = !0, o = !1;
6247
+ var e, n, i2, u2, a2 = [], f3 = !0, o = !1;
6249
6248
  try {
6250
6249
  if (i2 = (t = t.call(r)).next, l === 0) {
6251
6250
  if (Object(t) !== t) return;
6252
- f2 = !1;
6253
- } else for (; !(f2 = (e = i2.call(t)).done) && (a.push(e.value), a.length !== l); f2 = !0) ;
6251
+ f3 = !1;
6252
+ } else for (; !(f3 = (e = i2.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6254
6253
  } catch (r2) {
6255
6254
  o = !0, n = r2;
6256
6255
  } finally {
6257
6256
  try {
6258
- if (!f2 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6257
+ if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6259
6258
  } finally {
6260
6259
  if (o) throw n;
6261
6260
  }
6262
6261
  }
6263
- return a;
6262
+ return a2;
6264
6263
  }
6265
6264
  }
6266
6265
  function _arrayWithHoles(r) {
@@ -6320,35 +6319,35 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6320
6319
  });
6321
6320
  }
6322
6321
  };
6323
- function ariaRoleRelationConceptEquals(a, b) {
6324
- return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes);
6322
+ function ariaRoleRelationConceptEquals(a2, b) {
6323
+ return a2.name === b.name && ariaRoleRelationConstraintsEquals(a2.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a2.attributes, b.attributes);
6325
6324
  }
6326
- function ariaRoleRelationConstraintsEquals(a, b) {
6327
- if (a === void 0 && b !== void 0 || a !== void 0 && b === void 0)
6325
+ function ariaRoleRelationConstraintsEquals(a2, b) {
6326
+ if (a2 === void 0 && b !== void 0 || a2 !== void 0 && b === void 0)
6328
6327
  return !1;
6329
- if (a !== void 0 && b !== void 0) {
6330
- if (a.length !== b.length)
6328
+ if (a2 !== void 0 && b !== void 0) {
6329
+ if (a2.length !== b.length)
6331
6330
  return !1;
6332
- for (var _i3 = 0; _i3 < a.length; _i3++)
6333
- if (a[_i3] !== b[_i3])
6331
+ for (var _i3 = 0; _i3 < a2.length; _i3++)
6332
+ if (a2[_i3] !== b[_i3])
6334
6333
  return !1;
6335
6334
  }
6336
6335
  return !0;
6337
6336
  }
6338
- function ariaRoleRelationConceptAttributeEquals(a, b) {
6339
- if (a === void 0 && b !== void 0 || a !== void 0 && b === void 0)
6337
+ function ariaRoleRelationConceptAttributeEquals(a2, b) {
6338
+ if (a2 === void 0 && b !== void 0 || a2 !== void 0 && b === void 0)
6340
6339
  return !1;
6341
- if (a !== void 0 && b !== void 0) {
6342
- if (a.length !== b.length)
6340
+ if (a2 !== void 0 && b !== void 0) {
6341
+ if (a2.length !== b.length)
6343
6342
  return !1;
6344
- for (var _i4 = 0; _i4 < a.length; _i4++) {
6345
- if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value || a[_i4].constraints === void 0 && b[_i4].constraints !== void 0 || a[_i4].constraints !== void 0 && b[_i4].constraints === void 0)
6343
+ for (var _i4 = 0; _i4 < a2.length; _i4++) {
6344
+ if (a2[_i4].name !== b[_i4].name || a2[_i4].value !== b[_i4].value || a2[_i4].constraints === void 0 && b[_i4].constraints !== void 0 || a2[_i4].constraints !== void 0 && b[_i4].constraints === void 0)
6346
6345
  return !1;
6347
- if (a[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6348
- if (a[_i4].constraints.length !== b[_i4].constraints.length)
6346
+ if (a2[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6347
+ if (a2[_i4].constraints.length !== b[_i4].constraints.length)
6349
6348
  return !1;
6350
- for (var j = 0; j < a[_i4].constraints.length; j++)
6351
- if (a[_i4].constraints[j] !== b[_i4].constraints[j])
6349
+ for (var j = 0; j < a2[_i4].constraints.length; j++)
6350
+ if (a2[_i4].constraints[j] !== b[_i4].constraints[j])
6352
6351
  return !1;
6353
6352
  }
6354
6353
  }
@@ -6378,37 +6377,37 @@ var require_roleElementMap = __commonJS({
6378
6377
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6379
6378
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6380
6379
  }
6381
- function _unsupportedIterableToArray(r, a) {
6380
+ function _unsupportedIterableToArray(r, a2) {
6382
6381
  if (r) {
6383
- if (typeof r == "string") return _arrayLikeToArray(r, a);
6382
+ if (typeof r == "string") return _arrayLikeToArray(r, a2);
6384
6383
  var t = {}.toString.call(r).slice(8, -1);
6385
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
6384
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6386
6385
  }
6387
6386
  }
6388
- function _arrayLikeToArray(r, a) {
6389
- (a == null || a > r.length) && (a = r.length);
6390
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
6387
+ function _arrayLikeToArray(r, a2) {
6388
+ (a2 == null || a2 > r.length) && (a2 = r.length);
6389
+ for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6391
6390
  return n;
6392
6391
  }
6393
6392
  function _iterableToArrayLimit(r, l) {
6394
6393
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6395
6394
  if (t != null) {
6396
- var e, n, i2, u2, a = [], f2 = !0, o = !1;
6395
+ var e, n, i2, u2, a2 = [], f3 = !0, o = !1;
6397
6396
  try {
6398
6397
  if (i2 = (t = t.call(r)).next, l === 0) {
6399
6398
  if (Object(t) !== t) return;
6400
- f2 = !1;
6401
- } else for (; !(f2 = (e = i2.call(t)).done) && (a.push(e.value), a.length !== l); f2 = !0) ;
6399
+ f3 = !1;
6400
+ } else for (; !(f3 = (e = i2.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6402
6401
  } catch (r2) {
6403
6402
  o = !0, n = r2;
6404
6403
  } finally {
6405
6404
  try {
6406
- if (!f2 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6405
+ if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6407
6406
  } finally {
6408
6407
  if (o) throw n;
6409
6408
  }
6410
6409
  }
6411
- return a;
6410
+ return a2;
6412
6411
  }
6413
6412
  }
6414
6413
  function _arrayWithHoles(r) {
@@ -6650,7 +6649,7 @@ var require_templates = __commonJS({
6650
6649
  if (!Number.isNaN(number))
6651
6650
  results.push(number);
6652
6651
  else if (matches3 = chunk.match(STRING_REGEX))
6653
- results.push(matches3[2].replace(ESCAPE_REGEX, (m, escape3, character) => escape3 ? unescape(escape3) : character));
6652
+ results.push(matches3[2].replace(ESCAPE_REGEX, (m2, escape3, character) => escape3 ? unescape(escape3) : character));
6654
6653
  else
6655
6654
  throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
6656
6655
  }
@@ -6685,7 +6684,7 @@ var require_templates = __commonJS({
6685
6684
  }
6686
6685
  module2.exports = (chalk2, temporary) => {
6687
6686
  let styles2 = [], chunks = [], chunk = [];
6688
- if (temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
6687
+ if (temporary.replace(TEMPLATE_REGEX, (m2, escapeCharacter, inverse, style, close, character) => {
6689
6688
  if (escapeCharacter)
6690
6689
  chunk.push(unescape(escapeCharacter));
6691
6690
  else if (style) {
@@ -8663,29 +8662,29 @@ var require_Immutable = __commonJS({
8663
8662
  var require_react_is_production_min = __commonJS({
8664
8663
  "../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
8665
8664
  "use strict";
8666
- var b = 60103, c = 60106, d = 60107, e = 60108, f2 = 60114, g2 = 60109, h = 60110, k = 60112, l = 60113, m = 60120, n = 60115, p = 60116, q = 60121, r = 60122, u2 = 60117, v = 60129, w = 60131;
8667
- typeof Symbol == "function" && Symbol.for && (x = Symbol.for, b = x("react.element"), c = x("react.portal"), d = x("react.fragment"), e = x("react.strict_mode"), f2 = x("react.profiler"), g2 = x("react.provider"), h = x("react.context"), k = x("react.forward_ref"), l = x("react.suspense"), m = x("react.suspense_list"), n = x("react.memo"), p = x("react.lazy"), q = x("react.block"), r = x("react.server.block"), u2 = x("react.fundamental"), v = x("react.debug_trace_mode"), w = x("react.legacy_hidden"));
8665
+ var b = 60103, c = 60106, d = 60107, e = 60108, f3 = 60114, g2 = 60109, h2 = 60110, k = 60112, l = 60113, m2 = 60120, n = 60115, p2 = 60116, q = 60121, r = 60122, u2 = 60117, v = 60129, w = 60131;
8666
+ typeof Symbol == "function" && Symbol.for && (x = Symbol.for, b = x("react.element"), c = x("react.portal"), d = x("react.fragment"), e = x("react.strict_mode"), f3 = x("react.profiler"), g2 = x("react.provider"), h2 = x("react.context"), k = x("react.forward_ref"), l = x("react.suspense"), m2 = x("react.suspense_list"), n = x("react.memo"), p2 = x("react.lazy"), q = x("react.block"), r = x("react.server.block"), u2 = x("react.fundamental"), v = x("react.debug_trace_mode"), w = x("react.legacy_hidden"));
8668
8667
  var x;
8669
- function y(a) {
8670
- if (typeof a == "object" && a !== null) {
8671
- var t = a.$$typeof;
8668
+ function y(a2) {
8669
+ if (typeof a2 == "object" && a2 !== null) {
8670
+ var t = a2.$$typeof;
8672
8671
  switch (t) {
8673
8672
  case b:
8674
- switch (a = a.type, a) {
8673
+ switch (a2 = a2.type, a2) {
8675
8674
  case d:
8676
- case f2:
8675
+ case f3:
8677
8676
  case e:
8678
8677
  case l:
8679
- case m:
8680
- return a;
8678
+ case m2:
8679
+ return a2;
8681
8680
  default:
8682
- switch (a = a && a.$$typeof, a) {
8683
- case h:
8681
+ switch (a2 = a2 && a2.$$typeof, a2) {
8682
+ case h2:
8684
8683
  case k:
8685
- case p:
8684
+ case p2:
8686
8685
  case n:
8687
8686
  case g2:
8688
- return a;
8687
+ return a2;
8689
8688
  default:
8690
8689
  return t;
8691
8690
  }
@@ -8695,12 +8694,12 @@ var require_react_is_production_min = __commonJS({
8695
8694
  }
8696
8695
  }
8697
8696
  }
8698
- var z = g2, A = b, B = k, C = d, D = p, E = n, F = c, G = f2, H = e, I = l;
8699
- exports.ContextConsumer = h;
8697
+ var z = g2, A = b, B2 = k, C2 = d, D = p2, E = n, F = c, G = f3, H = e, I = l;
8698
+ exports.ContextConsumer = h2;
8700
8699
  exports.ContextProvider = z;
8701
8700
  exports.Element = A;
8702
- exports.ForwardRef = B;
8703
- exports.Fragment = C;
8701
+ exports.ForwardRef = B2;
8702
+ exports.Fragment = C2;
8704
8703
  exports.Lazy = D;
8705
8704
  exports.Memo = E;
8706
8705
  exports.Portal = F;
@@ -8713,41 +8712,41 @@ var require_react_is_production_min = __commonJS({
8713
8712
  exports.isConcurrentMode = function() {
8714
8713
  return !1;
8715
8714
  };
8716
- exports.isContextConsumer = function(a) {
8717
- return y(a) === h;
8715
+ exports.isContextConsumer = function(a2) {
8716
+ return y(a2) === h2;
8718
8717
  };
8719
- exports.isContextProvider = function(a) {
8720
- return y(a) === g2;
8718
+ exports.isContextProvider = function(a2) {
8719
+ return y(a2) === g2;
8721
8720
  };
8722
- exports.isElement = function(a) {
8723
- return typeof a == "object" && a !== null && a.$$typeof === b;
8721
+ exports.isElement = function(a2) {
8722
+ return typeof a2 == "object" && a2 !== null && a2.$$typeof === b;
8724
8723
  };
8725
- exports.isForwardRef = function(a) {
8726
- return y(a) === k;
8724
+ exports.isForwardRef = function(a2) {
8725
+ return y(a2) === k;
8727
8726
  };
8728
- exports.isFragment = function(a) {
8729
- return y(a) === d;
8727
+ exports.isFragment = function(a2) {
8728
+ return y(a2) === d;
8730
8729
  };
8731
- exports.isLazy = function(a) {
8732
- return y(a) === p;
8730
+ exports.isLazy = function(a2) {
8731
+ return y(a2) === p2;
8733
8732
  };
8734
- exports.isMemo = function(a) {
8735
- return y(a) === n;
8733
+ exports.isMemo = function(a2) {
8734
+ return y(a2) === n;
8736
8735
  };
8737
- exports.isPortal = function(a) {
8738
- return y(a) === c;
8736
+ exports.isPortal = function(a2) {
8737
+ return y(a2) === c;
8739
8738
  };
8740
- exports.isProfiler = function(a) {
8741
- return y(a) === f2;
8739
+ exports.isProfiler = function(a2) {
8740
+ return y(a2) === f3;
8742
8741
  };
8743
- exports.isStrictMode = function(a) {
8744
- return y(a) === e;
8742
+ exports.isStrictMode = function(a2) {
8743
+ return y(a2) === e;
8745
8744
  };
8746
- exports.isSuspense = function(a) {
8747
- return y(a) === l;
8745
+ exports.isSuspense = function(a2) {
8746
+ return y(a2) === l;
8748
8747
  };
8749
- exports.isValidElementType = function(a) {
8750
- return typeof a == "string" || typeof a == "function" || a === d || a === f2 || a === v || a === e || a === l || a === m || a === w || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === n || a.$$typeof === g2 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === u2 || a.$$typeof === q || a[0] === r);
8748
+ exports.isValidElementType = function(a2) {
8749
+ return typeof a2 == "string" || typeof a2 == "function" || a2 === d || a2 === f3 || a2 === v || a2 === e || a2 === l || a2 === m2 || a2 === w || typeof a2 == "object" && a2 !== null && (a2.$$typeof === p2 || a2.$$typeof === n || a2.$$typeof === g2 || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === u2 || a2.$$typeof === q || a2[0] === r);
8751
8750
  };
8752
8751
  exports.typeOf = y;
8753
8752
  }
@@ -9134,10 +9133,10 @@ var require_build = __commonJS({
9134
9133
  return printed;
9135
9134
  }
9136
9135
  function findPlugin(plugins3, val) {
9137
- for (let p = 0; p < plugins3.length; p++)
9136
+ for (let p2 = 0; p2 < plugins3.length; p2++)
9138
9137
  try {
9139
- if (plugins3[p].test(val))
9140
- return plugins3[p];
9138
+ if (plugins3[p2].test(val))
9139
+ return plugins3[p2];
9141
9140
  } catch (error) {
9142
9141
  throw new PrettyFormatPluginError(error.message, error.stack);
9143
9142
  }
@@ -9270,7 +9269,7 @@ var require_build = __commonJS({
9270
9269
  var require_lz_string = __commonJS({
9271
9270
  "../../node_modules/lz-string/libs/lz-string.js"(exports, module2) {
9272
9271
  var LZString = (function() {
9273
- var f2 = String.fromCharCode, keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", baseReverseDic = {};
9272
+ var f3 = String.fromCharCode, keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", baseReverseDic = {};
9274
9273
  function getBaseValue(alphabet, character) {
9275
9274
  if (!baseReverseDic[alphabet]) {
9276
9275
  baseReverseDic[alphabet] = {};
@@ -9282,8 +9281,8 @@ var require_lz_string = __commonJS({
9282
9281
  var LZString2 = {
9283
9282
  compressToBase64: function(input2) {
9284
9283
  if (input2 == null) return "";
9285
- var res = LZString2._compress(input2, 6, function(a) {
9286
- return keyStrBase64.charAt(a);
9284
+ var res = LZString2._compress(input2, 6, function(a2) {
9285
+ return keyStrBase64.charAt(a2);
9287
9286
  });
9288
9287
  switch (res.length % 4) {
9289
9288
  // To produce valid Base64
@@ -9305,8 +9304,8 @@ var require_lz_string = __commonJS({
9305
9304
  });
9306
9305
  },
9307
9306
  compressToUTF16: function(input2) {
9308
- return input2 == null ? "" : LZString2._compress(input2, 15, function(a) {
9309
- return f2(a + 32);
9307
+ return input2 == null ? "" : LZString2._compress(input2, 15, function(a2) {
9308
+ return f3(a2 + 32);
9310
9309
  }) + " ";
9311
9310
  },
9312
9311
  decompressFromUTF16: function(compressed) {
@@ -9330,13 +9329,13 @@ var require_lz_string = __commonJS({
9330
9329
  buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
9331
9330
  var result = [];
9332
9331
  return buf.forEach(function(c) {
9333
- result.push(f2(c));
9332
+ result.push(f3(c));
9334
9333
  }), LZString2.decompress(result.join(""));
9335
9334
  },
9336
9335
  //compress into a string that is already URI encoded
9337
9336
  compressToEncodedURIComponent: function(input2) {
9338
- return input2 == null ? "" : LZString2._compress(input2, 6, function(a) {
9339
- return keyStrUriSafe.charAt(a);
9337
+ return input2 == null ? "" : LZString2._compress(input2, 6, function(a2) {
9338
+ return keyStrUriSafe.charAt(a2);
9340
9339
  });
9341
9340
  },
9342
9341
  //decompress from an output of compressToEncodedURIComponent
@@ -9346,8 +9345,8 @@ var require_lz_string = __commonJS({
9346
9345
  }));
9347
9346
  },
9348
9347
  compress: function(uncompressed) {
9349
- return LZString2._compress(uncompressed, 16, function(a) {
9350
- return f2(a);
9348
+ return LZString2._compress(uncompressed, 16, function(a2) {
9349
+ return f3(a2);
9351
9350
  });
9352
9351
  },
9353
9352
  _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
@@ -9418,12 +9417,12 @@ var require_lz_string = __commonJS({
9418
9417
  case 0:
9419
9418
  for (bits = 0, maxpower = Math.pow(2, 8), power = 1; power != maxpower; )
9420
9419
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9421
- c = f2(bits);
9420
+ c = f3(bits);
9422
9421
  break;
9423
9422
  case 1:
9424
9423
  for (bits = 0, maxpower = Math.pow(2, 16), power = 1; power != maxpower; )
9425
9424
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9426
- c = f2(bits);
9425
+ c = f3(bits);
9427
9426
  break;
9428
9427
  case 2:
9429
9428
  return "";
@@ -9437,12 +9436,12 @@ var require_lz_string = __commonJS({
9437
9436
  case 0:
9438
9437
  for (bits = 0, maxpower = Math.pow(2, 8), power = 1; power != maxpower; )
9439
9438
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9440
- dictionary[dictSize++] = f2(bits), c = dictSize - 1, enlargeIn--;
9439
+ dictionary[dictSize++] = f3(bits), c = dictSize - 1, enlargeIn--;
9441
9440
  break;
9442
9441
  case 1:
9443
9442
  for (bits = 0, maxpower = Math.pow(2, 16), power = 1; power != maxpower; )
9444
9443
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9445
- dictionary[dictSize++] = f2(bits), c = dictSize - 1, enlargeIn--;
9444
+ dictionary[dictSize++] = f3(bits), c = dictSize - 1, enlargeIn--;
9446
9445
  break;
9447
9446
  case 2:
9448
9447
  return result.join("");
@@ -10751,8 +10750,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
10751
10750
  }, "overwritingChainableMethodWrapper");
10752
10751
  }
10753
10752
  __name(overwriteChainableMethod, "overwriteChainableMethod");
10754
- function compareByInspect(a, b) {
10755
- return inspect2(a) < inspect2(b) ? -1 : 1;
10753
+ function compareByInspect(a2, b) {
10754
+ return inspect2(a2) < inspect2(b) ? -1 : 1;
10756
10755
  }
10757
10756
  __name(compareByInspect, "compareByInspect");
10758
10757
  function getOwnEnumerablePropertySymbols(obj) {
@@ -10863,8 +10862,8 @@ function an(type32, msg) {
10863
10862
  __name(an, "an");
10864
10863
  Assertion.addChainableMethod("an", an);
10865
10864
  Assertion.addChainableMethod("a", an);
10866
- function SameValueZero(a, b) {
10867
- return isNaN22(a) && isNaN22(b) || a === b;
10865
+ function SameValueZero(a2, b) {
10866
+ return isNaN22(a2) && isNaN22(b) || a2 === b;
10868
10867
  }
10869
10868
  __name(SameValueZero, "SameValueZero");
10870
10869
  function includeChainingBehavior() {
@@ -12613,11 +12612,11 @@ __export(matchers_exports, {
12613
12612
  var import_redent = __toESM(require_redent(), 1);
12614
12613
 
12615
12614
  // ../../node_modules/@adobe/css-tools/dist/index.mjs
12616
- function $parcel$defineInteropFlag(a) {
12617
- Object.defineProperty(a, "__esModule", { value: !0, configurable: !0 });
12615
+ function $parcel$defineInteropFlag(a2) {
12616
+ Object.defineProperty(a2, "__esModule", { value: !0, configurable: !0 });
12618
12617
  }
12619
- function $parcel$export(e, n, v, s2) {
12620
- Object.defineProperty(e, n, { get: v, set: s2, enumerable: !0, configurable: !0 });
12618
+ function $parcel$export(e, n, v, s3) {
12619
+ Object.defineProperty(e, n, { get: v, set: s3, enumerable: !0, configurable: !0 });
12621
12620
  }
12622
12621
  var $009ddb00d3ec72b8$exports = {};
12623
12622
  $parcel$defineInteropFlag($009ddb00d3ec72b8$exports);
@@ -12690,10 +12689,10 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12690
12689
  return rules2;
12691
12690
  }
12692
12691
  function match(re) {
12693
- let m = re.exec(css);
12694
- if (!m) return;
12695
- let str = m[0];
12696
- return updatePosition(str), css = css.slice(str.length), m;
12692
+ let m2 = re.exec(css);
12693
+ if (!m2) return;
12694
+ let str = m2[0];
12695
+ return updatePosition(str), css = css.slice(str.length), m2;
12697
12696
  }
12698
12697
  function whitespace() {
12699
12698
  match(/^\s*/);
@@ -12706,10 +12705,10 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12706
12705
  function comment() {
12707
12706
  let pos = position();
12708
12707
  if (css.charAt(0) !== "/" || css.charAt(1) !== "*") return;
12709
- let m = match(/^\/\*[^]*?\*\//);
12710
- return m ? pos({
12708
+ let m2 = match(/^\/\*[^]*?\*\//);
12709
+ return m2 ? pos({
12711
12710
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,
12712
- comment: m[0].slice(2, -2)
12711
+ comment: m2[0].slice(2, -2)
12713
12712
  }) : error("End of comment missing");
12714
12713
  }
12715
12714
  function findClosingParenthese(str, start, depth) {
@@ -12721,9 +12720,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12721
12720
  return found && closeParentheses !== -1 ? closeParentheses : -1;
12722
12721
  }
12723
12722
  function selector() {
12724
- let m = match(/^([^{]+)/);
12725
- if (!m) return;
12726
- let res = $d708735ed1303b43$var$trim(m[0]).replace($d708735ed1303b43$var$commentre, "");
12723
+ let m2 = match(/^([^{]+)/);
12724
+ if (!m2) return;
12725
+ let res = $d708735ed1303b43$var$trim(m2[0]).replace($d708735ed1303b43$var$commentre, "");
12727
12726
  if (res.indexOf(",") === -1) return [
12728
12727
  res
12729
12728
  ];
@@ -12733,7 +12732,7 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12733
12732
  if (closeParentheses === -1) break;
12734
12733
  ptr = closeParentheses + 1, res = res.substring(0, startParentheses) + res.substring(startParentheses, closeParentheses).replace(/,/g, "\u200C") + res.substring(closeParentheses), startParentheses = res.indexOf("(", ptr);
12735
12734
  }
12736
- return res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m2) => m2.replace(/,/g, "\u200C")), res.split(",").map((s2) => $d708735ed1303b43$var$trim(s2.replace(/\u200C/g, ",")));
12735
+ return res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m3) => m3.replace(/,/g, "\u200C")), res.split(",").map((s3) => $d708735ed1303b43$var$trim(s3.replace(/\u200C/g, ",")));
12737
12736
  }
12738
12737
  function declaration() {
12739
12738
  let pos = position(), propMatch = match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
@@ -12756,9 +12755,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12756
12755
  return close() ? decls : error("missing '}'");
12757
12756
  }
12758
12757
  function keyframe() {
12759
- let m, vals = [], pos = position();
12760
- for (; m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
12761
- vals.push(m[1]), match(/^,\s*/);
12758
+ let m2, vals = [], pos = position();
12759
+ for (; m2 = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
12760
+ vals.push(m2[1]), match(/^,\s*/);
12762
12761
  if (vals.length)
12763
12762
  return pos({
12764
12763
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,
@@ -12784,9 +12783,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12784
12783
  }) : error("@keyframes missing '}'");
12785
12784
  }
12786
12785
  function atsupports() {
12787
- let pos = position(), m = match(/^@supports *([^{]+)/);
12788
- if (!m) return;
12789
- let supports = $d708735ed1303b43$var$trim(m[1]);
12786
+ let pos = position(), m2 = match(/^@supports *([^{]+)/);
12787
+ if (!m2) return;
12788
+ let supports = $d708735ed1303b43$var$trim(m2[1]);
12790
12789
  if (!open()) return error("@supports missing '{'");
12791
12790
  let style = comments().concat(rules());
12792
12791
  return close() ? pos({
@@ -12806,9 +12805,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12806
12805
  }) : error("@host missing '}'");
12807
12806
  }
12808
12807
  function atcontainer() {
12809
- let pos = position(), m = match(/^@container *([^{]+)/);
12810
- if (!m) return;
12811
- let container = $d708735ed1303b43$var$trim(m[1]);
12808
+ let pos = position(), m2 = match(/^@container *([^{]+)/);
12809
+ if (!m2) return;
12810
+ let container = $d708735ed1303b43$var$trim(m2[1]);
12812
12811
  if (!open()) return error("@container missing '{'");
12813
12812
  let style = comments().concat(rules());
12814
12813
  return close() ? pos({
@@ -12818,9 +12817,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12818
12817
  }) : error("@container missing '}'");
12819
12818
  }
12820
12819
  function atlayer() {
12821
- let pos = position(), m = match(/^@layer *([^{;@]+)/);
12822
- if (!m) return;
12823
- let layer = $d708735ed1303b43$var$trim(m[1]);
12820
+ let pos = position(), m2 = match(/^@layer *([^{;@]+)/);
12821
+ if (!m2) return;
12822
+ let layer = $d708735ed1303b43$var$trim(m2[1]);
12824
12823
  if (!open())
12825
12824
  return match(/^[;\s]*/), pos({
12826
12825
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,
@@ -12834,9 +12833,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12834
12833
  }) : error("@layer missing '}'");
12835
12834
  }
12836
12835
  function atmedia() {
12837
- let pos = position(), m = match(/^@media *([^{]+)/);
12838
- if (!m) return;
12839
- let media = $d708735ed1303b43$var$trim(m[1]);
12836
+ let pos = position(), m2 = match(/^@media *([^{]+)/);
12837
+ if (!m2) return;
12838
+ let media = $d708735ed1303b43$var$trim(m2[1]);
12840
12839
  if (!open()) return error("@media missing '{'");
12841
12840
  let style = comments().concat(rules());
12842
12841
  return close() ? pos({
@@ -12846,12 +12845,12 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12846
12845
  }) : error("@media missing '}'");
12847
12846
  }
12848
12847
  function atcustommedia() {
12849
- let pos = position(), m = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
12850
- if (m)
12848
+ let pos = position(), m2 = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
12849
+ if (m2)
12851
12850
  return pos({
12852
12851
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,
12853
- name: $d708735ed1303b43$var$trim(m[1]),
12854
- media: $d708735ed1303b43$var$trim(m[2])
12852
+ name: $d708735ed1303b43$var$trim(m2[1]),
12853
+ media: $d708735ed1303b43$var$trim(m2[2])
12855
12854
  });
12856
12855
  }
12857
12856
  function atpage() {
@@ -12869,9 +12868,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12869
12868
  }) : error("@page missing '}'");
12870
12869
  }
12871
12870
  function atdocument() {
12872
- let pos = position(), m = match(/^@([-\w]+)?document *([^{]+)/);
12873
- if (!m) return;
12874
- let vendor = $d708735ed1303b43$var$trim(m[1]), doc = $d708735ed1303b43$var$trim(m[2]);
12871
+ let pos = position(), m2 = match(/^@([-\w]+)?document *([^{]+)/);
12872
+ if (!m2) return;
12873
+ let vendor = $d708735ed1303b43$var$trim(m2[1]), doc = $d708735ed1303b43$var$trim(m2[2]);
12875
12874
  if (!open()) return error("@document missing '{'");
12876
12875
  let style = comments().concat(rules());
12877
12876
  return close() ? pos({
@@ -12907,12 +12906,12 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
12907
12906
  function _compileAtrule(name) {
12908
12907
  let re = new RegExp("^@" + name + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
12909
12908
  return function() {
12910
- let pos = position(), m = match(re);
12911
- if (!m) return;
12909
+ let pos = position(), m2 = match(re);
12910
+ if (!m2) return;
12912
12911
  let ret = {
12913
12912
  type: name
12914
12913
  };
12915
- return ret[name] = m[1].trim(), pos(ret);
12914
+ return ret[name] = m2[1].trim(), pos(ret);
12916
12915
  };
12917
12916
  }
12918
12917
  function atrule() {
@@ -12965,12 +12964,12 @@ function toLength(value) {
12965
12964
  return Math.min(Math.max(len, 0), maxSafeInteger);
12966
12965
  }
12967
12966
  function arrayFrom(arrayLike, mapFn) {
12968
- var C = Array, items = Object(arrayLike);
12967
+ var C2 = Array, items = Object(arrayLike);
12969
12968
  if (arrayLike == null)
12970
12969
  throw new TypeError("Array.from requires an array-like object - not null or undefined");
12971
12970
  if (typeof mapFn < "u" && !isCallable(mapFn))
12972
12971
  throw new TypeError("Array.from: when provided, the second argument must be a function");
12973
- for (var len = toLength(items.length), A = isCallable(C) ? Object(new C(len)) : new Array(len), k = 0, kValue; k < len; )
12972
+ for (var len = toLength(items.length), A = isCallable(C2) ? Object(new C2(len)) : new Array(len), k = 0, kValue; k < len; )
12974
12973
  kValue = items[k], mapFn ? A[k] = mapFn(kValue, k) : A[k] = kValue, k += 1;
12975
12974
  return A.length = len, A;
12976
12975
  }
@@ -13292,8 +13291,8 @@ function hasAnyConcreteRoles(node, roles3) {
13292
13291
  }
13293
13292
 
13294
13293
  // ../../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
13295
- function asFlatString(s2) {
13296
- return s2.trim().replace(/\s\s+/g, " ");
13294
+ function asFlatString(s3) {
13295
+ return s3.trim().replace(/\s\s+/g, " ");
13297
13296
  }
13298
13297
  function isHidden(node, getComputedStyleImplementation) {
13299
13298
  if (!isElement(node))
@@ -14137,7 +14136,7 @@ function getExpectedClassNamesAndOptions(params) {
14137
14136
  return typeof lastParam == "object" && !(lastParam instanceof RegExp) ? (expectedClassNames = params, options = lastParam) : (expectedClassNames = params.concat(lastParam), options = { exact: !1 }), { expectedClassNames, options };
14138
14137
  }
14139
14138
  function splitClassNames(str) {
14140
- return str ? str.split(/\s+/).filter((s2) => s2.length > 0) : [];
14139
+ return str ? str.split(/\s+/).filter((s3) => s3.length > 0) : [];
14141
14140
  }
14142
14141
  function isSubset$1(subset, superset) {
14143
14142
  return subset.every(
@@ -15113,6 +15112,91 @@ var jsTokensExports = requireJsTokens(), jsTokens = getDefaultExportFromCjs(jsTo
15113
15112
  }, keywords = new Set(reservedWords.keyword), reservedWordsStrictSet = new Set(reservedWords.strict);
15114
15113
  var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
15115
15114
 
15115
+ // ../../node_modules/@vitest/expect/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
15116
+ var f = {
15117
+ reset: [0, 0],
15118
+ bold: [1, 22, "\x1B[22m\x1B[1m"],
15119
+ dim: [2, 22, "\x1B[22m\x1B[2m"],
15120
+ italic: [3, 23],
15121
+ underline: [4, 24],
15122
+ inverse: [7, 27],
15123
+ hidden: [8, 28],
15124
+ strikethrough: [9, 29],
15125
+ black: [30, 39],
15126
+ red: [31, 39],
15127
+ green: [32, 39],
15128
+ yellow: [33, 39],
15129
+ blue: [34, 39],
15130
+ magenta: [35, 39],
15131
+ cyan: [36, 39],
15132
+ white: [37, 39],
15133
+ gray: [90, 39],
15134
+ bgBlack: [40, 49],
15135
+ bgRed: [41, 49],
15136
+ bgGreen: [42, 49],
15137
+ bgYellow: [43, 49],
15138
+ bgBlue: [44, 49],
15139
+ bgMagenta: [45, 49],
15140
+ bgCyan: [46, 49],
15141
+ bgWhite: [47, 49],
15142
+ blackBright: [90, 39],
15143
+ redBright: [91, 39],
15144
+ greenBright: [92, 39],
15145
+ yellowBright: [93, 39],
15146
+ blueBright: [94, 39],
15147
+ magentaBright: [95, 39],
15148
+ cyanBright: [96, 39],
15149
+ whiteBright: [97, 39],
15150
+ bgBlackBright: [100, 49],
15151
+ bgRedBright: [101, 49],
15152
+ bgGreenBright: [102, 49],
15153
+ bgYellowBright: [103, 49],
15154
+ bgBlueBright: [104, 49],
15155
+ bgMagentaBright: [105, 49],
15156
+ bgCyanBright: [106, 49],
15157
+ bgWhiteBright: [107, 49]
15158
+ }, h = Object.entries(f);
15159
+ function a(n) {
15160
+ return String(n);
15161
+ }
15162
+ a.open = "";
15163
+ a.close = "";
15164
+ var B = h.reduce(
15165
+ (n, [e]) => (n[e] = a, n),
15166
+ { isColorSupported: !1 }
15167
+ );
15168
+ function C(n = !1) {
15169
+ let e = typeof process < "u" ? process : void 0, i = e?.env || {}, g2 = e?.argv || [];
15170
+ return !("NO_COLOR" in i || g2.includes("--no-color")) && ("FORCE_COLOR" in i || g2.includes("--color") || e?.platform === "win32" || n && i.TERM !== "dumb" || "CI" in i) || typeof window < "u" && !!window.chrome;
15171
+ }
15172
+ function p(n = !1) {
15173
+ let e = C(n), i = (r, t, c, o) => {
15174
+ let l = "", s3 = 0;
15175
+ do
15176
+ l += r.substring(s3, o) + c, s3 = o + t.length, o = r.indexOf(t, s3);
15177
+ while (~o);
15178
+ return l + r.substring(s3);
15179
+ }, g2 = (r, t, c = r) => {
15180
+ let o = (l) => {
15181
+ let s3 = String(l), b = s3.indexOf(t, r.length);
15182
+ return ~b ? r + i(s3, t, c, b) + t : r + s3 + t;
15183
+ };
15184
+ return o.open = r, o.close = t, o;
15185
+ }, u2 = {
15186
+ isColorSupported: e
15187
+ }, d = (r) => `\x1B[${r}m`;
15188
+ for (let [r, t] of h)
15189
+ u2[r] = e ? g2(
15190
+ d(t[0]),
15191
+ d(t[1]),
15192
+ t[2]
15193
+ ) : a;
15194
+ return u2;
15195
+ }
15196
+
15197
+ // ../../node_modules/@vitest/expect/node_modules/tinyrainbow/dist/browser.js
15198
+ var s2 = p();
15199
+
15116
15200
  // ../../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
15117
15201
  function assert2(condition, message) {
15118
15202
  if (!condition)
@@ -15398,7 +15482,7 @@ Received:
15398
15482
  ${printReceived2(actual)}`
15399
15483
  };
15400
15484
  }
15401
- }, EXPECTED_COLOR = s.green, RECEIVED_COLOR = s.red, INVERTED_COLOR = s.inverse, BOLD_WEIGHT = s.bold, DIM_COLOR = s.dim;
15485
+ }, EXPECTED_COLOR = s2.green, RECEIVED_COLOR = s2.red, INVERTED_COLOR = s2.inverse, BOLD_WEIGHT = s2.bold, DIM_COLOR = s2.dim;
15402
15486
  function matcherHint(matcherName, received = "received", expected = "expected", options = {}) {
15403
15487
  let { comment = "", isDirectExpectCall = !1, isNot = !1, promise = "", secondArgument = "", expectedColor = EXPECTED_COLOR, receivedColor = RECEIVED_COLOR, secondArgumentColor = EXPECTED_COLOR } = options, hint = "", dimString = "expect";
15404
15488
  return !isDirectExpectCall && received !== "" && (hint += DIM_COLOR(`${dimString}(`) + receivedColor(received), dimString = ")"), promise !== "" && (hint += DIM_COLOR(`${dimString}.`) + promise, dimString = ""), isNot && (hint += `${DIM_COLOR(`${dimString}.`)}not`, dimString = ""), matcherName.includes(".") ? dimString += matcherName : (hint += DIM_COLOR(`${dimString}.`) + matcherName, dimString = ""), expected === "" ? dimString += "()" : (hint += DIM_COLOR(`${dimString}(`) + expectedColor(expected), secondArgument && (hint += DIM_COLOR(", ") + secondArgumentColor(secondArgument)), dimString = ")"), comment !== "" && (dimString += ` // ${comment}`), dimString !== "" && (hint += DIM_COLOR(dimString)), hint;
@@ -15436,52 +15520,52 @@ function printWithType(name, value, print) {
15436
15520
  function getCustomEqualityTesters() {
15437
15521
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
15438
15522
  }
15439
- function equals(a, b, customTesters, strictCheck) {
15440
- return customTesters = customTesters || [], eq(a, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
15523
+ function equals(a2, b, customTesters, strictCheck) {
15524
+ return customTesters = customTesters || [], eq(a2, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
15441
15525
  }
15442
15526
  var functionToString = Function.prototype.toString;
15443
15527
  function isAsymmetric(obj) {
15444
15528
  return !!obj && typeof obj == "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
15445
15529
  }
15446
- function asymmetricMatch(a, b) {
15447
- let asymmetricA = isAsymmetric(a), asymmetricB = isAsymmetric(b);
15530
+ function asymmetricMatch(a2, b) {
15531
+ let asymmetricA = isAsymmetric(a2), asymmetricB = isAsymmetric(b);
15448
15532
  if (!(asymmetricA && asymmetricB)) {
15449
15533
  if (asymmetricA)
15450
- return a.asymmetricMatch(b);
15534
+ return a2.asymmetricMatch(b);
15451
15535
  if (asymmetricB)
15452
- return b.asymmetricMatch(a);
15536
+ return b.asymmetricMatch(a2);
15453
15537
  }
15454
15538
  }
15455
- function eq(a, b, aStack, bStack, customTesters, hasKey2) {
15456
- let result = !0, asymmetricResult = asymmetricMatch(a, b);
15539
+ function eq(a2, b, aStack, bStack, customTesters, hasKey2) {
15540
+ let result = !0, asymmetricResult = asymmetricMatch(a2, b);
15457
15541
  if (asymmetricResult !== void 0)
15458
15542
  return asymmetricResult;
15459
15543
  let testerContext = { equals };
15460
15544
  for (let i = 0; i < customTesters.length; i++) {
15461
- let customTesterResult = customTesters[i].call(testerContext, a, b, customTesters);
15545
+ let customTesterResult = customTesters[i].call(testerContext, a2, b, customTesters);
15462
15546
  if (customTesterResult !== void 0)
15463
15547
  return customTesterResult;
15464
15548
  }
15465
- if (typeof URL == "function" && a instanceof URL && b instanceof URL)
15466
- return a.href === b.href;
15467
- if (Object.is(a, b))
15549
+ if (typeof URL == "function" && a2 instanceof URL && b instanceof URL)
15550
+ return a2.href === b.href;
15551
+ if (Object.is(a2, b))
15468
15552
  return !0;
15469
- if (a === null || b === null)
15470
- return a === b;
15471
- let className = Object.prototype.toString.call(a);
15553
+ if (a2 === null || b === null)
15554
+ return a2 === b;
15555
+ let className = Object.prototype.toString.call(a2);
15472
15556
  if (className !== Object.prototype.toString.call(b))
15473
15557
  return !1;
15474
15558
  switch (className) {
15475
15559
  case "[object Boolean]":
15476
15560
  case "[object String]":
15477
15561
  case "[object Number]":
15478
- return typeof a != typeof b ? !1 : typeof a != "object" && typeof b != "object" ? Object.is(a, b) : Object.is(a.valueOf(), b.valueOf());
15562
+ return typeof a2 != typeof b ? !1 : typeof a2 != "object" && typeof b != "object" ? Object.is(a2, b) : Object.is(a2.valueOf(), b.valueOf());
15479
15563
  case "[object Date]": {
15480
- let numA = +a, numB = +b;
15564
+ let numA = +a2, numB = +b;
15481
15565
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
15482
15566
  }
15483
15567
  case "[object RegExp]":
15484
- return a.source === b.source && a.flags === b.flags;
15568
+ return a2.source === b.source && a2.flags === b.flags;
15485
15569
  case "[object Temporal.Instant]":
15486
15570
  case "[object Temporal.ZonedDateTime]":
15487
15571
  case "[object Temporal.PlainDateTime]":
@@ -15489,40 +15573,40 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
15489
15573
  case "[object Temporal.PlainTime]":
15490
15574
  case "[object Temporal.PlainYearMonth]":
15491
15575
  case "[object Temporal.PlainMonthDay]":
15492
- return a.equals(b);
15576
+ return a2.equals(b);
15493
15577
  case "[object Temporal.Duration]":
15494
- return a.toString() === b.toString();
15578
+ return a2.toString() === b.toString();
15495
15579
  }
15496
- if (typeof a != "object" || typeof b != "object")
15580
+ if (typeof a2 != "object" || typeof b != "object")
15497
15581
  return !1;
15498
- if (isDomNode(a) && isDomNode(b))
15499
- return a.isEqualNode(b);
15582
+ if (isDomNode(a2) && isDomNode(b))
15583
+ return a2.isEqualNode(b);
15500
15584
  let length = aStack.length;
15501
15585
  for (; length--; ) {
15502
- if (aStack[length] === a)
15586
+ if (aStack[length] === a2)
15503
15587
  return bStack[length] === b;
15504
15588
  if (bStack[length] === b)
15505
15589
  return !1;
15506
15590
  }
15507
- if (aStack.push(a), bStack.push(b), className === "[object Array]" && a.length !== b.length)
15591
+ if (aStack.push(a2), bStack.push(b), className === "[object Array]" && a2.length !== b.length)
15508
15592
  return !1;
15509
- if (a instanceof Error && b instanceof Error)
15593
+ if (a2 instanceof Error && b instanceof Error)
15510
15594
  try {
15511
- return isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2);
15595
+ return isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2);
15512
15596
  } finally {
15513
15597
  aStack.pop(), bStack.pop();
15514
15598
  }
15515
- let aKeys = keys(a, hasKey2), key, size = aKeys.length;
15599
+ let aKeys = keys(a2, hasKey2), key, size = aKeys.length;
15516
15600
  if (keys(b, hasKey2).length !== size)
15517
15601
  return !1;
15518
15602
  for (; size--; )
15519
- if (key = aKeys[size], result = hasKey2(b, key) && eq(a[key], b[key], aStack, bStack, customTesters, hasKey2), !result)
15603
+ if (key = aKeys[size], result = hasKey2(b, key) && eq(a2[key], b[key], aStack, bStack, customTesters, hasKey2), !result)
15520
15604
  return !1;
15521
15605
  return aStack.pop(), bStack.pop(), result;
15522
15606
  }
15523
- function isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2) {
15524
- let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b) && a.name === b.name && a.message === b.message;
15525
- return typeof b.cause < "u" && result && (result = eq(a.cause, b.cause, aStack, bStack, customTesters, hasKey2)), a instanceof AggregateError && b instanceof AggregateError && result && (result = eq(a.errors, b.errors, aStack, bStack, customTesters, hasKey2)), result && (result = eq({ ...a }, { ...b }, aStack, bStack, customTesters, hasKey2)), result;
15607
+ function isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2) {
15608
+ let result = Object.getPrototypeOf(a2) === Object.getPrototypeOf(b) && a2.name === b.name && a2.message === b.message;
15609
+ return typeof b.cause < "u" && result && (result = eq(a2.cause, b.cause, aStack, bStack, customTesters, hasKey2)), a2 instanceof AggregateError && b instanceof AggregateError && result && (result = eq(a2.errors, b.errors, aStack, bStack, customTesters, hasKey2)), result && (result = eq({ ...a2 }, { ...b }, aStack, bStack, customTesters, hasKey2)), result;
15526
15610
  }
15527
15611
  function keys(obj, hasKey2) {
15528
15612
  let keys2 = [];
@@ -15568,26 +15652,26 @@ var IteratorSymbol = Symbol.iterator;
15568
15652
  function hasIterator(object) {
15569
15653
  return !!(object != null && object[IteratorSymbol]);
15570
15654
  }
15571
- function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
15572
- if (typeof a != "object" || typeof b != "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b))
15655
+ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
15656
+ if (typeof a2 != "object" || typeof b != "object" || Array.isArray(a2) || Array.isArray(b) || !hasIterator(a2) || !hasIterator(b))
15573
15657
  return;
15574
- if (a.constructor !== b.constructor)
15658
+ if (a2.constructor !== b.constructor)
15575
15659
  return !1;
15576
15660
  let length = aStack.length;
15577
15661
  for (; length--; )
15578
- if (aStack[length] === a)
15662
+ if (aStack[length] === a2)
15579
15663
  return bStack[length] === b;
15580
- aStack.push(a), bStack.push(b);
15664
+ aStack.push(a2), bStack.push(b);
15581
15665
  let filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];
15582
- function iterableEqualityWithStack(a2, b2) {
15583
- return iterableEquality(a2, b2, [...customTesters], [...aStack], [...bStack]);
15666
+ function iterableEqualityWithStack(a3, b2) {
15667
+ return iterableEquality(a3, b2, [...customTesters], [...aStack], [...bStack]);
15584
15668
  }
15585
- if (a.size !== void 0) {
15586
- if (a.size !== b.size)
15669
+ if (a2.size !== void 0) {
15670
+ if (a2.size !== b.size)
15587
15671
  return !1;
15588
- if (isA("Set", a) || isImmutableUnorderedSet(a)) {
15672
+ if (isA("Set", a2) || isImmutableUnorderedSet(a2)) {
15589
15673
  let allFound = !0;
15590
- for (let aValue of a)
15674
+ for (let aValue of a2)
15591
15675
  if (!b.has(aValue)) {
15592
15676
  let has = !1;
15593
15677
  for (let bValue of b)
@@ -15598,9 +15682,9 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
15598
15682
  }
15599
15683
  }
15600
15684
  return aStack.pop(), bStack.pop(), allFound;
15601
- } else if (isA("Map", a) || isImmutableUnorderedKeyed(a)) {
15685
+ } else if (isA("Map", a2) || isImmutableUnorderedKeyed(a2)) {
15602
15686
  let allFound = !0;
15603
- for (let aEntry of a)
15687
+ for (let aEntry of a2)
15604
15688
  if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
15605
15689
  let has = !1;
15606
15690
  for (let bEntry of b) {
@@ -15616,15 +15700,15 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
15616
15700
  }
15617
15701
  }
15618
15702
  let bIterator = b[IteratorSymbol]();
15619
- for (let aValue of a) {
15703
+ for (let aValue of a2) {
15620
15704
  let nextB = bIterator.next();
15621
15705
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters))
15622
15706
  return !1;
15623
15707
  }
15624
15708
  if (!bIterator.next().done)
15625
15709
  return !1;
15626
- if (!isImmutableList(a) && !isImmutableOrderedKeyed(a) && !isImmutableOrderedSet(a) && !isImmutableRecord(a)) {
15627
- let aEntries = Object.entries(a), bEntries = Object.entries(b);
15710
+ if (!isImmutableList(a2) && !isImmutableOrderedKeyed(a2) && !isImmutableOrderedSet(a2) && !isImmutableRecord(a2)) {
15711
+ let aEntries = Object.entries(a2), bEntries = Object.entries(b);
15628
15712
  if (!equals(aEntries, bEntries, filteredCustomTesters))
15629
15713
  return !1;
15630
15714
  }
@@ -15633,8 +15717,8 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
15633
15717
  function hasPropertyInObject(object, key) {
15634
15718
  return !object || typeof object != "object" || object === Object.prototype ? !1 : Object.prototype.hasOwnProperty.call(object, key) || hasPropertyInObject(Object.getPrototypeOf(object), key);
15635
15719
  }
15636
- function isObjectWithKeys(a) {
15637
- return isObject(a) && !(a instanceof Error) && !Array.isArray(a) && !(a instanceof Date);
15720
+ function isObjectWithKeys(a2) {
15721
+ return isObject(a2) && !(a2 instanceof Error) && !Array.isArray(a2) && !(a2 instanceof Date);
15638
15722
  }
15639
15723
  function subsetEquality(object, subset, customTesters = []) {
15640
15724
  let filteredCustomTesters = customTesters.filter((t) => t !== subsetEquality), subsetEqualityWithContext = (seenReferences = /* @__PURE__ */ new WeakMap()) => (object2, subset2) => {
@@ -15651,17 +15735,17 @@ function subsetEquality(object, subset, customTesters = []) {
15651
15735
  };
15652
15736
  return subsetEqualityWithContext()(object, subset);
15653
15737
  }
15654
- function typeEquality(a, b) {
15655
- if (!(a == null || b == null || a.constructor === b.constructor))
15738
+ function typeEquality(a2, b) {
15739
+ if (!(a2 == null || b == null || a2.constructor === b.constructor))
15656
15740
  return !1;
15657
15741
  }
15658
- function arrayBufferEquality(a, b) {
15659
- let dataViewA = a, dataViewB = b;
15660
- if (!(a instanceof DataView && b instanceof DataView)) {
15661
- if (!(a instanceof ArrayBuffer) || !(b instanceof ArrayBuffer))
15742
+ function arrayBufferEquality(a2, b) {
15743
+ let dataViewA = a2, dataViewB = b;
15744
+ if (!(a2 instanceof DataView && b instanceof DataView)) {
15745
+ if (!(a2 instanceof ArrayBuffer) || !(b instanceof ArrayBuffer))
15662
15746
  return;
15663
15747
  try {
15664
- dataViewA = new DataView(a), dataViewB = new DataView(b);
15748
+ dataViewA = new DataView(a2), dataViewB = new DataView(b);
15665
15749
  } catch {
15666
15750
  return;
15667
15751
  }
@@ -15673,11 +15757,11 @@ function arrayBufferEquality(a, b) {
15673
15757
  return !1;
15674
15758
  return !0;
15675
15759
  }
15676
- function sparseArrayEquality(a, b, customTesters = []) {
15677
- if (!Array.isArray(a) || !Array.isArray(b))
15760
+ function sparseArrayEquality(a2, b, customTesters = []) {
15761
+ if (!Array.isArray(a2) || !Array.isArray(b))
15678
15762
  return;
15679
- let aKeys = Object.keys(a), bKeys = Object.keys(b), filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
15680
- return equals(a, b, filteredCustomTesters, !0) && equals(aKeys, bKeys);
15763
+ let aKeys = Object.keys(a2), bKeys = Object.keys(b), filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
15764
+ return equals(a2, b, filteredCustomTesters, !0) && equals(aKeys, bKeys);
15681
15765
  }
15682
15766
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
15683
15767
  let toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;
@@ -15693,9 +15777,9 @@ function pluralize(word, count) {
15693
15777
  return `${count} ${word}${count === 1 ? "" : "s"}`;
15694
15778
  }
15695
15779
  function getObjectKeys(object) {
15696
- return [...Object.keys(object), ...Object.getOwnPropertySymbols(object).filter((s2) => {
15780
+ return [...Object.keys(object), ...Object.getOwnPropertySymbols(object).filter((s3) => {
15697
15781
  var _Object$getOwnPropert;
15698
- return (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(object, s2)) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.enumerable;
15782
+ return (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(object, s3)) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.enumerable;
15699
15783
  })];
15700
15784
  }
15701
15785
  function getObjectSubset(object, subset, customTesters) {
@@ -15949,7 +16033,7 @@ function recordAsyncExpect(_test, promise, assertion, error) {
15949
16033
  return test2.onFinished ?? (test2.onFinished = []), test2.onFinished.push(() => {
15950
16034
  if (!resolved) {
15951
16035
  var _vitest_worker__;
15952
- let stack = (((_vitest_worker__ = globalThis.__vitest_worker__) === null || _vitest_worker__ === void 0 ? void 0 : _vitest_worker__.onFilterStackTrace) || ((s2) => s2 || ""))(error.stack);
16036
+ let stack = (((_vitest_worker__ = globalThis.__vitest_worker__) === null || _vitest_worker__ === void 0 ? void 0 : _vitest_worker__.onFilterStackTrace) || ((s3) => s3 || ""))(error.stack);
15953
16037
  console.warn([
15954
16038
  `Promise returned by \`${assertion}\` was not awaited. `,
15955
16039
  "Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",
@@ -16007,8 +16091,8 @@ var JestChaiExpect = (chai, utils) => {
16007
16091
  "throw",
16008
16092
  "throws",
16009
16093
  "Throw"
16010
- ].forEach((m) => {
16011
- utils.overwriteMethod(chai.Assertion.prototype, m, (_super) => function(...args) {
16094
+ ].forEach((m2) => {
16095
+ utils.overwriteMethod(chai.Assertion.prototype, m2, (_super) => function(...args) {
16012
16096
  let promise = utils.flag(this, "promise"), object = utils.flag(this, "object"), isNot = utils.flag(this, "negate");
16013
16097
  if (promise === "rejects")
16014
16098
  utils.flag(this, "object", () => {
@@ -16162,8 +16246,8 @@ var JestChaiExpect = (chai, utils) => {
16162
16246
  if (called && isNot && (msg = formatCalls(spy, msg)), called && isNot || !called && !isNot)
16163
16247
  throw new AssertionError2(msg);
16164
16248
  });
16165
- function equalsArgumentArray(a, b) {
16166
- return a.length === b.length && a.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
16249
+ function equalsArgumentArray(a2, b) {
16250
+ return a2.length === b.length && a2.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
16167
16251
  }
16168
16252
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
16169
16253
  let spy = getSpy(this), spyName = spy.getMockName(), pass = spy.mock.calls.some((callArg) => equalsArgumentArray(callArg, args)), isNot = utils.flag(this, "negate"), msg = utils.getMessage(this, [
@@ -16257,11 +16341,11 @@ var JestChaiExpect = (chai, utils) => {
16257
16341
  });
16258
16342
  }), [{
16259
16343
  name: "toHaveResolvedTimes",
16260
- condition: (spy, times) => spy.mock.settledResults.reduce((s2, { type: type5 }) => type5 === "fulfilled" ? ++s2 : s2, 0) === times,
16344
+ condition: (spy, times) => spy.mock.settledResults.reduce((s3, { type: type5 }) => type5 === "fulfilled" ? ++s3 : s3, 0) === times,
16261
16345
  action: "resolved"
16262
16346
  }, {
16263
16347
  name: ["toHaveReturnedTimes", "toReturnTimes"],
16264
- condition: (spy, times) => spy.mock.results.reduce((s2, { type: type5 }) => type5 === "throw" ? s2 : ++s2, 0) === times,
16348
+ condition: (spy, times) => spy.mock.results.reduce((s3, { type: type5 }) => type5 === "throw" ? s3 : ++s3, 0) === times,
16265
16349
  action: "called"
16266
16350
  }].forEach(({ name, condition, action }) => {
16267
16351
  def(name, function(times) {
@@ -16382,12 +16466,12 @@ function ordinalOf(i) {
16382
16466
  return j === 1 && k !== 11 ? `${i}st` : j === 2 && k !== 12 ? `${i}nd` : j === 3 && k !== 13 ? `${i}rd` : `${i}th`;
16383
16467
  }
16384
16468
  function formatCalls(spy, msg, showActualCall) {
16385
- return spy.mock.calls.length && (msg += s.gray(`
16469
+ return spy.mock.calls.length && (msg += s2.gray(`
16386
16470
 
16387
16471
  Received:
16388
16472
 
16389
16473
  ${spy.mock.calls.map((callArg, i) => {
16390
- let methodCall = s.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
16474
+ let methodCall = s2.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
16391
16475
 
16392
16476
  `);
16393
16477
  return showActualCall ? methodCall += diff(showActualCall, callArg, { omitAnnotationLines: !0 }) : methodCall += stringify(callArg).split(`
@@ -16395,18 +16479,18 @@ ${spy.mock.calls.map((callArg, i) => {
16395
16479
  `), methodCall += `
16396
16480
  `, methodCall;
16397
16481
  }).join(`
16398
- `)}`)), msg += s.gray(`
16482
+ `)}`)), msg += s2.gray(`
16399
16483
 
16400
- Number of calls: ${s.bold(spy.mock.calls.length)}
16484
+ Number of calls: ${s2.bold(spy.mock.calls.length)}
16401
16485
  `), msg;
16402
16486
  }
16403
16487
  function formatReturns(spy, results, msg, showActualReturn) {
16404
- return results.length && (msg += s.gray(`
16488
+ return results.length && (msg += s2.gray(`
16405
16489
 
16406
16490
  Received:
16407
16491
 
16408
16492
  ${results.map((callReturn, i) => {
16409
- let methodCall = s.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
16493
+ let methodCall = s2.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
16410
16494
 
16411
16495
  `);
16412
16496
  return showActualReturn ? methodCall += diff(showActualReturn, callReturn.value, { omitAnnotationLines: !0 }) : methodCall += stringify(callReturn).split(`
@@ -16414,9 +16498,9 @@ ${results.map((callReturn, i) => {
16414
16498
  `), methodCall += `
16415
16499
  `, methodCall;
16416
16500
  }).join(`
16417
- `)}`)), msg += s.gray(`
16501
+ `)}`)), msg += s2.gray(`
16418
16502
 
16419
- Number of calls: ${s.bold(spy.mock.calls.length)}
16503
+ Number of calls: ${s2.bold(spy.mock.calls.length)}
16420
16504
  `), msg;
16421
16505
  }
16422
16506
  function getMatcherState(assertion, expect4) {
@@ -16559,13 +16643,13 @@ Object.defineProperty(globalThis, GLOBAL_EXPECT, {
16559
16643
  });
16560
16644
 
16561
16645
  // ../../node_modules/tinyspy/dist/index.js
16562
- function f(e, t, n) {
16646
+ function f2(e, t, n) {
16563
16647
  Object.defineProperty(e, t, n);
16564
16648
  }
16565
16649
  var u = Symbol.for("tinyspy:spy");
16566
16650
  var P = (e) => {
16567
16651
  e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
16568
- }, K = (e) => (f(e, u, { value: { reset: () => P(e[u]) } }), e[u]), T = (e) => e[u] || K(e);
16652
+ }, K = (e) => (f2(e, u, { value: { reset: () => P(e[u]) } }), e[u]), T = (e) => e[u] || K(e);
16569
16653
 
16570
16654
  // src/test/spy.ts
16571
16655
  var listeners = /* @__PURE__ */ new Set();
@@ -16702,12 +16786,12 @@ function toLength2(value) {
16702
16786
  return Math.min(Math.max(len, 0), maxSafeInteger2);
16703
16787
  }
16704
16788
  function arrayFrom2(arrayLike, mapFn) {
16705
- var C = Array, items = Object(arrayLike);
16789
+ var C2 = Array, items = Object(arrayLike);
16706
16790
  if (arrayLike == null)
16707
16791
  throw new TypeError("Array.from requires an array-like object - not null or undefined");
16708
16792
  if (typeof mapFn < "u" && !isCallable2(mapFn))
16709
16793
  throw new TypeError("Array.from: when provided, the second argument must be a function");
16710
- for (var len = toLength2(items.length), A = isCallable2(C) ? Object(new C(len)) : new Array(len), k = 0, kValue; k < len; )
16794
+ for (var len = toLength2(items.length), A = isCallable2(C2) ? Object(new C2(len)) : new Array(len), k = 0, kValue; k < len; )
16711
16795
  kValue = items[k], mapFn ? A[k] = mapFn(kValue, k) : A[k] = kValue, k += 1;
16712
16796
  return A.length = len, A;
16713
16797
  }
@@ -17026,8 +17110,8 @@ function hasAnyConcreteRoles2(node, roles3) {
17026
17110
  }
17027
17111
 
17028
17112
  // ../../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
17029
- function asFlatString2(s2) {
17030
- return s2.trim().replace(/\s\s+/g, " ");
17113
+ function asFlatString2(s3) {
17114
+ return s3.trim().replace(/\s\s+/g, " ");
17031
17115
  }
17032
17116
  function isHidden2(node, getComputedStyleImplementation) {
17033
17117
  if (!isElement2(node))
@@ -20166,8 +20250,8 @@ function isVisible(element) {
20166
20250
  // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js
20167
20251
  function getTabDestination(activeElement, shift) {
20168
20252
  let document2 = activeElement.ownerDocument, focusableElements = document2.querySelectorAll(FOCUSABLE_SELECTOR), enabledElements = Array.from(focusableElements).filter((el) => el === activeElement || !(Number(el.getAttribute("tabindex")) < 0 || isDisabled2(el)));
20169
- Number(activeElement.getAttribute("tabindex")) >= 0 && enabledElements.sort((a, b) => {
20170
- let i = Number(a.getAttribute("tabindex")), j = Number(b.getAttribute("tabindex"));
20253
+ Number(activeElement.getAttribute("tabindex")) >= 0 && enabledElements.sort((a2, b) => {
20254
+ let i = Number(a2.getAttribute("tabindex")), j = Number(b.getAttribute("tabindex"));
20171
20255
  return i === j ? 0 : i === 0 ? 1 : j === 0 ? -1 : i - j;
20172
20256
  });
20173
20257
  let checkedRadio = {}, prunedElements = [
@@ -20736,7 +20820,7 @@ var eventInitializer = {
20736
20820
  };
20737
20821
  function createEvent2(type5, target, init) {
20738
20822
  let window2 = getWindow(target), { EventType, defaultInit } = eventMap2[type5], event = new (getEventConstructors(window2))[EventType](type5, defaultInit);
20739
- return eventInitializer[EventType].forEach((f2) => f2(event, init ?? {})), event;
20823
+ return eventInitializer[EventType].forEach((f3) => f3(event, init ?? {})), event;
20740
20824
  }
20741
20825
  function getEventConstructors(window2) {
20742
20826
  var _window_Event;
@@ -21158,7 +21242,7 @@ var KeyboardHost = class {
21158
21242
  return this.pressed.has(String(keyDef.code));
21159
21243
  }
21160
21244
  getPressedKeys() {
21161
- return this.pressed.values().map((p) => p.keyDef);
21245
+ return this.pressed.values().map((p2) => p2.keyDef);
21162
21246
  }
21163
21247
  /** Press a key */
21164
21248
  async keydown(instance, keyDef) {
@@ -21177,7 +21261,7 @@ var KeyboardHost = class {
21177
21261
  /** Release a key */
21178
21262
  async keyup(instance, keyDef) {
21179
21263
  let key = String(keyDef.key), code = String(keyDef.code), unprevented = this.pressed.isUnprevented(code);
21180
- this.pressed.delete(code), isModifierKey(key) && !this.pressed.values().find((p) => p.keyDef.key === key) && (this.modifiers[key] = !1), instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document), "keyup", {
21264
+ this.pressed.delete(code), isModifierKey(key) && !this.pressed.values().find((p2) => p2.keyDef.key === key) && (this.modifiers[key] = !1), instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document), "keyup", {
21181
21265
  key,
21182
21266
  code
21183
21267
  }, !unprevented), isModifierLock(key) && this.modifiers[key] && (this.modifierLockStart[key] ? this.modifierLockStart[key] = !1 : this.modifiers[key] = !1);
@@ -21519,9 +21603,9 @@ var Device = class {
21519
21603
  };
21520
21604
 
21521
21605
  // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
21522
- function getTreeDiff(a, b) {
21606
+ function getTreeDiff(a2, b) {
21523
21607
  let treeA = [];
21524
- for (let el = a; el; el = el.parentElement)
21608
+ for (let el = a2; el; el = el.parentElement)
21525
21609
  treeA.push(el);
21526
21610
  let treeB = [];
21527
21611
  for (let el = b; el; el = el.parentElement)
@@ -21992,9 +22076,9 @@ var PointerHost = class {
21992
22076
  }
21993
22077
  }()), _define_property8(this, "pointers", new class {
21994
22078
  new(pointerName, pointerType, buttons) {
21995
- let isPrimary = pointerType !== "touch" || !Object.values(this.registry).some((p) => p.pointerType === "touch" && !p.isCancelled);
21996
- return isPrimary || Object.values(this.registry).forEach((p) => {
21997
- p.pointerType === pointerType && !p.isCancelled && (p.isMultitouch = !0);
22079
+ let isPrimary = pointerType !== "touch" || !Object.values(this.registry).some((p2) => p2.pointerType === "touch" && !p2.isCancelled);
22080
+ return isPrimary || Object.values(this.registry).forEach((p2) => {
22081
+ p2.pointerType === pointerType && !p2.isCancelled && (p2.isMultitouch = !0);
21998
22082
  }), this.registry[pointerName] = new Pointer({
21999
22083
  pointerId: this.nextId++,
22000
22084
  pointerType,
@@ -22276,7 +22360,7 @@ function getClipboardDataFromString(doc, text) {
22276
22360
  function parseKeyDef2(pointerMap, keys2) {
22277
22361
  let defs = [];
22278
22362
  do {
22279
- let { descriptor, consumedLength, releasePrevious, releaseSelf = !0 } = readNextDescriptor(keys2, "pointer"), keyDef = pointerMap.find((p) => p.name === descriptor);
22363
+ let { descriptor, consumedLength, releasePrevious, releaseSelf = !0 } = readNextDescriptor(keys2, "pointer"), keyDef = pointerMap.find((p2) => p2.name === descriptor);
22280
22364
  keyDef && defs.push({
22281
22365
  keyDef,
22282
22366
  releasePrevious,
@@ -22443,9 +22527,9 @@ async function upload(element, fileOrFiles) {
22443
22527
  fileOrFiles
22444
22528
  ]).filter((file) => !this.config.applyAccept || isAcceptableFile(file, input2.accept)).slice(0, input2.multiple ? void 0 : 1), fileDialog = () => {
22445
22529
  var _input_files;
22446
- files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f2, i) => {
22530
+ files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f3, i) => {
22447
22531
  var _input_files2;
22448
- return f2 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i));
22532
+ return f3 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i));
22449
22533
  }) || (setFiles(input2, createFileList(getWindow(element), files)), this.dispatchUIEvent(input2, "input"), this.dispatchUIEvent(input2, "change"));
22450
22534
  };
22451
22535
  input2.addEventListener("fileDialog", fileDialog), await this.click(element), input2.removeEventListener("fileDialog", fileDialog);