@uva-glass/component-library 3.53.1 → 3.53.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 (137) hide show
  1. package/dist/{Lexical.prod-CNQPQ6W-.js → Lexical.prod-Dgzi-S1E.js} +2 -2
  2. package/dist/{Lexical.prod-CNQPQ6W-.js.map → Lexical.prod-Dgzi-S1E.js.map} +1 -1
  3. package/dist/{LexicalClipboard.prod-BdghxvkJ.js → LexicalClipboard.prod-Dxc8c2F_.js} +4 -4
  4. package/dist/{LexicalClipboard.prod-BdghxvkJ.js.map → LexicalClipboard.prod-Dxc8c2F_.js.map} +1 -1
  5. package/dist/{LexicalExtension.prod-qYTg6Mah.js → LexicalExtension.prod-CNBWjmfs.js} +5 -5
  6. package/dist/{LexicalExtension.prod-qYTg6Mah.js.map → LexicalExtension.prod-CNBWjmfs.js.map} +1 -1
  7. package/dist/{LexicalLink.prod-DjG5QZHP.js → LexicalLink.prod-EEOzXxej.js} +4 -4
  8. package/dist/{LexicalLink.prod-DjG5QZHP.js.map → LexicalLink.prod-EEOzXxej.js.map} +1 -1
  9. package/dist/{LexicalList.prod-CzxWmBG3.js → LexicalList.prod-DADZlhem.js} +4 -4
  10. package/dist/{LexicalList.prod-CzxWmBG3.js.map → LexicalList.prod-DADZlhem.js.map} +1 -1
  11. package/dist/{LexicalSelection.prod-CqTp0hfr.js → LexicalSelection.prod-B0uiXGSS.js} +2 -2
  12. package/dist/{LexicalSelection.prod-CqTp0hfr.js.map → LexicalSelection.prod-B0uiXGSS.js.map} +1 -1
  13. package/dist/{LexicalTable.prod-C97KnedB.js → LexicalTable.prod-QpQxZNNH.js} +5 -5
  14. package/dist/{LexicalTable.prod-C97KnedB.js.map → LexicalTable.prod-QpQxZNNH.js.map} +1 -1
  15. package/dist/{LexicalUtils.prod-lqA_upYF.js → LexicalUtils.prod-D1mwAww-.js} +2 -2
  16. package/dist/{LexicalUtils.prod-lqA_upYF.js.map → LexicalUtils.prod-D1mwAww-.js.map} +1 -1
  17. package/dist/{TableCellResizerPlugin-BdgrIlKp.js → TableCellResizerPlugin-9kvw_LpH.js} +4 -4
  18. package/dist/{TableCellResizerPlugin-BdgrIlKp.js.map → TableCellResizerPlugin-9kvw_LpH.js.map} +1 -1
  19. package/dist/{TablePlugin-DBKzGTIm.js → TablePlugin-Culqb83M.js} +4 -4
  20. package/dist/{TablePlugin-DBKzGTIm.js.map → TablePlugin-Culqb83M.js.map} +1 -1
  21. package/dist/assets/CheckboxButtonBar.css +1 -1
  22. package/dist/{chunk-GPBRNGY5-UqVYj0H5.js → chunk-GPBRNGY5-BSRMHXbx.js} +2 -2
  23. package/dist/{chunk-GPBRNGY5-UqVYj0H5.js.map → chunk-GPBRNGY5-BSRMHXbx.js.map} +1 -1
  24. package/dist/{client-DkvV9jg_.js → client-DdSuZDnt.js} +4 -6
  25. package/dist/{client-DkvV9jg_.js.map → client-DdSuZDnt.js.map} +1 -1
  26. package/dist/components/Accordion/Accordion.test.js +2 -2
  27. package/dist/components/AccordionCard/AccordionCard.test.js +2 -2
  28. package/dist/components/ActionList/ActionList.d.ts +1 -1
  29. package/dist/components/ActionList/ActionList.test.js +2 -2
  30. package/dist/components/AppStatusBar/AppStatusBar.test.js +1 -1
  31. package/dist/components/Attention/Attention.test.js +1 -1
  32. package/dist/components/Backdrop/Backdrop.test.js +1 -1
  33. package/dist/components/Buttons/Button.stories.js +1 -1
  34. package/dist/components/Buttons/Button.test.js +1 -1
  35. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  36. package/dist/components/Buttons/LinkButton.test.js +1 -1
  37. package/dist/components/Buttons/MenuButton.d.ts +1 -1
  38. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  39. package/dist/components/Buttons/MenuButton.test.js +1 -1
  40. package/dist/components/Card/Card.test.js +1 -1
  41. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  42. package/dist/components/Checkbox/Checkbox.test.js +2 -2
  43. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.d.ts +3 -1
  44. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +64 -60
  45. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js.map +1 -1
  46. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +2 -1
  47. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
  48. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +1 -1
  49. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  50. package/dist/components/CheckboxTree/CheckboxTree.stories.js +2 -2
  51. package/dist/components/Chip/Chip.stories.js +1 -1
  52. package/dist/components/ControlsButton/ControlsButton.d.ts +1 -1
  53. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  54. package/dist/components/Drawer/Drawer.stories.js +1 -1
  55. package/dist/components/FeedbackBar/FeedbackBar.test.js +1 -1
  56. package/dist/components/FormInput/FormInput.js +1 -1
  57. package/dist/components/FormInput/FormInput.stories.js +1 -1
  58. package/dist/components/IconButton/IconButton.stories.d.ts +1 -1
  59. package/dist/components/IconButton/IconButton.stories.js +1 -1
  60. package/dist/components/InfoBanner/InfoBanner.d.ts +1 -1
  61. package/dist/components/InfoBanner/InfoBanner.stories.d.ts +1 -1
  62. package/dist/components/InputField/InputField.stories.js +2 -2
  63. package/dist/components/Label/Label.test.js +1 -1
  64. package/dist/components/MetaDataBar/MetaDataBar.d.ts +1 -1
  65. package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
  66. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  67. package/dist/components/MultiSelect/MultiSelect.d.ts +2 -2
  68. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  69. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  70. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  71. package/dist/components/MultiSelect/index.js +1 -1
  72. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  73. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +1 -1
  74. package/dist/components/Notification/Notification.stories.js +1 -1
  75. package/dist/components/Notification/Notification.test.js +1 -1
  76. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  77. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  78. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  79. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  80. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  81. package/dist/components/RadioGroup/Radiogroup.test.js +1 -1
  82. package/dist/components/RadioTabSelector/RadioTabSelector.d.ts +1 -1
  83. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  84. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
  85. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  86. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  87. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +33 -33
  88. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
  89. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  90. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.d.ts +1 -1
  91. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  92. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +4 -4
  93. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  94. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
  95. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
  96. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +4 -4
  97. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  98. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  99. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.d.ts +1 -1
  100. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
  101. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  102. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  103. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.d.ts +1 -1
  104. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
  105. package/dist/components/RteEditor/Plugins/index.js +2 -2
  106. package/dist/components/RteEditor/RteEditor.js +10 -10
  107. package/dist/components/RteEditor/helpers.js +4 -4
  108. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +2 -2
  109. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +3 -3
  110. package/dist/components/SectionNotification/SectionNotification.stories.d.ts +1 -1
  111. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  112. package/dist/components/SelectListbox/components/SelectButton.d.ts +1 -1
  113. package/dist/components/SelectListbox/components/SelectOption.d.ts +1 -1
  114. package/dist/components/Sortable/Sortable.stories.js +1 -1
  115. package/dist/components/Sortable/components/SortableItem.d.ts +1 -1
  116. package/dist/components/StatusBadge/StatusBadge.stories.d.ts +1 -1
  117. package/dist/components/StatusBadge/StatusBadge.test.js +1 -1
  118. package/dist/components/TextArea/TextArea.stories.js +1 -1
  119. package/dist/components/TextArea/TextArea.test.js +2 -2
  120. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  121. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  122. package/dist/components/VarIndicator/VarIndicator.test.js +2 -2
  123. package/dist/components/WeekSelector/WeekSelector.stories.d.ts +1 -1
  124. package/dist/components/WeekSelector/components/WeekSelectorOption.d.ts +1 -1
  125. package/dist/components/index.js +1 -1
  126. package/dist/{index-BmvI9fji.js → index-Cfzi-sRQ.js} +27 -27
  127. package/dist/{index-BmvI9fji.js.map → index-Cfzi-sRQ.js.map} +1 -1
  128. package/dist/{index-Daa6JVq6.js → index-DcECbqp4.js} +12 -12
  129. package/dist/{index-Daa6JVq6.js.map → index-DcECbqp4.js.map} +1 -1
  130. package/dist/index.js +1 -1
  131. package/dist/{react-18-vQ75Numl.js → react-18-plvLTuyc.js} +2 -2
  132. package/dist/{react-18-vQ75Numl.js.map → react-18-plvLTuyc.js.map} +1 -1
  133. package/dist/{react.esm-CzkD5JmE.js → react.esm-BpII5CMY.js} +712 -733
  134. package/dist/{react.esm-CzkD5JmE.js.map → react.esm-BpII5CMY.js.map} +1 -1
  135. package/dist/storybook__react.d.js +8 -8
  136. package/dist/storybook__react.d.js.map +1 -1
  137. package/package.json +14 -14
@@ -1,7 +1,7 @@
1
1
  import * as Ie from "react";
2
2
  import { a as Pr } from "./test-utils-BcpWLsLH.js";
3
3
  import je from "react-dom";
4
- import { c as It } from "./client-DkvV9jg_.js";
4
+ import { c as It } from "./client-DdSuZDnt.js";
5
5
  import { l as K } from "./index-D6WVIfcJ.js";
6
6
  import { g as Lr } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  var X = {}, ke = { exports: {} };
@@ -9,9 +9,9 @@ ke.exports;
9
9
  var xt;
10
10
  function er() {
11
11
  return xt || (xt = 1, (function(e) {
12
- const r = (f = 0) => (u) => `\x1B[${38 + f};5;${u}m`, a = (f = 0) => (u, p, n) => `\x1B[${38 + f};2;${u};${p};${n}m`;
12
+ const r = (c = 0) => (u) => `\x1B[${38 + c};5;${u}m`, o = (c = 0) => (u, p, n) => `\x1B[${38 + c};2;${u};${p};${n}m`;
13
13
  function s() {
14
- const f = /* @__PURE__ */ new Map(), u = {
14
+ const c = /* @__PURE__ */ new Map(), u = {
15
15
  modifier: {
16
16
  reset: [0, 0],
17
17
  // 21 isn't widely supported and 22 does the same thing
@@ -65,22 +65,22 @@ function er() {
65
65
  };
66
66
  u.color.gray = u.color.blackBright, u.bgColor.bgGray = u.bgColor.bgBlackBright, u.color.grey = u.color.blackBright, u.bgColor.bgGrey = u.bgColor.bgBlackBright;
67
67
  for (const [p, n] of Object.entries(u)) {
68
- for (const [o, l] of Object.entries(n))
69
- u[o] = {
68
+ for (const [a, l] of Object.entries(n))
69
+ u[a] = {
70
70
  open: `\x1B[${l[0]}m`,
71
71
  close: `\x1B[${l[1]}m`
72
- }, n[o] = u[o], f.set(l[0], l[1]);
72
+ }, n[a] = u[a], c.set(l[0], l[1]);
73
73
  Object.defineProperty(u, p, {
74
74
  value: n,
75
75
  enumerable: !1
76
76
  });
77
77
  }
78
78
  return Object.defineProperty(u, "codes", {
79
- value: f,
79
+ value: c,
80
80
  enumerable: !1
81
- }), u.color.close = "\x1B[39m", u.bgColor.close = "\x1B[49m", u.color.ansi256 = r(), u.color.ansi16m = a(), u.bgColor.ansi256 = r(10), u.bgColor.ansi16m = a(10), Object.defineProperties(u, {
81
+ }), u.color.close = "\x1B[39m", u.bgColor.close = "\x1B[49m", u.color.ansi256 = r(), u.color.ansi16m = o(), u.bgColor.ansi256 = r(10), u.bgColor.ansi16m = o(10), Object.defineProperties(u, {
82
82
  rgbToAnsi256: {
83
- value: (p, n, o) => p === n && n === o ? p < 8 ? 16 : p > 248 ? 231 : Math.round((p - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(p / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(o / 255 * 5),
83
+ value: (p, n, a) => p === n && n === a ? p < 8 ? 16 : p > 248 ? 231 : Math.round((p - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(p / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(a / 255 * 5),
84
84
  enumerable: !1
85
85
  },
86
86
  hexToRgb: {
@@ -88,9 +88,9 @@ function er() {
88
88
  const n = /(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(p.toString(16));
89
89
  if (!n)
90
90
  return [0, 0, 0];
91
- let { colorString: o } = n.groups;
92
- o.length === 3 && (o = o.split("").map((i) => i + i).join(""));
93
- const l = Number.parseInt(o, 16);
91
+ let { colorString: a } = n.groups;
92
+ a.length === 3 && (a = a.split("").map((i) => i + i).join(""));
93
+ const l = Number.parseInt(a, 16);
94
94
  return [
95
95
  l >> 16 & 255,
96
96
  l >> 8 & 255,
@@ -116,15 +116,15 @@ function He() {
116
116
  if (Ot) return be;
117
117
  Ot = 1, Object.defineProperty(be, "__esModule", {
118
118
  value: !0
119
- }), be.printIteratorEntries = t, be.printIteratorValues = r, be.printListItems = a, be.printObjectProperties = s;
120
- const e = (f, u) => {
121
- const p = Object.keys(f).sort(u);
122
- return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(f).forEach((n) => {
123
- Object.getOwnPropertyDescriptor(f, n).enumerable && p.push(n);
119
+ }), be.printIteratorEntries = t, be.printIteratorValues = r, be.printListItems = o, be.printObjectProperties = s;
120
+ const e = (c, u) => {
121
+ const p = Object.keys(c).sort(u);
122
+ return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(c).forEach((n) => {
123
+ Object.getOwnPropertyDescriptor(c, n).enumerable && p.push(n);
124
124
  }), p;
125
125
  };
126
- function t(f, u, p, n, o, l, i = ": ") {
127
- let d = "", m = f.next();
126
+ function t(c, u, p, n, a, l, i = ": ") {
127
+ let d = "", m = c.next();
128
128
  if (!m.done) {
129
129
  d += u.spacingOuter;
130
130
  const E = p + u.indent;
@@ -134,51 +134,51 @@ function He() {
134
134
  u,
135
135
  E,
136
136
  n,
137
- o
137
+ a
138
138
  ), w = l(
139
139
  m.value[1],
140
140
  u,
141
141
  E,
142
142
  n,
143
- o
143
+ a
144
144
  );
145
- d += E + h + i + w, m = f.next(), m.done ? u.min || (d += ",") : d += "," + u.spacingInner;
145
+ d += E + h + i + w, m = c.next(), m.done ? u.min || (d += ",") : d += "," + u.spacingInner;
146
146
  }
147
147
  d += u.spacingOuter + p;
148
148
  }
149
149
  return d;
150
150
  }
151
- function r(f, u, p, n, o, l) {
152
- let i = "", d = f.next();
151
+ function r(c, u, p, n, a, l) {
152
+ let i = "", d = c.next();
153
153
  if (!d.done) {
154
154
  i += u.spacingOuter;
155
155
  const m = p + u.indent;
156
156
  for (; !d.done; )
157
- i += m + l(d.value, u, m, n, o), d = f.next(), d.done ? u.min || (i += ",") : i += "," + u.spacingInner;
157
+ i += m + l(d.value, u, m, n, a), d = c.next(), d.done ? u.min || (i += ",") : i += "," + u.spacingInner;
158
158
  i += u.spacingOuter + p;
159
159
  }
160
160
  return i;
161
161
  }
162
- function a(f, u, p, n, o, l) {
162
+ function o(c, u, p, n, a, l) {
163
163
  let i = "";
164
- if (f.length) {
164
+ if (c.length) {
165
165
  i += u.spacingOuter;
166
166
  const d = p + u.indent;
167
- for (let m = 0; m < f.length; m++)
168
- i += d, m in f && (i += l(f[m], u, d, n, o)), m < f.length - 1 ? i += "," + u.spacingInner : u.min || (i += ",");
167
+ for (let m = 0; m < c.length; m++)
168
+ i += d, m in c && (i += l(c[m], u, d, n, a)), m < c.length - 1 ? i += "," + u.spacingInner : u.min || (i += ",");
169
169
  i += u.spacingOuter + p;
170
170
  }
171
171
  return i;
172
172
  }
173
- function s(f, u, p, n, o, l) {
173
+ function s(c, u, p, n, a, l) {
174
174
  let i = "";
175
- const d = e(f, u.compareKeys);
175
+ const d = e(c, u.compareKeys);
176
176
  if (d.length) {
177
177
  i += u.spacingOuter;
178
178
  const m = p + u.indent;
179
179
  for (let E = 0; E < d.length; E++) {
180
- const h = d[E], w = l(h, u, m, n, o), c = l(f[h], u, m, n, o);
181
- i += m + w + ": " + c, E < d.length - 1 ? i += "," + u.spacingInner : u.min || (i += ",");
180
+ const h = d[E], w = l(h, u, m, n, a), f = l(c[h], u, m, n, a);
181
+ i += m + w + ": " + f, E < d.length - 1 ? i += "," + u.spacingInner : u.min || (i += ",");
182
182
  }
183
183
  i += u.spacingOuter + p;
184
184
  }
@@ -195,36 +195,36 @@ function Dr() {
195
195
  var e = He(), t = (function() {
196
196
  return typeof globalThis < "u" ? globalThis : typeof t < "u" ? t : typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
197
197
  })(), r = t["jest-symbol-do-not-touch"] || t.Symbol;
198
- const a = typeof r == "function" && r.for ? r.for("jest.asymmetricMatcher") : 1267621, s = " ", f = (o, l, i, d, m, E) => {
199
- const h = o.toString();
198
+ const o = typeof r == "function" && r.for ? r.for("jest.asymmetricMatcher") : 1267621, s = " ", c = (a, l, i, d, m, E) => {
199
+ const h = a.toString();
200
200
  return h === "ArrayContaining" || h === "ArrayNotContaining" ? ++d > l.maxDepth ? "[" + h + "]" : h + s + "[" + (0, e.printListItems)(
201
- o.sample,
201
+ a.sample,
202
202
  l,
203
203
  i,
204
204
  d,
205
205
  m,
206
206
  E
207
207
  ) + "]" : h === "ObjectContaining" || h === "ObjectNotContaining" ? ++d > l.maxDepth ? "[" + h + "]" : h + s + "{" + (0, e.printObjectProperties)(
208
- o.sample,
208
+ a.sample,
209
209
  l,
210
210
  i,
211
211
  d,
212
212
  m,
213
213
  E
214
- ) + "}" : h === "StringMatching" || h === "StringNotMatching" || h === "StringContaining" || h === "StringNotContaining" ? h + s + E(o.sample, l, i, d, m) : o.toAsymmetricMatcher();
214
+ ) + "}" : h === "StringMatching" || h === "StringNotMatching" || h === "StringContaining" || h === "StringNotContaining" ? h + s + E(a.sample, l, i, d, m) : a.toAsymmetricMatcher();
215
215
  };
216
- ee.serialize = f;
217
- const u = (o) => o && o.$$typeof === a;
216
+ ee.serialize = c;
217
+ const u = (a) => a && a.$$typeof === o;
218
218
  ee.test = u;
219
219
  var n = {
220
- serialize: f,
220
+ serialize: c,
221
221
  test: u
222
222
  };
223
223
  return ee.default = n, ee;
224
224
  }
225
- var te = {}, Ze, Ct;
225
+ var te = {}, Ze, _t;
226
226
  function qr() {
227
- return Ct || (Ct = 1, Ze = ({ onlyFirst: e = !1 } = {}) => {
227
+ return _t || (_t = 1, Ze = ({ onlyFirst: e = !1 } = {}) => {
228
228
  const t = [
229
229
  "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
230
230
  "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
@@ -232,18 +232,18 @@ function qr() {
232
232
  return new RegExp(t, e ? void 0 : "g");
233
233
  }), Ze;
234
234
  }
235
- var _t;
235
+ var Ct;
236
236
  function jr() {
237
- if (_t) return te;
238
- _t = 1, Object.defineProperty(te, "__esModule", {
237
+ if (Ct) return te;
238
+ Ct = 1, Object.defineProperty(te, "__esModule", {
239
239
  value: !0
240
240
  }), te.test = te.serialize = te.default = void 0;
241
241
  var e = r(qr()), t = r(er());
242
242
  function r(n) {
243
243
  return n && n.__esModule ? n : { default: n };
244
244
  }
245
- const a = (n) => n.replace((0, e.default)(), (o) => {
246
- switch (o) {
245
+ const o = (n) => n.replace((0, e.default)(), (a) => {
246
+ switch (a) {
247
247
  case t.default.red.close:
248
248
  case t.default.green.close:
249
249
  case t.default.cyan.close:
@@ -288,10 +288,10 @@ function jr() {
288
288
  }
289
289
  }), s = (n) => typeof n == "string" && !!n.match((0, e.default)());
290
290
  te.test = s;
291
- const f = (n, o, l, i, d, m) => m(a(n), o, l, i, d);
292
- te.serialize = f;
291
+ const c = (n, a, l, i, d, m) => m(o(n), a, l, i, d);
292
+ te.serialize = c;
293
293
  var p = {
294
- serialize: f,
294
+ serialize: c,
295
295
  test: s
296
296
  };
297
297
  return te.default = p, te;
@@ -303,12 +303,12 @@ function kr() {
303
303
  value: !0
304
304
  }), re.test = re.serialize = re.default = void 0;
305
305
  var e = He();
306
- const t = " ", r = ["DOMStringMap", "NamedNodeMap"], a = /^(HTML\w*Collection|NodeList)$/, s = (l) => r.indexOf(l) !== -1 || a.test(l), f = (l) => l && l.constructor && !!l.constructor.name && s(l.constructor.name);
307
- re.test = f;
306
+ const t = " ", r = ["DOMStringMap", "NamedNodeMap"], o = /^(HTML\w*Collection|NodeList)$/, s = (l) => r.indexOf(l) !== -1 || o.test(l), c = (l) => l && l.constructor && !!l.constructor.name && s(l.constructor.name);
307
+ re.test = c;
308
308
  const u = (l) => l.constructor.name === "NamedNodeMap", p = (l, i, d, m, E, h) => {
309
309
  const w = l.constructor.name;
310
310
  return ++m > i.maxDepth ? "[" + w + "]" : (i.min ? "" : w + t) + (r.indexOf(w) !== -1 ? "{" + (0, e.printObjectProperties)(
311
- u(l) ? Array.from(l).reduce((c, A) => (c[A.name] = A.value, c), {}) : { ...l },
311
+ u(l) ? Array.from(l).reduce((f, A) => (f[A.name] = A.value, f), {}) : { ...l },
312
312
  i,
313
313
  d,
314
314
  m,
@@ -324,11 +324,11 @@ function kr() {
324
324
  ) + "]");
325
325
  };
326
326
  re.serialize = p;
327
- var o = {
327
+ var a = {
328
328
  serialize: p,
329
- test: f
329
+ test: c
330
330
  };
331
- return re.default = o, re;
331
+ return re.default = a, re;
332
332
  }
333
333
  var ne = {}, H = {}, Le = {}, Bt;
334
334
  function Fr() {
@@ -351,37 +351,37 @@ function gt() {
351
351
  function t(n) {
352
352
  return n && n.__esModule ? n : { default: n };
353
353
  }
354
- const r = (n, o, l, i, d, m, E) => {
354
+ const r = (n, a, l, i, d, m, E) => {
355
355
  const h = i + l.indent, w = l.colors;
356
- return n.map((c) => {
357
- const A = o[c];
356
+ return n.map((f) => {
357
+ const A = a[f];
358
358
  let I = E(A, l, h, d, m);
359
359
  return typeof A != "string" && (I.indexOf(`
360
- `) !== -1 && (I = l.spacingOuter + h + I + l.spacingOuter + i), I = "{" + I + "}"), l.spacingInner + i + w.prop.open + c + w.prop.close + "=" + w.value.open + I + w.value.close;
360
+ `) !== -1 && (I = l.spacingOuter + h + I + l.spacingOuter + i), I = "{" + I + "}"), l.spacingInner + i + w.prop.open + f + w.prop.close + "=" + w.value.open + I + w.value.close;
361
361
  }).join("");
362
362
  };
363
363
  H.printProps = r;
364
- const a = (n, o, l, i, d, m) => n.map(
365
- (E) => o.spacingOuter + l + (typeof E == "string" ? s(E, o) : m(E, o, l, i, d))
364
+ const o = (n, a, l, i, d, m) => n.map(
365
+ (E) => a.spacingOuter + l + (typeof E == "string" ? s(E, a) : m(E, a, l, i, d))
366
366
  ).join("");
367
- H.printChildren = a;
368
- const s = (n, o) => {
369
- const l = o.colors.content;
367
+ H.printChildren = o;
368
+ const s = (n, a) => {
369
+ const l = a.colors.content;
370
370
  return l.open + (0, e.default)(n) + l.close;
371
371
  };
372
372
  H.printText = s;
373
- const f = (n, o) => {
374
- const l = o.colors.comment;
373
+ const c = (n, a) => {
374
+ const l = a.colors.comment;
375
375
  return l.open + "<!--" + (0, e.default)(n) + "-->" + l.close;
376
376
  };
377
- H.printComment = f;
378
- const u = (n, o, l, i, d) => {
377
+ H.printComment = c;
378
+ const u = (n, a, l, i, d) => {
379
379
  const m = i.colors.tag;
380
- return m.open + "<" + n + (o && m.close + o + i.spacingOuter + d + m.open) + (l ? ">" + m.close + l + i.spacingOuter + d + m.open + "</" + n : (o && !i.min ? "" : " ") + "/") + ">" + m.close;
380
+ return m.open + "<" + n + (a && m.close + a + i.spacingOuter + d + m.open) + (l ? ">" + m.close + l + i.spacingOuter + d + m.open + "</" + n : (a && !i.min ? "" : " ") + "/") + ">" + m.close;
381
381
  };
382
382
  H.printElement = u;
383
- const p = (n, o) => {
384
- const l = o.colors.tag;
383
+ const p = (n, a) => {
384
+ const l = a.colors.tag;
385
385
  return l.open + "<" + n + l.close + " …" + l.open + " />" + l.close;
386
386
  };
387
387
  return H.printElementAsLeaf = p, H;
@@ -393,31 +393,31 @@ function $r() {
393
393
  value: !0
394
394
  }), ne.test = ne.serialize = ne.default = void 0;
395
395
  var e = gt();
396
- const t = 1, r = 3, a = 8, s = 11, f = /^((HTML|SVG)\w*)?Element$/, u = (h) => {
396
+ const t = 1, r = 3, o = 8, s = 11, c = /^((HTML|SVG)\w*)?Element$/, u = (h) => {
397
397
  try {
398
398
  return typeof h.hasAttribute == "function" && h.hasAttribute("is");
399
399
  } catch {
400
400
  return !1;
401
401
  }
402
402
  }, p = (h) => {
403
- const w = h.constructor.name, { nodeType: c, tagName: A } = h, I = typeof A == "string" && A.includes("-") || u(h);
404
- return c === t && (f.test(w) || I) || c === r && w === "Text" || c === a && w === "Comment" || c === s && w === "DocumentFragment";
403
+ const w = h.constructor.name, { nodeType: f, tagName: A } = h, I = typeof A == "string" && A.includes("-") || u(h);
404
+ return f === t && (c.test(w) || I) || f === r && w === "Text" || f === o && w === "Comment" || f === s && w === "DocumentFragment";
405
405
  }, n = (h) => {
406
406
  var w;
407
407
  return (h == null || (w = h.constructor) === null || w === void 0 ? void 0 : w.name) && p(h);
408
408
  };
409
409
  ne.test = n;
410
- function o(h) {
410
+ function a(h) {
411
411
  return h.nodeType === r;
412
412
  }
413
413
  function l(h) {
414
- return h.nodeType === a;
414
+ return h.nodeType === o;
415
415
  }
416
416
  function i(h) {
417
417
  return h.nodeType === s;
418
418
  }
419
- const d = (h, w, c, A, I, x) => {
420
- if (o(h))
419
+ const d = (h, w, f, A, I, x) => {
420
+ if (a(h))
421
421
  return (0, e.printText)(h.data, w);
422
422
  if (l(h))
423
423
  return (0, e.printComment)(h.data, w);
@@ -428,7 +428,7 @@ function $r() {
428
428
  i(h) ? [] : Array.from(h.attributes).map((y) => y.name).sort(),
429
429
  i(h) ? {} : Array.from(h.attributes).reduce((y, g) => (y[g.name] = g.value, y), {}),
430
430
  w,
431
- c + w.indent,
431
+ f + w.indent,
432
432
  A,
433
433
  I,
434
434
  x
@@ -436,13 +436,13 @@ function $r() {
436
436
  (0, e.printChildren)(
437
437
  Array.prototype.slice.call(h.childNodes || h.children),
438
438
  w,
439
- c + w.indent,
439
+ f + w.indent,
440
440
  A,
441
441
  I,
442
442
  x
443
443
  ),
444
444
  w,
445
- c
445
+ f
446
446
  );
447
447
  };
448
448
  ne.serialize = d;
@@ -459,10 +459,10 @@ function zr() {
459
459
  value: !0
460
460
  }), ie.test = ie.serialize = ie.default = void 0;
461
461
  var e = He();
462
- const t = "@@__IMMUTABLE_ITERABLE__@@", r = "@@__IMMUTABLE_LIST__@@", a = "@@__IMMUTABLE_KEYED__@@", s = "@@__IMMUTABLE_MAP__@@", f = "@@__IMMUTABLE_ORDERED__@@", u = "@@__IMMUTABLE_RECORD__@@", p = "@@__IMMUTABLE_SEQ__@@", n = "@@__IMMUTABLE_SET__@@", o = "@@__IMMUTABLE_STACK__@@", l = (g) => "Immutable." + g, i = (g) => "[" + g + "]", d = " ", m = "…", E = (g, v, _, R, B, N, S) => ++R > v.maxDepth ? i(l(S)) : l(S) + d + "{" + (0, e.printIteratorEntries)(
462
+ const t = "@@__IMMUTABLE_ITERABLE__@@", r = "@@__IMMUTABLE_LIST__@@", o = "@@__IMMUTABLE_KEYED__@@", s = "@@__IMMUTABLE_MAP__@@", c = "@@__IMMUTABLE_ORDERED__@@", u = "@@__IMMUTABLE_RECORD__@@", p = "@@__IMMUTABLE_SEQ__@@", n = "@@__IMMUTABLE_SET__@@", a = "@@__IMMUTABLE_STACK__@@", l = (g) => "Immutable." + g, i = (g) => "[" + g + "]", d = " ", m = "…", E = (g, v, C, R, B, N, S) => ++R > v.maxDepth ? i(l(S)) : l(S) + d + "{" + (0, e.printIteratorEntries)(
463
463
  g.entries(),
464
464
  v,
465
- _,
465
+ C,
466
466
  R,
467
467
  B,
468
468
  N
@@ -472,10 +472,10 @@ function zr() {
472
472
  return {
473
473
  next() {
474
474
  if (v < g._keys.length) {
475
- const _ = g._keys[v++];
475
+ const C = g._keys[v++];
476
476
  return {
477
477
  done: !1,
478
- value: [_, g.get(_)]
478
+ value: [C, g.get(C)]
479
479
  };
480
480
  }
481
481
  return {
@@ -485,23 +485,23 @@ function zr() {
485
485
  }
486
486
  };
487
487
  }
488
- const w = (g, v, _, R, B, N) => {
488
+ const w = (g, v, C, R, B, N) => {
489
489
  const S = l(g._name || "Record");
490
490
  return ++R > v.maxDepth ? i(S) : S + d + "{" + (0, e.printIteratorEntries)(
491
491
  h(g),
492
492
  v,
493
- _,
493
+ C,
494
494
  R,
495
495
  B,
496
496
  N
497
497
  ) + "}";
498
- }, c = (g, v, _, R, B, N) => {
498
+ }, f = (g, v, C, R, B, N) => {
499
499
  const S = l("Seq");
500
- return ++R > v.maxDepth ? i(S) : g[a] ? S + d + "{" + // from Immutable collection of entries or from ECMAScript object
500
+ return ++R > v.maxDepth ? i(S) : g[o] ? S + d + "{" + // from Immutable collection of entries or from ECMAScript object
501
501
  (g._iter || g._object ? (0, e.printIteratorEntries)(
502
502
  g.entries(),
503
503
  v,
504
- _,
504
+ C,
505
505
  R,
506
506
  B,
507
507
  N
@@ -511,30 +511,30 @@ function zr() {
511
511
  g._iterable ? (0, e.printIteratorValues)(
512
512
  g.values(),
513
513
  v,
514
- _,
514
+ C,
515
515
  R,
516
516
  B,
517
517
  N
518
518
  ) : m) + "]";
519
- }, A = (g, v, _, R, B, N, S) => ++R > v.maxDepth ? i(l(S)) : l(S) + d + "[" + (0, e.printIteratorValues)(
519
+ }, A = (g, v, C, R, B, N, S) => ++R > v.maxDepth ? i(l(S)) : l(S) + d + "[" + (0, e.printIteratorValues)(
520
520
  g.values(),
521
521
  v,
522
- _,
522
+ C,
523
523
  R,
524
524
  B,
525
525
  N
526
- ) + "]", I = (g, v, _, R, B, N) => g[s] ? E(
526
+ ) + "]", I = (g, v, C, R, B, N) => g[s] ? E(
527
527
  g,
528
528
  v,
529
- _,
529
+ C,
530
530
  R,
531
531
  B,
532
532
  N,
533
- g[f] ? "OrderedMap" : "Map"
533
+ g[c] ? "OrderedMap" : "Map"
534
534
  ) : g[r] ? A(
535
535
  g,
536
536
  v,
537
- _,
537
+ C,
538
538
  R,
539
539
  B,
540
540
  N,
@@ -542,20 +542,20 @@ function zr() {
542
542
  ) : g[n] ? A(
543
543
  g,
544
544
  v,
545
- _,
545
+ C,
546
546
  R,
547
547
  B,
548
548
  N,
549
- g[f] ? "OrderedSet" : "Set"
550
- ) : g[o] ? A(
549
+ g[c] ? "OrderedSet" : "Set"
550
+ ) : g[a] ? A(
551
551
  g,
552
552
  v,
553
- _,
553
+ C,
554
554
  R,
555
555
  B,
556
556
  N,
557
557
  "Stack"
558
- ) : g[p] ? c(g, v, _, R, B, N) : w(g, v, _, R, B, N);
558
+ ) : g[p] ? f(g, v, C, R, B, N) : w(g, v, C, R, B, N);
559
559
  ie.serialize = I;
560
560
  const x = (g) => g && (g[t] === !0 || g[u] === !0);
561
561
  ie.test = x;
@@ -570,22 +570,22 @@ var Dt;
570
570
  function Ur() {
571
571
  if (Dt) return D;
572
572
  Dt = 1;
573
- var e = 60103, t = 60106, r = 60107, a = 60108, s = 60114, f = 60109, u = 60110, p = 60112, n = 60113, o = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
573
+ var e = 60103, t = 60106, r = 60107, o = 60108, s = 60114, c = 60109, u = 60110, p = 60112, n = 60113, a = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
574
574
  if (typeof Symbol == "function" && Symbol.for) {
575
- var c = Symbol.for;
576
- e = c("react.element"), t = c("react.portal"), r = c("react.fragment"), a = c("react.strict_mode"), s = c("react.profiler"), f = c("react.provider"), u = c("react.context"), p = c("react.forward_ref"), n = c("react.suspense"), o = c("react.suspense_list"), l = c("react.memo"), i = c("react.lazy"), d = c("react.block"), m = c("react.server.block"), E = c("react.fundamental"), h = c("react.debug_trace_mode"), w = c("react.legacy_hidden");
575
+ var f = Symbol.for;
576
+ e = f("react.element"), t = f("react.portal"), r = f("react.fragment"), o = f("react.strict_mode"), s = f("react.profiler"), c = f("react.provider"), u = f("react.context"), p = f("react.forward_ref"), n = f("react.suspense"), a = f("react.suspense_list"), l = f("react.memo"), i = f("react.lazy"), d = f("react.block"), m = f("react.server.block"), E = f("react.fundamental"), h = f("react.debug_trace_mode"), w = f("react.legacy_hidden");
577
577
  }
578
578
  function A(S) {
579
579
  if (typeof S == "object" && S !== null) {
580
- var C = S.$$typeof;
581
- switch (C) {
580
+ var _ = S.$$typeof;
581
+ switch (_) {
582
582
  case e:
583
583
  switch (S = S.type, S) {
584
584
  case r:
585
585
  case s:
586
- case a:
587
- case n:
588
586
  case o:
587
+ case n:
588
+ case a:
589
589
  return S;
590
590
  default:
591
591
  switch (S = S && S.$$typeof, S) {
@@ -593,26 +593,26 @@ function Ur() {
593
593
  case p:
594
594
  case i:
595
595
  case l:
596
- case f:
596
+ case c:
597
597
  return S;
598
598
  default:
599
- return C;
599
+ return _;
600
600
  }
601
601
  }
602
602
  case t:
603
- return C;
603
+ return _;
604
604
  }
605
605
  }
606
606
  }
607
- var I = f, x = e, M = p, y = r, g = i, v = l, _ = t, R = s, B = a, N = n;
608
- return D.ContextConsumer = u, D.ContextProvider = I, D.Element = x, D.ForwardRef = M, D.Fragment = y, D.Lazy = g, D.Memo = v, D.Portal = _, D.Profiler = R, D.StrictMode = B, D.Suspense = N, D.isAsyncMode = function() {
607
+ var I = c, x = e, M = p, y = r, g = i, v = l, C = t, R = s, B = o, N = n;
608
+ return D.ContextConsumer = u, D.ContextProvider = I, D.Element = x, D.ForwardRef = M, D.Fragment = y, D.Lazy = g, D.Memo = v, D.Portal = C, D.Profiler = R, D.StrictMode = B, D.Suspense = N, D.isAsyncMode = function() {
609
609
  return !1;
610
610
  }, D.isConcurrentMode = function() {
611
611
  return !1;
612
612
  }, D.isContextConsumer = function(S) {
613
613
  return A(S) === u;
614
614
  }, D.isContextProvider = function(S) {
615
- return A(S) === f;
615
+ return A(S) === c;
616
616
  }, D.isElement = function(S) {
617
617
  return typeof S == "object" && S !== null && S.$$typeof === e;
618
618
  }, D.isForwardRef = function(S) {
@@ -628,25 +628,25 @@ function Ur() {
628
628
  }, D.isProfiler = function(S) {
629
629
  return A(S) === s;
630
630
  }, D.isStrictMode = function(S) {
631
- return A(S) === a;
631
+ return A(S) === o;
632
632
  }, D.isSuspense = function(S) {
633
633
  return A(S) === n;
634
634
  }, D.isValidElementType = function(S) {
635
- return typeof S == "string" || typeof S == "function" || S === r || S === s || S === h || S === a || S === n || S === o || S === w || typeof S == "object" && S !== null && (S.$$typeof === i || S.$$typeof === l || S.$$typeof === f || S.$$typeof === u || S.$$typeof === p || S.$$typeof === E || S.$$typeof === d || S[0] === m);
635
+ return typeof S == "string" || typeof S == "function" || S === r || S === s || S === h || S === o || S === n || S === a || S === w || typeof S == "object" && S !== null && (S.$$typeof === i || S.$$typeof === l || S.$$typeof === c || S.$$typeof === u || S.$$typeof === p || S.$$typeof === E || S.$$typeof === d || S[0] === m);
636
636
  }, D.typeOf = A, D;
637
637
  }
638
638
  var q = {};
639
639
  var qt;
640
640
  function Wr() {
641
641
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && (function() {
642
- var e = 60103, t = 60106, r = 60107, a = 60108, s = 60114, f = 60109, u = 60110, p = 60112, n = 60113, o = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
642
+ var e = 60103, t = 60106, r = 60107, o = 60108, s = 60114, c = 60109, u = 60110, p = 60112, n = 60113, a = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
643
643
  if (typeof Symbol == "function" && Symbol.for) {
644
- var c = Symbol.for;
645
- e = c("react.element"), t = c("react.portal"), r = c("react.fragment"), a = c("react.strict_mode"), s = c("react.profiler"), f = c("react.provider"), u = c("react.context"), p = c("react.forward_ref"), n = c("react.suspense"), o = c("react.suspense_list"), l = c("react.memo"), i = c("react.lazy"), d = c("react.block"), m = c("react.server.block"), E = c("react.fundamental"), c("react.scope"), c("react.opaque.id"), h = c("react.debug_trace_mode"), c("react.offscreen"), w = c("react.legacy_hidden");
644
+ var f = Symbol.for;
645
+ e = f("react.element"), t = f("react.portal"), r = f("react.fragment"), o = f("react.strict_mode"), s = f("react.profiler"), c = f("react.provider"), u = f("react.context"), p = f("react.forward_ref"), n = f("react.suspense"), a = f("react.suspense_list"), l = f("react.memo"), i = f("react.lazy"), d = f("react.block"), m = f("react.server.block"), E = f("react.fundamental"), f("react.scope"), f("react.opaque.id"), h = f("react.debug_trace_mode"), f("react.offscreen"), w = f("react.legacy_hidden");
646
646
  }
647
647
  var A = !1;
648
648
  function I(T) {
649
- return !!(typeof T == "string" || typeof T == "function" || T === r || T === s || T === h || T === a || T === n || T === o || T === w || A || typeof T == "object" && T !== null && (T.$$typeof === i || T.$$typeof === l || T.$$typeof === f || T.$$typeof === u || T.$$typeof === p || T.$$typeof === E || T.$$typeof === d || T[0] === m));
649
+ return !!(typeof T == "string" || typeof T == "function" || T === r || T === s || T === h || T === o || T === n || T === a || T === w || A || typeof T == "object" && T !== null && (T.$$typeof === i || T.$$typeof === l || T.$$typeof === c || T.$$typeof === u || T.$$typeof === p || T.$$typeof === E || T.$$typeof === d || T[0] === m));
650
650
  }
651
651
  function x(T) {
652
652
  if (typeof T == "object" && T !== null) {
@@ -657,9 +657,9 @@ function Wr() {
657
657
  switch (P) {
658
658
  case r:
659
659
  case s:
660
- case a:
661
- case n:
662
660
  case o:
661
+ case n:
662
+ case a:
663
663
  return P;
664
664
  default:
665
665
  var U = P && P.$$typeof;
@@ -668,7 +668,7 @@ function Wr() {
668
668
  case p:
669
669
  case i:
670
670
  case l:
671
- case f:
671
+ case c:
672
672
  return U;
673
673
  default:
674
674
  return L;
@@ -679,7 +679,7 @@ function Wr() {
679
679
  }
680
680
  }
681
681
  }
682
- var M = u, y = f, g = e, v = p, _ = r, R = i, B = l, N = t, S = s, C = a, W = n, z = !1, k = !1;
682
+ var M = u, y = c, g = e, v = p, C = r, R = i, B = l, N = t, S = s, _ = o, W = n, z = !1, k = !1;
683
683
  function Z(T) {
684
684
  return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
685
685
  }
@@ -689,8 +689,8 @@ function Wr() {
689
689
  function Ke(T) {
690
690
  return x(T) === u;
691
691
  }
692
- function _e(T) {
693
- return x(T) === f;
692
+ function Ce(T) {
693
+ return x(T) === c;
694
694
  }
695
695
  function Re(T) {
696
696
  return typeof T == "object" && T !== null && T.$$typeof === e;
@@ -714,12 +714,12 @@ function Wr() {
714
714
  return x(T) === s;
715
715
  }
716
716
  function b(T) {
717
- return x(T) === a;
717
+ return x(T) === o;
718
718
  }
719
719
  function O(T) {
720
720
  return x(T) === n;
721
721
  }
722
- q.ContextConsumer = M, q.ContextProvider = y, q.Element = g, q.ForwardRef = v, q.Fragment = _, q.Lazy = R, q.Memo = B, q.Portal = N, q.Profiler = S, q.StrictMode = C, q.Suspense = W, q.isAsyncMode = Z, q.isConcurrentMode = Se, q.isContextConsumer = Ke, q.isContextProvider = _e, q.isElement = Re, q.isForwardRef = Be, q.isFragment = Ne, q.isLazy = Je, q.isMemo = Pe, q.isPortal = Qe, q.isProfiler = Xe, q.isStrictMode = b, q.isSuspense = O, q.isValidElementType = I, q.typeOf = x;
722
+ q.ContextConsumer = M, q.ContextProvider = y, q.Element = g, q.ForwardRef = v, q.Fragment = C, q.Lazy = R, q.Memo = B, q.Portal = N, q.Profiler = S, q.StrictMode = _, q.Suspense = W, q.isAsyncMode = Z, q.isConcurrentMode = Se, q.isContextConsumer = Ke, q.isContextProvider = Ce, q.isElement = Re, q.isForwardRef = Be, q.isFragment = Ne, q.isLazy = Je, q.isMemo = Pe, q.isPortal = Qe, q.isProfiler = Xe, q.isStrictMode = b, q.isSuspense = O, q.isValidElementType = I, q.typeOf = x;
723
723
  })()), q;
724
724
  }
725
725
  var jt;
@@ -732,7 +732,7 @@ function Hr() {
732
732
  kt = 1, Object.defineProperty(oe, "__esModule", {
733
733
  value: !0
734
734
  }), oe.test = oe.serialize = oe.default = void 0;
735
- var e = a(Vr()), t = gt();
735
+ var e = o(Vr()), t = gt();
736
736
  function r(i) {
737
737
  if (typeof WeakMap != "function") return null;
738
738
  var d = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap();
@@ -740,7 +740,7 @@ function Hr() {
740
740
  return E ? m : d;
741
741
  })(i);
742
742
  }
743
- function a(i, d) {
743
+ function o(i, d) {
744
744
  if (i && i.__esModule)
745
745
  return i;
746
746
  if (i === null || typeof i != "object" && typeof i != "function")
@@ -751,14 +751,14 @@ function Hr() {
751
751
  var E = {}, h = Object.defineProperty && Object.getOwnPropertyDescriptor;
752
752
  for (var w in i)
753
753
  if (w !== "default" && Object.prototype.hasOwnProperty.call(i, w)) {
754
- var c = h ? Object.getOwnPropertyDescriptor(i, w) : null;
755
- c && (c.get || c.set) ? Object.defineProperty(E, w, c) : E[w] = i[w];
754
+ var f = h ? Object.getOwnPropertyDescriptor(i, w) : null;
755
+ f && (f.get || f.set) ? Object.defineProperty(E, w, f) : E[w] = i[w];
756
756
  }
757
757
  return E.default = i, m && m.set(i, E), E;
758
758
  }
759
759
  const s = (i, d = []) => (Array.isArray(i) ? i.forEach((m) => {
760
760
  s(m, d);
761
- }) : i != null && i !== !1 && d.push(i), d), f = (i) => {
761
+ }) : i != null && i !== !1 && d.push(i), d), c = (i) => {
762
762
  const d = i.type;
763
763
  if (typeof d == "string")
764
764
  return d;
@@ -788,8 +788,8 @@ function Hr() {
788
788
  }, u = (i) => {
789
789
  const { props: d } = i;
790
790
  return Object.keys(d).filter((m) => m !== "children" && d[m] !== void 0).sort();
791
- }, p = (i, d, m, E, h, w) => ++E > d.maxDepth ? (0, t.printElementAsLeaf)(f(i), d) : (0, t.printElement)(
792
- f(i),
791
+ }, p = (i, d, m, E, h, w) => ++E > d.maxDepth ? (0, t.printElementAsLeaf)(c(i), d) : (0, t.printElement)(
792
+ c(i),
793
793
  (0, t.printProps)(
794
794
  u(i),
795
795
  i.props,
@@ -828,22 +828,22 @@ function Gr() {
828
828
  var e = gt(), t = (function() {
829
829
  return typeof globalThis < "u" ? globalThis : typeof t < "u" ? t : typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
830
830
  })(), r = t["jest-symbol-do-not-touch"] || t.Symbol;
831
- const a = typeof r == "function" && r.for ? r.for("react.test.json") : 245830487, s = (o) => {
832
- const { props: l } = o;
831
+ const o = typeof r == "function" && r.for ? r.for("react.test.json") : 245830487, s = (a) => {
832
+ const { props: l } = a;
833
833
  return l ? Object.keys(l).filter((i) => l[i] !== void 0).sort() : [];
834
- }, f = (o, l, i, d, m, E) => ++d > l.maxDepth ? (0, e.printElementAsLeaf)(o.type, l) : (0, e.printElement)(
835
- o.type,
836
- o.props ? (0, e.printProps)(
837
- s(o),
838
- o.props,
834
+ }, c = (a, l, i, d, m, E) => ++d > l.maxDepth ? (0, e.printElementAsLeaf)(a.type, l) : (0, e.printElement)(
835
+ a.type,
836
+ a.props ? (0, e.printProps)(
837
+ s(a),
838
+ a.props,
839
839
  l,
840
840
  i + l.indent,
841
841
  d,
842
842
  m,
843
843
  E
844
844
  ) : "",
845
- o.children ? (0, e.printChildren)(
846
- o.children,
845
+ a.children ? (0, e.printChildren)(
846
+ a.children,
847
847
  l,
848
848
  i + l.indent,
849
849
  d,
@@ -853,11 +853,11 @@ function Gr() {
853
853
  l,
854
854
  i
855
855
  );
856
- ae.serialize = f;
857
- const u = (o) => o && o.$$typeof === a;
856
+ ae.serialize = c;
857
+ const u = (a) => a && a.$$typeof === o;
858
858
  ae.test = u;
859
859
  var n = {
860
- serialize: f,
860
+ serialize: c,
861
861
  test: u
862
862
  };
863
863
  return ae.default = n, ae;
@@ -868,15 +868,15 @@ function Yr() {
868
868
  $t = 1, Object.defineProperty(X, "__esModule", {
869
869
  value: !0
870
870
  }), X.default = X.DEFAULT_OPTIONS = void 0, X.format = Pe, X.plugins = void 0;
871
- var e = o(er()), t = He(), r = o(
871
+ var e = a(er()), t = He(), r = a(
872
872
  Dr()
873
- ), a = o(jr()), s = o(kr()), f = o($r()), u = o(zr()), p = o(Hr()), n = o(
873
+ ), o = a(jr()), s = a(kr()), c = a($r()), u = a(zr()), p = a(Hr()), n = a(
874
874
  Gr()
875
875
  );
876
- function o(b) {
876
+ function a(b) {
877
877
  return b && b.__esModule ? b : { default: b };
878
878
  }
879
- const l = Object.prototype.toString, i = Date.prototype.toISOString, d = Error.prototype.toString, m = RegExp.prototype.toString, E = (b) => typeof b.constructor == "function" && b.constructor.name || "Object", h = (b) => typeof window < "u" && b === window, w = /^Symbol\((.*)\)(.*)$/, c = /\n/gi;
879
+ const l = Object.prototype.toString, i = Date.prototype.toISOString, d = Error.prototype.toString, m = RegExp.prototype.toString, E = (b) => typeof b.constructor == "function" && b.constructor.name || "Object", h = (b) => typeof window < "u" && b === window, w = /^Symbol\((.*)\)(.*)$/, f = /\n/gi;
880
880
  class A extends Error {
881
881
  constructor(O, T) {
882
882
  super(O), this.stack = T, this.name = this.constructor.name;
@@ -900,7 +900,7 @@ function Yr() {
900
900
  function v(b) {
901
901
  return "[" + d.call(b) + "]";
902
902
  }
903
- function _(b, O, T, L) {
903
+ function C(b, O, T, L) {
904
904
  if (b === !0 || b === !1)
905
905
  return "" + b;
906
906
  if (b === void 0)
@@ -927,7 +927,7 @@ function Yr() {
927
927
  P = P.slice(), P.push(b);
928
928
  const G = ++L > O.maxDepth, Y = O.min;
929
929
  if (O.callToJSON && !G && b.toJSON && typeof b.toJSON == "function" && !U)
930
- return C(b.toJSON(), O, T, L, P, !0);
930
+ return _(b.toJSON(), O, T, L, P, !0);
931
931
  const pe = l.call(b);
932
932
  return pe === "[object Arguments]" ? G ? "[Arguments]" : (Y ? "" : "Arguments ") + "[" + (0, t.printListItems)(
933
933
  b,
@@ -935,21 +935,21 @@ function Yr() {
935
935
  T,
936
936
  L,
937
937
  P,
938
- C
938
+ _
939
939
  ) + "]" : I(pe) ? G ? "[" + b.constructor.name + "]" : (Y || !O.printBasicPrototype && b.constructor.name === "Array" ? "" : b.constructor.name + " ") + "[" + (0, t.printListItems)(
940
940
  b,
941
941
  O,
942
942
  T,
943
943
  L,
944
944
  P,
945
- C
945
+ _
946
946
  ) + "]" : pe === "[object Map]" ? G ? "[Map]" : "Map {" + (0, t.printIteratorEntries)(
947
947
  b.entries(),
948
948
  O,
949
949
  T,
950
950
  L,
951
951
  P,
952
- C,
952
+ _,
953
953
  " => "
954
954
  ) + "}" : pe === "[object Set]" ? G ? "[Set]" : "Set {" + (0, t.printIteratorValues)(
955
955
  b.values(),
@@ -957,14 +957,14 @@ function Yr() {
957
957
  T,
958
958
  L,
959
959
  P,
960
- C
960
+ _
961
961
  ) + "}" : G || h(b) ? "[" + E(b) + "]" : (Y || !O.printBasicPrototype && E(b) === "Object" ? "" : E(b) + " ") + "{" + (0, t.printObjectProperties)(
962
962
  b,
963
963
  O,
964
964
  T,
965
965
  L,
966
966
  P,
967
- C
967
+ _
968
968
  ) + "}";
969
969
  }
970
970
  function B(b) {
@@ -973,12 +973,12 @@ function Yr() {
973
973
  function N(b, O, T, L, P, U) {
974
974
  let G;
975
975
  try {
976
- G = B(b) ? b.serialize(O, T, L, P, U, C) : b.print(
976
+ G = B(b) ? b.serialize(O, T, L, P, U, _) : b.print(
977
977
  O,
978
- (Y) => C(Y, T, L, P, U),
978
+ (Y) => _(Y, T, L, P, U),
979
979
  (Y) => {
980
980
  const pe = L + T.indent;
981
- return pe + Y.replace(c, `
981
+ return pe + Y.replace(f, `
982
982
  ` + pe);
983
983
  },
984
984
  {
@@ -1007,11 +1007,11 @@ function Yr() {
1007
1007
  }
1008
1008
  return null;
1009
1009
  }
1010
- function C(b, O, T, L, P, U) {
1010
+ function _(b, O, T, L, P, U) {
1011
1011
  const G = S(O.plugins, b);
1012
1012
  if (G !== null)
1013
1013
  return N(G, b, O, T, L, P);
1014
- const Y = _(
1014
+ const Y = C(
1015
1015
  b,
1016
1016
  O.printFunctionName,
1017
1017
  O.escapeRegex,
@@ -1076,7 +1076,7 @@ function Yr() {
1076
1076
  }, /* @__PURE__ */ Object.create(null)), Ke = () => z.reduce((b, O) => (b[O] = {
1077
1077
  close: "",
1078
1078
  open: ""
1079
- }, b), /* @__PURE__ */ Object.create(null)), _e = (b) => b && b.printFunctionName !== void 0 ? b.printFunctionName : k.printFunctionName, Re = (b) => b && b.escapeRegex !== void 0 ? b.escapeRegex : k.escapeRegex, Be = (b) => b && b.escapeString !== void 0 ? b.escapeString : k.escapeString, Ne = (b) => {
1079
+ }, b), /* @__PURE__ */ Object.create(null)), Ce = (b) => b && b.printFunctionName !== void 0 ? b.printFunctionName : k.printFunctionName, Re = (b) => b && b.escapeRegex !== void 0 ? b.escapeRegex : k.escapeRegex, Be = (b) => b && b.escapeString !== void 0 ? b.escapeString : k.escapeString, Ne = (b) => {
1080
1080
  var O;
1081
1081
  return {
1082
1082
  callToJSON: b && b.callToJSON !== void 0 ? b.callToJSON : k.callToJSON,
@@ -1091,7 +1091,7 @@ function Yr() {
1091
1091
  min: b && b.min !== void 0 ? b.min : k.min,
1092
1092
  plugins: b && b.plugins !== void 0 ? b.plugins : k.plugins,
1093
1093
  printBasicPrototype: (O = b?.printBasicPrototype) !== null && O !== void 0 ? O : !0,
1094
- printFunctionName: _e(b),
1094
+ printFunctionName: Ce(b),
1095
1095
  spacingInner: b && b.min ? " " : `
1096
1096
  `,
1097
1097
  spacingOuter: b && b.min ? "" : `
@@ -1107,9 +1107,9 @@ function Yr() {
1107
1107
  if (L !== null)
1108
1108
  return N(L, b, Ne(O), "", 0, []);
1109
1109
  }
1110
- const T = _(
1110
+ const T = C(
1111
1111
  b,
1112
- _e(O),
1112
+ Ce(O),
1113
1113
  Re(O),
1114
1114
  Be(O)
1115
1115
  );
@@ -1117,9 +1117,9 @@ function Yr() {
1117
1117
  }
1118
1118
  const Qe = {
1119
1119
  AsymmetricMatcher: r.default,
1120
- ConvertAnsi: a.default,
1120
+ ConvertAnsi: o.default,
1121
1121
  DOMCollection: s.default,
1122
- DOMElement: f.default,
1122
+ DOMElement: c.default,
1123
1123
  Immutable: u.default,
1124
1124
  ReactElement: p.default,
1125
1125
  ReactTestComponent: n.default
@@ -1142,12 +1142,12 @@ function Zr(e) {
1142
1142
  return Math.min(Math.max(t, 0), Xr);
1143
1143
  }
1144
1144
  function Q(e, t) {
1145
- var r = Array, a = Object(e);
1145
+ var r = Array, o = Object(e);
1146
1146
  if (e == null)
1147
1147
  throw new TypeError("Array.from requires an array-like object - not null or undefined");
1148
- for (var s = Zr(a.length), f = Jr(r) ? Object(new r(s)) : new Array(s), u = 0, p; u < s; )
1149
- p = a[u], f[u] = p, u += 1;
1150
- return f.length = s, f;
1148
+ for (var s = Zr(o.length), c = Jr(r) ? Object(new r(s)) : new Array(s), u = 0, p; u < s; )
1149
+ p = o[u], c[u] = p, u += 1;
1150
+ return c.length = s, c;
1151
1151
  }
1152
1152
  function xe(e) {
1153
1153
  "@babel/helpers - typeof";
@@ -1163,8 +1163,8 @@ function en(e, t) {
1163
1163
  }
1164
1164
  function tn(e, t) {
1165
1165
  for (var r = 0; r < t.length; r++) {
1166
- var a = t[r];
1167
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, rr(a.key), a);
1166
+ var o = t[r];
1167
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, rr(o.key), o);
1168
1168
  }
1169
1169
  }
1170
1170
  function rn(e, t, r) {
@@ -1181,8 +1181,8 @@ function on(e, t) {
1181
1181
  if (xe(e) !== "object" || e === null) return e;
1182
1182
  var r = e[Symbol.toPrimitive];
1183
1183
  if (r !== void 0) {
1184
- var a = r.call(e, t);
1185
- if (xe(a) !== "object") return a;
1184
+ var o = r.call(e, t);
1185
+ if (xe(o) !== "object") return o;
1186
1186
  throw new TypeError("@@toPrimitive must return a primitive value.");
1187
1187
  }
1188
1188
  return (t === "string" ? String : Number)(e);
@@ -1205,17 +1205,17 @@ var an = /* @__PURE__ */ (function() {
1205
1205
  }, {
1206
1206
  key: "delete",
1207
1207
  value: function(r) {
1208
- var a = this.items.length;
1208
+ var o = this.items.length;
1209
1209
  return this.items = this.items.filter(function(s) {
1210
1210
  return s !== r;
1211
- }), a !== this.items.length;
1211
+ }), o !== this.items.length;
1212
1212
  }
1213
1213
  }, {
1214
1214
  key: "forEach",
1215
1215
  value: function(r) {
1216
- var a = this;
1216
+ var o = this;
1217
1217
  this.items.forEach(function(s) {
1218
- r(s, s, a);
1218
+ r(s, s, o);
1219
1219
  });
1220
1220
  }
1221
1221
  }, {
@@ -1326,8 +1326,8 @@ function cn(e, t) {
1326
1326
  "aria-relevant",
1327
1327
  "aria-roledescription"
1328
1328
  ].some(function(r) {
1329
- var a;
1330
- return e.hasAttribute(r) && !((a = sn[t]) !== null && a !== void 0 && a.has(r));
1329
+ var o;
1330
+ return e.hasAttribute(r) && !((o = sn[t]) !== null && o !== void 0 && o.has(r));
1331
1331
  });
1332
1332
  }
1333
1333
  function nr(e, t) {
@@ -1356,8 +1356,8 @@ function dn(e) {
1356
1356
  case "img":
1357
1357
  return e.getAttribute("alt") === "" && !nr(e, "img") ? "presentation" : "img";
1358
1358
  case "input": {
1359
- var r = e, a = r.type;
1360
- switch (a) {
1359
+ var r = e, o = r.type;
1360
+ switch (o) {
1361
1361
  case "button":
1362
1362
  case "image":
1363
1363
  case "reset":
@@ -1365,7 +1365,7 @@ function dn(e) {
1365
1365
  return "button";
1366
1366
  case "checkbox":
1367
1367
  case "radio":
1368
- return a;
1368
+ return o;
1369
1369
  case "range":
1370
1370
  return "slider";
1371
1371
  case "email":
@@ -1442,9 +1442,9 @@ function Sn(e) {
1442
1442
  }
1443
1443
  function $e(e, t) {
1444
1444
  if (F(e) && e.hasAttribute(t)) {
1445
- var r = e.getAttribute(t).split(" "), a = e.getRootNode ? e.getRootNode() : e.ownerDocument;
1445
+ var r = e.getAttribute(t).split(" "), o = e.getRootNode ? e.getRootNode() : e.ownerDocument;
1446
1446
  return r.map(function(s) {
1447
- return a.getElementById(s);
1447
+ return o.getElementById(s);
1448
1448
  }).filter(
1449
1449
  function(s) {
1450
1450
  return s !== null;
@@ -1483,17 +1483,17 @@ function or(e, t) {
1483
1483
  }
1484
1484
  function zt(e, t) {
1485
1485
  var r = Q(e.querySelectorAll(t));
1486
- return $e(e, "aria-owns").forEach(function(a) {
1487
- r.push.apply(r, Q(a.querySelectorAll(t)));
1486
+ return $e(e, "aria-owns").forEach(function(o) {
1487
+ r.push.apply(r, Q(o.querySelectorAll(t)));
1488
1488
  }), r;
1489
1489
  }
1490
1490
  function Mn(e) {
1491
1491
  return mn(e) ? e.selectedOptions || zt(e, "[selected]") : zt(e, '[aria-selected="true"]');
1492
1492
  }
1493
- function Cn(e) {
1493
+ function _n(e) {
1494
1494
  return le(e, ["none", "presentation"]);
1495
1495
  }
1496
- function _n(e) {
1496
+ function Cn(e) {
1497
1497
  return ir(e);
1498
1498
  }
1499
1499
  function Rn(e) {
@@ -1519,8 +1519,8 @@ function ur(e) {
1519
1519
  var t = null;
1520
1520
  return e.childNodes.forEach(function(r) {
1521
1521
  if (t === null && F(r)) {
1522
- var a = ur(r);
1523
- a !== null && (t = a);
1522
+ var o = ur(r);
1523
+ o !== null && (t = o);
1524
1524
  }
1525
1525
  }), t;
1526
1526
  }
@@ -1539,8 +1539,8 @@ function Ln(e) {
1539
1539
  if (!ar(e))
1540
1540
  return null;
1541
1541
  var r = e.ownerDocument;
1542
- return Q(r.querySelectorAll("label")).filter(function(a) {
1543
- return Pn(a) === e;
1542
+ return Q(r.querySelectorAll("label")).filter(function(o) {
1543
+ return Pn(o) === e;
1544
1544
  });
1545
1545
  }
1546
1546
  function Dn(e) {
@@ -1548,40 +1548,40 @@ function Dn(e) {
1548
1548
  return t.length === 0 ? Q(e.childNodes) : t;
1549
1549
  }
1550
1550
  function lr(e) {
1551
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new un(), a = hn(e), s = t.compute, f = s === void 0 ? "name" : s, u = t.computedStyleSupportsPseudoElements, p = u === void 0 ? t.getComputedStyle !== void 0 : u, n = t.getComputedStyle, o = n === void 0 ? a.getComputedStyle.bind(a) : n, l = t.hidden, i = l === void 0 ? !1 : l;
1552
- function d(c, A) {
1551
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new un(), o = hn(e), s = t.compute, c = s === void 0 ? "name" : s, u = t.computedStyleSupportsPseudoElements, p = u === void 0 ? t.getComputedStyle !== void 0 : u, n = t.getComputedStyle, a = n === void 0 ? o.getComputedStyle.bind(o) : n, l = t.hidden, i = l === void 0 ? !1 : l;
1552
+ function d(f, A) {
1553
1553
  var I = "";
1554
- if (F(c) && p) {
1555
- var x = o(c, "::before"), M = Ut(x);
1554
+ if (F(f) && p) {
1555
+ var x = a(f, "::before"), M = Ut(x);
1556
1556
  I = "".concat(M, " ").concat(I);
1557
1557
  }
1558
- var y = Tn(c) ? Dn(c) : Q(c.childNodes).concat($e(c, "aria-owns"));
1559
- if (y.forEach(function(_) {
1560
- var R = w(_, {
1558
+ var y = Tn(f) ? Dn(f) : Q(f.childNodes).concat($e(f, "aria-owns"));
1559
+ if (y.forEach(function(C) {
1560
+ var R = w(C, {
1561
1561
  isEmbeddedInLabel: A.isEmbeddedInLabel,
1562
1562
  isReferenced: !1,
1563
1563
  recursion: !0
1564
- }), B = F(_) ? o(_).getPropertyValue("display") : "inline", N = B !== "inline" ? " " : "";
1564
+ }), B = F(C) ? a(C).getPropertyValue("display") : "inline", N = B !== "inline" ? " " : "";
1565
1565
  I += "".concat(N).concat(R).concat(N);
1566
- }), F(c) && p) {
1567
- var g = o(c, "::after"), v = Ut(g);
1566
+ }), F(f) && p) {
1567
+ var g = a(f, "::after"), v = Ut(g);
1568
1568
  I = "".concat(I, " ").concat(v);
1569
1569
  }
1570
1570
  return I.trim();
1571
1571
  }
1572
- function m(c, A) {
1573
- var I = c.getAttributeNode(A);
1572
+ function m(f, A) {
1573
+ var I = f.getAttributeNode(A);
1574
1574
  return I !== null && !r.has(I) && I.value.trim() !== "" ? (r.add(I), I.value) : null;
1575
1575
  }
1576
- function E(c) {
1577
- return F(c) ? m(c, "title") : null;
1576
+ function E(f) {
1577
+ return F(f) ? m(f, "title") : null;
1578
1578
  }
1579
- function h(c) {
1580
- if (!F(c))
1579
+ function h(f) {
1580
+ if (!F(f))
1581
1581
  return null;
1582
- if (En(c)) {
1583
- r.add(c);
1584
- for (var A = Q(c.childNodes), I = 0; I < A.length; I += 1) {
1582
+ if (En(f)) {
1583
+ r.add(f);
1584
+ for (var A = Q(f.childNodes), I = 0; I < A.length; I += 1) {
1585
1585
  var x = A[I];
1586
1586
  if (vn(x))
1587
1587
  return w(x, {
@@ -1590,9 +1590,9 @@ function lr(e) {
1590
1590
  recursion: !1
1591
1591
  });
1592
1592
  }
1593
- } else if (yn(c)) {
1594
- r.add(c);
1595
- for (var M = Q(c.childNodes), y = 0; y < M.length; y += 1) {
1593
+ } else if (yn(f)) {
1594
+ r.add(f);
1595
+ for (var M = Q(f.childNodes), y = 0; y < M.length; y += 1) {
1596
1596
  var g = M[y];
1597
1597
  if (ir(g))
1598
1598
  return w(g, {
@@ -1601,35 +1601,35 @@ function lr(e) {
1601
1601
  recursion: !1
1602
1602
  });
1603
1603
  }
1604
- } else if (An(c)) {
1605
- r.add(c);
1606
- for (var v = Q(c.childNodes), _ = 0; _ < v.length; _ += 1) {
1607
- var R = v[_];
1604
+ } else if (An(f)) {
1605
+ r.add(f);
1606
+ for (var v = Q(f.childNodes), C = 0; C < v.length; C += 1) {
1607
+ var R = v[C];
1608
1608
  if (Sn(R))
1609
1609
  return R.textContent;
1610
1610
  }
1611
1611
  return null;
1612
- } else if (V(c) === "img" || V(c) === "area") {
1613
- var B = m(c, "alt");
1612
+ } else if (V(f) === "img" || V(f) === "area") {
1613
+ var B = m(f, "alt");
1614
1614
  if (B !== null)
1615
1615
  return B;
1616
- } else if (bn(c)) {
1617
- var N = m(c, "label");
1616
+ } else if (bn(f)) {
1617
+ var N = m(f, "label");
1618
1618
  if (N !== null)
1619
1619
  return N;
1620
1620
  }
1621
- if (Fe(c) && (c.type === "button" || c.type === "submit" || c.type === "reset")) {
1622
- var S = m(c, "value");
1621
+ if (Fe(f) && (f.type === "button" || f.type === "submit" || f.type === "reset")) {
1622
+ var S = m(f, "value");
1623
1623
  if (S !== null)
1624
1624
  return S;
1625
- if (c.type === "submit")
1625
+ if (f.type === "submit")
1626
1626
  return "Submit";
1627
- if (c.type === "reset")
1627
+ if (f.type === "reset")
1628
1628
  return "Reset";
1629
1629
  }
1630
- var C = Ln(c);
1631
- if (C !== null && C.length !== 0)
1632
- return r.add(c), Q(C).map(function(Z) {
1630
+ var _ = Ln(f);
1631
+ if (_ !== null && _.length !== 0)
1632
+ return r.add(f), Q(_).map(function(Z) {
1633
1633
  return w(Z, {
1634
1634
  isEmbeddedInLabel: !0,
1635
1635
  isReferenced: !1,
@@ -1638,15 +1638,15 @@ function lr(e) {
1638
1638
  }).filter(function(Z) {
1639
1639
  return Z.length > 0;
1640
1640
  }).join(" ");
1641
- if (Fe(c) && c.type === "image") {
1642
- var W = m(c, "alt");
1641
+ if (Fe(f) && f.type === "image") {
1642
+ var W = m(f, "alt");
1643
1643
  if (W !== null)
1644
1644
  return W;
1645
- var z = m(c, "title");
1645
+ var z = m(f, "title");
1646
1646
  return z !== null ? z : "Submit Query";
1647
1647
  }
1648
- if (le(c, ["button"])) {
1649
- var k = d(c, {
1648
+ if (le(f, ["button"])) {
1649
+ var k = d(f, {
1650
1650
  isEmbeddedInLabel: !1
1651
1651
  });
1652
1652
  if (k !== "")
@@ -1654,13 +1654,13 @@ function lr(e) {
1654
1654
  }
1655
1655
  return null;
1656
1656
  }
1657
- function w(c, A) {
1658
- if (r.has(c))
1657
+ function w(f, A) {
1658
+ if (r.has(f))
1659
1659
  return "";
1660
- if (!i && xn(c, o) && !A.isReferenced)
1661
- return r.add(c), "";
1662
- var I = F(c) ? c.getAttributeNode("aria-labelledby") : null, x = I !== null && !r.has(I) ? $e(c, "aria-labelledby") : [];
1663
- if (f === "name" && !A.isReferenced && x.length > 0)
1660
+ if (!i && xn(f, a) && !A.isReferenced)
1661
+ return r.add(f), "";
1662
+ var I = F(f) ? f.getAttributeNode("aria-labelledby") : null, x = I !== null && !r.has(I) ? $e(f, "aria-labelledby") : [];
1663
+ if (c === "name" && !A.isReferenced && x.length > 0)
1664
1664
  return r.add(I), x.map(function(B) {
1665
1665
  return w(B, {
1666
1666
  isEmbeddedInLabel: A.isEmbeddedInLabel,
@@ -1671,24 +1671,24 @@ function lr(e) {
1671
1671
  recursion: !1
1672
1672
  });
1673
1673
  }).join(" ");
1674
- var M = A.recursion && On(c) && f === "name";
1674
+ var M = A.recursion && On(f) && c === "name";
1675
1675
  if (!M) {
1676
- var y = (F(c) && c.getAttribute("aria-label") || "").trim();
1677
- if (y !== "" && f === "name")
1678
- return r.add(c), y;
1679
- if (!Cn(c)) {
1680
- var g = h(c);
1676
+ var y = (F(f) && f.getAttribute("aria-label") || "").trim();
1677
+ if (y !== "" && c === "name")
1678
+ return r.add(f), y;
1679
+ if (!_n(f)) {
1680
+ var g = h(f);
1681
1681
  if (g !== null)
1682
- return r.add(c), g;
1682
+ return r.add(f), g;
1683
1683
  }
1684
1684
  }
1685
- if (le(c, ["menu"]))
1686
- return r.add(c), "";
1685
+ if (le(f, ["menu"]))
1686
+ return r.add(f), "";
1687
1687
  if (M || A.isEmbeddedInLabel || A.isReferenced) {
1688
- if (le(c, ["combobox", "listbox"])) {
1689
- r.add(c);
1690
- var v = Mn(c);
1691
- return v.length === 0 ? Fe(c) ? c.value : "" : Q(v).map(function(B) {
1688
+ if (le(f, ["combobox", "listbox"])) {
1689
+ r.add(f);
1690
+ var v = Mn(f);
1691
+ return v.length === 0 ? Fe(f) ? f.value : "" : Q(v).map(function(B) {
1692
1692
  return w(B, {
1693
1693
  isEmbeddedInLabel: A.isEmbeddedInLabel,
1694
1694
  isReferenced: !1,
@@ -1696,31 +1696,31 @@ function lr(e) {
1696
1696
  });
1697
1697
  }).join(" ");
1698
1698
  }
1699
- if (or(c, "range"))
1700
- return r.add(c), c.hasAttribute("aria-valuetext") ? c.getAttribute("aria-valuetext") : c.hasAttribute("aria-valuenow") ? c.getAttribute("aria-valuenow") : c.getAttribute("value") || "";
1701
- if (le(c, ["textbox"]))
1702
- return r.add(c), Nn(c);
1699
+ if (or(f, "range"))
1700
+ return r.add(f), f.hasAttribute("aria-valuetext") ? f.getAttribute("aria-valuetext") : f.hasAttribute("aria-valuenow") ? f.getAttribute("aria-valuenow") : f.getAttribute("value") || "";
1701
+ if (le(f, ["textbox"]))
1702
+ return r.add(f), Nn(f);
1703
1703
  }
1704
- if (Rn(c) || F(c) && A.isReferenced || _n(c) || Bn()) {
1705
- var _ = d(c, {
1704
+ if (Rn(f) || F(f) && A.isReferenced || Cn(f) || Bn()) {
1705
+ var C = d(f, {
1706
1706
  isEmbeddedInLabel: A.isEmbeddedInLabel
1707
1707
  });
1708
- if (_ !== "")
1709
- return r.add(c), _;
1708
+ if (C !== "")
1709
+ return r.add(f), C;
1710
1710
  }
1711
- if (c.nodeType === c.TEXT_NODE)
1712
- return r.add(c), c.textContent || "";
1711
+ if (f.nodeType === f.TEXT_NODE)
1712
+ return r.add(f), f.textContent || "";
1713
1713
  if (A.recursion)
1714
- return r.add(c), d(c, {
1714
+ return r.add(f), d(f, {
1715
1715
  isEmbeddedInLabel: A.isEmbeddedInLabel
1716
1716
  });
1717
- var R = E(c);
1718
- return R !== null ? (r.add(c), R) : (r.add(c), "");
1717
+ var R = E(f);
1718
+ return R !== null ? (r.add(f), R) : (r.add(f), "");
1719
1719
  }
1720
1720
  return In(w(e, {
1721
1721
  isEmbeddedInLabel: !1,
1722
1722
  // by spec computeAccessibleDescription starts with the referenced elements as roots
1723
- isReferenced: f === "description",
1723
+ isReferenced: c === "description",
1724
1724
  recursion: !1
1725
1725
  }));
1726
1726
  }
@@ -1735,20 +1735,20 @@ function Oe(e) {
1735
1735
  function Wt(e, t) {
1736
1736
  var r = Object.keys(e);
1737
1737
  if (Object.getOwnPropertySymbols) {
1738
- var a = Object.getOwnPropertySymbols(e);
1739
- t && (a = a.filter(function(s) {
1738
+ var o = Object.getOwnPropertySymbols(e);
1739
+ t && (o = o.filter(function(s) {
1740
1740
  return Object.getOwnPropertyDescriptor(e, s).enumerable;
1741
- })), r.push.apply(r, a);
1741
+ })), r.push.apply(r, o);
1742
1742
  }
1743
1743
  return r;
1744
1744
  }
1745
1745
  function Vt(e) {
1746
1746
  for (var t = 1; t < arguments.length; t++) {
1747
1747
  var r = arguments[t] != null ? arguments[t] : {};
1748
- t % 2 ? Wt(Object(r), !0).forEach(function(a) {
1749
- qn(e, a, r[a]);
1750
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Wt(Object(r)).forEach(function(a) {
1751
- Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
1748
+ t % 2 ? Wt(Object(r), !0).forEach(function(o) {
1749
+ qn(e, o, r[o]);
1750
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Wt(Object(r)).forEach(function(o) {
1751
+ Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(r, o));
1752
1752
  });
1753
1753
  }
1754
1754
  return e;
@@ -1764,8 +1764,8 @@ function kn(e, t) {
1764
1764
  if (Oe(e) !== "object" || e === null) return e;
1765
1765
  var r = e[Symbol.toPrimitive];
1766
1766
  if (r !== void 0) {
1767
- var a = r.call(e, t);
1768
- if (Oe(a) !== "object") return a;
1767
+ var o = r.call(e, t);
1768
+ if (Oe(o) !== "object") return o;
1769
1769
  throw new TypeError("@@toPrimitive must return a primitive value.");
1770
1770
  }
1771
1771
  return (t === "string" ? String : Number)(e);
@@ -1777,8 +1777,8 @@ function sr(e) {
1777
1777
  }));
1778
1778
  }).join(" ");
1779
1779
  if (r === "") {
1780
- var a = e.getAttribute("title");
1781
- r = a === null ? "" : a;
1780
+ var o = e.getAttribute("title");
1781
+ r = o === null ? "" : o;
1782
1782
  }
1783
1783
  return r;
1784
1784
  }
@@ -1793,54 +1793,54 @@ var et = { exports: {} }, Ht;
1793
1793
  function $n() {
1794
1794
  return Ht || (Ht = 1, (function(e) {
1795
1795
  var t = (function() {
1796
- var r = String.fromCharCode, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", f = {};
1797
- function u(n, o) {
1798
- if (!f[n]) {
1799
- f[n] = {};
1796
+ var r = String.fromCharCode, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", c = {};
1797
+ function u(n, a) {
1798
+ if (!c[n]) {
1799
+ c[n] = {};
1800
1800
  for (var l = 0; l < n.length; l++)
1801
- f[n][n.charAt(l)] = l;
1801
+ c[n][n.charAt(l)] = l;
1802
1802
  }
1803
- return f[n][o];
1803
+ return c[n][a];
1804
1804
  }
1805
1805
  var p = {
1806
1806
  compressToBase64: function(n) {
1807
1807
  if (n == null) return "";
1808
- var o = p._compress(n, 6, function(l) {
1809
- return a.charAt(l);
1808
+ var a = p._compress(n, 6, function(l) {
1809
+ return o.charAt(l);
1810
1810
  });
1811
- switch (o.length % 4) {
1811
+ switch (a.length % 4) {
1812
1812
  // To produce valid Base64
1813
1813
  default:
1814
1814
  // When could this happen ?
1815
1815
  case 0:
1816
- return o;
1816
+ return a;
1817
1817
  case 1:
1818
- return o + "===";
1818
+ return a + "===";
1819
1819
  case 2:
1820
- return o + "==";
1820
+ return a + "==";
1821
1821
  case 3:
1822
- return o + "=";
1822
+ return a + "=";
1823
1823
  }
1824
1824
  },
1825
1825
  decompressFromBase64: function(n) {
1826
- return n == null ? "" : n == "" ? null : p._decompress(n.length, 32, function(o) {
1827
- return u(a, n.charAt(o));
1826
+ return n == null ? "" : n == "" ? null : p._decompress(n.length, 32, function(a) {
1827
+ return u(o, n.charAt(a));
1828
1828
  });
1829
1829
  },
1830
1830
  compressToUTF16: function(n) {
1831
- return n == null ? "" : p._compress(n, 15, function(o) {
1832
- return r(o + 32);
1831
+ return n == null ? "" : p._compress(n, 15, function(a) {
1832
+ return r(a + 32);
1833
1833
  }) + " ";
1834
1834
  },
1835
1835
  decompressFromUTF16: function(n) {
1836
- return n == null ? "" : n == "" ? null : p._decompress(n.length, 16384, function(o) {
1837
- return n.charCodeAt(o) - 32;
1836
+ return n == null ? "" : n == "" ? null : p._decompress(n.length, 16384, function(a) {
1837
+ return n.charCodeAt(a) - 32;
1838
1838
  });
1839
1839
  },
1840
1840
  //compress into uint8array (UCS-2 big endian format)
1841
1841
  compressToUint8Array: function(n) {
1842
- for (var o = p.compress(n), l = new Uint8Array(o.length * 2), i = 0, d = o.length; i < d; i++) {
1843
- var m = o.charCodeAt(i);
1842
+ for (var a = p.compress(n), l = new Uint8Array(a.length * 2), i = 0, d = a.length; i < d; i++) {
1843
+ var m = a.charCodeAt(i);
1844
1844
  l[i * 2] = m >>> 8, l[i * 2 + 1] = m % 256;
1845
1845
  }
1846
1846
  return l;
@@ -1849,103 +1849,103 @@ function $n() {
1849
1849
  decompressFromUint8Array: function(n) {
1850
1850
  if (n == null)
1851
1851
  return p.decompress(n);
1852
- for (var o = new Array(n.length / 2), l = 0, i = o.length; l < i; l++)
1853
- o[l] = n[l * 2] * 256 + n[l * 2 + 1];
1852
+ for (var a = new Array(n.length / 2), l = 0, i = a.length; l < i; l++)
1853
+ a[l] = n[l * 2] * 256 + n[l * 2 + 1];
1854
1854
  var d = [];
1855
- return o.forEach(function(m) {
1855
+ return a.forEach(function(m) {
1856
1856
  d.push(r(m));
1857
1857
  }), p.decompress(d.join(""));
1858
1858
  },
1859
1859
  //compress into a string that is already URI encoded
1860
1860
  compressToEncodedURIComponent: function(n) {
1861
- return n == null ? "" : p._compress(n, 6, function(o) {
1862
- return s.charAt(o);
1861
+ return n == null ? "" : p._compress(n, 6, function(a) {
1862
+ return s.charAt(a);
1863
1863
  });
1864
1864
  },
1865
1865
  //decompress from an output of compressToEncodedURIComponent
1866
1866
  decompressFromEncodedURIComponent: function(n) {
1867
- return n == null ? "" : n == "" ? null : (n = n.replace(/ /g, "+"), p._decompress(n.length, 32, function(o) {
1868
- return u(s, n.charAt(o));
1867
+ return n == null ? "" : n == "" ? null : (n = n.replace(/ /g, "+"), p._decompress(n.length, 32, function(a) {
1868
+ return u(s, n.charAt(a));
1869
1869
  }));
1870
1870
  },
1871
1871
  compress: function(n) {
1872
- return p._compress(n, 16, function(o) {
1873
- return r(o);
1872
+ return p._compress(n, 16, function(a) {
1873
+ return r(a);
1874
1874
  });
1875
1875
  },
1876
- _compress: function(n, o, l) {
1876
+ _compress: function(n, a, l) {
1877
1877
  if (n == null) return "";
1878
- var i, d, m = {}, E = {}, h = "", w = "", c = "", A = 2, I = 3, x = 2, M = [], y = 0, g = 0, v;
1878
+ var i, d, m = {}, E = {}, h = "", w = "", f = "", A = 2, I = 3, x = 2, M = [], y = 0, g = 0, v;
1879
1879
  for (v = 0; v < n.length; v += 1)
1880
- if (h = n.charAt(v), Object.prototype.hasOwnProperty.call(m, h) || (m[h] = I++, E[h] = !0), w = c + h, Object.prototype.hasOwnProperty.call(m, w))
1881
- c = w;
1880
+ if (h = n.charAt(v), Object.prototype.hasOwnProperty.call(m, h) || (m[h] = I++, E[h] = !0), w = f + h, Object.prototype.hasOwnProperty.call(m, w))
1881
+ f = w;
1882
1882
  else {
1883
- if (Object.prototype.hasOwnProperty.call(E, c)) {
1884
- if (c.charCodeAt(0) < 256) {
1883
+ if (Object.prototype.hasOwnProperty.call(E, f)) {
1884
+ if (f.charCodeAt(0) < 256) {
1885
1885
  for (i = 0; i < x; i++)
1886
- y = y << 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++;
1887
- for (d = c.charCodeAt(0), i = 0; i < 8; i++)
1888
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1886
+ y = y << 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++;
1887
+ for (d = f.charCodeAt(0), i = 0; i < 8; i++)
1888
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1889
1889
  } else {
1890
1890
  for (d = 1, i = 0; i < x; i++)
1891
- y = y << 1 | d, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = 0;
1892
- for (d = c.charCodeAt(0), i = 0; i < 16; i++)
1893
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1891
+ y = y << 1 | d, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = 0;
1892
+ for (d = f.charCodeAt(0), i = 0; i < 16; i++)
1893
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1894
1894
  }
1895
- A--, A == 0 && (A = Math.pow(2, x), x++), delete E[c];
1895
+ A--, A == 0 && (A = Math.pow(2, x), x++), delete E[f];
1896
1896
  } else
1897
- for (d = m[c], i = 0; i < x; i++)
1898
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1899
- A--, A == 0 && (A = Math.pow(2, x), x++), m[w] = I++, c = String(h);
1897
+ for (d = m[f], i = 0; i < x; i++)
1898
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1899
+ A--, A == 0 && (A = Math.pow(2, x), x++), m[w] = I++, f = String(h);
1900
1900
  }
1901
- if (c !== "") {
1902
- if (Object.prototype.hasOwnProperty.call(E, c)) {
1903
- if (c.charCodeAt(0) < 256) {
1901
+ if (f !== "") {
1902
+ if (Object.prototype.hasOwnProperty.call(E, f)) {
1903
+ if (f.charCodeAt(0) < 256) {
1904
1904
  for (i = 0; i < x; i++)
1905
- y = y << 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++;
1906
- for (d = c.charCodeAt(0), i = 0; i < 8; i++)
1907
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1905
+ y = y << 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++;
1906
+ for (d = f.charCodeAt(0), i = 0; i < 8; i++)
1907
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1908
1908
  } else {
1909
1909
  for (d = 1, i = 0; i < x; i++)
1910
- y = y << 1 | d, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = 0;
1911
- for (d = c.charCodeAt(0), i = 0; i < 16; i++)
1912
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1910
+ y = y << 1 | d, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = 0;
1911
+ for (d = f.charCodeAt(0), i = 0; i < 16; i++)
1912
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1913
1913
  }
1914
- A--, A == 0 && (A = Math.pow(2, x), x++), delete E[c];
1914
+ A--, A == 0 && (A = Math.pow(2, x), x++), delete E[f];
1915
1915
  } else
1916
- for (d = m[c], i = 0; i < x; i++)
1917
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1916
+ for (d = m[f], i = 0; i < x; i++)
1917
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1918
1918
  A--, A == 0 && (A = Math.pow(2, x), x++);
1919
1919
  }
1920
1920
  for (d = 2, i = 0; i < x; i++)
1921
- y = y << 1 | d & 1, g == o - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1921
+ y = y << 1 | d & 1, g == a - 1 ? (g = 0, M.push(l(y)), y = 0) : g++, d = d >> 1;
1922
1922
  for (; ; )
1923
- if (y = y << 1, g == o - 1) {
1923
+ if (y = y << 1, g == a - 1) {
1924
1924
  M.push(l(y));
1925
1925
  break;
1926
1926
  } else g++;
1927
1927
  return M.join("");
1928
1928
  },
1929
1929
  decompress: function(n) {
1930
- return n == null ? "" : n == "" ? null : p._decompress(n.length, 32768, function(o) {
1931
- return n.charCodeAt(o);
1930
+ return n == null ? "" : n == "" ? null : p._decompress(n.length, 32768, function(a) {
1931
+ return n.charCodeAt(a);
1932
1932
  });
1933
1933
  },
1934
- _decompress: function(n, o, l) {
1935
- var i = [], d = 4, m = 4, E = 3, h = "", w = [], c, A, I, x, M, y, g, v = { val: l(0), position: o, index: 1 };
1936
- for (c = 0; c < 3; c += 1)
1937
- i[c] = c;
1934
+ _decompress: function(n, a, l) {
1935
+ var i = [], d = 4, m = 4, E = 3, h = "", w = [], f, A, I, x, M, y, g, v = { val: l(0), position: a, index: 1 };
1936
+ for (f = 0; f < 3; f += 1)
1937
+ i[f] = f;
1938
1938
  for (I = 0, M = Math.pow(2, 2), y = 1; y != M; )
1939
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1939
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1940
1940
  switch (I) {
1941
1941
  case 0:
1942
1942
  for (I = 0, M = Math.pow(2, 8), y = 1; y != M; )
1943
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1943
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1944
1944
  g = r(I);
1945
1945
  break;
1946
1946
  case 1:
1947
1947
  for (I = 0, M = Math.pow(2, 16), y = 1; y != M; )
1948
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1948
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1949
1949
  g = r(I);
1950
1950
  break;
1951
1951
  case 2:
@@ -1955,16 +1955,16 @@ function $n() {
1955
1955
  if (v.index > n)
1956
1956
  return "";
1957
1957
  for (I = 0, M = Math.pow(2, E), y = 1; y != M; )
1958
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1958
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1959
1959
  switch (g = I) {
1960
1960
  case 0:
1961
1961
  for (I = 0, M = Math.pow(2, 8), y = 1; y != M; )
1962
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1962
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1963
1963
  i[m++] = r(I), g = m - 1, d--;
1964
1964
  break;
1965
1965
  case 1:
1966
1966
  for (I = 0, M = Math.pow(2, 16), y = 1; y != M; )
1967
- x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = o, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1967
+ x = v.val & v.position, v.position >>= 1, v.position == 0 && (v.position = a, v.val = l(v.index++)), I |= (x > 0 ? 1 : 0) * y, y <<= 1;
1968
1968
  i[m++] = r(I), g = m - 1, d--;
1969
1969
  break;
1970
1970
  case 2:
@@ -1992,16 +1992,16 @@ const Un = /* @__PURE__ */ Lr(zn);
1992
1992
  function cr(e) {
1993
1993
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
1994
1994
  }
1995
- const Wn = (e, t, r, a, s, f, u) => {
1996
- const p = a + r.indent, n = r.colors;
1997
- return e.map((o) => {
1998
- const l = t[o];
1999
- let i = u(l, r, p, s, f);
1995
+ const Wn = (e, t, r, o, s, c, u) => {
1996
+ const p = o + r.indent, n = r.colors;
1997
+ return e.map((a) => {
1998
+ const l = t[a];
1999
+ let i = u(l, r, p, s, c);
2000
2000
  return typeof l != "string" && (i.indexOf(`
2001
- `) !== -1 && (i = r.spacingOuter + p + i + r.spacingOuter + a), i = "{" + i + "}"), r.spacingInner + a + n.prop.open + o + n.prop.close + "=" + n.value.open + i + n.value.close;
2001
+ `) !== -1 && (i = r.spacingOuter + p + i + r.spacingOuter + o), i = "{" + i + "}"), r.spacingInner + o + n.prop.open + a + n.prop.close + "=" + n.value.open + i + n.value.close;
2002
2002
  }).join("");
2003
- }, Vn = 3, Hn = (e, t, r, a, s, f) => e.map((u) => {
2004
- const p = typeof u == "string" ? fr(u, t) : f(u, t, r, a, s);
2003
+ }, Vn = 3, Hn = (e, t, r, o, s, c) => e.map((u) => {
2004
+ const p = typeof u == "string" ? fr(u, t) : c(u, t, r, o, s);
2005
2005
  return p === "" && typeof u == "object" && u !== null && u.nodeType !== Vn ? "" : t.spacingOuter + r + p;
2006
2006
  }).join(""), fr = (e, t) => {
2007
2007
  const r = t.colors.content;
@@ -2009,9 +2009,9 @@ const Wn = (e, t, r, a, s, f, u) => {
2009
2009
  }, Gn = (e, t) => {
2010
2010
  const r = t.colors.comment;
2011
2011
  return r.open + "<!--" + cr(e) + "-->" + r.close;
2012
- }, Yn = (e, t, r, a, s) => {
2013
- const f = a.colors.tag;
2014
- return f.open + "<" + e + (t && f.close + t + a.spacingOuter + s + f.open) + (r ? ">" + f.close + r + a.spacingOuter + s + f.open + "</" + e : (t && !a.min ? "" : " ") + "/") + ">" + f.close;
2012
+ }, Yn = (e, t, r, o, s) => {
2013
+ const c = o.colors.tag;
2014
+ return c.open + "<" + e + (t && c.close + t + o.spacingOuter + s + c.open) + (r ? ">" + c.close + r + o.spacingOuter + s + c.open + "</" + e : (t && !o.min ? "" : " ") + "/") + ">" + c.close;
2015
2015
  }, Kn = (e, t) => {
2016
2016
  const r = t.colors.tag;
2017
2017
  return r.open + "<" + e + r.close + " …" + r.open + " />" + r.close;
@@ -2041,13 +2041,13 @@ function ti(e) {
2041
2041
  var r;
2042
2042
  return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || mr(t)) && Xn(t);
2043
2043
  },
2044
- serialize: (t, r, a, s, f, u) => {
2044
+ serialize: (t, r, o, s, c, u) => {
2045
2045
  if (Zn(t))
2046
2046
  return fr(t.data, r);
2047
2047
  if (ei(t))
2048
2048
  return Gn(t.data, r);
2049
2049
  const p = tt(t) ? "DocumentFragment" : t.tagName.toLowerCase();
2050
- return ++s > r.maxDepth ? Kn(p, r) : Yn(p, Wn(tt(t) ? [] : Array.from(t.attributes).map((n) => n.name).sort(), tt(t) ? {} : Array.from(t.attributes).reduce((n, o) => (n[o.name] = o.value, n), {}), r, a + r.indent, s, f, u), Hn(Array.prototype.slice.call(t.childNodes || t.children).filter(e), r, a + r.indent, s, f, u), r, a);
2050
+ return ++s > r.maxDepth ? Kn(p, r) : Yn(p, Wn(tt(t) ? [] : Array.from(t.attributes).map((n) => n.name).sort(), tt(t) ? {} : Array.from(t.attributes).reduce((n, a) => (n[a.name] = a.value, n), {}), r, o + r.indent, s, c, u), Hn(Array.prototype.slice.call(t.childNodes || t.children).filter(e), r, o + r.indent, s, c, u), r, o);
2051
2051
  }
2052
2052
  };
2053
2053
  }
@@ -2058,14 +2058,14 @@ try {
2058
2058
  } catch {
2059
2059
  }
2060
2060
  function ri(e) {
2061
- const t = e.indexOf("(") + 1, r = e.indexOf(")"), a = e.slice(t, r), s = a.split(":"), [f, u, p] = [s[0], parseInt(s[1], 10), parseInt(s[2], 10)];
2061
+ const t = e.indexOf("(") + 1, r = e.indexOf(")"), o = e.slice(t, r), s = o.split(":"), [c, u, p] = [s[0], parseInt(s[1], 10), parseInt(s[2], 10)];
2062
2062
  let n = "";
2063
2063
  try {
2064
- n = Et(f, "utf-8");
2064
+ n = Et(c, "utf-8");
2065
2065
  } catch {
2066
2066
  return "";
2067
2067
  }
2068
- const o = vt(n, {
2068
+ const a = vt(n, {
2069
2069
  start: {
2070
2070
  line: u,
2071
2071
  column: p
@@ -2074,8 +2074,8 @@ function ri(e) {
2074
2074
  highlightCode: !0,
2075
2075
  linesBelow: 0
2076
2076
  });
2077
- return yr.dim(a) + `
2078
- ` + o + `
2077
+ return yr.dim(o) + `
2078
+ ` + a + `
2079
2079
  `;
2080
2080
  }
2081
2081
  function ni() {
@@ -2136,17 +2136,17 @@ function Te(e, t, r) {
2136
2136
  if (r === void 0 && (r = {}), e || (e = Tt().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
2137
2137
  return "";
2138
2138
  e.documentElement && (e = e.documentElement);
2139
- let a = typeof e;
2140
- if (a === "object" ? a = e.constructor.name : e = {}, !("outerHTML" in e))
2141
- throw new TypeError("Expected an element or document but got " + a);
2139
+ let o = typeof e;
2140
+ if (o === "object" ? o = e.constructor.name : e = {}, !("outerHTML" in e))
2141
+ throw new TypeError("Expected an element or document but got " + o);
2142
2142
  const {
2143
2143
  filterNode: s = li,
2144
- ...f
2144
+ ...c
2145
2145
  } = r, u = tr.format(e, {
2146
2146
  plugins: [ti(s), oi],
2147
2147
  printFunctionName: !1,
2148
2148
  highlight: ii(),
2149
- ...f
2149
+ ...c
2150
2150
  });
2151
2151
  return t !== void 0 && e.outerHTML.length > t ? u.slice(0, t) + "..." : u;
2152
2152
  }
@@ -2179,11 +2179,11 @@ let me = {
2179
2179
  throwSuggestions: !1,
2180
2180
  // called when getBy* queries fail. (message, container) => Error
2181
2181
  getElementError(e, t) {
2182
- const r = Te(t), a = new Error([e, "Ignored nodes: comments, " + me.defaultIgnore + `
2182
+ const r = Te(t), o = new Error([e, "Ignored nodes: comments, " + me.defaultIgnore + `
2183
2183
  ` + r].filter(Boolean).join(`
2184
2184
 
2185
2185
  `));
2186
- return a.name = "TestingLibraryElementError", a;
2186
+ return o.name = "TestingLibraryElementError", o;
2187
2187
  },
2188
2188
  _disableExpensiveErrorDiagnostics: !1,
2189
2189
  computedStyleSupportsPseudoElements: !1
@@ -2219,17 +2219,17 @@ function vr(e) {
2219
2219
  }
2220
2220
  if (!di(e)) return [];
2221
2221
  const r = e.ownerDocument.querySelectorAll("label");
2222
- return Array.from(r).filter((a) => a.control === e);
2222
+ return Array.from(r).filter((o) => o.control === e);
2223
2223
  }
2224
2224
  function di(e) {
2225
2225
  return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
2226
2226
  }
2227
2227
  function Tr(e, t, r) {
2228
2228
  let {
2229
- selector: a = "*"
2229
+ selector: o = "*"
2230
2230
  } = r === void 0 ? {} : r;
2231
- const s = t.getAttribute("aria-labelledby"), f = s ? s.split(" ") : [];
2232
- return f.length ? f.map((u) => {
2231
+ const s = t.getAttribute("aria-labelledby"), c = s ? s.split(" ") : [];
2232
+ return c.length ? c.map((u) => {
2233
2233
  const p = e.querySelector('[id="' + u + '"]');
2234
2234
  return p ? {
2235
2235
  content: it(p),
@@ -2239,10 +2239,10 @@ function Tr(e, t, r) {
2239
2239
  formControl: null
2240
2240
  };
2241
2241
  }) : Array.from(vr(t)).map((u) => {
2242
- const p = it(u), o = Array.from(u.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((l) => l.matches(a))[0];
2242
+ const p = it(u), a = Array.from(u.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((l) => l.matches(o))[0];
2243
2243
  return {
2244
2244
  content: p,
2245
- formControl: o
2245
+ formControl: a
2246
2246
  };
2247
2247
  });
2248
2248
  }
@@ -2253,18 +2253,18 @@ function wr(e) {
2253
2253
  "It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?"
2254
2254
  );
2255
2255
  }
2256
- function Ae(e, t, r, a) {
2256
+ function Ae(e, t, r, o) {
2257
2257
  if (typeof e != "string")
2258
2258
  return !1;
2259
2259
  wr(r);
2260
- const s = a(e);
2260
+ const s = o(e);
2261
2261
  return typeof r == "string" || typeof r == "number" ? s.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(s, t) : Sr(r, s);
2262
2262
  }
2263
- function se(e, t, r, a) {
2263
+ function se(e, t, r, o) {
2264
2264
  if (typeof e != "string")
2265
2265
  return !1;
2266
2266
  wr(r);
2267
- const s = a(e);
2267
+ const s = o(e);
2268
2268
  return r instanceof Function ? r(s, t) : r instanceof RegExp ? Sr(r, s) : s === String(r);
2269
2269
  }
2270
2270
  function Ar(e) {
@@ -2272,8 +2272,8 @@ function Ar(e) {
2272
2272
  trim: t = !0,
2273
2273
  collapseWhitespace: r = !0
2274
2274
  } = e === void 0 ? {} : e;
2275
- return (a) => {
2276
- let s = a;
2275
+ return (o) => {
2276
+ let s = o;
2277
2277
  return s = t ? s.trim() : s, s = r ? s.replace(/\s+/g, " ") : s, s;
2278
2278
  };
2279
2279
  }
@@ -2281,16 +2281,16 @@ function he(e) {
2281
2281
  let {
2282
2282
  trim: t,
2283
2283
  collapseWhitespace: r,
2284
- normalizer: a
2284
+ normalizer: o
2285
2285
  } = e;
2286
- if (!a)
2286
+ if (!o)
2287
2287
  return Ar({
2288
2288
  trim: t,
2289
2289
  collapseWhitespace: r
2290
2290
  });
2291
2291
  if (typeof t < "u" || typeof r < "u")
2292
2292
  throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
2293
- return a;
2293
+ return o;
2294
2294
  }
2295
2295
  function Sr(e, t) {
2296
2296
  const r = e.test(t);
@@ -2333,12 +2333,12 @@ function bi(e) {
2333
2333
  name: p,
2334
2334
  attributes: n
2335
2335
  } = u;
2336
- return "" + p + n.map((o) => {
2336
+ return "" + p + n.map((a) => {
2337
2337
  let {
2338
2338
  name: l,
2339
2339
  value: i,
2340
2340
  constraints: d = []
2341
- } = o;
2341
+ } = a;
2342
2342
  const m = d.indexOf("undefined") !== -1, E = d.indexOf("set") !== -1;
2343
2343
  return typeof i < "u" ? "[" + l + '="' + i + '"]' : m ? ":not([" + l + "])" : E ? "[" + l + "]:not([" + l + '=""])' : "[" + l + "]";
2344
2344
  }).join("");
@@ -2349,13 +2349,13 @@ function bi(e) {
2349
2349
  } = u;
2350
2350
  return p.length;
2351
2351
  }
2352
- function a(u, p) {
2352
+ function o(u, p) {
2353
2353
  let {
2354
2354
  specificity: n
2355
2355
  } = u, {
2356
- specificity: o
2356
+ specificity: a
2357
2357
  } = p;
2358
- return o - n;
2358
+ return a - n;
2359
2359
  }
2360
2360
  function s(u) {
2361
2361
  let {
@@ -2363,58 +2363,58 @@ function bi(e) {
2363
2363
  } = u;
2364
2364
  const n = p.findIndex((l) => l.value && l.name === "type" && l.value === "text");
2365
2365
  n >= 0 && (p = [...p.slice(0, n), ...p.slice(n + 1)]);
2366
- const o = t({
2366
+ const a = t({
2367
2367
  ...u,
2368
2368
  attributes: p
2369
2369
  });
2370
- return (l) => n >= 0 && l.type !== "text" ? !1 : l.matches(o);
2370
+ return (l) => n >= 0 && l.type !== "text" ? !1 : l.matches(a);
2371
2371
  }
2372
- let f = [];
2372
+ let c = [];
2373
2373
  for (const [u, p] of e.entries())
2374
- f = [...f, {
2374
+ c = [...c, {
2375
2375
  match: s(u),
2376
2376
  roles: Array.from(p),
2377
2377
  specificity: r(u)
2378
2378
  }];
2379
- return f.sort(a);
2379
+ return c.sort(o);
2380
2380
  }
2381
2381
  function mi(e, t) {
2382
2382
  let {
2383
2383
  hidden: r = !1
2384
2384
  } = t === void 0 ? {} : t;
2385
- function a(s) {
2386
- return [s, ...Array.from(s.children).reduce((f, u) => [...f, ...a(u)], [])];
2385
+ function o(s) {
2386
+ return [s, ...Array.from(s.children).reduce((c, u) => [...c, ...o(u)], [])];
2387
2387
  }
2388
- return a(e).filter((s) => r === !1 ? wt(s) === !1 : !0).reduce((s, f) => {
2388
+ return o(e).filter((s) => r === !1 ? wt(s) === !1 : !0).reduce((s, c) => {
2389
2389
  let u = [];
2390
- return f.hasAttribute("role") ? u = f.getAttribute("role").split(" ").slice(0, 1) : u = At(f), u.reduce((p, n) => Array.isArray(p[n]) ? {
2390
+ return c.hasAttribute("role") ? u = c.getAttribute("role").split(" ").slice(0, 1) : u = At(c), u.reduce((p, n) => Array.isArray(p[n]) ? {
2391
2391
  ...p,
2392
- [n]: [...p[n], f]
2392
+ [n]: [...p[n], c]
2393
2393
  } : {
2394
2394
  ...p,
2395
- [n]: [f]
2395
+ [n]: [c]
2396
2396
  }, s);
2397
2397
  }, {});
2398
2398
  }
2399
2399
  function yi(e, t) {
2400
2400
  let {
2401
2401
  hidden: r,
2402
- includeDescription: a
2402
+ includeDescription: o
2403
2403
  } = t;
2404
2404
  const s = mi(e, {
2405
2405
  hidden: r
2406
2406
  });
2407
- return Object.entries(s).filter((f) => {
2408
- let [u] = f;
2407
+ return Object.entries(s).filter((c) => {
2408
+ let [u] = c;
2409
2409
  return u !== "generic";
2410
- }).map((f) => {
2411
- let [u, p] = f;
2412
- const n = "-".repeat(50), o = p.map((l) => {
2410
+ }).map((c) => {
2411
+ let [u, p] = c;
2412
+ const n = "-".repeat(50), a = p.map((l) => {
2413
2413
  const i = 'Name "' + ht(l, {
2414
2414
  computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
2415
2415
  }) + `":
2416
2416
  `, d = Te(l.cloneNode(!1));
2417
- if (a) {
2417
+ if (o) {
2418
2418
  const m = 'Description "' + sr(l, {
2419
2419
  computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
2420
2420
  }) + `":
@@ -2427,33 +2427,33 @@ function yi(e, t) {
2427
2427
  `);
2428
2428
  return u + `:
2429
2429
 
2430
- ` + o + `
2430
+ ` + a + `
2431
2431
 
2432
2432
  ` + n;
2433
2433
  }).join(`
2434
2434
  `);
2435
2435
  }
2436
2436
  function gi(e) {
2437
- return e.tagName === "OPTION" ? e.selected : Ce(e, "aria-selected");
2437
+ return e.tagName === "OPTION" ? e.selected : _e(e, "aria-selected");
2438
2438
  }
2439
2439
  function hi(e) {
2440
2440
  return e.getAttribute("aria-busy") === "true";
2441
2441
  }
2442
2442
  function Ei(e) {
2443
2443
  if (!("indeterminate" in e && e.indeterminate))
2444
- return "checked" in e ? e.checked : Ce(e, "aria-checked");
2444
+ return "checked" in e ? e.checked : _e(e, "aria-checked");
2445
2445
  }
2446
2446
  function vi(e) {
2447
- return Ce(e, "aria-pressed");
2447
+ return _e(e, "aria-pressed");
2448
2448
  }
2449
2449
  function Ti(e) {
2450
2450
  var t, r;
2451
- return (t = (r = Ce(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1;
2451
+ return (t = (r = _e(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1;
2452
2452
  }
2453
2453
  function wi(e) {
2454
- return Ce(e, "aria-expanded");
2454
+ return _e(e, "aria-expanded");
2455
2455
  }
2456
- function Ce(e, t) {
2456
+ function _e(e, t) {
2457
2457
  const r = e.getAttribute(t);
2458
2458
  if (r === "true")
2459
2459
  return !0;
@@ -2494,19 +2494,19 @@ function Mi(e) {
2494
2494
  function Kt(e) {
2495
2495
  return new RegExp(Mi(e.toLowerCase()), "i");
2496
2496
  }
2497
- function fe(e, t, r, a) {
2497
+ function fe(e, t, r, o) {
2498
2498
  let {
2499
2499
  variant: s,
2500
- name: f
2501
- } = a, u = "";
2500
+ name: c
2501
+ } = o, u = "";
2502
2502
  const p = {}, n = [["Role", "TestId"].includes(e) ? r : Kt(r)];
2503
- f && (p.name = Kt(f)), e === "Role" && wt(t) && (p.hidden = !0, u = `Element is inaccessible. This means that the element and all its children are invisible to screen readers.
2503
+ c && (p.name = Kt(c)), e === "Role" && wt(t) && (p.hidden = !0, u = `Element is inaccessible. This means that the element and all its children are invisible to screen readers.
2504
2504
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
2505
2505
  `), Object.keys(p).length > 0 && n.push(p);
2506
- const o = s + "By" + e;
2506
+ const a = s + "By" + e;
2507
2507
  return {
2508
2508
  queryName: e,
2509
- queryMethod: o,
2509
+ queryMethod: a,
2510
2510
  queryArgs: n,
2511
2511
  variant: s,
2512
2512
  warning: u,
@@ -2516,7 +2516,7 @@ function fe(e, t, r, a) {
2516
2516
  return l = typeof l == "string" ? "'" + l + "'" : l, i = i ? ", { " + Object.entries(i).map((d) => {
2517
2517
  let [m, E] = d;
2518
2518
  return m + ": " + E;
2519
- }).join(", ") + " }" : "", o + "(" + l + i + ")";
2519
+ }).join(", ") + " }" : "", a + "(" + l + i + ")";
2520
2520
  }
2521
2521
  };
2522
2522
  }
@@ -2524,12 +2524,12 @@ function de(e, t, r) {
2524
2524
  return r && !0;
2525
2525
  }
2526
2526
  function ot(e, t, r) {
2527
- var a, s;
2527
+ var o, s;
2528
2528
  if (t === void 0 && (t = "get"), e.matches(j().defaultIgnore))
2529
2529
  return;
2530
- const f = (a = e.getAttribute("role")) != null ? a : (s = At(e)) == null ? void 0 : s[0];
2531
- if (f !== "generic" && de("Role", r, f))
2532
- return fe("Role", e, f, {
2530
+ const c = (o = e.getAttribute("role")) != null ? o : (s = At(e)) == null ? void 0 : s[0];
2531
+ if (c !== "generic" && de("Role", r, c))
2532
+ return fe("Role", e, c, {
2533
2533
  variant: t,
2534
2534
  name: ht(e, {
2535
2535
  computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
@@ -2554,9 +2554,9 @@ function ot(e, t, r) {
2554
2554
  return fe("DisplayValue", e, Yt(e.value), {
2555
2555
  variant: t
2556
2556
  });
2557
- const o = e.getAttribute("alt");
2558
- if (de("AltText", r, o))
2559
- return fe("AltText", e, o, {
2557
+ const a = e.getAttribute("alt");
2558
+ if (de("AltText", r, a))
2559
+ return fe("AltText", e, a, {
2560
2560
  variant: t
2561
2561
  });
2562
2562
  const l = e.getAttribute("title");
@@ -2573,16 +2573,16 @@ function ot(e, t, r) {
2573
2573
  function qe(e, t) {
2574
2574
  e.stack = t.stack.replace(t.message, e.message);
2575
2575
  }
2576
- function Ci(e, t) {
2576
+ function _i(e, t) {
2577
2577
  let {
2578
2578
  container: r = Tt(),
2579
- timeout: a = j().asyncUtilTimeout,
2579
+ timeout: o = j().asyncUtilTimeout,
2580
2580
  showOriginalStackTrace: s = j().showOriginalStackTrace,
2581
- stackTraceError: f,
2581
+ stackTraceError: c,
2582
2582
  interval: u = 50,
2583
- onTimeout: p = (o) => (Object.defineProperty(o, "message", {
2584
- value: j().getElementError(o.message, r).message
2585
- }), o),
2583
+ onTimeout: p = (a) => (Object.defineProperty(a, "message", {
2584
+ value: j().getElementError(a.message, r).message
2585
+ }), a),
2586
2586
  mutationObserverOptions: n = {
2587
2587
  subtree: !0,
2588
2588
  childList: !0,
@@ -2592,17 +2592,17 @@ function Ci(e, t) {
2592
2592
  } = t;
2593
2593
  if (typeof e != "function")
2594
2594
  throw new TypeError("Received `callback` arg must be a function");
2595
- return new Promise(async (o, l) => {
2595
+ return new Promise(async (a, l) => {
2596
2596
  let i, d, m, E = !1, h = "idle";
2597
- const w = setTimeout(M, a), c = rt();
2598
- if (c) {
2597
+ const w = setTimeout(M, o), f = rt();
2598
+ if (f) {
2599
2599
  const {
2600
2600
  unstable_advanceTimersWrapper: y
2601
2601
  } = j();
2602
2602
  for (x(); !E; ) {
2603
2603
  if (!rt()) {
2604
2604
  const g = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
2605
- s || qe(g, f), l(g);
2605
+ s || qe(g, c), l(g);
2606
2606
  return;
2607
2607
  }
2608
2608
  if (await y(async () => {
@@ -2625,12 +2625,12 @@ function Ci(e, t) {
2625
2625
  m = new y(I), m.observe(r, n), x();
2626
2626
  }
2627
2627
  function A(y, g) {
2628
- E = !0, clearTimeout(w), c || (clearInterval(d), m.disconnect()), y ? l(y) : o(g);
2628
+ E = !0, clearTimeout(w), f || (clearInterval(d), m.disconnect()), y ? l(y) : a(g);
2629
2629
  }
2630
2630
  function I() {
2631
2631
  if (rt()) {
2632
2632
  const y = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
2633
- return s || qe(y, f), l(y);
2633
+ return s || qe(y, c), l(y);
2634
2634
  } else
2635
2635
  return x();
2636
2636
  }
@@ -2649,13 +2649,13 @@ function Ci(e, t) {
2649
2649
  }
2650
2650
  function M() {
2651
2651
  let y;
2652
- i ? (y = i, !s && y.name === "TestingLibraryElementError" && qe(y, f)) : (y = new Error("Timed out in waitFor."), s || qe(y, f)), A(p(y), null);
2652
+ i ? (y = i, !s && y.name === "TestingLibraryElementError" && qe(y, c)) : (y = new Error("Timed out in waitFor."), s || qe(y, c)), A(p(y), null);
2653
2653
  }
2654
2654
  });
2655
2655
  }
2656
- function _i(e, t) {
2656
+ function Ci(e, t) {
2657
2657
  const r = new Error("STACK_TRACE_MESSAGE");
2658
- return j().asyncWrapper(() => Ci(e, {
2658
+ return j().asyncWrapper(() => _i(e, {
2659
2659
  stackTraceError: r,
2660
2660
  ...t
2661
2661
  }));
@@ -2666,24 +2666,24 @@ function xr(e, t) {
2666
2666
  function Ri(e, t) {
2667
2667
  return xr(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
2668
2668
  }
2669
- function Ye(e, t, r, a) {
2669
+ function Ye(e, t, r, o) {
2670
2670
  let {
2671
2671
  exact: s = !0,
2672
- collapseWhitespace: f,
2672
+ collapseWhitespace: c,
2673
2673
  trim: u,
2674
2674
  normalizer: p
2675
- } = a === void 0 ? {} : a;
2676
- const n = s ? se : Ae, o = he({
2677
- collapseWhitespace: f,
2675
+ } = o === void 0 ? {} : o;
2676
+ const n = s ? se : Ae, a = he({
2677
+ collapseWhitespace: c,
2678
2678
  trim: u,
2679
2679
  normalizer: p
2680
2680
  });
2681
- return Array.from(t.querySelectorAll("[" + e + "]")).filter((l) => n(l.getAttribute(e), l, r, o));
2681
+ return Array.from(t.querySelectorAll("[" + e + "]")).filter((l) => n(l.getAttribute(e), l, r, a));
2682
2682
  }
2683
2683
  function ze(e, t) {
2684
2684
  return function(r) {
2685
- for (var a = arguments.length, s = new Array(a > 1 ? a - 1 : 0), f = 1; f < a; f++)
2686
- s[f - 1] = arguments[f];
2685
+ for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), c = 1; c < o; c++)
2686
+ s[c - 1] = arguments[c];
2687
2687
  const u = e(r, ...s);
2688
2688
  if (u.length > 1) {
2689
2689
  const p = u.map((n) => xr(null, n).message).join(`
@@ -2705,8 +2705,8 @@ function Or(e, t) {
2705
2705
  }
2706
2706
  function Bi(e, t) {
2707
2707
  return function(r) {
2708
- for (var a = arguments.length, s = new Array(a > 1 ? a - 1 : 0), f = 1; f < a; f++)
2709
- s[f - 1] = arguments[f];
2708
+ for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), c = 1; c < o; c++)
2709
+ s[c - 1] = arguments[c];
2710
2710
  const u = e(r, ...s);
2711
2711
  if (!u.length)
2712
2712
  throw j().getElementError(t(r, ...s), r);
@@ -2714,48 +2714,48 @@ function Bi(e, t) {
2714
2714
  };
2715
2715
  }
2716
2716
  function Ue(e) {
2717
- return (t, r, a, s) => _i(() => e(t, r, a), {
2717
+ return (t, r, o, s) => Ci(() => e(t, r, o), {
2718
2718
  container: t,
2719
2719
  ...s
2720
2720
  });
2721
2721
  }
2722
- const ve = (e, t, r) => function(a) {
2723
- for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++)
2724
- f[u - 1] = arguments[u];
2725
- const p = e(a, ...f), [{
2722
+ const ve = (e, t, r) => function(o) {
2723
+ for (var s = arguments.length, c = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++)
2724
+ c[u - 1] = arguments[u];
2725
+ const p = e(o, ...c), [{
2726
2726
  suggest: n = j().throwSuggestions
2727
- } = {}] = f.slice(-1);
2727
+ } = {}] = c.slice(-1);
2728
2728
  if (p && n) {
2729
- const o = ot(p, r);
2730
- if (o && !t.endsWith(o.queryName))
2731
- throw Or(o.toString(), a);
2729
+ const a = ot(p, r);
2730
+ if (a && !t.endsWith(a.queryName))
2731
+ throw Or(a.toString(), o);
2732
2732
  }
2733
2733
  return p;
2734
- }, J = (e, t, r) => function(a) {
2735
- for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++)
2736
- f[u - 1] = arguments[u];
2737
- const p = e(a, ...f), [{
2734
+ }, J = (e, t, r) => function(o) {
2735
+ for (var s = arguments.length, c = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++)
2736
+ c[u - 1] = arguments[u];
2737
+ const p = e(o, ...c), [{
2738
2738
  suggest: n = j().throwSuggestions
2739
- } = {}] = f.slice(-1);
2739
+ } = {}] = c.slice(-1);
2740
2740
  if (p.length && n) {
2741
- const o = [...new Set(p.map((l) => {
2741
+ const a = [...new Set(p.map((l) => {
2742
2742
  var i;
2743
2743
  return (i = ot(l, r)) == null ? void 0 : i.toString();
2744
2744
  }))];
2745
2745
  if (
2746
2746
  // only want to suggest if all the els have the same suggestion.
2747
- o.length === 1 && !t.endsWith(
2747
+ a.length === 1 && !t.endsWith(
2748
2748
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
2749
2749
  ot(p[0], r).queryName
2750
2750
  )
2751
2751
  )
2752
- throw Or(o[0], a);
2752
+ throw Or(a[0], o);
2753
2753
  }
2754
2754
  return p;
2755
2755
  };
2756
2756
  function Ee(e, t, r) {
2757
- const a = ve(ze(e, t), e.name, "query"), s = Bi(e, r), f = ze(s, t), u = ve(f, e.name, "get"), p = J(s, e.name.replace("query", "get"), "getAll"), n = Ue(J(s, e.name, "findAll")), o = Ue(ve(f, e.name, "find"));
2758
- return [a, p, u, n, o];
2757
+ const o = ve(ze(e, t), e.name, "query"), s = Bi(e, r), c = ze(s, t), u = ve(c, e.name, "get"), p = J(s, e.name.replace("query", "get"), "getAll"), n = Ue(J(s, e.name, "findAll")), a = Ue(ve(c, e.name, "find"));
2758
+ return [o, p, u, n, a];
2759
2759
  }
2760
2760
  function Ni(e) {
2761
2761
  return Array.from(e.querySelectorAll("label,input")).map((t) => ({
@@ -2770,13 +2770,13 @@ function Ni(e) {
2770
2770
  }
2771
2771
  const Pi = function(e, t, r) {
2772
2772
  let {
2773
- exact: a = !0,
2773
+ exact: o = !0,
2774
2774
  trim: s,
2775
- collapseWhitespace: f,
2775
+ collapseWhitespace: c,
2776
2776
  normalizer: u
2777
2777
  } = r === void 0 ? {} : r;
2778
- const p = a ? se : Ae, n = he({
2779
- collapseWhitespace: f,
2778
+ const p = o ? se : Ae, n = he({
2779
+ collapseWhitespace: c,
2780
2780
  trim: s,
2781
2781
  normalizer: u
2782
2782
  });
@@ -2794,41 +2794,41 @@ const Pi = function(e, t, r) {
2794
2794
  });
2795
2795
  }, Me = function(e, t, r) {
2796
2796
  let {
2797
- selector: a = "*",
2797
+ selector: o = "*",
2798
2798
  exact: s = !0,
2799
- collapseWhitespace: f,
2799
+ collapseWhitespace: c,
2800
2800
  trim: u,
2801
2801
  normalizer: p
2802
2802
  } = r === void 0 ? {} : r;
2803
2803
  ce(e);
2804
- const n = s ? se : Ae, o = he({
2805
- collapseWhitespace: f,
2804
+ const n = s ? se : Ae, a = he({
2805
+ collapseWhitespace: c,
2806
2806
  trim: u,
2807
2807
  normalizer: p
2808
2808
  }), l = Array.from(e.querySelectorAll("*")).filter((i) => vr(i).length || i.hasAttribute("aria-labelledby")).reduce((i, d) => {
2809
2809
  const m = Tr(e, d, {
2810
- selector: a
2810
+ selector: o
2811
2811
  });
2812
2812
  m.filter((h) => !!h.formControl).forEach((h) => {
2813
- n(h.content, h.formControl, t, o) && h.formControl && i.push(h.formControl);
2813
+ n(h.content, h.formControl, t, a) && h.formControl && i.push(h.formControl);
2814
2814
  });
2815
2815
  const E = m.filter((h) => !!h.content).map((h) => h.content);
2816
- return n(E.join(" "), d, t, o) && i.push(d), E.length > 1 && E.forEach((h, w) => {
2817
- n(h, d, t, o) && i.push(d);
2818
- const c = [...E];
2819
- c.splice(w, 1), c.length > 1 && n(c.join(" "), d, t, o) && i.push(d);
2816
+ return n(E.join(" "), d, t, a) && i.push(d), E.length > 1 && E.forEach((h, w) => {
2817
+ n(h, d, t, a) && i.push(d);
2818
+ const f = [...E];
2819
+ f.splice(w, 1), f.length > 1 && n(f.join(" "), d, t, a) && i.push(d);
2820
2820
  }), i;
2821
2821
  }, []).concat(Ye("aria-label", e, t, {
2822
2822
  exact: s,
2823
- normalizer: o
2823
+ normalizer: a
2824
2824
  }));
2825
- return Array.from(new Set(l)).filter((i) => i.matches(a));
2825
+ return Array.from(new Set(l)).filter((i) => i.matches(o));
2826
2826
  }, ye = function(e, t) {
2827
- for (var r = arguments.length, a = new Array(r > 2 ? r - 2 : 0), s = 2; s < r; s++)
2828
- a[s - 2] = arguments[s];
2829
- const f = Me(e, t, ...a);
2830
- if (!f.length) {
2831
- const u = Pi(e, t, ...a);
2827
+ for (var r = arguments.length, o = new Array(r > 2 ? r - 2 : 0), s = 2; s < r; s++)
2828
+ o[s - 2] = arguments[s];
2829
+ const c = Me(e, t, ...o);
2830
+ if (!c.length) {
2831
+ const u = Pi(e, t, ...o);
2832
2832
  if (u.length) {
2833
2833
  const p = u.map((n) => Li(e, n)).filter((n) => !!n);
2834
2834
  throw p.length ? j().getElementError(p.map((n) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + n + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + n + " />, you can use aria-label or aria-labelledby instead.").join(`
@@ -2837,91 +2837,91 @@ const Pi = function(e, t, r) {
2837
2837
  } else
2838
2838
  throw j().getElementError("Unable to find a label with the text of: " + t, e);
2839
2839
  }
2840
- return f;
2840
+ return c;
2841
2841
  };
2842
2842
  function Li(e, t) {
2843
2843
  const r = t.getAttribute("for");
2844
2844
  if (!r)
2845
2845
  return null;
2846
- const a = e.querySelector('[id="' + r + '"]');
2847
- return a ? a.tagName.toLowerCase() : null;
2846
+ const o = e.querySelector('[id="' + r + '"]');
2847
+ return o ? o.tagName.toLowerCase() : null;
2848
2848
  }
2849
- const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(ze(Me, Mr), Me.name, "query"), Cr = ze(ye, Mr), qi = Ue(J(ye, ye.name, "findAll")), ji = Ue(ve(Cr, ye.name, "find")), ki = J(ye, ye.name, "getAll"), Fi = ve(Cr, ye.name, "get"), $i = J(Me, Me.name, "queryAll"), at = function() {
2849
+ const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(ze(Me, Mr), Me.name, "query"), _r = ze(ye, Mr), qi = Ue(J(ye, ye.name, "findAll")), ji = Ue(ve(_r, ye.name, "find")), ki = J(ye, ye.name, "getAll"), Fi = ve(_r, ye.name, "get"), $i = J(Me, Me.name, "queryAll"), at = function() {
2850
2850
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
2851
2851
  t[r] = arguments[r];
2852
2852
  return ce(t[0]), Ye("placeholder", ...t);
2853
2853
  }, zi = (e, t) => "Found multiple elements with the placeholder text of: " + t, Ui = (e, t) => "Unable to find an element with the placeholder text of: " + t, Wi = J(at, at.name, "queryAll"), [Vi, Hi, Gi, Yi, Ki] = Ee(at, zi, Ui), ut = function(e, t, r) {
2854
2854
  let {
2855
- selector: a = "*",
2855
+ selector: o = "*",
2856
2856
  exact: s = !0,
2857
- collapseWhitespace: f,
2857
+ collapseWhitespace: c,
2858
2858
  trim: u,
2859
2859
  ignore: p = j().defaultIgnore,
2860
2860
  normalizer: n
2861
2861
  } = r === void 0 ? {} : r;
2862
2862
  ce(e);
2863
- const o = s ? se : Ae, l = he({
2864
- collapseWhitespace: f,
2863
+ const a = s ? se : Ae, l = he({
2864
+ collapseWhitespace: c,
2865
2865
  trim: u,
2866
2866
  normalizer: n
2867
2867
  });
2868
2868
  let i = [];
2869
- return typeof e.matches == "function" && e.matches(a) && (i = [e]), [...i, ...Array.from(e.querySelectorAll(a))].filter((d) => !p || !d.matches(p)).filter((d) => o(Ge(d), d, t, l));
2869
+ return typeof e.matches == "function" && e.matches(o) && (i = [e]), [...i, ...Array.from(e.querySelectorAll(o))].filter((d) => !p || !d.matches(p)).filter((d) => a(Ge(d), d, t, l));
2870
2870
  }, Ji = (e, t) => "Found multiple elements with the text: " + t, Qi = function(e, t, r) {
2871
2871
  r === void 0 && (r = {});
2872
2872
  const {
2873
- collapseWhitespace: a,
2873
+ collapseWhitespace: o,
2874
2874
  trim: s,
2875
- normalizer: f,
2875
+ normalizer: c,
2876
2876
  selector: u
2877
2877
  } = r, n = he({
2878
- collapseWhitespace: a,
2878
+ collapseWhitespace: o,
2879
2879
  trim: s,
2880
- normalizer: f
2881
- })(t.toString()), o = n !== t.toString(), l = (u ?? "*") !== "*";
2882
- return "Unable to find an element with the text: " + (o ? n + " (normalized from '" + t + "')" : t) + (l ? ", which matches selector '" + u + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
2880
+ normalizer: c
2881
+ })(t.toString()), a = n !== t.toString(), l = (u ?? "*") !== "*";
2882
+ return "Unable to find an element with the text: " + (a ? n + " (normalized from '" + t + "')" : t) + (l ? ", which matches selector '" + u + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
2883
2883
  }, Xi = J(ut, ut.name, "queryAll"), [Zi, eo, to, ro, no] = Ee(ut, Ji, Qi), lt = function(e, t, r) {
2884
2884
  let {
2885
- exact: a = !0,
2885
+ exact: o = !0,
2886
2886
  collapseWhitespace: s,
2887
- trim: f,
2887
+ trim: c,
2888
2888
  normalizer: u
2889
2889
  } = r === void 0 ? {} : r;
2890
2890
  ce(e);
2891
- const p = a ? se : Ae, n = he({
2891
+ const p = o ? se : Ae, n = he({
2892
2892
  collapseWhitespace: s,
2893
- trim: f,
2893
+ trim: c,
2894
2894
  normalizer: u
2895
2895
  });
2896
- return Array.from(e.querySelectorAll("input,textarea,select")).filter((o) => o.tagName === "SELECT" ? Array.from(o.options).filter((i) => i.selected).some((i) => p(Ge(i), i, t, n)) : p(o.value, o, t, n));
2896
+ return Array.from(e.querySelectorAll("input,textarea,select")).filter((a) => a.tagName === "SELECT" ? Array.from(a.options).filter((i) => i.selected).some((i) => p(Ge(i), i, t, n)) : p(a.value, a, t, n));
2897
2897
  }, io = (e, t) => "Found multiple elements with the display value: " + t + ".", oo = (e, t) => "Unable to find an element with the display value: " + t + ".", ao = J(lt, lt.name, "queryAll"), [uo, lo, so, co, fo] = Ee(lt, io, oo), po = /^(img|input|area|.+-.+)$/i, st = function(e, t, r) {
2898
- return r === void 0 && (r = {}), ce(e), Ye("alt", e, t, r).filter((a) => po.test(a.tagName));
2898
+ return r === void 0 && (r = {}), ce(e), Ye("alt", e, t, r).filter((o) => po.test(o.tagName));
2899
2899
  }, bo = (e, t) => "Found multiple elements with the alt text: " + t, mo = (e, t) => "Unable to find an element with the alt text: " + t, yo = J(st, st.name, "queryAll"), [go, ho, Eo, vo, To] = Ee(st, bo, mo), wo = (e) => {
2900
2900
  var t;
2901
2901
  return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
2902
2902
  }, ct = function(e, t, r) {
2903
2903
  let {
2904
- exact: a = !0,
2904
+ exact: o = !0,
2905
2905
  collapseWhitespace: s,
2906
- trim: f,
2906
+ trim: c,
2907
2907
  normalizer: u
2908
2908
  } = r === void 0 ? {} : r;
2909
2909
  ce(e);
2910
- const p = a ? se : Ae, n = he({
2910
+ const p = o ? se : Ae, n = he({
2911
2911
  collapseWhitespace: s,
2912
- trim: f,
2912
+ trim: c,
2913
2913
  normalizer: u
2914
2914
  });
2915
- return Array.from(e.querySelectorAll("[title], svg > title")).filter((o) => p(o.getAttribute("title"), o, t, n) || wo(o) && p(Ge(o), o, t, n));
2916
- }, Ao = (e, t) => "Found multiple elements with the title: " + t + ".", So = (e, t) => "Unable to find an element with the title: " + t + ".", Io = J(ct, ct.name, "queryAll"), [xo, Oo, Mo, Co, _o] = Ee(ct, Ao, So), ft = function(e, t, r) {
2915
+ return Array.from(e.querySelectorAll("[title], svg > title")).filter((a) => p(a.getAttribute("title"), a, t, n) || wo(a) && p(Ge(a), a, t, n));
2916
+ }, Ao = (e, t) => "Found multiple elements with the title: " + t + ".", So = (e, t) => "Unable to find an element with the title: " + t + ".", Io = J(ct, ct.name, "queryAll"), [xo, Oo, Mo, _o, Co] = Ee(ct, Ao, So), ft = function(e, t, r) {
2917
2917
  let {
2918
- hidden: a = j().defaultHidden,
2918
+ hidden: o = j().defaultHidden,
2919
2919
  name: s,
2920
- description: f,
2920
+ description: c,
2921
2921
  queryFallbacks: u = !1,
2922
2922
  selected: p,
2923
2923
  busy: n,
2924
- checked: o,
2924
+ checked: a,
2925
2925
  pressed: l,
2926
2926
  current: i,
2927
2927
  level: d,
@@ -2930,7 +2930,7 @@ const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(z
2930
2930
  now: E,
2931
2931
  min: h,
2932
2932
  max: w,
2933
- text: c
2933
+ text: f
2934
2934
  } = {}
2935
2935
  } = r === void 0 ? {} : r;
2936
2936
  if (ce(e), p !== void 0) {
@@ -2943,7 +2943,7 @@ const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(z
2943
2943
  if (((I = K.roles.get(t)) == null ? void 0 : I.props["aria-busy"]) === void 0)
2944
2944
  throw new Error('"aria-busy" is not supported on role "' + t + '".');
2945
2945
  }
2946
- if (o !== void 0) {
2946
+ if (a !== void 0) {
2947
2947
  var x;
2948
2948
  if (((x = K.roles.get(t)) == null ? void 0 : x.props["aria-checked"]) === void 0)
2949
2949
  throw new Error('"aria-checked" is not supported on role "' + t + '".');
@@ -2971,11 +2971,11 @@ const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(z
2971
2971
  throw new Error('"aria-valuemax" is not supported on role "' + t + '".');
2972
2972
  }
2973
2973
  if (h !== void 0) {
2974
- var _;
2975
- if (((_ = K.roles.get(t)) == null ? void 0 : _.props["aria-valuemin"]) === void 0)
2974
+ var C;
2975
+ if (((C = K.roles.get(t)) == null ? void 0 : C.props["aria-valuemin"]) === void 0)
2976
2976
  throw new Error('"aria-valuemin" is not supported on role "' + t + '".');
2977
2977
  }
2978
- if (c !== void 0) {
2978
+ if (f !== void 0) {
2979
2979
  var R;
2980
2980
  if (((R = K.roles.get(t)) == null ? void 0 : R.props["aria-valuetext"]) === void 0)
2981
2981
  throw new Error('"aria-valuetext" is not supported on role "' + t + '".');
@@ -2986,89 +2986,89 @@ const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(z
2986
2986
  throw new Error('"aria-expanded" is not supported on role "' + t + '".');
2987
2987
  }
2988
2988
  const N = /* @__PURE__ */ new WeakMap();
2989
- function S(C) {
2990
- return N.has(C) || N.set(C, Ir(C)), N.get(C);
2989
+ function S(_) {
2990
+ return N.has(_) || N.set(_, Ir(_)), N.get(_);
2991
2991
  }
2992
2992
  return Array.from(e.querySelectorAll(
2993
2993
  // Only query elements that can be matched by the following filters
2994
2994
  Ro(t)
2995
- )).filter((C) => {
2996
- if (C.hasAttribute("role")) {
2997
- const k = C.getAttribute("role");
2995
+ )).filter((_) => {
2996
+ if (_.hasAttribute("role")) {
2997
+ const k = _.getAttribute("role");
2998
2998
  if (u)
2999
2999
  return k.split(" ").filter(Boolean).some((Se) => Se === t);
3000
3000
  const [Z] = k.split(" ");
3001
3001
  return Z === t;
3002
3002
  }
3003
- return At(C).some((k) => k === t);
3004
- }).filter((C) => {
3003
+ return At(_).some((k) => k === t);
3004
+ }).filter((_) => {
3005
3005
  if (p !== void 0)
3006
- return p === gi(C);
3006
+ return p === gi(_);
3007
3007
  if (n !== void 0)
3008
- return n === hi(C);
3009
- if (o !== void 0)
3010
- return o === Ei(C);
3008
+ return n === hi(_);
3009
+ if (a !== void 0)
3010
+ return a === Ei(_);
3011
3011
  if (l !== void 0)
3012
- return l === vi(C);
3012
+ return l === vi(_);
3013
3013
  if (i !== void 0)
3014
- return i === Ti(C);
3014
+ return i === Ti(_);
3015
3015
  if (m !== void 0)
3016
- return m === wi(C);
3016
+ return m === wi(_);
3017
3017
  if (d !== void 0)
3018
- return d === Ai(C);
3019
- if (E !== void 0 || w !== void 0 || h !== void 0 || c !== void 0) {
3018
+ return d === Ai(_);
3019
+ if (E !== void 0 || w !== void 0 || h !== void 0 || f !== void 0) {
3020
3020
  let z = !0;
3021
- if (E !== void 0 && z && (z = E === Si(C)), w !== void 0 && z && (z = w === Ii(C)), h !== void 0 && z && (z = h === xi(C)), c !== void 0) {
3021
+ if (E !== void 0 && z && (z = E === Si(_)), w !== void 0 && z && (z = w === Ii(_)), h !== void 0 && z && (z = h === xi(_)), f !== void 0) {
3022
3022
  var W;
3023
- z && (z = se((W = Oi(C)) != null ? W : null, C, c, (k) => k));
3023
+ z && (z = se((W = Oi(_)) != null ? W : null, _, f, (k) => k));
3024
3024
  }
3025
3025
  return z;
3026
3026
  }
3027
3027
  return !0;
3028
- }).filter((C) => s === void 0 ? !0 : se(ht(C, {
3028
+ }).filter((_) => s === void 0 ? !0 : se(ht(_, {
3029
3029
  computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
3030
- }), C, s, (W) => W)).filter((C) => f === void 0 ? !0 : se(sr(C, {
3030
+ }), _, s, (W) => W)).filter((_) => c === void 0 ? !0 : se(sr(_, {
3031
3031
  computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
3032
- }), C, f, (W) => W)).filter((C) => a === !1 ? wt(C, {
3032
+ }), _, c, (W) => W)).filter((_) => o === !1 ? wt(_, {
3033
3033
  isSubtreeInaccessible: S
3034
3034
  }) === !1 : !0);
3035
3035
  };
3036
3036
  function Ro(e) {
3037
3037
  var t;
3038
- const r = '*[role~="' + e + '"]', a = (t = K.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), s = new Set(Array.from(a).map((f) => {
3038
+ const r = '*[role~="' + e + '"]', o = (t = K.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), s = new Set(Array.from(o).map((c) => {
3039
3039
  let {
3040
3040
  name: u
3041
- } = f;
3041
+ } = c;
3042
3042
  return u;
3043
3043
  }));
3044
3044
  return [r].concat(Array.from(s)).join(",");
3045
3045
  }
3046
- const _r = (e) => {
3046
+ const Cr = (e) => {
3047
3047
  let t = "";
3048
3048
  return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
3049
3049
  }, Bo = function(e, t, r) {
3050
3050
  let {
3051
- name: a
3051
+ name: o
3052
3052
  } = r === void 0 ? {} : r;
3053
- return 'Found multiple elements with the role "' + t + '"' + _r(a);
3053
+ return 'Found multiple elements with the role "' + t + '"' + Cr(o);
3054
3054
  }, No = function(e, t, r) {
3055
3055
  let {
3056
- hidden: a = j().defaultHidden,
3056
+ hidden: o = j().defaultHidden,
3057
3057
  name: s,
3058
- description: f
3058
+ description: c
3059
3059
  } = r === void 0 ? {} : r;
3060
3060
  if (j()._disableExpensiveErrorDiagnostics)
3061
- return 'Unable to find role="' + t + '"' + _r(s);
3061
+ return 'Unable to find role="' + t + '"' + Cr(s);
3062
3062
  let u = "";
3063
3063
  Array.from(e.children).forEach((l) => {
3064
3064
  u += yi(l, {
3065
- hidden: a,
3066
- includeDescription: f !== void 0
3065
+ hidden: o,
3066
+ includeDescription: c !== void 0
3067
3067
  });
3068
3068
  });
3069
3069
  let p;
3070
- u.length === 0 ? a === !1 ? p = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : p = "There are no available roles." : p = (`
3071
- Here are the ` + (a === !1 ? "accessible" : "available") + ` roles:
3070
+ u.length === 0 ? o === !1 ? p = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : p = "There are no available roles." : p = (`
3071
+ Here are the ` + (o === !1 ? "accessible" : "available") + ` roles:
3072
3072
 
3073
3073
  ` + u.replace(/\n/g, `
3074
3074
  `).replace(/\n\s\s\n/g, `
@@ -3077,9 +3077,9 @@ Here are the ` + (a === !1 ? "accessible" : "available") + ` roles:
3077
3077
  `).trim();
3078
3078
  let n = "";
3079
3079
  s === void 0 ? n = "" : typeof s == "string" ? n = ' and name "' + s + '"' : n = " and name `" + s + "`";
3080
- let o = "";
3081
- return f === void 0 ? o = "" : typeof f == "string" ? o = ' and description "' + f + '"' : o = " and description `" + f + "`", (`
3082
- Unable to find an ` + (a === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + n + o + `
3080
+ let a = "";
3081
+ return c === void 0 ? a = "" : typeof c == "string" ? a = ' and description "' + c + '"' : a = " and description `" + c + "`", (`
3082
+ Unable to find an ` + (o === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + n + a + `
3083
3083
 
3084
3084
  ` + p).trim();
3085
3085
  }, Po = J(ft, ft.name, "queryAll"), [Lo, Do, qo, jo, ko] = Ee(ft, Bo, No), St = () => j().testIdAttribute, dt = function() {
@@ -3123,8 +3123,8 @@ var pt = /* @__PURE__ */ Object.freeze({
3123
3123
  queryAllByTitle: Io,
3124
3124
  getByTitle: Mo,
3125
3125
  getAllByTitle: Oo,
3126
- findAllByTitle: Co,
3127
- findByTitle: _o,
3126
+ findAllByTitle: _o,
3127
+ findByTitle: Co,
3128
3128
  queryByRole: Lo,
3129
3129
  queryAllByRole: Po,
3130
3130
  getAllByRole: Do,
@@ -3139,9 +3139,9 @@ var pt = /* @__PURE__ */ Object.freeze({
3139
3139
  findByTestId: Go
3140
3140
  });
3141
3141
  function Rr(e, t, r) {
3142
- return t === void 0 && (t = pt), r === void 0 && (r = {}), Object.keys(t).reduce((a, s) => {
3143
- const f = t[s];
3144
- return a[s] = f.bind(null, e), a;
3142
+ return t === void 0 && (t = pt), r === void 0 && (r = {}), Object.keys(t).reduce((o, s) => {
3143
+ const c = t[s];
3144
+ return o[s] = c.bind(null, e), o;
3145
3145
  }, r);
3146
3146
  }
3147
3147
  const Jt = {
@@ -3857,21 +3857,21 @@ function ge(e, t) {
3857
3857
  return e.dispatchEvent(t);
3858
3858
  });
3859
3859
  }
3860
- function nt(e, t, r, a) {
3860
+ function nt(e, t, r, o) {
3861
3861
  let {
3862
3862
  EventType: s = "Event",
3863
- defaultInit: f = {}
3864
- } = a === void 0 ? {} : a;
3863
+ defaultInit: c = {}
3864
+ } = o === void 0 ? {} : o;
3865
3865
  if (!t)
3866
3866
  throw new Error('Unable to fire a "' + e + '" event - please provide a DOM element.');
3867
3867
  const u = {
3868
- ...f,
3868
+ ...c,
3869
3869
  ...r
3870
3870
  }, {
3871
3871
  target: {
3872
3872
  value: p,
3873
3873
  files: n,
3874
- ...o
3874
+ ...a
3875
3875
  } = {}
3876
3876
  } = u;
3877
3877
  p !== void 0 && Yo(t, p), n !== void 0 && Object.defineProperty(t, "files", {
@@ -3879,7 +3879,7 @@ function nt(e, t, r, a) {
3879
3879
  enumerable: !0,
3880
3880
  writable: !0,
3881
3881
  value: n
3882
- }), Object.assign(t, o);
3882
+ }), Object.assign(t, a);
3883
3883
  const l = hr(t), i = l[s] || l.Event;
3884
3884
  let d;
3885
3885
  if (typeof i == "function")
@@ -3890,17 +3890,17 @@ function nt(e, t, r, a) {
3890
3890
  bubbles: E,
3891
3891
  cancelable: h,
3892
3892
  detail: w,
3893
- ...c
3893
+ ...f
3894
3894
  } = u;
3895
- d.initEvent(e, E, h, w), Object.keys(c).forEach((A) => {
3896
- d[A] = c[A];
3895
+ d.initEvent(e, E, h, w), Object.keys(f).forEach((A) => {
3896
+ d[A] = f[A];
3897
3897
  });
3898
3898
  }
3899
3899
  return ["dataTransfer", "clipboardData"].forEach((E) => {
3900
3900
  const h = u[E];
3901
3901
  typeof h == "object" && (typeof l.DataTransfer == "function" ? Object.defineProperty(d, E, {
3902
- value: Object.getOwnPropertyNames(h).reduce((w, c) => (Object.defineProperty(w, c, {
3903
- value: h[c]
3902
+ value: Object.getOwnPropertyNames(h).reduce((w, f) => (Object.defineProperty(w, f, {
3903
+ value: h[f]
3904
3904
  }), w), new l.DataTransfer())
3905
3905
  }) : Object.defineProperty(d, E, {
3906
3906
  value: h
@@ -3911,18 +3911,18 @@ Object.keys(Jt).forEach((e) => {
3911
3911
  const {
3912
3912
  EventType: t,
3913
3913
  defaultInit: r
3914
- } = Jt[e], a = e.toLowerCase();
3915
- nt[e] = (s, f) => nt(a, s, f, {
3914
+ } = Jt[e], o = e.toLowerCase();
3915
+ nt[e] = (s, c) => nt(o, s, c, {
3916
3916
  EventType: t,
3917
3917
  defaultInit: r
3918
- }), ge[e] = (s, f) => ge(s, nt[e](s, f));
3918
+ }), ge[e] = (s, c) => ge(s, nt[e](s, c));
3919
3919
  });
3920
3920
  function Yo(e, t) {
3921
3921
  const {
3922
3922
  set: r
3923
- } = Object.getOwnPropertyDescriptor(e, "value") || {}, a = Object.getPrototypeOf(e), {
3923
+ } = Object.getOwnPropertyDescriptor(e, "value") || {}, o = Object.getPrototypeOf(e), {
3924
3924
  set: s
3925
- } = Object.getOwnPropertyDescriptor(a, "value") || {};
3925
+ } = Object.getOwnPropertyDescriptor(o, "value") || {};
3926
3926
  if (s && r !== s)
3927
3927
  s.call(e, t);
3928
3928
  else if (r)
@@ -3946,7 +3946,7 @@ function Jo(e) {
3946
3946
  function Qo(e) {
3947
3947
  return "https://testing-playground.com/#markup=" + Jo(e);
3948
3948
  }
3949
- const Xo = (e, t, r) => Array.isArray(e) ? e.forEach((a) => Gt(a, t, r)) : Gt(e, t, r), Zo = function(e) {
3949
+ const Xo = (e, t, r) => Array.isArray(e) ? e.forEach((o) => Gt(o, t, r)) : Gt(e, t, r), Zo = function(e) {
3950
3950
  if (e === void 0 && (e = Tt().body), !e || !("innerHTML" in e)) {
3951
3951
  console.log("The element you're providing isn't a valid DOM element.");
3952
3952
  return;
@@ -3987,16 +3987,16 @@ function ta(e) {
3987
3987
  const r = We();
3988
3988
  ue(!0);
3989
3989
  try {
3990
- let a = !1;
3990
+ let o = !1;
3991
3991
  const s = e(() => {
3992
- const f = t();
3993
- return f !== null && typeof f == "object" && typeof f.then == "function" && (a = !0), f;
3992
+ const c = t();
3993
+ return c !== null && typeof c == "object" && typeof c.then == "function" && (o = !0), c;
3994
3994
  });
3995
- if (a) {
3996
- const f = s;
3995
+ if (o) {
3996
+ const c = s;
3997
3997
  return {
3998
3998
  then: (u, p) => {
3999
- f.then((n) => {
3999
+ c.then((n) => {
4000
4000
  ue(r), u(n);
4001
4001
  }, (n) => {
4002
4002
  ue(r), p(n);
@@ -4005,44 +4005,28 @@ function ta(e) {
4005
4005
  };
4006
4006
  } else
4007
4007
  return ue(r), s;
4008
- } catch (a) {
4009
- throw ue(r), a;
4008
+ } catch (o) {
4009
+ throw ue(r), o;
4010
4010
  }
4011
4011
  };
4012
4012
  }
4013
- const we = ta(ea), $ = function() {
4014
- return ge(...arguments);
4015
- };
4013
+ const we = ta(ea), $ = (...e) => ge(...e);
4016
4014
  Object.keys(ge).forEach((e) => {
4017
- $[e] = function() {
4018
- return ge[e](...arguments);
4019
- };
4015
+ $[e] = (...t) => ge[e](...t);
4020
4016
  });
4021
4017
  const ra = $.mouseEnter, na = $.mouseLeave;
4022
- $.mouseEnter = function() {
4023
- return ra(...arguments), $.mouseOver(...arguments);
4024
- };
4025
- $.mouseLeave = function() {
4026
- return na(...arguments), $.mouseOut(...arguments);
4027
- };
4018
+ $.mouseEnter = (...e) => (ra(...e), $.mouseOver(...e));
4019
+ $.mouseLeave = (...e) => (na(...e), $.mouseOut(...e));
4028
4020
  const ia = $.pointerEnter, oa = $.pointerLeave;
4029
- $.pointerEnter = function() {
4030
- return ia(...arguments), $.pointerOver(...arguments);
4031
- };
4032
- $.pointerLeave = function() {
4033
- return oa(...arguments), $.pointerOut(...arguments);
4034
- };
4021
+ $.pointerEnter = (...e) => (ia(...e), $.pointerOver(...e));
4022
+ $.pointerLeave = (...e) => (oa(...e), $.pointerOut(...e));
4035
4023
  const aa = $.select;
4036
4024
  $.select = (e, t) => {
4037
4025
  aa(e, t), e.focus(), $.keyUp(e, t);
4038
4026
  };
4039
4027
  const ua = $.blur, la = $.focus;
4040
- $.blur = function() {
4041
- return $.focusOut(...arguments), ua(...arguments);
4042
- };
4043
- $.focus = function() {
4044
- return $.focusIn(...arguments), la(...arguments);
4045
- };
4028
+ $.blur = (...e) => ($.focusOut(...e), ua(...e));
4029
+ $.focus = (...e) => ($.focusIn(...e), la(...e));
4046
4030
  let sa = {
4047
4031
  reactStrictMode: !1
4048
4032
  };
@@ -4070,9 +4054,9 @@ ci({
4070
4054
  ue(!1);
4071
4055
  try {
4072
4056
  const r = await e();
4073
- return await new Promise((a) => {
4057
+ return await new Promise((o) => {
4074
4058
  setTimeout(() => {
4075
- a();
4059
+ o();
4076
4060
  }, 0), fa() && jest.advanceTimersByTime(0);
4077
4061
  }), r;
4078
4062
  } finally {
@@ -4093,33 +4077,33 @@ function mt(e, t) {
4093
4077
  function yt(e, t) {
4094
4078
  return t ? /* @__PURE__ */ Ie.createElement(t, null, e) : e;
4095
4079
  }
4096
- function da(e, t) {
4097
- let {
4098
- hydrate: r,
4099
- onCaughtError: a,
4100
- onRecoverableError: s,
4101
- ui: f,
4102
- wrapper: u,
4103
- reactStrictMode: p
4104
- } = t, n;
4105
- return r ? we(() => {
4106
- n = It.hydrateRoot(e, mt(yt(f, u), p), {
4107
- onCaughtError: a,
4108
- onRecoverableError: s
4080
+ function da(e, {
4081
+ hydrate: t,
4082
+ onCaughtError: r,
4083
+ onRecoverableError: o,
4084
+ ui: s,
4085
+ wrapper: c,
4086
+ reactStrictMode: u
4087
+ }) {
4088
+ let p;
4089
+ return t ? we(() => {
4090
+ p = It.hydrateRoot(e, mt(yt(s, c), u), {
4091
+ onCaughtError: r,
4092
+ onRecoverableError: o
4109
4093
  });
4110
- }) : n = It.createRoot(e, {
4111
- onCaughtError: a,
4112
- onRecoverableError: s
4094
+ }) : p = It.createRoot(e, {
4095
+ onCaughtError: r,
4096
+ onRecoverableError: o
4113
4097
  }), {
4114
4098
  hydrate() {
4115
- if (!r)
4099
+ if (!t)
4116
4100
  throw new Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.");
4117
4101
  },
4118
- render(o) {
4119
- n.render(o);
4102
+ render(n) {
4103
+ p.render(n);
4120
4104
  },
4121
4105
  unmount() {
4122
- n.unmount();
4106
+ p.unmount();
4123
4107
  }
4124
4108
  };
4125
4109
  }
@@ -4136,107 +4120,102 @@ function pa(e) {
4136
4120
  }
4137
4121
  };
4138
4122
  }
4139
- function Nr(e, t) {
4140
- let {
4141
- baseElement: r,
4142
- container: a,
4143
- hydrate: s,
4144
- queries: f,
4145
- root: u,
4146
- wrapper: p,
4147
- reactStrictMode: n
4148
- } = t;
4123
+ function Nr(e, {
4124
+ baseElement: t,
4125
+ container: r,
4126
+ hydrate: o,
4127
+ queries: s,
4128
+ root: c,
4129
+ wrapper: u,
4130
+ reactStrictMode: p
4131
+ }) {
4149
4132
  return we(() => {
4150
- s ? u.hydrate(mt(yt(e, p), n), a) : u.render(mt(yt(e, p), n), a);
4133
+ o ? c.hydrate(mt(yt(e, u), p), r) : c.render(mt(yt(e, u), p), r);
4151
4134
  }), {
4152
- container: a,
4153
- baseElement: r,
4154
- debug: function(o, l, i) {
4155
- return o === void 0 && (o = r), Array.isArray(o) ? (
4156
- // eslint-disable-next-line no-console
4157
- o.forEach((d) => console.log(Te(d, l, i)))
4158
- ) : (
4159
- // eslint-disable-next-line no-console,
4160
- console.log(Te(o, l, i))
4161
- );
4162
- },
4135
+ container: r,
4136
+ baseElement: t,
4137
+ debug: (n = t, a, l) => Array.isArray(n) ? (
4138
+ // eslint-disable-next-line no-console
4139
+ n.forEach((i) => console.log(Te(i, a, l)))
4140
+ ) : (
4141
+ // eslint-disable-next-line no-console,
4142
+ console.log(Te(n, a, l))
4143
+ ),
4163
4144
  unmount: () => {
4164
4145
  we(() => {
4165
- u.unmount();
4146
+ c.unmount();
4166
4147
  });
4167
4148
  },
4168
- rerender: (o) => {
4169
- Nr(o, {
4170
- container: a,
4171
- baseElement: r,
4172
- root: u,
4173
- wrapper: p,
4174
- reactStrictMode: n
4149
+ rerender: (n) => {
4150
+ Nr(n, {
4151
+ container: r,
4152
+ baseElement: t,
4153
+ root: c,
4154
+ wrapper: u,
4155
+ reactStrictMode: p
4175
4156
  });
4176
4157
  },
4177
4158
  asFragment: () => {
4178
4159
  if (typeof document.createRange == "function")
4179
- return document.createRange().createContextualFragment(a.innerHTML);
4160
+ return document.createRange().createContextualFragment(r.innerHTML);
4180
4161
  {
4181
- const o = document.createElement("template");
4182
- return o.innerHTML = a.innerHTML, o.content;
4162
+ const n = document.createElement("template");
4163
+ return n.innerHTML = r.innerHTML, n.content;
4183
4164
  }
4184
4165
  },
4185
- ...Rr(r, f)
4166
+ ...Rr(t, s)
4186
4167
  };
4187
4168
  }
4188
- function ba(e, t) {
4189
- let {
4190
- container: r,
4191
- baseElement: a = r,
4192
- legacyRoot: s = !1,
4193
- onCaughtError: f,
4194
- onUncaughtError: u,
4195
- onRecoverableError: p,
4196
- queries: n,
4197
- hydrate: o = !1,
4198
- wrapper: l,
4199
- reactStrictMode: i
4200
- } = t === void 0 ? {} : t;
4201
- if (u !== void 0)
4169
+ function ba(e, {
4170
+ container: t,
4171
+ baseElement: r = t,
4172
+ legacyRoot: o = !1,
4173
+ onCaughtError: s,
4174
+ onUncaughtError: c,
4175
+ onRecoverableError: u,
4176
+ queries: p,
4177
+ hydrate: n = !1,
4178
+ wrapper: a,
4179
+ reactStrictMode: l
4180
+ } = {}) {
4181
+ if (c !== void 0)
4202
4182
  throw new Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");
4203
- if (s && typeof je.render != "function") {
4204
- const m = new Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");
4205
- throw Error.captureStackTrace(m, ba), m;
4183
+ if (o && typeof je.render != "function") {
4184
+ const d = new Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");
4185
+ throw Error.captureStackTrace(d, ba), d;
4206
4186
  }
4207
- a || (a = document.body), r || (r = a.appendChild(document.createElement("div")));
4208
- let d;
4209
- return bt.has(r) ? Ve.forEach((m) => {
4210
- m.container === r && (d = m.root);
4211
- }) : (d = (s ? pa : da)(r, {
4212
- hydrate: o,
4213
- onCaughtError: f,
4214
- onRecoverableError: p,
4187
+ r || (r = document.body), t || (t = r.appendChild(document.createElement("div")));
4188
+ let i;
4189
+ return bt.has(t) ? Ve.forEach((d) => {
4190
+ d.container === t && (i = d.root);
4191
+ }) : (i = (o ? pa : da)(t, {
4192
+ hydrate: n,
4193
+ onCaughtError: s,
4194
+ onRecoverableError: u,
4215
4195
  ui: e,
4216
- wrapper: l,
4217
- reactStrictMode: i
4196
+ wrapper: a,
4197
+ reactStrictMode: l
4218
4198
  }), Ve.push({
4219
- container: r,
4220
- root: d
4221
- }), bt.add(r)), Nr(e, {
4222
- container: r,
4223
- baseElement: a,
4224
- queries: n,
4225
- hydrate: o,
4226
- wrapper: l,
4227
- root: d,
4228
- reactStrictMode: i
4199
+ container: t,
4200
+ root: i
4201
+ }), bt.add(t)), Nr(e, {
4202
+ container: t,
4203
+ baseElement: r,
4204
+ queries: p,
4205
+ hydrate: n,
4206
+ wrapper: a,
4207
+ root: i,
4208
+ reactStrictMode: l
4229
4209
  });
4230
4210
  }
4231
4211
  function Zt() {
4232
- Ve.forEach((e) => {
4233
- let {
4234
- root: t,
4235
- container: r
4236
- } = e;
4212
+ Ve.forEach(({
4213
+ root: e,
4214
+ container: t
4215
+ }) => {
4237
4216
  we(() => {
4238
- t.unmount();
4239
- }), r.parentNode === document.body && document.body.removeChild(r);
4217
+ e.unmount();
4218
+ }), t.parentNode === document.body && document.body.removeChild(t);
4240
4219
  }), Ve.length = 0, bt.clear();
4241
4220
  }
4242
4221
  if ((typeof process > "u" || !process.env?.RTL_SKIP_AUTO_CLEANUP) && (typeof afterEach == "function" ? afterEach(() => {
@@ -4256,6 +4235,6 @@ export {
4256
4235
  j as g,
4257
4236
  ba as r,
4258
4237
  va as s,
4259
- _i as w
4238
+ Ci as w
4260
4239
  };
4261
- //# sourceMappingURL=react.esm-CzkD5JmE.js.map
4240
+ //# sourceMappingURL=react.esm-BpII5CMY.js.map