@uva-glass/component-library 3.55.4 → 3.55.5
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/{Accordion-BpnBHYIx.js → Accordion-DvblEUVu.js} +16 -17
- package/dist/{Accordion-BpnBHYIx.js.map → Accordion-DvblEUVu.js.map} +1 -1
- package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js → AddCatalogueLinkForm-rph4K9P0.js} +24 -25
- package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js.map → AddCatalogueLinkForm-rph4K9P0.js.map} +1 -1
- package/dist/{CheckboxButtonBar-CalU0IYK.js → CheckboxButtonBar-5UMIFMKH.js} +2 -2
- package/dist/{CheckboxButtonBar-CalU0IYK.js.map → CheckboxButtonBar-5UMIFMKH.js.map} +1 -1
- package/dist/{ControlsButton-zemVxTlg.js → ControlsButton-B1XRpMUM.js} +15 -16
- package/dist/{ControlsButton-zemVxTlg.js.map → ControlsButton-B1XRpMUM.js.map} +1 -1
- package/dist/{Drawer-Ggofac6y.js → Drawer-e7UFHVg9.js} +29 -30
- package/dist/{Drawer-Ggofac6y.js.map → Drawer-e7UFHVg9.js.map} +1 -1
- package/dist/{FieldHint-D0HtbTnt.js → FieldHint-fxnEOsVZ.js} +2 -2
- package/dist/{FieldHint-D0HtbTnt.js.map → FieldHint-fxnEOsVZ.js.map} +1 -1
- package/dist/Fieldset-0LFsZ3Mz.js +22 -0
- package/dist/{Fieldset-CoNu_Owa.js.map → Fieldset-0LFsZ3Mz.js.map} +1 -1
- package/dist/{Lexical.prod-DIglXatJ.js → Lexical.prod-sbwgNRjw.js} +575 -568
- package/dist/Lexical.prod-sbwgNRjw.js.map +1 -0
- package/dist/{LexicalClipboard.prod-Bnzu0sh_.js → LexicalClipboard.prod-DdImsyd1.js} +82 -82
- package/dist/{LexicalClipboard.prod-Bnzu0sh_.js.map → LexicalClipboard.prod-DdImsyd1.js.map} +1 -1
- package/dist/{LexicalExtension.prod-COPHoPpX.js → LexicalExtension.prod-jTSDl1mh.js} +208 -198
- package/dist/LexicalExtension.prod-jTSDl1mh.js.map +1 -0
- package/dist/{LexicalLink.prod-Bf9JUdMv.js → LexicalLink.prod-BKLNLyu8.js} +155 -149
- package/dist/LexicalLink.prod-BKLNLyu8.js.map +1 -0
- package/dist/{LexicalList.prod-DRz8vsM9.js → LexicalList.prod-DEtc4lSr.js} +222 -222
- package/dist/{LexicalList.prod-DRz8vsM9.js.map → LexicalList.prod-DEtc4lSr.js.map} +1 -1
- package/dist/{LexicalTable.prod-D16GW-aZ.js → LexicalTable.prod-CpIPDW6z.js} +436 -428
- package/dist/LexicalTable.prod-CpIPDW6z.js.map +1 -0
- package/dist/LexicalUtils.prod-DjjGkphN.js +360 -0
- package/dist/LexicalUtils.prod-DjjGkphN.js.map +1 -0
- package/dist/{LinkContextMenu-m_CGQEiX.js → LinkContextMenu-CTkNPiIW.js} +2 -2
- package/dist/{LinkContextMenu-m_CGQEiX.js.map → LinkContextMenu-CTkNPiIW.js.map} +1 -1
- package/dist/{ModalDialog-HUkDdAJ-.js → ModalDialog-N50NGnd4.js} +2 -2
- package/dist/{ModalDialog-HUkDdAJ-.js.map → ModalDialog-N50NGnd4.js.map} +1 -1
- package/dist/{PageOverlay-D_wG2oie.js → PageOverlay-S4xsqJha.js} +2 -2
- package/dist/{PageOverlay-D_wG2oie.js.map → PageOverlay-S4xsqJha.js.map} +1 -1
- package/dist/{PasteHandlerPlugin-DjD1wryY.js → PasteHandlerPlugin-YpQruA-w.js} +4 -4
- package/dist/{PasteHandlerPlugin-DjD1wryY.js.map → PasteHandlerPlugin-YpQruA-w.js.map} +1 -1
- package/dist/{RteEditor.module-Jk80F1FA.js → RteEditor.module-BJLUYSpf.js} +9 -10
- package/dist/{RteEditor.module-Jk80F1FA.js.map → RteEditor.module-BJLUYSpf.js.map} +1 -1
- package/dist/{Sortable.module-BTUOSbOU.js → Sortable.module-8SoaHfuE.js} +6 -7
- package/dist/{Sortable.module-BTUOSbOU.js.map → Sortable.module-8SoaHfuE.js.map} +1 -1
- package/dist/{SortableProvider-Dc7hwkb5.js → SortableProvider-8HYiBXJS.js} +2 -2
- package/dist/{SortableProvider-Dc7hwkb5.js.map → SortableProvider-8HYiBXJS.js.map} +1 -1
- package/dist/Spinner-BpElTDIu.js +30 -0
- package/dist/{Spinner-D8tWqg9j.js.map → Spinner-BpElTDIu.js.map} +1 -1
- package/dist/{TableCellResizerPlugin-CgYsYsuY.js → TableCellResizerPlugin-Ceof6StD.js} +17 -17
- package/dist/{TableCellResizerPlugin-CgYsYsuY.js.map → TableCellResizerPlugin-Ceof6StD.js.map} +1 -1
- package/dist/{TextArea-DqKIpOfT.js → TextArea-CuASC9bX.js} +16 -17
- package/dist/{TextArea-DqKIpOfT.js.map → TextArea-CuASC9bX.js.map} +1 -1
- package/dist/{Tooltip-BzB3jznk.js → Tooltip-D27p9kh4.js} +13 -14
- package/dist/{Tooltip-BzB3jznk.js.map → Tooltip-D27p9kh4.js.map} +1 -1
- package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js → chunk-SZQXB3JV-KiB8lSa9.js} +5 -5
- package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js.map → chunk-SZQXB3JV-KiB8lSa9.js.map} +1 -1
- package/dist/{client-UU-mS47K.js → client-CHQ7u_QI.js} +9 -9
- package/dist/{client-UU-mS47K.js.map → client-CHQ7u_QI.js.map} +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.stories.js +1 -1
- package/dist/components/Accordion/Accordion.test.js +4 -7
- package/dist/components/Accordion/Accordion.test.js.map +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +3 -6
- package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
- package/dist/components/ActionList/ActionList.test.js +3 -6
- package/dist/components/ActionList/ActionList.test.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -5
- package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
- package/dist/components/Attention/Attention.test.js +2 -5
- package/dist/components/Attention/Attention.test.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +2 -5
- package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.test.js +2 -5
- package/dist/components/Buttons/Button.test.js.map +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +2 -5
- package/dist/components/Buttons/LinkButton.test.js.map +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.test.js +2 -5
- package/dist/components/Buttons/MenuButton.test.js.map +1 -1
- package/dist/components/Card/Card.test.js +2 -5
- package/dist/components/Card/Card.test.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +3 -6
- package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +2 -2
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -6
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/index.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -2
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -4
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/CheckboxTree/index.js +1 -2
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.stories.js +2 -2
- package/dist/components/ControlsButton/index.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +2 -2
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -5
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
- package/dist/components/FieldHint/FieldHint.js +1 -1
- package/dist/components/FieldHint/FieldHint.stories.js +1 -1
- package/dist/components/FieldHint/index.js +1 -1
- package/dist/components/Fieldset/Fieldset.js +1 -1
- package/dist/components/Fieldset/Fieldset.stories.js +1 -1
- package/dist/components/Fieldset/index.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -2
- package/dist/components/FormInput/FormInput.stories.js +2 -3
- package/dist/components/FormInput/FormInput.stories.js.map +1 -1
- package/dist/components/FormInput/index.js +1 -2
- package/dist/components/IconButton/IconButton.stories.js +6 -7
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -3
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/Label/Label.test.js +2 -5
- package/dist/components/Label/Label.test.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -4
- package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
- package/dist/components/ModalDialog/ModalDialog.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +2 -2
- package/dist/components/ModalDialog/index.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -2
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -3
- package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -2
- package/dist/components/MultiSelect/index.js +1 -2
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -5
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/Notification/Notification.stories.js +1 -1
- package/dist/components/Notification/Notification.test.js +2 -5
- package/dist/components/Notification/Notification.test.js.map +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +6 -7
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/PageOverlay/PageOverlay.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
- package/dist/components/PageOverlay/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -2
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -3
- package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
- package/dist/components/PeriodSelector/index.js +1 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +0 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +2 -5
- package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -2
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -3
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
- package/dist/components/RadioTabSelector/index.js +1 -2
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -2
- package/dist/components/RteEditor/EditorHeader/index.js +1 -2
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +30 -30
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +6 -6
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +16 -16
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -2
- package/dist/components/RteEditor/Plugins/index.js +3 -3
- package/dist/components/RteEditor/RteEditor.js +1 -2
- package/dist/components/RteEditor/RteEditor.stories.js +1 -2
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
- package/dist/components/RteEditor/helpers.js +5 -5
- package/dist/components/RteEditor/index.js +1 -2
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +14 -14
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +19 -19
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +1 -1
- package/dist/components/Sortable/components/SortableHandle.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +2 -2
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.stories.js +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +2 -5
- package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +2 -2
- package/dist/components/TextArea/TextArea.test.js +4 -7
- package/dist/components/TextArea/TextArea.test.js.map +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +3 -6
- package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
- package/dist/components/index.js +12 -13
- package/dist/{components-MNvdQLv1.js → components-DAwjkky5.js} +436 -436
- package/dist/components-DAwjkky5.js.map +1 -0
- package/dist/{dist-2TKCXdYZ.js → dist-BIkFjHck.js} +181 -181
- package/dist/{dist-2TKCXdYZ.js.map → dist-BIkFjHck.js.map} +1 -1
- package/dist/{esm-UNe_gmRA.js → esm-ipAmzhQq.js} +4 -4
- package/dist/{esm-UNe_gmRA.js.map → esm-ipAmzhQq.js.map} +1 -1
- package/dist/{helpers-BBSxTGRl.js → helpers-MNJmfDe_.js} +7 -7
- package/dist/{helpers-BBSxTGRl.js.map → helpers-MNJmfDe_.js.map} +1 -1
- package/dist/index.js +12 -13
- package/dist/{react-18-CRbkdI-3.js → react-18-Dwpebadr.js} +2 -2
- package/dist/{react-18-CRbkdI-3.js.map → react-18-Dwpebadr.js.map} +1 -1
- package/dist/{react.esm-CzIhAqlo.js → react.esm-R7eBXTUI.js} +587 -587
- package/dist/{react.esm-CzIhAqlo.js.map → react.esm-R7eBXTUI.js.map} +1 -1
- package/dist/setupTests.js +1 -2
- package/dist/setupTests.js.map +1 -1
- package/dist/storybook__react.d.js +97 -97
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/{test-DQruvi8i.js → test-Cr_l59hN.js} +12 -10
- package/dist/{test-DQruvi8i.js.map → test-Cr_l59hN.js.map} +1 -1
- package/package.json +27 -27
- package/dist/Fieldset-CoNu_Owa.js +0 -23
- package/dist/Lexical.prod-DIglXatJ.js.map +0 -1
- package/dist/LexicalExtension.prod-COPHoPpX.js.map +0 -1
- package/dist/LexicalLink.prod-Bf9JUdMv.js.map +0 -1
- package/dist/LexicalTable.prod-D16GW-aZ.js.map +0 -1
- package/dist/LexicalUtils.prod-BBTLliac.js +0 -360
- package/dist/LexicalUtils.prod-BBTLliac.js.map +0 -1
- package/dist/Spinner-D8tWqg9j.js +0 -31
- package/dist/components-MNvdQLv1.js.map +0 -1
- /package/dist/assets/favicon/{android-chrome-192x192.png → src/assets/favicon/android-chrome-192x192.png} +0 -0
- /package/dist/assets/favicon/{android-chrome-512x512.png → src/assets/favicon/android-chrome-512x512.png} +0 -0
- /package/dist/assets/favicon/{apple-touch-icon.png → src/assets/favicon/apple-touch-icon.png} +0 -0
- /package/dist/assets/favicon/{favicon-16x16.png → src/assets/favicon/favicon-16x16.png} +0 -0
- /package/dist/assets/favicon/{favicon-32x32.png → src/assets/favicon/favicon-32x32.png} +0 -0
- /package/dist/assets/favicon/{favicon.ico → src/assets/favicon/favicon.ico} +0 -0
- /package/dist/assets/favicon/{favicon.svg → src/assets/favicon/favicon.svg} +0 -0
- /package/dist/assets/favicon/{site.webmanifest → src/assets/favicon/site.webmanifest} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff → src/assets/fonts/SourceSans3-Regular.otf.woff} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff2 → src/assets/fonts/SourceSans3-Regular.otf.woff2} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff → src/assets/fonts/SourceSans3-Semibold.otf.woff} +0 -0
- /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff2 → src/assets/fonts/SourceSans3-Semibold.otf.woff2} +0 -0
- /package/dist/assets/{fonts.css → src/css/fonts.css} +0 -0
- /package/dist/assets/{globals.css → src/css/globals.css} +0 -0
- /package/dist/assets/{variables.css → src/css/variables.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e, t } from "./chunk-DeC0fbbY.js";
|
|
2
2
|
import { t as n } from "./lib-6BbFZdI7.js";
|
|
3
3
|
import { t as r } from "./test-utils-BSs0eZfL.js";
|
|
4
|
-
import { t as i } from "./client-
|
|
4
|
+
import { t as i } from "./client-CHQ7u_QI.js";
|
|
5
5
|
import * as a from "react";
|
|
6
6
|
import o from "react-dom";
|
|
7
7
|
//#region node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
@@ -358,8 +358,8 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
var b = o, x = t, S = c,
|
|
362
|
-
e.ContextConsumer = s, e.ContextProvider = b, e.Element = x, e.ForwardRef = S, e.Fragment =
|
|
361
|
+
var b = o, x = t, S = c, C = r, w = f, ee = d, te = n, ne = a, re = i, ie = l;
|
|
362
|
+
e.ContextConsumer = s, e.ContextProvider = b, e.Element = x, e.ForwardRef = S, e.Fragment = C, e.Lazy = w, e.Memo = ee, e.Portal = te, e.Profiler = ne, e.StrictMode = re, e.Suspense = ie, e.isAsyncMode = function() {
|
|
363
363
|
return !1;
|
|
364
364
|
}, e.isConcurrentMode = function() {
|
|
365
365
|
return !1;
|
|
@@ -426,47 +426,47 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var S = s,
|
|
429
|
+
var S = s, C = o, w = t, ee = c, te = r, ne = f, re = d, ie = n, ae = a, T = i, E = l, oe = !1, D = !1;
|
|
430
430
|
function se(e) {
|
|
431
|
-
return
|
|
431
|
+
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
432
432
|
}
|
|
433
433
|
function ce(e) {
|
|
434
434
|
return D || (D = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function le(e) {
|
|
437
437
|
return x(e) === s;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function ue(e) {
|
|
440
440
|
return x(e) === o;
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function de(e) {
|
|
443
443
|
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function O(e) {
|
|
446
446
|
return x(e) === c;
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function k(e) {
|
|
449
449
|
return x(e) === r;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function fe(e) {
|
|
452
452
|
return x(e) === f;
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function A(e) {
|
|
455
455
|
return x(e) === d;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function pe(e) {
|
|
458
458
|
return x(e) === n;
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function me(e) {
|
|
461
461
|
return x(e) === a;
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function he(e) {
|
|
464
464
|
return x(e) === i;
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function ge(e) {
|
|
467
467
|
return x(e) === l;
|
|
468
468
|
}
|
|
469
|
-
e.ContextConsumer = S, e.ContextProvider =
|
|
469
|
+
e.ContextConsumer = S, e.ContextProvider = C, e.Element = w, e.ForwardRef = ee, e.Fragment = te, e.Lazy = ne, e.Memo = re, e.Portal = ie, e.Profiler = ae, e.StrictMode = T, e.Suspense = E, e.isAsyncMode = se, e.isConcurrentMode = ce, e.isContextConsumer = le, e.isContextProvider = ue, e.isElement = de, e.isForwardRef = O, e.isFragment = k, e.isLazy = fe, e.isMemo = A, e.isPortal = pe, e.isProfiler = me, e.isStrictMode = he, e.isSuspense = ge, e.isValidElementType = b, e.typeOf = x;
|
|
470
470
|
})();
|
|
471
471
|
})), y = /* @__PURE__ */ t(((e, t) => {
|
|
472
472
|
process.env.NODE_ENV === "production" ? t.exports = _() : t.exports = v();
|
|
@@ -539,30 +539,30 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
539
539
|
test: s
|
|
540
540
|
};
|
|
541
541
|
})), S = /* @__PURE__ */ t(((e) => {
|
|
542
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.DEFAULT_OPTIONS = void 0, e.format =
|
|
542
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.DEFAULT_OPTIONS = void 0, e.format = ye, e.plugins = void 0;
|
|
543
543
|
var t = _(s()), n = c(), r = _(l()), i = _(d()), a = _(f()), o = _(h()), u = _(g()), p = _(b()), m = _(x());
|
|
544
544
|
function _(e) {
|
|
545
545
|
return e && e.__esModule ? e : { default: e };
|
|
546
546
|
}
|
|
547
|
-
var v = Object.prototype.toString, y = Date.prototype.toISOString, S = Error.prototype.toString,
|
|
547
|
+
var v = Object.prototype.toString, y = Date.prototype.toISOString, S = Error.prototype.toString, C = RegExp.prototype.toString, w = (e) => typeof e.constructor == "function" && e.constructor.name || "Object", ee = (e) => typeof window < "u" && e === window, te = /^Symbol\((.*)\)(.*)$/, ne = /\n/gi, re = class extends Error {
|
|
548
548
|
constructor(e, t) {
|
|
549
549
|
super(e), this.stack = t, this.name = this.constructor.name;
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
|
-
function
|
|
552
|
+
function ie(e) {
|
|
553
553
|
return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Array]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function ae(e) {
|
|
556
556
|
return Object.is(e, -0) ? "-0" : String(e);
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function T(e) {
|
|
559
559
|
return String(`${e}n`);
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function E(e, t) {
|
|
562
562
|
return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]";
|
|
563
563
|
}
|
|
564
|
-
function
|
|
565
|
-
return String(e).replace(
|
|
564
|
+
function oe(e) {
|
|
565
|
+
return String(e).replace(te, "Symbol($1)");
|
|
566
566
|
}
|
|
567
567
|
function D(e) {
|
|
568
568
|
return "[" + S.call(e) + "]";
|
|
@@ -572,63 +572,63 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
572
572
|
if (e === void 0) return "undefined";
|
|
573
573
|
if (e === null) return "null";
|
|
574
574
|
let i = typeof e;
|
|
575
|
-
if (i === "number") return
|
|
576
|
-
if (i === "bigint") return
|
|
575
|
+
if (i === "number") return ae(e);
|
|
576
|
+
if (i === "bigint") return T(e);
|
|
577
577
|
if (i === "string") return r ? "\"" + e.replace(/"|\\/g, "\\$&") + "\"" : "\"" + e + "\"";
|
|
578
|
-
if (i === "function") return
|
|
579
|
-
if (i === "symbol") return
|
|
578
|
+
if (i === "function") return E(e, t);
|
|
579
|
+
if (i === "symbol") return oe(e);
|
|
580
580
|
let a = v.call(e);
|
|
581
|
-
return a === "[object WeakMap]" ? "WeakMap {}" : a === "[object WeakSet]" ? "WeakSet {}" : a === "[object Function]" || a === "[object GeneratorFunction]" ?
|
|
581
|
+
return a === "[object WeakMap]" ? "WeakMap {}" : a === "[object WeakSet]" ? "WeakSet {}" : a === "[object Function]" || a === "[object GeneratorFunction]" ? E(e, t) : a === "[object Symbol]" ? oe(e) : a === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : y.call(e) : a === "[object Error]" ? D(e) : a === "[object RegExp]" ? n ? C.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : C.call(e) : e instanceof Error ? D(e) : null;
|
|
582
582
|
}
|
|
583
583
|
function ce(e, t, r, i, a, o) {
|
|
584
584
|
if (a.indexOf(e) !== -1) return "[Circular]";
|
|
585
585
|
a = a.slice(), a.push(e);
|
|
586
586
|
let s = ++i > t.maxDepth, c = t.min;
|
|
587
|
-
if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !o) return
|
|
587
|
+
if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !o) return O(e.toJSON(), t, r, i, a, !0);
|
|
588
588
|
let l = v.call(e);
|
|
589
|
-
return l === "[object Arguments]" ? s ? "[Arguments]" : (c ? "" : "Arguments ") + "[" + (0, n.printListItems)(e, t, r, i, a,
|
|
589
|
+
return l === "[object Arguments]" ? s ? "[Arguments]" : (c ? "" : "Arguments ") + "[" + (0, n.printListItems)(e, t, r, i, a, O) + "]" : ie(l) ? s ? "[" + e.constructor.name + "]" : (c || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.name + " ") + "[" + (0, n.printListItems)(e, t, r, i, a, O) + "]" : l === "[object Map]" ? s ? "[Map]" : "Map {" + (0, n.printIteratorEntries)(e.entries(), t, r, i, a, O, " => ") + "}" : l === "[object Set]" ? s ? "[Set]" : "Set {" + (0, n.printIteratorValues)(e.values(), t, r, i, a, O) + "}" : s || ee(e) ? "[" + w(e) + "]" : (c || !t.printBasicPrototype && w(e) === "Object" ? "" : w(e) + " ") + "{" + (0, n.printObjectProperties)(e, t, r, i, a, O) + "}";
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function le(e) {
|
|
592
592
|
return e.serialize != null;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function ue(e, t, n, r, i, a) {
|
|
595
595
|
let o;
|
|
596
596
|
try {
|
|
597
|
-
o =
|
|
597
|
+
o = le(e) ? e.serialize(t, n, r, i, a, O) : e.print(t, (e) => O(e, n, r, i, a), (e) => {
|
|
598
598
|
let t = r + n.indent;
|
|
599
|
-
return t + e.replace(
|
|
599
|
+
return t + e.replace(ne, "\n" + t);
|
|
600
600
|
}, {
|
|
601
601
|
edgeSpacing: n.spacingOuter,
|
|
602
602
|
min: n.min,
|
|
603
603
|
spacing: n.spacingInner
|
|
604
604
|
}, n.colors);
|
|
605
605
|
} catch (e) {
|
|
606
|
-
throw new
|
|
606
|
+
throw new re(e.message, e.stack);
|
|
607
607
|
}
|
|
608
608
|
if (typeof o != "string") throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);
|
|
609
609
|
return o;
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function de(e, t) {
|
|
612
612
|
for (let n = 0; n < e.length; n++) try {
|
|
613
613
|
if (e[n].test(t)) return e[n];
|
|
614
614
|
} catch (e) {
|
|
615
|
-
throw new
|
|
615
|
+
throw new re(e.message, e.stack);
|
|
616
616
|
}
|
|
617
617
|
return null;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
let o =
|
|
621
|
-
if (o !== null) return
|
|
619
|
+
function O(e, t, n, r, i, a) {
|
|
620
|
+
let o = de(t.plugins, e);
|
|
621
|
+
if (o !== null) return ue(o, e, t, n, r, i);
|
|
622
622
|
let s = se(e, t.printFunctionName, t.escapeRegex, t.escapeString);
|
|
623
623
|
return s === null ? ce(e, t, n, r, i, a) : s;
|
|
624
624
|
}
|
|
625
|
-
var
|
|
625
|
+
var k = {
|
|
626
626
|
comment: "gray",
|
|
627
627
|
content: "reset",
|
|
628
628
|
prop: "yellow",
|
|
629
629
|
tag: "cyan",
|
|
630
630
|
value: "green"
|
|
631
|
-
},
|
|
631
|
+
}, fe = Object.keys(k), A = {
|
|
632
632
|
callToJSON: !0,
|
|
633
633
|
compareKeys: void 0,
|
|
634
634
|
escapeRegex: !1,
|
|
@@ -640,51 +640,51 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
640
640
|
plugins: [],
|
|
641
641
|
printBasicPrototype: !0,
|
|
642
642
|
printFunctionName: !0,
|
|
643
|
-
theme:
|
|
643
|
+
theme: k
|
|
644
644
|
};
|
|
645
|
-
e.DEFAULT_OPTIONS =
|
|
646
|
-
function
|
|
645
|
+
e.DEFAULT_OPTIONS = A;
|
|
646
|
+
function pe(e) {
|
|
647
647
|
if (Object.keys(e).forEach((e) => {
|
|
648
|
-
if (!
|
|
648
|
+
if (!A.hasOwnProperty(e)) throw Error(`pretty-format: Unknown option "${e}".`);
|
|
649
649
|
}), e.min && e.indent !== void 0 && e.indent !== 0) throw Error("pretty-format: Options \"min\" and \"indent\" cannot be used together.");
|
|
650
650
|
if (e.theme !== void 0) {
|
|
651
651
|
if (e.theme === null) throw Error("pretty-format: Option \"theme\" must not be null.");
|
|
652
652
|
if (typeof e.theme != "object") throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`);
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
var
|
|
656
|
-
let i = e.theme && e.theme[r] !== void 0 ? e.theme[r] :
|
|
655
|
+
var me = (e) => fe.reduce((n, r) => {
|
|
656
|
+
let i = e.theme && e.theme[r] !== void 0 ? e.theme[r] : k[r], a = i && t.default[i];
|
|
657
657
|
if (a && typeof a.close == "string" && typeof a.open == "string") n[r] = a;
|
|
658
658
|
else throw Error(`pretty-format: Option "theme" has a key "${r}" whose value "${i}" is undefined in ansi-styles.`);
|
|
659
659
|
return n;
|
|
660
|
-
}, Object.create(null)),
|
|
660
|
+
}, Object.create(null)), he = () => fe.reduce((e, t) => (e[t] = {
|
|
661
661
|
close: "",
|
|
662
662
|
open: ""
|
|
663
|
-
}, e), Object.create(null)),
|
|
664
|
-
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON :
|
|
665
|
-
colors: e && e.highlight ?
|
|
666
|
-
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys :
|
|
667
|
-
escapeRegex:
|
|
668
|
-
escapeString:
|
|
669
|
-
indent: e && e.min ? "" :
|
|
670
|
-
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth :
|
|
671
|
-
min: e && e.min !== void 0 ? e.min :
|
|
672
|
-
plugins: e && e.plugins !== void 0 ? e.plugins :
|
|
663
|
+
}, e), Object.create(null)), ge = (e) => e && e.printFunctionName !== void 0 ? e.printFunctionName : A.printFunctionName, j = (e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : A.escapeRegex, _e = (e) => e && e.escapeString !== void 0 ? e.escapeString : A.escapeString, M = (e) => ({
|
|
664
|
+
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : A.callToJSON,
|
|
665
|
+
colors: e && e.highlight ? me(e) : he(),
|
|
666
|
+
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : A.compareKeys,
|
|
667
|
+
escapeRegex: j(e),
|
|
668
|
+
escapeString: _e(e),
|
|
669
|
+
indent: e && e.min ? "" : ve(e && e.indent !== void 0 ? e.indent : A.indent),
|
|
670
|
+
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : A.maxDepth,
|
|
671
|
+
min: e && e.min !== void 0 ? e.min : A.min,
|
|
672
|
+
plugins: e && e.plugins !== void 0 ? e.plugins : A.plugins,
|
|
673
673
|
printBasicPrototype: e?.printBasicPrototype ?? !0,
|
|
674
|
-
printFunctionName:
|
|
674
|
+
printFunctionName: ge(e),
|
|
675
675
|
spacingInner: e && e.min ? " " : "\n",
|
|
676
676
|
spacingOuter: e && e.min ? "" : "\n"
|
|
677
677
|
});
|
|
678
|
-
function
|
|
678
|
+
function ve(e) {
|
|
679
679
|
return Array(e + 1).join(" ");
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
if (t && (
|
|
683
|
-
let n =
|
|
684
|
-
if (n !== null) return
|
|
681
|
+
function ye(e, t) {
|
|
682
|
+
if (t && (pe(t), t.plugins)) {
|
|
683
|
+
let n = de(t.plugins, e);
|
|
684
|
+
if (n !== null) return ue(n, e, M(t), "", 0, []);
|
|
685
685
|
}
|
|
686
|
-
let n = se(e,
|
|
687
|
-
return n === null ? ce(e,
|
|
686
|
+
let n = se(e, ge(t), j(t), _e(t));
|
|
687
|
+
return n === null ? ce(e, M(t), "", 0, []) : n;
|
|
688
688
|
}
|
|
689
689
|
e.plugins = {
|
|
690
690
|
AsymmetricMatcher: r.default,
|
|
@@ -694,77 +694,77 @@ var s = /* @__PURE__ */ t(((e, t) => {
|
|
|
694
694
|
Immutable: u.default,
|
|
695
695
|
ReactElement: p.default,
|
|
696
696
|
ReactTestComponent: m.default
|
|
697
|
-
}, e.default =
|
|
698
|
-
})), ee = Object.prototype.toString;
|
|
699
|
-
function
|
|
700
|
-
return typeof e == "function" ||
|
|
697
|
+
}, e.default = ye;
|
|
698
|
+
})), C = /* @__PURE__ */ e(r()), w = /* @__PURE__ */ e(i()), ee = /* @__PURE__ */ e(S()), te = Object.prototype.toString;
|
|
699
|
+
function ne(e) {
|
|
700
|
+
return typeof e == "function" || te.call(e) === "[object Function]";
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function re(e) {
|
|
703
703
|
var t = Number(e);
|
|
704
704
|
return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
|
|
705
705
|
}
|
|
706
|
-
var
|
|
707
|
-
function
|
|
708
|
-
var t =
|
|
709
|
-
return Math.min(Math.max(t, 0),
|
|
706
|
+
var ie = 2 ** 53 - 1;
|
|
707
|
+
function ae(e) {
|
|
708
|
+
var t = re(e);
|
|
709
|
+
return Math.min(Math.max(t, 0), ie);
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function T(e, t) {
|
|
712
712
|
var n = Array, r = Object(e);
|
|
713
713
|
if (e == null) throw TypeError("Array.from requires an array-like object - not null or undefined");
|
|
714
|
-
if (t !== void 0 && !
|
|
715
|
-
for (var i =
|
|
714
|
+
if (t !== void 0 && !ne(t)) throw TypeError("Array.from: when provided, the second argument must be a function");
|
|
715
|
+
for (var i = ae(r.length), a = ne(n) ? Object(new n(i)) : Array(i), o = 0, s; o < i;) s = r[o], t ? a[o] = t(s, o) : a[o] = s, o += 1;
|
|
716
716
|
return a.length = i, a;
|
|
717
717
|
}
|
|
718
718
|
//#endregion
|
|
719
719
|
//#region node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
|
|
720
|
-
function
|
|
720
|
+
function E(e) {
|
|
721
721
|
"@babel/helpers - typeof";
|
|
722
|
-
return
|
|
722
|
+
return E = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
723
723
|
return typeof e;
|
|
724
724
|
} : function(e) {
|
|
725
725
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
726
|
-
},
|
|
726
|
+
}, E(e);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function oe(e, t) {
|
|
729
729
|
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function D(e, t) {
|
|
732
732
|
for (var n = 0; n < t.length; n++) {
|
|
733
733
|
var r = t[n];
|
|
734
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
734
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, le(r.key), r);
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
|
-
function
|
|
738
|
-
return t &&
|
|
737
|
+
function se(e, t, n) {
|
|
738
|
+
return t && D(e.prototype, t), n && D(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
741
|
-
return t =
|
|
740
|
+
function ce(e, t, n) {
|
|
741
|
+
return t = le(t), t in e ? Object.defineProperty(e, t, {
|
|
742
742
|
value: n,
|
|
743
743
|
enumerable: !0,
|
|
744
744
|
configurable: !0,
|
|
745
745
|
writable: !0
|
|
746
746
|
}) : e[t] = n, e;
|
|
747
747
|
}
|
|
748
|
-
function
|
|
749
|
-
var t =
|
|
750
|
-
return
|
|
748
|
+
function le(e) {
|
|
749
|
+
var t = ue(e, "string");
|
|
750
|
+
return E(t) === "symbol" ? t : String(t);
|
|
751
751
|
}
|
|
752
|
-
function
|
|
753
|
-
if (
|
|
752
|
+
function ue(e, t) {
|
|
753
|
+
if (E(e) !== "object" || e === null) return e;
|
|
754
754
|
var n = e[Symbol.toPrimitive];
|
|
755
755
|
if (n !== void 0) {
|
|
756
756
|
var r = n.call(e, t || "default");
|
|
757
|
-
if (
|
|
757
|
+
if (E(r) !== "object") return r;
|
|
758
758
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
759
759
|
}
|
|
760
760
|
return (t === "string" ? String : Number)(e);
|
|
761
761
|
}
|
|
762
|
-
var
|
|
762
|
+
var de = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
763
763
|
function e() {
|
|
764
764
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
765
|
-
|
|
765
|
+
oe(this, e), ce(this, "items", void 0), this.items = t;
|
|
766
766
|
}
|
|
767
|
-
return
|
|
767
|
+
return se(e, [
|
|
768
768
|
{
|
|
769
769
|
key: "add",
|
|
770
770
|
value: function(e) {
|
|
@@ -814,7 +814,7 @@ var ce = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
|
814
814
|
function O(e) {
|
|
815
815
|
return e.localName ?? e.tagName.toLowerCase();
|
|
816
816
|
}
|
|
817
|
-
var
|
|
817
|
+
var k = {
|
|
818
818
|
article: "article",
|
|
819
819
|
aside: "complementary",
|
|
820
820
|
button: "button",
|
|
@@ -858,7 +858,7 @@ var le = {
|
|
|
858
858
|
thead: "rowgroup",
|
|
859
859
|
tr: "row",
|
|
860
860
|
ul: "list"
|
|
861
|
-
},
|
|
861
|
+
}, fe = {
|
|
862
862
|
caption: new Set(["aria-label", "aria-labelledby"]),
|
|
863
863
|
code: new Set(["aria-label", "aria-labelledby"]),
|
|
864
864
|
deletion: new Set(["aria-label", "aria-labelledby"]),
|
|
@@ -875,7 +875,7 @@ var le = {
|
|
|
875
875
|
subscript: new Set(["aria-label", "aria-labelledby"]),
|
|
876
876
|
superscript: new Set(["aria-label", "aria-labelledby"])
|
|
877
877
|
};
|
|
878
|
-
function
|
|
878
|
+
function A(e, t) {
|
|
879
879
|
return [
|
|
880
880
|
"aria-atomic",
|
|
881
881
|
"aria-busy",
|
|
@@ -896,22 +896,22 @@ function k(e, t) {
|
|
|
896
896
|
"aria-roledescription"
|
|
897
897
|
].some(function(n) {
|
|
898
898
|
var r;
|
|
899
|
-
return e.hasAttribute(n) && !((r =
|
|
899
|
+
return e.hasAttribute(n) && !((r = fe[t]) != null && r.has(n));
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
903
|
-
return
|
|
902
|
+
function pe(e, t) {
|
|
903
|
+
return A(e, t);
|
|
904
904
|
}
|
|
905
|
-
function
|
|
906
|
-
var t =
|
|
905
|
+
function me(e) {
|
|
906
|
+
var t = ge(e);
|
|
907
907
|
if (t === null || t === "presentation") {
|
|
908
|
-
var n =
|
|
909
|
-
if (t !== "presentation" ||
|
|
908
|
+
var n = he(e);
|
|
909
|
+
if (t !== "presentation" || pe(e, n || "")) return n;
|
|
910
910
|
}
|
|
911
911
|
return t;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
914
|
-
var t =
|
|
913
|
+
function he(e) {
|
|
914
|
+
var t = k[O(e)];
|
|
915
915
|
if (t !== void 0) return t;
|
|
916
916
|
switch (O(e)) {
|
|
917
917
|
case "a":
|
|
@@ -919,7 +919,7 @@ function j(e) {
|
|
|
919
919
|
case "link":
|
|
920
920
|
if (e.hasAttribute("href")) return "link";
|
|
921
921
|
break;
|
|
922
|
-
case "img": return e.getAttribute("alt") === "" && !
|
|
922
|
+
case "img": return e.getAttribute("alt") === "" && !pe(e, "img") ? "presentation" : "img";
|
|
923
923
|
case "input":
|
|
924
924
|
var n = e.type;
|
|
925
925
|
switch (n) {
|
|
@@ -942,7 +942,7 @@ function j(e) {
|
|
|
942
942
|
}
|
|
943
943
|
return null;
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function ge(e) {
|
|
946
946
|
var t = e.getAttribute("role");
|
|
947
947
|
if (t !== null) {
|
|
948
948
|
var n = t.trim().split(" ")[0];
|
|
@@ -952,52 +952,52 @@ function fe(e) {
|
|
|
952
952
|
}
|
|
953
953
|
//#endregion
|
|
954
954
|
//#region node_modules/dom-accessibility-api/dist/util.mjs
|
|
955
|
-
function
|
|
955
|
+
function j(e) {
|
|
956
956
|
return e !== null && e.nodeType === e.ELEMENT_NODE;
|
|
957
957
|
}
|
|
958
|
-
function pe(e) {
|
|
959
|
-
return M(e) && O(e) === "caption";
|
|
960
|
-
}
|
|
961
|
-
function N(e) {
|
|
962
|
-
return M(e) && O(e) === "input";
|
|
963
|
-
}
|
|
964
|
-
function me(e) {
|
|
965
|
-
return M(e) && O(e) === "optgroup";
|
|
966
|
-
}
|
|
967
|
-
function he(e) {
|
|
968
|
-
return M(e) && O(e) === "select";
|
|
969
|
-
}
|
|
970
|
-
function ge(e) {
|
|
971
|
-
return M(e) && O(e) === "table";
|
|
972
|
-
}
|
|
973
958
|
function _e(e) {
|
|
974
|
-
return
|
|
959
|
+
return j(e) && O(e) === "caption";
|
|
960
|
+
}
|
|
961
|
+
function M(e) {
|
|
962
|
+
return j(e) && O(e) === "input";
|
|
975
963
|
}
|
|
976
964
|
function ve(e) {
|
|
977
|
-
|
|
978
|
-
if (t === null) throw TypeError("no window available");
|
|
979
|
-
return t;
|
|
965
|
+
return j(e) && O(e) === "optgroup";
|
|
980
966
|
}
|
|
981
967
|
function ye(e) {
|
|
982
|
-
return
|
|
968
|
+
return j(e) && O(e) === "select";
|
|
983
969
|
}
|
|
984
970
|
function be(e) {
|
|
985
|
-
return
|
|
971
|
+
return j(e) && O(e) === "table";
|
|
986
972
|
}
|
|
987
973
|
function xe(e) {
|
|
988
|
-
return
|
|
974
|
+
return j(e) && O(e) === "textarea";
|
|
989
975
|
}
|
|
990
976
|
function Se(e) {
|
|
991
|
-
|
|
977
|
+
var t = (e.ownerDocument === null ? e : e.ownerDocument).defaultView;
|
|
978
|
+
if (t === null) throw TypeError("no window available");
|
|
979
|
+
return t;
|
|
992
980
|
}
|
|
993
981
|
function Ce(e) {
|
|
994
|
-
return
|
|
982
|
+
return j(e) && O(e) === "fieldset";
|
|
995
983
|
}
|
|
996
984
|
function we(e) {
|
|
997
|
-
return
|
|
985
|
+
return j(e) && O(e) === "legend";
|
|
986
|
+
}
|
|
987
|
+
function Te(e) {
|
|
988
|
+
return j(e) && O(e) === "slot";
|
|
989
|
+
}
|
|
990
|
+
function Ee(e) {
|
|
991
|
+
return j(e) && e.ownerSVGElement !== void 0;
|
|
992
|
+
}
|
|
993
|
+
function De(e) {
|
|
994
|
+
return j(e) && O(e) === "svg";
|
|
998
995
|
}
|
|
999
|
-
function
|
|
1000
|
-
|
|
996
|
+
function Oe(e) {
|
|
997
|
+
return Ee(e) && O(e) === "title";
|
|
998
|
+
}
|
|
999
|
+
function ke(e, t) {
|
|
1000
|
+
if (j(e) && e.hasAttribute(t)) {
|
|
1001
1001
|
var n = e.getAttribute(t).split(" "), r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
1002
1002
|
return n.map(function(e) {
|
|
1003
1003
|
return r.getElementById(e);
|
|
@@ -1007,32 +1007,32 @@ function Te(e, t) {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
return [];
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return
|
|
1010
|
+
function N(e, t) {
|
|
1011
|
+
return j(e) ? t.indexOf(me(e)) !== -1 : !1;
|
|
1012
1012
|
}
|
|
1013
1013
|
//#endregion
|
|
1014
1014
|
//#region node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
1015
|
-
function
|
|
1015
|
+
function Ae(e) {
|
|
1016
1016
|
return e.trim().replace(/\s\s+/g, " ");
|
|
1017
1017
|
}
|
|
1018
|
-
function
|
|
1019
|
-
if (!
|
|
1018
|
+
function je(e, t) {
|
|
1019
|
+
if (!j(e)) return !1;
|
|
1020
1020
|
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0;
|
|
1021
1021
|
var n = t(e);
|
|
1022
1022
|
return n.getPropertyValue("display") === "none" || n.getPropertyValue("visibility") === "hidden";
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1025
|
-
return
|
|
1024
|
+
function Me(e) {
|
|
1025
|
+
return N(e, [
|
|
1026
1026
|
"button",
|
|
1027
1027
|
"combobox",
|
|
1028
1028
|
"listbox",
|
|
1029
1029
|
"textbox"
|
|
1030
|
-
]) ||
|
|
1030
|
+
]) || Ne(e, "range");
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1033
|
-
if (!
|
|
1032
|
+
function Ne(e, t) {
|
|
1033
|
+
if (!j(e)) return !1;
|
|
1034
1034
|
switch (t) {
|
|
1035
|
-
case "range": return
|
|
1035
|
+
case "range": return N(e, [
|
|
1036
1036
|
"meter",
|
|
1037
1037
|
"progressbar",
|
|
1038
1038
|
"scrollbar",
|
|
@@ -1042,23 +1042,23 @@ function ke(e, t) {
|
|
|
1042
1042
|
default: throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`);
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1046
|
-
var n =
|
|
1047
|
-
return
|
|
1048
|
-
n.push.apply(n,
|
|
1045
|
+
function Pe(e, t) {
|
|
1046
|
+
var n = T(e.querySelectorAll(t));
|
|
1047
|
+
return ke(e, "aria-owns").forEach(function(e) {
|
|
1048
|
+
n.push.apply(n, T(e.querySelectorAll(t)));
|
|
1049
1049
|
}), n;
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1052
|
-
return
|
|
1051
|
+
function Fe(e) {
|
|
1052
|
+
return ye(e) ? e.selectedOptions || Pe(e, "[selected]") : Pe(e, "[aria-selected=\"true\"]");
|
|
1053
1053
|
}
|
|
1054
|
-
function
|
|
1055
|
-
return
|
|
1054
|
+
function Ie(e) {
|
|
1055
|
+
return N(e, ["none", "presentation"]);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1058
|
-
return
|
|
1057
|
+
function Le(e) {
|
|
1058
|
+
return _e(e);
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return
|
|
1060
|
+
function Re(e) {
|
|
1061
|
+
return N(e, [
|
|
1062
1062
|
"button",
|
|
1063
1063
|
"cell",
|
|
1064
1064
|
"checkbox",
|
|
@@ -1081,62 +1081,62 @@ function Pe(e) {
|
|
|
1081
1081
|
"treeitem"
|
|
1082
1082
|
]);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function ze(e) {
|
|
1085
1085
|
return !1;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return
|
|
1087
|
+
function Be(e) {
|
|
1088
|
+
return M(e) || xe(e) ? e.value : e.textContent || "";
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function Ve(e) {
|
|
1091
1091
|
var t = e.getPropertyValue("content");
|
|
1092
1092
|
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function He(e) {
|
|
1095
1095
|
var t = O(e);
|
|
1096
1096
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea";
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1099
|
-
if (
|
|
1098
|
+
function Ue(e) {
|
|
1099
|
+
if (He(e)) return e;
|
|
1100
1100
|
var t = null;
|
|
1101
1101
|
return e.childNodes.forEach(function(e) {
|
|
1102
|
-
if (t === null &&
|
|
1103
|
-
var n =
|
|
1102
|
+
if (t === null && j(e)) {
|
|
1103
|
+
var n = Ue(e);
|
|
1104
1104
|
n !== null && (t = n);
|
|
1105
1105
|
}
|
|
1106
1106
|
}), t;
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function We(e) {
|
|
1109
1109
|
if (e.control !== void 0) return e.control;
|
|
1110
1110
|
var t = e.getAttribute("for");
|
|
1111
|
-
return t === null ?
|
|
1111
|
+
return t === null ? Ue(e) : e.ownerDocument.getElementById(t);
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Ge(e) {
|
|
1114
1114
|
var t = e.labels;
|
|
1115
1115
|
if (t === null) return t;
|
|
1116
|
-
if (t !== void 0) return
|
|
1117
|
-
if (!
|
|
1116
|
+
if (t !== void 0) return T(t);
|
|
1117
|
+
if (!He(e)) return null;
|
|
1118
1118
|
var n = e.ownerDocument;
|
|
1119
|
-
return
|
|
1120
|
-
return
|
|
1119
|
+
return T(n.querySelectorAll("label")).filter(function(t) {
|
|
1120
|
+
return We(t) === e;
|
|
1121
1121
|
});
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Ke(e) {
|
|
1124
1124
|
var t = e.assignedNodes();
|
|
1125
|
-
return t.length === 0 ?
|
|
1125
|
+
return t.length === 0 ? T(e.childNodes) : t;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1128
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new
|
|
1127
|
+
function qe(e) {
|
|
1128
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new de(), r = Se(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u === void 0 ? !1 : u;
|
|
1129
1129
|
function f(e, t) {
|
|
1130
1130
|
var n = "";
|
|
1131
|
-
if (
|
|
1131
|
+
if (j(e) && s && (n = `${Ve(l(e, "::before"))} ${n}`), (Te(e) ? Ke(e) : T(e.childNodes).concat(ke(e, "aria-owns"))).forEach(function(e) {
|
|
1132
1132
|
var r = g(e, {
|
|
1133
1133
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1134
1134
|
isReferenced: !1,
|
|
1135
1135
|
recursion: !0
|
|
1136
|
-
}), i = (
|
|
1136
|
+
}), i = (j(e) ? l(e).getPropertyValue("display") : "inline") === "inline" ? "" : " ";
|
|
1137
1137
|
n += `${i}${r}${i}`;
|
|
1138
|
-
}),
|
|
1139
|
-
var r =
|
|
1138
|
+
}), j(e) && s) {
|
|
1139
|
+
var r = Ve(l(e, "::after"));
|
|
1140
1140
|
n = `${n} ${r}`;
|
|
1141
1141
|
}
|
|
1142
1142
|
return n.trim();
|
|
@@ -1146,52 +1146,52 @@ function Ue(e) {
|
|
|
1146
1146
|
return r !== null && !n.has(r) && r.value.trim() !== "" ? (n.add(r), r.value) : null;
|
|
1147
1147
|
}
|
|
1148
1148
|
function m(e) {
|
|
1149
|
-
return
|
|
1149
|
+
return j(e) ? p(e, "title") : null;
|
|
1150
1150
|
}
|
|
1151
1151
|
function h(e) {
|
|
1152
|
-
if (!
|
|
1153
|
-
if (
|
|
1152
|
+
if (!j(e)) return null;
|
|
1153
|
+
if (Ce(e)) {
|
|
1154
1154
|
n.add(e);
|
|
1155
|
-
for (var t =
|
|
1155
|
+
for (var t = T(e.childNodes), r = 0; r < t.length; r += 1) {
|
|
1156
1156
|
var i = t[r];
|
|
1157
|
-
if (
|
|
1157
|
+
if (we(i)) return g(i, {
|
|
1158
1158
|
isEmbeddedInLabel: !1,
|
|
1159
1159
|
isReferenced: !1,
|
|
1160
1160
|
recursion: !1
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
|
-
} else if (
|
|
1163
|
+
} else if (be(e)) {
|
|
1164
1164
|
n.add(e);
|
|
1165
|
-
for (var a =
|
|
1165
|
+
for (var a = T(e.childNodes), o = 0; o < a.length; o += 1) {
|
|
1166
1166
|
var s = a[o];
|
|
1167
|
-
if (
|
|
1167
|
+
if (_e(s)) return g(s, {
|
|
1168
1168
|
isEmbeddedInLabel: !1,
|
|
1169
1169
|
isReferenced: !1,
|
|
1170
1170
|
recursion: !1
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
|
-
} else if (
|
|
1173
|
+
} else if (De(e)) {
|
|
1174
1174
|
n.add(e);
|
|
1175
|
-
for (var c =
|
|
1175
|
+
for (var c = T(e.childNodes), l = 0; l < c.length; l += 1) {
|
|
1176
1176
|
var u = c[l];
|
|
1177
|
-
if (
|
|
1177
|
+
if (Oe(u)) return u.textContent;
|
|
1178
1178
|
}
|
|
1179
1179
|
return null;
|
|
1180
1180
|
} else if (O(e) === "img" || O(e) === "area") {
|
|
1181
1181
|
var d = p(e, "alt");
|
|
1182
1182
|
if (d !== null) return d;
|
|
1183
|
-
} else if (
|
|
1183
|
+
} else if (ve(e)) {
|
|
1184
1184
|
var m = p(e, "label");
|
|
1185
1185
|
if (m !== null) return m;
|
|
1186
1186
|
}
|
|
1187
|
-
if (
|
|
1187
|
+
if (M(e) && (e.type === "button" || e.type === "submit" || e.type === "reset")) {
|
|
1188
1188
|
var h = p(e, "value");
|
|
1189
1189
|
if (h !== null) return h;
|
|
1190
1190
|
if (e.type === "submit") return "Submit";
|
|
1191
1191
|
if (e.type === "reset") return "Reset";
|
|
1192
1192
|
}
|
|
1193
|
-
var _ =
|
|
1194
|
-
if (_ !== null && _.length !== 0) return n.add(e),
|
|
1193
|
+
var _ = Ge(e);
|
|
1194
|
+
if (_ !== null && _.length !== 0) return n.add(e), T(_).map(function(e) {
|
|
1195
1195
|
return g(e, {
|
|
1196
1196
|
isEmbeddedInLabel: !0,
|
|
1197
1197
|
isReferenced: !1,
|
|
@@ -1200,13 +1200,13 @@ function Ue(e) {
|
|
|
1200
1200
|
}).filter(function(e) {
|
|
1201
1201
|
return e.length > 0;
|
|
1202
1202
|
}).join(" ");
|
|
1203
|
-
if (
|
|
1203
|
+
if (M(e) && e.type === "image") {
|
|
1204
1204
|
var v = p(e, "alt");
|
|
1205
1205
|
if (v !== null) return v;
|
|
1206
1206
|
var y = p(e, "title");
|
|
1207
1207
|
return y === null ? "Submit Query" : y;
|
|
1208
1208
|
}
|
|
1209
|
-
if (
|
|
1209
|
+
if (N(e, ["button"])) {
|
|
1210
1210
|
var b = f(e, {
|
|
1211
1211
|
isEmbeddedInLabel: !1,
|
|
1212
1212
|
isReferenced: !1
|
|
@@ -1217,8 +1217,8 @@ function Ue(e) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
function g(e, t) {
|
|
1219
1219
|
if (n.has(e)) return "";
|
|
1220
|
-
if (!d &&
|
|
1221
|
-
var r =
|
|
1220
|
+
if (!d && je(e, l) && !t.isReferenced) return n.add(e), "";
|
|
1221
|
+
var r = j(e) ? e.getAttributeNode("aria-labelledby") : null, i = r !== null && !n.has(r) ? ke(e, "aria-labelledby") : [];
|
|
1222
1222
|
if (a === "name" && !t.isReferenced && i.length > 0) return n.add(r), i.map(function(e) {
|
|
1223
1223
|
return g(e, {
|
|
1224
1224
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
@@ -1226,21 +1226,21 @@ function Ue(e) {
|
|
|
1226
1226
|
recursion: !1
|
|
1227
1227
|
});
|
|
1228
1228
|
}).join(" ");
|
|
1229
|
-
var o = t.recursion &&
|
|
1229
|
+
var o = t.recursion && Me(e) && a === "name";
|
|
1230
1230
|
if (!o) {
|
|
1231
|
-
var s = (
|
|
1231
|
+
var s = (j(e) && e.getAttribute("aria-label") || "").trim();
|
|
1232
1232
|
if (s !== "" && a === "name") return n.add(e), s;
|
|
1233
|
-
if (!
|
|
1233
|
+
if (!Ie(e)) {
|
|
1234
1234
|
var c = h(e);
|
|
1235
1235
|
if (c !== null) return n.add(e), c;
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
if (
|
|
1238
|
+
if (N(e, ["menu"])) return n.add(e), "";
|
|
1239
1239
|
if (o || t.isEmbeddedInLabel || t.isReferenced) {
|
|
1240
|
-
if (
|
|
1240
|
+
if (N(e, ["combobox", "listbox"])) {
|
|
1241
1241
|
n.add(e);
|
|
1242
|
-
var u =
|
|
1243
|
-
return u.length === 0 ?
|
|
1242
|
+
var u = Fe(e);
|
|
1243
|
+
return u.length === 0 ? M(e) ? e.value : "" : T(u).map(function(e) {
|
|
1244
1244
|
return g(e, {
|
|
1245
1245
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1246
1246
|
isReferenced: !1,
|
|
@@ -1248,10 +1248,10 @@ function Ue(e) {
|
|
|
1248
1248
|
});
|
|
1249
1249
|
}).join(" ");
|
|
1250
1250
|
}
|
|
1251
|
-
if (
|
|
1252
|
-
if (
|
|
1251
|
+
if (Ne(e, "range")) return n.add(e), e.hasAttribute("aria-valuetext") ? e.getAttribute("aria-valuetext") : e.hasAttribute("aria-valuenow") ? e.getAttribute("aria-valuenow") : e.getAttribute("value") || "";
|
|
1252
|
+
if (N(e, ["textbox"])) return n.add(e), Be(e);
|
|
1253
1253
|
}
|
|
1254
|
-
if (
|
|
1254
|
+
if (Re(e) || j(e) && t.isReferenced || Le(e) || ze(e)) {
|
|
1255
1255
|
var p = f(e, {
|
|
1256
1256
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1257
1257
|
isReferenced: !1
|
|
@@ -1266,7 +1266,7 @@ function Ue(e) {
|
|
|
1266
1266
|
var _ = m(e);
|
|
1267
1267
|
return _ === null ? (n.add(e), "") : (n.add(e), _);
|
|
1268
1268
|
}
|
|
1269
|
-
return
|
|
1269
|
+
return Ae(g(e, {
|
|
1270
1270
|
isEmbeddedInLabel: !1,
|
|
1271
1271
|
isReferenced: a === "description",
|
|
1272
1272
|
recursion: !1
|
|
@@ -1274,15 +1274,15 @@ function Ue(e) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
//#endregion
|
|
1276
1276
|
//#region node_modules/dom-accessibility-api/dist/accessible-description.mjs
|
|
1277
|
-
function
|
|
1277
|
+
function Je(e) {
|
|
1278
1278
|
"@babel/helpers - typeof";
|
|
1279
|
-
return
|
|
1279
|
+
return Je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1280
1280
|
return typeof e;
|
|
1281
1281
|
} : function(e) {
|
|
1282
1282
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1283
|
-
},
|
|
1283
|
+
}, Je(e);
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Ye(e, t) {
|
|
1286
1286
|
var n = Object.keys(e);
|
|
1287
1287
|
if (Object.getOwnPropertySymbols) {
|
|
1288
1288
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1292,42 +1292,42 @@ function We(e, t) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
return n;
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1295
|
+
function Xe(e) {
|
|
1296
1296
|
for (var t = 1; t < arguments.length; t++) {
|
|
1297
1297
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
1298
|
-
t % 2 ?
|
|
1299
|
-
|
|
1300
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1298
|
+
t % 2 ? Ye(Object(n), !0).forEach(function(t) {
|
|
1299
|
+
Ze(e, t, n[t]);
|
|
1300
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ye(Object(n)).forEach(function(t) {
|
|
1301
1301
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
1304
|
return e;
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return t =
|
|
1306
|
+
function Ze(e, t, n) {
|
|
1307
|
+
return t = Qe(t), t in e ? Object.defineProperty(e, t, {
|
|
1308
1308
|
value: n,
|
|
1309
1309
|
enumerable: !0,
|
|
1310
1310
|
configurable: !0,
|
|
1311
1311
|
writable: !0
|
|
1312
1312
|
}) : e[t] = n, e;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1315
|
-
var t =
|
|
1316
|
-
return
|
|
1314
|
+
function Qe(e) {
|
|
1315
|
+
var t = $e(e, "string");
|
|
1316
|
+
return Je(t) === "symbol" ? t : String(t);
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1319
|
-
if (
|
|
1318
|
+
function $e(e, t) {
|
|
1319
|
+
if (Je(e) !== "object" || e === null) return e;
|
|
1320
1320
|
var n = e[Symbol.toPrimitive];
|
|
1321
1321
|
if (n !== void 0) {
|
|
1322
1322
|
var r = n.call(e, t || "default");
|
|
1323
|
-
if (
|
|
1323
|
+
if (Je(r) !== "object") return r;
|
|
1324
1324
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1325
1325
|
}
|
|
1326
1326
|
return (t === "string" ? String : Number)(e);
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
|
1330
|
-
return
|
|
1328
|
+
function et(e) {
|
|
1329
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ke(e, "aria-describedby").map(function(e) {
|
|
1330
|
+
return qe(e, Xe(Xe({}, t), {}, { compute: "description" }));
|
|
1331
1331
|
}).join(" ");
|
|
1332
1332
|
if (n === "") {
|
|
1333
1333
|
var r = e.getAttribute("title");
|
|
@@ -1337,8 +1337,8 @@ function Ye(e) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
//#endregion
|
|
1339
1339
|
//#region node_modules/dom-accessibility-api/dist/accessible-name.mjs
|
|
1340
|
-
function
|
|
1341
|
-
return
|
|
1340
|
+
function tt(e) {
|
|
1341
|
+
return N(e, [
|
|
1342
1342
|
"caption",
|
|
1343
1343
|
"code",
|
|
1344
1344
|
"deletion",
|
|
@@ -1352,13 +1352,13 @@ function Xe(e) {
|
|
|
1352
1352
|
"superscript"
|
|
1353
1353
|
]);
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1355
|
+
function nt(e) {
|
|
1356
1356
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1357
|
-
return
|
|
1357
|
+
return tt(e) ? "" : qe(e, t);
|
|
1358
1358
|
}
|
|
1359
1359
|
//#endregion
|
|
1360
1360
|
//#region node_modules/lz-string/libs/lz-string.js
|
|
1361
|
-
var
|
|
1361
|
+
var rt = /* @__PURE__ */ t(((e, t) => {
|
|
1362
1362
|
var n = (function() {
|
|
1363
1363
|
var e = String.fromCharCode, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", r = {};
|
|
1364
1364
|
function i(e, t) {
|
|
@@ -1476,28 +1476,28 @@ var Qe = /* @__PURE__ */ t(((e, t) => {
|
|
|
1476
1476
|
index: 1
|
|
1477
1477
|
};
|
|
1478
1478
|
for (u = 0; u < 3; u += 1) i[u] = u;
|
|
1479
|
-
for (f = 0, m = 2 ** 2, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1479
|
+
for (f = 0, m = 2 ** 2, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1480
1480
|
switch (f) {
|
|
1481
1481
|
case 0:
|
|
1482
|
-
for (f = 0, m = 2 ** 8, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1482
|
+
for (f = 0, m = 2 ** 8, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1483
1483
|
g = e(f);
|
|
1484
1484
|
break;
|
|
1485
1485
|
case 1:
|
|
1486
|
-
for (f = 0, m = 2 ** 16, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1486
|
+
for (f = 0, m = 2 ** 16, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1487
1487
|
g = e(f);
|
|
1488
1488
|
break;
|
|
1489
1489
|
case 2: return "";
|
|
1490
1490
|
}
|
|
1491
1491
|
for (i[3] = g, d = g, l.push(g);;) {
|
|
1492
1492
|
if (_.index > t) return "";
|
|
1493
|
-
for (f = 0, m = 2 ** s, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1493
|
+
for (f = 0, m = 2 ** s, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1494
1494
|
switch (g = f) {
|
|
1495
1495
|
case 0:
|
|
1496
|
-
for (f = 0, m = 2 ** 8, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1496
|
+
for (f = 0, m = 2 ** 8, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1497
1497
|
i[o++] = e(f), g = o - 1, a--;
|
|
1498
1498
|
break;
|
|
1499
1499
|
case 1:
|
|
1500
|
-
for (f = 0, m = 2 ** 16, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= (p > 0
|
|
1500
|
+
for (f = 0, m = 2 ** 16, h = 1; h != m;) p = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = n, _.val = r(_.index++)), f |= +(p > 0) * h, h <<= 1;
|
|
1501
1501
|
i[o++] = e(f), g = o - 1, a--;
|
|
1502
1502
|
break;
|
|
1503
1503
|
case 2: return l.join("");
|
|
@@ -1516,113 +1516,113 @@ var Qe = /* @__PURE__ */ t(((e, t) => {
|
|
|
1516
1516
|
}) : t !== void 0 && t != null ? t.exports = n : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
1517
1517
|
return n;
|
|
1518
1518
|
});
|
|
1519
|
-
})),
|
|
1519
|
+
})), P = n(), it = /* @__PURE__ */ e(rt());
|
|
1520
1520
|
/* istanbul ignore file */
|
|
1521
|
-
function
|
|
1521
|
+
function at(e) {
|
|
1522
1522
|
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
1523
1523
|
}
|
|
1524
|
-
var
|
|
1524
|
+
var ot = (e, t, n, r, i, a, o) => {
|
|
1525
1525
|
let s = r + n.indent, c = n.colors;
|
|
1526
1526
|
return e.map((e) => {
|
|
1527
1527
|
let l = t[e], u = o(l, n, s, i, a);
|
|
1528
1528
|
return typeof l != "string" && (u.indexOf("\n") !== -1 && (u = n.spacingOuter + s + u + n.spacingOuter + r), u = "{" + u + "}"), n.spacingInner + r + c.prop.open + e + c.prop.close + "=" + c.value.open + u + c.value.close;
|
|
1529
1529
|
}).join("");
|
|
1530
|
-
},
|
|
1531
|
-
let o = typeof e == "string" ?
|
|
1532
|
-
return o === "" && typeof e == "object" && e && e.nodeType !==
|
|
1533
|
-
}).join(""),
|
|
1530
|
+
}, st = 3, ct = (e, t, n, r, i, a) => e.map((e) => {
|
|
1531
|
+
let o = typeof e == "string" ? lt(e, t) : a(e, t, n, r, i);
|
|
1532
|
+
return o === "" && typeof e == "object" && e && e.nodeType !== st ? "" : t.spacingOuter + n + o;
|
|
1533
|
+
}).join(""), lt = (e, t) => {
|
|
1534
1534
|
let n = t.colors.content;
|
|
1535
|
-
return n.open +
|
|
1536
|
-
},
|
|
1535
|
+
return n.open + at(e) + n.close;
|
|
1536
|
+
}, ut = (e, t) => {
|
|
1537
1537
|
let n = t.colors.comment;
|
|
1538
|
-
return n.open + "<!--" +
|
|
1539
|
-
},
|
|
1538
|
+
return n.open + "<!--" + at(e) + "-->" + n.close;
|
|
1539
|
+
}, dt = (e, t, n, r, i) => {
|
|
1540
1540
|
let a = r.colors.tag;
|
|
1541
1541
|
return a.open + "<" + e + (t && a.close + t + r.spacingOuter + i + a.open) + (n ? ">" + a.close + n + r.spacingOuter + i + a.open + "</" + e : (t && !r.min ? "" : " ") + "/") + ">" + a.close;
|
|
1542
|
-
},
|
|
1542
|
+
}, ft = (e, t) => {
|
|
1543
1543
|
let n = t.colors.tag;
|
|
1544
1544
|
return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
|
|
1545
|
-
},
|
|
1545
|
+
}, pt = 1, mt = 3, ht = 8, gt = 11, _t = /^((HTML|SVG)\w*)?Element$/, vt = (e) => {
|
|
1546
1546
|
let { tagName: t } = e;
|
|
1547
1547
|
return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
|
|
1548
|
-
},
|
|
1548
|
+
}, yt = (e) => {
|
|
1549
1549
|
let t = e.constructor.name, { nodeType: n } = e;
|
|
1550
|
-
return n ===
|
|
1550
|
+
return n === pt && (_t.test(t) || vt(e)) || n === mt && t === "Text" || n === ht && t === "Comment" || n === gt && t === "DocumentFragment";
|
|
1551
1551
|
};
|
|
1552
|
-
function
|
|
1553
|
-
return e.nodeType ===
|
|
1552
|
+
function bt(e) {
|
|
1553
|
+
return e.nodeType === mt;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1556
|
-
return e.nodeType ===
|
|
1555
|
+
function xt(e) {
|
|
1556
|
+
return e.nodeType === ht;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1559
|
-
return e.nodeType ===
|
|
1558
|
+
function St(e) {
|
|
1559
|
+
return e.nodeType === gt;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Ct(e) {
|
|
1562
1562
|
return {
|
|
1563
1563
|
test: (e) => {
|
|
1564
1564
|
var t;
|
|
1565
|
-
return ((e == null || (t = e.constructor) == null ? void 0 : t.name) ||
|
|
1565
|
+
return ((e == null || (t = e.constructor) == null ? void 0 : t.name) || vt(e)) && yt(e);
|
|
1566
1566
|
},
|
|
1567
1567
|
serialize: (t, n, r, i, a, o) => {
|
|
1568
|
-
if (
|
|
1569
|
-
if (
|
|
1570
|
-
let s =
|
|
1571
|
-
return ++i > n.maxDepth ?
|
|
1568
|
+
if (bt(t)) return lt(t.data, n);
|
|
1569
|
+
if (xt(t)) return ut(t.data, n);
|
|
1570
|
+
let s = St(t) ? "DocumentFragment" : t.tagName.toLowerCase();
|
|
1571
|
+
return ++i > n.maxDepth ? ft(s, n) : dt(s, ot(St(t) ? [] : Array.from(t.attributes).map((e) => e.name).sort(), St(t) ? {} : Array.from(t.attributes).reduce((e, t) => (e[t.name] = t.value, e), {}), n, r + n.indent, i, a, o), ct(Array.prototype.slice.call(t.childNodes || t.children).filter(e), n, r + n.indent, i, a, o), n, r);
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
1574
|
}
|
|
1575
|
-
var
|
|
1575
|
+
var wt = null, Tt = null, Et = null;
|
|
1576
1576
|
try {
|
|
1577
1577
|
let e = module && module.require;
|
|
1578
|
-
|
|
1578
|
+
Tt = e.call(module, "fs").readFileSync, Et = e.call(module, "@babel/code-frame").codeFrameColumns, wt = e.call(module, "picocolors");
|
|
1579
1579
|
} catch {}
|
|
1580
|
-
function
|
|
1580
|
+
function Dt(e) {
|
|
1581
1581
|
let t = e.indexOf("(") + 1, n = e.indexOf(")"), r = e.slice(t, n), i = r.split(":"), [a, o, s] = [
|
|
1582
1582
|
i[0],
|
|
1583
1583
|
parseInt(i[1], 10),
|
|
1584
1584
|
parseInt(i[2], 10)
|
|
1585
1585
|
], c = "";
|
|
1586
1586
|
try {
|
|
1587
|
-
c =
|
|
1587
|
+
c = Tt(a, "utf-8");
|
|
1588
1588
|
} catch {
|
|
1589
1589
|
return "";
|
|
1590
1590
|
}
|
|
1591
|
-
let l =
|
|
1591
|
+
let l = Et(c, { start: {
|
|
1592
1592
|
line: o,
|
|
1593
1593
|
column: s
|
|
1594
1594
|
} }, {
|
|
1595
1595
|
highlightCode: !0,
|
|
1596
1596
|
linesBelow: 0
|
|
1597
1597
|
});
|
|
1598
|
-
return
|
|
1598
|
+
return wt.dim(r) + "\n" + l + "\n";
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1601
|
-
return !
|
|
1600
|
+
function Ot() {
|
|
1601
|
+
return !Tt || !Et ? "" : Dt((/* @__PURE__ */ Error()).stack.split("\n").slice(1).find((e) => !e.includes("node_modules/")));
|
|
1602
1602
|
}
|
|
1603
|
-
var
|
|
1604
|
-
function
|
|
1603
|
+
var kt = 3;
|
|
1604
|
+
function At() {
|
|
1605
1605
|
// istanbul ignore next
|
|
1606
1606
|
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function jt() {
|
|
1609
1609
|
/* istanbul ignore if */
|
|
1610
1610
|
if (typeof window > "u") throw Error("Could not find default container");
|
|
1611
1611
|
return window.document;
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Mt(e) {
|
|
1614
1614
|
if (e.defaultView) return e.defaultView;
|
|
1615
1615
|
if (e.ownerDocument && e.ownerDocument.defaultView) return e.ownerDocument.defaultView;
|
|
1616
1616
|
if (e.window) return e.window;
|
|
1617
1617
|
throw e.ownerDocument && e.ownerDocument.defaultView === null ? Error("It looks like the window object is not available for the provided node.") : e.then instanceof Function ? Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e.debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : Error("The given node is not an Element, the node type is: " + typeof e + ".");
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function F(e) {
|
|
1620
1620
|
if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function") throw TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + t(e) + ".");
|
|
1621
1621
|
function t(e) {
|
|
1622
1622
|
return typeof e == "object" ? e === null ? "null" : e.constructor.name : typeof e;
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
|
-
var
|
|
1625
|
+
var Nt = () => {
|
|
1626
1626
|
if (typeof process > "u") return !1;
|
|
1627
1627
|
let e;
|
|
1628
1628
|
try {
|
|
@@ -1630,27 +1630,27 @@ var kt = () => {
|
|
|
1630
1630
|
t && (e = JSON.parse(t));
|
|
1631
1631
|
} catch {}
|
|
1632
1632
|
return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
|
|
1633
|
-
}, { DOMCollection:
|
|
1634
|
-
function
|
|
1635
|
-
return e.nodeType !==
|
|
1633
|
+
}, { DOMCollection: Pt } = ee.plugins, Ft = 1, It = 8;
|
|
1634
|
+
function Lt(e) {
|
|
1635
|
+
return e.nodeType !== It && (e.nodeType !== Ft || !e.matches(R().defaultIgnore));
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1638
|
-
if (n === void 0 && (n = {}), e ||=
|
|
1637
|
+
function I(e, t, n) {
|
|
1638
|
+
if (n === void 0 && (n = {}), e ||= jt().body, typeof t != "number" && (t = typeof process < "u" && process.env !== void 0 && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0) return "";
|
|
1639
1639
|
e.documentElement && (e = e.documentElement);
|
|
1640
1640
|
let r = typeof e;
|
|
1641
1641
|
if (r === "object" ? r = e.constructor.name : e = {}, !("outerHTML" in e)) throw TypeError("Expected an element or document but got " + r);
|
|
1642
|
-
let { filterNode: i =
|
|
1643
|
-
plugins: [
|
|
1642
|
+
let { filterNode: i = Lt, ...a } = n, o = ee.format(e, {
|
|
1643
|
+
plugins: [Ct(i), Pt],
|
|
1644
1644
|
printFunctionName: !1,
|
|
1645
|
-
highlight:
|
|
1645
|
+
highlight: Nt(),
|
|
1646
1646
|
...a
|
|
1647
1647
|
});
|
|
1648
1648
|
return t !== void 0 && e.outerHTML.length > t ? o.slice(0, t) + "..." : o;
|
|
1649
1649
|
}
|
|
1650
|
-
var
|
|
1651
|
-
let e =
|
|
1652
|
-
console.log(e ?
|
|
1653
|
-
},
|
|
1650
|
+
var Rt = function() {
|
|
1651
|
+
let e = Ot();
|
|
1652
|
+
console.log(e ? I(...arguments) + "\n\n" + e : I(...arguments));
|
|
1653
|
+
}, L = {
|
|
1654
1654
|
testIdAttribute: "data-testid",
|
|
1655
1655
|
asyncUtilTimeout: 1e3,
|
|
1656
1656
|
asyncWrapper: (e) => e(),
|
|
@@ -1661,29 +1661,29 @@ var Pt = function() {
|
|
|
1661
1661
|
showOriginalStackTrace: !1,
|
|
1662
1662
|
throwSuggestions: !1,
|
|
1663
1663
|
getElementError(e, t) {
|
|
1664
|
-
let n =
|
|
1664
|
+
let n = I(t), r = Error([e, "Ignored nodes: comments, " + L.defaultIgnore + "\n" + n].filter(Boolean).join("\n\n"));
|
|
1665
1665
|
return r.name = "TestingLibraryElementError", r;
|
|
1666
1666
|
},
|
|
1667
1667
|
_disableExpensiveErrorDiagnostics: !1,
|
|
1668
1668
|
computedStyleSupportsPseudoElements: !1
|
|
1669
1669
|
};
|
|
1670
|
-
function
|
|
1670
|
+
function zt(e) {
|
|
1671
1671
|
try {
|
|
1672
|
-
return
|
|
1672
|
+
return L._disableExpensiveErrorDiagnostics = !0, e();
|
|
1673
1673
|
} finally {
|
|
1674
|
-
|
|
1674
|
+
L._disableExpensiveErrorDiagnostics = !1;
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1678
|
-
typeof e == "function" && (e = e(
|
|
1679
|
-
...
|
|
1677
|
+
function Bt(e) {
|
|
1678
|
+
typeof e == "function" && (e = e(L)), L = {
|
|
1679
|
+
...L,
|
|
1680
1680
|
...e
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1684
|
-
return
|
|
1683
|
+
function R() {
|
|
1684
|
+
return L;
|
|
1685
1685
|
}
|
|
1686
|
-
var
|
|
1686
|
+
var Vt = [
|
|
1687
1687
|
"button",
|
|
1688
1688
|
"meter",
|
|
1689
1689
|
"output",
|
|
@@ -1692,83 +1692,83 @@ var Lt = [
|
|
|
1692
1692
|
"textarea",
|
|
1693
1693
|
"input"
|
|
1694
1694
|
];
|
|
1695
|
-
function
|
|
1696
|
-
return
|
|
1695
|
+
function Ht(e) {
|
|
1696
|
+
return Vt.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === kt ? e.textContent : Array.from(e.childNodes).map((e) => Ht(e)).join("");
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Ut(e) {
|
|
1699
1699
|
let t;
|
|
1700
|
-
return t = e.tagName.toLowerCase() === "label" ?
|
|
1700
|
+
return t = e.tagName.toLowerCase() === "label" ? Ht(e) : e.value || e.textContent, t;
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function Wt(e) {
|
|
1703
1703
|
if (e.labels !== void 0) return e.labels ?? [];
|
|
1704
|
-
if (!
|
|
1704
|
+
if (!Gt(e)) return [];
|
|
1705
1705
|
let t = e.ownerDocument.querySelectorAll("label");
|
|
1706
1706
|
return Array.from(t).filter((t) => t.control === e);
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function Gt(e) {
|
|
1709
1709
|
return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function Kt(e, t, n) {
|
|
1712
1712
|
let { selector: r = "*" } = n === void 0 ? {} : n, i = t.getAttribute("aria-labelledby"), a = i ? i.split(" ") : [];
|
|
1713
1713
|
return a.length ? a.map((t) => {
|
|
1714
1714
|
let n = e.querySelector("[id=\"" + t + "\"]");
|
|
1715
1715
|
return n ? {
|
|
1716
|
-
content:
|
|
1716
|
+
content: Ut(n),
|
|
1717
1717
|
formControl: null
|
|
1718
1718
|
} : {
|
|
1719
1719
|
content: "",
|
|
1720
1720
|
formControl: null
|
|
1721
1721
|
};
|
|
1722
|
-
}) : Array.from(
|
|
1723
|
-
content:
|
|
1722
|
+
}) : Array.from(Wt(t)).map((e) => ({
|
|
1723
|
+
content: Ut(e),
|
|
1724
1724
|
formControl: Array.from(e.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((e) => e.matches(r))[0]
|
|
1725
1725
|
}));
|
|
1726
1726
|
}
|
|
1727
|
-
function
|
|
1727
|
+
function qt(e) {
|
|
1728
1728
|
if (e == null) throw Error("It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?");
|
|
1729
1729
|
}
|
|
1730
|
-
function
|
|
1730
|
+
function z(e, t, n, r) {
|
|
1731
1731
|
if (typeof e != "string") return !1;
|
|
1732
|
-
|
|
1732
|
+
qt(n);
|
|
1733
1733
|
let i = r(e);
|
|
1734
|
-
return typeof n == "string" || typeof n == "number" ? i.toLowerCase().includes(n.toString().toLowerCase()) : typeof n == "function" ? n(i, t) :
|
|
1734
|
+
return typeof n == "string" || typeof n == "number" ? i.toLowerCase().includes(n.toString().toLowerCase()) : typeof n == "function" ? n(i, t) : Yt(n, i);
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function B(e, t, n, r) {
|
|
1737
1737
|
if (typeof e != "string") return !1;
|
|
1738
|
-
|
|
1738
|
+
qt(n);
|
|
1739
1739
|
let i = r(e);
|
|
1740
|
-
return n instanceof Function ? n(i, t) : n instanceof RegExp ?
|
|
1740
|
+
return n instanceof Function ? n(i, t) : n instanceof RegExp ? Yt(n, i) : i === String(n);
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function Jt(e) {
|
|
1743
1743
|
let { trim: t = !0, collapseWhitespace: n = !0 } = e === void 0 ? {} : e;
|
|
1744
1744
|
return (e) => {
|
|
1745
1745
|
let r = e;
|
|
1746
1746
|
return r = t ? r.trim() : r, r = n ? r.replace(/\s+/g, " ") : r, r;
|
|
1747
1747
|
};
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1749
|
+
function V(e) {
|
|
1750
1750
|
let { trim: t, collapseWhitespace: n, normalizer: r } = e;
|
|
1751
|
-
if (!r) return
|
|
1751
|
+
if (!r) return Jt({
|
|
1752
1752
|
trim: t,
|
|
1753
1753
|
collapseWhitespace: n
|
|
1754
1754
|
});
|
|
1755
1755
|
if (t !== void 0 || n !== void 0) throw 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");
|
|
1756
1756
|
return r;
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function Yt(e, t) {
|
|
1759
1759
|
let n = e.test(t);
|
|
1760
1760
|
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), n;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1763
|
-
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((e) => e.nodeType ===
|
|
1762
|
+
function Xt(e) {
|
|
1763
|
+
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((e) => e.nodeType === kt && !!e.textContent).map((e) => e.textContent).join("");
|
|
1764
1764
|
}
|
|
1765
|
-
var
|
|
1766
|
-
function
|
|
1765
|
+
var Zt = tn(P.elementRoles);
|
|
1766
|
+
function Qt(e) {
|
|
1767
1767
|
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
|
|
1768
1768
|
}
|
|
1769
|
-
function
|
|
1769
|
+
function $t(e, t) {
|
|
1770
1770
|
t === void 0 && (t = {});
|
|
1771
|
-
let { isSubtreeInaccessible: n =
|
|
1771
|
+
let { isSubtreeInaccessible: n = Qt } = t;
|
|
1772
1772
|
if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden") return !0;
|
|
1773
1773
|
let r = e;
|
|
1774
1774
|
for (; r;) {
|
|
@@ -1777,11 +1777,11 @@ function Yt(e, t) {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
return !1;
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1781
|
-
for (let { match: t, roles: n } of
|
|
1780
|
+
function en(e) {
|
|
1781
|
+
for (let { match: t, roles: n } of Zt) if (t(e)) return [...n];
|
|
1782
1782
|
return [];
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1784
|
+
function tn(e) {
|
|
1785
1785
|
function t(e) {
|
|
1786
1786
|
let { name: t, attributes: n } = e;
|
|
1787
1787
|
return "" + t + n.map((e) => {
|
|
@@ -1814,14 +1814,14 @@ function Zt(e) {
|
|
|
1814
1814
|
}];
|
|
1815
1815
|
return a.sort(r);
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function nn(e, t) {
|
|
1818
1818
|
let { hidden: n = !1 } = t === void 0 ? {} : t;
|
|
1819
1819
|
function r(e) {
|
|
1820
1820
|
return [e, ...Array.from(e.children).reduce((e, t) => [...e, ...r(t)], [])];
|
|
1821
1821
|
}
|
|
1822
|
-
return r(e).filter((e) => n === !1 ?
|
|
1822
|
+
return r(e).filter((e) => n === !1 ? $t(e) === !1 : !0).reduce((e, t) => {
|
|
1823
1823
|
let n = [];
|
|
1824
|
-
return n = t.hasAttribute("role") ? t.getAttribute("role").split(" ").slice(0, 1) :
|
|
1824
|
+
return n = t.hasAttribute("role") ? t.getAttribute("role").split(" ").slice(0, 1) : en(t), n.reduce((e, n) => Array.isArray(e[n]) ? {
|
|
1825
1825
|
...e,
|
|
1826
1826
|
[n]: [...e[n], t]
|
|
1827
1827
|
} : {
|
|
@@ -1830,16 +1830,16 @@ function Qt(e, t) {
|
|
|
1830
1830
|
}, e);
|
|
1831
1831
|
}, {});
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1834
|
-
let { hidden: n, includeDescription: r } = t, i =
|
|
1833
|
+
function rn(e, t) {
|
|
1834
|
+
let { hidden: n, includeDescription: r } = t, i = nn(e, { hidden: n });
|
|
1835
1835
|
return Object.entries(i).filter((e) => {
|
|
1836
1836
|
let [t] = e;
|
|
1837
1837
|
return t !== "generic";
|
|
1838
1838
|
}).map((e) => {
|
|
1839
1839
|
let [t, n] = e, i = "-".repeat(50), a = n.map((e) => {
|
|
1840
|
-
let t = "Name \"" +
|
|
1840
|
+
let t = "Name \"" + nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }) + "\":\n", n = I(e.cloneNode(!1));
|
|
1841
1841
|
if (r) {
|
|
1842
|
-
let r = "Description \"" +
|
|
1842
|
+
let r = "Description \"" + et(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }) + "\":\n";
|
|
1843
1843
|
return "" + t + r + n;
|
|
1844
1844
|
}
|
|
1845
1845
|
return "" + t + n;
|
|
@@ -1847,30 +1847,30 @@ function $t(e, t) {
|
|
|
1847
1847
|
return t + ":\n\n" + a + "\n\n" + i;
|
|
1848
1848
|
}).join("\n");
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1851
|
-
return e.tagName === "OPTION" ? e.selected :
|
|
1850
|
+
function an(e) {
|
|
1851
|
+
return e.tagName === "OPTION" ? e.selected : H(e, "aria-selected");
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function on(e) {
|
|
1854
1854
|
return e.getAttribute("aria-busy") === "true";
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1857
|
-
if (!("indeterminate" in e && e.indeterminate)) return "checked" in e ? e.checked :
|
|
1856
|
+
function sn(e) {
|
|
1857
|
+
if (!("indeterminate" in e && e.indeterminate)) return "checked" in e ? e.checked : H(e, "aria-checked");
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1860
|
-
return
|
|
1859
|
+
function cn(e) {
|
|
1860
|
+
return H(e, "aria-pressed");
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1863
|
-
return
|
|
1862
|
+
function ln(e) {
|
|
1863
|
+
return H(e, "aria-current") ?? e.getAttribute("aria-current") ?? !1;
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1866
|
-
return
|
|
1865
|
+
function un(e) {
|
|
1866
|
+
return H(e, "aria-expanded");
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1868
|
+
function H(e, t) {
|
|
1869
1869
|
let n = e.getAttribute(t);
|
|
1870
1870
|
if (n === "true") return !0;
|
|
1871
1871
|
if (n === "false") return !1;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1873
|
+
function dn(e) {
|
|
1874
1874
|
return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || {
|
|
1875
1875
|
H1: 1,
|
|
1876
1876
|
H2: 2,
|
|
@@ -1880,32 +1880,32 @@ function cn(e) {
|
|
|
1880
1880
|
H6: 6
|
|
1881
1881
|
}[e.tagName];
|
|
1882
1882
|
}
|
|
1883
|
-
function
|
|
1883
|
+
function fn(e) {
|
|
1884
1884
|
let t = e.getAttribute("aria-valuenow");
|
|
1885
1885
|
return t === null ? void 0 : +t;
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1887
|
+
function pn(e) {
|
|
1888
1888
|
let t = e.getAttribute("aria-valuemax");
|
|
1889
1889
|
return t === null ? void 0 : +t;
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function mn(e) {
|
|
1892
1892
|
let t = e.getAttribute("aria-valuemin");
|
|
1893
1893
|
return t === null ? void 0 : +t;
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1895
|
+
function hn(e) {
|
|
1896
1896
|
let t = e.getAttribute("aria-valuetext");
|
|
1897
1897
|
return t === null ? void 0 : t;
|
|
1898
1898
|
}
|
|
1899
|
-
var
|
|
1900
|
-
function
|
|
1899
|
+
var gn = Jt();
|
|
1900
|
+
function _n(e) {
|
|
1901
1901
|
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1904
|
-
return new RegExp(
|
|
1903
|
+
function vn(e) {
|
|
1904
|
+
return new RegExp(_n(e.toLowerCase()), "i");
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1907
|
-
let { variant: i, name: a } = r, o = "", s = {}, c = [["Role", "TestId"].includes(e) ? n :
|
|
1908
|
-
a && (s.name =
|
|
1906
|
+
function U(e, t, n, r) {
|
|
1907
|
+
let { variant: i, name: a } = r, o = "", s = {}, c = [["Role", "TestId"].includes(e) ? n : vn(n)];
|
|
1908
|
+
a && (s.name = vn(a)), e === "Role" && $t(t) && (s.hidden = !0, o = "Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "), Object.keys(s).length > 0 && c.push(s);
|
|
1909
1909
|
let l = i + "By" + e;
|
|
1910
1910
|
return {
|
|
1911
1911
|
queryName: e,
|
|
@@ -1923,35 +1923,35 @@ function W(e, t, n, r) {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
};
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function W(e, t, n) {
|
|
1927
1927
|
return n && (!t || t.toLowerCase() === e.toLowerCase());
|
|
1928
1928
|
}
|
|
1929
|
-
function
|
|
1930
|
-
if (t === void 0 && (t = "get"), e.matches(
|
|
1931
|
-
let r = e.getAttribute("role") ??
|
|
1932
|
-
if (r !== "generic" &&
|
|
1929
|
+
function yn(e, t, n) {
|
|
1930
|
+
if (t === void 0 && (t = "get"), e.matches(R().defaultIgnore)) return;
|
|
1931
|
+
let r = e.getAttribute("role") ?? en(e)?.[0];
|
|
1932
|
+
if (r !== "generic" && W("Role", n, r)) return U("Role", e, r, {
|
|
1933
1933
|
variant: t,
|
|
1934
|
-
name:
|
|
1934
|
+
name: nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements })
|
|
1935
1935
|
});
|
|
1936
|
-
let i =
|
|
1937
|
-
if (
|
|
1936
|
+
let i = Kt(document, e).map((e) => e.content).join(" ");
|
|
1937
|
+
if (W("LabelText", n, i)) return U("LabelText", e, i, { variant: t });
|
|
1938
1938
|
let a = e.getAttribute("placeholder");
|
|
1939
|
-
if (
|
|
1940
|
-
let o =
|
|
1941
|
-
if (
|
|
1942
|
-
if (
|
|
1939
|
+
if (W("PlaceholderText", n, a)) return U("PlaceholderText", e, a, { variant: t });
|
|
1940
|
+
let o = gn(Xt(e));
|
|
1941
|
+
if (W("Text", n, o)) return U("Text", e, o, { variant: t });
|
|
1942
|
+
if (W("DisplayValue", n, e.value)) return U("DisplayValue", e, gn(e.value), { variant: t });
|
|
1943
1943
|
let s = e.getAttribute("alt");
|
|
1944
|
-
if (
|
|
1944
|
+
if (W("AltText", n, s)) return U("AltText", e, s, { variant: t });
|
|
1945
1945
|
let c = e.getAttribute("title");
|
|
1946
|
-
if (
|
|
1947
|
-
let l = e.getAttribute(
|
|
1948
|
-
if (
|
|
1946
|
+
if (W("Title", n, c)) return U("Title", e, c, { variant: t });
|
|
1947
|
+
let l = e.getAttribute(R().testIdAttribute);
|
|
1948
|
+
if (W("TestId", n, l)) return U("TestId", e, l, { variant: t });
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function bn(e, t) {
|
|
1951
1951
|
e.stack = t.stack.replace(t.message, e.message);
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1954
|
-
let { container: n =
|
|
1953
|
+
function xn(e, t) {
|
|
1954
|
+
let { container: n = jt(), timeout: r = R().asyncUtilTimeout, showOriginalStackTrace: i = R().showOriginalStackTrace, stackTraceError: a, interval: o = 50, onTimeout: s = (e) => (Object.defineProperty(e, "message", { value: R().getElementError(e.message, n).message }), e), mutationObserverOptions: c = {
|
|
1955
1955
|
subtree: !0,
|
|
1956
1956
|
childList: !0,
|
|
1957
1957
|
attributes: !0,
|
|
@@ -1959,13 +1959,13 @@ function vn(e, t) {
|
|
|
1959
1959
|
} } = t;
|
|
1960
1960
|
if (typeof e != "function") throw TypeError("Received `callback` arg must be a function");
|
|
1961
1961
|
return new Promise(async (t, l) => {
|
|
1962
|
-
let u, d, f, p = !1, m = "idle", h = setTimeout(b, r), g =
|
|
1962
|
+
let u, d, f, p = !1, m = "idle", h = setTimeout(b, r), g = At();
|
|
1963
1963
|
if (g) {
|
|
1964
|
-
let { unstable_advanceTimersWrapper: e } =
|
|
1964
|
+
let { unstable_advanceTimersWrapper: e } = R();
|
|
1965
1965
|
for (y(); !p;) {
|
|
1966
|
-
if (!
|
|
1966
|
+
if (!At()) {
|
|
1967
1967
|
let e = /* @__PURE__ */ Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
|
|
1968
|
-
i ||
|
|
1968
|
+
i || bn(e, a), l(e);
|
|
1969
1969
|
return;
|
|
1970
1970
|
}
|
|
1971
1971
|
if (await e(async () => {
|
|
@@ -1975,27 +1975,27 @@ function vn(e, t) {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
} else {
|
|
1977
1977
|
try {
|
|
1978
|
-
|
|
1978
|
+
F(n);
|
|
1979
1979
|
} catch (e) {
|
|
1980
1980
|
l(e);
|
|
1981
1981
|
return;
|
|
1982
1982
|
}
|
|
1983
1983
|
d = setInterval(v, o);
|
|
1984
|
-
let { MutationObserver: e } =
|
|
1984
|
+
let { MutationObserver: e } = Mt(n);
|
|
1985
1985
|
f = new e(v), f.observe(n, c), y();
|
|
1986
1986
|
}
|
|
1987
1987
|
function _(e, n) {
|
|
1988
1988
|
p = !0, clearTimeout(h), g || (clearInterval(d), f.disconnect()), e ? l(e) : t(n);
|
|
1989
1989
|
}
|
|
1990
1990
|
function v() {
|
|
1991
|
-
if (
|
|
1991
|
+
if (At()) {
|
|
1992
1992
|
let e = /* @__PURE__ */ Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
|
|
1993
|
-
return i ||
|
|
1993
|
+
return i || bn(e, a), l(e);
|
|
1994
1994
|
} else return y();
|
|
1995
1995
|
}
|
|
1996
1996
|
function y() {
|
|
1997
1997
|
if (m !== "pending") try {
|
|
1998
|
-
let t =
|
|
1998
|
+
let t = zt(e);
|
|
1999
1999
|
typeof t?.then == "function" ? (m = "pending", t.then((e) => {
|
|
2000
2000
|
m = "resolved", _(null, e);
|
|
2001
2001
|
}, (e) => {
|
|
@@ -2007,117 +2007,117 @@ function vn(e, t) {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
function b() {
|
|
2009
2009
|
let e;
|
|
2010
|
-
u ? (e = u, !i && e.name === "TestingLibraryElementError" &&
|
|
2010
|
+
u ? (e = u, !i && e.name === "TestingLibraryElementError" && bn(e, a)) : (e = /* @__PURE__ */ Error("Timed out in waitFor."), i || bn(e, a)), _(s(e), null);
|
|
2011
2011
|
}
|
|
2012
2012
|
});
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2014
|
+
function Sn(e, t) {
|
|
2015
2015
|
let n = /* @__PURE__ */ Error("STACK_TRACE_MESSAGE");
|
|
2016
|
-
return
|
|
2016
|
+
return R().asyncWrapper(() => xn(e, {
|
|
2017
2017
|
stackTraceError: n,
|
|
2018
2018
|
...t
|
|
2019
2019
|
}));
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2022
|
-
return
|
|
2021
|
+
function Cn(e, t) {
|
|
2022
|
+
return R().getElementError(e, t);
|
|
2023
2023
|
}
|
|
2024
|
-
function
|
|
2025
|
-
return
|
|
2024
|
+
function wn(e, t) {
|
|
2025
|
+
return Cn(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2028
|
-
let { exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = r === void 0 ? {} : r, c = i ?
|
|
2027
|
+
function Tn(e, t, n, r) {
|
|
2028
|
+
let { exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = r === void 0 ? {} : r, c = i ? B : z, l = V({
|
|
2029
2029
|
collapseWhitespace: a,
|
|
2030
2030
|
trim: o,
|
|
2031
2031
|
normalizer: s
|
|
2032
2032
|
});
|
|
2033
2033
|
return Array.from(t.querySelectorAll("[" + e + "]")).filter((t) => c(t.getAttribute(e), t, n, l));
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function En(e, t) {
|
|
2036
2036
|
return function(n) {
|
|
2037
2037
|
var r = [...arguments].slice(1);
|
|
2038
2038
|
let i = e(n, ...r);
|
|
2039
2039
|
if (i.length > 1) {
|
|
2040
|
-
let e = i.map((e) =>
|
|
2041
|
-
throw
|
|
2040
|
+
let e = i.map((e) => Cn(null, e).message).join("\n\n");
|
|
2041
|
+
throw wn(t(n, ...r) + "\n\nHere are the matching elements:\n\n" + e, n);
|
|
2042
2042
|
}
|
|
2043
2043
|
return i[0] || null;
|
|
2044
2044
|
};
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2047
|
-
return
|
|
2046
|
+
function Dn(e, t) {
|
|
2047
|
+
return R().getElementError("A better query is available, try this:\n" + e.toString() + "\n", t);
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2049
|
+
function On(e, t) {
|
|
2050
2050
|
return function(n) {
|
|
2051
2051
|
var r = [...arguments].slice(1);
|
|
2052
2052
|
let i = e(n, ...r);
|
|
2053
|
-
if (!i.length) throw
|
|
2053
|
+
if (!i.length) throw R().getElementError(t(n, ...r), n);
|
|
2054
2054
|
return i;
|
|
2055
2055
|
};
|
|
2056
2056
|
}
|
|
2057
|
-
function
|
|
2058
|
-
return (t, n, r, i) =>
|
|
2057
|
+
function kn(e) {
|
|
2058
|
+
return (t, n, r, i) => Sn(() => e(t, n, r), {
|
|
2059
2059
|
container: t,
|
|
2060
2060
|
...i
|
|
2061
2061
|
});
|
|
2062
2062
|
}
|
|
2063
|
-
var
|
|
2063
|
+
var G = (e, t, n) => function(r) {
|
|
2064
2064
|
var i = [...arguments].slice(1);
|
|
2065
|
-
let a = e(r, ...i), [{ suggest: o =
|
|
2065
|
+
let a = e(r, ...i), [{ suggest: o = R().throwSuggestions } = {}] = i.slice(-1);
|
|
2066
2066
|
if (a && o) {
|
|
2067
|
-
let e =
|
|
2068
|
-
if (e && !t.endsWith(e.queryName)) throw
|
|
2067
|
+
let e = yn(a, n);
|
|
2068
|
+
if (e && !t.endsWith(e.queryName)) throw Dn(e.toString(), r);
|
|
2069
2069
|
}
|
|
2070
2070
|
return a;
|
|
2071
|
-
},
|
|
2071
|
+
}, K = (e, t, n) => function(r) {
|
|
2072
2072
|
var i = [...arguments].slice(1);
|
|
2073
|
-
let a = e(r, ...i), [{ suggest: o =
|
|
2073
|
+
let a = e(r, ...i), [{ suggest: o = R().throwSuggestions } = {}] = i.slice(-1);
|
|
2074
2074
|
if (a.length && o) {
|
|
2075
|
-
let e = [...new Set(a.map((e) =>
|
|
2076
|
-
if (e.length === 1 && !t.endsWith(
|
|
2075
|
+
let e = [...new Set(a.map((e) => yn(e, n)?.toString()))];
|
|
2076
|
+
if (e.length === 1 && !t.endsWith(yn(a[0], n).queryName)) throw Dn(e[0], r);
|
|
2077
2077
|
}
|
|
2078
2078
|
return a;
|
|
2079
2079
|
};
|
|
2080
|
-
function
|
|
2081
|
-
let r =
|
|
2080
|
+
function q(e, t, n) {
|
|
2081
|
+
let r = G(En(e, t), e.name, "query"), i = On(e, n), a = En(i, t), o = G(a, e.name, "get");
|
|
2082
2082
|
return [
|
|
2083
2083
|
r,
|
|
2084
|
-
|
|
2084
|
+
K(i, e.name.replace("query", "get"), "getAll"),
|
|
2085
2085
|
o,
|
|
2086
|
-
|
|
2087
|
-
|
|
2086
|
+
kn(K(i, e.name, "findAll")),
|
|
2087
|
+
kn(G(a, e.name, "find"))
|
|
2088
2088
|
];
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2090
|
+
function An(e) {
|
|
2091
2091
|
return Array.from(e.querySelectorAll("label,input")).map((e) => ({
|
|
2092
2092
|
node: e,
|
|
2093
|
-
textToMatch:
|
|
2093
|
+
textToMatch: Ut(e)
|
|
2094
2094
|
})).filter((e) => {
|
|
2095
2095
|
let { textToMatch: t } = e;
|
|
2096
2096
|
return t !== null;
|
|
2097
2097
|
});
|
|
2098
2098
|
}
|
|
2099
|
-
var
|
|
2100
|
-
let { exact: r = !0, trim: i, collapseWhitespace: a, normalizer: o } = n === void 0 ? {} : n, s = r ?
|
|
2099
|
+
var jn = function(e, t, n) {
|
|
2100
|
+
let { exact: r = !0, trim: i, collapseWhitespace: a, normalizer: o } = n === void 0 ? {} : n, s = r ? B : z, c = V({
|
|
2101
2101
|
collapseWhitespace: a,
|
|
2102
2102
|
trim: i,
|
|
2103
2103
|
normalizer: o
|
|
2104
2104
|
});
|
|
2105
|
-
return
|
|
2105
|
+
return An(e).filter((e) => {
|
|
2106
2106
|
let { node: n, textToMatch: r } = e;
|
|
2107
2107
|
return s(r, n, t, c);
|
|
2108
2108
|
}).map((e) => {
|
|
2109
2109
|
let { node: t } = e;
|
|
2110
2110
|
return t;
|
|
2111
2111
|
});
|
|
2112
|
-
},
|
|
2112
|
+
}, J = function(e, t, n) {
|
|
2113
2113
|
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = n === void 0 ? {} : n;
|
|
2114
|
-
|
|
2115
|
-
let c = i ?
|
|
2114
|
+
F(e);
|
|
2115
|
+
let c = i ? B : z, l = V({
|
|
2116
2116
|
collapseWhitespace: a,
|
|
2117
2117
|
trim: o,
|
|
2118
2118
|
normalizer: s
|
|
2119
|
-
}), u = Array.from(e.querySelectorAll("*")).filter((e) =>
|
|
2120
|
-
let a =
|
|
2119
|
+
}), u = Array.from(e.querySelectorAll("*")).filter((e) => Wt(e).length || e.hasAttribute("aria-labelledby")).reduce((n, i) => {
|
|
2120
|
+
let a = Kt(e, i, { selector: r });
|
|
2121
2121
|
a.filter((e) => !!e.formControl).forEach((e) => {
|
|
2122
2122
|
c(e.content, e.formControl, t, l) && e.formControl && n.push(e.formControl);
|
|
2123
2123
|
});
|
|
@@ -2127,128 +2127,128 @@ var On = function(e, t, n) {
|
|
|
2127
2127
|
let a = [...o];
|
|
2128
2128
|
a.splice(r, 1), a.length > 1 && c(a.join(" "), i, t, l) && n.push(i);
|
|
2129
2129
|
}), n;
|
|
2130
|
-
}, []).concat(
|
|
2130
|
+
}, []).concat(Tn("aria-label", e, t, {
|
|
2131
2131
|
exact: i,
|
|
2132
2132
|
normalizer: l
|
|
2133
2133
|
}));
|
|
2134
2134
|
return Array.from(new Set(u)).filter((e) => e.matches(r));
|
|
2135
2135
|
}, Y = function(e, t) {
|
|
2136
2136
|
var n = [...arguments].slice(2);
|
|
2137
|
-
let r =
|
|
2137
|
+
let r = J(e, t, ...n);
|
|
2138
2138
|
if (!r.length) {
|
|
2139
|
-
let r =
|
|
2139
|
+
let r = jn(e, t, ...n);
|
|
2140
2140
|
if (r.length) {
|
|
2141
|
-
let n = r.map((t) =>
|
|
2142
|
-
throw n.length ?
|
|
2143
|
-
} else throw
|
|
2141
|
+
let n = r.map((t) => Mn(e, t)).filter((e) => !!e);
|
|
2142
|
+
throw n.length ? R().getElementError(n.map((e) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + e + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + e + " />, you can use aria-label or aria-labelledby instead.").join("\n\n"), e) : R().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);
|
|
2143
|
+
} else throw R().getElementError("Unable to find a label with the text of: " + t, e);
|
|
2144
2144
|
}
|
|
2145
2145
|
return r;
|
|
2146
2146
|
};
|
|
2147
|
-
function
|
|
2147
|
+
function Mn(e, t) {
|
|
2148
2148
|
let n = t.getAttribute("for");
|
|
2149
2149
|
if (!n) return null;
|
|
2150
2150
|
let r = e.querySelector("[id=\"" + n + "\"]");
|
|
2151
2151
|
return r ? r.tagName.toLowerCase() : null;
|
|
2152
2152
|
}
|
|
2153
|
-
var
|
|
2153
|
+
var Nn = (e, t) => "Found multiple elements with the text of: " + t, Pn = G(En(J, Nn), J.name, "query"), Fn = En(Y, Nn), In = kn(K(Y, Y.name, "findAll")), Ln = kn(G(Fn, Y.name, "find")), Rn = K(Y, Y.name, "getAll"), zn = G(Fn, Y.name, "get"), Bn = K(J, J.name, "queryAll"), Vn = function() {
|
|
2154
2154
|
var e = [...arguments];
|
|
2155
|
-
return
|
|
2156
|
-
},
|
|
2157
|
-
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, ignore: s =
|
|
2158
|
-
|
|
2159
|
-
let l = i ?
|
|
2155
|
+
return F(e[0]), Tn("placeholder", ...e);
|
|
2156
|
+
}, Hn = (e, t) => "Found multiple elements with the placeholder text of: " + t, Un = (e, t) => "Unable to find an element with the placeholder text of: " + t, Wn = K(Vn, Vn.name, "queryAll"), [Gn, Kn, qn, Jn, Yn] = q(Vn, Hn, Un), Xn = function(e, t, n) {
|
|
2157
|
+
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, ignore: s = R().defaultIgnore, normalizer: c } = n === void 0 ? {} : n;
|
|
2158
|
+
F(e);
|
|
2159
|
+
let l = i ? B : z, u = V({
|
|
2160
2160
|
collapseWhitespace: a,
|
|
2161
2161
|
trim: o,
|
|
2162
2162
|
normalizer: c
|
|
2163
2163
|
}), d = [];
|
|
2164
|
-
return typeof e.matches == "function" && e.matches(r) && (d = [e]), [...d, ...Array.from(e.querySelectorAll(r))].filter((e) => !s || !e.matches(s)).filter((e) => l(
|
|
2165
|
-
},
|
|
2164
|
+
return typeof e.matches == "function" && e.matches(r) && (d = [e]), [...d, ...Array.from(e.querySelectorAll(r))].filter((e) => !s || !e.matches(s)).filter((e) => l(Xt(e), e, t, u));
|
|
2165
|
+
}, Zn = (e, t) => "Found multiple elements with the text: " + t, Qn = function(e, t, n) {
|
|
2166
2166
|
n === void 0 && (n = {});
|
|
2167
|
-
let { collapseWhitespace: r, trim: i, normalizer: a, selector: o } = n, s =
|
|
2167
|
+
let { collapseWhitespace: r, trim: i, normalizer: a, selector: o } = n, s = V({
|
|
2168
2168
|
collapseWhitespace: r,
|
|
2169
2169
|
trim: i,
|
|
2170
2170
|
normalizer: a
|
|
2171
2171
|
})(t.toString()), c = s !== t.toString(), l = (o ?? "*") !== "*";
|
|
2172
2172
|
return "Unable to find an element with the text: " + (c ? s + " (normalized from '" + t + "')" : t) + (l ? ", which matches selector '" + o + "'" : "") + ". 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.";
|
|
2173
|
-
},
|
|
2173
|
+
}, $n = K(Xn, Xn.name, "queryAll"), [er, tr, nr, rr, ir] = q(Xn, Zn, Qn), ar = function(e, t, n) {
|
|
2174
2174
|
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2175
|
-
|
|
2176
|
-
let s = r ?
|
|
2175
|
+
F(e);
|
|
2176
|
+
let s = r ? B : z, c = V({
|
|
2177
2177
|
collapseWhitespace: i,
|
|
2178
2178
|
trim: a,
|
|
2179
2179
|
normalizer: o
|
|
2180
2180
|
});
|
|
2181
|
-
return Array.from(e.querySelectorAll("input,textarea,select")).filter((e) => e.tagName === "SELECT" ? Array.from(e.options).filter((e) => e.selected).some((e) => s(
|
|
2182
|
-
},
|
|
2183
|
-
return n === void 0 && (n = {}),
|
|
2184
|
-
},
|
|
2181
|
+
return Array.from(e.querySelectorAll("input,textarea,select")).filter((e) => e.tagName === "SELECT" ? Array.from(e.options).filter((e) => e.selected).some((e) => s(Xt(e), e, t, c)) : s(e.value, e, t, c));
|
|
2182
|
+
}, or = (e, t) => "Found multiple elements with the display value: " + t + ".", sr = (e, t) => "Unable to find an element with the display value: " + t + ".", cr = K(ar, ar.name, "queryAll"), [lr, ur, dr, fr, pr] = q(ar, or, sr), mr = /^(img|input|area|.+-.+)$/i, hr = function(e, t, n) {
|
|
2183
|
+
return n === void 0 && (n = {}), F(e), Tn("alt", e, t, n).filter((e) => mr.test(e.tagName));
|
|
2184
|
+
}, gr = (e, t) => "Found multiple elements with the alt text: " + t, _r = (e, t) => "Unable to find an element with the alt text: " + t, vr = K(hr, hr.name, "queryAll"), [yr, br, xr, Sr, Cr] = q(hr, gr, _r), wr = (e) => e.tagName.toLowerCase() === "title" && e.parentElement?.tagName.toLowerCase() === "svg", Tr = function(e, t, n) {
|
|
2185
2185
|
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2186
|
-
|
|
2187
|
-
let s = r ?
|
|
2186
|
+
F(e);
|
|
2187
|
+
let s = r ? B : z, c = V({
|
|
2188
2188
|
collapseWhitespace: i,
|
|
2189
2189
|
trim: a,
|
|
2190
2190
|
normalizer: o
|
|
2191
2191
|
});
|
|
2192
|
-
return Array.from(e.querySelectorAll("[title], svg > title")).filter((e) => s(e.getAttribute("title"), e, t, c) ||
|
|
2193
|
-
},
|
|
2194
|
-
let { hidden: r =
|
|
2195
|
-
if (
|
|
2196
|
-
if (c !== void 0 &&
|
|
2197
|
-
if (l !== void 0 &&
|
|
2198
|
-
if (u !== void 0 &&
|
|
2199
|
-
if (d !== void 0 &&
|
|
2192
|
+
return Array.from(e.querySelectorAll("[title], svg > title")).filter((e) => s(e.getAttribute("title"), e, t, c) || wr(e) && s(Xt(e), e, t, c));
|
|
2193
|
+
}, Er = (e, t) => "Found multiple elements with the title: " + t + ".", Dr = (e, t) => "Unable to find an element with the title: " + t + ".", Or = K(Tr, Tr.name, "queryAll"), [kr, Ar, jr, Mr, Nr] = q(Tr, Er, Dr), Pr = function(e, t, n) {
|
|
2194
|
+
let { hidden: r = R().defaultHidden, name: i, description: a, queryFallbacks: o = !1, selected: s, busy: c, checked: l, pressed: u, current: d, level: f, expanded: p, value: { now: m, min: h, max: g, text: _ } = {} } = n === void 0 ? {} : n;
|
|
2195
|
+
if (F(e), s !== void 0 && P.roles.get(t)?.props["aria-selected"] === void 0) throw Error("\"aria-selected\" is not supported on role \"" + t + "\".");
|
|
2196
|
+
if (c !== void 0 && P.roles.get(t)?.props["aria-busy"] === void 0) throw Error("\"aria-busy\" is not supported on role \"" + t + "\".");
|
|
2197
|
+
if (l !== void 0 && P.roles.get(t)?.props["aria-checked"] === void 0) throw Error("\"aria-checked\" is not supported on role \"" + t + "\".");
|
|
2198
|
+
if (u !== void 0 && P.roles.get(t)?.props["aria-pressed"] === void 0) throw Error("\"aria-pressed\" is not supported on role \"" + t + "\".");
|
|
2199
|
+
if (d !== void 0 && P.roles.get(t)?.props["aria-current"] === void 0) throw Error("\"aria-current\" is not supported on role \"" + t + "\".");
|
|
2200
2200
|
if (f !== void 0 && t !== "heading") throw Error("Role \"" + t + "\" cannot have \"level\" property.");
|
|
2201
|
-
if (m !== void 0 &&
|
|
2202
|
-
if (g !== void 0 &&
|
|
2203
|
-
if (h !== void 0 &&
|
|
2204
|
-
if (_ !== void 0 &&
|
|
2205
|
-
if (p !== void 0 &&
|
|
2201
|
+
if (m !== void 0 && P.roles.get(t)?.props["aria-valuenow"] === void 0) throw Error("\"aria-valuenow\" is not supported on role \"" + t + "\".");
|
|
2202
|
+
if (g !== void 0 && P.roles.get(t)?.props["aria-valuemax"] === void 0) throw Error("\"aria-valuemax\" is not supported on role \"" + t + "\".");
|
|
2203
|
+
if (h !== void 0 && P.roles.get(t)?.props["aria-valuemin"] === void 0) throw Error("\"aria-valuemin\" is not supported on role \"" + t + "\".");
|
|
2204
|
+
if (_ !== void 0 && P.roles.get(t)?.props["aria-valuetext"] === void 0) throw Error("\"aria-valuetext\" is not supported on role \"" + t + "\".");
|
|
2205
|
+
if (p !== void 0 && P.roles.get(t)?.props["aria-expanded"] === void 0) throw Error("\"aria-expanded\" is not supported on role \"" + t + "\".");
|
|
2206
2206
|
let v = /* @__PURE__ */ new WeakMap();
|
|
2207
2207
|
function y(e) {
|
|
2208
|
-
return v.has(e) || v.set(e,
|
|
2208
|
+
return v.has(e) || v.set(e, Qt(e)), v.get(e);
|
|
2209
2209
|
}
|
|
2210
|
-
return Array.from(e.querySelectorAll(
|
|
2210
|
+
return Array.from(e.querySelectorAll(Fr(t))).filter((e) => {
|
|
2211
2211
|
if (e.hasAttribute("role")) {
|
|
2212
2212
|
let n = e.getAttribute("role");
|
|
2213
2213
|
if (o) return n.split(" ").filter(Boolean).some((e) => e === t);
|
|
2214
2214
|
let [r] = n.split(" ");
|
|
2215
2215
|
return r === t;
|
|
2216
2216
|
}
|
|
2217
|
-
return
|
|
2217
|
+
return en(e).some((e) => e === t);
|
|
2218
2218
|
}).filter((e) => {
|
|
2219
|
-
if (s !== void 0) return s ===
|
|
2220
|
-
if (c !== void 0) return c ===
|
|
2221
|
-
if (l !== void 0) return l ===
|
|
2222
|
-
if (u !== void 0) return u ===
|
|
2223
|
-
if (d !== void 0) return d ===
|
|
2224
|
-
if (p !== void 0) return p ===
|
|
2225
|
-
if (f !== void 0) return f ===
|
|
2219
|
+
if (s !== void 0) return s === an(e);
|
|
2220
|
+
if (c !== void 0) return c === on(e);
|
|
2221
|
+
if (l !== void 0) return l === sn(e);
|
|
2222
|
+
if (u !== void 0) return u === cn(e);
|
|
2223
|
+
if (d !== void 0) return d === ln(e);
|
|
2224
|
+
if (p !== void 0) return p === un(e);
|
|
2225
|
+
if (f !== void 0) return f === dn(e);
|
|
2226
2226
|
if (m !== void 0 || g !== void 0 || h !== void 0 || _ !== void 0) {
|
|
2227
2227
|
let t = !0;
|
|
2228
|
-
return m !== void 0 && (t &&= m ===
|
|
2228
|
+
return m !== void 0 && (t &&= m === fn(e)), g !== void 0 && (t &&= g === pn(e)), h !== void 0 && (t &&= h === mn(e)), _ !== void 0 && (t &&= B(hn(e) ?? null, e, _, (e) => e)), t;
|
|
2229
2229
|
}
|
|
2230
2230
|
return !0;
|
|
2231
|
-
}).filter((e) => i === void 0 ? !0 :
|
|
2231
|
+
}).filter((e) => i === void 0 ? !0 : B(nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }), e, i, (e) => e)).filter((e) => a === void 0 ? !0 : B(et(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }), e, a, (e) => e)).filter((e) => r === !1 ? $t(e, { isSubtreeInaccessible: y }) === !1 : !0);
|
|
2232
2232
|
};
|
|
2233
|
-
function
|
|
2234
|
-
let t = "*[role~=\"" + e + "\"]", n =
|
|
2233
|
+
function Fr(e) {
|
|
2234
|
+
let t = "*[role~=\"" + e + "\"]", n = P.roleElements.get(e) ?? /* @__PURE__ */ new Set(), r = new Set(Array.from(n).map((e) => {
|
|
2235
2235
|
let { name: t } = e;
|
|
2236
2236
|
return t;
|
|
2237
2237
|
}));
|
|
2238
2238
|
return [t].concat(Array.from(r)).join(",");
|
|
2239
2239
|
}
|
|
2240
|
-
var
|
|
2240
|
+
var Ir = (e) => {
|
|
2241
2241
|
let t = "";
|
|
2242
2242
|
return t = e === void 0 ? "" : typeof e == "string" ? " and name \"" + e + "\"" : " and name `" + e + "`", t;
|
|
2243
|
-
},
|
|
2243
|
+
}, Lr = function(e, t, n) {
|
|
2244
2244
|
let { name: r } = n === void 0 ? {} : n;
|
|
2245
|
-
return "Found multiple elements with the role \"" + t + "\"" +
|
|
2246
|
-
},
|
|
2247
|
-
let { hidden: r =
|
|
2248
|
-
if (
|
|
2245
|
+
return "Found multiple elements with the role \"" + t + "\"" + Ir(r);
|
|
2246
|
+
}, Rr = function(e, t, n) {
|
|
2247
|
+
let { hidden: r = R().defaultHidden, name: i, description: a } = n === void 0 ? {} : n;
|
|
2248
|
+
if (R()._disableExpensiveErrorDiagnostics) return "Unable to find role=\"" + t + "\"" + Ir(i);
|
|
2249
2249
|
let o = "";
|
|
2250
2250
|
Array.from(e.children).forEach((e) => {
|
|
2251
|
-
o +=
|
|
2251
|
+
o += rn(e, {
|
|
2252
2252
|
hidden: r,
|
|
2253
2253
|
includeDescription: a !== void 0
|
|
2254
2254
|
});
|
|
@@ -2259,64 +2259,64 @@ var Pr = (e) => {
|
|
|
2259
2259
|
c = i === void 0 ? "" : typeof i == "string" ? " and name \"" + i + "\"" : " and name `" + i + "`";
|
|
2260
2260
|
let l = "";
|
|
2261
2261
|
return l = a === void 0 ? "" : typeof a == "string" ? " and description \"" + a + "\"" : " and description `" + a + "`", ("\nUnable to find an " + (r === !1 ? "accessible " : "") + "element with the role \"" + t + "\"" + c + l + "\n\n" + s).trim();
|
|
2262
|
-
},
|
|
2262
|
+
}, zr = K(Pr, Pr.name, "queryAll"), [Br, Vr, Hr, Ur, Wr] = q(Pr, Lr, Rr), Gr = () => R().testIdAttribute, Kr = function() {
|
|
2263
2263
|
var e = [...arguments];
|
|
2264
|
-
return
|
|
2265
|
-
},
|
|
2264
|
+
return F(e[0]), Tn(Gr(), ...e);
|
|
2265
|
+
}, qr = (e, t) => "Found multiple elements by: [" + Gr() + "=\"" + t + "\"]", Jr = (e, t) => "Unable to find an element by: [" + Gr() + "=\"" + t + "\"]", Yr = K(Kr, Kr.name, "queryAll"), [Xr, Zr, Qr, $r, ei] = q(Kr, qr, Jr), ti = /* @__PURE__ */ Object.freeze({
|
|
2266
2266
|
__proto__: null,
|
|
2267
|
-
queryAllByLabelText:
|
|
2268
|
-
queryByLabelText:
|
|
2269
|
-
getAllByLabelText:
|
|
2270
|
-
getByLabelText:
|
|
2271
|
-
findAllByLabelText:
|
|
2272
|
-
findByLabelText:
|
|
2273
|
-
queryByPlaceholderText:
|
|
2274
|
-
queryAllByPlaceholderText:
|
|
2275
|
-
getByPlaceholderText:
|
|
2276
|
-
getAllByPlaceholderText:
|
|
2277
|
-
findAllByPlaceholderText:
|
|
2278
|
-
findByPlaceholderText:
|
|
2279
|
-
queryByText:
|
|
2280
|
-
queryAllByText:
|
|
2281
|
-
getByText:
|
|
2282
|
-
getAllByText:
|
|
2283
|
-
findAllByText:
|
|
2284
|
-
findByText:
|
|
2285
|
-
queryByDisplayValue:
|
|
2286
|
-
queryAllByDisplayValue:
|
|
2287
|
-
getByDisplayValue:
|
|
2288
|
-
getAllByDisplayValue:
|
|
2289
|
-
findAllByDisplayValue:
|
|
2290
|
-
findByDisplayValue:
|
|
2291
|
-
queryByAltText:
|
|
2292
|
-
queryAllByAltText:
|
|
2293
|
-
getByAltText:
|
|
2294
|
-
getAllByAltText:
|
|
2295
|
-
findAllByAltText:
|
|
2296
|
-
findByAltText:
|
|
2297
|
-
queryByTitle:
|
|
2298
|
-
queryAllByTitle:
|
|
2299
|
-
getByTitle:
|
|
2300
|
-
getAllByTitle:
|
|
2301
|
-
findAllByTitle:
|
|
2302
|
-
findByTitle:
|
|
2303
|
-
queryByRole:
|
|
2304
|
-
queryAllByRole:
|
|
2305
|
-
getAllByRole:
|
|
2306
|
-
getByRole:
|
|
2307
|
-
findAllByRole:
|
|
2308
|
-
findByRole:
|
|
2309
|
-
queryByTestId:
|
|
2310
|
-
queryAllByTestId:
|
|
2311
|
-
getByTestId:
|
|
2312
|
-
getAllByTestId:
|
|
2313
|
-
findAllByTestId:
|
|
2314
|
-
findByTestId:
|
|
2267
|
+
queryAllByLabelText: Bn,
|
|
2268
|
+
queryByLabelText: Pn,
|
|
2269
|
+
getAllByLabelText: Rn,
|
|
2270
|
+
getByLabelText: zn,
|
|
2271
|
+
findAllByLabelText: In,
|
|
2272
|
+
findByLabelText: Ln,
|
|
2273
|
+
queryByPlaceholderText: Gn,
|
|
2274
|
+
queryAllByPlaceholderText: Wn,
|
|
2275
|
+
getByPlaceholderText: qn,
|
|
2276
|
+
getAllByPlaceholderText: Kn,
|
|
2277
|
+
findAllByPlaceholderText: Jn,
|
|
2278
|
+
findByPlaceholderText: Yn,
|
|
2279
|
+
queryByText: er,
|
|
2280
|
+
queryAllByText: $n,
|
|
2281
|
+
getByText: nr,
|
|
2282
|
+
getAllByText: tr,
|
|
2283
|
+
findAllByText: rr,
|
|
2284
|
+
findByText: ir,
|
|
2285
|
+
queryByDisplayValue: lr,
|
|
2286
|
+
queryAllByDisplayValue: cr,
|
|
2287
|
+
getByDisplayValue: dr,
|
|
2288
|
+
getAllByDisplayValue: ur,
|
|
2289
|
+
findAllByDisplayValue: fr,
|
|
2290
|
+
findByDisplayValue: pr,
|
|
2291
|
+
queryByAltText: yr,
|
|
2292
|
+
queryAllByAltText: vr,
|
|
2293
|
+
getByAltText: xr,
|
|
2294
|
+
getAllByAltText: br,
|
|
2295
|
+
findAllByAltText: Sr,
|
|
2296
|
+
findByAltText: Cr,
|
|
2297
|
+
queryByTitle: kr,
|
|
2298
|
+
queryAllByTitle: Or,
|
|
2299
|
+
getByTitle: jr,
|
|
2300
|
+
getAllByTitle: Ar,
|
|
2301
|
+
findAllByTitle: Mr,
|
|
2302
|
+
findByTitle: Nr,
|
|
2303
|
+
queryByRole: Br,
|
|
2304
|
+
queryAllByRole: zr,
|
|
2305
|
+
getAllByRole: Vr,
|
|
2306
|
+
getByRole: Hr,
|
|
2307
|
+
findAllByRole: Ur,
|
|
2308
|
+
findByRole: Wr,
|
|
2309
|
+
queryByTestId: Xr,
|
|
2310
|
+
queryAllByTestId: Yr,
|
|
2311
|
+
getByTestId: Qr,
|
|
2312
|
+
getAllByTestId: Zr,
|
|
2313
|
+
findAllByTestId: $r,
|
|
2314
|
+
findByTestId: ei
|
|
2315
2315
|
});
|
|
2316
|
-
function
|
|
2317
|
-
return t === void 0 && (t =
|
|
2316
|
+
function ni(e, t, n) {
|
|
2317
|
+
return t === void 0 && (t = ti), n === void 0 && (n = {}), Object.keys(t).reduce((n, r) => (n[r] = t[r].bind(null, e), n), n);
|
|
2318
2318
|
}
|
|
2319
|
-
var
|
|
2319
|
+
var ri = {
|
|
2320
2320
|
copy: {
|
|
2321
2321
|
EventType: "ClipboardEvent",
|
|
2322
2322
|
defaultInit: {
|
|
@@ -2996,28 +2996,28 @@ var ti = {
|
|
|
2996
2996
|
cancelable: !0
|
|
2997
2997
|
}
|
|
2998
2998
|
}
|
|
2999
|
-
},
|
|
2999
|
+
}, ii = { doubleClick: "dblClick" };
|
|
3000
3000
|
function X(e, t) {
|
|
3001
|
-
return
|
|
3001
|
+
return R().eventWrapper(() => {
|
|
3002
3002
|
if (!t) throw Error("Unable to fire an event - please provide an event object.");
|
|
3003
3003
|
if (!e) throw Error("Unable to fire a \"" + t.type + "\" event - please provide a DOM element.");
|
|
3004
3004
|
return e.dispatchEvent(t);
|
|
3005
3005
|
});
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
3007
|
+
function ai(e, t, n, r) {
|
|
3008
3008
|
let { EventType: i = "Event", defaultInit: a = {} } = r === void 0 ? {} : r;
|
|
3009
3009
|
if (!t) throw Error("Unable to fire a \"" + e + "\" event - please provide a DOM element.");
|
|
3010
3010
|
let o = {
|
|
3011
3011
|
...a,
|
|
3012
3012
|
...n
|
|
3013
3013
|
}, { target: { value: s, files: c, ...l } = {} } = o;
|
|
3014
|
-
s !== void 0 &&
|
|
3014
|
+
s !== void 0 && oi(t, s), c !== void 0 && Object.defineProperty(t, "files", {
|
|
3015
3015
|
configurable: !0,
|
|
3016
3016
|
enumerable: !0,
|
|
3017
3017
|
writable: !0,
|
|
3018
3018
|
value: c
|
|
3019
3019
|
}), Object.assign(t, l);
|
|
3020
|
-
let u =
|
|
3020
|
+
let u = Mt(t), d = u[i] || u.Event, f;
|
|
3021
3021
|
/* istanbul ignore else */
|
|
3022
3022
|
if (typeof d == "function") f = new d(e, o);
|
|
3023
3023
|
else {
|
|
@@ -3032,38 +3032,38 @@ function ri(e, t, n, r) {
|
|
|
3032
3032
|
typeof t == "object" && (typeof u.DataTransfer == "function" ? Object.defineProperty(f, e, { value: Object.getOwnPropertyNames(t).reduce((e, n) => (Object.defineProperty(e, n, { value: t[n] }), e), new u.DataTransfer()) }) : Object.defineProperty(f, e, { value: t }));
|
|
3033
3033
|
}), f;
|
|
3034
3034
|
}
|
|
3035
|
-
Object.keys(
|
|
3036
|
-
let { EventType: t, defaultInit: n } =
|
|
3037
|
-
|
|
3035
|
+
Object.keys(ri).forEach((e) => {
|
|
3036
|
+
let { EventType: t, defaultInit: n } = ri[e], r = e.toLowerCase();
|
|
3037
|
+
ai[e] = (e, i) => ai(r, e, i, {
|
|
3038
3038
|
EventType: t,
|
|
3039
3039
|
defaultInit: n
|
|
3040
|
-
}), X[e] = (t, n) => X(t,
|
|
3040
|
+
}), X[e] = (t, n) => X(t, ai[e](t, n));
|
|
3041
3041
|
});
|
|
3042
|
-
function
|
|
3042
|
+
function oi(e, t) {
|
|
3043
3043
|
let { set: n } = Object.getOwnPropertyDescriptor(e, "value") || {}, { set: r } = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), "value") || {};
|
|
3044
3044
|
if (r && n !== r) r.call(e, t);
|
|
3045
3045
|
else if (n) n.call(e, t);
|
|
3046
3046
|
else throw Error("The given element does not have a value setter");
|
|
3047
3047
|
}
|
|
3048
|
-
Object.keys(
|
|
3049
|
-
let t =
|
|
3048
|
+
Object.keys(ii).forEach((e) => {
|
|
3049
|
+
let t = ii[e];
|
|
3050
3050
|
X[e] = function() {
|
|
3051
3051
|
return X[t](...arguments);
|
|
3052
3052
|
};
|
|
3053
3053
|
});
|
|
3054
|
-
function
|
|
3054
|
+
function si(e) {
|
|
3055
3055
|
return e.replace(/[ \t]*[\n][ \t]*/g, "\n");
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3058
|
-
return
|
|
3057
|
+
function ci(e) {
|
|
3058
|
+
return it.default.compressToEncodedURIComponent(si(e));
|
|
3059
3059
|
}
|
|
3060
|
-
function
|
|
3061
|
-
return "https://testing-playground.com/#markup=" +
|
|
3060
|
+
function li(e) {
|
|
3061
|
+
return "https://testing-playground.com/#markup=" + ci(e);
|
|
3062
3062
|
}
|
|
3063
|
-
var
|
|
3064
|
-
debug: (e, t, n) => Array.isArray(e) ? e.forEach((e) =>
|
|
3063
|
+
var ui = {
|
|
3064
|
+
debug: (e, t, n) => Array.isArray(e) ? e.forEach((e) => Rt(e, t, n)) : Rt(e, t, n),
|
|
3065
3065
|
logTestingPlaygroundURL: function(e) {
|
|
3066
|
-
if (e === void 0 && (e =
|
|
3066
|
+
if (e === void 0 && (e = jt().body), !e || !("innerHTML" in e)) {
|
|
3067
3067
|
console.log("The element you're providing isn't a valid DOM element.");
|
|
3068
3068
|
return;
|
|
3069
3069
|
}
|
|
@@ -3071,12 +3071,12 @@ var ci = {
|
|
|
3071
3071
|
console.log("The provided element doesn't have any children.");
|
|
3072
3072
|
return;
|
|
3073
3073
|
}
|
|
3074
|
-
let t =
|
|
3074
|
+
let t = li(e.innerHTML);
|
|
3075
3075
|
return console.log("Open this URL in your browser\n\n" + t), t;
|
|
3076
3076
|
}
|
|
3077
|
-
},
|
|
3077
|
+
}, di = typeof document < "u" && document.body ? ni(document.body, ti, ui) : Object.keys(ti).reduce((e, t) => (e[t] = () => {
|
|
3078
3078
|
throw TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
|
|
3079
|
-
}, e),
|
|
3079
|
+
}, e), ui), fi = typeof a.act == "function" ? a.act : C.act;
|
|
3080
3080
|
function pi() {
|
|
3081
3081
|
/* istanbul ignore else */
|
|
3082
3082
|
if (typeof globalThis < "u") return globalThis;
|
|
@@ -3136,14 +3136,14 @@ $.blur = (...e) => ($.focusOut(...e), xi(...e)), $.focus = (...e) => ($.focusIn(
|
|
|
3136
3136
|
var Ci = { reactStrictMode: !1 };
|
|
3137
3137
|
function wi() {
|
|
3138
3138
|
return {
|
|
3139
|
-
...
|
|
3139
|
+
...R(),
|
|
3140
3140
|
...Ci
|
|
3141
3141
|
};
|
|
3142
3142
|
}
|
|
3143
3143
|
function Ti() {
|
|
3144
3144
|
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
3145
3145
|
}
|
|
3146
|
-
|
|
3146
|
+
Bt({
|
|
3147
3147
|
unstable_advanceTimersWrapper: (e) => Q(e),
|
|
3148
3148
|
asyncWrapper: async (e) => {
|
|
3149
3149
|
let t = mi();
|
|
@@ -3176,11 +3176,11 @@ function ki(e, t) {
|
|
|
3176
3176
|
function Ai(e, { hydrate: t, onCaughtError: n, onRecoverableError: r, ui: i, wrapper: a, reactStrictMode: o }) {
|
|
3177
3177
|
let s;
|
|
3178
3178
|
return t ? Q(() => {
|
|
3179
|
-
s =
|
|
3179
|
+
s = w.hydrateRoot(e, Oi(ki(i, a), o), {
|
|
3180
3180
|
onCaughtError: n,
|
|
3181
3181
|
onRecoverableError: r
|
|
3182
3182
|
});
|
|
3183
|
-
}) : s =
|
|
3183
|
+
}) : s = w.createRoot(e, {
|
|
3184
3184
|
onCaughtError: n,
|
|
3185
3185
|
onRecoverableError: r
|
|
3186
3186
|
}), {
|
|
@@ -3215,7 +3215,7 @@ function Mi(e, { baseElement: t, container: n, hydrate: r, queries: i, root: a,
|
|
|
3215
3215
|
}), {
|
|
3216
3216
|
container: n,
|
|
3217
3217
|
baseElement: t,
|
|
3218
|
-
debug: (e = t, n, r) => Array.isArray(e) ? e.forEach((e) => console.log(
|
|
3218
|
+
debug: (e = t, n, r) => Array.isArray(e) ? e.forEach((e) => console.log(I(e, n, r))) : console.log(I(e, n, r)),
|
|
3219
3219
|
unmount: () => {
|
|
3220
3220
|
Q(() => {
|
|
3221
3221
|
a.unmount();
|
|
@@ -3238,7 +3238,7 @@ function Mi(e, { baseElement: t, container: n, hydrate: r, queries: i, root: a,
|
|
|
3238
3238
|
return e.innerHTML = n.innerHTML, e.content;
|
|
3239
3239
|
}
|
|
3240
3240
|
},
|
|
3241
|
-
...
|
|
3241
|
+
...ni(t, i)
|
|
3242
3242
|
};
|
|
3243
3243
|
}
|
|
3244
3244
|
function Ni(e, { container: t, baseElement: n = t, legacyRoot: r = !1, onCaughtError: i, onUncaughtError: a, onRecoverableError: s, queries: c, hydrate: l = !1, wrapper: u, reactStrictMode: d } = {}) {
|
|
@@ -3292,6 +3292,6 @@ if ((typeof process > "u" || !process.env?.RTL_SKIP_AUTO_CLEANUP) && (typeof aft
|
|
|
3292
3292
|
});
|
|
3293
3293
|
}
|
|
3294
3294
|
//#endregion
|
|
3295
|
-
export {
|
|
3295
|
+
export { Sn as a, di as i, Ni as n, R as r, $ as t };
|
|
3296
3296
|
|
|
3297
|
-
//# sourceMappingURL=react.esm-
|
|
3297
|
+
//# sourceMappingURL=react.esm-R7eBXTUI.js.map
|