@uva-glass/component-library 3.55.1 → 3.55.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion-BpnBHYIx.js +69 -0
- package/dist/Accordion-BpnBHYIx.js.map +1 -0
- package/dist/AccordionCard-BXy-plB7.js +43 -0
- package/dist/AccordionCard-BXy-plB7.js.map +1 -0
- package/dist/ActionList-O9w1hqNg.js +95 -0
- package/dist/ActionList-O9w1hqNg.js.map +1 -0
- package/dist/AddCatalogueLinkForm-Cy6fPNvN.js +117 -0
- package/dist/AddCatalogueLinkForm-Cy6fPNvN.js.map +1 -0
- package/dist/AppStatusBar-Bca0KFDR.js +20 -0
- package/dist/AppStatusBar-Bca0KFDR.js.map +1 -0
- package/dist/Attention-Bq5UU9I8.js +13 -0
- package/dist/Attention-Bq5UU9I8.js.map +1 -0
- package/dist/Backdrop-D8AHeuBn.js +10 -0
- package/dist/Backdrop-D8AHeuBn.js.map +1 -0
- package/dist/Button.module-DJlNwQUj.js +16 -0
- package/dist/Button.module-DJlNwQUj.js.map +1 -0
- package/dist/ButtonGroup-DR80lTLz.js +21 -0
- package/dist/ButtonGroup-DR80lTLz.js.map +1 -0
- package/dist/Card-DMFyuTmy.js +32 -0
- package/dist/Card-DMFyuTmy.js.map +1 -0
- package/dist/Checkbox-D6-b_4dC.js +12 -0
- package/dist/Checkbox-D6-b_4dC.js.map +1 -0
- package/dist/CheckboxButtonBar-CalU0IYK.js +79 -0
- package/dist/CheckboxButtonBar-CalU0IYK.js.map +1 -0
- package/dist/Chip-DJHvFToV.js +22 -0
- package/dist/Chip-DJHvFToV.js.map +1 -0
- package/dist/ClipboardButton-geHjMl2J.js +43 -0
- package/dist/ClipboardButton-geHjMl2J.js.map +1 -0
- package/dist/Column-BwKEOOuL.js +84 -0
- package/dist/Column-BwKEOOuL.js.map +1 -0
- package/dist/Container-BLjtYDqq.js +31 -0
- package/dist/Container-BLjtYDqq.js.map +1 -0
- package/dist/ControlsButton-zemVxTlg.js +64 -0
- package/dist/ControlsButton-zemVxTlg.js.map +1 -0
- package/dist/CopyableText-DkyhZ6wk.js +57 -0
- package/dist/CopyableText-DkyhZ6wk.js.map +1 -0
- package/dist/Drawer-Ggofac6y.js +77 -0
- package/dist/Drawer-Ggofac6y.js.map +1 -0
- package/dist/EmptyStateDataDisplay-D0QiI8nE.js +46 -0
- package/dist/EmptyStateDataDisplay-D0QiI8nE.js.map +1 -0
- package/dist/ExpandableInfoPanel-CnBVVNlJ.js +58 -0
- package/dist/ExpandableInfoPanel-CnBVVNlJ.js.map +1 -0
- package/dist/FeedbackBar-ByKp32HE.js +43 -0
- package/dist/FeedbackBar-ByKp32HE.js.map +1 -0
- package/dist/FeedbackBox-Bu7uB9DP.js +29 -0
- package/dist/FeedbackBox-Bu7uB9DP.js.map +1 -0
- package/dist/FieldHint-D0HtbTnt.js +16 -0
- package/dist/FieldHint-D0HtbTnt.js.map +1 -0
- package/dist/Fieldset-CoNu_Owa.js +23 -0
- package/dist/Fieldset-CoNu_Owa.js.map +1 -0
- package/dist/Flyout-DEpzfZOC.js +18 -0
- package/dist/Flyout-DEpzfZOC.js.map +1 -0
- package/dist/FormField-BZSoQdp9.js +21 -0
- package/dist/FormField-BZSoQdp9.js.map +1 -0
- package/dist/HorizontalList-C22DaDz-.js +20 -0
- package/dist/HorizontalList-C22DaDz-.js.map +1 -0
- package/dist/IconButton-CWCMH9uf.js +24 -0
- package/dist/IconButton-CWCMH9uf.js.map +1 -0
- package/dist/InfoBanner-DyznQLGr.js +13 -0
- package/dist/InfoBanner-DyznQLGr.js.map +1 -0
- package/dist/InfoMessage-I-VlwxVc.js +19 -0
- package/dist/InfoMessage-I-VlwxVc.js.map +1 -0
- package/dist/Input-Bn-arMaC.js +25 -0
- package/dist/Input-Bn-arMaC.js.map +1 -0
- package/dist/InputField-BWAy19w9.js +51 -0
- package/dist/InputField-BWAy19w9.js.map +1 -0
- package/dist/Label-o0BcWTUS.js +21 -0
- package/dist/Label-o0BcWTUS.js.map +1 -0
- package/dist/Lexical.prod-DIglXatJ.js +5246 -0
- package/dist/Lexical.prod-DIglXatJ.js.map +1 -0
- package/dist/LexicalClipboard.prod-Bnzu0sh_.js +248 -0
- package/dist/LexicalClipboard.prod-Bnzu0sh_.js.map +1 -0
- package/dist/LexicalComposerContext.prod-Ca-YN_fj.js +22 -0
- package/dist/LexicalComposerContext.prod-Ca-YN_fj.js.map +1 -0
- package/dist/LexicalExtension.prod-COPHoPpX.js +886 -0
- package/dist/LexicalExtension.prod-COPHoPpX.js.map +1 -0
- package/dist/LexicalLink.prod-Bf9JUdMv.js +683 -0
- package/dist/LexicalLink.prod-Bf9JUdMv.js.map +1 -0
- package/dist/LexicalList.prod-DRz8vsM9.js +766 -0
- package/dist/LexicalList.prod-DRz8vsM9.js.map +1 -0
- package/dist/LexicalTable.prod-D16GW-aZ.js +2003 -0
- package/dist/LexicalTable.prod-D16GW-aZ.js.map +1 -0
- package/dist/LexicalUtils.prod-BBTLliac.js +360 -0
- package/dist/LexicalUtils.prod-BBTLliac.js.map +1 -0
- package/dist/LinkContextMenu-m_CGQEiX.js +101 -0
- package/dist/LinkContextMenu-m_CGQEiX.js.map +1 -0
- package/dist/MenuLink-Cm1yZO_5.js +21 -0
- package/dist/MenuLink-Cm1yZO_5.js.map +1 -0
- package/dist/MetaDataBar-C4QO9oBV.js +23 -0
- package/dist/MetaDataBar-C4QO9oBV.js.map +1 -0
- package/dist/MetaDataList-CAR1HTYs.js +24 -0
- package/dist/MetaDataList-CAR1HTYs.js.map +1 -0
- package/dist/ModalDialog-HUkDdAJ-.js +114 -0
- package/dist/ModalDialog-HUkDdAJ-.js.map +1 -0
- package/dist/MultiSelectBox-Cuh_o-A1.js +189 -0
- package/dist/MultiSelectBox-Cuh_o-A1.js.map +1 -0
- package/dist/MultiSelectItem-BF5xRjz5.js +36 -0
- package/dist/MultiSelectItem-BF5xRjz5.js.map +1 -0
- package/dist/Notification-CIhsHuF0.js +68 -0
- package/dist/Notification-CIhsHuF0.js.map +1 -0
- package/dist/OverlayCloseButton-rttFbAM_.js +22 -0
- package/dist/OverlayCloseButton-rttFbAM_.js.map +1 -0
- package/dist/OverlayStepBar-CjaoYdsh.js +45 -0
- package/dist/OverlayStepBar-CjaoYdsh.js.map +1 -0
- package/dist/PageOverlay-D_wG2oie.js +108 -0
- package/dist/PageOverlay-D_wG2oie.js.map +1 -0
- package/dist/PasteHandlerPlugin-DjD1wryY.js +235 -0
- package/dist/PasteHandlerPlugin-DjD1wryY.js.map +1 -0
- package/dist/Periods-BYETtB6R.js +40 -0
- package/dist/Periods-BYETtB6R.js.map +1 -0
- package/dist/ProgrammeCard-76gG7ksx.js +27 -0
- package/dist/ProgrammeCard-76gG7ksx.js.map +1 -0
- package/dist/RadioButton-Bto2p5B9.js +35 -0
- package/dist/RadioButton-Bto2p5B9.js.map +1 -0
- package/dist/RadioGroup-JeTjVp5B.js +50 -0
- package/dist/RadioGroup-JeTjVp5B.js.map +1 -0
- package/dist/Repeater-BhkTEUai.js +22 -0
- package/dist/Repeater-BhkTEUai.js.map +1 -0
- package/dist/RteEditor.module-Jk80F1FA.js +42 -0
- package/dist/RteEditor.module-Jk80F1FA.js.map +1 -0
- package/dist/SearchField.module-BgxjHaPG.js +19 -0
- package/dist/SearchField.module-BgxjHaPG.js.map +1 -0
- package/dist/SectionNotification-CQqwPTqP.js +14 -0
- package/dist/SectionNotification-CQqwPTqP.js.map +1 -0
- package/dist/SelectListbox.module-HaPs1CLD.js +30 -0
- package/dist/SelectListbox.module-HaPs1CLD.js.map +1 -0
- package/dist/Slider-BlLyrET9.js +102 -0
- package/dist/Slider-BlLyrET9.js.map +1 -0
- package/dist/Sortable.module-BTUOSbOU.js +27 -0
- package/dist/Sortable.module-BTUOSbOU.js.map +1 -0
- package/dist/SortableProvider-Dc7hwkb5.js +147 -0
- package/dist/SortableProvider-Dc7hwkb5.js.map +1 -0
- package/dist/Spinner-D8tWqg9j.js +31 -0
- package/dist/Spinner-D8tWqg9j.js.map +1 -0
- package/dist/StatusBage-DQDOF5-U.js +13 -0
- package/dist/StatusBage-DQDOF5-U.js.map +1 -0
- package/dist/StatusPill-DM7n3I4W.js +30 -0
- package/dist/StatusPill-DM7n3I4W.js.map +1 -0
- package/dist/TableCellContextMenu-D0IMQr3E.js +119 -0
- package/dist/TableCellContextMenu-D0IMQr3E.js.map +1 -0
- package/dist/TableCellResizerPlugin-CgYsYsuY.js +208 -0
- package/dist/TableCellResizerPlugin-CgYsYsuY.js.map +1 -0
- package/dist/TextArea-DqKIpOfT.js +68 -0
- package/dist/TextArea-DqKIpOfT.js.map +1 -0
- package/dist/ToggleSwitch-C7z7JVtx.js +51 -0
- package/dist/ToggleSwitch-C7z7JVtx.js.map +1 -0
- package/dist/Tooltip-BzB3jznk.js +80 -0
- package/dist/Tooltip-BzB3jznk.js.map +1 -0
- package/dist/VarIndicator-C-GueOZD.js +50 -0
- package/dist/VarIndicator-C-GueOZD.js.map +1 -0
- package/dist/WeekSelector.module-BLPrVYgn.js +18 -0
- package/dist/WeekSelector.module-BLPrVYgn.js.map +1 -0
- package/dist/__mocks__/svgrMock.js +12 -9
- package/dist/__mocks__/svgrMock.js.map +1 -1
- package/dist/assets/Accordion.css +1 -1
- package/dist/assets/AccordionCard.css +1 -1
- package/dist/assets/ActionList.css +1 -1
- package/dist/assets/AddCatalogueLinkForm.css +1 -1
- package/dist/assets/AppStatusBar.css +1 -1
- package/dist/assets/Attention.css +1 -1
- package/dist/assets/Backdrop.css +1 -1
- package/dist/assets/Backdrop2.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/CheckboxButtonBar.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/ClipboardButton.css +1 -1
- package/dist/assets/Column.css +1 -1
- package/dist/assets/Container.css +1 -1
- package/dist/assets/ControlsButton.css +1 -1
- package/dist/assets/CopyableText.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/EmptyStateDataDisplay.css +1 -1
- package/dist/assets/ExpandableInfoPanel.css +1 -1
- package/dist/assets/FeedbackBar.css +1 -1
- package/dist/assets/FeedbackBox.css +1 -1
- package/dist/assets/Fieldset.css +1 -1
- package/dist/assets/Flyout.css +1 -1
- package/dist/assets/FormField.css +1 -1
- package/dist/assets/GridRow.css +1 -1
- package/dist/assets/HorizontalList.css +1 -1
- package/dist/assets/Icon.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/InfoBanner.css +1 -1
- package/dist/assets/InfoMessage.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputField.css +1 -1
- package/dist/assets/Label.css +1 -1
- package/dist/assets/LinkContextMenu.css +1 -1
- package/dist/assets/MenuLink.css +1 -1
- package/dist/assets/MenuLink2.css +1 -1
- package/dist/assets/MetaDataBar.css +1 -1
- package/dist/assets/MetaDataList.css +1 -1
- package/dist/assets/ModalDialog.css +1 -1
- package/dist/assets/MultiSelectBox.css +1 -1
- package/dist/assets/MultiSelectItem.css +1 -1
- package/dist/assets/Notification.css +1 -1
- package/dist/assets/OverlayCloseButton.css +1 -1
- package/dist/assets/OverlayStepBar.css +1 -1
- package/dist/assets/PageOverlay.css +1 -1
- package/dist/assets/Periods.css +1 -1
- package/dist/assets/ProgrammeCard.css +1 -1
- package/dist/assets/RadioButton.css +1 -1
- package/dist/assets/RadioButton2.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/RteEditor.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/Spinner.css +1 -1
- package/dist/assets/StatusBage.css +1 -1
- package/dist/assets/StatusPill.css +1 -1
- package/dist/assets/TableCellContextMenu.css +1 -1
- package/dist/assets/TextArea.css +1 -1
- package/dist/assets/ToggleSwitch.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/VarIndicator.css +1 -1
- package/dist/assets/WeekSelector.css +1 -1
- package/dist/assets/components.css +1 -0
- package/dist/chunk-DeC0fbbY.js +23 -0
- package/dist/chunk-SZQXB3JV-D0XG4Tlp.js +8448 -0
- package/dist/chunk-SZQXB3JV-D0XG4Tlp.js.map +1 -0
- package/dist/client-UU-mS47K.js +18953 -0
- package/dist/client-UU-mS47K.js.map +1 -0
- package/dist/clsx-BD2qMUU1.js +18 -0
- package/dist/clsx-BD2qMUU1.js.map +1 -0
- package/dist/components/Accordion/Accordion.js +2 -94
- package/dist/components/Accordion/Accordion.stories.js +30 -32
- package/dist/components/Accordion/Accordion.stories.js.map +1 -1
- package/dist/components/Accordion/Accordion.test.js +49 -27
- package/dist/components/Accordion/Accordion.test.js.map +1 -1
- package/dist/components/Accordion/index.js +2 -5
- package/dist/components/AccordionCard/AccordionCard.js +2 -58
- package/dist/components/AccordionCard/AccordionCard.stories.js +31 -32
- package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +54 -31
- package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
- package/dist/components/AccordionCard/index.js +2 -5
- package/dist/components/ActionList/ActionList.js +2 -83
- package/dist/components/ActionList/ActionList.stories.js +49 -38
- package/dist/components/ActionList/ActionList.stories.js.map +1 -1
- package/dist/components/ActionList/ActionList.test.js +97 -57
- package/dist/components/ActionList/ActionList.test.js.map +1 -1
- package/dist/components/ActionList/index.js +2 -5
- package/dist/components/AppStatusBar/AppStatusBar.js +2 -13
- package/dist/components/AppStatusBar/AppStatusBar.stories.js +25 -26
- package/dist/components/AppStatusBar/AppStatusBar.stories.js.map +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +17 -8
- package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
- package/dist/components/AppStatusBar/index.js +2 -5
- package/dist/components/Attention/Attention.js +2 -12
- package/dist/components/Attention/Attention.stories.js +18 -16
- package/dist/components/Attention/Attention.stories.js.map +1 -1
- package/dist/components/Attention/Attention.test.js +14 -8
- package/dist/components/Attention/Attention.test.js.map +1 -1
- package/dist/components/Attention/index.js +2 -5
- package/dist/components/Backdrop/Backdrop.js +2 -8
- package/dist/components/Backdrop/Backdrop.stories.js +32 -28
- package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +13 -7
- package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
- package/dist/components/Backdrop/index.js +2 -5
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -26
- package/dist/components/ButtonGroup/ButtonGroup.stories.js +29 -39
- package/dist/components/ButtonGroup/ButtonGroup.stories.js.map +1 -1
- package/dist/components/ButtonGroup/index.js +2 -5
- package/dist/components/Buttons/Button.js +16 -22
- package/dist/components/Buttons/Button.js.map +1 -1
- package/dist/components/Buttons/Button.stories.js +43 -56
- package/dist/components/Buttons/Button.stories.js.map +1 -1
- package/dist/components/Buttons/Button.test.js +60 -33
- package/dist/components/Buttons/Button.test.js.map +1 -1
- package/dist/components/Buttons/LinkButton.js +14 -11
- package/dist/components/Buttons/LinkButton.js.map +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +41 -57
- package/dist/components/Buttons/LinkButton.stories.js.map +1 -1
- package/dist/components/Buttons/LinkButton.test.js +71 -65
- package/dist/components/Buttons/LinkButton.test.js.map +1 -1
- package/dist/components/Buttons/MenuButton.js +18 -15
- package/dist/components/Buttons/MenuButton.js.map +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +45 -61
- package/dist/components/Buttons/MenuButton.stories.js.map +1 -1
- package/dist/components/Buttons/MenuButton.test.js +70 -64
- package/dist/components/Buttons/MenuButton.test.js.map +1 -1
- package/dist/components/Buttons/index.js +4 -9
- package/dist/components/Card/Card.js +2 -39
- package/dist/components/Card/Card.stories.js +42 -49
- package/dist/components/Card/Card.stories.js.map +1 -1
- package/dist/components/Card/Card.test.js +14 -8
- package/dist/components/Card/Card.test.js.map +1 -1
- package/dist/components/Card/index.js +2 -5
- package/dist/components/Checkbox/Checkbox.js +2 -9
- package/dist/components/Checkbox/Checkbox.stories.js +44 -41
- package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +21 -15
- package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/components/Checkbox/index.js +2 -5
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +2 -114
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +277 -310
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +71 -85
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
- package/dist/components/CheckboxButtonBar/index.js +2 -5
- package/dist/components/CheckboxTree/CheckboxTree.js +3 -172
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +89 -139
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
- package/dist/components/CheckboxTree/index.js +3 -5
- package/dist/components/Chip/Chip.js +2 -14
- package/dist/components/Chip/Chip.stories.js +24 -28
- package/dist/components/Chip/Chip.stories.js.map +1 -1
- package/dist/components/Chip/index.js +2 -5
- package/dist/components/ControlsButton/ControlsButton.js +2 -82
- package/dist/components/ControlsButton/ControlsButton.stories.js +98 -122
- package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -1
- package/dist/components/ControlsButton/index.js +2 -5
- package/dist/components/CopyableText/CopyableText.js +2 -64
- package/dist/components/CopyableText/CopyableText.stories.js +36 -35
- package/dist/components/CopyableText/CopyableText.stories.js.map +1 -1
- package/dist/components/CopyableText/index.js +2 -5
- package/dist/components/Drawer/Drawer.js +2 -62
- package/dist/components/Drawer/Drawer.stories.js +49 -68
- package/dist/components/Drawer/Drawer.stories.js.map +1 -1
- package/dist/components/Drawer/index.js +2 -5
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +2 -50
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js +17 -18
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
- package/dist/components/EmptyStateDataDisplay/index.js +2 -5
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +2 -57
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +57 -50
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -1
- package/dist/components/ExpandableInfoPanel/index.js +2 -5
- package/dist/components/FeedbackBar/FeedbackBar.js +2 -30
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +30 -33
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +18 -12
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
- package/dist/components/FeedbackBar/index.js +2 -5
- package/dist/components/FeedbackBox/FeedbackBox.js +2 -31
- package/dist/components/FeedbackBox/FeedbackBox.stories.js +30 -34
- package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
- package/dist/components/FeedbackBox/index.js +2 -5
- package/dist/components/FieldHint/FieldHint.js +2 -15
- package/dist/components/FieldHint/FieldHint.stories.js +27 -35
- package/dist/components/FieldHint/FieldHint.stories.js.map +1 -1
- package/dist/components/FieldHint/index.js +2 -5
- package/dist/components/Fieldset/Fieldset.js +2 -32
- package/dist/components/Fieldset/Fieldset.stories.js +40 -46
- package/dist/components/Fieldset/Fieldset.stories.js.map +1 -1
- package/dist/components/Fieldset/index.js +2 -5
- package/dist/components/FormField/FormField.js +2 -23
- package/dist/components/FormField/FormField.stories.js +40 -45
- package/dist/components/FormField/FormField.stories.js.map +1 -1
- package/dist/components/FormField/index.js +2 -5
- package/dist/components/FormInput/FormInput.js +3 -79
- package/dist/components/FormInput/FormInput.stories.js +60 -40
- package/dist/components/FormInput/FormInput.stories.js.map +1 -1
- package/dist/components/FormInput/index.js +3 -5
- package/dist/components/GridRow/Column/Column.js +2 -7
- package/dist/components/GridRow/Column/index.js +2 -5
- package/dist/components/GridRow/GridRow.js +27 -38
- package/dist/components/GridRow/GridRow.js.map +1 -1
- package/dist/components/GridRow/GridRow.stories.js +198 -95
- package/dist/components/GridRow/GridRow.stories.js.map +1 -1
- package/dist/components/GridRow/index.js +2 -5
- package/dist/components/HorizontalList/HorizontalList.js +2 -13
- package/dist/components/HorizontalList/HorizontalList.stories.js +44 -46
- package/dist/components/HorizontalList/HorizontalList.stories.js.map +1 -1
- package/dist/components/HorizontalList/index.js +2 -5
- package/dist/components/Icon/Icon.js +16 -9
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/Icon.stories.js +47 -50
- package/dist/components/Icon/Icon.stories.js.map +1 -1
- package/dist/components/Icon/icons/index.js +2 -672
- package/dist/components/Icon/index.js +2 -5
- package/dist/components/IconButton/IconButton.js +2 -28
- package/dist/components/IconButton/IconButton.stories.js +55 -58
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/IconButton/index.js +2 -5
- package/dist/components/InfoBanner/InfoBanner.js +2 -12
- package/dist/components/InfoBanner/InfoBanner.stories.js +18 -22
- package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
- package/dist/components/InfoBanner/index.js +2 -5
- package/dist/components/InfoMessage/InfoMessage.js +2 -23
- package/dist/components/InfoMessage/InfoMessage.stories.js +21 -26
- package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
- package/dist/components/InfoMessage/index.js +2 -5
- package/dist/components/Input/Input.js +2 -28
- package/dist/components/Input/Input.stories.js +31 -50
- package/dist/components/Input/Input.stories.js.map +1 -1
- package/dist/components/Input/index.js +2 -5
- package/dist/components/InputField/InputField.js +2 -70
- package/dist/components/InputField/InputField.stories.js +81 -109
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/InputField/index.js +2 -5
- package/dist/components/Label/Label.js +2 -24
- package/dist/components/Label/Label.stories.js +26 -37
- package/dist/components/Label/Label.stories.js.map +1 -1
- package/dist/components/Label/Label.test.js +35 -20
- package/dist/components/Label/Label.test.js.map +1 -1
- package/dist/components/Label/index.js +2 -5
- package/dist/components/MenuLink/MenuLink.js +2 -25
- package/dist/components/MenuLink/MenuLink.stories.js +64 -27
- package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
- package/dist/components/MenuLink/index.js +2 -5
- package/dist/components/MetaDataBar/MetaDataBar.js +2 -13
- package/dist/components/MetaDataBar/MetaDataBar.stories.js +20 -20
- package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +26 -16
- package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
- package/dist/components/MetaDataBar/index.js +2 -5
- package/dist/components/MetaDataList/MetaDataList.js +2 -14
- package/dist/components/MetaDataList/MetaDataList.stories.js +21 -23
- package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
- package/dist/components/MetaDataList/index.js +2 -5
- package/dist/components/ModalDialog/ModalDialog.js +2 -130
- package/dist/components/ModalDialog/ModalDialog.stories.js +80 -93
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
- package/dist/components/ModalDialog/index.js +2 -5
- package/dist/components/MultiSelect/MultiSelect.js +3 -8
- package/dist/components/MultiSelect/MultiSelect.stories.js +83 -93
- package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -34
- package/dist/components/MultiSelect/components/MultiSelectItem.js +2 -9
- package/dist/components/MultiSelect/index.js +3 -5
- package/dist/components/MultiSelectBox/MultiSelectBox.js +2 -207
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +101 -70
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +54 -29
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/MultiSelectBox/index.js +2 -5
- package/dist/components/Notification/Notification.js +2 -58
- package/dist/components/Notification/Notification.stories.js +43 -40
- package/dist/components/Notification/Notification.stories.js.map +1 -1
- package/dist/components/Notification/Notification.test.js +24 -10
- package/dist/components/Notification/Notification.test.js.map +1 -1
- package/dist/components/Notification/index.js +2 -5
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -25
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +30 -29
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/OverlayCloseButton/index.js +2 -5
- package/dist/components/OverlayStepBar/OverlayStepBar.js +2 -57
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js +44 -49
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
- package/dist/components/OverlayStepBar/index.js +2 -5
- package/dist/components/PageOverlay/PageOverlay.js +2 -114
- package/dist/components/PageOverlay/PageOverlay.stories.js +155 -163
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/PageOverlay/index.js +2 -5
- package/dist/components/PeriodSelector/PeriodSelector.js +3 -96
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +27 -24
- package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
- package/dist/components/PeriodSelector/index.js +3 -5
- package/dist/components/Periods/Periods.js +2 -46
- package/dist/components/Periods/Periods.stories.js +53 -60
- package/dist/components/Periods/Periods.stories.js.map +1 -1
- package/dist/components/Periods/index.js +2 -5
- package/dist/components/ProgrammeCard/ProgrammeCard.js +2 -29
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +71 -80
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
- package/dist/components/ProgrammeCard/index.js +2 -5
- package/dist/components/RadioButton/RadioButton.js +2 -26
- package/dist/components/RadioButton/RadioButton.stories.js +30 -40
- package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
- package/dist/components/RadioButton/index.js +2 -5
- package/dist/components/RadioGroup/RadioGroup.js +2 -52
- package/dist/components/RadioGroup/RadioGroup.stories.js +39 -46
- package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +46 -22
- package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
- package/dist/components/RadioGroup/index.js +2 -5
- package/dist/components/RadioTabSelector/RadioTabSelector.js +3 -94
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +76 -74
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
- package/dist/components/RadioTabSelector/index.js +3 -5
- package/dist/components/Repeater/Repeater.js +2 -19
- package/dist/components/Repeater/Repeater.stories.js +32 -42
- package/dist/components/Repeater/Repeater.stories.js.map +1 -1
- package/dist/components/Repeater/index.js +2 -5
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +3 -43
- package/dist/components/RteEditor/EditorHeader/index.js +3 -5
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +45 -47
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +2 -108
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +2 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +150 -194
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -81
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -38
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +2 -95
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -217
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +2 -12
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +75 -83
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +2 -31
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +2 -14
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +3 -36
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +2 -133
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js +2 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -42
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +69 -92
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +4 -7
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -90
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +3 -5
- package/dist/components/RteEditor/Plugins/index.js +7 -21
- package/dist/components/RteEditor/Providers/LanguageProvider.js +22 -17
- package/dist/components/RteEditor/Providers/LanguageProvider.js.map +1 -1
- package/dist/components/RteEditor/RteEditor.js +3 -871
- package/dist/components/RteEditor/RteEditor.stories.js +160 -207
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +41 -40
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js.map +1 -1
- package/dist/components/RteEditor/UvaTheme/index.js +2 -5
- package/dist/components/RteEditor/helpers.js +33 -40
- package/dist/components/RteEditor/helpers.js.map +1 -1
- package/dist/components/RteEditor/hooks/components/Flyout.js +2 -11
- package/dist/components/RteEditor/hooks/useFlyout.js +35 -23
- package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
- package/dist/components/RteEditor/hooks/useTranslation.js +9 -8
- package/dist/components/RteEditor/hooks/useTranslation.js.map +1 -1
- package/dist/components/RteEditor/index.js +3 -6
- package/dist/components/RteEditor/mockCatalogueSearchData.js +484 -484
- package/dist/components/RteEditor/mockCatalogueSearchData.js.map +1 -1
- package/dist/components/RteEditor/mockRteContent.js +6 -100
- package/dist/components/RteEditor/mockRteContent.js.map +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +98 -122
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js +2 -11
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +58 -72
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/index.js +2 -10
- package/dist/components/RteEditor/nodes/index.js +3 -18
- package/dist/components/RteEditor/translations.js +216 -215
- package/dist/components/RteEditor/translations.js.map +1 -1
- package/dist/components/SearchField/SearchField.js +104 -105
- package/dist/components/SearchField/SearchField.js.map +1 -1
- package/dist/components/SearchField/SearcheField.stories.js +89 -118
- package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
- package/dist/components/SearchField/components/ResultOptionBox.js +19 -12
- package/dist/components/SearchField/components/ResultOptionBox.js.map +1 -1
- package/dist/components/SearchField/components/ResultsOption.js +50 -55
- package/dist/components/SearchField/components/ResultsOption.js.map +1 -1
- package/dist/components/SearchField/index.js +2 -5
- package/dist/components/SearchField/mockData.js +136 -135
- package/dist/components/SearchField/mockData.js.map +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +2 -18
- package/dist/components/SectionNotification/SectionNotification.stories.js +21 -24
- package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
- package/dist/components/SectionNotification/index.js +2 -5
- package/dist/components/SelectListbox/SelectListBox.stories.js +3415 -248
- package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListbox.js +45 -56
- package/dist/components/SelectListbox/SelectListbox.js.map +1 -1
- package/dist/components/SelectListbox/SelectProvider.js +42 -43
- package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +63 -77
- package/dist/components/SelectListbox/components/SelectButton.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +22 -21
- package/dist/components/SelectListbox/components/SelectContainer.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +69 -66
- package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +28 -30
- package/dist/components/SelectListbox/components/SelectOptionBox.js.map +1 -1
- package/dist/components/SelectListbox/index.js +2 -5
- package/dist/components/Slider/Slider.js +2 -113
- package/dist/components/Slider/Slider.stories.js +59 -38
- package/dist/components/Slider/Slider.stories.js.map +1 -1
- package/dist/components/Slider/index.js +2 -5
- package/dist/components/Sortable/Sortable.js +25 -41
- package/dist/components/Sortable/Sortable.js.map +1 -1
- package/dist/components/Sortable/Sortable.stories.js +79 -59
- package/dist/components/Sortable/Sortable.stories.js.map +1 -1
- package/dist/components/Sortable/SortableProvider.js +2 -10
- package/dist/components/Sortable/actions.js +24 -32
- package/dist/components/Sortable/actions.js.map +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +2 -9
- package/dist/components/Sortable/components/SortableHandle.js +13 -9
- package/dist/components/Sortable/components/SortableHandle.js.map +1 -1
- package/dist/components/Sortable/components/SortableItem.js +103 -113
- package/dist/components/Sortable/components/SortableItem.js.map +1 -1
- package/dist/components/Sortable/constants.js +6 -14
- package/dist/components/Sortable/constants.js.map +1 -1
- package/dist/components/Sortable/index.js +1 -4
- package/dist/components/Sortable/sortableReducer.js +76 -90
- package/dist/components/Sortable/sortableReducer.js.map +1 -1
- package/dist/components/Spinner/Spinner.js +2 -22
- package/dist/components/Spinner/Spinner.stories.js +21 -26
- package/dist/components/Spinner/Spinner.stories.js.map +1 -1
- package/dist/components/Spinner/index.js +2 -5
- package/dist/components/StatusBadge/StatusBadge.stories.js +18 -21
- package/dist/components/StatusBadge/StatusBadge.stories.js.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +19 -10
- package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
- package/dist/components/StatusBadge/StatusBage.js +2 -10
- package/dist/components/StatusBadge/index.js +2 -5
- package/dist/components/StatusPill/StatusPill.js +2 -35
- package/dist/components/StatusPill/StatusPill.stories.js +20 -20
- package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
- package/dist/components/StatusPill/index.js +2 -5
- package/dist/components/TextArea/TextArea.js +2 -65
- package/dist/components/TextArea/TextArea.stories.js +30 -31
- package/dist/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/components/TextArea/TextArea.test.js +38 -22
- package/dist/components/TextArea/TextArea.test.js.map +1 -1
- package/dist/components/TextArea/index.js +2 -5
- package/dist/components/ToggleSwitch/ToggleSwitch.js +2 -66
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +20 -26
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -1
- package/dist/components/ToggleSwitch/index.js +2 -5
- package/dist/components/Tooltip/Tooltip.js +2 -75
- package/dist/components/Tooltip/Tooltip.stories.js +27 -32
- package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/components/Tooltip/index.js +2 -5
- package/dist/components/VarIndicator/VarIndicator.js +2 -62
- package/dist/components/VarIndicator/VarIndicator.stories.js +31 -30
- package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +72 -54
- package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
- package/dist/components/VarIndicator/index.js +2 -5
- package/dist/components/WeekSelector/WeekSelector.js +89 -97
- package/dist/components/WeekSelector/WeekSelector.js.map +1 -1
- package/dist/components/WeekSelector/WeekSelector.stories.js +146 -191
- package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorButton.js +20 -22
- package/dist/components/WeekSelector/components/WeekSelectorButton.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.js +72 -85
- package/dist/components/WeekSelector/components/WeekSelectorOption.js.map +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js +30 -17
- package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js.map +1 -1
- package/dist/components/WeekSelector/index.js +2 -5
- package/dist/components/WeekSelector/mockdata.js +470 -469
- package/dist/components/WeekSelector/mockdata.js.map +1 -1
- package/dist/components/hooks/useDebounce.js +17 -16
- package/dist/components/hooks/useDebounce.js.map +1 -1
- package/dist/components/hooks/useOnClickOutside.js +15 -14
- package/dist/components/hooks/useOnClickOutside.js.map +1 -1
- package/dist/components/hooks/usePositionedFloaters.js +66 -71
- package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
- package/dist/components/hooks/useResponsive.js +36 -32
- package/dist/components/hooks/useResponsive.js.map +1 -1
- package/dist/components/index.js +64 -139
- package/dist/components-C4MCdrDH.js +1995 -0
- package/dist/components-C4MCdrDH.js.map +1 -0
- package/dist/dist-2TKCXdYZ.js +2005 -0
- package/dist/dist-2TKCXdYZ.js.map +1 -0
- package/dist/esm-UNe_gmRA.js +2781 -0
- package/dist/esm-UNe_gmRA.js.map +1 -0
- package/dist/helpers-BBSxTGRl.js +34 -0
- package/dist/helpers-BBSxTGRl.js.map +1 -0
- package/dist/icons-TRhI-4V6.js +2681 -0
- package/dist/icons-TRhI-4V6.js.map +1 -0
- package/dist/index.js +64 -139
- package/dist/lib-6BbFZdI7.js +5595 -0
- package/dist/lib-6BbFZdI7.js.map +1 -0
- package/dist/react-18-CRbkdI-3.js +43 -0
- package/dist/react-18-CRbkdI-3.js.map +1 -0
- package/dist/react.esm-CzIhAqlo.js +3297 -0
- package/dist/react.esm-CzIhAqlo.js.map +1 -0
- package/dist/setupTests.js +1226 -36
- package/dist/setupTests.js.map +1 -1
- package/dist/storyComponents/ClipboardButton/ClipboardButton.js +2 -45
- package/dist/storyComponents/ClipboardButton/index.js +2 -5
- package/dist/storyComponents/Container/Container.js +2 -40
- package/dist/storyComponents/Container/index.js +2 -5
- package/dist/storybook__react.d.js +6939 -7524
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/test-DQruvi8i.js +19466 -0
- package/dist/test-DQruvi8i.js.map +1 -0
- package/dist/test-utils-BSs0eZfL.js +21 -0
- package/dist/test-utils-BSs0eZfL.js.map +1 -0
- package/dist/types/UserInterface.js +0 -2
- package/dist/vite-env.d.js +0 -2
- package/package.json +27 -27
- package/dist/Button.module-S1-6tV9o.js +0 -16
- package/dist/Button.module-S1-6tV9o.js.map +0 -1
- package/dist/Column-BL3dsYxn.js +0 -101
- package/dist/Column-BL3dsYxn.js.map +0 -1
- package/dist/Lexical.prod-o6Eq_uLx.js +0 -5202
- package/dist/Lexical.prod-o6Eq_uLx.js.map +0 -1
- package/dist/LexicalClipboard.prod-CnUrf2_p.js +0 -265
- package/dist/LexicalClipboard.prod-CnUrf2_p.js.map +0 -1
- package/dist/LexicalComposerContext.prod-DOyoZx0P.js +0 -22
- package/dist/LexicalComposerContext.prod-DOyoZx0P.js.map +0 -1
- package/dist/LexicalExtension.prod-CanXuzFO.js +0 -551
- package/dist/LexicalExtension.prod-CanXuzFO.js.map +0 -1
- package/dist/LexicalLink.prod-DAVbKER8.js +0 -561
- package/dist/LexicalLink.prod-DAVbKER8.js.map +0 -1
- package/dist/LexicalList.prod-C6cknPBV.js +0 -632
- package/dist/LexicalList.prod-C6cknPBV.js.map +0 -1
- package/dist/LexicalSelection.prod-B8GGrzJ3.js +0 -116
- package/dist/LexicalSelection.prod-B8GGrzJ3.js.map +0 -1
- package/dist/LexicalTable.prod-upbwOtcE.js +0 -1892
- package/dist/LexicalTable.prod-upbwOtcE.js.map +0 -1
- package/dist/LexicalUtils.prod-CF7x-KWm.js +0 -134
- package/dist/LexicalUtils.prod-CF7x-KWm.js.map +0 -1
- package/dist/MultiSelectItem-BzBmsKof.js +0 -24
- package/dist/MultiSelectItem-BzBmsKof.js.map +0 -1
- package/dist/RteEditor.module-CoTOIw5i.js +0 -41
- package/dist/RteEditor.module-CoTOIw5i.js.map +0 -1
- package/dist/SearchField.module-CMUEgX7d.js +0 -17
- package/dist/SearchField.module-CMUEgX7d.js.map +0 -1
- package/dist/SelectListbox.module-CXqMuXRB.js +0 -29
- package/dist/SelectListbox.module-CXqMuXRB.js.map +0 -1
- package/dist/Sortable.module-DCVXxKnw.js +0 -26
- package/dist/Sortable.module-DCVXxKnw.js.map +0 -1
- package/dist/SortableProvider-BbwlEPIr.js +0 -160
- package/dist/SortableProvider-BbwlEPIr.js.map +0 -1
- package/dist/TableCellResizerPlugin-qMtSAoKT.js +0 -248
- package/dist/TableCellResizerPlugin-qMtSAoKT.js.map +0 -1
- package/dist/TablePlugin-BRZcXq73.js +0 -308
- package/dist/TablePlugin-BRZcXq73.js.map +0 -1
- package/dist/WeekSelector.module-Clco7jTs.js +0 -17
- package/dist/WeekSelector.module-Clco7jTs.js.map +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +0 -1
- package/dist/assets/CheckboxTree.css +0 -1
- package/dist/assets/EditorHeader.css +0 -1
- package/dist/assets/FormInput.css +0 -1
- package/dist/assets/PeriodSelector.css +0 -1
- package/dist/assets/RadioTabSelector.css +0 -1
- package/dist/assets/TablePlugin.css +0 -1
- package/dist/chunk-OPOZOKLO-nJkI9rUN.js +0 -4508
- package/dist/chunk-OPOZOKLO-nJkI9rUN.js.map +0 -1
- package/dist/client-D5eE1v54.js +0 -27222
- package/dist/client-D5eE1v54.js.map +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -17
- package/dist/clsx-OuTLNxxd.js.map +0 -1
- package/dist/components/Accordion/Accordion.js.map +0 -1
- package/dist/components/Accordion/index.js.map +0 -1
- package/dist/components/AccordionCard/AccordionCard.js.map +0 -1
- package/dist/components/AccordionCard/index.js.map +0 -1
- package/dist/components/ActionList/ActionList.js.map +0 -1
- package/dist/components/ActionList/index.js.map +0 -1
- package/dist/components/AppStatusBar/AppStatusBar.js.map +0 -1
- package/dist/components/AppStatusBar/index.js.map +0 -1
- package/dist/components/Attention/Attention.js.map +0 -1
- package/dist/components/Attention/index.js.map +0 -1
- package/dist/components/Backdrop/Backdrop.js.map +0 -1
- package/dist/components/Backdrop/index.js.map +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.js.map +0 -1
- package/dist/components/ButtonGroup/index.js.map +0 -1
- package/dist/components/Buttons/index.js.map +0 -1
- package/dist/components/Card/Card.js.map +0 -1
- package/dist/components/Card/index.js.map +0 -1
- package/dist/components/Checkbox/Checkbox.js.map +0 -1
- package/dist/components/Checkbox/index.js.map +0 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js.map +0 -1
- package/dist/components/CheckboxButtonBar/index.js.map +0 -1
- package/dist/components/CheckboxTree/CheckboxTree.js.map +0 -1
- package/dist/components/CheckboxTree/index.js.map +0 -1
- package/dist/components/Chip/Chip.js.map +0 -1
- package/dist/components/Chip/index.js.map +0 -1
- package/dist/components/ControlsButton/ControlsButton.js.map +0 -1
- package/dist/components/ControlsButton/index.js.map +0 -1
- package/dist/components/CopyableText/CopyableText.js.map +0 -1
- package/dist/components/CopyableText/index.js.map +0 -1
- package/dist/components/Drawer/Drawer.js.map +0 -1
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js.map +0 -1
- package/dist/components/EmptyStateDataDisplay/index.js.map +0 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js.map +0 -1
- package/dist/components/ExpandableInfoPanel/index.js.map +0 -1
- package/dist/components/FeedbackBar/FeedbackBar.js.map +0 -1
- package/dist/components/FeedbackBar/index.js.map +0 -1
- package/dist/components/FeedbackBox/FeedbackBox.js.map +0 -1
- package/dist/components/FeedbackBox/index.js.map +0 -1
- package/dist/components/FieldHint/FieldHint.js.map +0 -1
- package/dist/components/FieldHint/index.js.map +0 -1
- package/dist/components/Fieldset/Fieldset.js.map +0 -1
- package/dist/components/Fieldset/index.js.map +0 -1
- package/dist/components/FormField/FormField.js.map +0 -1
- package/dist/components/FormField/index.js.map +0 -1
- package/dist/components/FormInput/FormInput.js.map +0 -1
- package/dist/components/FormInput/index.js.map +0 -1
- package/dist/components/GridRow/Column/Column.js.map +0 -1
- package/dist/components/GridRow/Column/index.js.map +0 -1
- package/dist/components/GridRow/index.js.map +0 -1
- package/dist/components/HorizontalList/HorizontalList.js.map +0 -1
- package/dist/components/HorizontalList/index.js.map +0 -1
- package/dist/components/Icon/icons/index.js.map +0 -1
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/IconButton/IconButton.js.map +0 -1
- package/dist/components/IconButton/index.js.map +0 -1
- package/dist/components/InfoBanner/InfoBanner.js.map +0 -1
- package/dist/components/InfoBanner/index.js.map +0 -1
- package/dist/components/InfoMessage/InfoMessage.js.map +0 -1
- package/dist/components/InfoMessage/index.js.map +0 -1
- package/dist/components/Input/Input.js.map +0 -1
- package/dist/components/Input/index.js.map +0 -1
- package/dist/components/InputField/InputField.js.map +0 -1
- package/dist/components/InputField/index.js.map +0 -1
- package/dist/components/Label/Label.js.map +0 -1
- package/dist/components/Label/index.js.map +0 -1
- package/dist/components/MenuLink/MenuLink.js.map +0 -1
- package/dist/components/MenuLink/index.js.map +0 -1
- package/dist/components/MetaDataBar/MetaDataBar.js.map +0 -1
- package/dist/components/MetaDataBar/index.js.map +0 -1
- package/dist/components/MetaDataList/MetaDataList.js.map +0 -1
- package/dist/components/MetaDataList/index.js.map +0 -1
- package/dist/components/ModalDialog/ModalDialog.js.map +0 -1
- package/dist/components/ModalDialog/index.js.map +0 -1
- package/dist/components/MultiSelect/MultiSelect.js.map +0 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +0 -1
- package/dist/components/MultiSelect/components/MultiSelectItem.js.map +0 -1
- package/dist/components/MultiSelect/index.js.map +0 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js.map +0 -1
- package/dist/components/MultiSelectBox/index.js.map +0 -1
- package/dist/components/Notification/Notification.js.map +0 -1
- package/dist/components/Notification/index.js.map +0 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js.map +0 -1
- package/dist/components/OverlayCloseButton/index.js.map +0 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js.map +0 -1
- package/dist/components/OverlayStepBar/index.js.map +0 -1
- package/dist/components/PageOverlay/PageOverlay.js.map +0 -1
- package/dist/components/PageOverlay/index.js.map +0 -1
- package/dist/components/PeriodSelector/PeriodSelector.js.map +0 -1
- package/dist/components/PeriodSelector/index.js.map +0 -1
- package/dist/components/Periods/Periods.js.map +0 -1
- package/dist/components/Periods/index.js.map +0 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.js.map +0 -1
- package/dist/components/ProgrammeCard/index.js.map +0 -1
- package/dist/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/components/RadioButton/index.js.map +0 -1
- package/dist/components/RadioGroup/RadioGroup.js.map +0 -1
- package/dist/components/RadioGroup/index.js.map +0 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js.map +0 -1
- package/dist/components/RadioTabSelector/index.js.map +0 -1
- package/dist/components/Repeater/Repeater.js.map +0 -1
- package/dist/components/Repeater/index.js.map +0 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +0 -1
- package/dist/components/RteEditor/EditorHeader/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js.map +0 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +0 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js.map +0 -1
- package/dist/components/RteEditor/Plugins/index.js.map +0 -1
- package/dist/components/RteEditor/RteEditor.js.map +0 -1
- package/dist/components/RteEditor/UvaTheme/index.js.map +0 -1
- package/dist/components/RteEditor/hooks/components/Flyout.js.map +0 -1
- package/dist/components/RteEditor/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/TableWrapperNode/index.js.map +0 -1
- package/dist/components/RteEditor/nodes/index.js.map +0 -1
- package/dist/components/SearchField/index.js.map +0 -1
- package/dist/components/SectionNotification/SectionNotification.js.map +0 -1
- package/dist/components/SectionNotification/index.js.map +0 -1
- package/dist/components/SelectListbox/index.js.map +0 -1
- package/dist/components/Slider/Slider.js.map +0 -1
- package/dist/components/Slider/index.js.map +0 -1
- package/dist/components/Sortable/SortableProvider.js.map +0 -1
- package/dist/components/Sortable/components/SortableContainer.js.map +0 -1
- package/dist/components/Sortable/index.js.map +0 -1
- package/dist/components/Spinner/Spinner.js.map +0 -1
- package/dist/components/Spinner/index.js.map +0 -1
- package/dist/components/StatusBadge/StatusBage.js.map +0 -1
- package/dist/components/StatusBadge/index.js.map +0 -1
- package/dist/components/StatusPill/StatusPill.js.map +0 -1
- package/dist/components/StatusPill/index.js.map +0 -1
- package/dist/components/TextArea/TextArea.js.map +0 -1
- package/dist/components/TextArea/index.js.map +0 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.js.map +0 -1
- package/dist/components/ToggleSwitch/index.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/components/Tooltip/index.js.map +0 -1
- package/dist/components/VarIndicator/VarIndicator.js.map +0 -1
- package/dist/components/VarIndicator/index.js.map +0 -1
- package/dist/components/WeekSelector/index.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/index-B_q_4aBT.js +0 -24946
- package/dist/index-B_q_4aBT.js.map +0 -1
- package/dist/index-CULNJwuI.js +0 -2355
- package/dist/index-CULNJwuI.js.map +0 -1
- package/dist/index-D6WVIfcJ.js +0 -6039
- package/dist/index-D6WVIfcJ.js.map +0 -1
- package/dist/index-YdDr6J97.js +0 -3099
- package/dist/index-YdDr6J97.js.map +0 -1
- package/dist/index-yEhaxKq-.js +0 -238
- package/dist/index-yEhaxKq-.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/react-18-CxCoNkIN.js +0 -41
- package/dist/react-18-CxCoNkIN.js.map +0 -1
- package/dist/react.esm-C68fQMAi.js +0 -4237
- package/dist/react.esm-C68fQMAi.js.map +0 -1
- package/dist/storyComponents/ClipboardButton/ClipboardButton.js.map +0 -1
- package/dist/storyComponents/ClipboardButton/index.js.map +0 -1
- package/dist/storyComponents/Container/Container.js.map +0 -1
- package/dist/storyComponents/Container/index.js.map +0 -1
- package/dist/test-utils-BcpWLsLH.js +0 -56
- package/dist/test-utils-BcpWLsLH.js.map +0 -1
- package/dist/types/UserInterface.js.map +0 -1
- package/dist/vite-env.d.js.map +0 -1
|
@@ -0,0 +1,3297 @@
|
|
|
1
|
+
import { i as e, t } from "./chunk-DeC0fbbY.js";
|
|
2
|
+
import { t as n } from "./lib-6BbFZdI7.js";
|
|
3
|
+
import { t as r } from "./test-utils-BSs0eZfL.js";
|
|
4
|
+
import { t as i } from "./client-UU-mS47K.js";
|
|
5
|
+
import * as a from "react";
|
|
6
|
+
import o from "react-dom";
|
|
7
|
+
//#region node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
8
|
+
var s = /* @__PURE__ */ t(((e, t) => {
|
|
9
|
+
var n = 10, r = (e = 0) => (t) => `\u001B[${38 + e};5;${t}m`, i = (e = 0) => (t, n, r) => `\u001B[${38 + e};2;${t};${n};${r}m`;
|
|
10
|
+
function a() {
|
|
11
|
+
let e = /* @__PURE__ */ new Map(), t = {
|
|
12
|
+
modifier: {
|
|
13
|
+
reset: [0, 0],
|
|
14
|
+
bold: [1, 22],
|
|
15
|
+
dim: [2, 22],
|
|
16
|
+
italic: [3, 23],
|
|
17
|
+
underline: [4, 24],
|
|
18
|
+
overline: [53, 55],
|
|
19
|
+
inverse: [7, 27],
|
|
20
|
+
hidden: [8, 28],
|
|
21
|
+
strikethrough: [9, 29]
|
|
22
|
+
},
|
|
23
|
+
color: {
|
|
24
|
+
black: [30, 39],
|
|
25
|
+
red: [31, 39],
|
|
26
|
+
green: [32, 39],
|
|
27
|
+
yellow: [33, 39],
|
|
28
|
+
blue: [34, 39],
|
|
29
|
+
magenta: [35, 39],
|
|
30
|
+
cyan: [36, 39],
|
|
31
|
+
white: [37, 39],
|
|
32
|
+
blackBright: [90, 39],
|
|
33
|
+
redBright: [91, 39],
|
|
34
|
+
greenBright: [92, 39],
|
|
35
|
+
yellowBright: [93, 39],
|
|
36
|
+
blueBright: [94, 39],
|
|
37
|
+
magentaBright: [95, 39],
|
|
38
|
+
cyanBright: [96, 39],
|
|
39
|
+
whiteBright: [97, 39]
|
|
40
|
+
},
|
|
41
|
+
bgColor: {
|
|
42
|
+
bgBlack: [40, 49],
|
|
43
|
+
bgRed: [41, 49],
|
|
44
|
+
bgGreen: [42, 49],
|
|
45
|
+
bgYellow: [43, 49],
|
|
46
|
+
bgBlue: [44, 49],
|
|
47
|
+
bgMagenta: [45, 49],
|
|
48
|
+
bgCyan: [46, 49],
|
|
49
|
+
bgWhite: [47, 49],
|
|
50
|
+
bgBlackBright: [100, 49],
|
|
51
|
+
bgRedBright: [101, 49],
|
|
52
|
+
bgGreenBright: [102, 49],
|
|
53
|
+
bgYellowBright: [103, 49],
|
|
54
|
+
bgBlueBright: [104, 49],
|
|
55
|
+
bgMagentaBright: [105, 49],
|
|
56
|
+
bgCyanBright: [106, 49],
|
|
57
|
+
bgWhiteBright: [107, 49]
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t.bgColor.bgBlackBright;
|
|
61
|
+
for (let [n, r] of Object.entries(t)) {
|
|
62
|
+
for (let [n, i] of Object.entries(r)) t[n] = {
|
|
63
|
+
open: `\u001B[${i[0]}m`,
|
|
64
|
+
close: `\u001B[${i[1]}m`
|
|
65
|
+
}, r[n] = t[n], e.set(i[0], i[1]);
|
|
66
|
+
Object.defineProperty(t, n, {
|
|
67
|
+
value: r,
|
|
68
|
+
enumerable: !1
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return Object.defineProperty(t, "codes", {
|
|
72
|
+
value: e,
|
|
73
|
+
enumerable: !1
|
|
74
|
+
}), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", t.color.ansi256 = r(), t.color.ansi16m = i(), t.bgColor.ansi256 = r(n), t.bgColor.ansi16m = i(n), Object.defineProperties(t, {
|
|
75
|
+
rgbToAnsi256: {
|
|
76
|
+
value: (e, t, n) => e === t && t === n ? e < 8 ? 16 : e > 248 ? 231 : Math.round((e - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(e / 255 * 5) + 6 * Math.round(t / 255 * 5) + Math.round(n / 255 * 5),
|
|
77
|
+
enumerable: !1
|
|
78
|
+
},
|
|
79
|
+
hexToRgb: {
|
|
80
|
+
value: (e) => {
|
|
81
|
+
let t = /(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(e.toString(16));
|
|
82
|
+
if (!t) return [
|
|
83
|
+
0,
|
|
84
|
+
0,
|
|
85
|
+
0
|
|
86
|
+
];
|
|
87
|
+
let { colorString: n } = t.groups;
|
|
88
|
+
n.length === 3 && (n = n.split("").map((e) => e + e).join(""));
|
|
89
|
+
let r = Number.parseInt(n, 16);
|
|
90
|
+
return [
|
|
91
|
+
r >> 16 & 255,
|
|
92
|
+
r >> 8 & 255,
|
|
93
|
+
r & 255
|
|
94
|
+
];
|
|
95
|
+
},
|
|
96
|
+
enumerable: !1
|
|
97
|
+
},
|
|
98
|
+
hexToAnsi256: {
|
|
99
|
+
value: (e) => t.rgbToAnsi256(...t.hexToRgb(e)),
|
|
100
|
+
enumerable: !1
|
|
101
|
+
}
|
|
102
|
+
}), t;
|
|
103
|
+
}
|
|
104
|
+
Object.defineProperty(t, "exports", {
|
|
105
|
+
enumerable: !0,
|
|
106
|
+
get: a
|
|
107
|
+
});
|
|
108
|
+
})), c = /* @__PURE__ */ t(((e) => {
|
|
109
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.printIteratorEntries = n, e.printIteratorValues = r, e.printListItems = i, e.printObjectProperties = a;
|
|
110
|
+
var t = (e, t) => {
|
|
111
|
+
let n = Object.keys(e).sort(t);
|
|
112
|
+
return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(e).forEach((t) => {
|
|
113
|
+
Object.getOwnPropertyDescriptor(e, t).enumerable && n.push(t);
|
|
114
|
+
}), n;
|
|
115
|
+
};
|
|
116
|
+
function n(e, t, n, r, i, a, o = ": ") {
|
|
117
|
+
let s = "", c = e.next();
|
|
118
|
+
if (!c.done) {
|
|
119
|
+
s += t.spacingOuter;
|
|
120
|
+
let l = n + t.indent;
|
|
121
|
+
for (; !c.done;) {
|
|
122
|
+
let n = a(c.value[0], t, l, r, i), u = a(c.value[1], t, l, r, i);
|
|
123
|
+
s += l + n + o + u, c = e.next(), c.done ? t.min || (s += ",") : s += "," + t.spacingInner;
|
|
124
|
+
}
|
|
125
|
+
s += t.spacingOuter + n;
|
|
126
|
+
}
|
|
127
|
+
return s;
|
|
128
|
+
}
|
|
129
|
+
function r(e, t, n, r, i, a) {
|
|
130
|
+
let o = "", s = e.next();
|
|
131
|
+
if (!s.done) {
|
|
132
|
+
o += t.spacingOuter;
|
|
133
|
+
let c = n + t.indent;
|
|
134
|
+
for (; !s.done;) o += c + a(s.value, t, c, r, i), s = e.next(), s.done ? t.min || (o += ",") : o += "," + t.spacingInner;
|
|
135
|
+
o += t.spacingOuter + n;
|
|
136
|
+
}
|
|
137
|
+
return o;
|
|
138
|
+
}
|
|
139
|
+
function i(e, t, n, r, i, a) {
|
|
140
|
+
let o = "";
|
|
141
|
+
if (e.length) {
|
|
142
|
+
o += t.spacingOuter;
|
|
143
|
+
let s = n + t.indent;
|
|
144
|
+
for (let n = 0; n < e.length; n++) o += s, n in e && (o += a(e[n], t, s, r, i)), n < e.length - 1 ? o += "," + t.spacingInner : t.min || (o += ",");
|
|
145
|
+
o += t.spacingOuter + n;
|
|
146
|
+
}
|
|
147
|
+
return o;
|
|
148
|
+
}
|
|
149
|
+
function a(e, n, r, i, a, o) {
|
|
150
|
+
let s = "", c = t(e, n.compareKeys);
|
|
151
|
+
if (c.length) {
|
|
152
|
+
s += n.spacingOuter;
|
|
153
|
+
let t = r + n.indent;
|
|
154
|
+
for (let r = 0; r < c.length; r++) {
|
|
155
|
+
let l = c[r], u = o(l, n, t, i, a), d = o(e[l], n, t, i, a);
|
|
156
|
+
s += t + u + ": " + d, r < c.length - 1 ? s += "," + n.spacingInner : n.min || (s += ",");
|
|
157
|
+
}
|
|
158
|
+
s += n.spacingOuter + r;
|
|
159
|
+
}
|
|
160
|
+
return s;
|
|
161
|
+
}
|
|
162
|
+
})), l = /* @__PURE__ */ t(((e) => {
|
|
163
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
164
|
+
var t = c(), n = (function() {
|
|
165
|
+
return typeof globalThis < "u" ? globalThis : n === void 0 ? typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")() : n;
|
|
166
|
+
})(), r = n["jest-symbol-do-not-touch"] || n.Symbol, i = typeof r == "function" && r.for ? r.for("jest.asymmetricMatcher") : 1267621, a = " ", o = (e, n, r, i, o, s) => {
|
|
167
|
+
let c = e.toString();
|
|
168
|
+
return c === "ArrayContaining" || c === "ArrayNotContaining" ? ++i > n.maxDepth ? "[" + c + "]" : c + a + "[" + (0, t.printListItems)(e.sample, n, r, i, o, s) + "]" : c === "ObjectContaining" || c === "ObjectNotContaining" ? ++i > n.maxDepth ? "[" + c + "]" : c + a + "{" + (0, t.printObjectProperties)(e.sample, n, r, i, o, s) + "}" : c === "StringMatching" || c === "StringNotMatching" || c === "StringContaining" || c === "StringNotContaining" ? c + a + s(e.sample, n, r, i, o) : e.toAsymmetricMatcher();
|
|
169
|
+
};
|
|
170
|
+
e.serialize = o;
|
|
171
|
+
var s = (e) => e && e.$$typeof === i;
|
|
172
|
+
e.test = s, e.default = {
|
|
173
|
+
serialize: o,
|
|
174
|
+
test: s
|
|
175
|
+
};
|
|
176
|
+
})), u = /* @__PURE__ */ t(((e, t) => {
|
|
177
|
+
t.exports = ({ onlyFirst: e = !1 } = {}) => {
|
|
178
|
+
let t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
|
|
179
|
+
return new RegExp(t, e ? void 0 : "g");
|
|
180
|
+
};
|
|
181
|
+
})), d = /* @__PURE__ */ t(((e) => {
|
|
182
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
183
|
+
var t = r(u()), n = r(s());
|
|
184
|
+
function r(e) {
|
|
185
|
+
return e && e.__esModule ? e : { default: e };
|
|
186
|
+
}
|
|
187
|
+
var i = (e) => e.replace((0, t.default)(), (e) => {
|
|
188
|
+
switch (e) {
|
|
189
|
+
case n.default.red.close:
|
|
190
|
+
case n.default.green.close:
|
|
191
|
+
case n.default.cyan.close:
|
|
192
|
+
case n.default.gray.close:
|
|
193
|
+
case n.default.white.close:
|
|
194
|
+
case n.default.yellow.close:
|
|
195
|
+
case n.default.bgRed.close:
|
|
196
|
+
case n.default.bgGreen.close:
|
|
197
|
+
case n.default.bgYellow.close:
|
|
198
|
+
case n.default.inverse.close:
|
|
199
|
+
case n.default.dim.close:
|
|
200
|
+
case n.default.bold.close:
|
|
201
|
+
case n.default.reset.open:
|
|
202
|
+
case n.default.reset.close: return "</>";
|
|
203
|
+
case n.default.red.open: return "<red>";
|
|
204
|
+
case n.default.green.open: return "<green>";
|
|
205
|
+
case n.default.cyan.open: return "<cyan>";
|
|
206
|
+
case n.default.gray.open: return "<gray>";
|
|
207
|
+
case n.default.white.open: return "<white>";
|
|
208
|
+
case n.default.yellow.open: return "<yellow>";
|
|
209
|
+
case n.default.bgRed.open: return "<bgRed>";
|
|
210
|
+
case n.default.bgGreen.open: return "<bgGreen>";
|
|
211
|
+
case n.default.bgYellow.open: return "<bgYellow>";
|
|
212
|
+
case n.default.inverse.open: return "<inverse>";
|
|
213
|
+
case n.default.dim.open: return "<dim>";
|
|
214
|
+
case n.default.bold.open: return "<bold>";
|
|
215
|
+
default: return "";
|
|
216
|
+
}
|
|
217
|
+
}), a = (e) => typeof e == "string" && !!e.match((0, t.default)());
|
|
218
|
+
e.test = a;
|
|
219
|
+
var o = (e, t, n, r, a, o) => o(i(e), t, n, r, a);
|
|
220
|
+
e.serialize = o, e.default = {
|
|
221
|
+
serialize: o,
|
|
222
|
+
test: a
|
|
223
|
+
};
|
|
224
|
+
})), f = /* @__PURE__ */ t(((e) => {
|
|
225
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
226
|
+
var t = c(), n = " ", r = ["DOMStringMap", "NamedNodeMap"], i = /^(HTML\w*Collection|NodeList)$/, a = (e) => r.indexOf(e) !== -1 || i.test(e), o = (e) => e && e.constructor && !!e.constructor.name && a(e.constructor.name);
|
|
227
|
+
e.test = o;
|
|
228
|
+
var s = (e) => e.constructor.name === "NamedNodeMap", l = (e, i, a, o, c, l) => {
|
|
229
|
+
let u = e.constructor.name;
|
|
230
|
+
return ++o > i.maxDepth ? "[" + u + "]" : (i.min ? "" : u + n) + (r.indexOf(u) === -1 ? "[" + (0, t.printListItems)(Array.from(e), i, a, o, c, l) + "]" : "{" + (0, t.printObjectProperties)(s(e) ? Array.from(e).reduce((e, t) => (e[t.name] = t.value, e), {}) : { ...e }, i, a, o, c, l) + "}");
|
|
231
|
+
};
|
|
232
|
+
e.serialize = l, e.default = {
|
|
233
|
+
serialize: l,
|
|
234
|
+
test: o
|
|
235
|
+
};
|
|
236
|
+
})), p = /* @__PURE__ */ t(((e) => {
|
|
237
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = t;
|
|
238
|
+
function t(e) {
|
|
239
|
+
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
240
|
+
}
|
|
241
|
+
})), m = /* @__PURE__ */ t(((e) => {
|
|
242
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.printText = e.printProps = e.printElementAsLeaf = e.printElement = e.printComment = e.printChildren = void 0;
|
|
243
|
+
var t = n(p());
|
|
244
|
+
function n(e) {
|
|
245
|
+
return e && e.__esModule ? e : { default: e };
|
|
246
|
+
}
|
|
247
|
+
e.printProps = (e, t, n, r, i, a, o) => {
|
|
248
|
+
let s = r + n.indent, c = n.colors;
|
|
249
|
+
return e.map((e) => {
|
|
250
|
+
let l = t[e], u = o(l, n, s, i, a);
|
|
251
|
+
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;
|
|
252
|
+
}).join("");
|
|
253
|
+
}, e.printChildren = (e, t, n, i, a, o) => e.map((e) => t.spacingOuter + n + (typeof e == "string" ? r(e, t) : o(e, t, n, i, a))).join("");
|
|
254
|
+
var r = (e, n) => {
|
|
255
|
+
let r = n.colors.content;
|
|
256
|
+
return r.open + (0, t.default)(e) + r.close;
|
|
257
|
+
};
|
|
258
|
+
e.printText = r, e.printComment = (e, n) => {
|
|
259
|
+
let r = n.colors.comment;
|
|
260
|
+
return r.open + "<!--" + (0, t.default)(e) + "-->" + r.close;
|
|
261
|
+
}, e.printElement = (e, t, n, r, i) => {
|
|
262
|
+
let a = r.colors.tag;
|
|
263
|
+
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;
|
|
264
|
+
}, e.printElementAsLeaf = (e, t) => {
|
|
265
|
+
let n = t.colors.tag;
|
|
266
|
+
return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
|
|
267
|
+
};
|
|
268
|
+
})), h = /* @__PURE__ */ t(((e) => {
|
|
269
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
270
|
+
var t = m(), n = 1, r = 3, i = 8, a = 11, o = /^((HTML|SVG)\w*)?Element$/, s = (e) => {
|
|
271
|
+
try {
|
|
272
|
+
return typeof e.hasAttribute == "function" && e.hasAttribute("is");
|
|
273
|
+
} catch {
|
|
274
|
+
return !1;
|
|
275
|
+
}
|
|
276
|
+
}, c = (e) => {
|
|
277
|
+
let t = e.constructor.name, { nodeType: c, tagName: l } = e, u = typeof l == "string" && l.includes("-") || s(e);
|
|
278
|
+
return c === n && (o.test(t) || u) || c === r && t === "Text" || c === i && t === "Comment" || c === a && t === "DocumentFragment";
|
|
279
|
+
}, l = (e) => e?.constructor?.name && c(e);
|
|
280
|
+
e.test = l;
|
|
281
|
+
function u(e) {
|
|
282
|
+
return e.nodeType === r;
|
|
283
|
+
}
|
|
284
|
+
function d(e) {
|
|
285
|
+
return e.nodeType === i;
|
|
286
|
+
}
|
|
287
|
+
function f(e) {
|
|
288
|
+
return e.nodeType === a;
|
|
289
|
+
}
|
|
290
|
+
var p = (e, n, r, i, a, o) => {
|
|
291
|
+
if (u(e)) return (0, t.printText)(e.data, n);
|
|
292
|
+
if (d(e)) return (0, t.printComment)(e.data, n);
|
|
293
|
+
let s = f(e) ? "DocumentFragment" : e.tagName.toLowerCase();
|
|
294
|
+
return ++i > n.maxDepth ? (0, t.printElementAsLeaf)(s, n) : (0, t.printElement)(s, (0, t.printProps)(f(e) ? [] : Array.from(e.attributes).map((e) => e.name).sort(), f(e) ? {} : Array.from(e.attributes).reduce((e, t) => (e[t.name] = t.value, e), {}), n, r + n.indent, i, a, o), (0, t.printChildren)(Array.prototype.slice.call(e.childNodes || e.children), n, r + n.indent, i, a, o), n, r);
|
|
295
|
+
};
|
|
296
|
+
e.serialize = p, e.default = {
|
|
297
|
+
serialize: p,
|
|
298
|
+
test: l
|
|
299
|
+
};
|
|
300
|
+
})), g = /* @__PURE__ */ t(((e) => {
|
|
301
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
302
|
+
var t = c(), n = "@@__IMMUTABLE_ITERABLE__@@", r = "@@__IMMUTABLE_LIST__@@", i = "@@__IMMUTABLE_KEYED__@@", a = "@@__IMMUTABLE_MAP__@@", o = "@@__IMMUTABLE_ORDERED__@@", s = "@@__IMMUTABLE_RECORD__@@", l = "@@__IMMUTABLE_SEQ__@@", u = "@@__IMMUTABLE_SET__@@", d = "@@__IMMUTABLE_STACK__@@", f = (e) => "Immutable." + e, p = (e) => "[" + e + "]", m = " ", h = "…", g = (e, n, r, i, a, o, s) => ++i > n.maxDepth ? p(f(s)) : f(s) + m + "{" + (0, t.printIteratorEntries)(e.entries(), n, r, i, a, o) + "}";
|
|
303
|
+
function _(e) {
|
|
304
|
+
let t = 0;
|
|
305
|
+
return { next() {
|
|
306
|
+
if (t < e._keys.length) {
|
|
307
|
+
let n = e._keys[t++];
|
|
308
|
+
return {
|
|
309
|
+
done: !1,
|
|
310
|
+
value: [n, e.get(n)]
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
return {
|
|
314
|
+
done: !0,
|
|
315
|
+
value: void 0
|
|
316
|
+
};
|
|
317
|
+
} };
|
|
318
|
+
}
|
|
319
|
+
var v = (e, n, r, i, a, o) => {
|
|
320
|
+
let s = f(e._name || "Record");
|
|
321
|
+
return ++i > n.maxDepth ? p(s) : s + m + "{" + (0, t.printIteratorEntries)(_(e), n, r, i, a, o) + "}";
|
|
322
|
+
}, y = (e, n, r, a, o, s) => {
|
|
323
|
+
let c = f("Seq");
|
|
324
|
+
return ++a > n.maxDepth ? p(c) : e[i] ? c + m + "{" + (e._iter || e._object ? (0, t.printIteratorEntries)(e.entries(), n, r, a, o, s) : h) + "}" : c + m + "[" + (e._iter || e._array || e._collection || e._iterable ? (0, t.printIteratorValues)(e.values(), n, r, a, o, s) : h) + "]";
|
|
325
|
+
}, b = (e, n, r, i, a, o, s) => ++i > n.maxDepth ? p(f(s)) : f(s) + m + "[" + (0, t.printIteratorValues)(e.values(), n, r, i, a, o) + "]", x = (e, t, n, i, s, c) => e[a] ? g(e, t, n, i, s, c, e[o] ? "OrderedMap" : "Map") : e[r] ? b(e, t, n, i, s, c, "List") : e[u] ? b(e, t, n, i, s, c, e[o] ? "OrderedSet" : "Set") : e[d] ? b(e, t, n, i, s, c, "Stack") : e[l] ? y(e, t, n, i, s, c) : v(e, t, n, i, s, c);
|
|
326
|
+
e.serialize = x;
|
|
327
|
+
var S = (e) => e && (e[n] === !0 || e[s] === !0);
|
|
328
|
+
e.test = S, e.default = {
|
|
329
|
+
serialize: x,
|
|
330
|
+
test: S
|
|
331
|
+
};
|
|
332
|
+
})), _ = /* @__PURE__ */ t(((e) => {
|
|
333
|
+
var t = 60103, n = 60106, r = 60107, i = 60108, a = 60114, o = 60109, s = 60110, c = 60112, l = 60113, u = 60120, d = 60115, f = 60116, p = 60121, m = 60122, h = 60117, g = 60129, _ = 60131;
|
|
334
|
+
if (typeof Symbol == "function" && Symbol.for) {
|
|
335
|
+
var v = Symbol.for;
|
|
336
|
+
t = v("react.element"), n = v("react.portal"), r = v("react.fragment"), i = v("react.strict_mode"), a = v("react.profiler"), o = v("react.provider"), s = v("react.context"), c = v("react.forward_ref"), l = v("react.suspense"), u = v("react.suspense_list"), d = v("react.memo"), f = v("react.lazy"), p = v("react.block"), m = v("react.server.block"), h = v("react.fundamental"), g = v("react.debug_trace_mode"), _ = v("react.legacy_hidden");
|
|
337
|
+
}
|
|
338
|
+
function y(e) {
|
|
339
|
+
if (typeof e == "object" && e) {
|
|
340
|
+
var p = e.$$typeof;
|
|
341
|
+
switch (p) {
|
|
342
|
+
case t: switch (e = e.type, e) {
|
|
343
|
+
case r:
|
|
344
|
+
case a:
|
|
345
|
+
case i:
|
|
346
|
+
case l:
|
|
347
|
+
case u: return e;
|
|
348
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
349
|
+
case s:
|
|
350
|
+
case c:
|
|
351
|
+
case f:
|
|
352
|
+
case d:
|
|
353
|
+
case o: return e;
|
|
354
|
+
default: return p;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
case n: return p;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
var b = o, x = t, S = c, ee = r, C = f, te = d, ne = n, re = a, w = i, T = l;
|
|
362
|
+
e.ContextConsumer = s, e.ContextProvider = b, e.Element = x, e.ForwardRef = S, e.Fragment = ee, e.Lazy = C, e.Memo = te, e.Portal = ne, e.Profiler = re, e.StrictMode = w, e.Suspense = T, e.isAsyncMode = function() {
|
|
363
|
+
return !1;
|
|
364
|
+
}, e.isConcurrentMode = function() {
|
|
365
|
+
return !1;
|
|
366
|
+
}, e.isContextConsumer = function(e) {
|
|
367
|
+
return y(e) === s;
|
|
368
|
+
}, e.isContextProvider = function(e) {
|
|
369
|
+
return y(e) === o;
|
|
370
|
+
}, e.isElement = function(e) {
|
|
371
|
+
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
372
|
+
}, e.isForwardRef = function(e) {
|
|
373
|
+
return y(e) === c;
|
|
374
|
+
}, e.isFragment = function(e) {
|
|
375
|
+
return y(e) === r;
|
|
376
|
+
}, e.isLazy = function(e) {
|
|
377
|
+
return y(e) === f;
|
|
378
|
+
}, e.isMemo = function(e) {
|
|
379
|
+
return y(e) === d;
|
|
380
|
+
}, e.isPortal = function(e) {
|
|
381
|
+
return y(e) === n;
|
|
382
|
+
}, e.isProfiler = function(e) {
|
|
383
|
+
return y(e) === a;
|
|
384
|
+
}, e.isStrictMode = function(e) {
|
|
385
|
+
return y(e) === i;
|
|
386
|
+
}, e.isSuspense = function(e) {
|
|
387
|
+
return y(e) === l;
|
|
388
|
+
}, e.isValidElementType = function(e) {
|
|
389
|
+
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === g || e === i || e === l || e === u || e === _ || typeof e == "object" && e && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === o || e.$$typeof === s || e.$$typeof === c || e.$$typeof === h || e.$$typeof === p || e[0] === m));
|
|
390
|
+
}, e.typeOf = y;
|
|
391
|
+
})), v = /* @__PURE__ */ t(((e) => {
|
|
392
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
393
|
+
var t = 60103, n = 60106, r = 60107, i = 60108, a = 60114, o = 60109, s = 60110, c = 60112, l = 60113, u = 60120, d = 60115, f = 60116, p = 60121, m = 60122, h = 60117, g = 60129, _ = 60131;
|
|
394
|
+
if (typeof Symbol == "function" && Symbol.for) {
|
|
395
|
+
var v = Symbol.for;
|
|
396
|
+
t = v("react.element"), n = v("react.portal"), r = v("react.fragment"), i = v("react.strict_mode"), a = v("react.profiler"), o = v("react.provider"), s = v("react.context"), c = v("react.forward_ref"), l = v("react.suspense"), u = v("react.suspense_list"), d = v("react.memo"), f = v("react.lazy"), p = v("react.block"), m = v("react.server.block"), h = v("react.fundamental"), v("react.scope"), v("react.opaque.id"), g = v("react.debug_trace_mode"), v("react.offscreen"), _ = v("react.legacy_hidden");
|
|
397
|
+
}
|
|
398
|
+
var y = !1;
|
|
399
|
+
function b(e) {
|
|
400
|
+
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === g || e === i || e === l || e === u || e === _ || y || typeof e == "object" && e && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === o || e.$$typeof === s || e.$$typeof === c || e.$$typeof === h || e.$$typeof === p || e[0] === m));
|
|
401
|
+
}
|
|
402
|
+
function x(e) {
|
|
403
|
+
if (typeof e == "object" && e) {
|
|
404
|
+
var p = e.$$typeof;
|
|
405
|
+
switch (p) {
|
|
406
|
+
case t:
|
|
407
|
+
var m = e.type;
|
|
408
|
+
switch (m) {
|
|
409
|
+
case r:
|
|
410
|
+
case a:
|
|
411
|
+
case i:
|
|
412
|
+
case l:
|
|
413
|
+
case u: return m;
|
|
414
|
+
default:
|
|
415
|
+
var h = m && m.$$typeof;
|
|
416
|
+
switch (h) {
|
|
417
|
+
case s:
|
|
418
|
+
case c:
|
|
419
|
+
case f:
|
|
420
|
+
case d:
|
|
421
|
+
case o: return h;
|
|
422
|
+
default: return p;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
case n: return p;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
var S = s, ee = o, C = t, te = c, ne = r, re = f, w = d, T = n, ie = a, ae = i, oe = l, E = !1, D = !1;
|
|
430
|
+
function se(e) {
|
|
431
|
+
return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
432
|
+
}
|
|
433
|
+
function ce(e) {
|
|
434
|
+
return D || (D = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
435
|
+
}
|
|
436
|
+
function O(e) {
|
|
437
|
+
return x(e) === s;
|
|
438
|
+
}
|
|
439
|
+
function le(e) {
|
|
440
|
+
return x(e) === o;
|
|
441
|
+
}
|
|
442
|
+
function ue(e) {
|
|
443
|
+
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
444
|
+
}
|
|
445
|
+
function k(e) {
|
|
446
|
+
return x(e) === c;
|
|
447
|
+
}
|
|
448
|
+
function A(e) {
|
|
449
|
+
return x(e) === r;
|
|
450
|
+
}
|
|
451
|
+
function de(e) {
|
|
452
|
+
return x(e) === f;
|
|
453
|
+
}
|
|
454
|
+
function j(e) {
|
|
455
|
+
return x(e) === d;
|
|
456
|
+
}
|
|
457
|
+
function fe(e) {
|
|
458
|
+
return x(e) === n;
|
|
459
|
+
}
|
|
460
|
+
function M(e) {
|
|
461
|
+
return x(e) === a;
|
|
462
|
+
}
|
|
463
|
+
function pe(e) {
|
|
464
|
+
return x(e) === i;
|
|
465
|
+
}
|
|
466
|
+
function N(e) {
|
|
467
|
+
return x(e) === l;
|
|
468
|
+
}
|
|
469
|
+
e.ContextConsumer = S, e.ContextProvider = ee, e.Element = C, e.ForwardRef = te, e.Fragment = ne, e.Lazy = re, e.Memo = w, e.Portal = T, e.Profiler = ie, e.StrictMode = ae, e.Suspense = oe, e.isAsyncMode = se, e.isConcurrentMode = ce, e.isContextConsumer = O, e.isContextProvider = le, e.isElement = ue, e.isForwardRef = k, e.isFragment = A, e.isLazy = de, e.isMemo = j, e.isPortal = fe, e.isProfiler = M, e.isStrictMode = pe, e.isSuspense = N, e.isValidElementType = b, e.typeOf = x;
|
|
470
|
+
})();
|
|
471
|
+
})), y = /* @__PURE__ */ t(((e, t) => {
|
|
472
|
+
process.env.NODE_ENV === "production" ? t.exports = _() : t.exports = v();
|
|
473
|
+
})), b = /* @__PURE__ */ t(((e) => {
|
|
474
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
475
|
+
var t = i(y()), n = m();
|
|
476
|
+
function r(e) {
|
|
477
|
+
if (typeof WeakMap != "function") return null;
|
|
478
|
+
var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
479
|
+
return (r = function(e) {
|
|
480
|
+
return e ? n : t;
|
|
481
|
+
})(e);
|
|
482
|
+
}
|
|
483
|
+
function i(e, t) {
|
|
484
|
+
if (!t && e && e.__esModule) return e;
|
|
485
|
+
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
|
|
486
|
+
var n = r(t);
|
|
487
|
+
if (n && n.has(e)) return n.get(e);
|
|
488
|
+
var i = {}, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
489
|
+
for (var o in e) if (o !== "default" && Object.prototype.hasOwnProperty.call(e, o)) {
|
|
490
|
+
var s = a ? Object.getOwnPropertyDescriptor(e, o) : null;
|
|
491
|
+
s && (s.get || s.set) ? Object.defineProperty(i, o, s) : i[o] = e[o];
|
|
492
|
+
}
|
|
493
|
+
return i.default = e, n && n.set(e, i), i;
|
|
494
|
+
}
|
|
495
|
+
var a = (e, t = []) => (Array.isArray(e) ? e.forEach((e) => {
|
|
496
|
+
a(e, t);
|
|
497
|
+
}) : e != null && e !== !1 && t.push(e), t), o = (e) => {
|
|
498
|
+
let n = e.type;
|
|
499
|
+
if (typeof n == "string") return n;
|
|
500
|
+
if (typeof n == "function") return n.displayName || n.name || "Unknown";
|
|
501
|
+
if (t.isFragment(e)) return "React.Fragment";
|
|
502
|
+
if (t.isSuspense(e)) return "React.Suspense";
|
|
503
|
+
if (typeof n == "object" && n) {
|
|
504
|
+
if (t.isContextProvider(e)) return "Context.Provider";
|
|
505
|
+
if (t.isContextConsumer(e)) return "Context.Consumer";
|
|
506
|
+
if (t.isForwardRef(e)) {
|
|
507
|
+
if (n.displayName) return n.displayName;
|
|
508
|
+
let e = n.render.displayName || n.render.name || "";
|
|
509
|
+
return e === "" ? "ForwardRef" : "ForwardRef(" + e + ")";
|
|
510
|
+
}
|
|
511
|
+
if (t.isMemo(e)) {
|
|
512
|
+
let e = n.displayName || n.type.displayName || n.type.name || "";
|
|
513
|
+
return e === "" ? "Memo" : "Memo(" + e + ")";
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return "UNDEFINED";
|
|
517
|
+
}, s = (e) => {
|
|
518
|
+
let { props: t } = e;
|
|
519
|
+
return Object.keys(t).filter((e) => e !== "children" && t[e] !== void 0).sort();
|
|
520
|
+
}, c = (e, t, r, i, c, l) => ++i > t.maxDepth ? (0, n.printElementAsLeaf)(o(e), t) : (0, n.printElement)(o(e), (0, n.printProps)(s(e), e.props, t, r + t.indent, i, c, l), (0, n.printChildren)(a(e.props.children), t, r + t.indent, i, c, l), t, r);
|
|
521
|
+
e.serialize = c;
|
|
522
|
+
var l = (e) => e != null && t.isElement(e);
|
|
523
|
+
e.test = l, e.default = {
|
|
524
|
+
serialize: c,
|
|
525
|
+
test: l
|
|
526
|
+
};
|
|
527
|
+
})), x = /* @__PURE__ */ t(((e) => {
|
|
528
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.test = e.serialize = e.default = void 0;
|
|
529
|
+
var t = m(), n = (function() {
|
|
530
|
+
return typeof globalThis < "u" ? globalThis : n === void 0 ? typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")() : n;
|
|
531
|
+
})(), r = n["jest-symbol-do-not-touch"] || n.Symbol, i = typeof r == "function" && r.for ? r.for("react.test.json") : 245830487, a = (e) => {
|
|
532
|
+
let { props: t } = e;
|
|
533
|
+
return t ? Object.keys(t).filter((e) => t[e] !== void 0).sort() : [];
|
|
534
|
+
}, o = (e, n, r, i, o, s) => ++i > n.maxDepth ? (0, t.printElementAsLeaf)(e.type, n) : (0, t.printElement)(e.type, e.props ? (0, t.printProps)(a(e), e.props, n, r + n.indent, i, o, s) : "", e.children ? (0, t.printChildren)(e.children, n, r + n.indent, i, o, s) : "", n, r);
|
|
535
|
+
e.serialize = o;
|
|
536
|
+
var s = (e) => e && e.$$typeof === i;
|
|
537
|
+
e.test = s, e.default = {
|
|
538
|
+
serialize: o,
|
|
539
|
+
test: s
|
|
540
|
+
};
|
|
541
|
+
})), S = /* @__PURE__ */ t(((e) => {
|
|
542
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.DEFAULT_OPTIONS = void 0, e.format = ve, e.plugins = void 0;
|
|
543
|
+
var t = _(s()), n = c(), r = _(l()), i = _(d()), a = _(f()), o = _(h()), u = _(g()), p = _(b()), m = _(x());
|
|
544
|
+
function _(e) {
|
|
545
|
+
return e && e.__esModule ? e : { default: e };
|
|
546
|
+
}
|
|
547
|
+
var v = Object.prototype.toString, y = Date.prototype.toISOString, S = Error.prototype.toString, ee = RegExp.prototype.toString, C = (e) => typeof e.constructor == "function" && e.constructor.name || "Object", te = (e) => typeof window < "u" && e === window, ne = /^Symbol\((.*)\)(.*)$/, re = /\n/gi, w = class extends Error {
|
|
548
|
+
constructor(e, t) {
|
|
549
|
+
super(e), this.stack = t, this.name = this.constructor.name;
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
function T(e) {
|
|
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
|
+
}
|
|
555
|
+
function ie(e) {
|
|
556
|
+
return Object.is(e, -0) ? "-0" : String(e);
|
|
557
|
+
}
|
|
558
|
+
function ae(e) {
|
|
559
|
+
return String(`${e}n`);
|
|
560
|
+
}
|
|
561
|
+
function oe(e, t) {
|
|
562
|
+
return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]";
|
|
563
|
+
}
|
|
564
|
+
function E(e) {
|
|
565
|
+
return String(e).replace(ne, "Symbol($1)");
|
|
566
|
+
}
|
|
567
|
+
function D(e) {
|
|
568
|
+
return "[" + S.call(e) + "]";
|
|
569
|
+
}
|
|
570
|
+
function se(e, t, n, r) {
|
|
571
|
+
if (e === !0 || e === !1) return "" + e;
|
|
572
|
+
if (e === void 0) return "undefined";
|
|
573
|
+
if (e === null) return "null";
|
|
574
|
+
let i = typeof e;
|
|
575
|
+
if (i === "number") return ie(e);
|
|
576
|
+
if (i === "bigint") return ae(e);
|
|
577
|
+
if (i === "string") return r ? "\"" + e.replace(/"|\\/g, "\\$&") + "\"" : "\"" + e + "\"";
|
|
578
|
+
if (i === "function") return oe(e, t);
|
|
579
|
+
if (i === "symbol") return E(e);
|
|
580
|
+
let a = v.call(e);
|
|
581
|
+
return a === "[object WeakMap]" ? "WeakMap {}" : a === "[object WeakSet]" ? "WeakSet {}" : a === "[object Function]" || a === "[object GeneratorFunction]" ? oe(e, t) : a === "[object Symbol]" ? E(e) : a === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : y.call(e) : a === "[object Error]" ? D(e) : a === "[object RegExp]" ? n ? ee.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : ee.call(e) : e instanceof Error ? D(e) : null;
|
|
582
|
+
}
|
|
583
|
+
function ce(e, t, r, i, a, o) {
|
|
584
|
+
if (a.indexOf(e) !== -1) return "[Circular]";
|
|
585
|
+
a = a.slice(), a.push(e);
|
|
586
|
+
let s = ++i > t.maxDepth, c = t.min;
|
|
587
|
+
if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !o) return k(e.toJSON(), t, r, i, a, !0);
|
|
588
|
+
let l = v.call(e);
|
|
589
|
+
return l === "[object Arguments]" ? s ? "[Arguments]" : (c ? "" : "Arguments ") + "[" + (0, n.printListItems)(e, t, r, i, a, k) + "]" : T(l) ? s ? "[" + e.constructor.name + "]" : (c || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.name + " ") + "[" + (0, n.printListItems)(e, t, r, i, a, k) + "]" : l === "[object Map]" ? s ? "[Map]" : "Map {" + (0, n.printIteratorEntries)(e.entries(), t, r, i, a, k, " => ") + "}" : l === "[object Set]" ? s ? "[Set]" : "Set {" + (0, n.printIteratorValues)(e.values(), t, r, i, a, k) + "}" : s || te(e) ? "[" + C(e) + "]" : (c || !t.printBasicPrototype && C(e) === "Object" ? "" : C(e) + " ") + "{" + (0, n.printObjectProperties)(e, t, r, i, a, k) + "}";
|
|
590
|
+
}
|
|
591
|
+
function O(e) {
|
|
592
|
+
return e.serialize != null;
|
|
593
|
+
}
|
|
594
|
+
function le(e, t, n, r, i, a) {
|
|
595
|
+
let o;
|
|
596
|
+
try {
|
|
597
|
+
o = O(e) ? e.serialize(t, n, r, i, a, k) : e.print(t, (e) => k(e, n, r, i, a), (e) => {
|
|
598
|
+
let t = r + n.indent;
|
|
599
|
+
return t + e.replace(re, "\n" + t);
|
|
600
|
+
}, {
|
|
601
|
+
edgeSpacing: n.spacingOuter,
|
|
602
|
+
min: n.min,
|
|
603
|
+
spacing: n.spacingInner
|
|
604
|
+
}, n.colors);
|
|
605
|
+
} catch (e) {
|
|
606
|
+
throw new w(e.message, e.stack);
|
|
607
|
+
}
|
|
608
|
+
if (typeof o != "string") throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);
|
|
609
|
+
return o;
|
|
610
|
+
}
|
|
611
|
+
function ue(e, t) {
|
|
612
|
+
for (let n = 0; n < e.length; n++) try {
|
|
613
|
+
if (e[n].test(t)) return e[n];
|
|
614
|
+
} catch (e) {
|
|
615
|
+
throw new w(e.message, e.stack);
|
|
616
|
+
}
|
|
617
|
+
return null;
|
|
618
|
+
}
|
|
619
|
+
function k(e, t, n, r, i, a) {
|
|
620
|
+
let o = ue(t.plugins, e);
|
|
621
|
+
if (o !== null) return le(o, e, t, n, r, i);
|
|
622
|
+
let s = se(e, t.printFunctionName, t.escapeRegex, t.escapeString);
|
|
623
|
+
return s === null ? ce(e, t, n, r, i, a) : s;
|
|
624
|
+
}
|
|
625
|
+
var A = {
|
|
626
|
+
comment: "gray",
|
|
627
|
+
content: "reset",
|
|
628
|
+
prop: "yellow",
|
|
629
|
+
tag: "cyan",
|
|
630
|
+
value: "green"
|
|
631
|
+
}, de = Object.keys(A), j = {
|
|
632
|
+
callToJSON: !0,
|
|
633
|
+
compareKeys: void 0,
|
|
634
|
+
escapeRegex: !1,
|
|
635
|
+
escapeString: !0,
|
|
636
|
+
highlight: !1,
|
|
637
|
+
indent: 2,
|
|
638
|
+
maxDepth: Infinity,
|
|
639
|
+
min: !1,
|
|
640
|
+
plugins: [],
|
|
641
|
+
printBasicPrototype: !0,
|
|
642
|
+
printFunctionName: !0,
|
|
643
|
+
theme: A
|
|
644
|
+
};
|
|
645
|
+
e.DEFAULT_OPTIONS = j;
|
|
646
|
+
function fe(e) {
|
|
647
|
+
if (Object.keys(e).forEach((e) => {
|
|
648
|
+
if (!j.hasOwnProperty(e)) throw Error(`pretty-format: Unknown option "${e}".`);
|
|
649
|
+
}), e.min && e.indent !== void 0 && e.indent !== 0) throw Error("pretty-format: Options \"min\" and \"indent\" cannot be used together.");
|
|
650
|
+
if (e.theme !== void 0) {
|
|
651
|
+
if (e.theme === null) throw Error("pretty-format: Option \"theme\" must not be null.");
|
|
652
|
+
if (typeof e.theme != "object") throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
var M = (e) => de.reduce((n, r) => {
|
|
656
|
+
let i = e.theme && e.theme[r] !== void 0 ? e.theme[r] : A[r], a = i && t.default[i];
|
|
657
|
+
if (a && typeof a.close == "string" && typeof a.open == "string") n[r] = a;
|
|
658
|
+
else throw Error(`pretty-format: Option "theme" has a key "${r}" whose value "${i}" is undefined in ansi-styles.`);
|
|
659
|
+
return n;
|
|
660
|
+
}, Object.create(null)), pe = () => de.reduce((e, t) => (e[t] = {
|
|
661
|
+
close: "",
|
|
662
|
+
open: ""
|
|
663
|
+
}, e), Object.create(null)), N = (e) => e && e.printFunctionName !== void 0 ? e.printFunctionName : j.printFunctionName, me = (e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : j.escapeRegex, he = (e) => e && e.escapeString !== void 0 ? e.escapeString : j.escapeString, ge = (e) => ({
|
|
664
|
+
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : j.callToJSON,
|
|
665
|
+
colors: e && e.highlight ? M(e) : pe(),
|
|
666
|
+
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : j.compareKeys,
|
|
667
|
+
escapeRegex: me(e),
|
|
668
|
+
escapeString: he(e),
|
|
669
|
+
indent: e && e.min ? "" : _e(e && e.indent !== void 0 ? e.indent : j.indent),
|
|
670
|
+
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : j.maxDepth,
|
|
671
|
+
min: e && e.min !== void 0 ? e.min : j.min,
|
|
672
|
+
plugins: e && e.plugins !== void 0 ? e.plugins : j.plugins,
|
|
673
|
+
printBasicPrototype: e?.printBasicPrototype ?? !0,
|
|
674
|
+
printFunctionName: N(e),
|
|
675
|
+
spacingInner: e && e.min ? " " : "\n",
|
|
676
|
+
spacingOuter: e && e.min ? "" : "\n"
|
|
677
|
+
});
|
|
678
|
+
function _e(e) {
|
|
679
|
+
return Array(e + 1).join(" ");
|
|
680
|
+
}
|
|
681
|
+
function ve(e, t) {
|
|
682
|
+
if (t && (fe(t), t.plugins)) {
|
|
683
|
+
let n = ue(t.plugins, e);
|
|
684
|
+
if (n !== null) return le(n, e, ge(t), "", 0, []);
|
|
685
|
+
}
|
|
686
|
+
let n = se(e, N(t), me(t), he(t));
|
|
687
|
+
return n === null ? ce(e, ge(t), "", 0, []) : n;
|
|
688
|
+
}
|
|
689
|
+
e.plugins = {
|
|
690
|
+
AsymmetricMatcher: r.default,
|
|
691
|
+
ConvertAnsi: i.default,
|
|
692
|
+
DOMCollection: a.default,
|
|
693
|
+
DOMElement: o.default,
|
|
694
|
+
Immutable: u.default,
|
|
695
|
+
ReactElement: p.default,
|
|
696
|
+
ReactTestComponent: m.default
|
|
697
|
+
}, e.default = ve;
|
|
698
|
+
})), ee = Object.prototype.toString;
|
|
699
|
+
function C(e) {
|
|
700
|
+
return typeof e == "function" || ee.call(e) === "[object Function]";
|
|
701
|
+
}
|
|
702
|
+
function te(e) {
|
|
703
|
+
var t = Number(e);
|
|
704
|
+
return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
|
|
705
|
+
}
|
|
706
|
+
var ne = 2 ** 53 - 1;
|
|
707
|
+
function re(e) {
|
|
708
|
+
var t = te(e);
|
|
709
|
+
return Math.min(Math.max(t, 0), ne);
|
|
710
|
+
}
|
|
711
|
+
function w(e, t) {
|
|
712
|
+
var n = Array, r = Object(e);
|
|
713
|
+
if (e == null) throw TypeError("Array.from requires an array-like object - not null or undefined");
|
|
714
|
+
if (t !== void 0 && !C(t)) throw TypeError("Array.from: when provided, the second argument must be a function");
|
|
715
|
+
for (var i = re(r.length), a = C(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
|
+
return a.length = i, a;
|
|
717
|
+
}
|
|
718
|
+
//#endregion
|
|
719
|
+
//#region node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
|
|
720
|
+
function T(e) {
|
|
721
|
+
"@babel/helpers - typeof";
|
|
722
|
+
return T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
723
|
+
return typeof e;
|
|
724
|
+
} : function(e) {
|
|
725
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
726
|
+
}, T(e);
|
|
727
|
+
}
|
|
728
|
+
function ie(e, t) {
|
|
729
|
+
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
730
|
+
}
|
|
731
|
+
function ae(e, t) {
|
|
732
|
+
for (var n = 0; n < t.length; n++) {
|
|
733
|
+
var r = t[n];
|
|
734
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, D(r.key), r);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
function oe(e, t, n) {
|
|
738
|
+
return t && ae(e.prototype, t), n && ae(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
739
|
+
}
|
|
740
|
+
function E(e, t, n) {
|
|
741
|
+
return t = D(t), t in e ? Object.defineProperty(e, t, {
|
|
742
|
+
value: n,
|
|
743
|
+
enumerable: !0,
|
|
744
|
+
configurable: !0,
|
|
745
|
+
writable: !0
|
|
746
|
+
}) : e[t] = n, e;
|
|
747
|
+
}
|
|
748
|
+
function D(e) {
|
|
749
|
+
var t = se(e, "string");
|
|
750
|
+
return T(t) === "symbol" ? t : String(t);
|
|
751
|
+
}
|
|
752
|
+
function se(e, t) {
|
|
753
|
+
if (T(e) !== "object" || e === null) return e;
|
|
754
|
+
var n = e[Symbol.toPrimitive];
|
|
755
|
+
if (n !== void 0) {
|
|
756
|
+
var r = n.call(e, t || "default");
|
|
757
|
+
if (T(r) !== "object") return r;
|
|
758
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
759
|
+
}
|
|
760
|
+
return (t === "string" ? String : Number)(e);
|
|
761
|
+
}
|
|
762
|
+
var ce = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
763
|
+
function e() {
|
|
764
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
765
|
+
ie(this, e), E(this, "items", void 0), this.items = t;
|
|
766
|
+
}
|
|
767
|
+
return oe(e, [
|
|
768
|
+
{
|
|
769
|
+
key: "add",
|
|
770
|
+
value: function(e) {
|
|
771
|
+
return this.has(e) === !1 && this.items.push(e), this;
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
key: "clear",
|
|
776
|
+
value: function() {
|
|
777
|
+
this.items = [];
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
key: "delete",
|
|
782
|
+
value: function(e) {
|
|
783
|
+
var t = this.items.length;
|
|
784
|
+
return this.items = this.items.filter(function(t) {
|
|
785
|
+
return t !== e;
|
|
786
|
+
}), t !== this.items.length;
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
key: "forEach",
|
|
791
|
+
value: function(e) {
|
|
792
|
+
var t = this;
|
|
793
|
+
this.items.forEach(function(n) {
|
|
794
|
+
e(n, n, t);
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
key: "has",
|
|
800
|
+
value: function(e) {
|
|
801
|
+
return this.items.indexOf(e) !== -1;
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
key: "size",
|
|
806
|
+
get: function() {
|
|
807
|
+
return this.items.length;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
]), e;
|
|
811
|
+
}();
|
|
812
|
+
//#endregion
|
|
813
|
+
//#region node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
814
|
+
function O(e) {
|
|
815
|
+
return e.localName ?? e.tagName.toLowerCase();
|
|
816
|
+
}
|
|
817
|
+
var le = {
|
|
818
|
+
article: "article",
|
|
819
|
+
aside: "complementary",
|
|
820
|
+
button: "button",
|
|
821
|
+
datalist: "listbox",
|
|
822
|
+
dd: "definition",
|
|
823
|
+
details: "group",
|
|
824
|
+
dialog: "dialog",
|
|
825
|
+
dt: "term",
|
|
826
|
+
fieldset: "group",
|
|
827
|
+
figure: "figure",
|
|
828
|
+
form: "form",
|
|
829
|
+
footer: "contentinfo",
|
|
830
|
+
h1: "heading",
|
|
831
|
+
h2: "heading",
|
|
832
|
+
h3: "heading",
|
|
833
|
+
h4: "heading",
|
|
834
|
+
h5: "heading",
|
|
835
|
+
h6: "heading",
|
|
836
|
+
header: "banner",
|
|
837
|
+
hr: "separator",
|
|
838
|
+
html: "document",
|
|
839
|
+
legend: "legend",
|
|
840
|
+
li: "listitem",
|
|
841
|
+
math: "math",
|
|
842
|
+
main: "main",
|
|
843
|
+
menu: "list",
|
|
844
|
+
nav: "navigation",
|
|
845
|
+
ol: "list",
|
|
846
|
+
optgroup: "group",
|
|
847
|
+
option: "option",
|
|
848
|
+
output: "status",
|
|
849
|
+
progress: "progressbar",
|
|
850
|
+
section: "region",
|
|
851
|
+
summary: "button",
|
|
852
|
+
table: "table",
|
|
853
|
+
tbody: "rowgroup",
|
|
854
|
+
textarea: "textbox",
|
|
855
|
+
tfoot: "rowgroup",
|
|
856
|
+
td: "cell",
|
|
857
|
+
th: "columnheader",
|
|
858
|
+
thead: "rowgroup",
|
|
859
|
+
tr: "row",
|
|
860
|
+
ul: "list"
|
|
861
|
+
}, ue = {
|
|
862
|
+
caption: new Set(["aria-label", "aria-labelledby"]),
|
|
863
|
+
code: new Set(["aria-label", "aria-labelledby"]),
|
|
864
|
+
deletion: new Set(["aria-label", "aria-labelledby"]),
|
|
865
|
+
emphasis: new Set(["aria-label", "aria-labelledby"]),
|
|
866
|
+
generic: new Set([
|
|
867
|
+
"aria-label",
|
|
868
|
+
"aria-labelledby",
|
|
869
|
+
"aria-roledescription"
|
|
870
|
+
]),
|
|
871
|
+
insertion: new Set(["aria-label", "aria-labelledby"]),
|
|
872
|
+
paragraph: new Set(["aria-label", "aria-labelledby"]),
|
|
873
|
+
presentation: new Set(["aria-label", "aria-labelledby"]),
|
|
874
|
+
strong: new Set(["aria-label", "aria-labelledby"]),
|
|
875
|
+
subscript: new Set(["aria-label", "aria-labelledby"]),
|
|
876
|
+
superscript: new Set(["aria-label", "aria-labelledby"])
|
|
877
|
+
};
|
|
878
|
+
function k(e, t) {
|
|
879
|
+
return [
|
|
880
|
+
"aria-atomic",
|
|
881
|
+
"aria-busy",
|
|
882
|
+
"aria-controls",
|
|
883
|
+
"aria-current",
|
|
884
|
+
"aria-describedby",
|
|
885
|
+
"aria-details",
|
|
886
|
+
"aria-dropeffect",
|
|
887
|
+
"aria-flowto",
|
|
888
|
+
"aria-grabbed",
|
|
889
|
+
"aria-hidden",
|
|
890
|
+
"aria-keyshortcuts",
|
|
891
|
+
"aria-label",
|
|
892
|
+
"aria-labelledby",
|
|
893
|
+
"aria-live",
|
|
894
|
+
"aria-owns",
|
|
895
|
+
"aria-relevant",
|
|
896
|
+
"aria-roledescription"
|
|
897
|
+
].some(function(n) {
|
|
898
|
+
var r;
|
|
899
|
+
return e.hasAttribute(n) && !((r = ue[t]) != null && r.has(n));
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
function A(e, t) {
|
|
903
|
+
return k(e, t);
|
|
904
|
+
}
|
|
905
|
+
function de(e) {
|
|
906
|
+
var t = fe(e);
|
|
907
|
+
if (t === null || t === "presentation") {
|
|
908
|
+
var n = j(e);
|
|
909
|
+
if (t !== "presentation" || A(e, n || "")) return n;
|
|
910
|
+
}
|
|
911
|
+
return t;
|
|
912
|
+
}
|
|
913
|
+
function j(e) {
|
|
914
|
+
var t = le[O(e)];
|
|
915
|
+
if (t !== void 0) return t;
|
|
916
|
+
switch (O(e)) {
|
|
917
|
+
case "a":
|
|
918
|
+
case "area":
|
|
919
|
+
case "link":
|
|
920
|
+
if (e.hasAttribute("href")) return "link";
|
|
921
|
+
break;
|
|
922
|
+
case "img": return e.getAttribute("alt") === "" && !A(e, "img") ? "presentation" : "img";
|
|
923
|
+
case "input":
|
|
924
|
+
var n = e.type;
|
|
925
|
+
switch (n) {
|
|
926
|
+
case "button":
|
|
927
|
+
case "image":
|
|
928
|
+
case "reset":
|
|
929
|
+
case "submit": return "button";
|
|
930
|
+
case "checkbox":
|
|
931
|
+
case "radio": return n;
|
|
932
|
+
case "range": return "slider";
|
|
933
|
+
case "email":
|
|
934
|
+
case "tel":
|
|
935
|
+
case "text":
|
|
936
|
+
case "url": return e.hasAttribute("list") ? "combobox" : "textbox";
|
|
937
|
+
case "search": return e.hasAttribute("list") ? "combobox" : "searchbox";
|
|
938
|
+
case "number": return "spinbutton";
|
|
939
|
+
default: return null;
|
|
940
|
+
}
|
|
941
|
+
case "select": return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
|
|
942
|
+
}
|
|
943
|
+
return null;
|
|
944
|
+
}
|
|
945
|
+
function fe(e) {
|
|
946
|
+
var t = e.getAttribute("role");
|
|
947
|
+
if (t !== null) {
|
|
948
|
+
var n = t.trim().split(" ")[0];
|
|
949
|
+
if (n.length > 0) return n;
|
|
950
|
+
}
|
|
951
|
+
return null;
|
|
952
|
+
}
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region node_modules/dom-accessibility-api/dist/util.mjs
|
|
955
|
+
function M(e) {
|
|
956
|
+
return e !== null && e.nodeType === e.ELEMENT_NODE;
|
|
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
|
+
function _e(e) {
|
|
974
|
+
return M(e) && O(e) === "textarea";
|
|
975
|
+
}
|
|
976
|
+
function ve(e) {
|
|
977
|
+
var t = (e.ownerDocument === null ? e : e.ownerDocument).defaultView;
|
|
978
|
+
if (t === null) throw TypeError("no window available");
|
|
979
|
+
return t;
|
|
980
|
+
}
|
|
981
|
+
function ye(e) {
|
|
982
|
+
return M(e) && O(e) === "fieldset";
|
|
983
|
+
}
|
|
984
|
+
function be(e) {
|
|
985
|
+
return M(e) && O(e) === "legend";
|
|
986
|
+
}
|
|
987
|
+
function xe(e) {
|
|
988
|
+
return M(e) && O(e) === "slot";
|
|
989
|
+
}
|
|
990
|
+
function Se(e) {
|
|
991
|
+
return M(e) && e.ownerSVGElement !== void 0;
|
|
992
|
+
}
|
|
993
|
+
function Ce(e) {
|
|
994
|
+
return M(e) && O(e) === "svg";
|
|
995
|
+
}
|
|
996
|
+
function we(e) {
|
|
997
|
+
return Se(e) && O(e) === "title";
|
|
998
|
+
}
|
|
999
|
+
function Te(e, t) {
|
|
1000
|
+
if (M(e) && e.hasAttribute(t)) {
|
|
1001
|
+
var n = e.getAttribute(t).split(" "), r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
1002
|
+
return n.map(function(e) {
|
|
1003
|
+
return r.getElementById(e);
|
|
1004
|
+
}).filter(function(e) {
|
|
1005
|
+
return e !== null;
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
return [];
|
|
1009
|
+
}
|
|
1010
|
+
function P(e, t) {
|
|
1011
|
+
return M(e) ? t.indexOf(de(e)) !== -1 : !1;
|
|
1012
|
+
}
|
|
1013
|
+
//#endregion
|
|
1014
|
+
//#region node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
1015
|
+
function Ee(e) {
|
|
1016
|
+
return e.trim().replace(/\s\s+/g, " ");
|
|
1017
|
+
}
|
|
1018
|
+
function De(e, t) {
|
|
1019
|
+
if (!M(e)) return !1;
|
|
1020
|
+
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0;
|
|
1021
|
+
var n = t(e);
|
|
1022
|
+
return n.getPropertyValue("display") === "none" || n.getPropertyValue("visibility") === "hidden";
|
|
1023
|
+
}
|
|
1024
|
+
function Oe(e) {
|
|
1025
|
+
return P(e, [
|
|
1026
|
+
"button",
|
|
1027
|
+
"combobox",
|
|
1028
|
+
"listbox",
|
|
1029
|
+
"textbox"
|
|
1030
|
+
]) || ke(e, "range");
|
|
1031
|
+
}
|
|
1032
|
+
function ke(e, t) {
|
|
1033
|
+
if (!M(e)) return !1;
|
|
1034
|
+
switch (t) {
|
|
1035
|
+
case "range": return P(e, [
|
|
1036
|
+
"meter",
|
|
1037
|
+
"progressbar",
|
|
1038
|
+
"scrollbar",
|
|
1039
|
+
"slider",
|
|
1040
|
+
"spinbutton"
|
|
1041
|
+
]);
|
|
1042
|
+
default: throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
function Ae(e, t) {
|
|
1046
|
+
var n = w(e.querySelectorAll(t));
|
|
1047
|
+
return Te(e, "aria-owns").forEach(function(e) {
|
|
1048
|
+
n.push.apply(n, w(e.querySelectorAll(t)));
|
|
1049
|
+
}), n;
|
|
1050
|
+
}
|
|
1051
|
+
function je(e) {
|
|
1052
|
+
return he(e) ? e.selectedOptions || Ae(e, "[selected]") : Ae(e, "[aria-selected=\"true\"]");
|
|
1053
|
+
}
|
|
1054
|
+
function Me(e) {
|
|
1055
|
+
return P(e, ["none", "presentation"]);
|
|
1056
|
+
}
|
|
1057
|
+
function Ne(e) {
|
|
1058
|
+
return pe(e);
|
|
1059
|
+
}
|
|
1060
|
+
function Pe(e) {
|
|
1061
|
+
return P(e, [
|
|
1062
|
+
"button",
|
|
1063
|
+
"cell",
|
|
1064
|
+
"checkbox",
|
|
1065
|
+
"columnheader",
|
|
1066
|
+
"gridcell",
|
|
1067
|
+
"heading",
|
|
1068
|
+
"label",
|
|
1069
|
+
"legend",
|
|
1070
|
+
"link",
|
|
1071
|
+
"menuitem",
|
|
1072
|
+
"menuitemcheckbox",
|
|
1073
|
+
"menuitemradio",
|
|
1074
|
+
"option",
|
|
1075
|
+
"radio",
|
|
1076
|
+
"row",
|
|
1077
|
+
"rowheader",
|
|
1078
|
+
"switch",
|
|
1079
|
+
"tab",
|
|
1080
|
+
"tooltip",
|
|
1081
|
+
"treeitem"
|
|
1082
|
+
]);
|
|
1083
|
+
}
|
|
1084
|
+
function Fe(e) {
|
|
1085
|
+
return !1;
|
|
1086
|
+
}
|
|
1087
|
+
function Ie(e) {
|
|
1088
|
+
return N(e) || _e(e) ? e.value : e.textContent || "";
|
|
1089
|
+
}
|
|
1090
|
+
function Le(e) {
|
|
1091
|
+
var t = e.getPropertyValue("content");
|
|
1092
|
+
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
|
|
1093
|
+
}
|
|
1094
|
+
function Re(e) {
|
|
1095
|
+
var t = O(e);
|
|
1096
|
+
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea";
|
|
1097
|
+
}
|
|
1098
|
+
function ze(e) {
|
|
1099
|
+
if (Re(e)) return e;
|
|
1100
|
+
var t = null;
|
|
1101
|
+
return e.childNodes.forEach(function(e) {
|
|
1102
|
+
if (t === null && M(e)) {
|
|
1103
|
+
var n = ze(e);
|
|
1104
|
+
n !== null && (t = n);
|
|
1105
|
+
}
|
|
1106
|
+
}), t;
|
|
1107
|
+
}
|
|
1108
|
+
function Be(e) {
|
|
1109
|
+
if (e.control !== void 0) return e.control;
|
|
1110
|
+
var t = e.getAttribute("for");
|
|
1111
|
+
return t === null ? ze(e) : e.ownerDocument.getElementById(t);
|
|
1112
|
+
}
|
|
1113
|
+
function Ve(e) {
|
|
1114
|
+
var t = e.labels;
|
|
1115
|
+
if (t === null) return t;
|
|
1116
|
+
if (t !== void 0) return w(t);
|
|
1117
|
+
if (!Re(e)) return null;
|
|
1118
|
+
var n = e.ownerDocument;
|
|
1119
|
+
return w(n.querySelectorAll("label")).filter(function(t) {
|
|
1120
|
+
return Be(t) === e;
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
function He(e) {
|
|
1124
|
+
var t = e.assignedNodes();
|
|
1125
|
+
return t.length === 0 ? w(e.childNodes) : t;
|
|
1126
|
+
}
|
|
1127
|
+
function Ue(e) {
|
|
1128
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new ce(), r = ve(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
|
+
function f(e, t) {
|
|
1130
|
+
var n = "";
|
|
1131
|
+
if (M(e) && s && (n = `${Le(l(e, "::before"))} ${n}`), (xe(e) ? He(e) : w(e.childNodes).concat(Te(e, "aria-owns"))).forEach(function(e) {
|
|
1132
|
+
var r = g(e, {
|
|
1133
|
+
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1134
|
+
isReferenced: !1,
|
|
1135
|
+
recursion: !0
|
|
1136
|
+
}), i = (M(e) ? l(e).getPropertyValue("display") : "inline") === "inline" ? "" : " ";
|
|
1137
|
+
n += `${i}${r}${i}`;
|
|
1138
|
+
}), M(e) && s) {
|
|
1139
|
+
var r = Le(l(e, "::after"));
|
|
1140
|
+
n = `${n} ${r}`;
|
|
1141
|
+
}
|
|
1142
|
+
return n.trim();
|
|
1143
|
+
}
|
|
1144
|
+
function p(e, t) {
|
|
1145
|
+
var r = e.getAttributeNode(t);
|
|
1146
|
+
return r !== null && !n.has(r) && r.value.trim() !== "" ? (n.add(r), r.value) : null;
|
|
1147
|
+
}
|
|
1148
|
+
function m(e) {
|
|
1149
|
+
return M(e) ? p(e, "title") : null;
|
|
1150
|
+
}
|
|
1151
|
+
function h(e) {
|
|
1152
|
+
if (!M(e)) return null;
|
|
1153
|
+
if (ye(e)) {
|
|
1154
|
+
n.add(e);
|
|
1155
|
+
for (var t = w(e.childNodes), r = 0; r < t.length; r += 1) {
|
|
1156
|
+
var i = t[r];
|
|
1157
|
+
if (be(i)) return g(i, {
|
|
1158
|
+
isEmbeddedInLabel: !1,
|
|
1159
|
+
isReferenced: !1,
|
|
1160
|
+
recursion: !1
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
} else if (ge(e)) {
|
|
1164
|
+
n.add(e);
|
|
1165
|
+
for (var a = w(e.childNodes), o = 0; o < a.length; o += 1) {
|
|
1166
|
+
var s = a[o];
|
|
1167
|
+
if (pe(s)) return g(s, {
|
|
1168
|
+
isEmbeddedInLabel: !1,
|
|
1169
|
+
isReferenced: !1,
|
|
1170
|
+
recursion: !1
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1173
|
+
} else if (Ce(e)) {
|
|
1174
|
+
n.add(e);
|
|
1175
|
+
for (var c = w(e.childNodes), l = 0; l < c.length; l += 1) {
|
|
1176
|
+
var u = c[l];
|
|
1177
|
+
if (we(u)) return u.textContent;
|
|
1178
|
+
}
|
|
1179
|
+
return null;
|
|
1180
|
+
} else if (O(e) === "img" || O(e) === "area") {
|
|
1181
|
+
var d = p(e, "alt");
|
|
1182
|
+
if (d !== null) return d;
|
|
1183
|
+
} else if (me(e)) {
|
|
1184
|
+
var m = p(e, "label");
|
|
1185
|
+
if (m !== null) return m;
|
|
1186
|
+
}
|
|
1187
|
+
if (N(e) && (e.type === "button" || e.type === "submit" || e.type === "reset")) {
|
|
1188
|
+
var h = p(e, "value");
|
|
1189
|
+
if (h !== null) return h;
|
|
1190
|
+
if (e.type === "submit") return "Submit";
|
|
1191
|
+
if (e.type === "reset") return "Reset";
|
|
1192
|
+
}
|
|
1193
|
+
var _ = Ve(e);
|
|
1194
|
+
if (_ !== null && _.length !== 0) return n.add(e), w(_).map(function(e) {
|
|
1195
|
+
return g(e, {
|
|
1196
|
+
isEmbeddedInLabel: !0,
|
|
1197
|
+
isReferenced: !1,
|
|
1198
|
+
recursion: !0
|
|
1199
|
+
});
|
|
1200
|
+
}).filter(function(e) {
|
|
1201
|
+
return e.length > 0;
|
|
1202
|
+
}).join(" ");
|
|
1203
|
+
if (N(e) && e.type === "image") {
|
|
1204
|
+
var v = p(e, "alt");
|
|
1205
|
+
if (v !== null) return v;
|
|
1206
|
+
var y = p(e, "title");
|
|
1207
|
+
return y === null ? "Submit Query" : y;
|
|
1208
|
+
}
|
|
1209
|
+
if (P(e, ["button"])) {
|
|
1210
|
+
var b = f(e, {
|
|
1211
|
+
isEmbeddedInLabel: !1,
|
|
1212
|
+
isReferenced: !1
|
|
1213
|
+
});
|
|
1214
|
+
if (b !== "") return b;
|
|
1215
|
+
}
|
|
1216
|
+
return null;
|
|
1217
|
+
}
|
|
1218
|
+
function g(e, t) {
|
|
1219
|
+
if (n.has(e)) return "";
|
|
1220
|
+
if (!d && De(e, l) && !t.isReferenced) return n.add(e), "";
|
|
1221
|
+
var r = M(e) ? e.getAttributeNode("aria-labelledby") : null, i = r !== null && !n.has(r) ? Te(e, "aria-labelledby") : [];
|
|
1222
|
+
if (a === "name" && !t.isReferenced && i.length > 0) return n.add(r), i.map(function(e) {
|
|
1223
|
+
return g(e, {
|
|
1224
|
+
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1225
|
+
isReferenced: !0,
|
|
1226
|
+
recursion: !1
|
|
1227
|
+
});
|
|
1228
|
+
}).join(" ");
|
|
1229
|
+
var o = t.recursion && Oe(e) && a === "name";
|
|
1230
|
+
if (!o) {
|
|
1231
|
+
var s = (M(e) && e.getAttribute("aria-label") || "").trim();
|
|
1232
|
+
if (s !== "" && a === "name") return n.add(e), s;
|
|
1233
|
+
if (!Me(e)) {
|
|
1234
|
+
var c = h(e);
|
|
1235
|
+
if (c !== null) return n.add(e), c;
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
if (P(e, ["menu"])) return n.add(e), "";
|
|
1239
|
+
if (o || t.isEmbeddedInLabel || t.isReferenced) {
|
|
1240
|
+
if (P(e, ["combobox", "listbox"])) {
|
|
1241
|
+
n.add(e);
|
|
1242
|
+
var u = je(e);
|
|
1243
|
+
return u.length === 0 ? N(e) ? e.value : "" : w(u).map(function(e) {
|
|
1244
|
+
return g(e, {
|
|
1245
|
+
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1246
|
+
isReferenced: !1,
|
|
1247
|
+
recursion: !0
|
|
1248
|
+
});
|
|
1249
|
+
}).join(" ");
|
|
1250
|
+
}
|
|
1251
|
+
if (ke(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 (P(e, ["textbox"])) return n.add(e), Ie(e);
|
|
1253
|
+
}
|
|
1254
|
+
if (Pe(e) || M(e) && t.isReferenced || Ne(e) || Fe(e)) {
|
|
1255
|
+
var p = f(e, {
|
|
1256
|
+
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1257
|
+
isReferenced: !1
|
|
1258
|
+
});
|
|
1259
|
+
if (p !== "") return n.add(e), p;
|
|
1260
|
+
}
|
|
1261
|
+
if (e.nodeType === e.TEXT_NODE) return n.add(e), e.textContent || "";
|
|
1262
|
+
if (t.recursion) return n.add(e), f(e, {
|
|
1263
|
+
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1264
|
+
isReferenced: !1
|
|
1265
|
+
});
|
|
1266
|
+
var _ = m(e);
|
|
1267
|
+
return _ === null ? (n.add(e), "") : (n.add(e), _);
|
|
1268
|
+
}
|
|
1269
|
+
return Ee(g(e, {
|
|
1270
|
+
isEmbeddedInLabel: !1,
|
|
1271
|
+
isReferenced: a === "description",
|
|
1272
|
+
recursion: !1
|
|
1273
|
+
}));
|
|
1274
|
+
}
|
|
1275
|
+
//#endregion
|
|
1276
|
+
//#region node_modules/dom-accessibility-api/dist/accessible-description.mjs
|
|
1277
|
+
function F(e) {
|
|
1278
|
+
"@babel/helpers - typeof";
|
|
1279
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1280
|
+
return typeof e;
|
|
1281
|
+
} : function(e) {
|
|
1282
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1283
|
+
}, F(e);
|
|
1284
|
+
}
|
|
1285
|
+
function We(e, t) {
|
|
1286
|
+
var n = Object.keys(e);
|
|
1287
|
+
if (Object.getOwnPropertySymbols) {
|
|
1288
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
1289
|
+
t && (r = r.filter(function(t) {
|
|
1290
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
1291
|
+
})), n.push.apply(n, r);
|
|
1292
|
+
}
|
|
1293
|
+
return n;
|
|
1294
|
+
}
|
|
1295
|
+
function Ge(e) {
|
|
1296
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1297
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
1298
|
+
t % 2 ? We(Object(n), !0).forEach(function(t) {
|
|
1299
|
+
Ke(e, t, n[t]);
|
|
1300
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : We(Object(n)).forEach(function(t) {
|
|
1301
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
return e;
|
|
1305
|
+
}
|
|
1306
|
+
function Ke(e, t, n) {
|
|
1307
|
+
return t = qe(t), t in e ? Object.defineProperty(e, t, {
|
|
1308
|
+
value: n,
|
|
1309
|
+
enumerable: !0,
|
|
1310
|
+
configurable: !0,
|
|
1311
|
+
writable: !0
|
|
1312
|
+
}) : e[t] = n, e;
|
|
1313
|
+
}
|
|
1314
|
+
function qe(e) {
|
|
1315
|
+
var t = Je(e, "string");
|
|
1316
|
+
return F(t) === "symbol" ? t : String(t);
|
|
1317
|
+
}
|
|
1318
|
+
function Je(e, t) {
|
|
1319
|
+
if (F(e) !== "object" || e === null) return e;
|
|
1320
|
+
var n = e[Symbol.toPrimitive];
|
|
1321
|
+
if (n !== void 0) {
|
|
1322
|
+
var r = n.call(e, t || "default");
|
|
1323
|
+
if (F(r) !== "object") return r;
|
|
1324
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1325
|
+
}
|
|
1326
|
+
return (t === "string" ? String : Number)(e);
|
|
1327
|
+
}
|
|
1328
|
+
function Ye(e) {
|
|
1329
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Te(e, "aria-describedby").map(function(e) {
|
|
1330
|
+
return Ue(e, Ge(Ge({}, t), {}, { compute: "description" }));
|
|
1331
|
+
}).join(" ");
|
|
1332
|
+
if (n === "") {
|
|
1333
|
+
var r = e.getAttribute("title");
|
|
1334
|
+
n = r === null ? "" : r;
|
|
1335
|
+
}
|
|
1336
|
+
return n;
|
|
1337
|
+
}
|
|
1338
|
+
//#endregion
|
|
1339
|
+
//#region node_modules/dom-accessibility-api/dist/accessible-name.mjs
|
|
1340
|
+
function Xe(e) {
|
|
1341
|
+
return P(e, [
|
|
1342
|
+
"caption",
|
|
1343
|
+
"code",
|
|
1344
|
+
"deletion",
|
|
1345
|
+
"emphasis",
|
|
1346
|
+
"generic",
|
|
1347
|
+
"insertion",
|
|
1348
|
+
"paragraph",
|
|
1349
|
+
"presentation",
|
|
1350
|
+
"strong",
|
|
1351
|
+
"subscript",
|
|
1352
|
+
"superscript"
|
|
1353
|
+
]);
|
|
1354
|
+
}
|
|
1355
|
+
function Ze(e) {
|
|
1356
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1357
|
+
return Xe(e) ? "" : Ue(e, t);
|
|
1358
|
+
}
|
|
1359
|
+
//#endregion
|
|
1360
|
+
//#region node_modules/lz-string/libs/lz-string.js
|
|
1361
|
+
var Qe = /* @__PURE__ */ t(((e, t) => {
|
|
1362
|
+
var n = (function() {
|
|
1363
|
+
var e = String.fromCharCode, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", r = {};
|
|
1364
|
+
function i(e, t) {
|
|
1365
|
+
if (!r[e]) {
|
|
1366
|
+
r[e] = {};
|
|
1367
|
+
for (var n = 0; n < e.length; n++) r[e][e.charAt(n)] = n;
|
|
1368
|
+
}
|
|
1369
|
+
return r[e][t];
|
|
1370
|
+
}
|
|
1371
|
+
var a = {
|
|
1372
|
+
compressToBase64: function(e) {
|
|
1373
|
+
if (e == null) return "";
|
|
1374
|
+
var n = a._compress(e, 6, function(e) {
|
|
1375
|
+
return t.charAt(e);
|
|
1376
|
+
});
|
|
1377
|
+
switch (n.length % 4) {
|
|
1378
|
+
default:
|
|
1379
|
+
case 0: return n;
|
|
1380
|
+
case 1: return n + "===";
|
|
1381
|
+
case 2: return n + "==";
|
|
1382
|
+
case 3: return n + "=";
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
decompressFromBase64: function(e) {
|
|
1386
|
+
return e == null ? "" : e == "" ? null : a._decompress(e.length, 32, function(n) {
|
|
1387
|
+
return i(t, e.charAt(n));
|
|
1388
|
+
});
|
|
1389
|
+
},
|
|
1390
|
+
compressToUTF16: function(t) {
|
|
1391
|
+
return t == null ? "" : a._compress(t, 15, function(t) {
|
|
1392
|
+
return e(t + 32);
|
|
1393
|
+
}) + " ";
|
|
1394
|
+
},
|
|
1395
|
+
decompressFromUTF16: function(e) {
|
|
1396
|
+
return e == null ? "" : e == "" ? null : a._decompress(e.length, 16384, function(t) {
|
|
1397
|
+
return e.charCodeAt(t) - 32;
|
|
1398
|
+
});
|
|
1399
|
+
},
|
|
1400
|
+
compressToUint8Array: function(e) {
|
|
1401
|
+
for (var t = a.compress(e), n = new Uint8Array(t.length * 2), r = 0, i = t.length; r < i; r++) {
|
|
1402
|
+
var o = t.charCodeAt(r);
|
|
1403
|
+
n[r * 2] = o >>> 8, n[r * 2 + 1] = o % 256;
|
|
1404
|
+
}
|
|
1405
|
+
return n;
|
|
1406
|
+
},
|
|
1407
|
+
decompressFromUint8Array: function(t) {
|
|
1408
|
+
if (t == null) return a.decompress(t);
|
|
1409
|
+
for (var n = Array(t.length / 2), r = 0, i = n.length; r < i; r++) n[r] = t[r * 2] * 256 + t[r * 2 + 1];
|
|
1410
|
+
var o = [];
|
|
1411
|
+
return n.forEach(function(t) {
|
|
1412
|
+
o.push(e(t));
|
|
1413
|
+
}), a.decompress(o.join(""));
|
|
1414
|
+
},
|
|
1415
|
+
compressToEncodedURIComponent: function(e) {
|
|
1416
|
+
return e == null ? "" : a._compress(e, 6, function(e) {
|
|
1417
|
+
return n.charAt(e);
|
|
1418
|
+
});
|
|
1419
|
+
},
|
|
1420
|
+
decompressFromEncodedURIComponent: function(e) {
|
|
1421
|
+
return e == null ? "" : e == "" ? null : (e = e.replace(/ /g, "+"), a._decompress(e.length, 32, function(t) {
|
|
1422
|
+
return i(n, e.charAt(t));
|
|
1423
|
+
}));
|
|
1424
|
+
},
|
|
1425
|
+
compress: function(t) {
|
|
1426
|
+
return a._compress(t, 16, function(t) {
|
|
1427
|
+
return e(t);
|
|
1428
|
+
});
|
|
1429
|
+
},
|
|
1430
|
+
_compress: function(e, t, n) {
|
|
1431
|
+
if (e == null) return "";
|
|
1432
|
+
var r, i, a = {}, o = {}, s = "", c = "", l = "", u = 2, d = 3, f = 2, p = [], m = 0, h = 0, g;
|
|
1433
|
+
for (g = 0; g < e.length; g += 1) if (s = e.charAt(g), Object.prototype.hasOwnProperty.call(a, s) || (a[s] = d++, o[s] = !0), c = l + s, Object.prototype.hasOwnProperty.call(a, c)) l = c;
|
|
1434
|
+
else {
|
|
1435
|
+
if (Object.prototype.hasOwnProperty.call(o, l)) {
|
|
1436
|
+
if (l.charCodeAt(0) < 256) {
|
|
1437
|
+
for (r = 0; r < f; r++) m <<= 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++;
|
|
1438
|
+
for (i = l.charCodeAt(0), r = 0; r < 8; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1439
|
+
} else {
|
|
1440
|
+
for (i = 1, r = 0; r < f; r++) m = m << 1 | i, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i = 0;
|
|
1441
|
+
for (i = l.charCodeAt(0), r = 0; r < 16; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1442
|
+
}
|
|
1443
|
+
u--, u == 0 && (u = 2 ** f, f++), delete o[l];
|
|
1444
|
+
} else for (i = a[l], r = 0; r < f; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1445
|
+
u--, u == 0 && (u = 2 ** f, f++), a[c] = d++, l = String(s);
|
|
1446
|
+
}
|
|
1447
|
+
if (l !== "") {
|
|
1448
|
+
if (Object.prototype.hasOwnProperty.call(o, l)) {
|
|
1449
|
+
if (l.charCodeAt(0) < 256) {
|
|
1450
|
+
for (r = 0; r < f; r++) m <<= 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++;
|
|
1451
|
+
for (i = l.charCodeAt(0), r = 0; r < 8; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1452
|
+
} else {
|
|
1453
|
+
for (i = 1, r = 0; r < f; r++) m = m << 1 | i, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i = 0;
|
|
1454
|
+
for (i = l.charCodeAt(0), r = 0; r < 16; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1455
|
+
}
|
|
1456
|
+
u--, u == 0 && (u = 2 ** f, f++), delete o[l];
|
|
1457
|
+
} else for (i = a[l], r = 0; r < f; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1458
|
+
u--, u == 0 && (u = 2 ** f, f++);
|
|
1459
|
+
}
|
|
1460
|
+
for (i = 2, r = 0; r < f; r++) m = m << 1 | i & 1, h == t - 1 ? (h = 0, p.push(n(m)), m = 0) : h++, i >>= 1;
|
|
1461
|
+
for (;;) if (m <<= 1, h == t - 1) {
|
|
1462
|
+
p.push(n(m));
|
|
1463
|
+
break;
|
|
1464
|
+
} else h++;
|
|
1465
|
+
return p.join("");
|
|
1466
|
+
},
|
|
1467
|
+
decompress: function(e) {
|
|
1468
|
+
return e == null ? "" : e == "" ? null : a._decompress(e.length, 32768, function(t) {
|
|
1469
|
+
return e.charCodeAt(t);
|
|
1470
|
+
});
|
|
1471
|
+
},
|
|
1472
|
+
_decompress: function(t, n, r) {
|
|
1473
|
+
var i = [], a = 4, o = 4, s = 3, c = "", l = [], u, d, f, p, m, h, g, _ = {
|
|
1474
|
+
val: r(0),
|
|
1475
|
+
position: n,
|
|
1476
|
+
index: 1
|
|
1477
|
+
};
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1480
|
+
switch (f) {
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1483
|
+
g = e(f);
|
|
1484
|
+
break;
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1487
|
+
g = e(f);
|
|
1488
|
+
break;
|
|
1489
|
+
case 2: return "";
|
|
1490
|
+
}
|
|
1491
|
+
for (i[3] = g, d = g, l.push(g);;) {
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1494
|
+
switch (g = f) {
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1497
|
+
i[o++] = e(f), g = o - 1, a--;
|
|
1498
|
+
break;
|
|
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 ? 1 : 0) * h, h <<= 1;
|
|
1501
|
+
i[o++] = e(f), g = o - 1, a--;
|
|
1502
|
+
break;
|
|
1503
|
+
case 2: return l.join("");
|
|
1504
|
+
}
|
|
1505
|
+
if (a == 0 && (a = 2 ** s, s++), i[g]) c = i[g];
|
|
1506
|
+
else if (g === o) c = d + d.charAt(0);
|
|
1507
|
+
else return null;
|
|
1508
|
+
l.push(c), i[o++] = d + c.charAt(0), a--, d = c, a == 0 && (a = 2 ** s, s++);
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
return a;
|
|
1513
|
+
})();
|
|
1514
|
+
typeof define == "function" && define.amd ? define(function() {
|
|
1515
|
+
return n;
|
|
1516
|
+
}) : t !== void 0 && t != null ? t.exports = n : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
1517
|
+
return n;
|
|
1518
|
+
});
|
|
1519
|
+
})), $e = /* @__PURE__ */ e(S()), I = n(), et = /* @__PURE__ */ e(Qe());
|
|
1520
|
+
/* istanbul ignore file */
|
|
1521
|
+
function tt(e) {
|
|
1522
|
+
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
1523
|
+
}
|
|
1524
|
+
var nt = (e, t, n, r, i, a, o) => {
|
|
1525
|
+
let s = r + n.indent, c = n.colors;
|
|
1526
|
+
return e.map((e) => {
|
|
1527
|
+
let l = t[e], u = o(l, n, s, i, a);
|
|
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
|
+
}).join("");
|
|
1530
|
+
}, rt = 3, it = (e, t, n, r, i, a) => e.map((e) => {
|
|
1531
|
+
let o = typeof e == "string" ? at(e, t) : a(e, t, n, r, i);
|
|
1532
|
+
return o === "" && typeof e == "object" && e && e.nodeType !== rt ? "" : t.spacingOuter + n + o;
|
|
1533
|
+
}).join(""), at = (e, t) => {
|
|
1534
|
+
let n = t.colors.content;
|
|
1535
|
+
return n.open + tt(e) + n.close;
|
|
1536
|
+
}, ot = (e, t) => {
|
|
1537
|
+
let n = t.colors.comment;
|
|
1538
|
+
return n.open + "<!--" + tt(e) + "-->" + n.close;
|
|
1539
|
+
}, st = (e, t, n, r, i) => {
|
|
1540
|
+
let a = r.colors.tag;
|
|
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
|
+
}, ct = (e, t) => {
|
|
1543
|
+
let n = t.colors.tag;
|
|
1544
|
+
return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
|
|
1545
|
+
}, lt = 1, ut = 3, dt = 8, ft = 11, pt = /^((HTML|SVG)\w*)?Element$/, mt = (e) => {
|
|
1546
|
+
let { tagName: t } = e;
|
|
1547
|
+
return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
|
|
1548
|
+
}, ht = (e) => {
|
|
1549
|
+
let t = e.constructor.name, { nodeType: n } = e;
|
|
1550
|
+
return n === lt && (pt.test(t) || mt(e)) || n === ut && t === "Text" || n === dt && t === "Comment" || n === ft && t === "DocumentFragment";
|
|
1551
|
+
};
|
|
1552
|
+
function gt(e) {
|
|
1553
|
+
return e.nodeType === ut;
|
|
1554
|
+
}
|
|
1555
|
+
function _t(e) {
|
|
1556
|
+
return e.nodeType === dt;
|
|
1557
|
+
}
|
|
1558
|
+
function vt(e) {
|
|
1559
|
+
return e.nodeType === ft;
|
|
1560
|
+
}
|
|
1561
|
+
function yt(e) {
|
|
1562
|
+
return {
|
|
1563
|
+
test: (e) => {
|
|
1564
|
+
var t;
|
|
1565
|
+
return ((e == null || (t = e.constructor) == null ? void 0 : t.name) || mt(e)) && ht(e);
|
|
1566
|
+
},
|
|
1567
|
+
serialize: (t, n, r, i, a, o) => {
|
|
1568
|
+
if (gt(t)) return at(t.data, n);
|
|
1569
|
+
if (_t(t)) return ot(t.data, n);
|
|
1570
|
+
let s = vt(t) ? "DocumentFragment" : t.tagName.toLowerCase();
|
|
1571
|
+
return ++i > n.maxDepth ? ct(s, n) : st(s, nt(vt(t) ? [] : Array.from(t.attributes).map((e) => e.name).sort(), vt(t) ? {} : Array.from(t.attributes).reduce((e, t) => (e[t.name] = t.value, e), {}), n, r + n.indent, i, a, o), it(Array.prototype.slice.call(t.childNodes || t.children).filter(e), n, r + n.indent, i, a, o), n, r);
|
|
1572
|
+
}
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
var bt = null, xt = null, St = null;
|
|
1576
|
+
try {
|
|
1577
|
+
let e = module && module.require;
|
|
1578
|
+
xt = e.call(module, "fs").readFileSync, St = e.call(module, "@babel/code-frame").codeFrameColumns, bt = e.call(module, "picocolors");
|
|
1579
|
+
} catch {}
|
|
1580
|
+
function Ct(e) {
|
|
1581
|
+
let t = e.indexOf("(") + 1, n = e.indexOf(")"), r = e.slice(t, n), i = r.split(":"), [a, o, s] = [
|
|
1582
|
+
i[0],
|
|
1583
|
+
parseInt(i[1], 10),
|
|
1584
|
+
parseInt(i[2], 10)
|
|
1585
|
+
], c = "";
|
|
1586
|
+
try {
|
|
1587
|
+
c = xt(a, "utf-8");
|
|
1588
|
+
} catch {
|
|
1589
|
+
return "";
|
|
1590
|
+
}
|
|
1591
|
+
let l = St(c, { start: {
|
|
1592
|
+
line: o,
|
|
1593
|
+
column: s
|
|
1594
|
+
} }, {
|
|
1595
|
+
highlightCode: !0,
|
|
1596
|
+
linesBelow: 0
|
|
1597
|
+
});
|
|
1598
|
+
return bt.dim(r) + "\n" + l + "\n";
|
|
1599
|
+
}
|
|
1600
|
+
function wt() {
|
|
1601
|
+
return !xt || !St ? "" : Ct((/* @__PURE__ */ Error()).stack.split("\n").slice(1).find((e) => !e.includes("node_modules/")));
|
|
1602
|
+
}
|
|
1603
|
+
var Tt = 3;
|
|
1604
|
+
function Et() {
|
|
1605
|
+
// istanbul ignore next
|
|
1606
|
+
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
1607
|
+
}
|
|
1608
|
+
function Dt() {
|
|
1609
|
+
/* istanbul ignore if */
|
|
1610
|
+
if (typeof window > "u") throw Error("Could not find default container");
|
|
1611
|
+
return window.document;
|
|
1612
|
+
}
|
|
1613
|
+
function Ot(e) {
|
|
1614
|
+
if (e.defaultView) return e.defaultView;
|
|
1615
|
+
if (e.ownerDocument && e.ownerDocument.defaultView) return e.ownerDocument.defaultView;
|
|
1616
|
+
if (e.window) return e.window;
|
|
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
|
+
}
|
|
1619
|
+
function L(e) {
|
|
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
|
+
function t(e) {
|
|
1622
|
+
return typeof e == "object" ? e === null ? "null" : e.constructor.name : typeof e;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
var kt = () => {
|
|
1626
|
+
if (typeof process > "u") return !1;
|
|
1627
|
+
let e;
|
|
1628
|
+
try {
|
|
1629
|
+
let t = process.env?.COLORS;
|
|
1630
|
+
t && (e = JSON.parse(t));
|
|
1631
|
+
} catch {}
|
|
1632
|
+
return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
|
|
1633
|
+
}, { DOMCollection: At } = $e.plugins, jt = 1, Mt = 8;
|
|
1634
|
+
function Nt(e) {
|
|
1635
|
+
return e.nodeType !== Mt && (e.nodeType !== jt || !e.matches(B().defaultIgnore));
|
|
1636
|
+
}
|
|
1637
|
+
function R(e, t, n) {
|
|
1638
|
+
if (n === void 0 && (n = {}), e ||= Dt().body, typeof t != "number" && (t = typeof process < "u" && process.env !== void 0 && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0) return "";
|
|
1639
|
+
e.documentElement && (e = e.documentElement);
|
|
1640
|
+
let r = typeof e;
|
|
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 = Nt, ...a } = n, o = $e.format(e, {
|
|
1643
|
+
plugins: [yt(i), At],
|
|
1644
|
+
printFunctionName: !1,
|
|
1645
|
+
highlight: kt(),
|
|
1646
|
+
...a
|
|
1647
|
+
});
|
|
1648
|
+
return t !== void 0 && e.outerHTML.length > t ? o.slice(0, t) + "..." : o;
|
|
1649
|
+
}
|
|
1650
|
+
var Pt = function() {
|
|
1651
|
+
let e = wt();
|
|
1652
|
+
console.log(e ? R(...arguments) + "\n\n" + e : R(...arguments));
|
|
1653
|
+
}, z = {
|
|
1654
|
+
testIdAttribute: "data-testid",
|
|
1655
|
+
asyncUtilTimeout: 1e3,
|
|
1656
|
+
asyncWrapper: (e) => e(),
|
|
1657
|
+
unstable_advanceTimersWrapper: (e) => e(),
|
|
1658
|
+
eventWrapper: (e) => e(),
|
|
1659
|
+
defaultHidden: !1,
|
|
1660
|
+
defaultIgnore: "script, style",
|
|
1661
|
+
showOriginalStackTrace: !1,
|
|
1662
|
+
throwSuggestions: !1,
|
|
1663
|
+
getElementError(e, t) {
|
|
1664
|
+
let n = R(t), r = Error([e, "Ignored nodes: comments, " + z.defaultIgnore + "\n" + n].filter(Boolean).join("\n\n"));
|
|
1665
|
+
return r.name = "TestingLibraryElementError", r;
|
|
1666
|
+
},
|
|
1667
|
+
_disableExpensiveErrorDiagnostics: !1,
|
|
1668
|
+
computedStyleSupportsPseudoElements: !1
|
|
1669
|
+
};
|
|
1670
|
+
function Ft(e) {
|
|
1671
|
+
try {
|
|
1672
|
+
return z._disableExpensiveErrorDiagnostics = !0, e();
|
|
1673
|
+
} finally {
|
|
1674
|
+
z._disableExpensiveErrorDiagnostics = !1;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
function It(e) {
|
|
1678
|
+
typeof e == "function" && (e = e(z)), z = {
|
|
1679
|
+
...z,
|
|
1680
|
+
...e
|
|
1681
|
+
};
|
|
1682
|
+
}
|
|
1683
|
+
function B() {
|
|
1684
|
+
return z;
|
|
1685
|
+
}
|
|
1686
|
+
var Lt = [
|
|
1687
|
+
"button",
|
|
1688
|
+
"meter",
|
|
1689
|
+
"output",
|
|
1690
|
+
"progress",
|
|
1691
|
+
"select",
|
|
1692
|
+
"textarea",
|
|
1693
|
+
"input"
|
|
1694
|
+
];
|
|
1695
|
+
function Rt(e) {
|
|
1696
|
+
return Lt.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === Tt ? e.textContent : Array.from(e.childNodes).map((e) => Rt(e)).join("");
|
|
1697
|
+
}
|
|
1698
|
+
function zt(e) {
|
|
1699
|
+
let t;
|
|
1700
|
+
return t = e.tagName.toLowerCase() === "label" ? Rt(e) : e.value || e.textContent, t;
|
|
1701
|
+
}
|
|
1702
|
+
function Bt(e) {
|
|
1703
|
+
if (e.labels !== void 0) return e.labels ?? [];
|
|
1704
|
+
if (!Vt(e)) return [];
|
|
1705
|
+
let t = e.ownerDocument.querySelectorAll("label");
|
|
1706
|
+
return Array.from(t).filter((t) => t.control === e);
|
|
1707
|
+
}
|
|
1708
|
+
function Vt(e) {
|
|
1709
|
+
return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
|
|
1710
|
+
}
|
|
1711
|
+
function Ht(e, t, n) {
|
|
1712
|
+
let { selector: r = "*" } = n === void 0 ? {} : n, i = t.getAttribute("aria-labelledby"), a = i ? i.split(" ") : [];
|
|
1713
|
+
return a.length ? a.map((t) => {
|
|
1714
|
+
let n = e.querySelector("[id=\"" + t + "\"]");
|
|
1715
|
+
return n ? {
|
|
1716
|
+
content: zt(n),
|
|
1717
|
+
formControl: null
|
|
1718
|
+
} : {
|
|
1719
|
+
content: "",
|
|
1720
|
+
formControl: null
|
|
1721
|
+
};
|
|
1722
|
+
}) : Array.from(Bt(t)).map((e) => ({
|
|
1723
|
+
content: zt(e),
|
|
1724
|
+
formControl: Array.from(e.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((e) => e.matches(r))[0]
|
|
1725
|
+
}));
|
|
1726
|
+
}
|
|
1727
|
+
function Ut(e) {
|
|
1728
|
+
if (e == null) throw Error("It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?");
|
|
1729
|
+
}
|
|
1730
|
+
function V(e, t, n, r) {
|
|
1731
|
+
if (typeof e != "string") return !1;
|
|
1732
|
+
Ut(n);
|
|
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) : Gt(n, i);
|
|
1735
|
+
}
|
|
1736
|
+
function H(e, t, n, r) {
|
|
1737
|
+
if (typeof e != "string") return !1;
|
|
1738
|
+
Ut(n);
|
|
1739
|
+
let i = r(e);
|
|
1740
|
+
return n instanceof Function ? n(i, t) : n instanceof RegExp ? Gt(n, i) : i === String(n);
|
|
1741
|
+
}
|
|
1742
|
+
function Wt(e) {
|
|
1743
|
+
let { trim: t = !0, collapseWhitespace: n = !0 } = e === void 0 ? {} : e;
|
|
1744
|
+
return (e) => {
|
|
1745
|
+
let r = e;
|
|
1746
|
+
return r = t ? r.trim() : r, r = n ? r.replace(/\s+/g, " ") : r, r;
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
function U(e) {
|
|
1750
|
+
let { trim: t, collapseWhitespace: n, normalizer: r } = e;
|
|
1751
|
+
if (!r) return Wt({
|
|
1752
|
+
trim: t,
|
|
1753
|
+
collapseWhitespace: n
|
|
1754
|
+
});
|
|
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
|
+
return r;
|
|
1757
|
+
}
|
|
1758
|
+
function Gt(e, t) {
|
|
1759
|
+
let n = e.test(t);
|
|
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
|
+
}
|
|
1762
|
+
function Kt(e) {
|
|
1763
|
+
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((e) => e.nodeType === Tt && !!e.textContent).map((e) => e.textContent).join("");
|
|
1764
|
+
}
|
|
1765
|
+
var qt = Zt(I.elementRoles);
|
|
1766
|
+
function Jt(e) {
|
|
1767
|
+
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
|
|
1768
|
+
}
|
|
1769
|
+
function Yt(e, t) {
|
|
1770
|
+
t === void 0 && (t = {});
|
|
1771
|
+
let { isSubtreeInaccessible: n = Jt } = t;
|
|
1772
|
+
if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden") return !0;
|
|
1773
|
+
let r = e;
|
|
1774
|
+
for (; r;) {
|
|
1775
|
+
if (n(r)) return !0;
|
|
1776
|
+
r = r.parentElement;
|
|
1777
|
+
}
|
|
1778
|
+
return !1;
|
|
1779
|
+
}
|
|
1780
|
+
function Xt(e) {
|
|
1781
|
+
for (let { match: t, roles: n } of qt) if (t(e)) return [...n];
|
|
1782
|
+
return [];
|
|
1783
|
+
}
|
|
1784
|
+
function Zt(e) {
|
|
1785
|
+
function t(e) {
|
|
1786
|
+
let { name: t, attributes: n } = e;
|
|
1787
|
+
return "" + t + n.map((e) => {
|
|
1788
|
+
let { name: t, value: n, constraints: r = [] } = e, i = r.indexOf("undefined") !== -1, a = r.indexOf("set") !== -1;
|
|
1789
|
+
return n === void 0 ? i ? ":not([" + t + "])" : a ? "[" + t + "]:not([" + t + "=\"\"])" : "[" + t + "]" : "[" + t + "=\"" + n + "\"]";
|
|
1790
|
+
}).join("");
|
|
1791
|
+
}
|
|
1792
|
+
function n(e) {
|
|
1793
|
+
let { attributes: t = [] } = e;
|
|
1794
|
+
return t.length;
|
|
1795
|
+
}
|
|
1796
|
+
function r(e, t) {
|
|
1797
|
+
let { specificity: n } = e, { specificity: r } = t;
|
|
1798
|
+
return r - n;
|
|
1799
|
+
}
|
|
1800
|
+
function i(e) {
|
|
1801
|
+
let { attributes: n = [] } = e, r = n.findIndex((e) => e.value && e.name === "type" && e.value === "text");
|
|
1802
|
+
r >= 0 && (n = [...n.slice(0, r), ...n.slice(r + 1)]);
|
|
1803
|
+
let i = t({
|
|
1804
|
+
...e,
|
|
1805
|
+
attributes: n
|
|
1806
|
+
});
|
|
1807
|
+
return (e) => r >= 0 && e.type !== "text" ? !1 : e.matches(i);
|
|
1808
|
+
}
|
|
1809
|
+
let a = [];
|
|
1810
|
+
for (let [t, r] of e.entries()) a = [...a, {
|
|
1811
|
+
match: i(t),
|
|
1812
|
+
roles: Array.from(r),
|
|
1813
|
+
specificity: n(t)
|
|
1814
|
+
}];
|
|
1815
|
+
return a.sort(r);
|
|
1816
|
+
}
|
|
1817
|
+
function Qt(e, t) {
|
|
1818
|
+
let { hidden: n = !1 } = t === void 0 ? {} : t;
|
|
1819
|
+
function r(e) {
|
|
1820
|
+
return [e, ...Array.from(e.children).reduce((e, t) => [...e, ...r(t)], [])];
|
|
1821
|
+
}
|
|
1822
|
+
return r(e).filter((e) => n === !1 ? Yt(e) === !1 : !0).reduce((e, t) => {
|
|
1823
|
+
let n = [];
|
|
1824
|
+
return n = t.hasAttribute("role") ? t.getAttribute("role").split(" ").slice(0, 1) : Xt(t), n.reduce((e, n) => Array.isArray(e[n]) ? {
|
|
1825
|
+
...e,
|
|
1826
|
+
[n]: [...e[n], t]
|
|
1827
|
+
} : {
|
|
1828
|
+
...e,
|
|
1829
|
+
[n]: [t]
|
|
1830
|
+
}, e);
|
|
1831
|
+
}, {});
|
|
1832
|
+
}
|
|
1833
|
+
function $t(e, t) {
|
|
1834
|
+
let { hidden: n, includeDescription: r } = t, i = Qt(e, { hidden: n });
|
|
1835
|
+
return Object.entries(i).filter((e) => {
|
|
1836
|
+
let [t] = e;
|
|
1837
|
+
return t !== "generic";
|
|
1838
|
+
}).map((e) => {
|
|
1839
|
+
let [t, n] = e, i = "-".repeat(50), a = n.map((e) => {
|
|
1840
|
+
let t = "Name \"" + Ze(e, { computedStyleSupportsPseudoElements: B().computedStyleSupportsPseudoElements }) + "\":\n", n = R(e.cloneNode(!1));
|
|
1841
|
+
if (r) {
|
|
1842
|
+
let r = "Description \"" + Ye(e, { computedStyleSupportsPseudoElements: B().computedStyleSupportsPseudoElements }) + "\":\n";
|
|
1843
|
+
return "" + t + r + n;
|
|
1844
|
+
}
|
|
1845
|
+
return "" + t + n;
|
|
1846
|
+
}).join("\n\n");
|
|
1847
|
+
return t + ":\n\n" + a + "\n\n" + i;
|
|
1848
|
+
}).join("\n");
|
|
1849
|
+
}
|
|
1850
|
+
function en(e) {
|
|
1851
|
+
return e.tagName === "OPTION" ? e.selected : sn(e, "aria-selected");
|
|
1852
|
+
}
|
|
1853
|
+
function tn(e) {
|
|
1854
|
+
return e.getAttribute("aria-busy") === "true";
|
|
1855
|
+
}
|
|
1856
|
+
function nn(e) {
|
|
1857
|
+
if (!("indeterminate" in e && e.indeterminate)) return "checked" in e ? e.checked : sn(e, "aria-checked");
|
|
1858
|
+
}
|
|
1859
|
+
function rn(e) {
|
|
1860
|
+
return sn(e, "aria-pressed");
|
|
1861
|
+
}
|
|
1862
|
+
function an(e) {
|
|
1863
|
+
return sn(e, "aria-current") ?? e.getAttribute("aria-current") ?? !1;
|
|
1864
|
+
}
|
|
1865
|
+
function on(e) {
|
|
1866
|
+
return sn(e, "aria-expanded");
|
|
1867
|
+
}
|
|
1868
|
+
function sn(e, t) {
|
|
1869
|
+
let n = e.getAttribute(t);
|
|
1870
|
+
if (n === "true") return !0;
|
|
1871
|
+
if (n === "false") return !1;
|
|
1872
|
+
}
|
|
1873
|
+
function cn(e) {
|
|
1874
|
+
return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || {
|
|
1875
|
+
H1: 1,
|
|
1876
|
+
H2: 2,
|
|
1877
|
+
H3: 3,
|
|
1878
|
+
H4: 4,
|
|
1879
|
+
H5: 5,
|
|
1880
|
+
H6: 6
|
|
1881
|
+
}[e.tagName];
|
|
1882
|
+
}
|
|
1883
|
+
function ln(e) {
|
|
1884
|
+
let t = e.getAttribute("aria-valuenow");
|
|
1885
|
+
return t === null ? void 0 : +t;
|
|
1886
|
+
}
|
|
1887
|
+
function un(e) {
|
|
1888
|
+
let t = e.getAttribute("aria-valuemax");
|
|
1889
|
+
return t === null ? void 0 : +t;
|
|
1890
|
+
}
|
|
1891
|
+
function dn(e) {
|
|
1892
|
+
let t = e.getAttribute("aria-valuemin");
|
|
1893
|
+
return t === null ? void 0 : +t;
|
|
1894
|
+
}
|
|
1895
|
+
function fn(e) {
|
|
1896
|
+
let t = e.getAttribute("aria-valuetext");
|
|
1897
|
+
return t === null ? void 0 : t;
|
|
1898
|
+
}
|
|
1899
|
+
var pn = Wt();
|
|
1900
|
+
function mn(e) {
|
|
1901
|
+
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
|
|
1902
|
+
}
|
|
1903
|
+
function hn(e) {
|
|
1904
|
+
return new RegExp(mn(e.toLowerCase()), "i");
|
|
1905
|
+
}
|
|
1906
|
+
function W(e, t, n, r) {
|
|
1907
|
+
let { variant: i, name: a } = r, o = "", s = {}, c = [["Role", "TestId"].includes(e) ? n : hn(n)];
|
|
1908
|
+
a && (s.name = hn(a)), e === "Role" && Yt(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
|
+
let l = i + "By" + e;
|
|
1910
|
+
return {
|
|
1911
|
+
queryName: e,
|
|
1912
|
+
queryMethod: l,
|
|
1913
|
+
queryArgs: c,
|
|
1914
|
+
variant: i,
|
|
1915
|
+
warning: o,
|
|
1916
|
+
toString() {
|
|
1917
|
+
o && console.warn(o);
|
|
1918
|
+
let [e, t] = c;
|
|
1919
|
+
return e = typeof e == "string" ? "'" + e + "'" : e, t = t ? ", { " + Object.entries(t).map((e) => {
|
|
1920
|
+
let [t, n] = e;
|
|
1921
|
+
return t + ": " + n;
|
|
1922
|
+
}).join(", ") + " }" : "", l + "(" + e + t + ")";
|
|
1923
|
+
}
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
function G(e, t, n) {
|
|
1927
|
+
return n && (!t || t.toLowerCase() === e.toLowerCase());
|
|
1928
|
+
}
|
|
1929
|
+
function gn(e, t, n) {
|
|
1930
|
+
if (t === void 0 && (t = "get"), e.matches(B().defaultIgnore)) return;
|
|
1931
|
+
let r = e.getAttribute("role") ?? Xt(e)?.[0];
|
|
1932
|
+
if (r !== "generic" && G("Role", n, r)) return W("Role", e, r, {
|
|
1933
|
+
variant: t,
|
|
1934
|
+
name: Ze(e, { computedStyleSupportsPseudoElements: B().computedStyleSupportsPseudoElements })
|
|
1935
|
+
});
|
|
1936
|
+
let i = Ht(document, e).map((e) => e.content).join(" ");
|
|
1937
|
+
if (G("LabelText", n, i)) return W("LabelText", e, i, { variant: t });
|
|
1938
|
+
let a = e.getAttribute("placeholder");
|
|
1939
|
+
if (G("PlaceholderText", n, a)) return W("PlaceholderText", e, a, { variant: t });
|
|
1940
|
+
let o = pn(Kt(e));
|
|
1941
|
+
if (G("Text", n, o)) return W("Text", e, o, { variant: t });
|
|
1942
|
+
if (G("DisplayValue", n, e.value)) return W("DisplayValue", e, pn(e.value), { variant: t });
|
|
1943
|
+
let s = e.getAttribute("alt");
|
|
1944
|
+
if (G("AltText", n, s)) return W("AltText", e, s, { variant: t });
|
|
1945
|
+
let c = e.getAttribute("title");
|
|
1946
|
+
if (G("Title", n, c)) return W("Title", e, c, { variant: t });
|
|
1947
|
+
let l = e.getAttribute(B().testIdAttribute);
|
|
1948
|
+
if (G("TestId", n, l)) return W("TestId", e, l, { variant: t });
|
|
1949
|
+
}
|
|
1950
|
+
function _n(e, t) {
|
|
1951
|
+
e.stack = t.stack.replace(t.message, e.message);
|
|
1952
|
+
}
|
|
1953
|
+
function vn(e, t) {
|
|
1954
|
+
let { container: n = Dt(), timeout: r = B().asyncUtilTimeout, showOriginalStackTrace: i = B().showOriginalStackTrace, stackTraceError: a, interval: o = 50, onTimeout: s = (e) => (Object.defineProperty(e, "message", { value: B().getElementError(e.message, n).message }), e), mutationObserverOptions: c = {
|
|
1955
|
+
subtree: !0,
|
|
1956
|
+
childList: !0,
|
|
1957
|
+
attributes: !0,
|
|
1958
|
+
characterData: !0
|
|
1959
|
+
} } = t;
|
|
1960
|
+
if (typeof e != "function") throw TypeError("Received `callback` arg must be a function");
|
|
1961
|
+
return new Promise(async (t, l) => {
|
|
1962
|
+
let u, d, f, p = !1, m = "idle", h = setTimeout(b, r), g = Et();
|
|
1963
|
+
if (g) {
|
|
1964
|
+
let { unstable_advanceTimersWrapper: e } = B();
|
|
1965
|
+
for (y(); !p;) {
|
|
1966
|
+
if (!Et()) {
|
|
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 || _n(e, a), l(e);
|
|
1969
|
+
return;
|
|
1970
|
+
}
|
|
1971
|
+
if (await e(async () => {
|
|
1972
|
+
jest.advanceTimersByTime(o);
|
|
1973
|
+
}), p) break;
|
|
1974
|
+
y();
|
|
1975
|
+
}
|
|
1976
|
+
} else {
|
|
1977
|
+
try {
|
|
1978
|
+
L(n);
|
|
1979
|
+
} catch (e) {
|
|
1980
|
+
l(e);
|
|
1981
|
+
return;
|
|
1982
|
+
}
|
|
1983
|
+
d = setInterval(v, o);
|
|
1984
|
+
let { MutationObserver: e } = Ot(n);
|
|
1985
|
+
f = new e(v), f.observe(n, c), y();
|
|
1986
|
+
}
|
|
1987
|
+
function _(e, n) {
|
|
1988
|
+
p = !0, clearTimeout(h), g || (clearInterval(d), f.disconnect()), e ? l(e) : t(n);
|
|
1989
|
+
}
|
|
1990
|
+
function v() {
|
|
1991
|
+
if (Et()) {
|
|
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 || _n(e, a), l(e);
|
|
1994
|
+
} else return y();
|
|
1995
|
+
}
|
|
1996
|
+
function y() {
|
|
1997
|
+
if (m !== "pending") try {
|
|
1998
|
+
let t = Ft(e);
|
|
1999
|
+
typeof t?.then == "function" ? (m = "pending", t.then((e) => {
|
|
2000
|
+
m = "resolved", _(null, e);
|
|
2001
|
+
}, (e) => {
|
|
2002
|
+
m = "rejected", u = e;
|
|
2003
|
+
})) : _(null, t);
|
|
2004
|
+
} catch (e) {
|
|
2005
|
+
u = e;
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
function b() {
|
|
2009
|
+
let e;
|
|
2010
|
+
u ? (e = u, !i && e.name === "TestingLibraryElementError" && _n(e, a)) : (e = /* @__PURE__ */ Error("Timed out in waitFor."), i || _n(e, a)), _(s(e), null);
|
|
2011
|
+
}
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
function yn(e, t) {
|
|
2015
|
+
let n = /* @__PURE__ */ Error("STACK_TRACE_MESSAGE");
|
|
2016
|
+
return B().asyncWrapper(() => vn(e, {
|
|
2017
|
+
stackTraceError: n,
|
|
2018
|
+
...t
|
|
2019
|
+
}));
|
|
2020
|
+
}
|
|
2021
|
+
function bn(e, t) {
|
|
2022
|
+
return B().getElementError(e, t);
|
|
2023
|
+
}
|
|
2024
|
+
function xn(e, t) {
|
|
2025
|
+
return bn(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
|
|
2026
|
+
}
|
|
2027
|
+
function Sn(e, t, n, r) {
|
|
2028
|
+
let { exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = r === void 0 ? {} : r, c = i ? H : V, l = U({
|
|
2029
|
+
collapseWhitespace: a,
|
|
2030
|
+
trim: o,
|
|
2031
|
+
normalizer: s
|
|
2032
|
+
});
|
|
2033
|
+
return Array.from(t.querySelectorAll("[" + e + "]")).filter((t) => c(t.getAttribute(e), t, n, l));
|
|
2034
|
+
}
|
|
2035
|
+
function Cn(e, t) {
|
|
2036
|
+
return function(n) {
|
|
2037
|
+
var r = [...arguments].slice(1);
|
|
2038
|
+
let i = e(n, ...r);
|
|
2039
|
+
if (i.length > 1) {
|
|
2040
|
+
let e = i.map((e) => bn(null, e).message).join("\n\n");
|
|
2041
|
+
throw xn(t(n, ...r) + "\n\nHere are the matching elements:\n\n" + e, n);
|
|
2042
|
+
}
|
|
2043
|
+
return i[0] || null;
|
|
2044
|
+
};
|
|
2045
|
+
}
|
|
2046
|
+
function wn(e, t) {
|
|
2047
|
+
return B().getElementError("A better query is available, try this:\n" + e.toString() + "\n", t);
|
|
2048
|
+
}
|
|
2049
|
+
function Tn(e, t) {
|
|
2050
|
+
return function(n) {
|
|
2051
|
+
var r = [...arguments].slice(1);
|
|
2052
|
+
let i = e(n, ...r);
|
|
2053
|
+
if (!i.length) throw B().getElementError(t(n, ...r), n);
|
|
2054
|
+
return i;
|
|
2055
|
+
};
|
|
2056
|
+
}
|
|
2057
|
+
function En(e) {
|
|
2058
|
+
return (t, n, r, i) => yn(() => e(t, n, r), {
|
|
2059
|
+
container: t,
|
|
2060
|
+
...i
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
var K = (e, t, n) => function(r) {
|
|
2064
|
+
var i = [...arguments].slice(1);
|
|
2065
|
+
let a = e(r, ...i), [{ suggest: o = B().throwSuggestions } = {}] = i.slice(-1);
|
|
2066
|
+
if (a && o) {
|
|
2067
|
+
let e = gn(a, n);
|
|
2068
|
+
if (e && !t.endsWith(e.queryName)) throw wn(e.toString(), r);
|
|
2069
|
+
}
|
|
2070
|
+
return a;
|
|
2071
|
+
}, q = (e, t, n) => function(r) {
|
|
2072
|
+
var i = [...arguments].slice(1);
|
|
2073
|
+
let a = e(r, ...i), [{ suggest: o = B().throwSuggestions } = {}] = i.slice(-1);
|
|
2074
|
+
if (a.length && o) {
|
|
2075
|
+
let e = [...new Set(a.map((e) => gn(e, n)?.toString()))];
|
|
2076
|
+
if (e.length === 1 && !t.endsWith(gn(a[0], n).queryName)) throw wn(e[0], r);
|
|
2077
|
+
}
|
|
2078
|
+
return a;
|
|
2079
|
+
};
|
|
2080
|
+
function J(e, t, n) {
|
|
2081
|
+
let r = K(Cn(e, t), e.name, "query"), i = Tn(e, n), a = Cn(i, t), o = K(a, e.name, "get");
|
|
2082
|
+
return [
|
|
2083
|
+
r,
|
|
2084
|
+
q(i, e.name.replace("query", "get"), "getAll"),
|
|
2085
|
+
o,
|
|
2086
|
+
En(q(i, e.name, "findAll")),
|
|
2087
|
+
En(K(a, e.name, "find"))
|
|
2088
|
+
];
|
|
2089
|
+
}
|
|
2090
|
+
function Dn(e) {
|
|
2091
|
+
return Array.from(e.querySelectorAll("label,input")).map((e) => ({
|
|
2092
|
+
node: e,
|
|
2093
|
+
textToMatch: zt(e)
|
|
2094
|
+
})).filter((e) => {
|
|
2095
|
+
let { textToMatch: t } = e;
|
|
2096
|
+
return t !== null;
|
|
2097
|
+
});
|
|
2098
|
+
}
|
|
2099
|
+
var On = function(e, t, n) {
|
|
2100
|
+
let { exact: r = !0, trim: i, collapseWhitespace: a, normalizer: o } = n === void 0 ? {} : n, s = r ? H : V, c = U({
|
|
2101
|
+
collapseWhitespace: a,
|
|
2102
|
+
trim: i,
|
|
2103
|
+
normalizer: o
|
|
2104
|
+
});
|
|
2105
|
+
return Dn(e).filter((e) => {
|
|
2106
|
+
let { node: n, textToMatch: r } = e;
|
|
2107
|
+
return s(r, n, t, c);
|
|
2108
|
+
}).map((e) => {
|
|
2109
|
+
let { node: t } = e;
|
|
2110
|
+
return t;
|
|
2111
|
+
});
|
|
2112
|
+
}, kn = function(e, t, n) {
|
|
2113
|
+
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = n === void 0 ? {} : n;
|
|
2114
|
+
L(e);
|
|
2115
|
+
let c = i ? H : V, l = U({
|
|
2116
|
+
collapseWhitespace: a,
|
|
2117
|
+
trim: o,
|
|
2118
|
+
normalizer: s
|
|
2119
|
+
}), u = Array.from(e.querySelectorAll("*")).filter((e) => Bt(e).length || e.hasAttribute("aria-labelledby")).reduce((n, i) => {
|
|
2120
|
+
let a = Ht(e, i, { selector: r });
|
|
2121
|
+
a.filter((e) => !!e.formControl).forEach((e) => {
|
|
2122
|
+
c(e.content, e.formControl, t, l) && e.formControl && n.push(e.formControl);
|
|
2123
|
+
});
|
|
2124
|
+
let o = a.filter((e) => !!e.content).map((e) => e.content);
|
|
2125
|
+
return c(o.join(" "), i, t, l) && n.push(i), o.length > 1 && o.forEach((e, r) => {
|
|
2126
|
+
c(e, i, t, l) && n.push(i);
|
|
2127
|
+
let a = [...o];
|
|
2128
|
+
a.splice(r, 1), a.length > 1 && c(a.join(" "), i, t, l) && n.push(i);
|
|
2129
|
+
}), n;
|
|
2130
|
+
}, []).concat(Sn("aria-label", e, t, {
|
|
2131
|
+
exact: i,
|
|
2132
|
+
normalizer: l
|
|
2133
|
+
}));
|
|
2134
|
+
return Array.from(new Set(u)).filter((e) => e.matches(r));
|
|
2135
|
+
}, Y = function(e, t) {
|
|
2136
|
+
var n = [...arguments].slice(2);
|
|
2137
|
+
let r = kn(e, t, ...n);
|
|
2138
|
+
if (!r.length) {
|
|
2139
|
+
let r = On(e, t, ...n);
|
|
2140
|
+
if (r.length) {
|
|
2141
|
+
let n = r.map((t) => An(e, t)).filter((e) => !!e);
|
|
2142
|
+
throw n.length ? B().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) : B().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 B().getElementError("Unable to find a label with the text of: " + t, e);
|
|
2144
|
+
}
|
|
2145
|
+
return r;
|
|
2146
|
+
};
|
|
2147
|
+
function An(e, t) {
|
|
2148
|
+
let n = t.getAttribute("for");
|
|
2149
|
+
if (!n) return null;
|
|
2150
|
+
let r = e.querySelector("[id=\"" + n + "\"]");
|
|
2151
|
+
return r ? r.tagName.toLowerCase() : null;
|
|
2152
|
+
}
|
|
2153
|
+
var jn = (e, t) => "Found multiple elements with the text of: " + t, Mn = K(Cn(kn, jn), kn.name, "query"), Nn = Cn(Y, jn), Pn = En(q(Y, Y.name, "findAll")), Fn = En(K(Nn, Y.name, "find")), In = q(Y, Y.name, "getAll"), Ln = K(Nn, Y.name, "get"), Rn = q(kn, kn.name, "queryAll"), zn = function() {
|
|
2154
|
+
var e = [...arguments];
|
|
2155
|
+
return L(e[0]), Sn("placeholder", ...e);
|
|
2156
|
+
}, Bn = (e, t) => "Found multiple elements with the placeholder text of: " + t, Vn = (e, t) => "Unable to find an element with the placeholder text of: " + t, Hn = q(zn, zn.name, "queryAll"), [Un, Wn, Gn, Kn, qn] = J(zn, Bn, Vn), Jn = function(e, t, n) {
|
|
2157
|
+
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, ignore: s = B().defaultIgnore, normalizer: c } = n === void 0 ? {} : n;
|
|
2158
|
+
L(e);
|
|
2159
|
+
let l = i ? H : V, u = U({
|
|
2160
|
+
collapseWhitespace: a,
|
|
2161
|
+
trim: o,
|
|
2162
|
+
normalizer: c
|
|
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(Kt(e), e, t, u));
|
|
2165
|
+
}, Yn = (e, t) => "Found multiple elements with the text: " + t, Xn = function(e, t, n) {
|
|
2166
|
+
n === void 0 && (n = {});
|
|
2167
|
+
let { collapseWhitespace: r, trim: i, normalizer: a, selector: o } = n, s = U({
|
|
2168
|
+
collapseWhitespace: r,
|
|
2169
|
+
trim: i,
|
|
2170
|
+
normalizer: a
|
|
2171
|
+
})(t.toString()), c = s !== t.toString(), l = (o ?? "*") !== "*";
|
|
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
|
+
}, Zn = q(Jn, Jn.name, "queryAll"), [Qn, $n, er, tr, nr] = J(Jn, Yn, Xn), rr = function(e, t, n) {
|
|
2174
|
+
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2175
|
+
L(e);
|
|
2176
|
+
let s = r ? H : V, c = U({
|
|
2177
|
+
collapseWhitespace: i,
|
|
2178
|
+
trim: a,
|
|
2179
|
+
normalizer: o
|
|
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(Kt(e), e, t, c)) : s(e.value, e, t, c));
|
|
2182
|
+
}, ir = (e, t) => "Found multiple elements with the display value: " + t + ".", ar = (e, t) => "Unable to find an element with the display value: " + t + ".", or = q(rr, rr.name, "queryAll"), [sr, cr, lr, ur, dr] = J(rr, ir, ar), fr = /^(img|input|area|.+-.+)$/i, pr = function(e, t, n) {
|
|
2183
|
+
return n === void 0 && (n = {}), L(e), Sn("alt", e, t, n).filter((e) => fr.test(e.tagName));
|
|
2184
|
+
}, mr = (e, t) => "Found multiple elements with the alt text: " + t, hr = (e, t) => "Unable to find an element with the alt text: " + t, gr = q(pr, pr.name, "queryAll"), [_r, vr, yr, br, xr] = J(pr, mr, hr), Sr = (e) => e.tagName.toLowerCase() === "title" && e.parentElement?.tagName.toLowerCase() === "svg", Cr = function(e, t, n) {
|
|
2185
|
+
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2186
|
+
L(e);
|
|
2187
|
+
let s = r ? H : V, c = U({
|
|
2188
|
+
collapseWhitespace: i,
|
|
2189
|
+
trim: a,
|
|
2190
|
+
normalizer: o
|
|
2191
|
+
});
|
|
2192
|
+
return Array.from(e.querySelectorAll("[title], svg > title")).filter((e) => s(e.getAttribute("title"), e, t, c) || Sr(e) && s(Kt(e), e, t, c));
|
|
2193
|
+
}, wr = (e, t) => "Found multiple elements with the title: " + t + ".", Tr = (e, t) => "Unable to find an element with the title: " + t + ".", Er = q(Cr, Cr.name, "queryAll"), [Dr, Or, kr, Ar, jr] = J(Cr, wr, Tr), Mr = function(e, t, n) {
|
|
2194
|
+
let { hidden: r = B().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 (L(e), s !== void 0 && I.roles.get(t)?.props["aria-selected"] === void 0) throw Error("\"aria-selected\" is not supported on role \"" + t + "\".");
|
|
2196
|
+
if (c !== void 0 && I.roles.get(t)?.props["aria-busy"] === void 0) throw Error("\"aria-busy\" is not supported on role \"" + t + "\".");
|
|
2197
|
+
if (l !== void 0 && I.roles.get(t)?.props["aria-checked"] === void 0) throw Error("\"aria-checked\" is not supported on role \"" + t + "\".");
|
|
2198
|
+
if (u !== void 0 && I.roles.get(t)?.props["aria-pressed"] === void 0) throw Error("\"aria-pressed\" is not supported on role \"" + t + "\".");
|
|
2199
|
+
if (d !== void 0 && I.roles.get(t)?.props["aria-current"] === void 0) throw Error("\"aria-current\" is not supported on role \"" + t + "\".");
|
|
2200
|
+
if (f !== void 0 && t !== "heading") throw Error("Role \"" + t + "\" cannot have \"level\" property.");
|
|
2201
|
+
if (m !== void 0 && I.roles.get(t)?.props["aria-valuenow"] === void 0) throw Error("\"aria-valuenow\" is not supported on role \"" + t + "\".");
|
|
2202
|
+
if (g !== void 0 && I.roles.get(t)?.props["aria-valuemax"] === void 0) throw Error("\"aria-valuemax\" is not supported on role \"" + t + "\".");
|
|
2203
|
+
if (h !== void 0 && I.roles.get(t)?.props["aria-valuemin"] === void 0) throw Error("\"aria-valuemin\" is not supported on role \"" + t + "\".");
|
|
2204
|
+
if (_ !== void 0 && I.roles.get(t)?.props["aria-valuetext"] === void 0) throw Error("\"aria-valuetext\" is not supported on role \"" + t + "\".");
|
|
2205
|
+
if (p !== void 0 && I.roles.get(t)?.props["aria-expanded"] === void 0) throw Error("\"aria-expanded\" is not supported on role \"" + t + "\".");
|
|
2206
|
+
let v = /* @__PURE__ */ new WeakMap();
|
|
2207
|
+
function y(e) {
|
|
2208
|
+
return v.has(e) || v.set(e, Jt(e)), v.get(e);
|
|
2209
|
+
}
|
|
2210
|
+
return Array.from(e.querySelectorAll(Nr(t))).filter((e) => {
|
|
2211
|
+
if (e.hasAttribute("role")) {
|
|
2212
|
+
let n = e.getAttribute("role");
|
|
2213
|
+
if (o) return n.split(" ").filter(Boolean).some((e) => e === t);
|
|
2214
|
+
let [r] = n.split(" ");
|
|
2215
|
+
return r === t;
|
|
2216
|
+
}
|
|
2217
|
+
return Xt(e).some((e) => e === t);
|
|
2218
|
+
}).filter((e) => {
|
|
2219
|
+
if (s !== void 0) return s === en(e);
|
|
2220
|
+
if (c !== void 0) return c === tn(e);
|
|
2221
|
+
if (l !== void 0) return l === nn(e);
|
|
2222
|
+
if (u !== void 0) return u === rn(e);
|
|
2223
|
+
if (d !== void 0) return d === an(e);
|
|
2224
|
+
if (p !== void 0) return p === on(e);
|
|
2225
|
+
if (f !== void 0) return f === cn(e);
|
|
2226
|
+
if (m !== void 0 || g !== void 0 || h !== void 0 || _ !== void 0) {
|
|
2227
|
+
let t = !0;
|
|
2228
|
+
return m !== void 0 && (t &&= m === ln(e)), g !== void 0 && (t &&= g === un(e)), h !== void 0 && (t &&= h === dn(e)), _ !== void 0 && (t &&= H(fn(e) ?? null, e, _, (e) => e)), t;
|
|
2229
|
+
}
|
|
2230
|
+
return !0;
|
|
2231
|
+
}).filter((e) => i === void 0 ? !0 : H(Ze(e, { computedStyleSupportsPseudoElements: B().computedStyleSupportsPseudoElements }), e, i, (e) => e)).filter((e) => a === void 0 ? !0 : H(Ye(e, { computedStyleSupportsPseudoElements: B().computedStyleSupportsPseudoElements }), e, a, (e) => e)).filter((e) => r === !1 ? Yt(e, { isSubtreeInaccessible: y }) === !1 : !0);
|
|
2232
|
+
};
|
|
2233
|
+
function Nr(e) {
|
|
2234
|
+
let t = "*[role~=\"" + e + "\"]", n = I.roleElements.get(e) ?? /* @__PURE__ */ new Set(), r = new Set(Array.from(n).map((e) => {
|
|
2235
|
+
let { name: t } = e;
|
|
2236
|
+
return t;
|
|
2237
|
+
}));
|
|
2238
|
+
return [t].concat(Array.from(r)).join(",");
|
|
2239
|
+
}
|
|
2240
|
+
var Pr = (e) => {
|
|
2241
|
+
let t = "";
|
|
2242
|
+
return t = e === void 0 ? "" : typeof e == "string" ? " and name \"" + e + "\"" : " and name `" + e + "`", t;
|
|
2243
|
+
}, Fr = function(e, t, n) {
|
|
2244
|
+
let { name: r } = n === void 0 ? {} : n;
|
|
2245
|
+
return "Found multiple elements with the role \"" + t + "\"" + Pr(r);
|
|
2246
|
+
}, Ir = function(e, t, n) {
|
|
2247
|
+
let { hidden: r = B().defaultHidden, name: i, description: a } = n === void 0 ? {} : n;
|
|
2248
|
+
if (B()._disableExpensiveErrorDiagnostics) return "Unable to find role=\"" + t + "\"" + Pr(i);
|
|
2249
|
+
let o = "";
|
|
2250
|
+
Array.from(e.children).forEach((e) => {
|
|
2251
|
+
o += $t(e, {
|
|
2252
|
+
hidden: r,
|
|
2253
|
+
includeDescription: a !== void 0
|
|
2254
|
+
});
|
|
2255
|
+
});
|
|
2256
|
+
let s;
|
|
2257
|
+
s = o.length === 0 ? r === !1 ? "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : "There are no available roles." : ("\nHere are the " + (r === !1 ? "accessible" : "available") + " roles:\n\n " + o.replace(/\n/g, "\n ").replace(/\n\s\s\n/g, "\n\n") + "\n").trim();
|
|
2258
|
+
let c = "";
|
|
2259
|
+
c = i === void 0 ? "" : typeof i == "string" ? " and name \"" + i + "\"" : " and name `" + i + "`";
|
|
2260
|
+
let l = "";
|
|
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
|
+
}, Lr = q(Mr, Mr.name, "queryAll"), [Rr, zr, Br, Vr, Hr] = J(Mr, Fr, Ir), Ur = () => B().testIdAttribute, Wr = function() {
|
|
2263
|
+
var e = [...arguments];
|
|
2264
|
+
return L(e[0]), Sn(Ur(), ...e);
|
|
2265
|
+
}, Gr = (e, t) => "Found multiple elements by: [" + Ur() + "=\"" + t + "\"]", Kr = (e, t) => "Unable to find an element by: [" + Ur() + "=\"" + t + "\"]", qr = q(Wr, Wr.name, "queryAll"), [Jr, Yr, Xr, Zr, Qr] = J(Wr, Gr, Kr), $r = /* @__PURE__ */ Object.freeze({
|
|
2266
|
+
__proto__: null,
|
|
2267
|
+
queryAllByLabelText: Rn,
|
|
2268
|
+
queryByLabelText: Mn,
|
|
2269
|
+
getAllByLabelText: In,
|
|
2270
|
+
getByLabelText: Ln,
|
|
2271
|
+
findAllByLabelText: Pn,
|
|
2272
|
+
findByLabelText: Fn,
|
|
2273
|
+
queryByPlaceholderText: Un,
|
|
2274
|
+
queryAllByPlaceholderText: Hn,
|
|
2275
|
+
getByPlaceholderText: Gn,
|
|
2276
|
+
getAllByPlaceholderText: Wn,
|
|
2277
|
+
findAllByPlaceholderText: Kn,
|
|
2278
|
+
findByPlaceholderText: qn,
|
|
2279
|
+
queryByText: Qn,
|
|
2280
|
+
queryAllByText: Zn,
|
|
2281
|
+
getByText: er,
|
|
2282
|
+
getAllByText: $n,
|
|
2283
|
+
findAllByText: tr,
|
|
2284
|
+
findByText: nr,
|
|
2285
|
+
queryByDisplayValue: sr,
|
|
2286
|
+
queryAllByDisplayValue: or,
|
|
2287
|
+
getByDisplayValue: lr,
|
|
2288
|
+
getAllByDisplayValue: cr,
|
|
2289
|
+
findAllByDisplayValue: ur,
|
|
2290
|
+
findByDisplayValue: dr,
|
|
2291
|
+
queryByAltText: _r,
|
|
2292
|
+
queryAllByAltText: gr,
|
|
2293
|
+
getByAltText: yr,
|
|
2294
|
+
getAllByAltText: vr,
|
|
2295
|
+
findAllByAltText: br,
|
|
2296
|
+
findByAltText: xr,
|
|
2297
|
+
queryByTitle: Dr,
|
|
2298
|
+
queryAllByTitle: Er,
|
|
2299
|
+
getByTitle: kr,
|
|
2300
|
+
getAllByTitle: Or,
|
|
2301
|
+
findAllByTitle: Ar,
|
|
2302
|
+
findByTitle: jr,
|
|
2303
|
+
queryByRole: Rr,
|
|
2304
|
+
queryAllByRole: Lr,
|
|
2305
|
+
getAllByRole: zr,
|
|
2306
|
+
getByRole: Br,
|
|
2307
|
+
findAllByRole: Vr,
|
|
2308
|
+
findByRole: Hr,
|
|
2309
|
+
queryByTestId: Jr,
|
|
2310
|
+
queryAllByTestId: qr,
|
|
2311
|
+
getByTestId: Xr,
|
|
2312
|
+
getAllByTestId: Yr,
|
|
2313
|
+
findAllByTestId: Zr,
|
|
2314
|
+
findByTestId: Qr
|
|
2315
|
+
});
|
|
2316
|
+
function ei(e, t, n) {
|
|
2317
|
+
return t === void 0 && (t = $r), n === void 0 && (n = {}), Object.keys(t).reduce((n, r) => (n[r] = t[r].bind(null, e), n), n);
|
|
2318
|
+
}
|
|
2319
|
+
var ti = {
|
|
2320
|
+
copy: {
|
|
2321
|
+
EventType: "ClipboardEvent",
|
|
2322
|
+
defaultInit: {
|
|
2323
|
+
bubbles: !0,
|
|
2324
|
+
cancelable: !0,
|
|
2325
|
+
composed: !0
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
cut: {
|
|
2329
|
+
EventType: "ClipboardEvent",
|
|
2330
|
+
defaultInit: {
|
|
2331
|
+
bubbles: !0,
|
|
2332
|
+
cancelable: !0,
|
|
2333
|
+
composed: !0
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
paste: {
|
|
2337
|
+
EventType: "ClipboardEvent",
|
|
2338
|
+
defaultInit: {
|
|
2339
|
+
bubbles: !0,
|
|
2340
|
+
cancelable: !0,
|
|
2341
|
+
composed: !0
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
compositionEnd: {
|
|
2345
|
+
EventType: "CompositionEvent",
|
|
2346
|
+
defaultInit: {
|
|
2347
|
+
bubbles: !0,
|
|
2348
|
+
cancelable: !0,
|
|
2349
|
+
composed: !0
|
|
2350
|
+
}
|
|
2351
|
+
},
|
|
2352
|
+
compositionStart: {
|
|
2353
|
+
EventType: "CompositionEvent",
|
|
2354
|
+
defaultInit: {
|
|
2355
|
+
bubbles: !0,
|
|
2356
|
+
cancelable: !0,
|
|
2357
|
+
composed: !0
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
compositionUpdate: {
|
|
2361
|
+
EventType: "CompositionEvent",
|
|
2362
|
+
defaultInit: {
|
|
2363
|
+
bubbles: !0,
|
|
2364
|
+
cancelable: !0,
|
|
2365
|
+
composed: !0
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
keyDown: {
|
|
2369
|
+
EventType: "KeyboardEvent",
|
|
2370
|
+
defaultInit: {
|
|
2371
|
+
bubbles: !0,
|
|
2372
|
+
cancelable: !0,
|
|
2373
|
+
charCode: 0,
|
|
2374
|
+
composed: !0
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
keyPress: {
|
|
2378
|
+
EventType: "KeyboardEvent",
|
|
2379
|
+
defaultInit: {
|
|
2380
|
+
bubbles: !0,
|
|
2381
|
+
cancelable: !0,
|
|
2382
|
+
charCode: 0,
|
|
2383
|
+
composed: !0
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
keyUp: {
|
|
2387
|
+
EventType: "KeyboardEvent",
|
|
2388
|
+
defaultInit: {
|
|
2389
|
+
bubbles: !0,
|
|
2390
|
+
cancelable: !0,
|
|
2391
|
+
charCode: 0,
|
|
2392
|
+
composed: !0
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
focus: {
|
|
2396
|
+
EventType: "FocusEvent",
|
|
2397
|
+
defaultInit: {
|
|
2398
|
+
bubbles: !1,
|
|
2399
|
+
cancelable: !1,
|
|
2400
|
+
composed: !0
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
blur: {
|
|
2404
|
+
EventType: "FocusEvent",
|
|
2405
|
+
defaultInit: {
|
|
2406
|
+
bubbles: !1,
|
|
2407
|
+
cancelable: !1,
|
|
2408
|
+
composed: !0
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
focusIn: {
|
|
2412
|
+
EventType: "FocusEvent",
|
|
2413
|
+
defaultInit: {
|
|
2414
|
+
bubbles: !0,
|
|
2415
|
+
cancelable: !1,
|
|
2416
|
+
composed: !0
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
focusOut: {
|
|
2420
|
+
EventType: "FocusEvent",
|
|
2421
|
+
defaultInit: {
|
|
2422
|
+
bubbles: !0,
|
|
2423
|
+
cancelable: !1,
|
|
2424
|
+
composed: !0
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
change: {
|
|
2428
|
+
EventType: "Event",
|
|
2429
|
+
defaultInit: {
|
|
2430
|
+
bubbles: !0,
|
|
2431
|
+
cancelable: !1
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
input: {
|
|
2435
|
+
EventType: "InputEvent",
|
|
2436
|
+
defaultInit: {
|
|
2437
|
+
bubbles: !0,
|
|
2438
|
+
cancelable: !1,
|
|
2439
|
+
composed: !0
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
invalid: {
|
|
2443
|
+
EventType: "Event",
|
|
2444
|
+
defaultInit: {
|
|
2445
|
+
bubbles: !1,
|
|
2446
|
+
cancelable: !0
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
submit: {
|
|
2450
|
+
EventType: "Event",
|
|
2451
|
+
defaultInit: {
|
|
2452
|
+
bubbles: !0,
|
|
2453
|
+
cancelable: !0
|
|
2454
|
+
}
|
|
2455
|
+
},
|
|
2456
|
+
reset: {
|
|
2457
|
+
EventType: "Event",
|
|
2458
|
+
defaultInit: {
|
|
2459
|
+
bubbles: !0,
|
|
2460
|
+
cancelable: !0
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
click: {
|
|
2464
|
+
EventType: "MouseEvent",
|
|
2465
|
+
defaultInit: {
|
|
2466
|
+
bubbles: !0,
|
|
2467
|
+
cancelable: !0,
|
|
2468
|
+
button: 0,
|
|
2469
|
+
composed: !0
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
contextMenu: {
|
|
2473
|
+
EventType: "MouseEvent",
|
|
2474
|
+
defaultInit: {
|
|
2475
|
+
bubbles: !0,
|
|
2476
|
+
cancelable: !0,
|
|
2477
|
+
composed: !0
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
dblClick: {
|
|
2481
|
+
EventType: "MouseEvent",
|
|
2482
|
+
defaultInit: {
|
|
2483
|
+
bubbles: !0,
|
|
2484
|
+
cancelable: !0,
|
|
2485
|
+
composed: !0
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
|
+
drag: {
|
|
2489
|
+
EventType: "DragEvent",
|
|
2490
|
+
defaultInit: {
|
|
2491
|
+
bubbles: !0,
|
|
2492
|
+
cancelable: !0,
|
|
2493
|
+
composed: !0
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
dragEnd: {
|
|
2497
|
+
EventType: "DragEvent",
|
|
2498
|
+
defaultInit: {
|
|
2499
|
+
bubbles: !0,
|
|
2500
|
+
cancelable: !1,
|
|
2501
|
+
composed: !0
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
dragEnter: {
|
|
2505
|
+
EventType: "DragEvent",
|
|
2506
|
+
defaultInit: {
|
|
2507
|
+
bubbles: !0,
|
|
2508
|
+
cancelable: !0,
|
|
2509
|
+
composed: !0
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
dragExit: {
|
|
2513
|
+
EventType: "DragEvent",
|
|
2514
|
+
defaultInit: {
|
|
2515
|
+
bubbles: !0,
|
|
2516
|
+
cancelable: !1,
|
|
2517
|
+
composed: !0
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
dragLeave: {
|
|
2521
|
+
EventType: "DragEvent",
|
|
2522
|
+
defaultInit: {
|
|
2523
|
+
bubbles: !0,
|
|
2524
|
+
cancelable: !1,
|
|
2525
|
+
composed: !0
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
dragOver: {
|
|
2529
|
+
EventType: "DragEvent",
|
|
2530
|
+
defaultInit: {
|
|
2531
|
+
bubbles: !0,
|
|
2532
|
+
cancelable: !0,
|
|
2533
|
+
composed: !0
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
dragStart: {
|
|
2537
|
+
EventType: "DragEvent",
|
|
2538
|
+
defaultInit: {
|
|
2539
|
+
bubbles: !0,
|
|
2540
|
+
cancelable: !0,
|
|
2541
|
+
composed: !0
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
drop: {
|
|
2545
|
+
EventType: "DragEvent",
|
|
2546
|
+
defaultInit: {
|
|
2547
|
+
bubbles: !0,
|
|
2548
|
+
cancelable: !0,
|
|
2549
|
+
composed: !0
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
mouseDown: {
|
|
2553
|
+
EventType: "MouseEvent",
|
|
2554
|
+
defaultInit: {
|
|
2555
|
+
bubbles: !0,
|
|
2556
|
+
cancelable: !0,
|
|
2557
|
+
composed: !0
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
mouseEnter: {
|
|
2561
|
+
EventType: "MouseEvent",
|
|
2562
|
+
defaultInit: {
|
|
2563
|
+
bubbles: !1,
|
|
2564
|
+
cancelable: !1,
|
|
2565
|
+
composed: !0
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
mouseLeave: {
|
|
2569
|
+
EventType: "MouseEvent",
|
|
2570
|
+
defaultInit: {
|
|
2571
|
+
bubbles: !1,
|
|
2572
|
+
cancelable: !1,
|
|
2573
|
+
composed: !0
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
mouseMove: {
|
|
2577
|
+
EventType: "MouseEvent",
|
|
2578
|
+
defaultInit: {
|
|
2579
|
+
bubbles: !0,
|
|
2580
|
+
cancelable: !0,
|
|
2581
|
+
composed: !0
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
mouseOut: {
|
|
2585
|
+
EventType: "MouseEvent",
|
|
2586
|
+
defaultInit: {
|
|
2587
|
+
bubbles: !0,
|
|
2588
|
+
cancelable: !0,
|
|
2589
|
+
composed: !0
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
mouseOver: {
|
|
2593
|
+
EventType: "MouseEvent",
|
|
2594
|
+
defaultInit: {
|
|
2595
|
+
bubbles: !0,
|
|
2596
|
+
cancelable: !0,
|
|
2597
|
+
composed: !0
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
mouseUp: {
|
|
2601
|
+
EventType: "MouseEvent",
|
|
2602
|
+
defaultInit: {
|
|
2603
|
+
bubbles: !0,
|
|
2604
|
+
cancelable: !0,
|
|
2605
|
+
composed: !0
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
select: {
|
|
2609
|
+
EventType: "Event",
|
|
2610
|
+
defaultInit: {
|
|
2611
|
+
bubbles: !0,
|
|
2612
|
+
cancelable: !1
|
|
2613
|
+
}
|
|
2614
|
+
},
|
|
2615
|
+
touchCancel: {
|
|
2616
|
+
EventType: "TouchEvent",
|
|
2617
|
+
defaultInit: {
|
|
2618
|
+
bubbles: !0,
|
|
2619
|
+
cancelable: !1,
|
|
2620
|
+
composed: !0
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
touchEnd: {
|
|
2624
|
+
EventType: "TouchEvent",
|
|
2625
|
+
defaultInit: {
|
|
2626
|
+
bubbles: !0,
|
|
2627
|
+
cancelable: !0,
|
|
2628
|
+
composed: !0
|
|
2629
|
+
}
|
|
2630
|
+
},
|
|
2631
|
+
touchMove: {
|
|
2632
|
+
EventType: "TouchEvent",
|
|
2633
|
+
defaultInit: {
|
|
2634
|
+
bubbles: !0,
|
|
2635
|
+
cancelable: !0,
|
|
2636
|
+
composed: !0
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
touchStart: {
|
|
2640
|
+
EventType: "TouchEvent",
|
|
2641
|
+
defaultInit: {
|
|
2642
|
+
bubbles: !0,
|
|
2643
|
+
cancelable: !0,
|
|
2644
|
+
composed: !0
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
resize: {
|
|
2648
|
+
EventType: "UIEvent",
|
|
2649
|
+
defaultInit: {
|
|
2650
|
+
bubbles: !1,
|
|
2651
|
+
cancelable: !1
|
|
2652
|
+
}
|
|
2653
|
+
},
|
|
2654
|
+
scroll: {
|
|
2655
|
+
EventType: "UIEvent",
|
|
2656
|
+
defaultInit: {
|
|
2657
|
+
bubbles: !1,
|
|
2658
|
+
cancelable: !1
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2661
|
+
wheel: {
|
|
2662
|
+
EventType: "WheelEvent",
|
|
2663
|
+
defaultInit: {
|
|
2664
|
+
bubbles: !0,
|
|
2665
|
+
cancelable: !0,
|
|
2666
|
+
composed: !0
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2669
|
+
abort: {
|
|
2670
|
+
EventType: "Event",
|
|
2671
|
+
defaultInit: {
|
|
2672
|
+
bubbles: !1,
|
|
2673
|
+
cancelable: !1
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
canPlay: {
|
|
2677
|
+
EventType: "Event",
|
|
2678
|
+
defaultInit: {
|
|
2679
|
+
bubbles: !1,
|
|
2680
|
+
cancelable: !1
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
canPlayThrough: {
|
|
2684
|
+
EventType: "Event",
|
|
2685
|
+
defaultInit: {
|
|
2686
|
+
bubbles: !1,
|
|
2687
|
+
cancelable: !1
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
durationChange: {
|
|
2691
|
+
EventType: "Event",
|
|
2692
|
+
defaultInit: {
|
|
2693
|
+
bubbles: !1,
|
|
2694
|
+
cancelable: !1
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
emptied: {
|
|
2698
|
+
EventType: "Event",
|
|
2699
|
+
defaultInit: {
|
|
2700
|
+
bubbles: !1,
|
|
2701
|
+
cancelable: !1
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
encrypted: {
|
|
2705
|
+
EventType: "Event",
|
|
2706
|
+
defaultInit: {
|
|
2707
|
+
bubbles: !1,
|
|
2708
|
+
cancelable: !1
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
ended: {
|
|
2712
|
+
EventType: "Event",
|
|
2713
|
+
defaultInit: {
|
|
2714
|
+
bubbles: !1,
|
|
2715
|
+
cancelable: !1
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
loadedData: {
|
|
2719
|
+
EventType: "Event",
|
|
2720
|
+
defaultInit: {
|
|
2721
|
+
bubbles: !1,
|
|
2722
|
+
cancelable: !1
|
|
2723
|
+
}
|
|
2724
|
+
},
|
|
2725
|
+
loadedMetadata: {
|
|
2726
|
+
EventType: "Event",
|
|
2727
|
+
defaultInit: {
|
|
2728
|
+
bubbles: !1,
|
|
2729
|
+
cancelable: !1
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
loadStart: {
|
|
2733
|
+
EventType: "ProgressEvent",
|
|
2734
|
+
defaultInit: {
|
|
2735
|
+
bubbles: !1,
|
|
2736
|
+
cancelable: !1
|
|
2737
|
+
}
|
|
2738
|
+
},
|
|
2739
|
+
pause: {
|
|
2740
|
+
EventType: "Event",
|
|
2741
|
+
defaultInit: {
|
|
2742
|
+
bubbles: !1,
|
|
2743
|
+
cancelable: !1
|
|
2744
|
+
}
|
|
2745
|
+
},
|
|
2746
|
+
play: {
|
|
2747
|
+
EventType: "Event",
|
|
2748
|
+
defaultInit: {
|
|
2749
|
+
bubbles: !1,
|
|
2750
|
+
cancelable: !1
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
playing: {
|
|
2754
|
+
EventType: "Event",
|
|
2755
|
+
defaultInit: {
|
|
2756
|
+
bubbles: !1,
|
|
2757
|
+
cancelable: !1
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
progress: {
|
|
2761
|
+
EventType: "ProgressEvent",
|
|
2762
|
+
defaultInit: {
|
|
2763
|
+
bubbles: !1,
|
|
2764
|
+
cancelable: !1
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
rateChange: {
|
|
2768
|
+
EventType: "Event",
|
|
2769
|
+
defaultInit: {
|
|
2770
|
+
bubbles: !1,
|
|
2771
|
+
cancelable: !1
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
seeked: {
|
|
2775
|
+
EventType: "Event",
|
|
2776
|
+
defaultInit: {
|
|
2777
|
+
bubbles: !1,
|
|
2778
|
+
cancelable: !1
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
seeking: {
|
|
2782
|
+
EventType: "Event",
|
|
2783
|
+
defaultInit: {
|
|
2784
|
+
bubbles: !1,
|
|
2785
|
+
cancelable: !1
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
stalled: {
|
|
2789
|
+
EventType: "Event",
|
|
2790
|
+
defaultInit: {
|
|
2791
|
+
bubbles: !1,
|
|
2792
|
+
cancelable: !1
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
suspend: {
|
|
2796
|
+
EventType: "Event",
|
|
2797
|
+
defaultInit: {
|
|
2798
|
+
bubbles: !1,
|
|
2799
|
+
cancelable: !1
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
timeUpdate: {
|
|
2803
|
+
EventType: "Event",
|
|
2804
|
+
defaultInit: {
|
|
2805
|
+
bubbles: !1,
|
|
2806
|
+
cancelable: !1
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
volumeChange: {
|
|
2810
|
+
EventType: "Event",
|
|
2811
|
+
defaultInit: {
|
|
2812
|
+
bubbles: !1,
|
|
2813
|
+
cancelable: !1
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
waiting: {
|
|
2817
|
+
EventType: "Event",
|
|
2818
|
+
defaultInit: {
|
|
2819
|
+
bubbles: !1,
|
|
2820
|
+
cancelable: !1
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
load: {
|
|
2824
|
+
EventType: "Event",
|
|
2825
|
+
defaultInit: {
|
|
2826
|
+
bubbles: !1,
|
|
2827
|
+
cancelable: !1
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
error: {
|
|
2831
|
+
EventType: "Event",
|
|
2832
|
+
defaultInit: {
|
|
2833
|
+
bubbles: !1,
|
|
2834
|
+
cancelable: !1
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
animationStart: {
|
|
2838
|
+
EventType: "AnimationEvent",
|
|
2839
|
+
defaultInit: {
|
|
2840
|
+
bubbles: !0,
|
|
2841
|
+
cancelable: !1
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
animationEnd: {
|
|
2845
|
+
EventType: "AnimationEvent",
|
|
2846
|
+
defaultInit: {
|
|
2847
|
+
bubbles: !0,
|
|
2848
|
+
cancelable: !1
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
animationIteration: {
|
|
2852
|
+
EventType: "AnimationEvent",
|
|
2853
|
+
defaultInit: {
|
|
2854
|
+
bubbles: !0,
|
|
2855
|
+
cancelable: !1
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
transitionCancel: {
|
|
2859
|
+
EventType: "TransitionEvent",
|
|
2860
|
+
defaultInit: {
|
|
2861
|
+
bubbles: !0,
|
|
2862
|
+
cancelable: !1
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
transitionEnd: {
|
|
2866
|
+
EventType: "TransitionEvent",
|
|
2867
|
+
defaultInit: {
|
|
2868
|
+
bubbles: !0,
|
|
2869
|
+
cancelable: !0
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
transitionRun: {
|
|
2873
|
+
EventType: "TransitionEvent",
|
|
2874
|
+
defaultInit: {
|
|
2875
|
+
bubbles: !0,
|
|
2876
|
+
cancelable: !1
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
transitionStart: {
|
|
2880
|
+
EventType: "TransitionEvent",
|
|
2881
|
+
defaultInit: {
|
|
2882
|
+
bubbles: !0,
|
|
2883
|
+
cancelable: !1
|
|
2884
|
+
}
|
|
2885
|
+
},
|
|
2886
|
+
pointerOver: {
|
|
2887
|
+
EventType: "PointerEvent",
|
|
2888
|
+
defaultInit: {
|
|
2889
|
+
bubbles: !0,
|
|
2890
|
+
cancelable: !0,
|
|
2891
|
+
composed: !0
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
pointerEnter: {
|
|
2895
|
+
EventType: "PointerEvent",
|
|
2896
|
+
defaultInit: {
|
|
2897
|
+
bubbles: !1,
|
|
2898
|
+
cancelable: !1
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
pointerDown: {
|
|
2902
|
+
EventType: "PointerEvent",
|
|
2903
|
+
defaultInit: {
|
|
2904
|
+
bubbles: !0,
|
|
2905
|
+
cancelable: !0,
|
|
2906
|
+
composed: !0
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
pointerMove: {
|
|
2910
|
+
EventType: "PointerEvent",
|
|
2911
|
+
defaultInit: {
|
|
2912
|
+
bubbles: !0,
|
|
2913
|
+
cancelable: !0,
|
|
2914
|
+
composed: !0
|
|
2915
|
+
}
|
|
2916
|
+
},
|
|
2917
|
+
pointerUp: {
|
|
2918
|
+
EventType: "PointerEvent",
|
|
2919
|
+
defaultInit: {
|
|
2920
|
+
bubbles: !0,
|
|
2921
|
+
cancelable: !0,
|
|
2922
|
+
composed: !0
|
|
2923
|
+
}
|
|
2924
|
+
},
|
|
2925
|
+
pointerCancel: {
|
|
2926
|
+
EventType: "PointerEvent",
|
|
2927
|
+
defaultInit: {
|
|
2928
|
+
bubbles: !0,
|
|
2929
|
+
cancelable: !1,
|
|
2930
|
+
composed: !0
|
|
2931
|
+
}
|
|
2932
|
+
},
|
|
2933
|
+
pointerOut: {
|
|
2934
|
+
EventType: "PointerEvent",
|
|
2935
|
+
defaultInit: {
|
|
2936
|
+
bubbles: !0,
|
|
2937
|
+
cancelable: !0,
|
|
2938
|
+
composed: !0
|
|
2939
|
+
}
|
|
2940
|
+
},
|
|
2941
|
+
pointerLeave: {
|
|
2942
|
+
EventType: "PointerEvent",
|
|
2943
|
+
defaultInit: {
|
|
2944
|
+
bubbles: !1,
|
|
2945
|
+
cancelable: !1
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
gotPointerCapture: {
|
|
2949
|
+
EventType: "PointerEvent",
|
|
2950
|
+
defaultInit: {
|
|
2951
|
+
bubbles: !0,
|
|
2952
|
+
cancelable: !1,
|
|
2953
|
+
composed: !0
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
lostPointerCapture: {
|
|
2957
|
+
EventType: "PointerEvent",
|
|
2958
|
+
defaultInit: {
|
|
2959
|
+
bubbles: !0,
|
|
2960
|
+
cancelable: !1,
|
|
2961
|
+
composed: !0
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
popState: {
|
|
2965
|
+
EventType: "PopStateEvent",
|
|
2966
|
+
defaultInit: {
|
|
2967
|
+
bubbles: !0,
|
|
2968
|
+
cancelable: !1
|
|
2969
|
+
}
|
|
2970
|
+
},
|
|
2971
|
+
offline: {
|
|
2972
|
+
EventType: "Event",
|
|
2973
|
+
defaultInit: {
|
|
2974
|
+
bubbles: !1,
|
|
2975
|
+
cancelable: !1
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
online: {
|
|
2979
|
+
EventType: "Event",
|
|
2980
|
+
defaultInit: {
|
|
2981
|
+
bubbles: !1,
|
|
2982
|
+
cancelable: !1
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
pageHide: {
|
|
2986
|
+
EventType: "PageTransitionEvent",
|
|
2987
|
+
defaultInit: {
|
|
2988
|
+
bubbles: !0,
|
|
2989
|
+
cancelable: !0
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
pageShow: {
|
|
2993
|
+
EventType: "PageTransitionEvent",
|
|
2994
|
+
defaultInit: {
|
|
2995
|
+
bubbles: !0,
|
|
2996
|
+
cancelable: !0
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
}, ni = { doubleClick: "dblClick" };
|
|
3000
|
+
function X(e, t) {
|
|
3001
|
+
return B().eventWrapper(() => {
|
|
3002
|
+
if (!t) throw Error("Unable to fire an event - please provide an event object.");
|
|
3003
|
+
if (!e) throw Error("Unable to fire a \"" + t.type + "\" event - please provide a DOM element.");
|
|
3004
|
+
return e.dispatchEvent(t);
|
|
3005
|
+
});
|
|
3006
|
+
}
|
|
3007
|
+
function ri(e, t, n, r) {
|
|
3008
|
+
let { EventType: i = "Event", defaultInit: a = {} } = r === void 0 ? {} : r;
|
|
3009
|
+
if (!t) throw Error("Unable to fire a \"" + e + "\" event - please provide a DOM element.");
|
|
3010
|
+
let o = {
|
|
3011
|
+
...a,
|
|
3012
|
+
...n
|
|
3013
|
+
}, { target: { value: s, files: c, ...l } = {} } = o;
|
|
3014
|
+
s !== void 0 && ii(t, s), c !== void 0 && Object.defineProperty(t, "files", {
|
|
3015
|
+
configurable: !0,
|
|
3016
|
+
enumerable: !0,
|
|
3017
|
+
writable: !0,
|
|
3018
|
+
value: c
|
|
3019
|
+
}), Object.assign(t, l);
|
|
3020
|
+
let u = Ot(t), d = u[i] || u.Event, f;
|
|
3021
|
+
/* istanbul ignore else */
|
|
3022
|
+
if (typeof d == "function") f = new d(e, o);
|
|
3023
|
+
else {
|
|
3024
|
+
f = u.document.createEvent(i);
|
|
3025
|
+
let { bubbles: t, cancelable: n, detail: r, ...a } = o;
|
|
3026
|
+
f.initEvent(e, t, n, r), Object.keys(a).forEach((e) => {
|
|
3027
|
+
f[e] = a[e];
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
3030
|
+
return ["dataTransfer", "clipboardData"].forEach((e) => {
|
|
3031
|
+
let t = o[e];
|
|
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
|
+
}), f;
|
|
3034
|
+
}
|
|
3035
|
+
Object.keys(ti).forEach((e) => {
|
|
3036
|
+
let { EventType: t, defaultInit: n } = ti[e], r = e.toLowerCase();
|
|
3037
|
+
ri[e] = (e, i) => ri(r, e, i, {
|
|
3038
|
+
EventType: t,
|
|
3039
|
+
defaultInit: n
|
|
3040
|
+
}), X[e] = (t, n) => X(t, ri[e](t, n));
|
|
3041
|
+
});
|
|
3042
|
+
function ii(e, t) {
|
|
3043
|
+
let { set: n } = Object.getOwnPropertyDescriptor(e, "value") || {}, { set: r } = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), "value") || {};
|
|
3044
|
+
if (r && n !== r) r.call(e, t);
|
|
3045
|
+
else if (n) n.call(e, t);
|
|
3046
|
+
else throw Error("The given element does not have a value setter");
|
|
3047
|
+
}
|
|
3048
|
+
Object.keys(ni).forEach((e) => {
|
|
3049
|
+
let t = ni[e];
|
|
3050
|
+
X[e] = function() {
|
|
3051
|
+
return X[t](...arguments);
|
|
3052
|
+
};
|
|
3053
|
+
});
|
|
3054
|
+
function ai(e) {
|
|
3055
|
+
return e.replace(/[ \t]*[\n][ \t]*/g, "\n");
|
|
3056
|
+
}
|
|
3057
|
+
function oi(e) {
|
|
3058
|
+
return et.default.compressToEncodedURIComponent(ai(e));
|
|
3059
|
+
}
|
|
3060
|
+
function si(e) {
|
|
3061
|
+
return "https://testing-playground.com/#markup=" + oi(e);
|
|
3062
|
+
}
|
|
3063
|
+
var ci = {
|
|
3064
|
+
debug: (e, t, n) => Array.isArray(e) ? e.forEach((e) => Pt(e, t, n)) : Pt(e, t, n),
|
|
3065
|
+
logTestingPlaygroundURL: function(e) {
|
|
3066
|
+
if (e === void 0 && (e = Dt().body), !e || !("innerHTML" in e)) {
|
|
3067
|
+
console.log("The element you're providing isn't a valid DOM element.");
|
|
3068
|
+
return;
|
|
3069
|
+
}
|
|
3070
|
+
if (!e.innerHTML) {
|
|
3071
|
+
console.log("The provided element doesn't have any children.");
|
|
3072
|
+
return;
|
|
3073
|
+
}
|
|
3074
|
+
let t = si(e.innerHTML);
|
|
3075
|
+
return console.log("Open this URL in your browser\n\n" + t), t;
|
|
3076
|
+
}
|
|
3077
|
+
}, li = typeof document < "u" && document.body ? ei(document.body, $r, ci) : Object.keys($r).reduce((e, t) => (e[t] = () => {
|
|
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), ci), ui = /* @__PURE__ */ e(r()), di = /* @__PURE__ */ e(i()), fi = typeof a.act == "function" ? a.act : ui.act;
|
|
3080
|
+
function pi() {
|
|
3081
|
+
/* istanbul ignore else */
|
|
3082
|
+
if (typeof globalThis < "u") return globalThis;
|
|
3083
|
+
/* istanbul ignore next */
|
|
3084
|
+
if (typeof self < "u") return self;
|
|
3085
|
+
/* istanbul ignore next */
|
|
3086
|
+
if (typeof window < "u") return window;
|
|
3087
|
+
/* istanbul ignore next */
|
|
3088
|
+
if (typeof global < "u") return global;
|
|
3089
|
+
/* istanbul ignore next */
|
|
3090
|
+
throw Error("unable to locate global object");
|
|
3091
|
+
}
|
|
3092
|
+
function Z(e) {
|
|
3093
|
+
pi().IS_REACT_ACT_ENVIRONMENT = e;
|
|
3094
|
+
}
|
|
3095
|
+
function mi() {
|
|
3096
|
+
return pi().IS_REACT_ACT_ENVIRONMENT;
|
|
3097
|
+
}
|
|
3098
|
+
function hi(e) {
|
|
3099
|
+
return (t) => {
|
|
3100
|
+
let n = mi();
|
|
3101
|
+
Z(!0);
|
|
3102
|
+
try {
|
|
3103
|
+
let r = !1, i = e(() => {
|
|
3104
|
+
let e = t();
|
|
3105
|
+
return typeof e == "object" && e && typeof e.then == "function" && (r = !0), e;
|
|
3106
|
+
});
|
|
3107
|
+
if (r) {
|
|
3108
|
+
let e = i;
|
|
3109
|
+
return { then: (t, r) => {
|
|
3110
|
+
e.then((e) => {
|
|
3111
|
+
Z(n), t(e);
|
|
3112
|
+
}, (e) => {
|
|
3113
|
+
Z(n), r(e);
|
|
3114
|
+
});
|
|
3115
|
+
} };
|
|
3116
|
+
} else return Z(n), i;
|
|
3117
|
+
} catch (e) {
|
|
3118
|
+
throw Z(n), e;
|
|
3119
|
+
}
|
|
3120
|
+
};
|
|
3121
|
+
}
|
|
3122
|
+
var Q = hi(fi), $ = (...e) => X(...e);
|
|
3123
|
+
Object.keys(X).forEach((e) => {
|
|
3124
|
+
$[e] = (...t) => X[e](...t);
|
|
3125
|
+
});
|
|
3126
|
+
var gi = $.mouseEnter, _i = $.mouseLeave;
|
|
3127
|
+
$.mouseEnter = (...e) => (gi(...e), $.mouseOver(...e)), $.mouseLeave = (...e) => (_i(...e), $.mouseOut(...e));
|
|
3128
|
+
var vi = $.pointerEnter, yi = $.pointerLeave;
|
|
3129
|
+
$.pointerEnter = (...e) => (vi(...e), $.pointerOver(...e)), $.pointerLeave = (...e) => (yi(...e), $.pointerOut(...e));
|
|
3130
|
+
var bi = $.select;
|
|
3131
|
+
$.select = (e, t) => {
|
|
3132
|
+
bi(e, t), e.focus(), $.keyUp(e, t);
|
|
3133
|
+
};
|
|
3134
|
+
var xi = $.blur, Si = $.focus;
|
|
3135
|
+
$.blur = (...e) => ($.focusOut(...e), xi(...e)), $.focus = (...e) => ($.focusIn(...e), Si(...e));
|
|
3136
|
+
var Ci = { reactStrictMode: !1 };
|
|
3137
|
+
function wi() {
|
|
3138
|
+
return {
|
|
3139
|
+
...B(),
|
|
3140
|
+
...Ci
|
|
3141
|
+
};
|
|
3142
|
+
}
|
|
3143
|
+
function Ti() {
|
|
3144
|
+
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
3145
|
+
}
|
|
3146
|
+
It({
|
|
3147
|
+
unstable_advanceTimersWrapper: (e) => Q(e),
|
|
3148
|
+
asyncWrapper: async (e) => {
|
|
3149
|
+
let t = mi();
|
|
3150
|
+
Z(!1);
|
|
3151
|
+
try {
|
|
3152
|
+
let t = await e();
|
|
3153
|
+
return await new Promise((e) => {
|
|
3154
|
+
setTimeout(() => {
|
|
3155
|
+
e();
|
|
3156
|
+
}, 0), Ti() && jest.advanceTimersByTime(0);
|
|
3157
|
+
}), t;
|
|
3158
|
+
} finally {
|
|
3159
|
+
Z(t);
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
eventWrapper: (e) => {
|
|
3163
|
+
let t;
|
|
3164
|
+
return Q(() => {
|
|
3165
|
+
t = e();
|
|
3166
|
+
}), t;
|
|
3167
|
+
}
|
|
3168
|
+
});
|
|
3169
|
+
var Ei = /* @__PURE__ */ new Set(), Di = [];
|
|
3170
|
+
function Oi(e, t) {
|
|
3171
|
+
return t ?? wi().reactStrictMode ? /* @__PURE__ */ a.createElement(a.StrictMode, null, e) : e;
|
|
3172
|
+
}
|
|
3173
|
+
function ki(e, t) {
|
|
3174
|
+
return t ? /* @__PURE__ */ a.createElement(t, null, e) : e;
|
|
3175
|
+
}
|
|
3176
|
+
function Ai(e, { hydrate: t, onCaughtError: n, onRecoverableError: r, ui: i, wrapper: a, reactStrictMode: o }) {
|
|
3177
|
+
let s;
|
|
3178
|
+
return t ? Q(() => {
|
|
3179
|
+
s = di.hydrateRoot(e, Oi(ki(i, a), o), {
|
|
3180
|
+
onCaughtError: n,
|
|
3181
|
+
onRecoverableError: r
|
|
3182
|
+
});
|
|
3183
|
+
}) : s = di.createRoot(e, {
|
|
3184
|
+
onCaughtError: n,
|
|
3185
|
+
onRecoverableError: r
|
|
3186
|
+
}), {
|
|
3187
|
+
hydrate() {
|
|
3188
|
+
/* istanbul ignore if */
|
|
3189
|
+
if (!t) throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.");
|
|
3190
|
+
},
|
|
3191
|
+
render(e) {
|
|
3192
|
+
s.render(e);
|
|
3193
|
+
},
|
|
3194
|
+
unmount() {
|
|
3195
|
+
s.unmount();
|
|
3196
|
+
}
|
|
3197
|
+
};
|
|
3198
|
+
}
|
|
3199
|
+
function ji(e) {
|
|
3200
|
+
return {
|
|
3201
|
+
hydrate(t) {
|
|
3202
|
+
o.hydrate(t, e);
|
|
3203
|
+
},
|
|
3204
|
+
render(t) {
|
|
3205
|
+
o.render(t, e);
|
|
3206
|
+
},
|
|
3207
|
+
unmount() {
|
|
3208
|
+
o.unmountComponentAtNode(e);
|
|
3209
|
+
}
|
|
3210
|
+
};
|
|
3211
|
+
}
|
|
3212
|
+
function Mi(e, { baseElement: t, container: n, hydrate: r, queries: i, root: a, wrapper: o, reactStrictMode: s }) {
|
|
3213
|
+
return Q(() => {
|
|
3214
|
+
r ? a.hydrate(Oi(ki(e, o), s), n) : a.render(Oi(ki(e, o), s), n);
|
|
3215
|
+
}), {
|
|
3216
|
+
container: n,
|
|
3217
|
+
baseElement: t,
|
|
3218
|
+
debug: (e = t, n, r) => Array.isArray(e) ? e.forEach((e) => console.log(R(e, n, r))) : console.log(R(e, n, r)),
|
|
3219
|
+
unmount: () => {
|
|
3220
|
+
Q(() => {
|
|
3221
|
+
a.unmount();
|
|
3222
|
+
});
|
|
3223
|
+
},
|
|
3224
|
+
rerender: (e) => {
|
|
3225
|
+
Mi(e, {
|
|
3226
|
+
container: n,
|
|
3227
|
+
baseElement: t,
|
|
3228
|
+
root: a,
|
|
3229
|
+
wrapper: o,
|
|
3230
|
+
reactStrictMode: s
|
|
3231
|
+
});
|
|
3232
|
+
},
|
|
3233
|
+
asFragment: () => {
|
|
3234
|
+
/* istanbul ignore else (old jsdom limitation) */
|
|
3235
|
+
if (typeof document.createRange == "function") return document.createRange().createContextualFragment(n.innerHTML);
|
|
3236
|
+
{
|
|
3237
|
+
let e = document.createElement("template");
|
|
3238
|
+
return e.innerHTML = n.innerHTML, e.content;
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
...ei(t, i)
|
|
3242
|
+
};
|
|
3243
|
+
}
|
|
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 } = {}) {
|
|
3245
|
+
if (a !== void 0) throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");
|
|
3246
|
+
if (r && typeof o.render != "function") {
|
|
3247
|
+
let e = /* @__PURE__ */ Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");
|
|
3248
|
+
throw Error.captureStackTrace(e, Ni), e;
|
|
3249
|
+
}
|
|
3250
|
+
n ||= document.body, t ||= n.appendChild(document.createElement("div"));
|
|
3251
|
+
let f;
|
|
3252
|
+
return Ei.has(t) ? Di.forEach((e) => {
|
|
3253
|
+
/* istanbul ignore else */
|
|
3254
|
+
e.container === t && (f = e.root);
|
|
3255
|
+
}) : (f = (r ? ji : Ai)(t, {
|
|
3256
|
+
hydrate: l,
|
|
3257
|
+
onCaughtError: i,
|
|
3258
|
+
onRecoverableError: s,
|
|
3259
|
+
ui: e,
|
|
3260
|
+
wrapper: u,
|
|
3261
|
+
reactStrictMode: d
|
|
3262
|
+
}), Di.push({
|
|
3263
|
+
container: t,
|
|
3264
|
+
root: f
|
|
3265
|
+
}), Ei.add(t)), Mi(e, {
|
|
3266
|
+
container: t,
|
|
3267
|
+
baseElement: n,
|
|
3268
|
+
queries: c,
|
|
3269
|
+
hydrate: l,
|
|
3270
|
+
wrapper: u,
|
|
3271
|
+
root: f,
|
|
3272
|
+
reactStrictMode: d
|
|
3273
|
+
});
|
|
3274
|
+
}
|
|
3275
|
+
function Pi() {
|
|
3276
|
+
Di.forEach(({ root: e, container: t }) => {
|
|
3277
|
+
Q(() => {
|
|
3278
|
+
e.unmount();
|
|
3279
|
+
}), t.parentNode === document.body && document.body.removeChild(t);
|
|
3280
|
+
}), Di.length = 0, Ei.clear();
|
|
3281
|
+
}
|
|
3282
|
+
if ((typeof process > "u" || !process.env?.RTL_SKIP_AUTO_CLEANUP) && (typeof afterEach == "function" ? afterEach(() => {
|
|
3283
|
+
Pi();
|
|
3284
|
+
}) : typeof teardown == "function" && teardown(() => {
|
|
3285
|
+
Pi();
|
|
3286
|
+
}), typeof beforeAll == "function" && typeof afterAll == "function")) {
|
|
3287
|
+
let e = mi();
|
|
3288
|
+
beforeAll(() => {
|
|
3289
|
+
e = mi(), Z(!0);
|
|
3290
|
+
}), afterAll(() => {
|
|
3291
|
+
Z(e);
|
|
3292
|
+
});
|
|
3293
|
+
}
|
|
3294
|
+
//#endregion
|
|
3295
|
+
export { yn as a, li as i, Ni as n, B as r, $ as t };
|
|
3296
|
+
|
|
3297
|
+
//# sourceMappingURL=react.esm-CzIhAqlo.js.map
|