@uva-glass/component-library 3.10.0 → 3.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/{Lexical.prod-CWyHQUEM.js → Lexical.prod-D8x7Ii0F.js} +469 -469
  2. package/dist/{Lexical.prod-CWyHQUEM.js.map → Lexical.prod-D8x7Ii0F.js.map} +1 -1
  3. package/dist/{LexicalClipboard.prod-DbqSWANZ.js → LexicalClipboard.prod-D5GjiArS.js} +16 -16
  4. package/dist/{LexicalClipboard.prod-DbqSWANZ.js.map → LexicalClipboard.prod-D5GjiArS.js.map} +1 -1
  5. package/dist/{LexicalLink.prod-DbxnRszt.js → LexicalLink.prod-CkldFE8u.js} +60 -60
  6. package/dist/{LexicalLink.prod-DbxnRszt.js.map → LexicalLink.prod-CkldFE8u.js.map} +1 -1
  7. package/dist/{LexicalList.prod-pZmYrwOC.js → LexicalList.prod-CsVDXdmw.js} +215 -215
  8. package/dist/LexicalList.prod-CsVDXdmw.js.map +1 -0
  9. package/dist/LexicalSelection.prod-JQDTaUpX.js +90 -0
  10. package/dist/{LexicalSelection.prod-DkvWlcln.js.map → LexicalSelection.prod-JQDTaUpX.js.map} +1 -1
  11. package/dist/{LexicalTable.prod-C6duSS2P.js → LexicalTable.prod-rZbTmo9K.js} +125 -125
  12. package/dist/{LexicalTable.prod-C6duSS2P.js.map → LexicalTable.prod-rZbTmo9K.js.map} +1 -1
  13. package/dist/{LexicalUtils.prod-Dny9Fu94.js → LexicalUtils.prod-CpMJ4I9h.js} +6 -6
  14. package/dist/{LexicalUtils.prod-Dny9Fu94.js.map → LexicalUtils.prod-CpMJ4I9h.js.map} +1 -1
  15. package/dist/{SelectListbox.module-BD2qbcmZ.js → SelectListbox.module-ignbxWNU.js} +21 -21
  16. package/dist/SelectListbox.module-ignbxWNU.js.map +1 -0
  17. package/dist/{SortableProvider-Ck_XnBVq.js → SortableProvider-DZggDO3M.js} +20 -20
  18. package/dist/{SortableProvider-Ck_XnBVq.js.map → SortableProvider-DZggDO3M.js.map} +1 -1
  19. package/dist/{TablePlugin-Ba6PaBhf.js → TablePlugin-WOgWan8s.js} +36 -36
  20. package/dist/{TablePlugin-Ba6PaBhf.js.map → TablePlugin-WOgWan8s.js.map} +1 -1
  21. package/dist/assets/MultiSelectBox.css +1 -0
  22. package/dist/assets/SelectListbox.css +1 -1
  23. package/dist/client-EQRlhXX7.js +25200 -0
  24. package/dist/client-EQRlhXX7.js.map +1 -0
  25. package/dist/components/Accordion/Accordion.test.js +3 -3
  26. package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
  27. package/dist/components/ActionList/ActionList.test.js +3 -3
  28. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
  29. package/dist/components/Attention/Attention.test.js +2 -2
  30. package/dist/components/Backdrop/Backdrop.test.js +2 -2
  31. package/dist/components/Buttons/Button.stories.js +1 -1
  32. package/dist/components/Buttons/Button.test.js +2 -2
  33. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  34. package/dist/components/Buttons/LinkButton.test.js +2 -2
  35. package/dist/components/Buttons/MenuButton.d.ts +1 -3
  36. package/dist/components/Buttons/MenuButton.js.map +1 -1
  37. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  38. package/dist/components/Buttons/MenuButton.test.js +2 -2
  39. package/dist/components/Card/Card.test.js +2 -2
  40. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  41. package/dist/components/Checkbox/Checkbox.test.js +2 -2
  42. package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
  43. package/dist/components/CheckboxButton/CheckboxButton.test.js +2 -2
  44. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  45. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
  46. package/dist/components/CheckboxTree/CheckboxTree.js +3 -3
  47. package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
  48. package/dist/components/Chip/Chip.stories.js +1 -1
  49. package/dist/components/Drawer/Drawer.stories.js +1 -1
  50. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
  51. package/dist/components/FormInput/FormInput.js +3 -3
  52. package/dist/components/FormInput/FormInput.stories.js +1 -1
  53. package/dist/components/IconButton/IconButton.stories.js +1 -1
  54. package/dist/components/InputField/InputField.js +17 -17
  55. package/dist/components/InputField/InputField.stories.js +17 -17
  56. package/dist/components/Label/Label.test.js +2 -2
  57. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  58. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  59. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  60. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
  61. package/dist/components/MultiSelect/index.js +1 -1
  62. package/dist/components/MultiSelectBox/MultiSelectBox.d.ts +16 -0
  63. package/dist/components/MultiSelectBox/MultiSelectBox.js +191 -0
  64. package/dist/components/MultiSelectBox/MultiSelectBox.js.map +1 -0
  65. package/dist/components/MultiSelectBox/MultiSelectBox.stories.d.ts +5 -0
  66. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +31 -0
  67. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -0
  68. package/dist/components/MultiSelectBox/MultiSelectBox.test.d.ts +0 -0
  69. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +26 -0
  70. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -0
  71. package/dist/components/MultiSelectBox/index.d.ts +1 -0
  72. package/dist/components/MultiSelectBox/index.js +5 -0
  73. package/dist/components/MultiSelectBox/index.js.map +1 -0
  74. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  75. package/dist/components/OverlayStepBar/OverlayStepBar.js +3 -3
  76. package/dist/components/PageOverlay/PageOverlay.stories.js +35 -35
  77. package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
  78. package/dist/components/PeriodSelector/PeriodSelector.js +3 -3
  79. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  80. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
  81. package/dist/components/RadioButton/RadioButton.js +3 -3
  82. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  83. package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
  84. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +3 -3
  85. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  86. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +14 -14
  87. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +4 -4
  88. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  89. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +23 -23
  90. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  91. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +40 -40
  92. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +4 -4
  93. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +3 -3
  94. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +5 -5
  95. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  96. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  97. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
  98. package/dist/components/RteEditor/Plugins/index.js +1 -1
  99. package/dist/components/RteEditor/Providers/LanguageProvider.js +7 -7
  100. package/dist/components/RteEditor/RteEditor.js +327 -327
  101. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  102. package/dist/components/RteEditor/helpers.js +4 -4
  103. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  104. package/dist/components/SelectListbox/SelectProvider.js +10 -10
  105. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  106. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  107. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  108. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  109. package/dist/components/Sortable/Sortable.js +1 -1
  110. package/dist/components/Sortable/Sortable.stories.js +1 -1
  111. package/dist/components/Sortable/SortableProvider.js +1 -1
  112. package/dist/components/Sortable/components/SortableContainer.js +1 -1
  113. package/dist/components/Sortable/components/SortableItem.js +15 -15
  114. package/dist/components/Sortable/sortableReducer.js +21 -21
  115. package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
  116. package/dist/components/TextArea/TextArea.js +2 -2
  117. package/dist/components/TextArea/TextArea.stories.js +1 -1
  118. package/dist/components/TextArea/TextArea.test.js +3 -3
  119. package/dist/components/Timeline/Timeline.test.js +5 -5
  120. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  121. package/dist/components/Tooltip/Tooltip.js +22 -22
  122. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  123. package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
  124. package/dist/components/hooks/useDebounce.js +4 -4
  125. package/dist/components/index.d.ts +1 -0
  126. package/dist/components/index.js +53 -51
  127. package/dist/components/index.js.map +1 -1
  128. package/dist/{helpers-BUwfVZhW.js → helpers-E_SsILnP.js} +10 -10
  129. package/dist/{helpers-BUwfVZhW.js.map → helpers-E_SsILnP.js.map} +1 -1
  130. package/dist/{index-DXR-TB1d.js → index-BCvy9BiK.js} +1886 -1886
  131. package/dist/{index-DXR-TB1d.js.map → index-BCvy9BiK.js.map} +1 -1
  132. package/dist/{index-dmBn99rF.js → index-BqLi4tOb.js} +908 -908
  133. package/dist/{index-dmBn99rF.js.map → index-BqLi4tOb.js.map} +1 -1
  134. package/dist/{index-Ck15_vKo.js → index-CUap8sKR.js} +481 -481
  135. package/dist/{index-Ck15_vKo.js.map → index-CUap8sKR.js.map} +1 -1
  136. package/dist/{index-B3c5pcHk.js → index-DllfJcv4.js} +32 -32
  137. package/dist/{index-B3c5pcHk.js.map → index-DllfJcv4.js.map} +1 -1
  138. package/dist/index.js +53 -51
  139. package/dist/index.js.map +1 -1
  140. package/dist/{react-18-CcyoHPTJ.js → react-18-dpbWrd2-.js} +2 -2
  141. package/dist/{react-18-CcyoHPTJ.js.map → react-18-dpbWrd2-.js.map} +1 -1
  142. package/dist/{react.esm-CMg7bmSn.js → react.esm-CsMDid07.js} +4 -4
  143. package/dist/{react.esm-CMg7bmSn.js.map → react.esm-CsMDid07.js.map} +1 -1
  144. package/dist/setupTests.js +1 -1
  145. package/dist/storybook__react.d.js +3 -3
  146. package/dist/test-utils-ea_YDVtd.js +74 -0
  147. package/dist/test-utils-ea_YDVtd.js.map +1 -0
  148. package/package.json +17 -17
  149. package/dist/LexicalList.prod-pZmYrwOC.js.map +0 -1
  150. package/dist/LexicalSelection.prod-DkvWlcln.js +0 -90
  151. package/dist/SelectListbox.module-BD2qbcmZ.js.map +0 -1
  152. package/dist/client-CTOhtEms.js +0 -33
  153. package/dist/client-CTOhtEms.js.map +0 -1
  154. package/dist/test-utils-B2AIdiiO.js +0 -1148
  155. package/dist/test-utils-B2AIdiiO.js.map +0 -1
@@ -1,15 +1,15 @@
1
- import { g as L } from "./react.esm-CMg7bmSn.js";
2
- function l(e, t, n) {
1
+ import { g as L } from "./react.esm-CsMDid07.js";
2
+ function d(e, t, n) {
3
3
  return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
4
4
  t
5
- ], !t.includes(e.tagName.toLowerCase())) ? !1 : n ? Object.entries(n).every(([i, r]) => e[i] === r) : !0;
5
+ ], !t.includes(e.tagName.toLowerCase())) ? !1 : n ? Object.entries(n).every(([i, o]) => e[i] === o) : !0;
6
6
  }
7
7
  var Se;
8
8
  (function(e) {
9
9
  e.button = "button", e.color = "color", e.file = "file", e.image = "image", e.reset = "reset", e.submit = "submit", e.checkbox = "checkbox", e.radio = "radio";
10
10
  })(Se || (Se = {}));
11
11
  function st(e) {
12
- return l(e, "button") || l(e, "input") && e.type in Se;
12
+ return d(e, "button") || d(e, "input") && e.type in Se;
13
13
  }
14
14
  function w(e) {
15
15
  var t;
@@ -27,10 +27,10 @@ function Wt(e) {
27
27
  }
28
28
  function ut(e, t) {
29
29
  return new Promise((n, i) => {
30
- const r = new t();
31
- r.onerror = i, r.onabort = i, r.onload = () => {
32
- n(String(r.result));
33
- }, r.readAsText(e);
30
+ const o = new t();
31
+ o.onerror = i, o.onabort = i, o.onload = () => {
32
+ n(String(o.result));
33
+ }, o.readAsText(e);
34
34
  });
35
35
  }
36
36
  function Ue(e, t) {
@@ -39,8 +39,8 @@ function Ue(e, t) {
39
39
  length: t.length,
40
40
  item: (i) => n[i],
41
41
  [Symbol.iterator]: function* () {
42
- for (let r = 0; r < n.length; r++)
43
- yield n[r];
42
+ for (let o = 0; o < n.length; o++)
43
+ yield n[o];
44
44
  }
45
45
  };
46
46
  return n.constructor = e.FileList, e.FileList && Object.setPrototypeOf(n, e.FileList.prototype), Object.freeze(n), n;
@@ -81,22 +81,22 @@ class zt extends Array {
81
81
  }
82
82
  }
83
83
  function te(e, t) {
84
- const [n, i] = e.split("/"), r = !i || i === "*";
85
- return (o) => t ? o.type === (r ? n : e) : r ? o.type.startsWith(`${n}/`) : o.type === n;
84
+ const [n, i] = e.split("/"), o = !i || i === "*";
85
+ return (r) => t ? r.type === (o ? n : e) : o ? r.type.startsWith(`${n}/`) : r.type === n;
86
86
  }
87
87
  function qt(e) {
88
88
  return new class {
89
89
  getData(n) {
90
90
  var i;
91
- const r = (i = this.items.find(te(n, !0))) !== null && i !== void 0 ? i : this.items.find(te(n, !1));
92
- let o = "";
93
- return r == null || r.getAsString((s) => {
94
- o = s;
95
- }), o;
91
+ const o = (i = this.items.find(te(n, !0))) !== null && i !== void 0 ? i : this.items.find(te(n, !1));
92
+ let r = "";
93
+ return o == null || o.getAsString((s) => {
94
+ r = s;
95
+ }), r;
96
96
  }
97
97
  setData(n, i) {
98
- const r = this.items.findIndex(te(n, !0)), o = new ct(i, n);
99
- r >= 0 ? this.items.splice(r, 1, o) : this.items.push(o);
98
+ const o = this.items.findIndex(te(n, !0)), r = new ct(i, n);
99
+ o >= 0 ? this.items.splice(o, 1, r) : this.items.push(r);
100
100
  }
101
101
  clearData(n) {
102
102
  if (n) {
@@ -146,7 +146,7 @@ function at(e, t, n) {
146
146
  writable: !0
147
147
  }) : e[t] = n, e;
148
148
  }
149
- function dt(e, ...t) {
149
+ function lt(e, ...t) {
150
150
  const n = Object.fromEntries(t.map((i) => [
151
151
  typeof i == "string" ? "text/plain" : i.type,
152
152
  Promise.resolve(i)
@@ -155,18 +155,18 @@ function dt(e, ...t) {
155
155
  get types() {
156
156
  return Array.from(Object.keys(this.data));
157
157
  }
158
- async getType(r) {
159
- const o = await this.data[r];
160
- if (!o)
161
- throw new Error(`${r} is not one of the available MIME types on this item.`);
162
- return o instanceof e.Blob ? o : new e.Blob([
163
- o
158
+ async getType(o) {
159
+ const r = await this.data[o];
160
+ if (!r)
161
+ throw new Error(`${o} is not one of the available MIME types on this item.`);
162
+ return r instanceof e.Blob ? r : new e.Blob([
163
+ r
164
164
  ], {
165
- type: r
165
+ type: o
166
166
  });
167
167
  }
168
- constructor(r) {
169
- at(this, "data", void 0), this.data = r;
168
+ constructor(o) {
169
+ at(this, "data", void 0), this.data = o;
170
170
  }
171
171
  }(n);
172
172
  }
@@ -178,9 +178,9 @@ function Be(e, t) {
178
178
  }
179
179
  async readText() {
180
180
  let i = "";
181
- for (const r of this.items) {
182
- const o = r.types.includes("text/plain") ? "text/plain" : r.types.find((s) => s.startsWith("text/"));
183
- o && (i += await r.getType(o).then((s) => ut(s, e.FileReader)));
181
+ for (const o of this.items) {
182
+ const r = o.types.includes("text/plain") ? "text/plain" : o.types.find((s) => s.startsWith("text/"));
183
+ r && (i += await o.getType(r).then((s) => ut(s, e.FileReader)));
184
184
  }
185
185
  return i;
186
186
  }
@@ -189,7 +189,7 @@ function Be(e, t) {
189
189
  }
190
190
  async writeText(i) {
191
191
  this.items = [
192
- dt(e, i)
192
+ lt(e, i)
193
193
  ];
194
194
  }
195
195
  constructor(...i) {
@@ -233,19 +233,19 @@ async function Yt(e) {
233
233
  const t = e.defaultView, n = t == null ? void 0 : t.navigator.clipboard, i = n && await n.read();
234
234
  if (!i)
235
235
  throw new Error("The Clipboard API is unavailable.");
236
- const r = De(t);
237
- for (const o of i)
238
- for (const s of o.types)
239
- r.setData(s, await o.getType(s).then((u) => ut(u, t.FileReader)));
240
- return r;
241
- }
242
- async function lt(e, t) {
243
- const n = w(e), i = n.navigator.clipboard, r = [];
236
+ const o = De(t);
237
+ for (const r of i)
238
+ for (const s of r.types)
239
+ o.setData(s, await r.getType(s).then((u) => ut(u, t.FileReader)));
240
+ return o;
241
+ }
242
+ async function dt(e, t) {
243
+ const n = w(e), i = n.navigator.clipboard, o = [];
244
244
  for (let s = 0; s < t.items.length; s++) {
245
245
  const u = t.items[s], c = Xt(n, u);
246
- r.push(dt(n, c));
246
+ o.push(lt(n, c));
247
247
  }
248
- if (!(i && await i.write(r).then(
248
+ if (!(i && await i.write(o).then(
249
249
  () => !0,
250
250
  // Can happen with other implementations that e.g. require permissions
251
251
  /* istanbul ignore next */
@@ -274,7 +274,7 @@ var _e;
274
274
  e.text = "text", e.date = "date", e["datetime-local"] = "datetime-local", e.email = "email", e.month = "month", e.number = "number", e.password = "password", e.search = "search", e.tel = "tel", e.time = "time", e.url = "url", e.week = "week";
275
275
  })(_e || (_e = {}));
276
276
  function ft(e) {
277
- return l(e, "textarea") || l(e, "input") && e.type in _e;
277
+ return d(e, "textarea") || d(e, "input") && e.type in _e;
278
278
  }
279
279
  var Pe;
280
280
  (function(e) {
@@ -286,7 +286,7 @@ function tn(e) {
286
286
  return /^\d+$/.test(n) && Number(n) >= 0 ? Number(n) : void 0;
287
287
  }
288
288
  function nn(e) {
289
- return l(e, "textarea") || l(e, "input") && e.type in Pe;
289
+ return d(e, "textarea") || d(e, "input") && e.type in Pe;
290
290
  }
291
291
  const pt = [
292
292
  "input:not([type=hidden]):not([disabled])",
@@ -309,15 +309,15 @@ function ht(e, t) {
309
309
  let n = 0;
310
310
  const i = e[n] in ae ? e[n] : "";
311
311
  n += i.length;
312
- const o = new RegExp(`^\\${i}{2}`).test(e) ? "" : i;
312
+ const r = new RegExp(`^\\${i}{2}`).test(e) ? "" : i;
313
313
  return {
314
- type: o,
315
- ...o === "" ? rn(e, n, t) : on(e, n, o, t)
314
+ type: r,
315
+ ...r === "" ? on(e, n, t) : rn(e, n, r, t)
316
316
  };
317
317
  }
318
- function rn(e, t, n) {
318
+ function on(e, t, n) {
319
319
  const i = e[t];
320
- return bt(i, e, t, n), t += i.length, {
320
+ return vt(i, e, t, n), t += i.length, {
321
321
  consumedLength: t,
322
322
  descriptor: i,
323
323
  releasePrevious: !1,
@@ -325,37 +325,37 @@ function rn(e, t, n) {
325
325
  repeat: 1
326
326
  };
327
327
  }
328
- function on(e, t, n, i) {
329
- var r, o;
328
+ function rn(e, t, n, i) {
329
+ var o, r;
330
330
  const s = e[t] === "/" ? "/" : "";
331
331
  t += s.length;
332
332
  const u = n === "{" && e[t] === "\\";
333
333
  t += Number(u);
334
- const c = u ? e[t] : (r = e.slice(t).match(n === "{" ? /^\w+|^[^}>/]/ : /^\w+/)) === null || r === void 0 ? void 0 : r[0];
335
- bt(c, e, t, i), t += c.length;
334
+ const c = u ? e[t] : (o = e.slice(t).match(n === "{" ? /^\w+|^[^}>/]/ : /^\w+/)) === null || o === void 0 ? void 0 : o[0];
335
+ vt(c, e, t, i), t += c.length;
336
336
  var a;
337
- const d = (a = (o = e.slice(t).match(/^>\d+/)) === null || o === void 0 ? void 0 : o[0]) !== null && a !== void 0 ? a : "";
338
- t += d.length;
339
- const f = e[t] === "/" || !d && e[t] === ">" ? e[t] : "";
337
+ const l = (a = (r = e.slice(t).match(/^>\d+/)) === null || r === void 0 ? void 0 : r[0]) !== null && a !== void 0 ? a : "";
338
+ t += l.length;
339
+ const f = e[t] === "/" || !l && e[t] === ">" ? e[t] : "";
340
340
  t += f.length;
341
- const p = ae[n], b = e[t] === p ? p : "";
342
- if (!b)
343
- throw new Error(vt([
344
- !d && "repeat modifier",
341
+ const p = ae[n], v = e[t] === p ? p : "";
342
+ if (!v)
343
+ throw new Error(bt([
344
+ !l && "repeat modifier",
345
345
  !f && "release modifier",
346
346
  `"${p}"`
347
347
  ].filter(Boolean).join(" or "), e[t], e, i));
348
- return t += b.length, {
348
+ return t += v.length, {
349
349
  consumedLength: t,
350
350
  descriptor: c,
351
351
  releasePrevious: !!s,
352
- repeat: d ? Math.max(Number(d.substr(1)), 1) : 1,
353
- releaseSelf: sn(f, d)
352
+ repeat: l ? Math.max(Number(l.substr(1)), 1) : 1,
353
+ releaseSelf: sn(f, l)
354
354
  };
355
355
  }
356
- function bt(e, t, n, i) {
356
+ function vt(e, t, n, i) {
357
357
  if (!e)
358
- throw new Error(vt("key descriptor", t[n], t, i));
358
+ throw new Error(bt("key descriptor", t[n], t, i));
359
359
  }
360
360
  function sn(e, t) {
361
361
  if (e)
@@ -363,7 +363,7 @@ function sn(e, t) {
363
363
  if (t)
364
364
  return !1;
365
365
  }
366
- function vt(e, t, n, i) {
366
+ function bt(e, t, n, i) {
367
367
  return `Expected ${e} but found "${t ?? ""}" in "${n}"
368
368
  See ${i === "pointer" ? "https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen" : "https://testing-library.com/docs/user-event/keyboard"}
369
369
  for more information about how userEvent parses your input.`;
@@ -387,7 +387,7 @@ var B;
387
387
  })(B || (B = {}));
388
388
  function C(e) {
389
389
  for (let n = e; n; n = n.parentElement)
390
- if (l(n, [
390
+ if (d(n, [
391
391
  "button",
392
392
  "input",
393
393
  "select",
@@ -397,7 +397,7 @@ function C(e) {
397
397
  ])) {
398
398
  if (n.hasAttribute("disabled"))
399
399
  return !0;
400
- } else if (l(n, "fieldset")) {
400
+ } else if (d(n, "fieldset")) {
401
401
  var t;
402
402
  if (n.hasAttribute("disabled") && !(!((t = n.querySelector(":scope > legend")) === null || t === void 0) && t.contains(e)))
403
403
  return !0;
@@ -436,15 +436,15 @@ function an(e) {
436
436
  function gt(e) {
437
437
  return e.nodeType === 1;
438
438
  }
439
- function dn(e) {
439
+ function ln(e) {
440
440
  const t = e.ownerDocument.getSelection();
441
441
  if (t != null && t.focusNode && T(e)) {
442
442
  const i = Q(t.focusNode);
443
443
  if (i) {
444
444
  if (!t.isCollapsed) {
445
445
  var n;
446
- const r = ((n = i.firstChild) === null || n === void 0 ? void 0 : n.nodeType) === 3 ? i.firstChild : i;
447
- t.setBaseAndExtent(r, 0, r, 0);
446
+ const o = ((n = i.firstChild) === null || n === void 0 ? void 0 : n.nodeType) === 3 ? i.firstChild : i;
447
+ t.setBaseAndExtent(o, 0, o, 0);
448
448
  }
449
449
  } else
450
450
  t.setBaseAndExtent(e, 0, e, 0);
@@ -455,26 +455,26 @@ function R(e, t) {
455
455
  }
456
456
  function A(e) {
457
457
  const t = cn(e, Ne), n = pe(e.ownerDocument);
458
- (t ?? e.ownerDocument.body) !== n && (R(t ? () => t.focus() : () => n == null ? void 0 : n.blur()), dn(t ?? e.ownerDocument.body));
458
+ (t ?? e.ownerDocument.body) !== n && (R(t ? () => t.focus() : () => n == null ? void 0 : n.blur()), ln(t ?? e.ownerDocument.body));
459
459
  }
460
- function ln(e) {
460
+ function dn(e) {
461
461
  !Ne(e) || !(pe(e.ownerDocument) === e) || R(() => e.blur());
462
462
  }
463
463
  const O = {};
464
464
  O.click = (e, t, n) => {
465
- const i = t.closest("button,input,label,select,textarea"), r = i && l(i, "label") && i.control;
466
- if (r)
465
+ const i = t.closest("button,input,label,select,textarea"), o = i && d(i, "label") && i.control;
466
+ if (o)
467
467
  return () => {
468
- Ne(r) && A(r), n.dispatchEvent(r, un(e));
468
+ Ne(o) && A(o), n.dispatchEvent(o, un(e));
469
469
  };
470
- if (l(t, "input", {
470
+ if (d(t, "input", {
471
471
  type: "file"
472
472
  }))
473
473
  return () => {
474
- ln(t), t.dispatchEvent(new (w(t)).Event("fileDialog")), A(t);
474
+ dn(t), t.dispatchEvent(new (w(t)).Event("fileDialog")), A(t);
475
475
  };
476
476
  };
477
- const j = Symbol("Displayed value in UI"), I = Symbol("Displayed selection in UI"), de = Symbol("Initial value to compare on blur");
477
+ const j = Symbol("Displayed value in UI"), I = Symbol("Displayed selection in UI"), le = Symbol("Initial value to compare on blur");
478
478
  function fn(e) {
479
479
  return typeof e == "object" && j in e;
480
480
  }
@@ -482,7 +482,7 @@ function pn(e) {
482
482
  return !!e && typeof e == "object" && I in e;
483
483
  }
484
484
  function hn(e, t) {
485
- e[de] === void 0 && (e[de] = e.value), e[j] = t, e.value = Object.assign(new String(t), {
485
+ e[le] === void 0 && (e[le] = e.value), e[j] = t, e.value = Object.assign(new String(t), {
486
486
  [j]: !0
487
487
  });
488
488
  }
@@ -493,39 +493,39 @@ function Me(e) {
493
493
  e[j] = void 0;
494
494
  }
495
495
  function yt(e) {
496
- e[de] = void 0;
496
+ e[le] = void 0;
497
497
  }
498
- function bn(e) {
499
- return e[de];
498
+ function vn(e) {
499
+ return e[le];
500
500
  }
501
- function vn(e, t) {
501
+ function bn(e, t) {
502
502
  e[I] = t;
503
503
  }
504
504
  function W(e, { focusOffset: t, anchorOffset: n = t }, i = "replace") {
505
- const r = k(e).length, o = (f) => Math.max(0, Math.min(r, f)), s = i === "replace" || e[I] === void 0 ? o(n) : e[I].anchorOffset, u = o(t), c = Math.min(s, u), a = Math.max(s, u);
505
+ const o = k(e).length, r = (f) => Math.max(0, Math.min(o, f)), s = i === "replace" || e[I] === void 0 ? r(n) : e[I].anchorOffset, u = r(t), c = Math.min(s, u), a = Math.max(s, u);
506
506
  if (e[I] = {
507
507
  anchorOffset: s,
508
508
  focusOffset: u
509
509
  }, e.selectionStart === c && e.selectionEnd === a)
510
510
  return;
511
- const d = Object.assign(new Number(c), {
511
+ const l = Object.assign(new Number(c), {
512
512
  [I]: !0
513
513
  });
514
514
  try {
515
- e.setSelectionRange(d, a);
515
+ e.setSelectionRange(l, a);
516
516
  } catch {
517
517
  }
518
518
  }
519
519
  function Z(e) {
520
520
  var t, n, i;
521
- const r = (i = e[I]) !== null && i !== void 0 ? i : {
521
+ const o = (i = e[I]) !== null && i !== void 0 ? i : {
522
522
  anchorOffset: (t = e.selectionStart) !== null && t !== void 0 ? t : 0,
523
523
  focusOffset: (n = e.selectionEnd) !== null && n !== void 0 ? n : 0
524
524
  };
525
525
  return {
526
- ...r,
527
- startOffset: Math.min(r.anchorOffset, r.focusOffset),
528
- endOffset: Math.max(r.anchorOffset, r.focusOffset)
526
+ ...o,
527
+ startOffset: Math.min(o.anchorOffset, o.focusOffset),
528
+ endOffset: Math.max(o.anchorOffset, o.focusOffset)
529
529
  };
530
530
  }
531
531
  function gn(e) {
@@ -534,20 +534,20 @@ function gn(e) {
534
534
  function se(e) {
535
535
  e[I] = void 0;
536
536
  }
537
- const le = globalThis.parseInt;
537
+ const de = globalThis.parseInt;
538
538
  function yn(e) {
539
539
  const t = e.replace(/\D/g, "");
540
540
  if (t.length < 2)
541
541
  return e;
542
- const n = le(t[0], 10), i = le(t[1], 10);
542
+ const n = de(t[0], 10), i = de(t[1], 10);
543
543
  if (n >= 3 || n === 2 && i >= 4) {
544
- let r;
545
- return n >= 3 ? r = 1 : r = 2, Fe(t, r);
544
+ let o;
545
+ return n >= 3 ? o = 1 : o = 2, Fe(t, o);
546
546
  }
547
547
  return e.length === 2 ? e : Fe(t, 2);
548
548
  }
549
549
  function Fe(e, t) {
550
- const n = e.slice(0, t), i = Math.min(le(n, 10), 23), r = e.slice(t), o = le(r, 10), s = Math.min(o, 59);
550
+ const n = e.slice(0, t), i = Math.min(de(n, 10), 23), o = e.slice(t), r = de(o, 10), s = Math.min(r, 59);
551
551
  return `${i.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`;
552
552
  }
553
553
  function mt(e, t) {
@@ -560,32 +560,32 @@ function Et(e, t, n, i) {
560
560
  node: e,
561
561
  offset: t + n
562
562
  };
563
- const r = Ve(e, t, n);
564
- if (r) {
565
- if (ue(r))
563
+ const o = Ve(e, t, n);
564
+ if (o) {
565
+ if (ue(o))
566
566
  return {
567
- node: r,
568
- offset: n > 0 ? Math.min(1, r.nodeValue.length) : Math.max(r.nodeValue.length - 1, 0)
569
- };
570
- if (l(r, "br")) {
571
- const o = Ve(r, void 0, n);
572
- return o ? ue(o) ? {
573
567
  node: o,
574
- offset: n > 0 ? 0 : o.nodeValue.length
575
- } : n < 0 && l(o, "br") ? {
576
- node: r.parentNode,
577
- offset: ie(r)
578
- } : {
568
+ offset: n > 0 ? Math.min(1, o.nodeValue.length) : Math.max(o.nodeValue.length - 1, 0)
569
+ };
570
+ if (d(o, "br")) {
571
+ const r = Ve(o, void 0, n);
572
+ return r ? ue(r) ? {
573
+ node: r,
574
+ offset: n > 0 ? 0 : r.nodeValue.length
575
+ } : n < 0 && d(r, "br") ? {
579
576
  node: o.parentNode,
580
- offset: ie(o) + (n > 0 ? 0 : 1)
581
- } : n < 0 && i === "deleteContentBackward" ? {
577
+ offset: ie(o)
578
+ } : {
582
579
  node: r.parentNode,
583
- offset: ie(r)
580
+ offset: ie(r) + (n > 0 ? 0 : 1)
581
+ } : n < 0 && i === "deleteContentBackward" ? {
582
+ node: o.parentNode,
583
+ offset: ie(o)
584
584
  } : void 0;
585
585
  } else
586
586
  return {
587
- node: r.parentNode,
588
- offset: ie(r) + (n > 0 ? 1 : 0)
587
+ node: o.parentNode,
588
+ offset: ie(o) + (n > 0 ? 1 : 0)
589
589
  };
590
590
  }
591
591
  }
@@ -597,12 +597,12 @@ function mn(e) {
597
597
  if (ue(e))
598
598
  return !0;
599
599
  if (Le(e)) {
600
- if (l(e, [
600
+ if (d(e, [
601
601
  "input",
602
602
  "textarea"
603
603
  ]))
604
604
  return e.type !== "hidden";
605
- if (l(e, "br"))
605
+ if (d(e, "br"))
606
606
  return !0;
607
607
  }
608
608
  return !1;
@@ -622,9 +622,9 @@ function ue(e) {
622
622
  function En(e, t, n) {
623
623
  for (; ; ) {
624
624
  var i;
625
- const r = e[`${t}Sibling`];
626
- if (r) {
627
- if (e = wn(r, t === "next" ? "first" : "last"), n(e))
625
+ const o = e[`${t}Sibling`];
626
+ if (o) {
627
+ if (e = wn(o, t === "next" ? "first" : "last"), n(e))
628
628
  return e;
629
629
  } else if (e.parentNode && (!Le(e.parentNode) || !D(e.parentNode) && e.parentNode !== ((i = e.ownerDocument) === null || i === void 0 ? void 0 : i.body)))
630
630
  e = e.parentNode;
@@ -658,9 +658,9 @@ function Cn(e, t) {
658
658
  const i = e[Y];
659
659
  if (e[Y] = void 0, !(!(i == null || (n = i.tracked) === null || n === void 0) && n.length))
660
660
  return;
661
- const r = i.tracked.length === 2 && i.tracked[0] === i.previousValue && i.tracked[1] === e.value;
662
- r || Me(e), gn(e) && W(e, {
663
- focusOffset: r ? t : e.value.length
661
+ const o = i.tracked.length === 2 && i.tracked[0] === i.previousValue && i.tracked[1] === e.value;
662
+ o || Me(e), gn(e) && W(e, {
663
+ focusOffset: o ? t : e.value.length
664
664
  });
665
665
  }
666
666
  function wt(e) {
@@ -689,38 +689,38 @@ function _n(e) {
689
689
  }
690
690
  }
691
691
  function x({ focusNode: e, focusOffset: t, anchorNode: n = e, anchorOffset: i = t }) {
692
- var r, o;
692
+ var o, r;
693
693
  if (wt(e).type === "input")
694
694
  return W(e, {
695
695
  anchorOffset: i,
696
696
  focusOffset: t
697
697
  });
698
- (o = n.ownerDocument) === null || o === void 0 || (r = o.getSelection()) === null || r === void 0 || r.setBaseAndExtent(n, i, e, t);
698
+ (r = n.ownerDocument) === null || r === void 0 || (o = r.getSelection()) === null || o === void 0 || o.setBaseAndExtent(n, i, e, t);
699
699
  }
700
700
  function Tt(e) {
701
- return l(e, "input") && [
701
+ return d(e, "input") && [
702
702
  "date",
703
703
  "time"
704
704
  ].includes(e.type);
705
705
  }
706
706
  function H(e, t, n, i = "insertText") {
707
- const r = _n(t);
708
- r && (!Tt(t) && !e.dispatchUIEvent(t, "beforeinput", {
707
+ const o = _n(t);
708
+ o && (!Tt(t) && !e.dispatchUIEvent(t, "beforeinput", {
709
709
  inputType: i,
710
710
  data: n
711
- }) || ("startContainer" in r ? Pn(e, t, r, n, i) : An(e, t, r, n, i)));
711
+ }) || ("startContainer" in o ? Pn(e, t, o, n, i) : An(e, t, o, n, i)));
712
712
  }
713
- function Pn(e, t, n, i, r) {
714
- let o = !1;
713
+ function Pn(e, t, n, i, o) {
714
+ let r = !1;
715
715
  if (!n.collapsed)
716
- o = !0, n.deleteContents();
716
+ r = !0, n.deleteContents();
717
717
  else if ([
718
718
  "deleteContentBackward",
719
719
  "deleteContentForward"
720
- ].includes(r)) {
721
- const s = Et(n.startContainer, n.startOffset, r === "deleteContentBackward" ? -1 : 1, r);
720
+ ].includes(o)) {
721
+ const s = Et(n.startContainer, n.startOffset, o === "deleteContentBackward" ? -1 : 1, o);
722
722
  if (s) {
723
- o = !0;
723
+ r = !0;
724
724
  const u = n.cloneRange();
725
725
  u.comparePoint(s.node, s.offset) < 0 ? u.setStart(s.node, s.offset) : u.setEnd(s.node, s.offset), u.deleteContents();
726
726
  }
@@ -733,24 +733,24 @@ function Pn(e, t, n, i, r) {
733
733
  const s = t.ownerDocument.createTextNode(i);
734
734
  n.insertNode(s), n.setStart(s, i.length), n.setEnd(s, i.length);
735
735
  }
736
- (o || i) && e.dispatchUIEvent(t, "input", {
737
- inputType: r
736
+ (r || i) && e.dispatchUIEvent(t, "input", {
737
+ inputType: o
738
738
  });
739
739
  }
740
- function An(e, t, n, i, r) {
741
- let o = i;
740
+ function An(e, t, n, i, o) {
741
+ let r = i;
742
742
  if (nn(t)) {
743
743
  const a = tn(t);
744
744
  if (a !== void 0 && i.length > 0) {
745
- const d = a - t.value.length;
746
- if (d > 0)
747
- o = i.substring(0, d);
745
+ const l = a - t.value.length;
746
+ if (l > 0)
747
+ r = i.substring(0, l);
748
748
  else
749
749
  return;
750
750
  }
751
751
  }
752
- const { newValue: s, newOffset: u, oldValue: c } = On(o, t, n, r);
753
- s === c && u === n.startOffset && u === n.endOffset || l(t, "input", {
752
+ const { newValue: s, newOffset: u, oldValue: c } = On(r, t, n, o);
753
+ s === c && u === n.startOffset && u === n.endOffset || d(t, "input", {
754
754
  type: "number"
755
755
  }) && !Un(s) || (hn(t, s), x({
756
756
  focusNode: t,
@@ -758,21 +758,21 @@ function An(e, t, n, i, r) {
758
758
  focusOffset: u
759
759
  }), Tt(t) ? mt(t, s) && (Ke(e, t, u, {}), e.dispatchUIEvent(t, "change"), yt(t)) : Ke(e, t, u, {
760
760
  data: i,
761
- inputType: r
761
+ inputType: o
762
762
  }));
763
763
  }
764
- function On(e, t, { startOffset: n, endOffset: i }, r) {
765
- const o = k(t), s = Math.max(0, n === i && r === "deleteContentBackward" ? n - 1 : n), u = o.substring(0, s), c = Math.min(o.length, n === i && r === "deleteContentForward" ? n + 1 : i), a = o.substring(c, o.length);
766
- let d = `${u}${e}${a}`, f = s + e.length;
767
- if (l(t, "input", {
764
+ function On(e, t, { startOffset: n, endOffset: i }, o) {
765
+ const r = k(t), s = Math.max(0, n === i && o === "deleteContentBackward" ? n - 1 : n), u = r.substring(0, s), c = Math.min(r.length, n === i && o === "deleteContentForward" ? n + 1 : i), a = r.substring(c, r.length);
766
+ let l = `${u}${e}${a}`, f = s + e.length;
767
+ if (d(t, "input", {
768
768
  type: "time"
769
769
  })) {
770
- const p = yn(d);
771
- p !== "" && mt(t, p) && (d = p, f = p.length);
770
+ const p = yn(l);
771
+ p !== "" && mt(t, p) && (l = p, f = p.length);
772
772
  }
773
773
  return {
774
- oldValue: o,
775
- newValue: d,
774
+ oldValue: r,
775
+ newValue: l,
776
776
  newOffset: f
777
777
  };
778
778
  }
@@ -793,28 +793,28 @@ function Dn(e) {
793
793
  function xn(e) {
794
794
  const t = w(e);
795
795
  for (let n = e; n != null && n.ownerDocument; n = n.parentElement) {
796
- const { display: i, visibility: r } = t.getComputedStyle(n);
797
- if (i === "none" || r === "hidden")
796
+ const { display: i, visibility: o } = t.getComputedStyle(n);
797
+ if (i === "none" || o === "hidden")
798
798
  return !1;
799
799
  }
800
800
  return !0;
801
801
  }
802
802
  function Nn(e, t) {
803
- const n = e.ownerDocument, i = n.querySelectorAll(pt), r = Array.from(i).filter((c) => c === e || !(Number(c.getAttribute("tabindex")) < 0 || C(c)));
804
- Number(e.getAttribute("tabindex")) >= 0 && r.sort((c, a) => {
805
- const d = Number(c.getAttribute("tabindex")), f = Number(a.getAttribute("tabindex"));
806
- return d === f ? 0 : d === 0 ? 1 : f === 0 ? -1 : d - f;
803
+ const n = e.ownerDocument, i = n.querySelectorAll(pt), o = Array.from(i).filter((c) => c === e || !(Number(c.getAttribute("tabindex")) < 0 || C(c)));
804
+ Number(e.getAttribute("tabindex")) >= 0 && o.sort((c, a) => {
805
+ const l = Number(c.getAttribute("tabindex")), f = Number(a.getAttribute("tabindex"));
806
+ return l === f ? 0 : l === 0 ? 1 : f === 0 ? -1 : l - f;
807
807
  });
808
- const o = {};
808
+ const r = {};
809
809
  let s = [
810
810
  n.body
811
811
  ];
812
- const u = l(e, "input", {
812
+ const u = d(e, "input", {
813
813
  type: "radio"
814
814
  }) ? e.name : void 0;
815
- r.forEach((c) => {
815
+ o.forEach((c) => {
816
816
  const a = c;
817
- if (l(a, "input", {
817
+ if (d(a, "input", {
818
818
  type: "radio"
819
819
  }) && a.name) {
820
820
  if (a === e) {
@@ -823,13 +823,13 @@ function Nn(e, t) {
823
823
  } else if (a.name === u)
824
824
  return;
825
825
  if (a.checked) {
826
- s = s.filter((d) => !l(d, "input", {
826
+ s = s.filter((l) => !d(l, "input", {
827
827
  type: "radio",
828
828
  name: a.name
829
- })), s.push(a), o[a.name] = a;
829
+ })), s.push(a), r[a.name] = a;
830
830
  return;
831
831
  }
832
- if (typeof o[a.name] < "u")
832
+ if (typeof r[a.name] < "u")
833
833
  return;
834
834
  }
835
835
  s.push(a);
@@ -897,36 +897,36 @@ function q(e, t, n) {
897
897
  });
898
898
  throw new Error("Not implemented. The result of this interaction is unreliable.");
899
899
  }
900
- function re(e, t, n) {
901
- const i = w(t), r = Array.from(t.ownerDocument.querySelectorAll(t.name ? `input[type="radio"][name="${i.CSS.escape(t.name)}"]` : 'input[type="radio"][name=""], input[type="radio"]:not([name])'));
902
- for (let o = r.findIndex((s) => s === t) + n; ; o += n) {
903
- if (r[o] || (o = n > 0 ? 0 : r.length - 1), r[o] === t)
900
+ function oe(e, t, n) {
901
+ const i = w(t), o = Array.from(t.ownerDocument.querySelectorAll(t.name ? `input[type="radio"][name="${i.CSS.escape(t.name)}"]` : 'input[type="radio"][name=""], input[type="radio"]:not([name])'));
902
+ for (let r = o.findIndex((s) => s === t) + n; ; r += n) {
903
+ if (o[r] || (r = n > 0 ? 0 : o.length - 1), o[r] === t)
904
904
  return;
905
- C(r[o]) || (A(r[o]), e.dispatchUIEvent(r[o], "click"));
905
+ C(o[r]) || (A(o[r]), e.dispatchUIEvent(o[r], "click"));
906
906
  }
907
907
  }
908
908
  O.keydown = (e, t, n) => {
909
- var i, r;
910
- return (r = (i = je[e.key]) === null || i === void 0 ? void 0 : i.call(je, e, t, n)) !== null && r !== void 0 ? r : Ln(e, t, n);
909
+ var i, o;
910
+ return (o = (i = je[e.key]) === null || i === void 0 ? void 0 : i.call(je, e, t, n)) !== null && o !== void 0 ? o : Ln(e, t, n);
911
911
  };
912
912
  const je = {
913
913
  ArrowDown: (e, t, n) => {
914
- if (l(t, "input", {
914
+ if (d(t, "input", {
915
915
  type: "radio"
916
916
  }))
917
- return () => re(n, t, -1);
917
+ return () => oe(n, t, -1);
918
918
  },
919
- ArrowLeft: (e, t, n) => l(t, "input", {
919
+ ArrowLeft: (e, t, n) => d(t, "input", {
920
920
  type: "radio"
921
- }) ? () => re(n, t, -1) : () => Re(t, -1),
922
- ArrowRight: (e, t, n) => l(t, "input", {
921
+ }) ? () => oe(n, t, -1) : () => Re(t, -1),
922
+ ArrowRight: (e, t, n) => d(t, "input", {
923
923
  type: "radio"
924
- }) ? () => re(n, t, 1) : () => Re(t, 1),
924
+ }) ? () => oe(n, t, 1) : () => Re(t, 1),
925
925
  ArrowUp: (e, t, n) => {
926
- if (l(t, "input", {
926
+ if (d(t, "input", {
927
927
  type: "radio"
928
928
  }))
929
- return () => re(n, t, 1);
929
+ return () => oe(n, t, 1);
930
930
  },
931
931
  Backspace: (e, t, n) => {
932
932
  if (K(t))
@@ -941,21 +941,21 @@ const je = {
941
941
  };
942
942
  },
943
943
  End: (e, t) => {
944
- if (l(t, [
944
+ if (d(t, [
945
945
  "input",
946
946
  "textarea"
947
947
  ]) || D(t))
948
948
  return () => {
949
949
  var n, i;
950
- const r = (i = (n = Dn(t)) === null || n === void 0 ? void 0 : n.length) !== null && i !== void 0 ? i : (
950
+ const o = (i = (n = Dn(t)) === null || n === void 0 ? void 0 : n.length) !== null && i !== void 0 ? i : (
951
951
  /* istanbul ignore next */
952
952
  0
953
953
  );
954
- q(t, r, r);
954
+ q(t, o, o);
955
955
  };
956
956
  },
957
957
  Home: (e, t) => {
958
- if (l(t, [
958
+ if (d(t, [
959
959
  "input",
960
960
  "textarea"
961
961
  ]) || D(t))
@@ -964,7 +964,7 @@ const je = {
964
964
  };
965
965
  },
966
966
  PageDown: (e, t) => {
967
- if (l(t, [
967
+ if (d(t, [
968
968
  "input"
969
969
  ]))
970
970
  return () => {
@@ -973,7 +973,7 @@ const je = {
973
973
  };
974
974
  },
975
975
  PageUp: (e, t) => {
976
- if (l(t, [
976
+ if (d(t, [
977
977
  "input"
978
978
  ]))
979
979
  return () => {
@@ -993,19 +993,19 @@ const je = {
993
993
  };
994
994
  O.keypress = (e, t, n) => {
995
995
  if (e.key === "Enter") {
996
- if (l(t, "button") || l(t, "input") && $n.includes(t.type) || l(t, "a") && t.href)
996
+ if (d(t, "button") || d(t, "input") && $n.includes(t.type) || d(t, "a") && t.href)
997
997
  return () => {
998
998
  n.dispatchUIEvent(t, "click");
999
999
  };
1000
- if (l(t, "input")) {
1001
- const i = t.form, r = i == null ? void 0 : i.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');
1002
- return r ? () => n.dispatchUIEvent(r, "click") : i && Bn.includes(t.type) && i.querySelectorAll("input").length === 1 ? () => n.dispatchUIEvent(i, "submit") : void 0;
1000
+ if (d(t, "input")) {
1001
+ const i = t.form, o = i == null ? void 0 : i.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');
1002
+ return o ? () => n.dispatchUIEvent(o, "click") : i && Bn.includes(t.type) && i.querySelectorAll("input").length === 1 ? () => n.dispatchUIEvent(i, "submit") : void 0;
1003
1003
  }
1004
1004
  }
1005
1005
  if (K(t)) {
1006
- const i = e.key === "Enter" ? D(t) && !n.system.keyboard.modifiers.Shift ? "insertParagraph" : "insertLineBreak" : "insertText", r = e.key === "Enter" ? `
1006
+ const i = e.key === "Enter" ? D(t) && !n.system.keyboard.modifiers.Shift ? "insertParagraph" : "insertLineBreak" : "insertText", o = e.key === "Enter" ? `
1007
1007
  ` : e.key;
1008
- return () => H(n, t, r, i);
1008
+ return () => H(n, t, o, i);
1009
1009
  }
1010
1010
  };
1011
1011
  const $n = [
@@ -1039,8 +1039,8 @@ O.paste = (e, t, n) => {
1039
1039
  if (K(t))
1040
1040
  return () => {
1041
1041
  var i;
1042
- const r = (i = e.clipboardData) === null || i === void 0 ? void 0 : i.getData("text");
1043
- r && H(n, t, r, "insertFromPaste");
1042
+ const o = (i = e.clipboardData) === null || i === void 0 ? void 0 : i.getData("text");
1043
+ o && H(n, t, o, "insertFromPaste");
1044
1044
  };
1045
1045
  };
1046
1046
  const It = {
@@ -1292,51 +1292,51 @@ const Rn = {
1292
1292
  ],
1293
1293
  Event: [],
1294
1294
  InputEvent: [
1295
- oe,
1295
+ re,
1296
1296
  Gn
1297
1297
  ],
1298
1298
  MouseEvent: [
1299
- oe,
1299
+ re,
1300
1300
  ke,
1301
1301
  Ge
1302
1302
  ],
1303
1303
  PointerEvent: [
1304
- oe,
1304
+ re,
1305
1305
  ke,
1306
1306
  Ge,
1307
1307
  zn
1308
1308
  ],
1309
1309
  KeyboardEvent: [
1310
- oe,
1310
+ re,
1311
1311
  ke,
1312
1312
  Wn
1313
1313
  ]
1314
1314
  };
1315
1315
  function St(e, t, n) {
1316
- const i = w(t), { EventType: r, defaultInit: o } = It[e], s = new (jn(i))[r](e, o);
1317
- return Rn[r].forEach((u) => u(s, n ?? {})), s;
1316
+ const i = w(t), { EventType: o, defaultInit: r } = It[e], s = new (jn(i))[o](e, r);
1317
+ return Rn[o].forEach((u) => u(s, n ?? {})), s;
1318
1318
  }
1319
1319
  function jn(e) {
1320
1320
  var t;
1321
1321
  const n = (t = e.Event) !== null && t !== void 0 ? t : class {
1322
1322
  };
1323
1323
  var i;
1324
- const r = (i = e.AnimationEvent) !== null && i !== void 0 ? i : class extends n {
1324
+ const o = (i = e.AnimationEvent) !== null && i !== void 0 ? i : class extends n {
1325
1325
  };
1326
- var o;
1327
- const s = (o = e.ClipboardEvent) !== null && o !== void 0 ? o : class extends n {
1326
+ var r;
1327
+ const s = (r = e.ClipboardEvent) !== null && r !== void 0 ? r : class extends n {
1328
1328
  };
1329
1329
  var u;
1330
1330
  const c = (u = e.PopStateEvent) !== null && u !== void 0 ? u : class extends n {
1331
1331
  };
1332
1332
  var a;
1333
- const d = (a = e.ProgressEvent) !== null && a !== void 0 ? a : class extends n {
1333
+ const l = (a = e.ProgressEvent) !== null && a !== void 0 ? a : class extends n {
1334
1334
  };
1335
1335
  var f;
1336
1336
  const p = (f = e.TransitionEvent) !== null && f !== void 0 ? f : class extends n {
1337
1337
  };
1338
- var b;
1339
- const y = (b = e.UIEvent) !== null && b !== void 0 ? b : class extends n {
1338
+ var v;
1339
+ const y = (v = e.UIEvent) !== null && v !== void 0 ? v : class extends n {
1340
1340
  };
1341
1341
  var ee;
1342
1342
  const Bt = (ee = e.CompositionEvent) !== null && ee !== void 0 ? ee : class extends y {
@@ -1344,11 +1344,11 @@ function jn(e) {
1344
1344
  var he;
1345
1345
  const Ft = (he = e.FocusEvent) !== null && he !== void 0 ? he : class extends y {
1346
1346
  };
1347
- var be;
1348
- const Vt = (be = e.InputEvent) !== null && be !== void 0 ? be : class extends y {
1349
- };
1350
1347
  var ve;
1351
- const Kt = (ve = e.KeyboardEvent) !== null && ve !== void 0 ? ve : class extends y {
1348
+ const Vt = (ve = e.InputEvent) !== null && ve !== void 0 ? ve : class extends y {
1349
+ };
1350
+ var be;
1351
+ const Kt = (be = e.KeyboardEvent) !== null && be !== void 0 ? be : class extends y {
1352
1352
  };
1353
1353
  var ge;
1354
1354
  const ye = (ge = e.MouseEvent) !== null && ge !== void 0 ? ge : class extends y {
@@ -1364,10 +1364,10 @@ function jn(e) {
1364
1364
  };
1365
1365
  return {
1366
1366
  Event: n,
1367
- AnimationEvent: r,
1367
+ AnimationEvent: o,
1368
1368
  ClipboardEvent: s,
1369
1369
  PopStateEvent: c,
1370
- ProgressEvent: d,
1370
+ ProgressEvent: l,
1371
1371
  TransitionEvent: p,
1372
1372
  UIEvent: y,
1373
1373
  CompositionEvent: Bt,
@@ -1401,52 +1401,52 @@ function Gn(e, { data: t, inputType: n, isComposing: i }) {
1401
1401
  inputType: String(n)
1402
1402
  });
1403
1403
  }
1404
- function oe(e, { view: t, detail: n }) {
1404
+ function re(e, { view: t, detail: n }) {
1405
1405
  N(e, {
1406
1406
  view: t,
1407
1407
  detail: h(n ?? 0)
1408
1408
  });
1409
1409
  }
1410
- function ke(e, { altKey: t, ctrlKey: n, metaKey: i, shiftKey: r, modifierAltGraph: o, modifierCapsLock: s, modifierFn: u, modifierFnLock: c, modifierNumLock: a, modifierScrollLock: d, modifierSymbol: f, modifierSymbolLock: p }) {
1410
+ function ke(e, { altKey: t, ctrlKey: n, metaKey: i, shiftKey: o, modifierAltGraph: r, modifierCapsLock: s, modifierFn: u, modifierFnLock: c, modifierNumLock: a, modifierScrollLock: l, modifierSymbol: f, modifierSymbolLock: p }) {
1411
1411
  N(e, {
1412
1412
  altKey: !!t,
1413
1413
  ctrlKey: !!n,
1414
1414
  metaKey: !!i,
1415
- shiftKey: !!r,
1416
- getModifierState(b) {
1415
+ shiftKey: !!o,
1416
+ getModifierState(v) {
1417
1417
  return !!{
1418
1418
  Alt: t,
1419
- AltGraph: o,
1419
+ AltGraph: r,
1420
1420
  CapsLock: s,
1421
1421
  Control: n,
1422
1422
  Fn: u,
1423
1423
  FnLock: c,
1424
1424
  Meta: i,
1425
1425
  NumLock: a,
1426
- ScrollLock: d,
1427
- Shift: r,
1426
+ ScrollLock: l,
1427
+ Shift: o,
1428
1428
  Symbol: f,
1429
1429
  SymbolLock: p
1430
- }[b];
1430
+ }[v];
1431
1431
  }
1432
1432
  });
1433
1433
  }
1434
- function Wn(e, { key: t, code: n, location: i, repeat: r, isComposing: o, charCode: s }) {
1434
+ function Wn(e, { key: t, code: n, location: i, repeat: o, isComposing: r, charCode: s }) {
1435
1435
  N(e, {
1436
1436
  key: String(t),
1437
1437
  code: String(n),
1438
1438
  location: h(i),
1439
- repeat: !!r,
1440
- isComposing: !!o,
1439
+ repeat: !!o,
1440
+ isComposing: !!r,
1441
1441
  charCode: s
1442
1442
  });
1443
1443
  }
1444
- function Ge(e, { x: t, y: n, screenX: i, screenY: r, clientX: o = t, clientY: s = n, button: u, buttons: c, relatedTarget: a }) {
1444
+ function Ge(e, { x: t, y: n, screenX: i, screenY: o, clientX: r = t, clientY: s = n, button: u, buttons: c, relatedTarget: a }) {
1445
1445
  N(e, {
1446
1446
  screenX: h(i),
1447
- screenY: h(r),
1448
- clientX: h(o),
1449
- x: h(o),
1447
+ screenY: h(o),
1448
+ clientX: h(r),
1449
+ x: h(r),
1450
1450
  clientY: h(s),
1451
1451
  y: h(s),
1452
1452
  button: h(u),
@@ -1454,18 +1454,18 @@ function Ge(e, { x: t, y: n, screenX: i, screenY: r, clientX: o = t, clientY: s
1454
1454
  relatedTarget: a
1455
1455
  });
1456
1456
  }
1457
- function zn(e, { pointerId: t, width: n, height: i, pressure: r, tangentialPressure: o, tiltX: s, tiltY: u, twist: c, pointerType: a, isPrimary: d }) {
1457
+ function zn(e, { pointerId: t, width: n, height: i, pressure: o, tangentialPressure: r, tiltX: s, tiltY: u, twist: c, pointerType: a, isPrimary: l }) {
1458
1458
  N(e, {
1459
1459
  pointerId: h(t),
1460
1460
  width: h(n),
1461
1461
  height: h(i),
1462
- pressure: h(r),
1463
- tangentialPressure: h(o),
1462
+ pressure: h(o),
1463
+ tangentialPressure: h(r),
1464
1464
  tiltX: h(s),
1465
1465
  tiltY: h(u),
1466
1466
  twist: h(c),
1467
1467
  pointerType: String(a),
1468
- isPrimary: !!d
1468
+ isPrimary: !!l
1469
1469
  });
1470
1470
  }
1471
1471
  function qn(e, t, n, i = !1) {
@@ -1473,14 +1473,14 @@ function qn(e, t, n, i = !1) {
1473
1473
  ...n,
1474
1474
  ...this.system.getUIEventModifiers()
1475
1475
  });
1476
- const r = St(t, e, n);
1477
- return _t.call(this, e, r, i);
1476
+ const o = St(t, e, n);
1477
+ return _t.call(this, e, o, i);
1478
1478
  }
1479
1479
  function _t(e, t, n = !1) {
1480
1480
  var i;
1481
- const r = t.type, o = n ? () => {
1482
- } : (i = O[r]) === null || i === void 0 ? void 0 : i.call(O, t, e, this);
1483
- if (o) {
1481
+ const o = t.type, r = n ? () => {
1482
+ } : (i = O[o]) === null || i === void 0 ? void 0 : i.call(O, t, e, this);
1483
+ if (r) {
1484
1484
  t.preventDefault();
1485
1485
  let s = !1;
1486
1486
  return Object.defineProperty(t, "defaultPrevented", {
@@ -1489,7 +1489,7 @@ function _t(e, t, n = !1) {
1489
1489
  value: () => {
1490
1490
  s = t.cancelable;
1491
1491
  }
1492
- }), R(() => e.dispatchEvent(t)), s || o(), !s;
1492
+ }), R(() => e.dispatchEvent(t)), s || r(), !s;
1493
1493
  }
1494
1494
  return R(() => e.dispatchEvent(t));
1495
1495
  }
@@ -1499,16 +1499,16 @@ function Xn(e, t, n) {
1499
1499
  }
1500
1500
  const Ie = Symbol("Interceptor for programmatical calls");
1501
1501
  function $(e, t, n) {
1502
- const i = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = Object.getOwnPropertyDescriptor(e, t), o = i != null && i.set ? "set" : "value";
1503
- if (typeof (i == null ? void 0 : i[o]) != "function" || i[o][Ie])
1502
+ const i = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), o = Object.getOwnPropertyDescriptor(e, t), r = i != null && i.set ? "set" : "value";
1503
+ if (typeof (i == null ? void 0 : i[r]) != "function" || i[r][Ie])
1504
1504
  throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);
1505
1505
  function s(...u) {
1506
- const { applyNative: c = !1, realArgs: a, then: d } = n.call(this, ...u), f = (!c && r || i)[o];
1507
- o === "set" ? f.call(this, a) : f.call(this, ...a), d == null || d();
1506
+ const { applyNative: c = !1, realArgs: a, then: l } = n.call(this, ...u), f = (!c && o || i)[r];
1507
+ r === "set" ? f.call(this, a) : f.call(this, ...a), l == null || l();
1508
1508
  }
1509
1509
  s[Ie] = Ie, Object.defineProperty(e, t, {
1510
- ...r ?? i,
1511
- [o]: s
1510
+ ...o ?? i,
1511
+ [r]: s
1512
1512
  });
1513
1513
  }
1514
1514
  function Jn(e) {
@@ -1522,20 +1522,20 @@ function Jn(e) {
1522
1522
  });
1523
1523
  }
1524
1524
  function Qn(e, t) {
1525
- return l(e, "input", {
1525
+ return d(e, "input", {
1526
1526
  type: "number"
1527
1527
  }) && String(t) !== "" && !Number.isNaN(Number(t)) ? String(Number(t)) : String(t);
1528
1528
  }
1529
1529
  function Zn(e) {
1530
1530
  $(e, "setSelectionRange", function(n, ...i) {
1531
- const r = pn(n);
1531
+ const o = pn(n);
1532
1532
  return {
1533
- applyNative: !!r,
1533
+ applyNative: !!o,
1534
1534
  realArgs: [
1535
1535
  Number(n),
1536
1536
  ...i
1537
1537
  ],
1538
- then: () => r ? void 0 : se(e)
1538
+ then: () => o ? void 0 : se(e)
1539
1539
  };
1540
1540
  }), $(e, "selectionStart", function(n) {
1541
1541
  return {
@@ -1550,7 +1550,7 @@ function Zn(e) {
1550
1550
  }), $(e, "select", function() {
1551
1551
  return {
1552
1552
  realArgs: [],
1553
- then: () => vn(e, {
1553
+ then: () => bn(e, {
1554
1554
  anchorOffset: 0,
1555
1555
  focusOffset: k(e).length
1556
1556
  })
@@ -1576,7 +1576,7 @@ function Pt(e) {
1576
1576
  capture: !0,
1577
1577
  passive: !0
1578
1578
  }), e.activeElement && We(e.activeElement), e.addEventListener("blur", (t) => {
1579
- const n = t.target, i = bn(n);
1579
+ const n = t.target, i = vn(n);
1580
1580
  i !== void 0 && (n.value !== i && Xn(n, "change"), yt(n));
1581
1581
  }, {
1582
1582
  capture: !0,
@@ -1584,7 +1584,7 @@ function Pt(e) {
1584
1584
  }), e[F] = F);
1585
1585
  }
1586
1586
  function We(e) {
1587
- e[F] || (l(e, [
1587
+ e[F] || (d(e, [
1588
1588
  "input",
1589
1589
  "textarea"
1590
1590
  ]) && (Jn(e), Zn(e), Yn(e)), e[F] = F);
@@ -1637,7 +1637,7 @@ const ii = [
1637
1637
  function qe(e) {
1638
1638
  return ii.includes(e);
1639
1639
  }
1640
- class ri {
1640
+ class oi {
1641
1641
  isKeyPressed(t) {
1642
1642
  return !!this.pressed[String(t.code)];
1643
1643
  }
@@ -1646,19 +1646,19 @@ class ri {
1646
1646
  }
1647
1647
  /** Press a key */
1648
1648
  async keydown(t, n) {
1649
- var i, r, o;
1649
+ var i, o, r;
1650
1650
  const s = String(n.key), u = String(n.code), c = Te(t.config.document);
1651
1651
  this.setKeydownTarget(c);
1652
1652
  var a;
1653
- (a = (i = this.pressed)[r = u]) !== null && a !== void 0 || (i[r] = {
1653
+ (a = (i = this.pressed)[o = u]) !== null && a !== void 0 || (i[o] = {
1654
1654
  keyDef: n,
1655
1655
  unpreventedDefault: !1
1656
1656
  }), ze(s) && (this.modifiers[s] = !0);
1657
- const d = t.dispatchUIEvent(c, "keydown", {
1657
+ const l = t.dispatchUIEvent(c, "keydown", {
1658
1658
  key: s,
1659
1659
  code: u
1660
1660
  });
1661
- qe(s) && !this.modifiers[s] && (this.modifiers[s] = !0, this.modifierLockStart[s] = !0), (o = this.pressed[u]).unpreventedDefault || (o.unpreventedDefault = d), d && this.hasKeyPress(s) && t.dispatchUIEvent(Te(t.config.document), "keypress", {
1661
+ qe(s) && !this.modifiers[s] && (this.modifiers[s] = !0, this.modifierLockStart[s] = !0), (r = this.pressed[u]).unpreventedDefault || (r.unpreventedDefault = l), l && this.hasKeyPress(s) && t.dispatchUIEvent(Te(t.config.document), "keypress", {
1662
1662
  key: s,
1663
1663
  code: u,
1664
1664
  charCode: n.key === "Enter" ? 13 : String(n.key).charCodeAt(0)
@@ -1666,11 +1666,11 @@ class ri {
1666
1666
  }
1667
1667
  /** Release a key */
1668
1668
  async keyup(t, n) {
1669
- const i = String(n.key), r = String(n.code), o = this.pressed[r].unpreventedDefault;
1670
- delete this.pressed[r], ze(i) && !Object.values(this.pressed).find((s) => s.keyDef.key === i) && (this.modifiers[i] = !1), t.dispatchUIEvent(Te(t.config.document), "keyup", {
1669
+ const i = String(n.key), o = String(n.code), r = this.pressed[o].unpreventedDefault;
1670
+ delete this.pressed[o], ze(i) && !Object.values(this.pressed).find((s) => s.keyDef.key === i) && (this.modifiers[i] = !1), t.dispatchUIEvent(Te(t.config.document), "keyup", {
1671
1671
  key: i,
1672
- code: r
1673
- }, !o), qe(i) && this.modifiers[i] && (this.modifierLockStart[i] ? this.modifierLockStart[i] = !1 : this.modifiers[i] = !1);
1672
+ code: o
1673
+ }, !r), qe(i) && this.modifiers[i] && (this.modifierLockStart[i] ? this.modifierLockStart[i] = !1 : this.modifiers[i] = !1);
1674
1674
  }
1675
1675
  setKeydownTarget(t) {
1676
1676
  t !== this.lastKeydownTarget && (this.carryChar = ""), this.lastKeydownTarget = t;
@@ -1695,7 +1695,7 @@ class ri {
1695
1695
  }), M(this, "pressed", {}), M(this, "carryChar", ""), M(this, "lastKeydownTarget", void 0), M(this, "modifierLockStart", {}), this.system = t;
1696
1696
  }
1697
1697
  }
1698
- const oi = [
1698
+ const ri = [
1699
1699
  // alphanumeric keys
1700
1700
  ..."0123456789".split("").map((e) => ({
1701
1701
  code: `Digit${e}`,
@@ -1951,18 +1951,18 @@ class ai {
1951
1951
  }
1952
1952
  function J(e, t) {
1953
1953
  const n = [];
1954
- for (let o = e; o; o = o.parentElement)
1955
- n.push(o);
1954
+ for (let r = e; r; r = r.parentElement)
1955
+ n.push(r);
1956
1956
  const i = [];
1957
- for (let o = t; o; o = o.parentElement)
1958
- i.push(o);
1959
- let r = 0;
1960
- for (; !(r >= n.length || r >= i.length || n[n.length - 1 - r] !== i[i.length - 1 - r]); r++)
1957
+ for (let r = t; r; r = r.parentElement)
1958
+ i.push(r);
1959
+ let o = 0;
1960
+ for (; !(o >= n.length || o >= i.length || n[n.length - 1 - o] !== i[i.length - 1 - o]); o++)
1961
1961
  ;
1962
1962
  return [
1963
- n.slice(0, n.length - r),
1964
- i.slice(0, i.length - r),
1965
- i.slice(i.length - r)
1963
+ n.slice(0, n.length - o),
1964
+ i.slice(0, i.length - o),
1965
+ i.slice(i.length - o)
1966
1966
  ];
1967
1967
  }
1968
1968
  function Oe({ target: e, node: t, offset: n }) {
@@ -1976,42 +1976,42 @@ function Oe({ target: e, node: t, offset: n }) {
1976
1976
  }
1977
1977
  function Ot(e, t, n = !0) {
1978
1978
  let i = t === void 0 ? e.childNodes.length - 1 : 0;
1979
- const r = t === void 0 ? -1 : 1;
1979
+ const o = t === void 0 ? -1 : 1;
1980
1980
  for (; t === void 0 ? i >= (n ? Math.max(e.childNodes.length - 1, 0) : 0) : i <= e.childNodes.length; ) {
1981
1981
  if (t && i === e.childNodes.length)
1982
1982
  throw new Error("The given offset is out of bounds.");
1983
- const o = e.childNodes.item(i), s = String(o.textContent);
1983
+ const r = e.childNodes.item(i), s = String(r.textContent);
1984
1984
  if (s.length)
1985
1985
  if (t !== void 0 && s.length < t)
1986
1986
  t -= s.length;
1987
1987
  else {
1988
- if (o.nodeType === 1)
1989
- return Ot(o, t, !1);
1990
- if (o.nodeType === 3)
1988
+ if (r.nodeType === 1)
1989
+ return Ot(r, t, !1);
1990
+ if (r.nodeType === 3)
1991
1991
  return {
1992
- node: o,
1993
- offset: t ?? o.nodeValue.length
1992
+ node: r,
1993
+ offset: t ?? r.nodeValue.length
1994
1994
  };
1995
1995
  }
1996
- i += r;
1996
+ i += o;
1997
1997
  }
1998
1998
  return {
1999
1999
  node: e,
2000
2000
  offset: e.childNodes.length
2001
2001
  };
2002
2002
  }
2003
- function di({ document: e, target: t, clickCount: n, node: i, offset: r }) {
2003
+ function li({ document: e, target: t, clickCount: n, node: i, offset: o }) {
2004
2004
  if (an(t))
2005
2005
  return;
2006
- const o = T(t), s = String(o ? k(t) : t.textContent), [u, c] = i ? (
2006
+ const r = T(t), s = String(r ? k(t) : t.textContent), [u, c] = i ? (
2007
2007
  // which elements might be considered in the same line of text.
2008
2008
  // TODO: support expanding initial range on multiple clicks if node is given
2009
2009
  [
2010
- r,
2011
- r
2010
+ o,
2011
+ o
2012
2012
  ]
2013
- ) : li(s, r, n);
2014
- if (o)
2013
+ ) : di(s, o, n);
2014
+ if (r)
2015
2015
  return W(t, {
2016
2016
  anchorOffset: u ?? s.length,
2017
2017
  focusOffset: c ?? s.length
@@ -2021,7 +2021,7 @@ function di({ document: e, target: t, clickCount: n, node: i, offset: r }) {
2021
2021
  end: c ?? s.length
2022
2022
  };
2023
2023
  {
2024
- const { node: a, offset: d } = Oe({
2024
+ const { node: a, offset: l } = Oe({
2025
2025
  target: t,
2026
2026
  node: i,
2027
2027
  offset: u
@@ -2029,17 +2029,17 @@ function di({ document: e, target: t, clickCount: n, node: i, offset: r }) {
2029
2029
  target: t,
2030
2030
  node: i,
2031
2031
  offset: c
2032
- }), b = t.ownerDocument.createRange();
2032
+ }), v = t.ownerDocument.createRange();
2033
2033
  try {
2034
- b.setStart(a, d), b.setEnd(f, p);
2034
+ v.setStart(a, l), v.setEnd(f, p);
2035
2035
  } catch {
2036
2036
  throw new Error("The given offset is out of bounds.");
2037
2037
  }
2038
2038
  const y = e.getSelection();
2039
- return y == null || y.removeAllRanges(), y == null || y.addRange(b.cloneRange()), b;
2039
+ return y == null || y.removeAllRanges(), y == null || y.addRange(v.cloneRange()), v;
2040
2040
  }
2041
2041
  }
2042
- function li(e, t, n) {
2042
+ function di(e, t, n) {
2043
2043
  if (n % 3 === 1 || e.length === 0)
2044
2044
  return [
2045
2045
  t,
@@ -2054,30 +2054,30 @@ function li(e, t, n) {
2054
2054
  t === void 0 ? t : t + e.substr(t).match(/^[^\r\n]*/)[0].length
2055
2055
  ];
2056
2056
  }
2057
- function fi(e, { document: t, target: n, node: i, offset: r }) {
2058
- const o = Oe({
2057
+ function fi(e, { document: t, target: n, node: i, offset: o }) {
2058
+ const r = Oe({
2059
2059
  target: n,
2060
2060
  node: i,
2061
- offset: r
2061
+ offset: o
2062
2062
  });
2063
2063
  if ("node" in e) {
2064
- if (o.node === e.node) {
2065
- const s = o.offset < e.start ? e.end : e.start, u = o.offset > e.end || o.offset < e.start ? o.offset : e.end;
2064
+ if (r.node === e.node) {
2065
+ const s = r.offset < e.start ? e.end : e.start, u = r.offset > e.end || r.offset < e.start ? r.offset : e.end;
2066
2066
  W(e.node, {
2067
2067
  anchorOffset: s,
2068
2068
  focusOffset: u
2069
2069
  });
2070
2070
  }
2071
2071
  } else {
2072
- const s = e.cloneRange(), u = s.comparePoint(o.node, o.offset);
2073
- u < 0 ? s.setStart(o.node, o.offset) : u > 0 && s.setEnd(o.node, o.offset);
2072
+ const s = e.cloneRange(), u = s.comparePoint(r.node, r.offset);
2073
+ u < 0 ? s.setStart(r.node, r.offset) : u > 0 && s.setEnd(r.node, r.offset);
2074
2074
  const c = t.getSelection();
2075
2075
  c == null || c.removeAllRanges(), c == null || c.addRange(s.cloneRange());
2076
2076
  }
2077
2077
  }
2078
2078
  function Ut(e, t) {
2079
- var n, i, r, o, s, u, c, a;
2080
- return e.target !== t.target || ((n = e.coords) === null || n === void 0 ? void 0 : n.x) !== ((i = t.coords) === null || i === void 0 ? void 0 : i.y) || ((r = e.coords) === null || r === void 0 ? void 0 : r.y) !== ((o = t.coords) === null || o === void 0 ? void 0 : o.y) || ((s = e.caret) === null || s === void 0 ? void 0 : s.node) !== ((u = t.caret) === null || u === void 0 ? void 0 : u.node) || ((c = e.caret) === null || c === void 0 ? void 0 : c.offset) !== ((a = t.caret) === null || a === void 0 ? void 0 : a.offset);
2079
+ var n, i, o, r, s, u, c, a;
2080
+ return e.target !== t.target || ((n = e.coords) === null || n === void 0 ? void 0 : n.x) !== ((i = t.coords) === null || i === void 0 ? void 0 : i.y) || ((o = e.coords) === null || o === void 0 ? void 0 : o.y) !== ((r = t.coords) === null || r === void 0 ? void 0 : r.y) || ((s = e.caret) === null || s === void 0 ? void 0 : s.node) !== ((u = t.caret) === null || u === void 0 ? void 0 : u.node) || ((c = e.caret) === null || c === void 0 ? void 0 : c.offset) !== ((a = t.caret) === null || a === void 0 ? void 0 : a.offset);
2081
2081
  }
2082
2082
  function U(e, t, n) {
2083
2083
  return t in e ? Object.defineProperty(e, t, {
@@ -2089,39 +2089,39 @@ function U(e, t, n) {
2089
2089
  }
2090
2090
  class pi {
2091
2091
  move(t, n) {
2092
- const i = this.position, r = this.getTarget(t);
2092
+ const i = this.position, o = this.getTarget(t);
2093
2093
  if (this.position = n, !Ut(i, n))
2094
2094
  return;
2095
- const o = this.getTarget(t), s = this.getEventInit("mousemove"), [u, c] = J(r, o);
2095
+ const r = this.getTarget(t), s = this.getEventInit("mousemove"), [u, c] = J(o, r);
2096
2096
  return {
2097
2097
  leave: () => {
2098
- r !== o && (t.dispatchUIEvent(r, "mouseout", s), u.forEach((a) => t.dispatchUIEvent(a, "mouseleave", s)));
2098
+ o !== r && (t.dispatchUIEvent(o, "mouseout", s), u.forEach((a) => t.dispatchUIEvent(a, "mouseleave", s)));
2099
2099
  },
2100
2100
  enter: () => {
2101
- r !== o && (t.dispatchUIEvent(o, "mouseover", s), c.forEach((a) => t.dispatchUIEvent(a, "mouseenter", s)));
2101
+ o !== r && (t.dispatchUIEvent(r, "mouseover", s), c.forEach((a) => t.dispatchUIEvent(a, "mouseenter", s)));
2102
2102
  },
2103
2103
  move: () => {
2104
- t.dispatchUIEvent(o, "mousemove", s), this.modifySelecting(t);
2104
+ t.dispatchUIEvent(r, "mousemove", s), this.modifySelecting(t);
2105
2105
  }
2106
2106
  };
2107
2107
  }
2108
2108
  down(t, n, i) {
2109
- const r = this.buttons.down(n);
2110
- if (r === void 0)
2109
+ const o = this.buttons.down(n);
2110
+ if (o === void 0)
2111
2111
  return;
2112
- const o = this.getTarget(t);
2113
- this.buttonDownTarget[r] = o;
2114
- const s = C(o), u = this.getEventInit("mousedown", n.button);
2115
- (s || t.dispatchUIEvent(o, "mousedown", u)) && (this.startSelecting(t, u.detail), A(o)), !s && Qe(n.button) === 2 && t.dispatchUIEvent(o, "contextmenu", this.getEventInit("contextmenu", n.button, i));
2112
+ const r = this.getTarget(t);
2113
+ this.buttonDownTarget[o] = r;
2114
+ const s = C(r), u = this.getEventInit("mousedown", n.button);
2115
+ (s || t.dispatchUIEvent(r, "mousedown", u)) && (this.startSelecting(t, u.detail), A(r)), !s && Qe(n.button) === 2 && t.dispatchUIEvent(r, "contextmenu", this.getEventInit("contextmenu", n.button, i));
2116
2116
  }
2117
2117
  up(t, n, i) {
2118
- const r = this.buttons.up(n);
2119
- if (r === void 0)
2118
+ const o = this.buttons.up(n);
2119
+ if (o === void 0)
2120
2120
  return;
2121
- const o = this.getTarget(t);
2122
- if (!C(o)) {
2123
- t.dispatchUIEvent(o, "mouseup", this.getEventInit("mouseup", n.button)), this.endSelecting();
2124
- const s = J(this.buttonDownTarget[r], o)[2][0];
2121
+ const r = this.getTarget(t);
2122
+ if (!C(r)) {
2123
+ t.dispatchUIEvent(r, "mouseup", this.getEventInit("mouseup", n.button)), this.endSelecting();
2124
+ const s = J(this.buttonDownTarget[o], r)[2][0];
2125
2125
  if (s) {
2126
2126
  const u = this.getEventInit("click", n.button, i);
2127
2127
  u.detail && (t.dispatchUIEvent(s, u.button === 0 ? "click" : "auxclick", u), u.button === 0 && u.detail === 2 && t.dispatchUIEvent(s, "dblclick", {
@@ -2135,22 +2135,22 @@ class pi {
2135
2135
  this.clickCount.reset();
2136
2136
  }
2137
2137
  getEventInit(t, n, i) {
2138
- const r = {
2138
+ const o = {
2139
2139
  ...this.position.coords
2140
2140
  };
2141
- return i && (r.pointerId = i.pointerId, r.pointerType = i.pointerType, r.isPrimary = i.isPrimary), r.button = Qe(n), r.buttons = this.buttons.getButtons(), t === "mousedown" ? r.detail = this.clickCount.getOnDown(r.button) : t === "mouseup" ? r.detail = this.clickCount.getOnUp(r.button) : (t === "click" || t === "auxclick") && (r.detail = this.clickCount.incOnClick(r.button)), r;
2141
+ return i && (o.pointerId = i.pointerId, o.pointerType = i.pointerType, o.isPrimary = i.isPrimary), o.button = Qe(n), o.buttons = this.buttons.getButtons(), t === "mousedown" ? o.detail = this.clickCount.getOnDown(o.button) : t === "mouseup" ? o.detail = this.clickCount.getOnUp(o.button) : (t === "click" || t === "auxclick") && (o.detail = this.clickCount.incOnClick(o.button)), o;
2142
2142
  }
2143
2143
  getTarget(t) {
2144
2144
  var n;
2145
2145
  return (n = this.position.target) !== null && n !== void 0 ? n : t.config.document.body;
2146
2146
  }
2147
2147
  startSelecting(t, n) {
2148
- var i, r;
2149
- this.selecting = di({
2148
+ var i, o;
2149
+ this.selecting = li({
2150
2150
  document: t.config.document,
2151
2151
  target: this.getTarget(t),
2152
2152
  node: (i = this.position.caret) === null || i === void 0 ? void 0 : i.node,
2153
- offset: (r = this.position.caret) === null || r === void 0 ? void 0 : r.offset,
2153
+ offset: (o = this.position.caret) === null || o === void 0 ? void 0 : o.offset,
2154
2154
  clickCount: n
2155
2155
  });
2156
2156
  }
@@ -2204,13 +2204,13 @@ function hi(e) {
2204
2204
  const t = w(e);
2205
2205
  for (let n = e, i = []; n != null && n.ownerDocument; n = n.parentElement) {
2206
2206
  i.push(n);
2207
- const r = t.getComputedStyle(n).pointerEvents;
2208
- if (r && ![
2207
+ const o = t.getComputedStyle(n).pointerEvents;
2208
+ if (o && ![
2209
2209
  "inherit",
2210
2210
  "unset"
2211
- ].includes(r))
2211
+ ].includes(o))
2212
2212
  return {
2213
- pointerEvents: r,
2213
+ pointerEvents: o,
2214
2214
  tree: i
2215
2215
  };
2216
2216
  }
@@ -2220,12 +2220,12 @@ function Dt(e, t) {
2220
2220
  const n = t[Ze];
2221
2221
  if (!(e.config.pointerEventsCheck !== B.Never && (!n || Ye(e.config.pointerEventsCheck, B.EachApiCall) && n[g.Call] !== ne(e, g.Call) || Ye(e.config.pointerEventsCheck, B.EachTrigger) && n[g.Trigger] !== ne(e, g.Trigger))))
2222
2222
  return n == null ? void 0 : n.result;
2223
- const r = hi(t);
2223
+ const o = hi(t);
2224
2224
  return t[Ze] = {
2225
2225
  [g.Call]: ne(e, g.Call),
2226
2226
  [g.Trigger]: ne(e, g.Trigger),
2227
- result: r
2228
- }, r;
2227
+ result: o
2228
+ }, o;
2229
2229
  }
2230
2230
  function X(e, t) {
2231
2231
  const n = Dt(e, t);
@@ -2233,31 +2233,31 @@ function X(e, t) {
2233
2233
  throw new Error([
2234
2234
  `Unable to perform pointer interaction as the element ${n.tree.length > 1 ? "inherits" : "has"} \`pointer-events: none\`:`,
2235
2235
  "",
2236
- bi(n.tree)
2236
+ vi(n.tree)
2237
2237
  ].join(`
2238
2238
  `));
2239
2239
  }
2240
- function bi(e) {
2240
+ function vi(e) {
2241
2241
  return e.reverse().map((t, n) => [
2242
2242
  "".padEnd(n),
2243
2243
  t.tagName,
2244
2244
  t.id && `#${t.id}`,
2245
2245
  t.hasAttribute("data-testid") && `(testId=${t.getAttribute("data-testid")})`,
2246
- vi(t),
2246
+ bi(t),
2247
2247
  e.length > 1 && n === 0 && " <-- This element declared `pointer-events: none`",
2248
2248
  e.length > 1 && n === e.length - 1 && " <-- Asserted pointer events here"
2249
2249
  ].filter(Boolean).join("")).join(`
2250
2250
  `);
2251
2251
  }
2252
- function vi(e) {
2252
+ function bi(e) {
2253
2253
  var t;
2254
2254
  let n;
2255
2255
  if (e.hasAttribute("aria-label"))
2256
2256
  n = e.getAttribute("aria-label");
2257
2257
  else if (e.hasAttribute("aria-labelledby")) {
2258
- var i, r;
2259
- n = (r = e.ownerDocument.getElementById(e.getAttribute("aria-labelledby"))) === null || r === void 0 || (i = r.textContent) === null || i === void 0 ? void 0 : i.trim();
2260
- } else if (l(e, [
2258
+ var i, o;
2259
+ n = (o = e.ownerDocument.getElementById(e.getAttribute("aria-labelledby"))) === null || o === void 0 || (i = o.textContent) === null || i === void 0 ? void 0 : i.trim();
2260
+ } else if (d(e, [
2261
2261
  "button",
2262
2262
  "input",
2263
2263
  "meter",
@@ -2270,9 +2270,9 @@ function vi(e) {
2270
2270
  var u;
2271
2271
  return (u = s.textContent) === null || u === void 0 ? void 0 : u.trim();
2272
2272
  }).join("|");
2273
- else if (l(e, "button")) {
2274
- var o;
2275
- n = (o = e.textContent) === null || o === void 0 ? void 0 : o.trim();
2273
+ else if (d(e, "button")) {
2274
+ var r;
2275
+ n = (r = e.textContent) === null || r === void 0 ? void 0 : r.trim();
2276
2276
  }
2277
2277
  return n = n == null ? void 0 : n.replace(/\n/g, " "), Number(n == null ? void 0 : n.length) > 30 && (n = `${n == null ? void 0 : n.substring(0, 29)}…`), n ? `(label=${n})` : "";
2278
2278
  }
@@ -2290,23 +2290,23 @@ function S(e, t, n) {
2290
2290
  class et {
2291
2291
  init(t, n) {
2292
2292
  this.position = n;
2293
- const i = this.getTarget(t), [, r] = J(null, i), o = this.getEventInit();
2294
- return X(t, i), t.dispatchUIEvent(i, "pointerover", o), r.forEach((s) => t.dispatchUIEvent(s, "pointerenter", o)), this;
2293
+ const i = this.getTarget(t), [, o] = J(null, i), r = this.getEventInit();
2294
+ return X(t, i), t.dispatchUIEvent(i, "pointerover", r), o.forEach((s) => t.dispatchUIEvent(s, "pointerenter", r)), this;
2295
2295
  }
2296
2296
  move(t, n) {
2297
- const i = this.position, r = this.getTarget(t);
2297
+ const i = this.position, o = this.getTarget(t);
2298
2298
  if (this.position = n, !Ut(i, n))
2299
2299
  return;
2300
- const o = this.getTarget(t), s = this.getEventInit(), [u, c] = J(r, o);
2300
+ const r = this.getTarget(t), s = this.getEventInit(), [u, c] = J(o, r);
2301
2301
  return {
2302
2302
  leave: () => {
2303
- fe(t, r) && r !== o && (t.dispatchUIEvent(r, "pointerout", s), u.forEach((a) => t.dispatchUIEvent(a, "pointerleave", s)));
2303
+ fe(t, o) && o !== r && (t.dispatchUIEvent(o, "pointerout", s), u.forEach((a) => t.dispatchUIEvent(a, "pointerleave", s)));
2304
2304
  },
2305
2305
  enter: () => {
2306
- X(t, o), r !== o && (t.dispatchUIEvent(o, "pointerover", s), c.forEach((a) => t.dispatchUIEvent(a, "pointerenter", s)));
2306
+ X(t, r), o !== r && (t.dispatchUIEvent(r, "pointerover", s), c.forEach((a) => t.dispatchUIEvent(a, "pointerenter", s)));
2307
2307
  },
2308
2308
  move: () => {
2309
- t.dispatchUIEvent(o, "pointermove", s);
2309
+ t.dispatchUIEvent(r, "pointermove", s);
2310
2310
  }
2311
2311
  };
2312
2312
  }
@@ -2323,8 +2323,8 @@ class et {
2323
2323
  X(t, i), this.isDown = !1, t.dispatchUIEvent(i, "pointerup", this.getEventInit());
2324
2324
  }
2325
2325
  release(t) {
2326
- const n = this.getTarget(t), [i] = J(n, null), r = this.getEventInit();
2327
- fe(t, n) && (t.dispatchUIEvent(n, "pointerout", r), i.forEach((o) => t.dispatchUIEvent(o, "pointerleave", r))), this.isCancelled = !0;
2326
+ const n = this.getTarget(t), [i] = J(n, null), o = this.getEventInit();
2327
+ fe(t, n) && (t.dispatchUIEvent(n, "pointerout", o), i.forEach((r) => t.dispatchUIEvent(r, "pointerleave", o))), this.isCancelled = !0;
2328
2328
  }
2329
2329
  getTarget(t) {
2330
2330
  var n;
@@ -2355,25 +2355,25 @@ class gi {
2355
2355
  return this.devices.get(t.pointerType).isPressed(t);
2356
2356
  }
2357
2357
  async press(t, n, i) {
2358
- const r = this.getPointerName(n), o = n.pointerType === "touch" ? this.pointers.new(r, n).init(t, i) : this.pointers.get(r);
2359
- o.position = i, o.pointerType !== "touch" && (this.mouse.position = i), this.devices.get(n.pointerType).addPressed(n), this.buttons.down(n), o.down(t, n), o.pointerType !== "touch" && !o.isPrevented && this.mouse.down(t, n, o);
2358
+ const o = this.getPointerName(n), r = n.pointerType === "touch" ? this.pointers.new(o, n).init(t, i) : this.pointers.get(o);
2359
+ r.position = i, r.pointerType !== "touch" && (this.mouse.position = i), this.devices.get(n.pointerType).addPressed(n), this.buttons.down(n), r.down(t, n), r.pointerType !== "touch" && !r.isPrevented && this.mouse.down(t, n, r);
2360
2360
  }
2361
2361
  async move(t, n, i) {
2362
- const r = this.pointers.get(n), o = r.move(t, i), s = r.pointerType === "touch" || r.isPrevented && r.isDown ? void 0 : this.mouse.move(t, i);
2363
- o == null || o.leave(), s == null || s.leave(), o == null || o.enter(), s == null || s.enter(), o == null || o.move(), s == null || s.move();
2362
+ const o = this.pointers.get(n), r = o.move(t, i), s = o.pointerType === "touch" || o.isPrevented && o.isDown ? void 0 : this.mouse.move(t, i);
2363
+ r == null || r.leave(), s == null || s.leave(), r == null || r.enter(), s == null || s.enter(), r == null || r.move(), s == null || s.move();
2364
2364
  }
2365
2365
  async release(t, n, i) {
2366
- const r = this.devices.get(n.pointerType);
2367
- r.removePressed(n), this.buttons.up(n);
2368
- const o = this.pointers.get(this.getPointerName(n));
2369
- if (o.position = i, o.pointerType !== "touch" && (this.mouse.position = i), r.countPressed === 0 && o.up(t, n), o.pointerType === "touch" && o.release(t), !o.isPrevented) {
2370
- if (o.pointerType === "touch" && !o.isMultitouch) {
2371
- const s = this.mouse.move(t, o.position);
2372
- s == null || s.leave(), s == null || s.enter(), s == null || s.move(), this.mouse.down(t, n, o);
2366
+ const o = this.devices.get(n.pointerType);
2367
+ o.removePressed(n), this.buttons.up(n);
2368
+ const r = this.pointers.get(this.getPointerName(n));
2369
+ if (r.position = i, r.pointerType !== "touch" && (this.mouse.position = i), o.countPressed === 0 && r.up(t, n), r.pointerType === "touch" && r.release(t), !r.isPrevented) {
2370
+ if (r.pointerType === "touch" && !r.isMultitouch) {
2371
+ const s = this.mouse.move(t, r.position);
2372
+ s == null || s.leave(), s == null || s.enter(), s == null || s.move(), this.mouse.down(t, n, r);
2373
2373
  }
2374
- if (!o.isMultitouch) {
2375
- const s = this.mouse.move(t, o.position);
2376
- s == null || s.leave(), s == null || s.enter(), s == null || s.move(), this.mouse.up(t, n, o);
2374
+ if (!r.isMultitouch) {
2375
+ const s = this.mouse.move(t, r.position);
2376
+ s == null || s.leave(), s == null || s.enter(), s == null || s.move(), this.mouse.up(t, n, r);
2377
2377
  }
2378
2378
  }
2379
2379
  }
@@ -2396,21 +2396,21 @@ class gi {
2396
2396
  constructor(t) {
2397
2397
  _(this, "system", void 0), _(this, "mouse", void 0), _(this, "buttons", void 0), _(this, "devices", new class {
2398
2398
  get(n) {
2399
- var i, r, o;
2400
- return (o = (i = this.registry)[r = n]) !== null && o !== void 0 || (i[r] = new ai()), this.registry[n];
2399
+ var i, o, r;
2400
+ return (r = (i = this.registry)[o = n]) !== null && r !== void 0 || (i[o] = new ai()), this.registry[n];
2401
2401
  }
2402
2402
  constructor() {
2403
2403
  _(this, "registry", {});
2404
2404
  }
2405
2405
  }()), _(this, "pointers", new class {
2406
2406
  new(n, i) {
2407
- const r = i.pointerType !== "touch" || !Object.values(this.registry).some((o) => o.pointerType === "touch" && !o.isCancelled);
2408
- return r || Object.values(this.registry).forEach((o) => {
2409
- o.pointerType === i.pointerType && !o.isCancelled && (o.isMultitouch = !0);
2407
+ const o = i.pointerType !== "touch" || !Object.values(this.registry).some((r) => r.pointerType === "touch" && !r.isCancelled);
2408
+ return o || Object.values(this.registry).forEach((r) => {
2409
+ r.pointerType === i.pointerType && !r.isCancelled && (r.isMultitouch = !0);
2410
2410
  }), this.registry[n] = new et({
2411
2411
  pointerId: this.nextId++,
2412
2412
  pointerType: i.pointerType,
2413
- isPrimary: r
2413
+ isPrimary: o
2414
2414
  }), this.registry[n];
2415
2415
  }
2416
2416
  get(n) {
@@ -2459,7 +2459,7 @@ class xt {
2459
2459
  };
2460
2460
  }
2461
2461
  constructor() {
2462
- tt(this, "keyboard", new ri(this)), tt(this, "pointer", new gi(this));
2462
+ tt(this, "keyboard", new oi(this)), tt(this, "pointer", new gi(this));
2463
2463
  }
2464
2464
  }
2465
2465
  async function yi(e) {
@@ -2503,24 +2503,24 @@ async function ki({ shift: e } = {}) {
2503
2503
  function Ii(e, t) {
2504
2504
  const n = [];
2505
2505
  do {
2506
- const { type: r, descriptor: o, consumedLength: s, releasePrevious: u, releaseSelf: c = !0, repeat: a } = ht(t, "keyboard");
2506
+ const { type: o, descriptor: r, consumedLength: s, releasePrevious: u, releaseSelf: c = !0, repeat: a } = ht(t, "keyboard");
2507
2507
  var i;
2508
- const d = (i = e.find((f) => {
2509
- if (r === "[") {
2508
+ const l = (i = e.find((f) => {
2509
+ if (o === "[") {
2510
2510
  var p;
2511
- return ((p = f.code) === null || p === void 0 ? void 0 : p.toLowerCase()) === o.toLowerCase();
2512
- } else if (r === "{") {
2513
- var b;
2514
- return ((b = f.key) === null || b === void 0 ? void 0 : b.toLowerCase()) === o.toLowerCase();
2511
+ return ((p = f.code) === null || p === void 0 ? void 0 : p.toLowerCase()) === r.toLowerCase();
2512
+ } else if (o === "{") {
2513
+ var v;
2514
+ return ((v = f.key) === null || v === void 0 ? void 0 : v.toLowerCase()) === r.toLowerCase();
2515
2515
  }
2516
- return f.key === o;
2516
+ return f.key === r;
2517
2517
  })) !== null && i !== void 0 ? i : {
2518
2518
  key: "Unknown",
2519
2519
  code: "Unknown",
2520
- [r === "[" ? "code" : "key"]: o
2520
+ [o === "[" ? "code" : "key"]: r
2521
2521
  };
2522
2522
  n.push({
2523
- keyDef: d,
2523
+ keyDef: l,
2524
2524
  releasePrevious: u,
2525
2525
  releaseSelf: c,
2526
2526
  repeat: a
@@ -2533,12 +2533,12 @@ async function Ci(e) {
2533
2533
  for (let n = 0; n < t.length; n++)
2534
2534
  await G(this.config), await Si(this, t[n]);
2535
2535
  }
2536
- async function Si(e, { keyDef: t, releasePrevious: n, releaseSelf: i, repeat: r }) {
2537
- const { system: o } = e;
2538
- if (o.keyboard.isKeyPressed(t) && await o.keyboard.keyup(e, t), !n) {
2539
- for (let s = 1; s <= r; s++)
2540
- await o.keyboard.keydown(e, t), s < r && await G(e.config);
2541
- i && await o.keyboard.keyup(e, t);
2536
+ async function Si(e, { keyDef: t, releasePrevious: n, releaseSelf: i, repeat: o }) {
2537
+ const { system: r } = e;
2538
+ if (r.keyboard.isKeyPressed(t) && await r.keyboard.keyup(e, t), !n) {
2539
+ for (let s = 1; s <= o; s++)
2540
+ await r.keyboard.keydown(e, t), s < o && await G(e.config);
2541
+ i && await r.keyboard.keyup(e, t);
2542
2542
  }
2543
2543
  }
2544
2544
  async function _i(e) {
@@ -2569,7 +2569,7 @@ async function Ai() {
2569
2569
  if (i.items.length !== 0)
2570
2570
  return this.dispatchUIEvent(n, "copy", {
2571
2571
  clipboardData: i
2572
- }) && this.config.writeToClipboard && await lt(e, i), i;
2572
+ }) && this.config.writeToClipboard && await dt(e, i), i;
2573
2573
  }
2574
2574
  async function Oi() {
2575
2575
  const e = this.config.document;
@@ -2581,7 +2581,7 @@ async function Oi() {
2581
2581
  if (i.items.length !== 0)
2582
2582
  return this.dispatchUIEvent(n, "cut", {
2583
2583
  clipboardData: i
2584
- }) && this.config.writeToClipboard && await lt(n.ownerDocument, i), i;
2584
+ }) && this.config.writeToClipboard && await dt(n.ownerDocument, i), i;
2585
2585
  }
2586
2586
  async function Ui(e) {
2587
2587
  const t = this.config.document;
@@ -2590,12 +2590,12 @@ async function Ui(e) {
2590
2590
  /* istanbul ignore next */
2591
2591
  t.body
2592
2592
  );
2593
- var r;
2594
- const o = (r = typeof e == "string" ? Di(t, e) : e) !== null && r !== void 0 ? r : await Yt(t).catch(() => {
2593
+ var o;
2594
+ const r = (o = typeof e == "string" ? Di(t, e) : e) !== null && o !== void 0 ? o : await Yt(t).catch(() => {
2595
2595
  throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.");
2596
2596
  });
2597
2597
  this.dispatchUIEvent(i, "paste", {
2598
- clipboardData: o
2598
+ clipboardData: r
2599
2599
  });
2600
2600
  }
2601
2601
  function Di(e, t) {
@@ -2605,12 +2605,12 @@ function Di(e, t) {
2605
2605
  function nt(e, t) {
2606
2606
  const n = [];
2607
2607
  do {
2608
- const { descriptor: i, consumedLength: r, releasePrevious: o, releaseSelf: s = !0 } = ht(t, "pointer"), u = e.find((c) => c.name === i);
2608
+ const { descriptor: i, consumedLength: o, releasePrevious: r, releaseSelf: s = !0 } = ht(t, "pointer"), u = e.find((c) => c.name === i);
2609
2609
  u && n.push({
2610
2610
  keyDef: u,
2611
- releasePrevious: o,
2611
+ releasePrevious: r,
2612
2612
  releaseSelf: s
2613
- }), t = t.slice(r);
2613
+ }), t = t.slice(o);
2614
2614
  } while (t);
2615
2615
  return n;
2616
2616
  }
@@ -2619,9 +2619,9 @@ async function xi(e) {
2619
2619
  (Array.isArray(e) ? e : [
2620
2620
  e
2621
2621
  ]).forEach((i) => {
2622
- typeof i == "string" ? n.push(...nt(t, i)) : "keys" in i ? n.push(...nt(t, i.keys).map((r) => ({
2622
+ typeof i == "string" ? n.push(...nt(t, i)) : "keys" in i ? n.push(...nt(t, i.keys).map((o) => ({
2623
2623
  ...i,
2624
- ...r
2624
+ ...o
2625
2625
  }))) : n.push(i);
2626
2626
  });
2627
2627
  for (let i = 0; i < n.length; i++)
@@ -2630,17 +2630,17 @@ async function xi(e) {
2630
2630
  }
2631
2631
  async function Ni(e, t) {
2632
2632
  var n, i;
2633
- const r = "pointerName" in t && t.pointerName ? t.pointerName : "keyDef" in t ? e.system.pointer.getPointerName(t.keyDef) : "mouse", o = e.system.pointer.getPreviousPosition(r);
2633
+ const o = "pointerName" in t && t.pointerName ? t.pointerName : "keyDef" in t ? e.system.pointer.getPointerName(t.keyDef) : "mouse", r = e.system.pointer.getPreviousPosition(o);
2634
2634
  var s, u, c, a;
2635
- const d = {
2636
- target: (s = t.target) !== null && s !== void 0 ? s : Mi(e, o),
2637
- coords: (u = t.coords) !== null && u !== void 0 ? u : o == null ? void 0 : o.coords,
2635
+ const l = {
2636
+ target: (s = t.target) !== null && s !== void 0 ? s : Mi(e, r),
2637
+ coords: (u = t.coords) !== null && u !== void 0 ? u : r == null ? void 0 : r.coords,
2638
2638
  caret: {
2639
- node: (c = t.node) !== null && c !== void 0 ? c : it(t) || o == null || (n = o.caret) === null || n === void 0 ? void 0 : n.node,
2640
- offset: (a = t.offset) !== null && a !== void 0 ? a : it(t) || o == null || (i = o.caret) === null || i === void 0 ? void 0 : i.offset
2639
+ node: (c = t.node) !== null && c !== void 0 ? c : it(t) || r == null || (n = r.caret) === null || n === void 0 ? void 0 : n.node,
2640
+ offset: (a = t.offset) !== null && a !== void 0 ? a : it(t) || r == null || (i = r.caret) === null || i === void 0 ? void 0 : i.offset
2641
2641
  }
2642
2642
  };
2643
- "keyDef" in t ? (e.system.pointer.isKeyPressed(t.keyDef) && (z(e, g.Trigger), await e.system.pointer.release(e, t.keyDef, d)), t.releasePrevious || (z(e, g.Trigger), await e.system.pointer.press(e, t.keyDef, d), t.releaseSelf && (z(e, g.Trigger), await e.system.pointer.release(e, t.keyDef, d)))) : (z(e, g.Trigger), await e.system.pointer.move(e, r, d));
2643
+ "keyDef" in t ? (e.system.pointer.isKeyPressed(t.keyDef) && (z(e, g.Trigger), await e.system.pointer.release(e, t.keyDef, l)), t.releasePrevious || (z(e, g.Trigger), await e.system.pointer.press(e, t.keyDef, l), t.releaseSelf && (z(e, g.Trigger), await e.system.pointer.release(e, t.keyDef, l)))) : (z(e, g.Trigger), await e.system.pointer.move(e, o, l));
2644
2644
  }
2645
2645
  function it(e) {
2646
2646
  var t, n;
@@ -2672,17 +2672,17 @@ async function Mt(e, t, n) {
2672
2672
  throw L().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.", t);
2673
2673
  const i = Array.isArray(n) ? n : [
2674
2674
  n
2675
- ], r = Array.from(t.querySelectorAll('option, [role="option"]')), o = i.map((u) => {
2676
- if (typeof u != "string" && r.includes(u))
2675
+ ], o = Array.from(t.querySelectorAll('option, [role="option"]')), r = i.map((u) => {
2676
+ if (typeof u != "string" && o.includes(u))
2677
2677
  return u;
2678
2678
  {
2679
- const c = r.find((a) => a.value === u || a.innerHTML === u);
2679
+ const c = o.find((a) => a.value === u || a.innerHTML === u);
2680
2680
  if (c)
2681
2681
  return c;
2682
2682
  throw L().getElementError(`Value "${String(u)}" not found in options`, t);
2683
2683
  }
2684
2684
  }).filter((u) => !C(u));
2685
- if (C(t) || !o.length) return;
2685
+ if (C(t) || !r.length) return;
2686
2686
  const s = (u) => {
2687
2687
  u.selected = e, this.dispatchUIEvent(t, "input", {
2688
2688
  bubbles: !0,
@@ -2690,38 +2690,38 @@ async function Mt(e, t, n) {
2690
2690
  composed: !0
2691
2691
  }), this.dispatchUIEvent(t, "change");
2692
2692
  };
2693
- if (l(t, "select"))
2693
+ if (d(t, "select"))
2694
2694
  if (t.multiple)
2695
- for (const u of o) {
2695
+ for (const u of r) {
2696
2696
  const c = this.config.pointerEventsCheck === 0 ? !0 : fe(this, u);
2697
2697
  c && (this.dispatchUIEvent(u, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.dispatchUIEvent(u, "mouseover"), this.dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(u, "pointermove"), this.dispatchUIEvent(u, "mousemove"), this.dispatchUIEvent(u, "pointerdown"), this.dispatchUIEvent(u, "mousedown")), A(t), c && (this.dispatchUIEvent(u, "pointerup"), this.dispatchUIEvent(u, "mouseup")), s(u), c && this.dispatchUIEvent(u, "click"), await G(this.config);
2698
2698
  }
2699
- else if (o.length === 1) {
2699
+ else if (r.length === 1) {
2700
2700
  const u = this.config.pointerEventsCheck === 0 ? !0 : fe(this, t);
2701
- u ? await this.click(t) : A(t), s(o[0]), u && (this.dispatchUIEvent(t, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.dispatchUIEvent(t, "mouseover"), this.dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(t, "pointerup"), this.dispatchUIEvent(t, "mouseup"), this.dispatchUIEvent(t, "click")), await G(this.config);
2701
+ u ? await this.click(t) : A(t), s(r[0]), u && (this.dispatchUIEvent(t, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.dispatchUIEvent(t, "mouseover"), this.dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(t, "pointerup"), this.dispatchUIEvent(t, "mouseup"), this.dispatchUIEvent(t, "click")), await G(this.config);
2702
2702
  } else
2703
2703
  throw L().getElementError("Cannot select multiple options on a non-multiple select", t);
2704
2704
  else if (t.getAttribute("role") === "listbox")
2705
- for (const u of o)
2705
+ for (const u of r)
2706
2706
  await this.click(u), await this.unhover(u);
2707
2707
  else
2708
2708
  throw L().getElementError("Cannot select options on elements that are neither select nor listbox elements", t);
2709
2709
  }
2710
- async function Fi(e, t, { skipClick: n = this.config.skipClick, skipAutoClose: i = this.config.skipAutoClose, initialSelectionStart: r, initialSelectionEnd: o } = {}) {
2711
- e.disabled || (n || await this.click(e), r !== void 0 && q(e, r, o ?? r), await this.keyboard(t), i || await _i(this));
2710
+ async function Fi(e, t, { skipClick: n = this.config.skipClick, skipAutoClose: i = this.config.skipAutoClose, initialSelectionStart: o, initialSelectionEnd: r } = {}) {
2711
+ e.disabled || (n || await this.click(e), o !== void 0 && q(e, o, r ?? o), await this.keyboard(t), i || await _i(this));
2712
2712
  }
2713
- const rt = Symbol("files and value properties are mocked");
2713
+ const ot = Symbol("files and value properties are mocked");
2714
2714
  function Ce(e, t, n) {
2715
2715
  n ? Object.defineProperty(e, t, n) : delete e[t];
2716
2716
  }
2717
2717
  function Vi(e, t) {
2718
2718
  var n;
2719
- (n = e[rt]) === null || n === void 0 || n.restore();
2720
- const i = Object.getOwnPropertyDescriptor(e, "type"), r = Object.getOwnPropertyDescriptor(e, "value"), o = Object.getOwnPropertyDescriptor(e, "files");
2719
+ (n = e[ot]) === null || n === void 0 || n.restore();
2720
+ const i = Object.getOwnPropertyDescriptor(e, "type"), o = Object.getOwnPropertyDescriptor(e, "value"), r = Object.getOwnPropertyDescriptor(e, "files");
2721
2721
  function s() {
2722
- Ce(e, "type", i), Ce(e, "value", r), Ce(e, "files", o);
2722
+ Ce(e, "type", i), Ce(e, "value", o), Ce(e, "files", r);
2723
2723
  }
2724
- e[rt] = {
2724
+ e[ot] = {
2725
2725
  restore: s
2726
2726
  }, Object.defineProperties(e, {
2727
2727
  files: {
@@ -2736,7 +2736,7 @@ function Vi(e, t) {
2736
2736
  s();
2737
2737
  else {
2738
2738
  var c;
2739
- r == null || (c = r.set) === null || c === void 0 || c.call(e, u);
2739
+ o == null || (c = o.set) === null || c === void 0 || c.call(e, u);
2740
2740
  }
2741
2741
  }
2742
2742
  },
@@ -2750,22 +2750,22 @@ function Vi(e, t) {
2750
2750
  });
2751
2751
  }
2752
2752
  async function Ki(e, t) {
2753
- const n = l(e, "label") ? e.control : e;
2754
- if (!n || !l(n, "input", {
2753
+ const n = d(e, "label") ? e.control : e;
2754
+ if (!n || !d(n, "input", {
2755
2755
  type: "file"
2756
2756
  }))
2757
2757
  throw new TypeError(`The ${n === e ? "given" : "associated"} ${n == null ? void 0 : n.tagName} element does not accept file uploads`);
2758
2758
  if (C(e)) return;
2759
2759
  const i = (Array.isArray(t) ? t : [
2760
2760
  t
2761
- ]).filter((o) => !this.config.applyAccept || Ri(o, n.accept)).slice(0, n.multiple ? void 0 : 1), r = () => {
2762
- var o;
2763
- i.length === ((o = n.files) === null || o === void 0 ? void 0 : o.length) && i.every((s, u) => {
2761
+ ]).filter((r) => !this.config.applyAccept || Ri(r, n.accept)).slice(0, n.multiple ? void 0 : 1), o = () => {
2762
+ var r;
2763
+ i.length === ((r = n.files) === null || r === void 0 ? void 0 : r.length) && i.every((s, u) => {
2764
2764
  var c;
2765
2765
  return s === ((c = n.files) === null || c === void 0 ? void 0 : c.item(u));
2766
2766
  }) || (Vi(n, Ue(w(e), i)), this.dispatchUIEvent(n, "input"), this.dispatchUIEvent(n, "change"));
2767
2767
  };
2768
- n.addEventListener("fileDialog", r), await this.click(e), n.removeEventListener("fileDialog", r);
2768
+ n.addEventListener("fileDialog", o), await this.click(e), n.removeEventListener("fileDialog", o);
2769
2769
  }
2770
2770
  function Ri(e, t) {
2771
2771
  if (!t)
@@ -2777,7 +2777,7 @@ function Ri(e, t) {
2777
2777
  ];
2778
2778
  return t.split(",").some((i) => i.startsWith(".") ? e.name.endsWith(i) : n.includes(i) ? e.type.startsWith(i.substr(0, i.length - 1)) : e.type === i);
2779
2779
  }
2780
- const ot = {
2780
+ const rt = {
2781
2781
  click: yi,
2782
2782
  dblClick: mi,
2783
2783
  tripleClick: Ei,
@@ -2803,7 +2803,7 @@ const Lt = {
2803
2803
  autoModify: !0,
2804
2804
  delay: 0,
2805
2805
  document: globalThis.document,
2806
- keyboardMap: oi,
2806
+ keyboardMap: ri,
2807
2807
  pointerMap: si,
2808
2808
  pointerEventsCheck: B.EachApiCall,
2809
2809
  skipAutoClose: !1,
@@ -2833,13 +2833,13 @@ function Gi(e = {}) {
2833
2833
  );
2834
2834
  return Jt(i), $e(t).api;
2835
2835
  }
2836
- function v({ keyboardState: e, pointerState: t, ...n } = {}, i) {
2837
- const r = $t(n, Lt, i);
2838
- Pt(r.document);
2839
- var o;
2840
- const s = (o = t ?? e) !== null && o !== void 0 ? o : new xt();
2836
+ function b({ keyboardState: e, pointerState: t, ...n } = {}, i) {
2837
+ const o = $t(n, Lt, i);
2838
+ Pt(o.document);
2839
+ var r;
2840
+ const s = (r = t ?? e) !== null && r !== void 0 ? r : new xt();
2841
2841
  return {
2842
- api: $e(r, s).api,
2842
+ api: $e(o, s).api,
2843
2843
  system: s
2844
2844
  };
2845
2845
  }
@@ -2851,7 +2851,7 @@ function Wi(e) {
2851
2851
  }
2852
2852
  function zi(e, t) {
2853
2853
  function n(...i) {
2854
- return z(e, g.Call), ji(() => t.apply(e, i).then(async (r) => (await G(e.config), r)));
2854
+ return z(e, g.Call), ji(() => t.apply(e, i).then(async (o) => (await G(e.config), o)));
2855
2855
  }
2856
2856
  return Object.defineProperty(n, "name", {
2857
2857
  get: () => t.name
@@ -2865,98 +2865,98 @@ function $e(e, t = new xt()) {
2865
2865
  dispatchUIEvent: qn.bind(n),
2866
2866
  system: t,
2867
2867
  levelRefs: {},
2868
- ...ot
2868
+ ...rt
2869
2869
  }), {
2870
2870
  instance: n,
2871
2871
  api: {
2872
- ...Object.fromEntries(Object.entries(ot).map(([i, r]) => [
2872
+ ...Object.fromEntries(Object.entries(rt).map(([i, o]) => [
2873
2873
  i,
2874
- zi(n, r)
2874
+ zi(n, o)
2875
2875
  ])),
2876
2876
  setup: Wi.bind(n)
2877
2877
  }
2878
2878
  };
2879
2879
  }
2880
2880
  function qi(e, t, n) {
2881
- var i, r;
2882
- return (r = (i = e.document) !== null && i !== void 0 ? i : t && ei(t)) !== null && r !== void 0 ? r : n.document;
2881
+ var i, o;
2882
+ return (o = (i = e.document) !== null && i !== void 0 ? i : t && ei(t)) !== null && o !== void 0 ? o : n.document;
2883
2883
  }
2884
2884
  function Xi(e) {
2885
- return v().api.clear(e);
2885
+ return b().api.clear(e);
2886
2886
  }
2887
2887
  function Ji(e, t = {}) {
2888
- return v(t, e).api.click(e);
2888
+ return b(t, e).api.click(e);
2889
2889
  }
2890
2890
  function Qi(e = {}) {
2891
- return v(e).api.copy();
2891
+ return b(e).api.copy();
2892
2892
  }
2893
2893
  function Zi(e = {}) {
2894
- return v(e).api.cut();
2894
+ return b(e).api.cut();
2895
2895
  }
2896
2896
  function Yi(e, t = {}) {
2897
- return v(t).api.dblClick(e);
2897
+ return b(t).api.dblClick(e);
2898
2898
  }
2899
- function er(e, t, n = {}) {
2900
- return v(n).api.deselectOptions(e, t);
2899
+ function eo(e, t, n = {}) {
2900
+ return b(n).api.deselectOptions(e, t);
2901
2901
  }
2902
- function tr(e, t = {}) {
2903
- return v(t).api.hover(e);
2902
+ function to(e, t = {}) {
2903
+ return b(t).api.hover(e);
2904
2904
  }
2905
- async function nr(e, t = {}) {
2906
- const { api: n, system: i } = v(t);
2905
+ async function no(e, t = {}) {
2906
+ const { api: n, system: i } = b(t);
2907
2907
  return n.keyboard(e).then(() => i);
2908
2908
  }
2909
- async function ir(e, t = {}) {
2910
- const { api: n, system: i } = v(t);
2909
+ async function io(e, t = {}) {
2910
+ const { api: n, system: i } = b(t);
2911
2911
  return n.pointer(e).then(() => i);
2912
2912
  }
2913
- function rr(e, t) {
2914
- return v(t).api.paste(e);
2913
+ function oo(e, t) {
2914
+ return b(t).api.paste(e);
2915
2915
  }
2916
- function or(e, t, n = {}) {
2917
- return v(n).api.selectOptions(e, t);
2916
+ function ro(e, t, n = {}) {
2917
+ return b(n).api.selectOptions(e, t);
2918
2918
  }
2919
- function sr(e, t = {}) {
2920
- return v(t).api.tripleClick(e);
2919
+ function so(e, t = {}) {
2920
+ return b(t).api.tripleClick(e);
2921
2921
  }
2922
- function ur(e, t, n = {}) {
2923
- return v(n, e).api.type(e, t, n);
2922
+ function uo(e, t, n = {}) {
2923
+ return b(n, e).api.type(e, t, n);
2924
2924
  }
2925
- function cr(e, t = {}) {
2926
- const { api: n, system: i } = v(t);
2925
+ function co(e, t = {}) {
2926
+ const { api: n, system: i } = b(t);
2927
2927
  return i.pointer.setMousePosition({
2928
2928
  target: e
2929
2929
  }), n.unhover(e);
2930
2930
  }
2931
- function ar(e, t, n = {}) {
2932
- return v(n).api.upload(e, t);
2931
+ function ao(e, t, n = {}) {
2932
+ return b(n).api.upload(e, t);
2933
2933
  }
2934
- function dr(e = {}) {
2935
- return v().api.tab(e);
2934
+ function lo(e = {}) {
2935
+ return b().api.tab(e);
2936
2936
  }
2937
- const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2937
+ const fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2938
2938
  __proto__: null,
2939
2939
  clear: Xi,
2940
2940
  click: Ji,
2941
2941
  copy: Qi,
2942
2942
  cut: Zi,
2943
2943
  dblClick: Yi,
2944
- deselectOptions: er,
2945
- hover: tr,
2946
- keyboard: nr,
2947
- paste: rr,
2948
- pointer: ir,
2949
- selectOptions: or,
2950
- tab: dr,
2951
- tripleClick: sr,
2952
- type: ur,
2953
- unhover: cr,
2954
- upload: ar
2955
- }, Symbol.toStringTag, { value: "Module" })), Ur = {
2956
- ...lr,
2944
+ deselectOptions: eo,
2945
+ hover: to,
2946
+ keyboard: no,
2947
+ paste: oo,
2948
+ pointer: io,
2949
+ selectOptions: ro,
2950
+ tab: lo,
2951
+ tripleClick: so,
2952
+ type: uo,
2953
+ unhover: co,
2954
+ upload: ao
2955
+ }, Symbol.toStringTag, { value: "Module" })), Do = {
2956
+ ...fo,
2957
2957
  setup: Gi
2958
2958
  };
2959
2959
  export {
2960
- Ur as u
2960
+ Do as u
2961
2961
  };
2962
- //# sourceMappingURL=index-Ck15_vKo.js.map
2962
+ //# sourceMappingURL=index-CUap8sKR.js.map