@uva-glass/component-library 3.30.0 → 3.31.0
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.
- package/dist/{Lexical.prod-UwAbgYpF.js → Lexical.prod-B84LhBo3.js} +1196 -1224
- package/dist/Lexical.prod-B84LhBo3.js.map +1 -0
- package/dist/{LexicalClipboard.prod-DHIGjydG.js → LexicalClipboard.prod-DLgWWXys.js} +4 -4
- package/dist/{LexicalClipboard.prod-DHIGjydG.js.map → LexicalClipboard.prod-DLgWWXys.js.map} +1 -1
- package/dist/{LexicalLink.prod-Bsa9J7L-.js → LexicalLink.prod-DoU9RL94.js} +3 -3
- package/dist/{LexicalLink.prod-Bsa9J7L-.js.map → LexicalLink.prod-DoU9RL94.js.map} +1 -1
- package/dist/{LexicalList.prod-jxGuZd4b.js → LexicalList.prod-Cw2TK1jY.js} +4 -4
- package/dist/{LexicalList.prod-jxGuZd4b.js.map → LexicalList.prod-Cw2TK1jY.js.map} +1 -1
- package/dist/{LexicalSelection.prod-xk5MiZnZ.js → LexicalSelection.prod-TB5pn9xc.js} +2 -2
- package/dist/{LexicalSelection.prod-xk5MiZnZ.js.map → LexicalSelection.prod-TB5pn9xc.js.map} +1 -1
- package/dist/{LexicalTable.prod-BSjs04iE.js → LexicalTable.prod-9xjyWB0C.js} +4 -4
- package/dist/{LexicalTable.prod-BSjs04iE.js.map → LexicalTable.prod-9xjyWB0C.js.map} +1 -1
- package/dist/{LexicalUtils.prod-cQutjKA3.js → LexicalUtils.prod-CD3xGFhm.js} +2 -2
- package/dist/{LexicalUtils.prod-cQutjKA3.js.map → LexicalUtils.prod-CD3xGFhm.js.map} +1 -1
- package/dist/Sortable.module--kgnzOjW.js +26 -0
- package/dist/Sortable.module--kgnzOjW.js.map +1 -0
- package/dist/SortableProvider-C2T7b-pm.js +153 -0
- package/dist/SortableProvider-C2T7b-pm.js.map +1 -0
- package/dist/{TablePlugin-NmJsn2fm.js → TablePlugin-Dmy98Epb.js} +86 -91
- package/dist/{TablePlugin-NmJsn2fm.js.map → TablePlugin-Dmy98Epb.js.map} +1 -1
- package/dist/assets/Backdrop.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ClipboardButton.css +1 -1
- package/dist/assets/ExpandableInfoPanel.css +1 -1
- package/dist/assets/FormInput.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputField.css +1 -1
- package/dist/assets/LinkContextMenu.css +1 -1
- package/dist/assets/Notification.css +1 -1
- package/dist/assets/OverlayCloseButton.css +1 -1
- package/dist/assets/OverlayStepBar.css +1 -1
- package/dist/assets/PageOverlay.css +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/VarIndicator.css +1 -1
- package/dist/components/Accordion/Accordion.test.js +3 -3
- package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
- package/dist/components/ActionList/ActionList.test.js +3 -3
- package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
- package/dist/components/Attention/Attention.test.js +2 -2
- package/dist/components/Backdrop/Backdrop.test.js +2 -2
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.test.js +2 -2
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +2 -2
- package/dist/components/Buttons/MenuButton.stories.js +5 -5
- package/dist/components/Buttons/MenuButton.test.js +2 -2
- package/dist/components/Card/Card.test.js +2 -2
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +3 -3
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
- package/dist/components/CheckboxTree/CheckboxTree.js +58 -59
- package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +58 -59
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/Chip/Chip.stories.js +5 -5
- package/dist/components/ControlsButton/ControlsButton.stories.js +5 -5
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
- package/dist/components/FormInput/FormInput.js +3 -3
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/HorizontalList/HorizontalList.js +7 -7
- package/dist/components/HorizontalList/HorizontalList.js.map +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js +10 -10
- package/dist/components/Label/Label.test.js +2 -2
- package/dist/components/ModalDialog/ModalDialog.stories.js +8 -8
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +8 -8
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js +66 -70
- package/dist/components/MultiSelectBox/MultiSelectBox.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -2
- package/dist/components/Notification/Notification.js +41 -41
- package/dist/components/Notification/Notification.stories.js +6 -6
- package/dist/components/Notification/Notification.test.js +2 -2
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +4 -4
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js +19 -20
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +33 -33
- package/dist/components/PeriodSelector/PeriodSelector.js.map +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +4 -4
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
- package/dist/components/RadioTabSelector/RadioTabSelector.js +3 -3
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +3 -3
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +4 -4
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +51 -61
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +79 -89
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +19 -19
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +5 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +17 -18
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +31 -32
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +10 -10
- package/dist/components/RteEditor/helpers.js +4 -4
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +31 -32
- package/dist/components/SelectListbox/components/SelectButton.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +29 -30
- package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
- package/dist/components/Sortable/Sortable.d.ts +6 -1
- package/dist/components/Sortable/Sortable.js +23 -13
- package/dist/components/Sortable/Sortable.js.map +1 -1
- package/dist/components/Sortable/Sortable.stories.js +13 -12
- package/dist/components/Sortable/Sortable.stories.js.map +1 -1
- package/dist/components/Sortable/SortableProvider.d.ts +2 -1
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.d.ts +2 -1
- package/dist/components/Sortable/components/SortableContainer.js +2 -2
- package/dist/components/Sortable/components/SortableHandle.js +1 -1
- package/dist/components/Sortable/components/SortableItem.d.ts +3 -1
- package/dist/components/Sortable/components/SortableItem.js +48 -47
- package/dist/components/Sortable/components/SortableItem.js.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
- package/dist/components/TextArea/TextArea.stories.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +3 -3
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
- package/dist/components/hooks/usePositionedFloaters.js +39 -39
- package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{helpers-DZIm3MiJ.js → helpers-CMG0anwr.js} +4 -4
- package/dist/{helpers-DZIm3MiJ.js.map → helpers-CMG0anwr.js.map} +1 -1
- package/dist/{index-DV47hRzi.js → index-Br0QepD6.js} +8 -10
- package/dist/{index-DV47hRzi.js.map → index-Br0QepD6.js.map} +1 -1
- package/dist/{index-Di9WPZUe.js → index-C2E9FY6V.js} +9149 -9854
- package/dist/index-C2E9FY6V.js.map +1 -0
- package/dist/{index-PaHiqSUg.js → index-Ds1dMTvJ.js} +29 -29
- package/dist/{index-PaHiqSUg.js.map → index-Ds1dMTvJ.js.map} +1 -1
- package/dist/{index-BVAvx58-.js → index-KJPw-7za.js} +2209 -2280
- package/dist/{index-BVAvx58-.js.map → index-KJPw-7za.js.map} +1 -1
- package/dist/{index-DllfJcv4.js → index-nrPtQ1dv.js} +2 -2
- package/dist/{index-DllfJcv4.js.map → index-nrPtQ1dv.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{react.esm-CFMwGdo5.js → react.esm-BKjCIfbB.js} +373 -374
- package/dist/{react.esm-CFMwGdo5.js.map → react.esm-BKjCIfbB.js.map} +1 -1
- package/dist/setupTests.js +6 -9
- package/dist/setupTests.js.map +1 -1
- package/dist/storybook__react.d.js +2056 -2072
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +16 -16
- package/dist/Lexical.prod-UwAbgYpF.js.map +0 -1
- package/dist/Sortable.module-CekPNg54.js +0 -23
- package/dist/Sortable.module-CekPNg54.js.map +0 -1
- package/dist/SortableProvider-CwX1lFMa.js +0 -152
- package/dist/SortableProvider-CwX1lFMa.js.map +0 -1
- package/dist/index-Di9WPZUe.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Ie from "react";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as Pr } from "./test-utils-ea_YDVtd.js";
|
|
3
3
|
import je from "react-dom";
|
|
4
4
|
import { c as It } from "./client-D0KlBcsm.js";
|
|
5
|
-
import { l as K } from "./index-
|
|
6
|
-
import { g as
|
|
5
|
+
import { l as K } from "./index-Br0QepD6.js";
|
|
6
|
+
import { g as Lr } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
7
7
|
var X = {}, ke = { exports: {} };
|
|
8
8
|
ke.exports;
|
|
9
9
|
var xt;
|
|
10
|
-
function
|
|
10
|
+
function er() {
|
|
11
11
|
return xt || (xt = 1, function(e) {
|
|
12
12
|
const r = (f = 0) => (u) => `\x1B[${38 + f};5;${u}m`, a = (f = 0) => (u, p, n) => `\x1B[${38 + f};2;${u};${p};${n}m`;
|
|
13
13
|
function s() {
|
|
@@ -187,7 +187,7 @@ function He() {
|
|
|
187
187
|
return be;
|
|
188
188
|
}
|
|
189
189
|
var ee = {}, Mt;
|
|
190
|
-
function
|
|
190
|
+
function Dr() {
|
|
191
191
|
if (Mt) return ee;
|
|
192
192
|
Mt = 1, Object.defineProperty(ee, "__esModule", {
|
|
193
193
|
value: !0
|
|
@@ -223,7 +223,7 @@ function qr() {
|
|
|
223
223
|
return ee.default = n, ee;
|
|
224
224
|
}
|
|
225
225
|
var te = {}, Ze, Ct;
|
|
226
|
-
function
|
|
226
|
+
function qr() {
|
|
227
227
|
return Ct || (Ct = 1, Ze = ({ onlyFirst: e = !1 } = {}) => {
|
|
228
228
|
const t = [
|
|
229
229
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
@@ -233,12 +233,12 @@ function jr() {
|
|
|
233
233
|
}), Ze;
|
|
234
234
|
}
|
|
235
235
|
var _t;
|
|
236
|
-
function
|
|
236
|
+
function jr() {
|
|
237
237
|
if (_t) return te;
|
|
238
238
|
_t = 1, Object.defineProperty(te, "__esModule", {
|
|
239
239
|
value: !0
|
|
240
240
|
}), te.test = te.serialize = te.default = void 0;
|
|
241
|
-
var e = r(
|
|
241
|
+
var e = r(qr()), t = r(er());
|
|
242
242
|
function r(n) {
|
|
243
243
|
return n && n.__esModule ? n : { default: n };
|
|
244
244
|
}
|
|
@@ -297,7 +297,7 @@ function kr() {
|
|
|
297
297
|
return te.default = p, te;
|
|
298
298
|
}
|
|
299
299
|
var re = {}, Rt;
|
|
300
|
-
function
|
|
300
|
+
function kr() {
|
|
301
301
|
if (Rt) return re;
|
|
302
302
|
Rt = 1, Object.defineProperty(re, "__esModule", {
|
|
303
303
|
value: !0
|
|
@@ -331,7 +331,7 @@ function Fr() {
|
|
|
331
331
|
return re.default = o, re;
|
|
332
332
|
}
|
|
333
333
|
var ne = {}, H = {}, Le = {}, Bt;
|
|
334
|
-
function
|
|
334
|
+
function Fr() {
|
|
335
335
|
if (Bt) return Le;
|
|
336
336
|
Bt = 1, Object.defineProperty(Le, "__esModule", {
|
|
337
337
|
value: !0
|
|
@@ -347,7 +347,7 @@ function gt() {
|
|
|
347
347
|
Nt = 1, Object.defineProperty(H, "__esModule", {
|
|
348
348
|
value: !0
|
|
349
349
|
}), H.printText = H.printProps = H.printElementAsLeaf = H.printElement = H.printComment = H.printChildren = void 0;
|
|
350
|
-
var e = t(
|
|
350
|
+
var e = t(Fr());
|
|
351
351
|
function t(n) {
|
|
352
352
|
return n && n.__esModule ? n : { default: n };
|
|
353
353
|
}
|
|
@@ -387,7 +387,7 @@ function gt() {
|
|
|
387
387
|
return H.printElementAsLeaf = p, H;
|
|
388
388
|
}
|
|
389
389
|
var Pt;
|
|
390
|
-
function
|
|
390
|
+
function $r() {
|
|
391
391
|
if (Pt) return ne;
|
|
392
392
|
Pt = 1, Object.defineProperty(ne, "__esModule", {
|
|
393
393
|
value: !0
|
|
@@ -453,7 +453,7 @@ function zr() {
|
|
|
453
453
|
return ne.default = E, ne;
|
|
454
454
|
}
|
|
455
455
|
var ie = {}, Lt;
|
|
456
|
-
function
|
|
456
|
+
function zr() {
|
|
457
457
|
if (Lt) return ie;
|
|
458
458
|
Lt = 1, Object.defineProperty(ie, "__esModule", {
|
|
459
459
|
value: !0
|
|
@@ -575,7 +575,7 @@ var oe = {}, De = { exports: {} }, D = {};
|
|
|
575
575
|
* LICENSE file in the root directory of this source tree.
|
|
576
576
|
*/
|
|
577
577
|
var Dt;
|
|
578
|
-
function
|
|
578
|
+
function Ur() {
|
|
579
579
|
if (Dt) return D;
|
|
580
580
|
Dt = 1;
|
|
581
581
|
var e = 60103, t = 60106, r = 60107, a = 60108, s = 60114, f = 60109, u = 60110, p = 60112, n = 60113, o = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
|
|
@@ -653,7 +653,7 @@ var q = {};
|
|
|
653
653
|
* LICENSE file in the root directory of this source tree.
|
|
654
654
|
*/
|
|
655
655
|
var qt;
|
|
656
|
-
function
|
|
656
|
+
function Wr() {
|
|
657
657
|
return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
658
658
|
var e = 60103, t = 60106, r = 60107, a = 60108, s = 60114, f = 60109, u = 60110, p = 60112, n = 60113, o = 60120, l = 60115, i = 60116, d = 60121, m = 60122, E = 60117, h = 60129, w = 60131;
|
|
659
659
|
if (typeof Symbol == "function" && Symbol.for) {
|
|
@@ -739,16 +739,16 @@ function Vr() {
|
|
|
739
739
|
}()), q;
|
|
740
740
|
}
|
|
741
741
|
var jt;
|
|
742
|
-
function
|
|
743
|
-
return jt || (jt = 1, process.env.NODE_ENV === "production" ? De.exports =
|
|
742
|
+
function Vr() {
|
|
743
|
+
return jt || (jt = 1, process.env.NODE_ENV === "production" ? De.exports = Ur() : De.exports = Wr()), De.exports;
|
|
744
744
|
}
|
|
745
745
|
var kt;
|
|
746
|
-
function
|
|
746
|
+
function Hr() {
|
|
747
747
|
if (kt) return oe;
|
|
748
748
|
kt = 1, Object.defineProperty(oe, "__esModule", {
|
|
749
749
|
value: !0
|
|
750
750
|
}), oe.test = oe.serialize = oe.default = void 0;
|
|
751
|
-
var e = a(
|
|
751
|
+
var e = a(Vr()), t = gt();
|
|
752
752
|
function r(i) {
|
|
753
753
|
if (typeof WeakMap != "function") return null;
|
|
754
754
|
var d = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap();
|
|
@@ -836,7 +836,7 @@ function Gr() {
|
|
|
836
836
|
return oe.default = l, oe;
|
|
837
837
|
}
|
|
838
838
|
var ae = {}, Ft;
|
|
839
|
-
function
|
|
839
|
+
function Gr() {
|
|
840
840
|
if (Ft) return ae;
|
|
841
841
|
Ft = 1, Object.defineProperty(ae, "__esModule", {
|
|
842
842
|
value: !0
|
|
@@ -879,15 +879,15 @@ function Yr() {
|
|
|
879
879
|
return ae.default = n, ae;
|
|
880
880
|
}
|
|
881
881
|
var $t;
|
|
882
|
-
function
|
|
882
|
+
function Yr() {
|
|
883
883
|
if ($t) return X;
|
|
884
884
|
$t = 1, Object.defineProperty(X, "__esModule", {
|
|
885
885
|
value: !0
|
|
886
886
|
}), X.default = X.DEFAULT_OPTIONS = void 0, X.format = Pe, X.plugins = void 0;
|
|
887
|
-
var e = o(
|
|
888
|
-
|
|
889
|
-
), a = o(
|
|
890
|
-
|
|
887
|
+
var e = o(er()), t = He(), r = o(
|
|
888
|
+
Dr()
|
|
889
|
+
), a = o(jr()), s = o(kr()), f = o($r()), u = o(zr()), p = o(Hr()), n = o(
|
|
890
|
+
Gr()
|
|
891
891
|
);
|
|
892
892
|
function o(b) {
|
|
893
893
|
return b && b.__esModule ? b : { default: b };
|
|
@@ -1106,7 +1106,7 @@ function Kr() {
|
|
|
1106
1106
|
maxDepth: b && b.maxDepth !== void 0 ? b.maxDepth : k.maxDepth,
|
|
1107
1107
|
min: b && b.min !== void 0 ? b.min : k.min,
|
|
1108
1108
|
plugins: b && b.plugins !== void 0 ? b.plugins : k.plugins,
|
|
1109
|
-
printBasicPrototype: (O = b
|
|
1109
|
+
printBasicPrototype: (O = b?.printBasicPrototype) !== null && O !== void 0 ? O : !0,
|
|
1110
1110
|
printFunctionName: _e(b),
|
|
1111
1111
|
spacingInner: b && b.min ? " " : `
|
|
1112
1112
|
`,
|
|
@@ -1144,24 +1144,24 @@ function Kr() {
|
|
|
1144
1144
|
var Xe = Pe;
|
|
1145
1145
|
return X.default = Xe, X;
|
|
1146
1146
|
}
|
|
1147
|
-
var
|
|
1148
|
-
function
|
|
1149
|
-
return typeof e == "function" ||
|
|
1147
|
+
var tr = Yr(), Kr = Object.prototype.toString;
|
|
1148
|
+
function Jr(e) {
|
|
1149
|
+
return typeof e == "function" || Kr.call(e) === "[object Function]";
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function Qr(e) {
|
|
1152
1152
|
var t = Number(e);
|
|
1153
1153
|
return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1156
|
-
function
|
|
1157
|
-
var t =
|
|
1158
|
-
return Math.min(Math.max(t, 0),
|
|
1155
|
+
var Xr = Math.pow(2, 53) - 1;
|
|
1156
|
+
function Zr(e) {
|
|
1157
|
+
var t = Qr(e);
|
|
1158
|
+
return Math.min(Math.max(t, 0), Xr);
|
|
1159
1159
|
}
|
|
1160
1160
|
function Q(e, t) {
|
|
1161
1161
|
var r = Array, a = Object(e);
|
|
1162
1162
|
if (e == null)
|
|
1163
1163
|
throw new TypeError("Array.from requires an array-like object - not null or undefined");
|
|
1164
|
-
for (var s =
|
|
1164
|
+
for (var s = Zr(a.length), f = Jr(r) ? Object(new r(s)) : new Array(s), u = 0, p; u < s; )
|
|
1165
1165
|
p = a[u], f[u] = p, u += 1;
|
|
1166
1166
|
return f.length = s, f;
|
|
1167
1167
|
}
|
|
@@ -1173,27 +1173,27 @@ function xe(e) {
|
|
|
1173
1173
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1174
1174
|
}, xe(e);
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function en(e, t) {
|
|
1177
1177
|
if (!(e instanceof t))
|
|
1178
1178
|
throw new TypeError("Cannot call a class as a function");
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function tn(e, t) {
|
|
1181
1181
|
for (var r = 0; r < t.length; r++) {
|
|
1182
1182
|
var a = t[r];
|
|
1183
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e,
|
|
1183
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, rr(a.key), a);
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1187
|
-
return t &&
|
|
1186
|
+
function rn(e, t, r) {
|
|
1187
|
+
return t && tn(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return t =
|
|
1189
|
+
function nn(e, t, r) {
|
|
1190
|
+
return t = rr(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var t =
|
|
1192
|
+
function rr(e) {
|
|
1193
|
+
var t = on(e, "string");
|
|
1194
1194
|
return xe(t) === "symbol" ? t : String(t);
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function on(e, t) {
|
|
1197
1197
|
if (xe(e) !== "object" || e === null) return e;
|
|
1198
1198
|
var r = e[Symbol.toPrimitive];
|
|
1199
1199
|
if (r !== void 0) {
|
|
@@ -1203,12 +1203,12 @@ function an(e, t) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
return (t === "string" ? String : Number)(e);
|
|
1205
1205
|
}
|
|
1206
|
-
var
|
|
1206
|
+
var an = /* @__PURE__ */ function() {
|
|
1207
1207
|
function e() {
|
|
1208
1208
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
1209
|
-
|
|
1209
|
+
en(this, e), nn(this, "items", void 0), this.items = t;
|
|
1210
1210
|
}
|
|
1211
|
-
return
|
|
1211
|
+
return rn(e, [{
|
|
1212
1212
|
key: "add",
|
|
1213
1213
|
value: function(r) {
|
|
1214
1214
|
return this.has(r) === !1 && this.items.push(r), this;
|
|
@@ -1246,7 +1246,7 @@ var un = /* @__PURE__ */ function() {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}]), e;
|
|
1248
1248
|
}();
|
|
1249
|
-
const
|
|
1249
|
+
const un = typeof Set > "u" ? Set : an;
|
|
1250
1250
|
function V(e) {
|
|
1251
1251
|
var t;
|
|
1252
1252
|
return (
|
|
@@ -1257,7 +1257,7 @@ function V(e) {
|
|
|
1257
1257
|
)
|
|
1258
1258
|
);
|
|
1259
1259
|
}
|
|
1260
|
-
var
|
|
1260
|
+
var ln = {
|
|
1261
1261
|
article: "article",
|
|
1262
1262
|
aside: "complementary",
|
|
1263
1263
|
button: "button",
|
|
@@ -1305,7 +1305,7 @@ var sn = {
|
|
|
1305
1305
|
thead: "rowgroup",
|
|
1306
1306
|
tr: "row",
|
|
1307
1307
|
ul: "list"
|
|
1308
|
-
},
|
|
1308
|
+
}, sn = {
|
|
1309
1309
|
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
1310
1310
|
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
1311
1311
|
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
@@ -1318,7 +1318,7 @@ var sn = {
|
|
|
1318
1318
|
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
1319
1319
|
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
|
|
1320
1320
|
};
|
|
1321
|
-
function
|
|
1321
|
+
function cn(e, t) {
|
|
1322
1322
|
return [
|
|
1323
1323
|
"aria-atomic",
|
|
1324
1324
|
"aria-busy",
|
|
@@ -1343,23 +1343,23 @@ function fn(e, t) {
|
|
|
1343
1343
|
"aria-roledescription"
|
|
1344
1344
|
].some(function(r) {
|
|
1345
1345
|
var a;
|
|
1346
|
-
return e.hasAttribute(r) && !((a =
|
|
1346
|
+
return e.hasAttribute(r) && !((a = sn[t]) !== null && a !== void 0 && a.has(r));
|
|
1347
1347
|
});
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1350
|
-
return
|
|
1349
|
+
function nr(e, t) {
|
|
1350
|
+
return cn(e, t);
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1353
|
-
var t =
|
|
1352
|
+
function fn(e) {
|
|
1353
|
+
var t = pn(e);
|
|
1354
1354
|
if (t === null || t === "presentation") {
|
|
1355
|
-
var r =
|
|
1356
|
-
if (t !== "presentation" ||
|
|
1355
|
+
var r = dn(e);
|
|
1356
|
+
if (t !== "presentation" || nr(e, r || ""))
|
|
1357
1357
|
return r;
|
|
1358
1358
|
}
|
|
1359
1359
|
return t;
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1362
|
-
var t =
|
|
1361
|
+
function dn(e) {
|
|
1362
|
+
var t = ln[V(e)];
|
|
1363
1363
|
if (t !== void 0)
|
|
1364
1364
|
return t;
|
|
1365
1365
|
switch (V(e)) {
|
|
@@ -1370,7 +1370,7 @@ function pn(e) {
|
|
|
1370
1370
|
return "link";
|
|
1371
1371
|
break;
|
|
1372
1372
|
case "img":
|
|
1373
|
-
return e.getAttribute("alt") === "" && !
|
|
1373
|
+
return e.getAttribute("alt") === "" && !nr(e, "img") ? "presentation" : "img";
|
|
1374
1374
|
case "input": {
|
|
1375
1375
|
var r = e, a = r.type;
|
|
1376
1376
|
switch (a) {
|
|
@@ -1402,7 +1402,7 @@ function pn(e) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
return null;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function pn(e) {
|
|
1406
1406
|
var t = e.getAttribute("role");
|
|
1407
1407
|
if (t !== null) {
|
|
1408
1408
|
var r = t.trim().split(" ")[0];
|
|
@@ -1414,47 +1414,47 @@ function bn(e) {
|
|
|
1414
1414
|
function F(e) {
|
|
1415
1415
|
return e !== null && e.nodeType === e.ELEMENT_NODE;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function ir(e) {
|
|
1418
1418
|
return F(e) && V(e) === "caption";
|
|
1419
1419
|
}
|
|
1420
1420
|
function Fe(e) {
|
|
1421
1421
|
return F(e) && V(e) === "input";
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1423
|
+
function bn(e) {
|
|
1424
1424
|
return F(e) && V(e) === "optgroup";
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1426
|
+
function mn(e) {
|
|
1427
1427
|
return F(e) && V(e) === "select";
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function yn(e) {
|
|
1430
1430
|
return F(e) && V(e) === "table";
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function gn(e) {
|
|
1433
1433
|
return F(e) && V(e) === "textarea";
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function hn(e) {
|
|
1436
1436
|
var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
|
|
1437
1437
|
if (r === null)
|
|
1438
1438
|
throw new TypeError("no window available");
|
|
1439
1439
|
return r;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function En(e) {
|
|
1442
1442
|
return F(e) && V(e) === "fieldset";
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function vn(e) {
|
|
1445
1445
|
return F(e) && V(e) === "legend";
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function Tn(e) {
|
|
1448
1448
|
return F(e) && V(e) === "slot";
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1450
|
+
function wn(e) {
|
|
1451
1451
|
return F(e) && e.ownerSVGElement !== void 0;
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function An(e) {
|
|
1454
1454
|
return F(e) && V(e) === "svg";
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1457
|
-
return
|
|
1456
|
+
function Sn(e) {
|
|
1457
|
+
return wn(e) && V(e) === "title";
|
|
1458
1458
|
}
|
|
1459
1459
|
function $e(e, t) {
|
|
1460
1460
|
if (F(e) && e.hasAttribute(t)) {
|
|
@@ -1471,12 +1471,12 @@ function $e(e, t) {
|
|
|
1471
1471
|
return [];
|
|
1472
1472
|
}
|
|
1473
1473
|
function le(e, t) {
|
|
1474
|
-
return F(e) ? t.indexOf(
|
|
1474
|
+
return F(e) ? t.indexOf(fn(e)) !== -1 : !1;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function In(e) {
|
|
1477
1477
|
return e.trim().replace(/\s\s+/g, " ");
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1479
|
+
function xn(e, t) {
|
|
1480
1480
|
if (!F(e))
|
|
1481
1481
|
return !1;
|
|
1482
1482
|
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true")
|
|
@@ -1484,10 +1484,10 @@ function On(e, t) {
|
|
|
1484
1484
|
var r = t(e);
|
|
1485
1485
|
return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden";
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return le(e, ["button", "combobox", "listbox", "textbox"]) ||
|
|
1487
|
+
function On(e) {
|
|
1488
|
+
return le(e, ["button", "combobox", "listbox", "textbox"]) || or(e, "range");
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function or(e, t) {
|
|
1491
1491
|
if (!F(e))
|
|
1492
1492
|
return !1;
|
|
1493
1493
|
switch (t) {
|
|
@@ -1503,75 +1503,75 @@ function zt(e, t) {
|
|
|
1503
1503
|
r.push.apply(r, Q(a.querySelectorAll(t)));
|
|
1504
1504
|
}), r;
|
|
1505
1505
|
}
|
|
1506
|
+
function Mn(e) {
|
|
1507
|
+
return mn(e) ? e.selectedOptions || zt(e, "[selected]") : zt(e, '[aria-selected="true"]');
|
|
1508
|
+
}
|
|
1506
1509
|
function Cn(e) {
|
|
1507
|
-
return
|
|
1510
|
+
return le(e, ["none", "presentation"]);
|
|
1508
1511
|
}
|
|
1509
1512
|
function _n(e) {
|
|
1510
|
-
return
|
|
1513
|
+
return ir(e);
|
|
1511
1514
|
}
|
|
1512
1515
|
function Rn(e) {
|
|
1513
|
-
return or(e);
|
|
1514
|
-
}
|
|
1515
|
-
function Bn(e) {
|
|
1516
1516
|
return le(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1518
|
+
function Bn(e) {
|
|
1519
1519
|
return !1;
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1522
|
-
return Fe(e) ||
|
|
1521
|
+
function Nn(e) {
|
|
1522
|
+
return Fe(e) || gn(e) ? e.value : e.textContent || "";
|
|
1523
1523
|
}
|
|
1524
1524
|
function Ut(e) {
|
|
1525
1525
|
var t = e.getPropertyValue("content");
|
|
1526
1526
|
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function ar(e) {
|
|
1529
1529
|
var t = V(e);
|
|
1530
1530
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea";
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1533
|
-
if (
|
|
1532
|
+
function ur(e) {
|
|
1533
|
+
if (ar(e))
|
|
1534
1534
|
return e;
|
|
1535
1535
|
var t = null;
|
|
1536
1536
|
return e.childNodes.forEach(function(r) {
|
|
1537
1537
|
if (t === null && F(r)) {
|
|
1538
|
-
var a =
|
|
1538
|
+
var a = ur(r);
|
|
1539
1539
|
a !== null && (t = a);
|
|
1540
1540
|
}
|
|
1541
1541
|
}), t;
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function Pn(e) {
|
|
1544
1544
|
if (e.control !== void 0)
|
|
1545
1545
|
return e.control;
|
|
1546
1546
|
var t = e.getAttribute("for");
|
|
1547
|
-
return t !== null ? e.ownerDocument.getElementById(t) :
|
|
1547
|
+
return t !== null ? e.ownerDocument.getElementById(t) : ur(e);
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Ln(e) {
|
|
1550
1550
|
var t = e.labels;
|
|
1551
1551
|
if (t === null)
|
|
1552
1552
|
return t;
|
|
1553
1553
|
if (t !== void 0)
|
|
1554
1554
|
return Q(t);
|
|
1555
|
-
if (!
|
|
1555
|
+
if (!ar(e))
|
|
1556
1556
|
return null;
|
|
1557
1557
|
var r = e.ownerDocument;
|
|
1558
1558
|
return Q(r.querySelectorAll("label")).filter(function(a) {
|
|
1559
|
-
return
|
|
1559
|
+
return Pn(a) === e;
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function Dn(e) {
|
|
1563
1563
|
var t = e.assignedNodes();
|
|
1564
1564
|
return t.length === 0 ? Q(e.childNodes) : t;
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1567
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new
|
|
1566
|
+
function lr(e) {
|
|
1567
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new un(), a = hn(e), s = t.compute, f = s === void 0 ? "name" : s, u = t.computedStyleSupportsPseudoElements, p = u === void 0 ? t.getComputedStyle !== void 0 : u, n = t.getComputedStyle, o = n === void 0 ? a.getComputedStyle.bind(a) : n, l = t.hidden, i = l === void 0 ? !1 : l;
|
|
1568
1568
|
function d(c, A) {
|
|
1569
1569
|
var I = "";
|
|
1570
1570
|
if (F(c) && p) {
|
|
1571
1571
|
var x = o(c, "::before"), M = Ut(x);
|
|
1572
1572
|
I = "".concat(M, " ").concat(I);
|
|
1573
1573
|
}
|
|
1574
|
-
var y =
|
|
1574
|
+
var y = Tn(c) ? Dn(c) : Q(c.childNodes).concat($e(c, "aria-owns"));
|
|
1575
1575
|
if (y.forEach(function(_) {
|
|
1576
1576
|
var R = w(_, {
|
|
1577
1577
|
isEmbeddedInLabel: A.isEmbeddedInLabel,
|
|
@@ -1595,33 +1595,33 @@ function sr(e) {
|
|
|
1595
1595
|
function h(c) {
|
|
1596
1596
|
if (!F(c))
|
|
1597
1597
|
return null;
|
|
1598
|
-
if (
|
|
1598
|
+
if (En(c)) {
|
|
1599
1599
|
r.add(c);
|
|
1600
1600
|
for (var A = Q(c.childNodes), I = 0; I < A.length; I += 1) {
|
|
1601
1601
|
var x = A[I];
|
|
1602
|
-
if (
|
|
1602
|
+
if (vn(x))
|
|
1603
1603
|
return w(x, {
|
|
1604
1604
|
isEmbeddedInLabel: !1,
|
|
1605
1605
|
isReferenced: !1,
|
|
1606
1606
|
recursion: !1
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
1609
|
-
} else if (
|
|
1609
|
+
} else if (yn(c)) {
|
|
1610
1610
|
r.add(c);
|
|
1611
1611
|
for (var M = Q(c.childNodes), y = 0; y < M.length; y += 1) {
|
|
1612
1612
|
var g = M[y];
|
|
1613
|
-
if (
|
|
1613
|
+
if (ir(g))
|
|
1614
1614
|
return w(g, {
|
|
1615
1615
|
isEmbeddedInLabel: !1,
|
|
1616
1616
|
isReferenced: !1,
|
|
1617
1617
|
recursion: !1
|
|
1618
1618
|
});
|
|
1619
1619
|
}
|
|
1620
|
-
} else if (
|
|
1620
|
+
} else if (An(c)) {
|
|
1621
1621
|
r.add(c);
|
|
1622
1622
|
for (var v = Q(c.childNodes), _ = 0; _ < v.length; _ += 1) {
|
|
1623
1623
|
var R = v[_];
|
|
1624
|
-
if (
|
|
1624
|
+
if (Sn(R))
|
|
1625
1625
|
return R.textContent;
|
|
1626
1626
|
}
|
|
1627
1627
|
return null;
|
|
@@ -1629,7 +1629,7 @@ function sr(e) {
|
|
|
1629
1629
|
var B = m(c, "alt");
|
|
1630
1630
|
if (B !== null)
|
|
1631
1631
|
return B;
|
|
1632
|
-
} else if (
|
|
1632
|
+
} else if (bn(c)) {
|
|
1633
1633
|
var N = m(c, "label");
|
|
1634
1634
|
if (N !== null)
|
|
1635
1635
|
return N;
|
|
@@ -1643,7 +1643,7 @@ function sr(e) {
|
|
|
1643
1643
|
if (c.type === "reset")
|
|
1644
1644
|
return "Reset";
|
|
1645
1645
|
}
|
|
1646
|
-
var C =
|
|
1646
|
+
var C = Ln(c);
|
|
1647
1647
|
if (C !== null && C.length !== 0)
|
|
1648
1648
|
return r.add(c), Q(C).map(function(Z) {
|
|
1649
1649
|
return w(Z, {
|
|
@@ -1673,7 +1673,7 @@ function sr(e) {
|
|
|
1673
1673
|
function w(c, A) {
|
|
1674
1674
|
if (r.has(c))
|
|
1675
1675
|
return "";
|
|
1676
|
-
if (!i &&
|
|
1676
|
+
if (!i && xn(c, o) && !A.isReferenced)
|
|
1677
1677
|
return r.add(c), "";
|
|
1678
1678
|
var I = F(c) ? c.getAttributeNode("aria-labelledby") : null, x = I !== null && !r.has(I) ? $e(c, "aria-labelledby") : [];
|
|
1679
1679
|
if (f === "name" && !A.isReferenced && x.length > 0)
|
|
@@ -1687,12 +1687,12 @@ function sr(e) {
|
|
|
1687
1687
|
recursion: !1
|
|
1688
1688
|
});
|
|
1689
1689
|
}).join(" ");
|
|
1690
|
-
var M = A.recursion &&
|
|
1690
|
+
var M = A.recursion && On(c) && f === "name";
|
|
1691
1691
|
if (!M) {
|
|
1692
1692
|
var y = (F(c) && c.getAttribute("aria-label") || "").trim();
|
|
1693
1693
|
if (y !== "" && f === "name")
|
|
1694
1694
|
return r.add(c), y;
|
|
1695
|
-
if (!
|
|
1695
|
+
if (!Cn(c)) {
|
|
1696
1696
|
var g = h(c);
|
|
1697
1697
|
if (g !== null)
|
|
1698
1698
|
return r.add(c), g;
|
|
@@ -1703,7 +1703,7 @@ function sr(e) {
|
|
|
1703
1703
|
if (M || A.isEmbeddedInLabel || A.isReferenced) {
|
|
1704
1704
|
if (le(c, ["combobox", "listbox"])) {
|
|
1705
1705
|
r.add(c);
|
|
1706
|
-
var v =
|
|
1706
|
+
var v = Mn(c);
|
|
1707
1707
|
return v.length === 0 ? Fe(c) ? c.value : "" : Q(v).map(function(B) {
|
|
1708
1708
|
return w(B, {
|
|
1709
1709
|
isEmbeddedInLabel: A.isEmbeddedInLabel,
|
|
@@ -1712,12 +1712,12 @@ function sr(e) {
|
|
|
1712
1712
|
});
|
|
1713
1713
|
}).join(" ");
|
|
1714
1714
|
}
|
|
1715
|
-
if (
|
|
1715
|
+
if (or(c, "range"))
|
|
1716
1716
|
return r.add(c), c.hasAttribute("aria-valuetext") ? c.getAttribute("aria-valuetext") : c.hasAttribute("aria-valuenow") ? c.getAttribute("aria-valuenow") : c.getAttribute("value") || "";
|
|
1717
1717
|
if (le(c, ["textbox"]))
|
|
1718
|
-
return r.add(c),
|
|
1718
|
+
return r.add(c), Nn(c);
|
|
1719
1719
|
}
|
|
1720
|
-
if (
|
|
1720
|
+
if (Rn(c) || F(c) && A.isReferenced || _n(c) || Bn()) {
|
|
1721
1721
|
var _ = d(c, {
|
|
1722
1722
|
isEmbeddedInLabel: A.isEmbeddedInLabel
|
|
1723
1723
|
});
|
|
@@ -1733,7 +1733,7 @@ function sr(e) {
|
|
|
1733
1733
|
var R = E(c);
|
|
1734
1734
|
return R !== null ? (r.add(c), R) : (r.add(c), "");
|
|
1735
1735
|
}
|
|
1736
|
-
return
|
|
1736
|
+
return In(w(e, {
|
|
1737
1737
|
isEmbeddedInLabel: !1,
|
|
1738
1738
|
// by spec computeAccessibleDescription starts with the referenced elements as roots
|
|
1739
1739
|
isReferenced: f === "description",
|
|
@@ -1762,21 +1762,21 @@ function Vt(e) {
|
|
|
1762
1762
|
for (var t = 1; t < arguments.length; t++) {
|
|
1763
1763
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
1764
1764
|
t % 2 ? Wt(Object(r), !0).forEach(function(a) {
|
|
1765
|
-
|
|
1765
|
+
qn(e, a, r[a]);
|
|
1766
1766
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Wt(Object(r)).forEach(function(a) {
|
|
1767
1767
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
|
|
1768
1768
|
});
|
|
1769
1769
|
}
|
|
1770
1770
|
return e;
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1773
|
-
return t =
|
|
1772
|
+
function qn(e, t, r) {
|
|
1773
|
+
return t = jn(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1776
|
-
var t =
|
|
1775
|
+
function jn(e) {
|
|
1776
|
+
var t = kn(e, "string");
|
|
1777
1777
|
return Oe(t) === "symbol" ? t : String(t);
|
|
1778
1778
|
}
|
|
1779
|
-
function
|
|
1779
|
+
function kn(e, t) {
|
|
1780
1780
|
if (Oe(e) !== "object" || e === null) return e;
|
|
1781
1781
|
var r = e[Symbol.toPrimitive];
|
|
1782
1782
|
if (r !== void 0) {
|
|
@@ -1786,9 +1786,9 @@ function Fn(e, t) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
return (t === "string" ? String : Number)(e);
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function sr(e) {
|
|
1790
1790
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = $e(e, "aria-describedby").map(function(s) {
|
|
1791
|
-
return
|
|
1791
|
+
return lr(s, Vt(Vt({}, t), {}, {
|
|
1792
1792
|
compute: "description"
|
|
1793
1793
|
}));
|
|
1794
1794
|
}).join(" ");
|
|
@@ -1798,15 +1798,15 @@ function cr(e) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
return r;
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1801
|
+
function Fn(e) {
|
|
1802
1802
|
return le(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "superscript"]);
|
|
1803
1803
|
}
|
|
1804
1804
|
function ht(e) {
|
|
1805
1805
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1806
|
-
return
|
|
1806
|
+
return Fn(e) ? "" : lr(e, t);
|
|
1807
1807
|
}
|
|
1808
1808
|
var et = { exports: {} }, Ht;
|
|
1809
|
-
function
|
|
1809
|
+
function $n() {
|
|
1810
1810
|
return Ht || (Ht = 1, function(e) {
|
|
1811
1811
|
var t = function() {
|
|
1812
1812
|
var r = String.fromCharCode, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", f = {};
|
|
@@ -2003,12 +2003,12 @@ function zn() {
|
|
|
2003
2003
|
});
|
|
2004
2004
|
}(et)), et.exports;
|
|
2005
2005
|
}
|
|
2006
|
-
var
|
|
2007
|
-
const
|
|
2008
|
-
function
|
|
2006
|
+
var zn = $n();
|
|
2007
|
+
const Un = /* @__PURE__ */ Lr(zn);
|
|
2008
|
+
function cr(e) {
|
|
2009
2009
|
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
2010
2010
|
}
|
|
2011
|
-
const
|
|
2011
|
+
const Wn = (e, t, r, a, s, f, u) => {
|
|
2012
2012
|
const p = a + r.indent, n = r.colors;
|
|
2013
2013
|
return e.map((o) => {
|
|
2014
2014
|
const l = t[o];
|
|
@@ -2016,64 +2016,64 @@ const Vn = (e, t, r, a, s, f, u) => {
|
|
|
2016
2016
|
return typeof l != "string" && (i.indexOf(`
|
|
2017
2017
|
`) !== -1 && (i = r.spacingOuter + p + i + r.spacingOuter + a), i = "{" + i + "}"), r.spacingInner + a + n.prop.open + o + n.prop.close + "=" + n.value.open + i + n.value.close;
|
|
2018
2018
|
}).join("");
|
|
2019
|
-
},
|
|
2020
|
-
const p = typeof u == "string" ?
|
|
2021
|
-
return p === "" && typeof u == "object" && u !== null && u.nodeType !==
|
|
2022
|
-
}).join(""),
|
|
2019
|
+
}, Vn = 3, Hn = (e, t, r, a, s, f) => e.map((u) => {
|
|
2020
|
+
const p = typeof u == "string" ? fr(u, t) : f(u, t, r, a, s);
|
|
2021
|
+
return p === "" && typeof u == "object" && u !== null && u.nodeType !== Vn ? "" : t.spacingOuter + r + p;
|
|
2022
|
+
}).join(""), fr = (e, t) => {
|
|
2023
2023
|
const r = t.colors.content;
|
|
2024
|
-
return r.open +
|
|
2025
|
-
},
|
|
2024
|
+
return r.open + cr(e) + r.close;
|
|
2025
|
+
}, Gn = (e, t) => {
|
|
2026
2026
|
const r = t.colors.comment;
|
|
2027
|
-
return r.open + "<!--" +
|
|
2028
|
-
},
|
|
2027
|
+
return r.open + "<!--" + cr(e) + "-->" + r.close;
|
|
2028
|
+
}, Yn = (e, t, r, a, s) => {
|
|
2029
2029
|
const f = a.colors.tag;
|
|
2030
2030
|
return f.open + "<" + e + (t && f.close + t + a.spacingOuter + s + f.open) + (r ? ">" + f.close + r + a.spacingOuter + s + f.open + "</" + e : (t && !a.min ? "" : " ") + "/") + ">" + f.close;
|
|
2031
|
-
},
|
|
2031
|
+
}, Kn = (e, t) => {
|
|
2032
2032
|
const r = t.colors.tag;
|
|
2033
2033
|
return r.open + "<" + e + r.close + " …" + r.open + " />" + r.close;
|
|
2034
|
-
},
|
|
2034
|
+
}, Jn = 1, dr = 3, pr = 8, br = 11, Qn = /^((HTML|SVG)\w*)?Element$/, mr = (e) => {
|
|
2035
2035
|
const {
|
|
2036
2036
|
tagName: t
|
|
2037
2037
|
} = e;
|
|
2038
2038
|
return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
|
|
2039
|
-
},
|
|
2039
|
+
}, Xn = (e) => {
|
|
2040
2040
|
const t = e.constructor.name, {
|
|
2041
2041
|
nodeType: r
|
|
2042
2042
|
} = e;
|
|
2043
|
-
return r ===
|
|
2043
|
+
return r === Jn && (Qn.test(t) || mr(e)) || r === dr && t === "Text" || r === pr && t === "Comment" || r === br && t === "DocumentFragment";
|
|
2044
2044
|
};
|
|
2045
|
+
function Zn(e) {
|
|
2046
|
+
return e.nodeType === dr;
|
|
2047
|
+
}
|
|
2045
2048
|
function ei(e) {
|
|
2046
2049
|
return e.nodeType === pr;
|
|
2047
2050
|
}
|
|
2048
|
-
function ti(e) {
|
|
2049
|
-
return e.nodeType === br;
|
|
2050
|
-
}
|
|
2051
2051
|
function tt(e) {
|
|
2052
|
-
return e.nodeType ===
|
|
2052
|
+
return e.nodeType === br;
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2054
|
+
function ti(e) {
|
|
2055
2055
|
return {
|
|
2056
2056
|
test: (t) => {
|
|
2057
2057
|
var r;
|
|
2058
|
-
return ((t == null || (r = t.constructor) == null ? void 0 : r.name) ||
|
|
2058
|
+
return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || mr(t)) && Xn(t);
|
|
2059
2059
|
},
|
|
2060
2060
|
serialize: (t, r, a, s, f, u) => {
|
|
2061
|
+
if (Zn(t))
|
|
2062
|
+
return fr(t.data, r);
|
|
2061
2063
|
if (ei(t))
|
|
2062
|
-
return
|
|
2063
|
-
if (ti(t))
|
|
2064
|
-
return Yn(t.data, r);
|
|
2064
|
+
return Gn(t.data, r);
|
|
2065
2065
|
const p = tt(t) ? "DocumentFragment" : t.tagName.toLowerCase();
|
|
2066
|
-
return ++s > r.maxDepth ?
|
|
2066
|
+
return ++s > r.maxDepth ? Kn(p, r) : Yn(p, Wn(tt(t) ? [] : Array.from(t.attributes).map((n) => n.name).sort(), tt(t) ? {} : Array.from(t.attributes).reduce((n, o) => (n[o.name] = o.value, n), {}), r, a + r.indent, s, f, u), Hn(Array.prototype.slice.call(t.childNodes || t.children).filter(e), r, a + r.indent, s, f, u), r, a);
|
|
2067
2067
|
}
|
|
2068
2068
|
};
|
|
2069
2069
|
}
|
|
2070
|
-
let
|
|
2070
|
+
let yr = null, Et = null, vt = null;
|
|
2071
2071
|
try {
|
|
2072
2072
|
const e = module && module.require;
|
|
2073
|
-
Et = e.call(module, "fs").readFileSync, vt = e.call(module, "@babel/code-frame").codeFrameColumns,
|
|
2073
|
+
Et = e.call(module, "fs").readFileSync, vt = e.call(module, "@babel/code-frame").codeFrameColumns, yr = e.call(module, "chalk");
|
|
2074
2074
|
} catch {
|
|
2075
2075
|
}
|
|
2076
|
-
function
|
|
2076
|
+
function ri(e) {
|
|
2077
2077
|
const t = e.indexOf("(") + 1, r = e.indexOf(")"), a = e.slice(t, r), s = a.split(":"), [f, u, p] = [s[0], parseInt(s[1], 10), parseInt(s[2], 10)];
|
|
2078
2078
|
let n = "";
|
|
2079
2079
|
try {
|
|
@@ -2090,18 +2090,18 @@ function ni(e) {
|
|
|
2090
2090
|
highlightCode: !0,
|
|
2091
2091
|
linesBelow: 0
|
|
2092
2092
|
});
|
|
2093
|
-
return
|
|
2093
|
+
return yr.dim(a) + `
|
|
2094
2094
|
` + o + `
|
|
2095
2095
|
`;
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function ni() {
|
|
2098
2098
|
if (!Et || !vt)
|
|
2099
2099
|
return "";
|
|
2100
2100
|
const t = new Error().stack.split(`
|
|
2101
2101
|
`).slice(1).find((r) => !r.includes("node_modules/"));
|
|
2102
|
-
return
|
|
2102
|
+
return ri(t);
|
|
2103
2103
|
}
|
|
2104
|
-
const
|
|
2104
|
+
const gr = 3;
|
|
2105
2105
|
function rt() {
|
|
2106
2106
|
return typeof jest < "u" && jest !== null ? (
|
|
2107
2107
|
// legacy timers
|
|
@@ -2115,7 +2115,7 @@ function Tt() {
|
|
|
2115
2115
|
throw new Error("Could not find default container");
|
|
2116
2116
|
return window.document;
|
|
2117
2117
|
}
|
|
2118
|
-
function
|
|
2118
|
+
function hr(e) {
|
|
2119
2119
|
if (e.defaultView)
|
|
2120
2120
|
return e.defaultView;
|
|
2121
2121
|
if (e.ownerDocument && e.ownerDocument.defaultView)
|
|
@@ -2131,7 +2131,7 @@ function ce(e) {
|
|
|
2131
2131
|
return typeof r == "object" ? r === null ? "null" : r.constructor.name : typeof r;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
const
|
|
2134
|
+
const ii = () => {
|
|
2135
2135
|
if (typeof process > "u")
|
|
2136
2136
|
return !1;
|
|
2137
2137
|
let e;
|
|
@@ -2143,10 +2143,10 @@ const oi = () => {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
|
|
2145
2145
|
}, {
|
|
2146
|
-
DOMCollection:
|
|
2147
|
-
} =
|
|
2148
|
-
function
|
|
2149
|
-
return e.nodeType !==
|
|
2146
|
+
DOMCollection: oi
|
|
2147
|
+
} = tr.plugins, ai = 1, ui = 8;
|
|
2148
|
+
function li(e) {
|
|
2149
|
+
return e.nodeType !== ui && (e.nodeType !== ai || !e.matches(j().defaultIgnore));
|
|
2150
2150
|
}
|
|
2151
2151
|
function Te(e, t, r) {
|
|
2152
2152
|
if (r === void 0 && (r = {}), e || (e = Tt().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
|
|
@@ -2156,18 +2156,18 @@ function Te(e, t, r) {
|
|
|
2156
2156
|
if (a === "object" ? a = e.constructor.name : e = {}, !("outerHTML" in e))
|
|
2157
2157
|
throw new TypeError("Expected an element or document but got " + a);
|
|
2158
2158
|
const {
|
|
2159
|
-
filterNode: s =
|
|
2159
|
+
filterNode: s = li,
|
|
2160
2160
|
...f
|
|
2161
|
-
} = r, u =
|
|
2162
|
-
plugins: [
|
|
2161
|
+
} = r, u = tr.format(e, {
|
|
2162
|
+
plugins: [ti(s), oi],
|
|
2163
2163
|
printFunctionName: !1,
|
|
2164
|
-
highlight:
|
|
2164
|
+
highlight: ii(),
|
|
2165
2165
|
...f
|
|
2166
2166
|
});
|
|
2167
2167
|
return t !== void 0 && e.outerHTML.length > t ? u.slice(0, t) + "..." : u;
|
|
2168
2168
|
}
|
|
2169
2169
|
const Gt = function() {
|
|
2170
|
-
const e =
|
|
2170
|
+
const e = ni();
|
|
2171
2171
|
console.log(e ? Te(...arguments) + `
|
|
2172
2172
|
|
|
2173
2173
|
` + e : Te(...arguments));
|
|
@@ -2204,14 +2204,14 @@ let me = {
|
|
|
2204
2204
|
_disableExpensiveErrorDiagnostics: !1,
|
|
2205
2205
|
computedStyleSupportsPseudoElements: !1
|
|
2206
2206
|
};
|
|
2207
|
-
function
|
|
2207
|
+
function si(e) {
|
|
2208
2208
|
try {
|
|
2209
2209
|
return me._disableExpensiveErrorDiagnostics = !0, e();
|
|
2210
2210
|
} finally {
|
|
2211
2211
|
me._disableExpensiveErrorDiagnostics = !1;
|
|
2212
2212
|
}
|
|
2213
2213
|
}
|
|
2214
|
-
function
|
|
2214
|
+
function ci(e) {
|
|
2215
2215
|
typeof e == "function" && (e = e(me)), me = {
|
|
2216
2216
|
...me,
|
|
2217
2217
|
...e
|
|
@@ -2220,27 +2220,27 @@ function fi(e) {
|
|
|
2220
2220
|
function j() {
|
|
2221
2221
|
return me;
|
|
2222
2222
|
}
|
|
2223
|
-
const
|
|
2224
|
-
function
|
|
2225
|
-
return
|
|
2223
|
+
const fi = ["button", "meter", "output", "progress", "select", "textarea", "input"];
|
|
2224
|
+
function Er(e) {
|
|
2225
|
+
return fi.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === gr ? e.textContent : Array.from(e.childNodes).map((t) => Er(t)).join("");
|
|
2226
2226
|
}
|
|
2227
2227
|
function it(e) {
|
|
2228
2228
|
let t;
|
|
2229
|
-
return e.tagName.toLowerCase() === "label" ? t =
|
|
2229
|
+
return e.tagName.toLowerCase() === "label" ? t = Er(e) : t = e.value || e.textContent, t;
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function vr(e) {
|
|
2232
2232
|
if (e.labels !== void 0) {
|
|
2233
2233
|
var t;
|
|
2234
2234
|
return (t = e.labels) != null ? t : [];
|
|
2235
2235
|
}
|
|
2236
|
-
if (!
|
|
2236
|
+
if (!di(e)) return [];
|
|
2237
2237
|
const r = e.ownerDocument.querySelectorAll("label");
|
|
2238
2238
|
return Array.from(r).filter((a) => a.control === e);
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2240
|
+
function di(e) {
|
|
2241
2241
|
return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
|
|
2242
2242
|
}
|
|
2243
|
-
function
|
|
2243
|
+
function Tr(e, t, r) {
|
|
2244
2244
|
let {
|
|
2245
2245
|
selector: a = "*"
|
|
2246
2246
|
} = r === void 0 ? {} : r;
|
|
@@ -2254,7 +2254,7 @@ function wr(e, t, r) {
|
|
|
2254
2254
|
content: "",
|
|
2255
2255
|
formControl: null
|
|
2256
2256
|
};
|
|
2257
|
-
}) : Array.from(
|
|
2257
|
+
}) : Array.from(vr(t)).map((u) => {
|
|
2258
2258
|
const p = it(u), o = Array.from(u.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((l) => l.matches(a))[0];
|
|
2259
2259
|
return {
|
|
2260
2260
|
content: p,
|
|
@@ -2262,7 +2262,7 @@ function wr(e, t, r) {
|
|
|
2262
2262
|
};
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function wr(e) {
|
|
2266
2266
|
if (e == null)
|
|
2267
2267
|
throw new Error(
|
|
2268
2268
|
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
|
|
@@ -2272,18 +2272,18 @@ function Ar(e) {
|
|
|
2272
2272
|
function Ae(e, t, r, a) {
|
|
2273
2273
|
if (typeof e != "string")
|
|
2274
2274
|
return !1;
|
|
2275
|
-
|
|
2275
|
+
wr(r);
|
|
2276
2276
|
const s = a(e);
|
|
2277
|
-
return typeof r == "string" || typeof r == "number" ? s.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(s, t) :
|
|
2277
|
+
return typeof r == "string" || typeof r == "number" ? s.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(s, t) : Sr(r, s);
|
|
2278
2278
|
}
|
|
2279
2279
|
function se(e, t, r, a) {
|
|
2280
2280
|
if (typeof e != "string")
|
|
2281
2281
|
return !1;
|
|
2282
|
-
|
|
2282
|
+
wr(r);
|
|
2283
2283
|
const s = a(e);
|
|
2284
|
-
return r instanceof Function ? r(s, t) : r instanceof RegExp ?
|
|
2284
|
+
return r instanceof Function ? r(s, t) : r instanceof RegExp ? Sr(r, s) : s === String(r);
|
|
2285
2285
|
}
|
|
2286
|
-
function
|
|
2286
|
+
function Ar(e) {
|
|
2287
2287
|
let {
|
|
2288
2288
|
trim: t = !0,
|
|
2289
2289
|
collapseWhitespace: r = !0
|
|
@@ -2300,7 +2300,7 @@ function he(e) {
|
|
|
2300
2300
|
normalizer: a
|
|
2301
2301
|
} = e;
|
|
2302
2302
|
if (!a)
|
|
2303
|
-
return
|
|
2303
|
+
return Ar({
|
|
2304
2304
|
trim: t,
|
|
2305
2305
|
collapseWhitespace: r
|
|
2306
2306
|
});
|
|
@@ -2308,21 +2308,21 @@ function he(e) {
|
|
|
2308
2308
|
throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
|
|
2309
2309
|
return a;
|
|
2310
2310
|
}
|
|
2311
|
-
function
|
|
2311
|
+
function Sr(e, t) {
|
|
2312
2312
|
const r = e.test(t);
|
|
2313
2313
|
return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), r;
|
|
2314
2314
|
}
|
|
2315
2315
|
function Ge(e) {
|
|
2316
|
-
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType ===
|
|
2316
|
+
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType === gr && !!t.textContent).map((t) => t.textContent).join("");
|
|
2317
2317
|
}
|
|
2318
|
-
const
|
|
2319
|
-
function
|
|
2318
|
+
const pi = bi(K.elementRoles);
|
|
2319
|
+
function Ir(e) {
|
|
2320
2320
|
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
|
|
2321
2321
|
}
|
|
2322
2322
|
function wt(e, t) {
|
|
2323
2323
|
t === void 0 && (t = {});
|
|
2324
2324
|
const {
|
|
2325
|
-
isSubtreeInaccessible: r =
|
|
2325
|
+
isSubtreeInaccessible: r = Ir
|
|
2326
2326
|
} = t;
|
|
2327
2327
|
if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden")
|
|
2328
2328
|
return !0;
|
|
@@ -2338,12 +2338,12 @@ function At(e) {
|
|
|
2338
2338
|
for (const {
|
|
2339
2339
|
match: t,
|
|
2340
2340
|
roles: r
|
|
2341
|
-
} of
|
|
2341
|
+
} of pi)
|
|
2342
2342
|
if (t(e))
|
|
2343
2343
|
return [...r];
|
|
2344
2344
|
return [];
|
|
2345
2345
|
}
|
|
2346
|
-
function
|
|
2346
|
+
function bi(e) {
|
|
2347
2347
|
function t(u) {
|
|
2348
2348
|
let {
|
|
2349
2349
|
name: p,
|
|
@@ -2394,7 +2394,7 @@ function mi(e) {
|
|
|
2394
2394
|
}];
|
|
2395
2395
|
return f.sort(a);
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function mi(e, t) {
|
|
2398
2398
|
let {
|
|
2399
2399
|
hidden: r = !1
|
|
2400
2400
|
} = t === void 0 ? {} : t;
|
|
@@ -2412,12 +2412,12 @@ function yi(e, t) {
|
|
|
2412
2412
|
}, s);
|
|
2413
2413
|
}, {});
|
|
2414
2414
|
}
|
|
2415
|
-
function
|
|
2415
|
+
function yi(e, t) {
|
|
2416
2416
|
let {
|
|
2417
2417
|
hidden: r,
|
|
2418
2418
|
includeDescription: a
|
|
2419
2419
|
} = t;
|
|
2420
|
-
const s =
|
|
2420
|
+
const s = mi(e, {
|
|
2421
2421
|
hidden: r
|
|
2422
2422
|
});
|
|
2423
2423
|
return Object.entries(s).filter((f) => {
|
|
@@ -2431,7 +2431,7 @@ function gi(e, t) {
|
|
|
2431
2431
|
}) + `":
|
|
2432
2432
|
`, d = Te(l.cloneNode(!1));
|
|
2433
2433
|
if (a) {
|
|
2434
|
-
const m = 'Description "' +
|
|
2434
|
+
const m = 'Description "' + sr(l, {
|
|
2435
2435
|
computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
|
|
2436
2436
|
}) + `":
|
|
2437
2437
|
`;
|
|
@@ -2449,24 +2449,24 @@ function gi(e, t) {
|
|
|
2449
2449
|
}).join(`
|
|
2450
2450
|
`);
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function gi(e) {
|
|
2453
2453
|
return e.tagName === "OPTION" ? e.selected : Ce(e, "aria-selected");
|
|
2454
2454
|
}
|
|
2455
|
-
function
|
|
2455
|
+
function hi(e) {
|
|
2456
2456
|
return e.getAttribute("aria-busy") === "true";
|
|
2457
2457
|
}
|
|
2458
|
-
function
|
|
2458
|
+
function Ei(e) {
|
|
2459
2459
|
if (!("indeterminate" in e && e.indeterminate))
|
|
2460
2460
|
return "checked" in e ? e.checked : Ce(e, "aria-checked");
|
|
2461
2461
|
}
|
|
2462
|
-
function
|
|
2462
|
+
function vi(e) {
|
|
2463
2463
|
return Ce(e, "aria-pressed");
|
|
2464
2464
|
}
|
|
2465
|
-
function
|
|
2465
|
+
function Ti(e) {
|
|
2466
2466
|
var t, r;
|
|
2467
2467
|
return (t = (r = Ce(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1;
|
|
2468
2468
|
}
|
|
2469
|
-
function
|
|
2469
|
+
function wi(e) {
|
|
2470
2470
|
return Ce(e, "aria-expanded");
|
|
2471
2471
|
}
|
|
2472
2472
|
function Ce(e, t) {
|
|
@@ -2476,7 +2476,7 @@ function Ce(e, t) {
|
|
|
2476
2476
|
if (r === "false")
|
|
2477
2477
|
return !1;
|
|
2478
2478
|
}
|
|
2479
|
-
function
|
|
2479
|
+
function Ai(e) {
|
|
2480
2480
|
const t = {
|
|
2481
2481
|
H1: 1,
|
|
2482
2482
|
H2: 2,
|
|
@@ -2487,28 +2487,28 @@ function Si(e) {
|
|
|
2487
2487
|
};
|
|
2488
2488
|
return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
|
|
2489
2489
|
}
|
|
2490
|
-
function
|
|
2490
|
+
function Si(e) {
|
|
2491
2491
|
const t = e.getAttribute("aria-valuenow");
|
|
2492
2492
|
return t === null ? void 0 : +t;
|
|
2493
2493
|
}
|
|
2494
|
-
function
|
|
2494
|
+
function Ii(e) {
|
|
2495
2495
|
const t = e.getAttribute("aria-valuemax");
|
|
2496
2496
|
return t === null ? void 0 : +t;
|
|
2497
2497
|
}
|
|
2498
|
-
function
|
|
2498
|
+
function xi(e) {
|
|
2499
2499
|
const t = e.getAttribute("aria-valuemin");
|
|
2500
2500
|
return t === null ? void 0 : +t;
|
|
2501
2501
|
}
|
|
2502
|
-
function
|
|
2502
|
+
function Oi(e) {
|
|
2503
2503
|
const t = e.getAttribute("aria-valuetext");
|
|
2504
2504
|
return t === null ? void 0 : t;
|
|
2505
2505
|
}
|
|
2506
|
-
const Yt =
|
|
2507
|
-
function
|
|
2506
|
+
const Yt = Ar();
|
|
2507
|
+
function Mi(e) {
|
|
2508
2508
|
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
|
|
2509
2509
|
}
|
|
2510
2510
|
function Kt(e) {
|
|
2511
|
-
return new RegExp(
|
|
2511
|
+
return new RegExp(Mi(e.toLowerCase()), "i");
|
|
2512
2512
|
}
|
|
2513
2513
|
function fe(e, t, r, a) {
|
|
2514
2514
|
let {
|
|
@@ -2551,7 +2551,7 @@ function ot(e, t, r) {
|
|
|
2551
2551
|
computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
|
|
2552
2552
|
})
|
|
2553
2553
|
});
|
|
2554
|
-
const u =
|
|
2554
|
+
const u = Tr(document, e).map((d) => d.content).join(" ");
|
|
2555
2555
|
if (de("LabelText", r, u))
|
|
2556
2556
|
return fe("LabelText", e, u, {
|
|
2557
2557
|
variant: t
|
|
@@ -2589,7 +2589,7 @@ function ot(e, t, r) {
|
|
|
2589
2589
|
function qe(e, t) {
|
|
2590
2590
|
e.stack = t.stack.replace(t.message, e.message);
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function Ci(e, t) {
|
|
2593
2593
|
let {
|
|
2594
2594
|
container: r = Tt(),
|
|
2595
2595
|
timeout: a = j().asyncUtilTimeout,
|
|
@@ -2637,7 +2637,7 @@ function _i(e, t) {
|
|
|
2637
2637
|
d = setInterval(I, u);
|
|
2638
2638
|
const {
|
|
2639
2639
|
MutationObserver: y
|
|
2640
|
-
} =
|
|
2640
|
+
} = hr(r);
|
|
2641
2641
|
m = new y(I), m.observe(r, n), x();
|
|
2642
2642
|
}
|
|
2643
2643
|
function A(y, g) {
|
|
@@ -2653,8 +2653,8 @@ function _i(e, t) {
|
|
|
2653
2653
|
function x() {
|
|
2654
2654
|
if (h !== "pending")
|
|
2655
2655
|
try {
|
|
2656
|
-
const y =
|
|
2657
|
-
typeof
|
|
2656
|
+
const y = si(e);
|
|
2657
|
+
typeof y?.then == "function" ? (h = "pending", y.then((g) => {
|
|
2658
2658
|
h = "resolved", A(null, g);
|
|
2659
2659
|
}, (g) => {
|
|
2660
2660
|
h = "rejected", i = g;
|
|
@@ -2669,18 +2669,18 @@ function _i(e, t) {
|
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
2671
|
}
|
|
2672
|
-
function
|
|
2672
|
+
function _i(e, t) {
|
|
2673
2673
|
const r = new Error("STACK_TRACE_MESSAGE");
|
|
2674
|
-
return j().asyncWrapper(() =>
|
|
2674
|
+
return j().asyncWrapper(() => Ci(e, {
|
|
2675
2675
|
stackTraceError: r,
|
|
2676
2676
|
...t
|
|
2677
2677
|
}));
|
|
2678
2678
|
}
|
|
2679
|
-
function
|
|
2679
|
+
function xr(e, t) {
|
|
2680
2680
|
return j().getElementError(e, t);
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2683
|
-
return
|
|
2682
|
+
function Ri(e, t) {
|
|
2683
|
+
return xr(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
|
|
2684
2684
|
}
|
|
2685
2685
|
function Ye(e, t, r, a) {
|
|
2686
2686
|
let {
|
|
@@ -2702,10 +2702,10 @@ function ze(e, t) {
|
|
|
2702
2702
|
s[f - 1] = arguments[f];
|
|
2703
2703
|
const u = e(r, ...s);
|
|
2704
2704
|
if (u.length > 1) {
|
|
2705
|
-
const p = u.map((n) =>
|
|
2705
|
+
const p = u.map((n) => xr(null, n).message).join(`
|
|
2706
2706
|
|
|
2707
2707
|
`);
|
|
2708
|
-
throw
|
|
2708
|
+
throw Ri(t(r, ...s) + `
|
|
2709
2709
|
|
|
2710
2710
|
Here are the matching elements:
|
|
2711
2711
|
|
|
@@ -2714,12 +2714,12 @@ Here are the matching elements:
|
|
|
2714
2714
|
return u[0] || null;
|
|
2715
2715
|
};
|
|
2716
2716
|
}
|
|
2717
|
-
function
|
|
2717
|
+
function Or(e, t) {
|
|
2718
2718
|
return j().getElementError(`A better query is available, try this:
|
|
2719
2719
|
` + e.toString() + `
|
|
2720
2720
|
`, t);
|
|
2721
2721
|
}
|
|
2722
|
-
function
|
|
2722
|
+
function Bi(e, t) {
|
|
2723
2723
|
return function(r) {
|
|
2724
2724
|
for (var a = arguments.length, s = new Array(a > 1 ? a - 1 : 0), f = 1; f < a; f++)
|
|
2725
2725
|
s[f - 1] = arguments[f];
|
|
@@ -2730,7 +2730,7 @@ function Ni(e, t) {
|
|
|
2730
2730
|
};
|
|
2731
2731
|
}
|
|
2732
2732
|
function Ue(e) {
|
|
2733
|
-
return (t, r, a, s) =>
|
|
2733
|
+
return (t, r, a, s) => _i(() => e(t, r, a), {
|
|
2734
2734
|
container: t,
|
|
2735
2735
|
...s
|
|
2736
2736
|
});
|
|
@@ -2744,7 +2744,7 @@ const ve = (e, t, r) => function(a) {
|
|
|
2744
2744
|
if (p && n) {
|
|
2745
2745
|
const o = ot(p, r);
|
|
2746
2746
|
if (o && !t.endsWith(o.queryName))
|
|
2747
|
-
throw
|
|
2747
|
+
throw Or(o.toString(), a);
|
|
2748
2748
|
}
|
|
2749
2749
|
return p;
|
|
2750
2750
|
}, J = (e, t, r) => function(a) {
|
|
@@ -2765,15 +2765,15 @@ const ve = (e, t, r) => function(a) {
|
|
|
2765
2765
|
ot(p[0], r).queryName
|
|
2766
2766
|
)
|
|
2767
2767
|
)
|
|
2768
|
-
throw
|
|
2768
|
+
throw Or(o[0], a);
|
|
2769
2769
|
}
|
|
2770
2770
|
return p;
|
|
2771
2771
|
};
|
|
2772
2772
|
function Ee(e, t, r) {
|
|
2773
|
-
const a = ve(ze(e, t), e.name, "query"), s =
|
|
2773
|
+
const a = ve(ze(e, t), e.name, "query"), s = Bi(e, r), f = ze(s, t), u = ve(f, e.name, "get"), p = J(s, e.name.replace("query", "get"), "getAll"), n = Ue(J(s, e.name, "findAll")), o = Ue(ve(f, e.name, "find"));
|
|
2774
2774
|
return [a, p, u, n, o];
|
|
2775
2775
|
}
|
|
2776
|
-
function
|
|
2776
|
+
function Ni(e) {
|
|
2777
2777
|
return Array.from(e.querySelectorAll("label,input")).map((t) => ({
|
|
2778
2778
|
node: t,
|
|
2779
2779
|
textToMatch: it(t)
|
|
@@ -2784,7 +2784,7 @@ function Pi(e) {
|
|
|
2784
2784
|
return r !== null;
|
|
2785
2785
|
});
|
|
2786
2786
|
}
|
|
2787
|
-
const
|
|
2787
|
+
const Pi = function(e, t, r) {
|
|
2788
2788
|
let {
|
|
2789
2789
|
exact: a = !0,
|
|
2790
2790
|
trim: s,
|
|
@@ -2796,7 +2796,7 @@ const Li = function(e, t, r) {
|
|
|
2796
2796
|
trim: s,
|
|
2797
2797
|
normalizer: u
|
|
2798
2798
|
});
|
|
2799
|
-
return
|
|
2799
|
+
return Ni(e).filter((l) => {
|
|
2800
2800
|
let {
|
|
2801
2801
|
node: i,
|
|
2802
2802
|
textToMatch: d
|
|
@@ -2821,8 +2821,8 @@ const Li = function(e, t, r) {
|
|
|
2821
2821
|
collapseWhitespace: f,
|
|
2822
2822
|
trim: u,
|
|
2823
2823
|
normalizer: p
|
|
2824
|
-
}), l = Array.from(e.querySelectorAll("*")).filter((i) =>
|
|
2825
|
-
const m =
|
|
2824
|
+
}), l = Array.from(e.querySelectorAll("*")).filter((i) => vr(i).length || i.hasAttribute("aria-labelledby")).reduce((i, d) => {
|
|
2825
|
+
const m = Tr(e, d, {
|
|
2826
2826
|
selector: a
|
|
2827
2827
|
});
|
|
2828
2828
|
m.filter((h) => !!h.formControl).forEach((h) => {
|
|
@@ -2844,9 +2844,9 @@ const Li = function(e, t, r) {
|
|
|
2844
2844
|
a[s - 2] = arguments[s];
|
|
2845
2845
|
const f = Me(e, t, ...a);
|
|
2846
2846
|
if (!f.length) {
|
|
2847
|
-
const u =
|
|
2847
|
+
const u = Pi(e, t, ...a);
|
|
2848
2848
|
if (u.length) {
|
|
2849
|
-
const p = u.map((n) =>
|
|
2849
|
+
const p = u.map((n) => Li(e, n)).filter((n) => !!n);
|
|
2850
2850
|
throw p.length ? j().getElementError(p.map((n) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + n + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + n + " />, you can use aria-label or aria-labelledby instead.").join(`
|
|
2851
2851
|
|
|
2852
2852
|
`), e) : j().getElementError("Found a label with the text of: " + t + `, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e);
|
|
@@ -2855,18 +2855,18 @@ const Li = function(e, t, r) {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
return f;
|
|
2857
2857
|
};
|
|
2858
|
-
function
|
|
2858
|
+
function Li(e, t) {
|
|
2859
2859
|
const r = t.getAttribute("for");
|
|
2860
2860
|
if (!r)
|
|
2861
2861
|
return null;
|
|
2862
2862
|
const a = e.querySelector('[id="' + r + '"]');
|
|
2863
2863
|
return a ? a.tagName.toLowerCase() : null;
|
|
2864
2864
|
}
|
|
2865
|
-
const
|
|
2865
|
+
const Mr = (e, t) => "Found multiple elements with the text of: " + t, Di = ve(ze(Me, Mr), Me.name, "query"), Cr = ze(ye, Mr), qi = Ue(J(ye, ye.name, "findAll")), ji = Ue(ve(Cr, ye.name, "find")), ki = J(ye, ye.name, "getAll"), Fi = ve(Cr, ye.name, "get"), $i = J(Me, Me.name, "queryAll"), at = function() {
|
|
2866
2866
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
2867
2867
|
t[r] = arguments[r];
|
|
2868
2868
|
return ce(t[0]), Ye("placeholder", ...t);
|
|
2869
|
-
},
|
|
2869
|
+
}, zi = (e, t) => "Found multiple elements with the placeholder text of: " + t, Ui = (e, t) => "Unable to find an element with the placeholder text of: " + t, Wi = J(at, at.name, "queryAll"), [Vi, Hi, Gi, Yi, Ki] = Ee(at, zi, Ui), ut = function(e, t, r) {
|
|
2870
2870
|
let {
|
|
2871
2871
|
selector: a = "*",
|
|
2872
2872
|
exact: s = !0,
|
|
@@ -2883,7 +2883,7 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
2883
2883
|
});
|
|
2884
2884
|
let i = [];
|
|
2885
2885
|
return typeof e.matches == "function" && e.matches(a) && (i = [e]), [...i, ...Array.from(e.querySelectorAll(a))].filter((d) => !p || !d.matches(p)).filter((d) => o(Ge(d), d, t, l));
|
|
2886
|
-
},
|
|
2886
|
+
}, Ji = (e, t) => "Found multiple elements with the text: " + t, Qi = function(e, t, r) {
|
|
2887
2887
|
r === void 0 && (r = {});
|
|
2888
2888
|
const {
|
|
2889
2889
|
collapseWhitespace: a,
|
|
@@ -2896,7 +2896,7 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
2896
2896
|
normalizer: f
|
|
2897
2897
|
})(t.toString()), o = n !== t.toString(), l = (u ?? "*") !== "*";
|
|
2898
2898
|
return "Unable to find an element with the text: " + (o ? n + " (normalized from '" + t + "')" : t) + (l ? ", which matches selector '" + u + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
|
|
2899
|
-
},
|
|
2899
|
+
}, Xi = J(ut, ut.name, "queryAll"), [Zi, eo, to, ro, no] = Ee(ut, Ji, Qi), lt = function(e, t, r) {
|
|
2900
2900
|
let {
|
|
2901
2901
|
exact: a = !0,
|
|
2902
2902
|
collapseWhitespace: s,
|
|
@@ -2910,9 +2910,9 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
2910
2910
|
normalizer: u
|
|
2911
2911
|
});
|
|
2912
2912
|
return Array.from(e.querySelectorAll("input,textarea,select")).filter((o) => o.tagName === "SELECT" ? Array.from(o.options).filter((i) => i.selected).some((i) => p(Ge(i), i, t, n)) : p(o.value, o, t, n));
|
|
2913
|
-
},
|
|
2914
|
-
return r === void 0 && (r = {}), ce(e), Ye("alt", e, t, r).filter((a) =>
|
|
2915
|
-
},
|
|
2913
|
+
}, io = (e, t) => "Found multiple elements with the display value: " + t + ".", oo = (e, t) => "Unable to find an element with the display value: " + t + ".", ao = J(lt, lt.name, "queryAll"), [uo, lo, so, co, fo] = Ee(lt, io, oo), po = /^(img|input|area|.+-.+)$/i, st = function(e, t, r) {
|
|
2914
|
+
return r === void 0 && (r = {}), ce(e), Ye("alt", e, t, r).filter((a) => po.test(a.tagName));
|
|
2915
|
+
}, bo = (e, t) => "Found multiple elements with the alt text: " + t, mo = (e, t) => "Unable to find an element with the alt text: " + t, yo = J(st, st.name, "queryAll"), [go, ho, Eo, vo, To] = Ee(st, bo, mo), wo = (e) => {
|
|
2916
2916
|
var t;
|
|
2917
2917
|
return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
|
|
2918
2918
|
}, ct = function(e, t, r) {
|
|
@@ -2928,8 +2928,8 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
2928
2928
|
trim: f,
|
|
2929
2929
|
normalizer: u
|
|
2930
2930
|
});
|
|
2931
|
-
return Array.from(e.querySelectorAll("[title], svg > title")).filter((o) => p(o.getAttribute("title"), o, t, n) ||
|
|
2932
|
-
},
|
|
2931
|
+
return Array.from(e.querySelectorAll("[title], svg > title")).filter((o) => p(o.getAttribute("title"), o, t, n) || wo(o) && p(Ge(o), o, t, n));
|
|
2932
|
+
}, Ao = (e, t) => "Found multiple elements with the title: " + t + ".", So = (e, t) => "Unable to find an element with the title: " + t + ".", Io = J(ct, ct.name, "queryAll"), [xo, Oo, Mo, Co, _o] = Ee(ct, Ao, So), ft = function(e, t, r) {
|
|
2933
2933
|
let {
|
|
2934
2934
|
hidden: a = j().defaultHidden,
|
|
2935
2935
|
name: s,
|
|
@@ -3003,11 +3003,11 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
3003
3003
|
}
|
|
3004
3004
|
const N = /* @__PURE__ */ new WeakMap();
|
|
3005
3005
|
function S(C) {
|
|
3006
|
-
return N.has(C) || N.set(C,
|
|
3006
|
+
return N.has(C) || N.set(C, Ir(C)), N.get(C);
|
|
3007
3007
|
}
|
|
3008
3008
|
return Array.from(e.querySelectorAll(
|
|
3009
3009
|
// Only query elements that can be matched by the following filters
|
|
3010
|
-
|
|
3010
|
+
Ro(t)
|
|
3011
3011
|
)).filter((C) => {
|
|
3012
3012
|
if (C.hasAttribute("role")) {
|
|
3013
3013
|
const k = C.getAttribute("role");
|
|
@@ -3019,37 +3019,37 @@ const Cr = (e, t) => "Found multiple elements with the text of: " + t, qi = ve(z
|
|
|
3019
3019
|
return At(C).some((k) => k === t);
|
|
3020
3020
|
}).filter((C) => {
|
|
3021
3021
|
if (p !== void 0)
|
|
3022
|
-
return p ===
|
|
3022
|
+
return p === gi(C);
|
|
3023
3023
|
if (n !== void 0)
|
|
3024
|
-
return n ===
|
|
3024
|
+
return n === hi(C);
|
|
3025
3025
|
if (o !== void 0)
|
|
3026
|
-
return o ===
|
|
3026
|
+
return o === Ei(C);
|
|
3027
3027
|
if (l !== void 0)
|
|
3028
|
-
return l ===
|
|
3028
|
+
return l === vi(C);
|
|
3029
3029
|
if (i !== void 0)
|
|
3030
|
-
return i ===
|
|
3030
|
+
return i === Ti(C);
|
|
3031
3031
|
if (m !== void 0)
|
|
3032
|
-
return m ===
|
|
3032
|
+
return m === wi(C);
|
|
3033
3033
|
if (d !== void 0)
|
|
3034
|
-
return d ===
|
|
3034
|
+
return d === Ai(C);
|
|
3035
3035
|
if (E !== void 0 || w !== void 0 || h !== void 0 || c !== void 0) {
|
|
3036
3036
|
let z = !0;
|
|
3037
|
-
if (E !== void 0 && z && (z = E ===
|
|
3037
|
+
if (E !== void 0 && z && (z = E === Si(C)), w !== void 0 && z && (z = w === Ii(C)), h !== void 0 && z && (z = h === xi(C)), c !== void 0) {
|
|
3038
3038
|
var W;
|
|
3039
|
-
z && (z = se((W =
|
|
3039
|
+
z && (z = se((W = Oi(C)) != null ? W : null, C, c, (k) => k));
|
|
3040
3040
|
}
|
|
3041
3041
|
return z;
|
|
3042
3042
|
}
|
|
3043
3043
|
return !0;
|
|
3044
3044
|
}).filter((C) => s === void 0 ? !0 : se(ht(C, {
|
|
3045
3045
|
computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
|
|
3046
|
-
}), C, s, (W) => W)).filter((C) => f === void 0 ? !0 : se(
|
|
3046
|
+
}), C, s, (W) => W)).filter((C) => f === void 0 ? !0 : se(sr(C, {
|
|
3047
3047
|
computedStyleSupportsPseudoElements: j().computedStyleSupportsPseudoElements
|
|
3048
3048
|
}), C, f, (W) => W)).filter((C) => a === !1 ? wt(C, {
|
|
3049
3049
|
isSubtreeInaccessible: S
|
|
3050
3050
|
}) === !1 : !0);
|
|
3051
3051
|
};
|
|
3052
|
-
function
|
|
3052
|
+
function Ro(e) {
|
|
3053
3053
|
var t;
|
|
3054
3054
|
const r = '*[role~="' + e + '"]', a = (t = K.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), s = new Set(Array.from(a).map((f) => {
|
|
3055
3055
|
let {
|
|
@@ -3059,25 +3059,25 @@ function Bo(e) {
|
|
|
3059
3059
|
}));
|
|
3060
3060
|
return [r].concat(Array.from(s)).join(",");
|
|
3061
3061
|
}
|
|
3062
|
-
const
|
|
3062
|
+
const _r = (e) => {
|
|
3063
3063
|
let t = "";
|
|
3064
3064
|
return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
|
|
3065
|
-
},
|
|
3065
|
+
}, Bo = function(e, t, r) {
|
|
3066
3066
|
let {
|
|
3067
3067
|
name: a
|
|
3068
3068
|
} = r === void 0 ? {} : r;
|
|
3069
|
-
return 'Found multiple elements with the role "' + t + '"' +
|
|
3070
|
-
},
|
|
3069
|
+
return 'Found multiple elements with the role "' + t + '"' + _r(a);
|
|
3070
|
+
}, No = function(e, t, r) {
|
|
3071
3071
|
let {
|
|
3072
3072
|
hidden: a = j().defaultHidden,
|
|
3073
3073
|
name: s,
|
|
3074
3074
|
description: f
|
|
3075
3075
|
} = r === void 0 ? {} : r;
|
|
3076
3076
|
if (j()._disableExpensiveErrorDiagnostics)
|
|
3077
|
-
return 'Unable to find role="' + t + '"' +
|
|
3077
|
+
return 'Unable to find role="' + t + '"' + _r(s);
|
|
3078
3078
|
let u = "";
|
|
3079
3079
|
Array.from(e.children).forEach((l) => {
|
|
3080
|
-
u +=
|
|
3080
|
+
u += yi(l, {
|
|
3081
3081
|
hidden: a,
|
|
3082
3082
|
includeDescription: f !== void 0
|
|
3083
3083
|
});
|
|
@@ -3098,63 +3098,63 @@ Here are the ` + (a === !1 ? "accessible" : "available") + ` roles:
|
|
|
3098
3098
|
Unable to find an ` + (a === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + n + o + `
|
|
3099
3099
|
|
|
3100
3100
|
` + p).trim();
|
|
3101
|
-
},
|
|
3101
|
+
}, Po = J(ft, ft.name, "queryAll"), [Lo, Do, qo, jo, ko] = Ee(ft, Bo, No), St = () => j().testIdAttribute, dt = function() {
|
|
3102
3102
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
3103
3103
|
t[r] = arguments[r];
|
|
3104
3104
|
return ce(t[0]), Ye(St(), ...t);
|
|
3105
|
-
},
|
|
3105
|
+
}, Fo = (e, t) => "Found multiple elements by: [" + St() + '="' + t + '"]', $o = (e, t) => "Unable to find an element by: [" + St() + '="' + t + '"]', zo = J(dt, dt.name, "queryAll"), [Uo, Wo, Vo, Ho, Go] = Ee(dt, Fo, $o);
|
|
3106
3106
|
var pt = /* @__PURE__ */ Object.freeze({
|
|
3107
3107
|
__proto__: null,
|
|
3108
|
-
queryAllByLabelText:
|
|
3109
|
-
queryByLabelText:
|
|
3110
|
-
getAllByLabelText:
|
|
3111
|
-
getByLabelText:
|
|
3112
|
-
findAllByLabelText:
|
|
3113
|
-
findByLabelText:
|
|
3114
|
-
queryByPlaceholderText:
|
|
3115
|
-
queryAllByPlaceholderText:
|
|
3116
|
-
getByPlaceholderText:
|
|
3117
|
-
getAllByPlaceholderText:
|
|
3118
|
-
findAllByPlaceholderText:
|
|
3119
|
-
findByPlaceholderText:
|
|
3120
|
-
queryByText:
|
|
3121
|
-
queryAllByText:
|
|
3122
|
-
getByText:
|
|
3123
|
-
getAllByText:
|
|
3124
|
-
findAllByText:
|
|
3125
|
-
findByText:
|
|
3126
|
-
queryByDisplayValue:
|
|
3127
|
-
queryAllByDisplayValue:
|
|
3128
|
-
getByDisplayValue:
|
|
3129
|
-
getAllByDisplayValue:
|
|
3130
|
-
findAllByDisplayValue:
|
|
3131
|
-
findByDisplayValue:
|
|
3132
|
-
queryByAltText:
|
|
3133
|
-
queryAllByAltText:
|
|
3134
|
-
getByAltText:
|
|
3135
|
-
getAllByAltText:
|
|
3136
|
-
findAllByAltText:
|
|
3137
|
-
findByAltText:
|
|
3138
|
-
queryByTitle:
|
|
3139
|
-
queryAllByTitle:
|
|
3140
|
-
getByTitle:
|
|
3141
|
-
getAllByTitle:
|
|
3142
|
-
findAllByTitle:
|
|
3143
|
-
findByTitle:
|
|
3144
|
-
queryByRole:
|
|
3145
|
-
queryAllByRole:
|
|
3146
|
-
getAllByRole:
|
|
3147
|
-
getByRole:
|
|
3148
|
-
findAllByRole:
|
|
3149
|
-
findByRole:
|
|
3150
|
-
queryByTestId:
|
|
3151
|
-
queryAllByTestId:
|
|
3152
|
-
getByTestId:
|
|
3153
|
-
getAllByTestId:
|
|
3154
|
-
findAllByTestId:
|
|
3155
|
-
findByTestId:
|
|
3108
|
+
queryAllByLabelText: $i,
|
|
3109
|
+
queryByLabelText: Di,
|
|
3110
|
+
getAllByLabelText: ki,
|
|
3111
|
+
getByLabelText: Fi,
|
|
3112
|
+
findAllByLabelText: qi,
|
|
3113
|
+
findByLabelText: ji,
|
|
3114
|
+
queryByPlaceholderText: Vi,
|
|
3115
|
+
queryAllByPlaceholderText: Wi,
|
|
3116
|
+
getByPlaceholderText: Gi,
|
|
3117
|
+
getAllByPlaceholderText: Hi,
|
|
3118
|
+
findAllByPlaceholderText: Yi,
|
|
3119
|
+
findByPlaceholderText: Ki,
|
|
3120
|
+
queryByText: Zi,
|
|
3121
|
+
queryAllByText: Xi,
|
|
3122
|
+
getByText: to,
|
|
3123
|
+
getAllByText: eo,
|
|
3124
|
+
findAllByText: ro,
|
|
3125
|
+
findByText: no,
|
|
3126
|
+
queryByDisplayValue: uo,
|
|
3127
|
+
queryAllByDisplayValue: ao,
|
|
3128
|
+
getByDisplayValue: so,
|
|
3129
|
+
getAllByDisplayValue: lo,
|
|
3130
|
+
findAllByDisplayValue: co,
|
|
3131
|
+
findByDisplayValue: fo,
|
|
3132
|
+
queryByAltText: go,
|
|
3133
|
+
queryAllByAltText: yo,
|
|
3134
|
+
getByAltText: Eo,
|
|
3135
|
+
getAllByAltText: ho,
|
|
3136
|
+
findAllByAltText: vo,
|
|
3137
|
+
findByAltText: To,
|
|
3138
|
+
queryByTitle: xo,
|
|
3139
|
+
queryAllByTitle: Io,
|
|
3140
|
+
getByTitle: Mo,
|
|
3141
|
+
getAllByTitle: Oo,
|
|
3142
|
+
findAllByTitle: Co,
|
|
3143
|
+
findByTitle: _o,
|
|
3144
|
+
queryByRole: Lo,
|
|
3145
|
+
queryAllByRole: Po,
|
|
3146
|
+
getAllByRole: Do,
|
|
3147
|
+
getByRole: qo,
|
|
3148
|
+
findAllByRole: jo,
|
|
3149
|
+
findByRole: ko,
|
|
3150
|
+
queryByTestId: Uo,
|
|
3151
|
+
queryAllByTestId: zo,
|
|
3152
|
+
getByTestId: Vo,
|
|
3153
|
+
getAllByTestId: Wo,
|
|
3154
|
+
findAllByTestId: Ho,
|
|
3155
|
+
findByTestId: Go
|
|
3156
3156
|
});
|
|
3157
|
-
function
|
|
3157
|
+
function Rr(e, t, r) {
|
|
3158
3158
|
return t === void 0 && (t = pt), r === void 0 && (r = {}), Object.keys(t).reduce((a, s) => {
|
|
3159
3159
|
const f = t[s];
|
|
3160
3160
|
return a[s] = f.bind(null, e), a;
|
|
@@ -3890,13 +3890,13 @@ function nt(e, t, r, a) {
|
|
|
3890
3890
|
...o
|
|
3891
3891
|
} = {}
|
|
3892
3892
|
} = u;
|
|
3893
|
-
p !== void 0 &&
|
|
3893
|
+
p !== void 0 && Yo(t, p), n !== void 0 && Object.defineProperty(t, "files", {
|
|
3894
3894
|
configurable: !0,
|
|
3895
3895
|
enumerable: !0,
|
|
3896
3896
|
writable: !0,
|
|
3897
3897
|
value: n
|
|
3898
3898
|
}), Object.assign(t, o);
|
|
3899
|
-
const l =
|
|
3899
|
+
const l = hr(t), i = l[s] || l.Event;
|
|
3900
3900
|
let d;
|
|
3901
3901
|
if (typeof i == "function")
|
|
3902
3902
|
d = new i(e, u);
|
|
@@ -3933,7 +3933,7 @@ Object.keys(Jt).forEach((e) => {
|
|
|
3933
3933
|
defaultInit: r
|
|
3934
3934
|
}), ge[e] = (s, f) => ge(s, nt[e](s, f));
|
|
3935
3935
|
});
|
|
3936
|
-
function
|
|
3936
|
+
function Yo(e, t) {
|
|
3937
3937
|
const {
|
|
3938
3938
|
set: r
|
|
3939
3939
|
} = Object.getOwnPropertyDescriptor(e, "value") || {}, a = Object.getPrototypeOf(e), {
|
|
@@ -3952,17 +3952,17 @@ Object.keys(Qt).forEach((e) => {
|
|
|
3952
3952
|
return ge[t](...arguments);
|
|
3953
3953
|
};
|
|
3954
3954
|
});
|
|
3955
|
-
function
|
|
3955
|
+
function Ko(e) {
|
|
3956
3956
|
return e.replace(/[ \t]*[\n][ \t]*/g, `
|
|
3957
3957
|
`);
|
|
3958
3958
|
}
|
|
3959
|
-
function
|
|
3960
|
-
return
|
|
3959
|
+
function Jo(e) {
|
|
3960
|
+
return Un.compressToEncodedURIComponent(Ko(e));
|
|
3961
3961
|
}
|
|
3962
|
-
function
|
|
3963
|
-
return "https://testing-playground.com/#markup=" +
|
|
3962
|
+
function Qo(e) {
|
|
3963
|
+
return "https://testing-playground.com/#markup=" + Jo(e);
|
|
3964
3964
|
}
|
|
3965
|
-
const
|
|
3965
|
+
const Xo = (e, t, r) => Array.isArray(e) ? e.forEach((a) => Gt(a, t, r)) : Gt(e, t, r), Zo = function(e) {
|
|
3966
3966
|
if (e === void 0 && (e = Tt().body), !e || !("innerHTML" in e)) {
|
|
3967
3967
|
console.log("The element you're providing isn't a valid DOM element.");
|
|
3968
3968
|
return;
|
|
@@ -3971,17 +3971,17 @@ const Zo = (e, t, r) => Array.isArray(e) ? e.forEach((a) => Gt(a, t, r)) : Gt(e,
|
|
|
3971
3971
|
console.log("The provided element doesn't have any children.");
|
|
3972
3972
|
return;
|
|
3973
3973
|
}
|
|
3974
|
-
const t =
|
|
3974
|
+
const t = Qo(e.innerHTML);
|
|
3975
3975
|
return console.log(`Open this URL in your browser
|
|
3976
3976
|
|
|
3977
3977
|
` + t), t;
|
|
3978
3978
|
}, Xt = {
|
|
3979
|
-
debug:
|
|
3980
|
-
logTestingPlaygroundURL:
|
|
3981
|
-
},
|
|
3979
|
+
debug: Xo,
|
|
3980
|
+
logTestingPlaygroundURL: Zo
|
|
3981
|
+
}, va = typeof document < "u" && document.body ? Rr(document.body, pt, Xt) : Object.keys(pt).reduce((e, t) => (e[t] = () => {
|
|
3982
3982
|
throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
|
|
3983
|
-
}, e), Xt),
|
|
3984
|
-
function
|
|
3983
|
+
}, e), Xt), ea = typeof Ie.act == "function" ? Ie.act : Pr.act;
|
|
3984
|
+
function Br() {
|
|
3985
3985
|
if (typeof globalThis < "u")
|
|
3986
3986
|
return globalThis;
|
|
3987
3987
|
if (typeof self < "u")
|
|
@@ -3993,12 +3993,12 @@ function Nr() {
|
|
|
3993
3993
|
throw new Error("unable to locate global object");
|
|
3994
3994
|
}
|
|
3995
3995
|
function ue(e) {
|
|
3996
|
-
|
|
3996
|
+
Br().IS_REACT_ACT_ENVIRONMENT = e;
|
|
3997
3997
|
}
|
|
3998
3998
|
function We() {
|
|
3999
|
-
return
|
|
3999
|
+
return Br().IS_REACT_ACT_ENVIRONMENT;
|
|
4000
4000
|
}
|
|
4001
|
-
function
|
|
4001
|
+
function ta(e) {
|
|
4002
4002
|
return (t) => {
|
|
4003
4003
|
const r = We();
|
|
4004
4004
|
ue(!0);
|
|
@@ -4026,7 +4026,7 @@ function ra(e) {
|
|
|
4026
4026
|
}
|
|
4027
4027
|
};
|
|
4028
4028
|
}
|
|
4029
|
-
const we =
|
|
4029
|
+
const we = ta(ea), $ = function() {
|
|
4030
4030
|
return ge(...arguments);
|
|
4031
4031
|
};
|
|
4032
4032
|
Object.keys(ge).forEach((e) => {
|
|
@@ -4034,41 +4034,41 @@ Object.keys(ge).forEach((e) => {
|
|
|
4034
4034
|
return ge[e](...arguments);
|
|
4035
4035
|
};
|
|
4036
4036
|
});
|
|
4037
|
-
const
|
|
4037
|
+
const ra = $.mouseEnter, na = $.mouseLeave;
|
|
4038
4038
|
$.mouseEnter = function() {
|
|
4039
|
-
return
|
|
4039
|
+
return ra(...arguments), $.mouseOver(...arguments);
|
|
4040
4040
|
};
|
|
4041
4041
|
$.mouseLeave = function() {
|
|
4042
|
-
return
|
|
4042
|
+
return na(...arguments), $.mouseOut(...arguments);
|
|
4043
4043
|
};
|
|
4044
|
-
const
|
|
4044
|
+
const ia = $.pointerEnter, oa = $.pointerLeave;
|
|
4045
4045
|
$.pointerEnter = function() {
|
|
4046
|
-
return
|
|
4046
|
+
return ia(...arguments), $.pointerOver(...arguments);
|
|
4047
4047
|
};
|
|
4048
4048
|
$.pointerLeave = function() {
|
|
4049
|
-
return
|
|
4049
|
+
return oa(...arguments), $.pointerOut(...arguments);
|
|
4050
4050
|
};
|
|
4051
|
-
const
|
|
4051
|
+
const aa = $.select;
|
|
4052
4052
|
$.select = (e, t) => {
|
|
4053
|
-
|
|
4053
|
+
aa(e, t), e.focus(), $.keyUp(e, t);
|
|
4054
4054
|
};
|
|
4055
|
-
const
|
|
4055
|
+
const ua = $.blur, la = $.focus;
|
|
4056
4056
|
$.blur = function() {
|
|
4057
|
-
return $.focusOut(...arguments),
|
|
4057
|
+
return $.focusOut(...arguments), ua(...arguments);
|
|
4058
4058
|
};
|
|
4059
4059
|
$.focus = function() {
|
|
4060
|
-
return $.focusIn(...arguments),
|
|
4060
|
+
return $.focusIn(...arguments), la(...arguments);
|
|
4061
4061
|
};
|
|
4062
|
-
let
|
|
4062
|
+
let sa = {
|
|
4063
4063
|
reactStrictMode: !1
|
|
4064
4064
|
};
|
|
4065
|
-
function
|
|
4065
|
+
function ca() {
|
|
4066
4066
|
return {
|
|
4067
4067
|
...j(),
|
|
4068
|
-
...
|
|
4068
|
+
...sa
|
|
4069
4069
|
};
|
|
4070
4070
|
}
|
|
4071
|
-
function
|
|
4071
|
+
function fa() {
|
|
4072
4072
|
return typeof jest < "u" && jest !== null ? (
|
|
4073
4073
|
// legacy timers
|
|
4074
4074
|
setTimeout._isMockFunction === !0 || // modern timers
|
|
@@ -4076,7 +4076,7 @@ function da() {
|
|
|
4076
4076
|
Object.prototype.hasOwnProperty.call(setTimeout, "clock")
|
|
4077
4077
|
) : !1;
|
|
4078
4078
|
}
|
|
4079
|
-
|
|
4079
|
+
ci({
|
|
4080
4080
|
unstable_advanceTimersWrapper: (e) => we(e),
|
|
4081
4081
|
// We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT
|
|
4082
4082
|
// But that's not necessarily how `asyncWrapper` is used since it's a public method.
|
|
@@ -4089,7 +4089,7 @@ fi({
|
|
|
4089
4089
|
return await new Promise((a) => {
|
|
4090
4090
|
setTimeout(() => {
|
|
4091
4091
|
a();
|
|
4092
|
-
}, 0),
|
|
4092
|
+
}, 0), fa() && jest.advanceTimersByTime(0);
|
|
4093
4093
|
}), r;
|
|
4094
4094
|
} finally {
|
|
4095
4095
|
ue(t);
|
|
@@ -4104,12 +4104,12 @@ fi({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
const bt = /* @__PURE__ */ new Set(), Ve = [];
|
|
4106
4106
|
function mt(e, t) {
|
|
4107
|
-
return t ??
|
|
4107
|
+
return t ?? ca().reactStrictMode ? /* @__PURE__ */ Ie.createElement(Ie.StrictMode, null, e) : e;
|
|
4108
4108
|
}
|
|
4109
4109
|
function yt(e, t) {
|
|
4110
4110
|
return t ? /* @__PURE__ */ Ie.createElement(t, null, e) : e;
|
|
4111
4111
|
}
|
|
4112
|
-
function
|
|
4112
|
+
function da(e, t) {
|
|
4113
4113
|
let {
|
|
4114
4114
|
hydrate: r,
|
|
4115
4115
|
onCaughtError: a,
|
|
@@ -4139,7 +4139,7 @@ function pa(e, t) {
|
|
|
4139
4139
|
}
|
|
4140
4140
|
};
|
|
4141
4141
|
}
|
|
4142
|
-
function
|
|
4142
|
+
function pa(e) {
|
|
4143
4143
|
return {
|
|
4144
4144
|
hydrate(t) {
|
|
4145
4145
|
je.hydrate(t, e);
|
|
@@ -4152,7 +4152,7 @@ function ba(e) {
|
|
|
4152
4152
|
}
|
|
4153
4153
|
};
|
|
4154
4154
|
}
|
|
4155
|
-
function
|
|
4155
|
+
function Nr(e, t) {
|
|
4156
4156
|
let {
|
|
4157
4157
|
baseElement: r,
|
|
4158
4158
|
container: a,
|
|
@@ -4182,7 +4182,7 @@ function Pr(e, t) {
|
|
|
4182
4182
|
});
|
|
4183
4183
|
},
|
|
4184
4184
|
rerender: (o) => {
|
|
4185
|
-
|
|
4185
|
+
Nr(o, {
|
|
4186
4186
|
container: a,
|
|
4187
4187
|
baseElement: r,
|
|
4188
4188
|
root: u,
|
|
@@ -4198,10 +4198,10 @@ function Pr(e, t) {
|
|
|
4198
4198
|
return o.innerHTML = a.innerHTML, o.content;
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
|
-
...
|
|
4201
|
+
...Rr(r, f)
|
|
4202
4202
|
};
|
|
4203
4203
|
}
|
|
4204
|
-
function
|
|
4204
|
+
function ba(e, t) {
|
|
4205
4205
|
let {
|
|
4206
4206
|
container: r,
|
|
4207
4207
|
baseElement: a = r,
|
|
@@ -4218,13 +4218,13 @@ function ma(e, t) {
|
|
|
4218
4218
|
throw new Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");
|
|
4219
4219
|
if (s && typeof je.render != "function") {
|
|
4220
4220
|
const m = new Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");
|
|
4221
|
-
throw Error.captureStackTrace(m,
|
|
4221
|
+
throw Error.captureStackTrace(m, ba), m;
|
|
4222
4222
|
}
|
|
4223
4223
|
a || (a = document.body), r || (r = a.appendChild(document.createElement("div")));
|
|
4224
4224
|
let d;
|
|
4225
4225
|
return bt.has(r) ? Ve.forEach((m) => {
|
|
4226
4226
|
m.container === r && (d = m.root);
|
|
4227
|
-
}) : (d = (s ?
|
|
4227
|
+
}) : (d = (s ? pa : da)(r, {
|
|
4228
4228
|
hydrate: o,
|
|
4229
4229
|
onCaughtError: f,
|
|
4230
4230
|
onRecoverableError: p,
|
|
@@ -4234,7 +4234,7 @@ function ma(e, t) {
|
|
|
4234
4234
|
}), Ve.push({
|
|
4235
4235
|
container: r,
|
|
4236
4236
|
root: d
|
|
4237
|
-
}), bt.add(r)),
|
|
4237
|
+
}), bt.add(r)), Nr(e, {
|
|
4238
4238
|
container: r,
|
|
4239
4239
|
baseElement: a,
|
|
4240
4240
|
queries: n,
|
|
@@ -4255,8 +4255,7 @@ function Zt() {
|
|
|
4255
4255
|
}), r.parentNode === document.body && document.body.removeChild(r);
|
|
4256
4256
|
}), Ve.length = 0, bt.clear();
|
|
4257
4257
|
}
|
|
4258
|
-
|
|
4259
|
-
if ((typeof process > "u" || !((er = process.env) != null && er.RTL_SKIP_AUTO_CLEANUP)) && (typeof afterEach == "function" ? afterEach(() => {
|
|
4258
|
+
if ((typeof process > "u" || !process.env?.RTL_SKIP_AUTO_CLEANUP) && (typeof afterEach == "function" ? afterEach(() => {
|
|
4260
4259
|
Zt();
|
|
4261
4260
|
}) : typeof teardown == "function" && teardown(() => {
|
|
4262
4261
|
Zt();
|
|
@@ -4271,8 +4270,8 @@ if ((typeof process > "u" || !((er = process.env) != null && er.RTL_SKIP_AUTO_CL
|
|
|
4271
4270
|
export {
|
|
4272
4271
|
$ as f,
|
|
4273
4272
|
j as g,
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4273
|
+
ba as r,
|
|
4274
|
+
va as s,
|
|
4275
|
+
_i as w
|
|
4277
4276
|
};
|
|
4278
|
-
//# sourceMappingURL=react.esm-
|
|
4277
|
+
//# sourceMappingURL=react.esm-BKjCIfbB.js.map
|