@uva-glass/component-library 3.56.0 → 3.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-DaCqVof1.js → Accordion-DQNoRsg_.js} +2 -2
- package/dist/{Accordion-DaCqVof1.js.map → Accordion-DQNoRsg_.js.map} +1 -1
- package/dist/{AccordionCard-CD5H9gR1.js → AccordionCard-C4k8EI39.js} +2 -2
- package/dist/{AccordionCard-CD5H9gR1.js.map → AccordionCard-C4k8EI39.js.map} +1 -1
- package/dist/{ActionList-C0hD9noC.js → ActionList-D2GC2qPX.js} +2 -2
- package/dist/{ActionList-C0hD9noC.js.map → ActionList-D2GC2qPX.js.map} +1 -1
- package/dist/{AddCatalogueLinkForm-DNv2tEdF.js → AddCatalogueLinkForm-Di0xm7Ep.js} +5 -5
- package/dist/{AddCatalogueLinkForm-DNv2tEdF.js.map → AddCatalogueLinkForm-Di0xm7Ep.js.map} +1 -1
- package/dist/{AppStatusBar-BK0yaC4G.js → AppStatusBar-DW-w7Nzp.js} +2 -2
- package/dist/{AppStatusBar-BK0yaC4G.js.map → AppStatusBar-DW-w7Nzp.js.map} +1 -1
- package/dist/{ButtonGroup-ZqGGZ1rz.js → ButtonGroup-D2z5UWTR.js} +2 -2
- package/dist/{ButtonGroup-ZqGGZ1rz.js.map → ButtonGroup-D2z5UWTR.js.map} +1 -1
- package/dist/{Card-BH1ySOiP.js → Card-DENYj3eR.js} +3 -3
- package/dist/{Card-BH1ySOiP.js.map → Card-DENYj3eR.js.map} +1 -1
- package/dist/{CheckboxButtonBar-DpNnwLzI.js → CheckboxButtonBar-OrJSqUTN.js} +5 -5
- package/dist/{CheckboxButtonBar-DpNnwLzI.js.map → CheckboxButtonBar-OrJSqUTN.js.map} +1 -1
- package/dist/{Column-BwCVSZrG.js → Column-jJBZgP8m.js} +2 -2
- package/dist/{Column-BwCVSZrG.js.map → Column-jJBZgP8m.js.map} +1 -1
- package/dist/{Container-DK25h_-f.js → Container-DOcrVe7u.js} +2 -2
- package/dist/{Container-DK25h_-f.js.map → Container-DOcrVe7u.js.map} +1 -1
- package/dist/{ControlsButton-9uR_zW_F.js → ControlsButton-Byx4XQtB.js} +2 -2
- package/dist/{ControlsButton-9uR_zW_F.js.map → ControlsButton-Byx4XQtB.js.map} +1 -1
- package/dist/{CopyableText-hSqhyUWx.js → CopyableText-BKsM-TuS.js} +2 -2
- package/dist/{CopyableText-hSqhyUWx.js.map → CopyableText-BKsM-TuS.js.map} +1 -1
- package/dist/{DataTable-C46IkAmF.js → DataTable-Cgn_RKTA.js} +2 -2
- package/dist/{DataTable-C46IkAmF.js.map → DataTable-Cgn_RKTA.js.map} +1 -1
- package/dist/{Drawer-BbVJqFQI.js → Drawer-fUw0LEuj.js} +3 -3
- package/dist/{Drawer-BbVJqFQI.js.map → Drawer-fUw0LEuj.js.map} +1 -1
- package/dist/{EmptyStateDataDisplay-IT2P3ius.js → EmptyStateDataDisplay-FBDAGO88.js} +2 -2
- package/dist/{EmptyStateDataDisplay-IT2P3ius.js.map → EmptyStateDataDisplay-FBDAGO88.js.map} +1 -1
- package/dist/{ExpandableInfoPanel-DMfcJFP3.js → ExpandableInfoPanel-BmbgbAjf.js} +2 -2
- package/dist/{ExpandableInfoPanel-DMfcJFP3.js.map → ExpandableInfoPanel-BmbgbAjf.js.map} +1 -1
- package/dist/{FeedbackBar-DRbJVniP.js → FeedbackBar-DEDpoNy7.js} +3 -3
- package/dist/{FeedbackBar-DRbJVniP.js.map → FeedbackBar-DEDpoNy7.js.map} +1 -1
- package/dist/{FeedbackBox-CaSxB4uc.js → FeedbackBox-BpOf_dxg.js} +2 -2
- package/dist/{FeedbackBox-CaSxB4uc.js.map → FeedbackBox-BpOf_dxg.js.map} +1 -1
- package/dist/{Fieldset-D01_rj_p.js → Fieldset-CgnLyAyS.js} +2 -2
- package/dist/{Fieldset-D01_rj_p.js.map → Fieldset-CgnLyAyS.js.map} +1 -1
- package/dist/{FormField-CcV84TfI.js → FormField-ByjTkKKq.js} +2 -2
- package/dist/{FormField-CcV84TfI.js.map → FormField-ByjTkKKq.js.map} +1 -1
- package/dist/{IconButton-CSNMVEG1.js → IconButton-BZVNomru.js} +2 -2
- package/dist/{IconButton-CSNMVEG1.js.map → IconButton-BZVNomru.js.map} +1 -1
- package/dist/{InfoMessage-COywXu4O.js → InfoMessage-CCEg222m.js} +2 -2
- package/dist/{InfoMessage-COywXu4O.js.map → InfoMessage-CCEg222m.js.map} +1 -1
- package/dist/{Input-BzKvzbzP.js → Input-CF3dxqTC.js} +2 -2
- package/dist/{Input-BzKvzbzP.js.map → Input-CF3dxqTC.js.map} +1 -1
- package/dist/{InputField-T01uazlI.js → InputField-asFsxHvx.js} +2 -2
- package/dist/{InputField-T01uazlI.js.map → InputField-asFsxHvx.js.map} +1 -1
- package/dist/{Label-D0ACrYG3.js → Label-52ny6d06.js} +2 -2
- package/dist/{Label-D0ACrYG3.js.map → Label-52ny6d06.js.map} +1 -1
- package/dist/{Lexical.prod-8zZnpGo4.js → Lexical.prod-nAj5fF96.js} +2200 -1708
- package/dist/Lexical.prod-nAj5fF96.js.map +1 -0
- package/dist/LexicalClipboard.prod-B9sWgdS2.js +348 -0
- package/dist/LexicalClipboard.prod-B9sWgdS2.js.map +1 -0
- package/dist/{LexicalComposerContext.prod-y_BRxu3Z.js → LexicalComposerContext.prod-DumMmRBt.js} +2 -2
- package/dist/LexicalComposerContext.prod-DumMmRBt.js.map +1 -0
- package/dist/LexicalHtml.prod-RCMsF0qt.js +2139 -0
- package/dist/LexicalHtml.prod-RCMsF0qt.js.map +1 -0
- package/dist/{LexicalLink.prod-BVUv9-sZ.js → LexicalLink.prod-BcBNTFEb.js} +212 -195
- package/dist/LexicalLink.prod-BcBNTFEb.js.map +1 -0
- package/dist/LexicalList.prod-THQt9B32.js +890 -0
- package/dist/LexicalList.prod-THQt9B32.js.map +1 -0
- package/dist/{LexicalTable.prod-D_9Dr3kL.js → LexicalTable.prod-BpHQYpBM.js} +691 -608
- package/dist/LexicalTable.prod-BpHQYpBM.js.map +1 -0
- package/dist/LexicalUtils.prod-7S6iuu9A.js +347 -0
- package/dist/LexicalUtils.prod-7S6iuu9A.js.map +1 -0
- package/dist/{LinkContextMenu-CTu2nP2j.js → LinkContextMenu-Byu3AEqp.js} +2 -2
- package/dist/{LinkContextMenu-CTu2nP2j.js.map → LinkContextMenu-Byu3AEqp.js.map} +1 -1
- package/dist/{MenuLink-La_3ANEL.js → MenuLink-sK2_W2zs.js} +2 -2
- package/dist/{MenuLink-La_3ANEL.js.map → MenuLink-sK2_W2zs.js.map} +1 -1
- package/dist/{ModalDialog-J7xcPcnS.js → ModalDialog-4V70sxK_.js} +3 -3
- package/dist/{ModalDialog-J7xcPcnS.js.map → ModalDialog-4V70sxK_.js.map} +1 -1
- package/dist/{MultiSelectBox-BmBxa6PH.js → MultiSelectBox-D34qAgzc.js} +2 -2
- package/dist/{MultiSelectBox-BmBxa6PH.js.map → MultiSelectBox-D34qAgzc.js.map} +1 -1
- package/dist/{MultiSelectItem-6d8kQgFs.js → MultiSelectItem-hx3Y4Lmk.js} +2 -2
- package/dist/{MultiSelectItem-6d8kQgFs.js.map → MultiSelectItem-hx3Y4Lmk.js.map} +1 -1
- package/dist/{Notification-BAqCenxt.js → Notification-BhqWENfu.js} +2 -2
- package/dist/{Notification-BAqCenxt.js.map → Notification-BhqWENfu.js.map} +1 -1
- package/dist/{OverlayCloseButton-j-7mC4Zz.js → OverlayCloseButton-Dt6Yec8G.js} +2 -2
- package/dist/{OverlayCloseButton-j-7mC4Zz.js.map → OverlayCloseButton-Dt6Yec8G.js.map} +1 -1
- package/dist/{OverlayStepBar-Cj_-0waE.js → OverlayStepBar-BiC06Itd.js} +2 -2
- package/dist/{OverlayStepBar-Cj_-0waE.js.map → OverlayStepBar-BiC06Itd.js.map} +1 -1
- package/dist/{PageOverlay-DqwdG5ve.js → PageOverlay-BR9ypiar.js} +3 -3
- package/dist/{PageOverlay-DqwdG5ve.js.map → PageOverlay-BR9ypiar.js.map} +1 -1
- package/dist/{PasteHandlerPlugin-Bc6n-G35.js → PasteHandlerPlugin-DyTXcFsj.js} +6 -6
- package/dist/{PasteHandlerPlugin-Bc6n-G35.js.map → PasteHandlerPlugin-DyTXcFsj.js.map} +1 -1
- package/dist/{Periods-C5cxLlWt.js → Periods-B4ms3N24.js} +2 -2
- package/dist/{Periods-C5cxLlWt.js.map → Periods-B4ms3N24.js.map} +1 -1
- package/dist/{ProgrammeCard-CAAOSWKa.js → ProgrammeCard-DdCFNx0d.js} +2 -2
- package/dist/{ProgrammeCard-CAAOSWKa.js.map → ProgrammeCard-DdCFNx0d.js.map} +1 -1
- package/dist/{RadioButton-CKALsbBb.js → RadioButton-DmBpXwIS.js} +2 -2
- package/dist/{RadioButton-CKALsbBb.js.map → RadioButton-DmBpXwIS.js.map} +1 -1
- package/dist/{RadioGroup-DhnnBRJu.js → RadioGroup-DlQjMmpa.js} +3 -3
- package/dist/{RadioGroup-DhnnBRJu.js.map → RadioGroup-DlQjMmpa.js.map} +1 -1
- package/dist/{Repeater-Bnoqqz0X.js → Repeater-BAEfOMZI.js} +2 -2
- package/dist/{Repeater-Bnoqqz0X.js.map → Repeater-BAEfOMZI.js.map} +1 -1
- package/dist/{SectionNotification-BT0Z2edJ.js → SectionNotification-CN-NdGL8.js} +2 -2
- package/dist/{SectionNotification-BT0Z2edJ.js.map → SectionNotification-CN-NdGL8.js.map} +1 -1
- package/dist/{Slider-dCmT0VM2.js → Slider-Czd2xAGf.js} +2 -2
- package/dist/{Slider-dCmT0VM2.js.map → Slider-Czd2xAGf.js.map} +1 -1
- package/dist/{SortableProvider-DV6gWmq_.js → SortableProvider-D-6Ttz0h.js} +2 -2
- package/dist/{SortableProvider-DV6gWmq_.js.map → SortableProvider-D-6Ttz0h.js.map} +1 -1
- package/dist/{StatusBage-CfEIuIPa.js → StatusBage-hJmNPqtk.js} +2 -2
- package/dist/{StatusBage-CfEIuIPa.js.map → StatusBage-hJmNPqtk.js.map} +1 -1
- package/dist/{StatusPill-CbJV4t-V.js → StatusPill-vdqU92pW.js} +2 -2
- package/dist/{StatusPill-CbJV4t-V.js.map → StatusPill-vdqU92pW.js.map} +1 -1
- package/dist/{TableCellContextMenu-9V8mnPmU.js → TableCellContextMenu--4IdoKAU.js} +3 -3
- package/dist/{TableCellContextMenu-9V8mnPmU.js.map → TableCellContextMenu--4IdoKAU.js.map} +1 -1
- package/dist/TableCellResizerPlugin-Dn8Ks2Lm.js +208 -0
- package/dist/TableCellResizerPlugin-Dn8Ks2Lm.js.map +1 -0
- package/dist/{TextArea-GR2ZWwLh.js → TextArea-D_VoyGIO.js} +2 -2
- package/dist/{TextArea-GR2ZWwLh.js.map → TextArea-D_VoyGIO.js.map} +1 -1
- package/dist/{ToggleSwitch-b54K58vY.js → ToggleSwitch-ev4Jh4y-.js} +2 -2
- package/dist/{ToggleSwitch-b54K58vY.js.map → ToggleSwitch-ev4Jh4y-.js.map} +1 -1
- package/dist/{VarIndicator-DoMWwSUm.js → VarIndicator-D0cnlcIf.js} +2 -2
- package/dist/{VarIndicator-DoMWwSUm.js.map → VarIndicator-D0cnlcIf.js.map} +1 -1
- package/dist/{chunk-FON5IJBZ-BBb6rYhU.js → chunk-5WKL7XVT-3IraU-Ja.js} +19 -24
- package/dist/chunk-5WKL7XVT-3IraU-Ja.js.map +1 -0
- package/dist/{client-DJaPTT6C.js → client-BcEWjSJP.js} +2 -2
- package/dist/client-BcEWjSJP.js.map +1 -0
- package/dist/{clsx-BWCAbrjV.js → clsx-C67XSbzZ.js} +2 -2
- package/dist/clsx-C67XSbzZ.js.map +1 -0
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.stories.js +2 -2
- package/dist/components/Accordion/Accordion.test.js +4 -4
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AccordionCard/AccordionCard.js +1 -1
- package/dist/components/AccordionCard/AccordionCard.stories.js +2 -2
- package/dist/components/AccordionCard/AccordionCard.test.js +4 -4
- package/dist/components/AccordionCard/index.js +1 -1
- package/dist/components/ActionList/ActionList.js +1 -1
- package/dist/components/ActionList/ActionList.stories.js +1 -1
- package/dist/components/ActionList/ActionList.test.js +4 -4
- package/dist/components/ActionList/index.js +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.js +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.stories.js +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +3 -3
- package/dist/components/AppStatusBar/index.js +1 -1
- package/dist/components/Attention/Attention.test.js +2 -2
- package/dist/components/Backdrop/Backdrop.stories.js +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.js +2 -2
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Buttons/Button.js +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.test.js +2 -2
- package/dist/components/Buttons/LinkButton.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +2 -2
- package/dist/components/Buttons/MenuButton.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.test.js +2 -2
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Card/Card.stories.js +1 -1
- package/dist/components/Card/Card.test.js +3 -3
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +3 -3
- package/dist/components/Checkbox/Checkbox.test.js +3 -3
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +3 -3
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -3
- package/dist/components/CheckboxButtonBar/index.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -3
- package/dist/components/CheckboxTree/index.js +1 -1
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.stories.js +3 -3
- package/dist/components/ControlsButton/index.js +1 -1
- package/dist/components/CopyableText/CopyableText.js +1 -1
- package/dist/components/CopyableText/CopyableText.stories.js +1 -1
- package/dist/components/CopyableText/index.js +1 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DataTable/DataTable.stories.js +1 -1
- package/dist/components/DataTable/index.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +3 -3
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +1 -1
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js +1 -1
- package/dist/components/EmptyStateDataDisplay/index.js +1 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +1 -1
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +2 -2
- package/dist/components/ExpandableInfoPanel/index.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +3 -3
- package/dist/components/FeedbackBar/FeedbackBar.test.js +3 -3
- package/dist/components/FeedbackBar/index.js +1 -1
- package/dist/components/FeedbackBox/FeedbackBox.js +1 -1
- package/dist/components/FeedbackBox/FeedbackBox.stories.js +3 -3
- package/dist/components/FeedbackBox/index.js +1 -1
- package/dist/components/Fieldset/Fieldset.js +1 -1
- package/dist/components/Fieldset/Fieldset.stories.js +5 -5
- package/dist/components/Fieldset/index.js +1 -1
- package/dist/components/FormField/FormField.js +1 -1
- package/dist/components/FormField/FormField.stories.js +4 -4
- package/dist/components/FormField/index.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -1
- package/dist/components/FormInput/FormInput.stories.js +2 -2
- package/dist/components/FormInput/index.js +1 -1
- package/dist/components/GridRow/Column/Column.js +1 -1
- package/dist/components/GridRow/Column/index.js +1 -1
- package/dist/components/GridRow/GridRow.js +2 -2
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +2 -2
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/InfoMessage/InfoMessage.js +1 -1
- package/dist/components/InfoMessage/InfoMessage.stories.js +1 -1
- package/dist/components/InfoMessage/index.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.stories.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputField/InputField.js +1 -1
- package/dist/components/InputField/InputField.stories.js +3 -3
- package/dist/components/InputField/index.js +1 -1
- package/dist/components/Label/Label.js +1 -1
- package/dist/components/Label/Label.stories.js +1 -1
- package/dist/components/Label/Label.test.js +3 -3
- package/dist/components/Label/index.js +1 -1
- package/dist/components/MenuLink/MenuLink.js +1 -1
- package/dist/components/MenuLink/MenuLink.stories.js +1 -1
- package/dist/components/MenuLink/index.js +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
- package/dist/components/MetaDataList/MetaDataList.stories.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +6 -6
- package/dist/components/ModalDialog/index.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +3 -3
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectItem.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +2 -2
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +3 -3
- package/dist/components/MultiSelectBox/index.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/Notification.stories.js +2 -2
- package/dist/components/Notification/Notification.test.js +3 -3
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +3 -3
- package/dist/components/OverlayCloseButton/index.js +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.stories.js +1 -1
- package/dist/components/OverlayStepBar/index.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js +6 -6
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/PageOverlay/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -2
- package/dist/components/PeriodSelector/index.js +1 -1
- package/dist/components/Periods/Periods.js +1 -1
- package/dist/components/Periods/Periods.stories.js +1 -1
- package/dist/components/Periods/index.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
- package/dist/components/ProgrammeCard/index.js +1 -1
- package/dist/components/RadioButton/RadioButton.js +1 -1
- package/dist/components/RadioButton/RadioButton.stories.js +1 -1
- package/dist/components/RadioButton/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +2 -2
- package/dist/components/RadioGroup/Radiogroup.test.js +3 -3
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -2
- package/dist/components/RadioTabSelector/index.js +1 -1
- package/dist/components/Repeater/Repeater.js +1 -1
- package/dist/components/Repeater/Repeater.stories.js +2 -2
- package/dist/components/Repeater/index.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/EditorHeader/index.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +5 -5
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +37 -37
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +15 -15
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +30 -30
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +2 -2
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/index.js +4 -4
- package/dist/components/RteEditor/RteEditor.js +1 -1
- package/dist/components/RteEditor/RteEditor.stories.js +2 -2
- package/dist/components/RteEditor/helpers.js +4 -4
- package/dist/components/RteEditor/index.js +1 -1
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +18 -18
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +17 -17
- package/dist/components/SearchField/SearchField.js +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +1 -1
- package/dist/components/SectionNotification/SectionNotification.stories.js +1 -1
- package/dist/components/SectionNotification/index.js +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.stories.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +2 -2
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +2 -2
- package/dist/components/StatusBadge/StatusBadge.stories.js +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +3 -3
- package/dist/components/StatusBadge/StatusBage.js +1 -1
- package/dist/components/StatusBadge/index.js +1 -1
- package/dist/components/StatusPill/StatusPill.js +1 -1
- package/dist/components/StatusPill/StatusPill.stories.js +2 -2
- package/dist/components/StatusPill/index.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +2 -2
- package/dist/components/TextArea/TextArea.test.js +4 -4
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +2 -2
- package/dist/components/ToggleSwitch/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +2 -2
- package/dist/components/VarIndicator/VarIndicator.test.js +4 -4
- package/dist/components/VarIndicator/index.js +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.js +1 -1
- package/dist/components/index.js +42 -42
- package/dist/components-KU0q76JR.js +2150 -0
- package/dist/components-KU0q76JR.js.map +1 -0
- package/dist/{lib-Do6N-CJR.js → dist-C6Ar8a59.js} +2799 -714
- package/dist/dist-C6Ar8a59.js.map +1 -0
- package/dist/{esm-BJhEQquH.js → esm-B6Pg-v2v.js} +89 -89
- package/dist/esm-B6Pg-v2v.js.map +1 -0
- package/dist/{helpers-z8cqBNoz.js → helpers-BzYayeT-.js} +9 -9
- package/dist/helpers-BzYayeT-.js.map +1 -0
- package/dist/index.js +42 -42
- package/dist/{react-18-BAudFSEM.js → react-18-DbbN8Pdb.js} +3 -3
- package/dist/react-18-DbbN8Pdb.js.map +1 -0
- package/dist/react.esm-56DGmlLk.js +8884 -0
- package/dist/react.esm-56DGmlLk.js.map +1 -0
- package/dist/setupTests.js +6 -1196
- package/dist/setupTests.js.map +1 -1
- package/dist/storyComponents/Container/Container.js +1 -1
- package/dist/storyComponents/Container/index.js +1 -1
- package/dist/storybook__react.d.js +17 -17
- package/dist/storybook__react.d.js.map +1 -1
- package/dist/{test-Bd7kXF_B.js → test-WxLxsxwA.js} +56 -57
- package/dist/test-WxLxsxwA.js.map +1 -0
- package/dist/{test-utils-DcI4ZXle.js → test-utils-CMrZ33U0.js} +2 -2
- package/dist/test-utils-CMrZ33U0.js.map +1 -0
- package/package.json +38 -25
- package/dist/Lexical.prod-8zZnpGo4.js.map +0 -1
- package/dist/LexicalClipboard.prod-hbxbsROy.js +0 -651
- package/dist/LexicalClipboard.prod-hbxbsROy.js.map +0 -1
- package/dist/LexicalComposerContext.prod-y_BRxu3Z.js.map +0 -1
- package/dist/LexicalExtension.prod-v8IpET5E.js +0 -913
- package/dist/LexicalExtension.prod-v8IpET5E.js.map +0 -1
- package/dist/LexicalLink.prod-BVUv9-sZ.js.map +0 -1
- package/dist/LexicalList.prod-CCPDDafy.js +0 -806
- package/dist/LexicalList.prod-CCPDDafy.js.map +0 -1
- package/dist/LexicalTable.prod-D_9Dr3kL.js.map +0 -1
- package/dist/LexicalUtils.prod-BWhWP8es.js +0 -343
- package/dist/LexicalUtils.prod-BWhWP8es.js.map +0 -1
- package/dist/TableCellResizerPlugin-Djym940U.js +0 -208
- package/dist/TableCellResizerPlugin-Djym940U.js.map +0 -1
- package/dist/chunk-FON5IJBZ-BBb6rYhU.js.map +0 -1
- package/dist/client-DJaPTT6C.js.map +0 -1
- package/dist/clsx-BWCAbrjV.js.map +0 -1
- package/dist/components-D6_Sx8Hs.js +0 -1995
- package/dist/components-D6_Sx8Hs.js.map +0 -1
- package/dist/dist-Dlg0QxSO.js +0 -2225
- package/dist/dist-Dlg0QxSO.js.map +0 -1
- package/dist/esm-BJhEQquH.js.map +0 -1
- package/dist/helpers-z8cqBNoz.js.map +0 -1
- package/dist/lib-Do6N-CJR.js.map +0 -1
- package/dist/react-18-BAudFSEM.js.map +0 -1
- package/dist/react.esm-GvSawg5E.js +0 -3297
- package/dist/react.esm-GvSawg5E.js.map +0 -1
- package/dist/test-Bd7kXF_B.js.map +0 -1
- package/dist/test-utils-DcI4ZXle.js.map +0 -1
|
@@ -1,3297 +0,0 @@
|
|
|
1
|
-
import { i as e, t } from "./chunk-CWhphoD1.js";
|
|
2
|
-
import { t as n } from "./lib-Do6N-CJR.js";
|
|
3
|
-
import { t as r } from "./test-utils-DcI4ZXle.js";
|
|
4
|
-
import { t as i } from "./client-DJaPTT6C.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 + " [" + (0, t.printListItems)(e.sample, n, r, i, o, s) + "]" : c === "ObjectContaining" || c === "ObjectNotContaining" ? ++i > n.maxDepth ? "[" + c + "]" : c + " {" + (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 = (e, n, r, i, a, o, s) => ++i > n.maxDepth ? p(f(s)) : f(s) + " {" + (0, t.printIteratorEntries)(e.entries(), n, r, i, a, o) + "}";
|
|
303
|
-
function g(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 _ = (e, n, r, i, a, o) => {
|
|
320
|
-
let s = f(e._name || "Record");
|
|
321
|
-
return ++i > n.maxDepth ? p(s) : s + " {" + (0, t.printIteratorEntries)(g(e), n, r, i, a, o) + "}";
|
|
322
|
-
}, v = (e, n, r, a, o, s) => {
|
|
323
|
-
let c = f("Seq");
|
|
324
|
-
return ++a > n.maxDepth ? p(c) : e[i] ? c + " {" + (e._iter || e._object ? (0, t.printIteratorEntries)(e.entries(), n, r, a, o, s) : m) + "}" : c + " [" + (e._iter || e._array || e._collection || e._iterable ? (0, t.printIteratorValues)(e.values(), n, r, a, o, s) : m) + "]";
|
|
325
|
-
}, y = (e, n, r, i, a, o, s) => ++i > n.maxDepth ? p(f(s)) : f(s) + " [" + (0, t.printIteratorValues)(e.values(), n, r, i, a, o) + "]", b = (e, t, n, i, s, c) => e[a] ? h(e, t, n, i, s, c, e[o] ? "OrderedMap" : "Map") : e[r] ? y(e, t, n, i, s, c, "List") : e[u] ? y(e, t, n, i, s, c, e[o] ? "OrderedSet" : "Set") : e[d] ? y(e, t, n, i, s, c, "Stack") : e[l] ? v(e, t, n, i, s, c) : _(e, t, n, i, s, c);
|
|
326
|
-
e.serialize = b;
|
|
327
|
-
var x = (e) => e && (e[n] === !0 || e[s] === !0);
|
|
328
|
-
e.test = x, e.default = {
|
|
329
|
-
serialize: b,
|
|
330
|
-
test: x
|
|
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, ee = c, S = r, C = f, te = d, ne = n, re = a, ie = i, ae = l;
|
|
362
|
-
e.ContextConsumer = s, e.ContextProvider = b, e.Element = x, e.ForwardRef = ee, e.Fragment = S, e.Lazy = C, e.Memo = te, e.Portal = ne, e.Profiler = re, e.StrictMode = ie, e.Suspense = ae, 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 ee = s, S = o, C = t, te = c, ne = r, re = f, ie = d, ae = n, oe = a, w = i, T = 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 le(e) {
|
|
437
|
-
return x(e) === s;
|
|
438
|
-
}
|
|
439
|
-
function ue(e) {
|
|
440
|
-
return x(e) === o;
|
|
441
|
-
}
|
|
442
|
-
function de(e) {
|
|
443
|
-
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
444
|
-
}
|
|
445
|
-
function O(e) {
|
|
446
|
-
return x(e) === c;
|
|
447
|
-
}
|
|
448
|
-
function k(e) {
|
|
449
|
-
return x(e) === r;
|
|
450
|
-
}
|
|
451
|
-
function fe(e) {
|
|
452
|
-
return x(e) === f;
|
|
453
|
-
}
|
|
454
|
-
function A(e) {
|
|
455
|
-
return x(e) === d;
|
|
456
|
-
}
|
|
457
|
-
function pe(e) {
|
|
458
|
-
return x(e) === n;
|
|
459
|
-
}
|
|
460
|
-
function me(e) {
|
|
461
|
-
return x(e) === a;
|
|
462
|
-
}
|
|
463
|
-
function he(e) {
|
|
464
|
-
return x(e) === i;
|
|
465
|
-
}
|
|
466
|
-
function ge(e) {
|
|
467
|
-
return x(e) === l;
|
|
468
|
-
}
|
|
469
|
-
e.ContextConsumer = ee, e.ContextProvider = S, e.Element = C, e.ForwardRef = te, e.Fragment = ne, e.Lazy = re, e.Memo = ie, e.Portal = ae, e.Profiler = oe, e.StrictMode = w, e.Suspense = T, e.isAsyncMode = se, e.isConcurrentMode = ce, e.isContextConsumer = le, e.isContextProvider = ue, e.isElement = de, e.isForwardRef = O, e.isFragment = k, e.isLazy = fe, e.isMemo = A, e.isPortal = pe, e.isProfiler = me, e.isStrictMode = he, e.isSuspense = ge, e.isValidElementType = b, e.typeOf = x;
|
|
470
|
-
})();
|
|
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
|
-
})), ee = /* @__PURE__ */ t(((e) => {
|
|
542
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.DEFAULT_OPTIONS = void 0, e.format = ye, 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, ee = Error.prototype.toString, S = 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, ie = class extends Error {
|
|
548
|
-
constructor(e, t) {
|
|
549
|
-
super(e), this.stack = t, this.name = this.constructor.name;
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
|
-
function ae(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 oe(e) {
|
|
556
|
-
return Object.is(e, -0) ? "-0" : String(e);
|
|
557
|
-
}
|
|
558
|
-
function w(e) {
|
|
559
|
-
return String(`${e}n`);
|
|
560
|
-
}
|
|
561
|
-
function T(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 "[" + ee.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 oe(e);
|
|
576
|
-
if (i === "bigint") return w(e);
|
|
577
|
-
if (i === "string") return r ? "\"" + e.replace(/"|\\/g, "\\$&") + "\"" : "\"" + e + "\"";
|
|
578
|
-
if (i === "function") return T(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]" ? T(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 ? S.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : S.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 O(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, O) + "]" : ae(l) ? s ? "[" + e.constructor.name + "]" : (c || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.name + " ") + "[" + (0, n.printListItems)(e, t, r, i, a, O) + "]" : l === "[object Map]" ? s ? "[Map]" : "Map {" + (0, n.printIteratorEntries)(e.entries(), t, r, i, a, O, " => ") + "}" : l === "[object Set]" ? s ? "[Set]" : "Set {" + (0, n.printIteratorValues)(e.values(), t, r, i, a, O) + "}" : s || te(e) ? "[" + C(e) + "]" : (c || !t.printBasicPrototype && C(e) === "Object" ? "" : C(e) + " ") + "{" + (0, n.printObjectProperties)(e, t, r, i, a, O) + "}";
|
|
590
|
-
}
|
|
591
|
-
function le(e) {
|
|
592
|
-
return e.serialize != null;
|
|
593
|
-
}
|
|
594
|
-
function ue(e, t, n, r, i, a) {
|
|
595
|
-
let o;
|
|
596
|
-
try {
|
|
597
|
-
o = le(e) ? e.serialize(t, n, r, i, a, O) : e.print(t, (e) => O(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 ie(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 de(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 ie(e.message, e.stack);
|
|
616
|
-
}
|
|
617
|
-
return null;
|
|
618
|
-
}
|
|
619
|
-
function O(e, t, n, r, i, a) {
|
|
620
|
-
let o = de(t.plugins, e);
|
|
621
|
-
if (o !== null) return ue(o, e, t, n, r, i);
|
|
622
|
-
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 k = {
|
|
626
|
-
comment: "gray",
|
|
627
|
-
content: "reset",
|
|
628
|
-
prop: "yellow",
|
|
629
|
-
tag: "cyan",
|
|
630
|
-
value: "green"
|
|
631
|
-
}, fe = Object.keys(k), A = {
|
|
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: k
|
|
644
|
-
};
|
|
645
|
-
e.DEFAULT_OPTIONS = A;
|
|
646
|
-
function pe(e) {
|
|
647
|
-
if (Object.keys(e).forEach((e) => {
|
|
648
|
-
if (!A.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 me = (e) => fe.reduce((n, r) => {
|
|
656
|
-
let i = e.theme && e.theme[r] !== void 0 ? e.theme[r] : k[r], a = i && t.default[i];
|
|
657
|
-
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)), he = () => fe.reduce((e, t) => (e[t] = {
|
|
661
|
-
close: "",
|
|
662
|
-
open: ""
|
|
663
|
-
}, e), Object.create(null)), ge = (e) => e && e.printFunctionName !== void 0 ? e.printFunctionName : A.printFunctionName, j = (e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : A.escapeRegex, _e = (e) => e && e.escapeString !== void 0 ? e.escapeString : A.escapeString, M = (e) => ({
|
|
664
|
-
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : A.callToJSON,
|
|
665
|
-
colors: e && e.highlight ? me(e) : he(),
|
|
666
|
-
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : A.compareKeys,
|
|
667
|
-
escapeRegex: j(e),
|
|
668
|
-
escapeString: _e(e),
|
|
669
|
-
indent: e && e.min ? "" : ve(e && e.indent !== void 0 ? e.indent : A.indent),
|
|
670
|
-
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : A.maxDepth,
|
|
671
|
-
min: e && e.min !== void 0 ? e.min : A.min,
|
|
672
|
-
plugins: e && e.plugins !== void 0 ? e.plugins : A.plugins,
|
|
673
|
-
printBasicPrototype: e?.printBasicPrototype ?? !0,
|
|
674
|
-
printFunctionName: ge(e),
|
|
675
|
-
spacingInner: e && e.min ? " " : "\n",
|
|
676
|
-
spacingOuter: e && e.min ? "" : "\n"
|
|
677
|
-
});
|
|
678
|
-
function ve(e) {
|
|
679
|
-
return Array(e + 1).join(" ");
|
|
680
|
-
}
|
|
681
|
-
function ye(e, t) {
|
|
682
|
-
if (t && (pe(t), t.plugins)) {
|
|
683
|
-
let n = de(t.plugins, e);
|
|
684
|
-
if (n !== null) return ue(n, e, M(t), "", 0, []);
|
|
685
|
-
}
|
|
686
|
-
let n = se(e, ge(t), j(t), _e(t));
|
|
687
|
-
return n === null ? ce(e, M(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 = ye;
|
|
698
|
-
})), S = /* @__PURE__ */ e(r()), C = /* @__PURE__ */ e(i()), te = /* @__PURE__ */ e(ee()), ne = Object.prototype.toString;
|
|
699
|
-
function re(e) {
|
|
700
|
-
return typeof e == "function" || ne.call(e) === "[object Function]";
|
|
701
|
-
}
|
|
702
|
-
function ie(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 ae = 2 ** 53 - 1;
|
|
707
|
-
function oe(e) {
|
|
708
|
-
var t = ie(e);
|
|
709
|
-
return Math.min(Math.max(t, 0), ae);
|
|
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 && !re(t)) throw TypeError("Array.from: when provided, the second argument must be a function");
|
|
715
|
-
for (var i = oe(r.length), a = re(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 E(e, t) {
|
|
729
|
-
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
730
|
-
}
|
|
731
|
-
function D(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, le(r.key), r);
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
function se(e, t, n) {
|
|
738
|
-
return t && D(e.prototype, t), n && D(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
739
|
-
}
|
|
740
|
-
function ce(e, t, n) {
|
|
741
|
-
return t = le(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 le(e) {
|
|
749
|
-
var t = ue(e, "string");
|
|
750
|
-
return T(t) === "symbol" ? t : String(t);
|
|
751
|
-
}
|
|
752
|
-
function ue(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 de = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
763
|
-
function e() {
|
|
764
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
765
|
-
E(this, e), ce(this, "items", void 0), this.items = t;
|
|
766
|
-
}
|
|
767
|
-
return se(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 k = {
|
|
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
|
-
}, fe = {
|
|
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 A(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 = fe[t]) != null && r.has(n));
|
|
900
|
-
});
|
|
901
|
-
}
|
|
902
|
-
function pe(e, t) {
|
|
903
|
-
return A(e, t);
|
|
904
|
-
}
|
|
905
|
-
function me(e) {
|
|
906
|
-
var t = ge(e);
|
|
907
|
-
if (t === null || t === "presentation") {
|
|
908
|
-
var n = he(e);
|
|
909
|
-
if (t !== "presentation" || pe(e, n || "")) return n;
|
|
910
|
-
}
|
|
911
|
-
return t;
|
|
912
|
-
}
|
|
913
|
-
function he(e) {
|
|
914
|
-
var t = k[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") === "" && !pe(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 ge(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 j(e) {
|
|
956
|
-
return e !== null && e.nodeType === e.ELEMENT_NODE;
|
|
957
|
-
}
|
|
958
|
-
function _e(e) {
|
|
959
|
-
return j(e) && O(e) === "caption";
|
|
960
|
-
}
|
|
961
|
-
function M(e) {
|
|
962
|
-
return j(e) && O(e) === "input";
|
|
963
|
-
}
|
|
964
|
-
function ve(e) {
|
|
965
|
-
return j(e) && O(e) === "optgroup";
|
|
966
|
-
}
|
|
967
|
-
function ye(e) {
|
|
968
|
-
return j(e) && O(e) === "select";
|
|
969
|
-
}
|
|
970
|
-
function be(e) {
|
|
971
|
-
return j(e) && O(e) === "table";
|
|
972
|
-
}
|
|
973
|
-
function xe(e) {
|
|
974
|
-
return j(e) && O(e) === "textarea";
|
|
975
|
-
}
|
|
976
|
-
function Se(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 Ce(e) {
|
|
982
|
-
return j(e) && O(e) === "fieldset";
|
|
983
|
-
}
|
|
984
|
-
function we(e) {
|
|
985
|
-
return j(e) && O(e) === "legend";
|
|
986
|
-
}
|
|
987
|
-
function Te(e) {
|
|
988
|
-
return j(e) && O(e) === "slot";
|
|
989
|
-
}
|
|
990
|
-
function Ee(e) {
|
|
991
|
-
return j(e) && e.ownerSVGElement !== void 0;
|
|
992
|
-
}
|
|
993
|
-
function De(e) {
|
|
994
|
-
return j(e) && O(e) === "svg";
|
|
995
|
-
}
|
|
996
|
-
function Oe(e) {
|
|
997
|
-
return Ee(e) && O(e) === "title";
|
|
998
|
-
}
|
|
999
|
-
function ke(e, t) {
|
|
1000
|
-
if (j(e) && e.hasAttribute(t)) {
|
|
1001
|
-
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 N(e, t) {
|
|
1011
|
-
return j(e) ? t.indexOf(me(e)) !== -1 : !1;
|
|
1012
|
-
}
|
|
1013
|
-
//#endregion
|
|
1014
|
-
//#region node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
1015
|
-
function Ae(e) {
|
|
1016
|
-
return e.trim().replace(/\s\s+/g, " ");
|
|
1017
|
-
}
|
|
1018
|
-
function je(e, t) {
|
|
1019
|
-
if (!j(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 Me(e) {
|
|
1025
|
-
return N(e, [
|
|
1026
|
-
"button",
|
|
1027
|
-
"combobox",
|
|
1028
|
-
"listbox",
|
|
1029
|
-
"textbox"
|
|
1030
|
-
]) || Ne(e, "range");
|
|
1031
|
-
}
|
|
1032
|
-
function Ne(e, t) {
|
|
1033
|
-
if (!j(e)) return !1;
|
|
1034
|
-
switch (t) {
|
|
1035
|
-
case "range": return N(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 Pe(e, t) {
|
|
1046
|
-
var n = w(e.querySelectorAll(t));
|
|
1047
|
-
return ke(e, "aria-owns").forEach(function(e) {
|
|
1048
|
-
n.push.apply(n, w(e.querySelectorAll(t)));
|
|
1049
|
-
}), n;
|
|
1050
|
-
}
|
|
1051
|
-
function Fe(e) {
|
|
1052
|
-
return ye(e) ? e.selectedOptions || Pe(e, "[selected]") : Pe(e, "[aria-selected=\"true\"]");
|
|
1053
|
-
}
|
|
1054
|
-
function Ie(e) {
|
|
1055
|
-
return N(e, ["none", "presentation"]);
|
|
1056
|
-
}
|
|
1057
|
-
function Le(e) {
|
|
1058
|
-
return _e(e);
|
|
1059
|
-
}
|
|
1060
|
-
function Re(e) {
|
|
1061
|
-
return N(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 ze(e) {
|
|
1085
|
-
return !1;
|
|
1086
|
-
}
|
|
1087
|
-
function Be(e) {
|
|
1088
|
-
return M(e) || xe(e) ? e.value : e.textContent || "";
|
|
1089
|
-
}
|
|
1090
|
-
function Ve(e) {
|
|
1091
|
-
var t = e.getPropertyValue("content");
|
|
1092
|
-
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
|
|
1093
|
-
}
|
|
1094
|
-
function He(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 Ue(e) {
|
|
1099
|
-
if (He(e)) return e;
|
|
1100
|
-
var t = null;
|
|
1101
|
-
return e.childNodes.forEach(function(e) {
|
|
1102
|
-
if (t === null && j(e)) {
|
|
1103
|
-
var n = Ue(e);
|
|
1104
|
-
n !== null && (t = n);
|
|
1105
|
-
}
|
|
1106
|
-
}), t;
|
|
1107
|
-
}
|
|
1108
|
-
function We(e) {
|
|
1109
|
-
if (e.control !== void 0) return e.control;
|
|
1110
|
-
var t = e.getAttribute("for");
|
|
1111
|
-
return t === null ? Ue(e) : e.ownerDocument.getElementById(t);
|
|
1112
|
-
}
|
|
1113
|
-
function Ge(e) {
|
|
1114
|
-
var t = e.labels;
|
|
1115
|
-
if (t === null) return t;
|
|
1116
|
-
if (t !== void 0) return w(t);
|
|
1117
|
-
if (!He(e)) return null;
|
|
1118
|
-
var n = e.ownerDocument;
|
|
1119
|
-
return w(n.querySelectorAll("label")).filter(function(t) {
|
|
1120
|
-
return We(t) === e;
|
|
1121
|
-
});
|
|
1122
|
-
}
|
|
1123
|
-
function Ke(e) {
|
|
1124
|
-
var t = e.assignedNodes();
|
|
1125
|
-
return t.length === 0 ? w(e.childNodes) : t;
|
|
1126
|
-
}
|
|
1127
|
-
function qe(e) {
|
|
1128
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new de(), r = Se(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u === void 0 ? !1 : u;
|
|
1129
|
-
function f(e, t) {
|
|
1130
|
-
var n = "";
|
|
1131
|
-
if (j(e) && s && (n = `${Ve(l(e, "::before"))} ${n}`), (Te(e) ? Ke(e) : w(e.childNodes).concat(ke(e, "aria-owns"))).forEach(function(e) {
|
|
1132
|
-
var r = g(e, {
|
|
1133
|
-
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
1134
|
-
isReferenced: !1,
|
|
1135
|
-
recursion: !0
|
|
1136
|
-
}), i = (j(e) ? l(e).getPropertyValue("display") : "inline") === "inline" ? "" : " ";
|
|
1137
|
-
n += `${i}${r}${i}`;
|
|
1138
|
-
}), j(e) && s) {
|
|
1139
|
-
var r = Ve(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 j(e) ? p(e, "title") : null;
|
|
1150
|
-
}
|
|
1151
|
-
function h(e) {
|
|
1152
|
-
if (!j(e)) return null;
|
|
1153
|
-
if (Ce(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 (we(i)) return g(i, {
|
|
1158
|
-
isEmbeddedInLabel: !1,
|
|
1159
|
-
isReferenced: !1,
|
|
1160
|
-
recursion: !1
|
|
1161
|
-
});
|
|
1162
|
-
}
|
|
1163
|
-
} else if (be(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 (_e(s)) return g(s, {
|
|
1168
|
-
isEmbeddedInLabel: !1,
|
|
1169
|
-
isReferenced: !1,
|
|
1170
|
-
recursion: !1
|
|
1171
|
-
});
|
|
1172
|
-
}
|
|
1173
|
-
} else if (De(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 (Oe(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 (ve(e)) {
|
|
1184
|
-
var m = p(e, "label");
|
|
1185
|
-
if (m !== null) return m;
|
|
1186
|
-
}
|
|
1187
|
-
if (M(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 _ = Ge(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 (M(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 (N(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 && je(e, l) && !t.isReferenced) return n.add(e), "";
|
|
1221
|
-
var r = j(e) ? e.getAttributeNode("aria-labelledby") : null, i = r !== null && !n.has(r) ? ke(e, "aria-labelledby") : [];
|
|
1222
|
-
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 && Me(e) && a === "name";
|
|
1230
|
-
if (!o) {
|
|
1231
|
-
var s = (j(e) && e.getAttribute("aria-label") || "").trim();
|
|
1232
|
-
if (s !== "" && a === "name") return n.add(e), s;
|
|
1233
|
-
if (!Ie(e)) {
|
|
1234
|
-
var c = h(e);
|
|
1235
|
-
if (c !== null) return n.add(e), c;
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
if (N(e, ["menu"])) return n.add(e), "";
|
|
1239
|
-
if (o || t.isEmbeddedInLabel || t.isReferenced) {
|
|
1240
|
-
if (N(e, ["combobox", "listbox"])) {
|
|
1241
|
-
n.add(e);
|
|
1242
|
-
var u = Fe(e);
|
|
1243
|
-
return u.length === 0 ? M(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 (Ne(e, "range")) return n.add(e), e.hasAttribute("aria-valuetext") ? e.getAttribute("aria-valuetext") : e.hasAttribute("aria-valuenow") ? e.getAttribute("aria-valuenow") : e.getAttribute("value") || "";
|
|
1252
|
-
if (N(e, ["textbox"])) return n.add(e), Be(e);
|
|
1253
|
-
}
|
|
1254
|
-
if (Re(e) || j(e) && t.isReferenced || Le(e) || ze(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 Ae(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 Je(e) {
|
|
1278
|
-
"@babel/helpers - typeof";
|
|
1279
|
-
return Je = 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
|
-
}, Je(e);
|
|
1284
|
-
}
|
|
1285
|
-
function Ye(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 Xe(e) {
|
|
1296
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
1297
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
1298
|
-
t % 2 ? Ye(Object(n), !0).forEach(function(t) {
|
|
1299
|
-
Ze(e, t, n[t]);
|
|
1300
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ye(Object(n)).forEach(function(t) {
|
|
1301
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1302
|
-
});
|
|
1303
|
-
}
|
|
1304
|
-
return e;
|
|
1305
|
-
}
|
|
1306
|
-
function Ze(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 = $e(e, "string");
|
|
1316
|
-
return Je(t) === "symbol" ? t : String(t);
|
|
1317
|
-
}
|
|
1318
|
-
function $e(e, t) {
|
|
1319
|
-
if (Je(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 (Je(r) !== "object") return r;
|
|
1324
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1325
|
-
}
|
|
1326
|
-
return (t === "string" ? String : Number)(e);
|
|
1327
|
-
}
|
|
1328
|
-
function et(e) {
|
|
1329
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ke(e, "aria-describedby").map(function(e) {
|
|
1330
|
-
return qe(e, Xe(Xe({}, t), {}, { compute: "description" }));
|
|
1331
|
-
}).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 tt(e) {
|
|
1341
|
-
return N(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 nt(e) {
|
|
1356
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1357
|
-
return tt(e) ? "" : qe(e, t);
|
|
1358
|
-
}
|
|
1359
|
-
//#endregion
|
|
1360
|
-
//#region node_modules/lz-string/libs/lz-string.js
|
|
1361
|
-
var rt = /* @__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) * 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) * 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) * 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) * 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) * 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) * 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
|
-
})), P = n(), it = /* @__PURE__ */ e(rt());
|
|
1520
|
-
/* istanbul ignore file */
|
|
1521
|
-
function at(e) {
|
|
1522
|
-
return e.replace(/</g, "<").replace(/>/g, ">");
|
|
1523
|
-
}
|
|
1524
|
-
var ot = (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
|
-
}, st = 3, ct = (e, t, n, r, i, a) => e.map((e) => {
|
|
1531
|
-
let o = typeof e == "string" ? lt(e, t) : a(e, t, n, r, i);
|
|
1532
|
-
return o === "" && typeof e == "object" && e && e.nodeType !== st ? "" : t.spacingOuter + n + o;
|
|
1533
|
-
}).join(""), lt = (e, t) => {
|
|
1534
|
-
let n = t.colors.content;
|
|
1535
|
-
return n.open + at(e) + n.close;
|
|
1536
|
-
}, ut = (e, t) => {
|
|
1537
|
-
let n = t.colors.comment;
|
|
1538
|
-
return n.open + "<!--" + at(e) + "-->" + n.close;
|
|
1539
|
-
}, dt = (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
|
-
}, ft = (e, t) => {
|
|
1543
|
-
let n = t.colors.tag;
|
|
1544
|
-
return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
|
|
1545
|
-
}, pt = 1, mt = 3, ht = 8, gt = 11, _t = /^((HTML|SVG)\w*)?Element$/, vt = (e) => {
|
|
1546
|
-
let { tagName: t } = e;
|
|
1547
|
-
return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
|
|
1548
|
-
}, yt = (e) => {
|
|
1549
|
-
let t = e.constructor.name, { nodeType: n } = e;
|
|
1550
|
-
return n === pt && (_t.test(t) || vt(e)) || n === mt && t === "Text" || n === ht && t === "Comment" || n === gt && t === "DocumentFragment";
|
|
1551
|
-
};
|
|
1552
|
-
function bt(e) {
|
|
1553
|
-
return e.nodeType === mt;
|
|
1554
|
-
}
|
|
1555
|
-
function xt(e) {
|
|
1556
|
-
return e.nodeType === ht;
|
|
1557
|
-
}
|
|
1558
|
-
function St(e) {
|
|
1559
|
-
return e.nodeType === gt;
|
|
1560
|
-
}
|
|
1561
|
-
function Ct(e) {
|
|
1562
|
-
return {
|
|
1563
|
-
test: (e) => {
|
|
1564
|
-
var t;
|
|
1565
|
-
return ((e == null || (t = e.constructor) == null ? void 0 : t.name) || vt(e)) && yt(e);
|
|
1566
|
-
},
|
|
1567
|
-
serialize: (t, n, r, i, a, o) => {
|
|
1568
|
-
if (bt(t)) return lt(t.data, n);
|
|
1569
|
-
if (xt(t)) return ut(t.data, n);
|
|
1570
|
-
let s = St(t) ? "DocumentFragment" : t.tagName.toLowerCase();
|
|
1571
|
-
return ++i > n.maxDepth ? ft(s, n) : dt(s, ot(St(t) ? [] : Array.from(t.attributes).map((e) => e.name).sort(), St(t) ? {} : Array.from(t.attributes).reduce((e, t) => (e[t.name] = t.value, e), {}), n, r + n.indent, i, a, o), ct(Array.prototype.slice.call(t.childNodes || t.children).filter(e), n, r + n.indent, i, a, o), n, r);
|
|
1572
|
-
}
|
|
1573
|
-
};
|
|
1574
|
-
}
|
|
1575
|
-
var wt = null, Tt = null, Et = null;
|
|
1576
|
-
try {
|
|
1577
|
-
let e = module && module.require;
|
|
1578
|
-
Tt = e.call(module, "fs").readFileSync, Et = e.call(module, "@babel/code-frame").codeFrameColumns, wt = e.call(module, "picocolors");
|
|
1579
|
-
} catch {}
|
|
1580
|
-
function Dt(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 = Tt(a, "utf-8");
|
|
1588
|
-
} catch {
|
|
1589
|
-
return "";
|
|
1590
|
-
}
|
|
1591
|
-
let l = Et(c, { start: {
|
|
1592
|
-
line: o,
|
|
1593
|
-
column: s
|
|
1594
|
-
} }, {
|
|
1595
|
-
highlightCode: !0,
|
|
1596
|
-
linesBelow: 0
|
|
1597
|
-
});
|
|
1598
|
-
return wt.dim(r) + "\n" + l + "\n";
|
|
1599
|
-
}
|
|
1600
|
-
function Ot() {
|
|
1601
|
-
return !Tt || !Et ? "" : Dt((/* @__PURE__ */ Error()).stack.split("\n").slice(1).find((e) => !e.includes("node_modules/")));
|
|
1602
|
-
}
|
|
1603
|
-
var kt = 3;
|
|
1604
|
-
function At() {
|
|
1605
|
-
// istanbul ignore next
|
|
1606
|
-
return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
|
|
1607
|
-
}
|
|
1608
|
-
function jt() {
|
|
1609
|
-
/* istanbul ignore if */
|
|
1610
|
-
if (typeof window > "u") throw Error("Could not find default container");
|
|
1611
|
-
return window.document;
|
|
1612
|
-
}
|
|
1613
|
-
function Mt(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 F(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 Nt = () => {
|
|
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: Pt } = te.plugins, Ft = 1, It = 8;
|
|
1634
|
-
function Lt(e) {
|
|
1635
|
-
return e.nodeType !== It && (e.nodeType !== Ft || !e.matches(R().defaultIgnore));
|
|
1636
|
-
}
|
|
1637
|
-
function I(e, t, n) {
|
|
1638
|
-
if (n === void 0 && (n = {}), e ||= jt().body, typeof t != "number" && (t = typeof process < "u" && process.env !== void 0 && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0) return "";
|
|
1639
|
-
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 = Lt, ...a } = n, o = te.format(e, {
|
|
1643
|
-
plugins: [Ct(i), Pt],
|
|
1644
|
-
printFunctionName: !1,
|
|
1645
|
-
highlight: Nt(),
|
|
1646
|
-
...a
|
|
1647
|
-
});
|
|
1648
|
-
return t !== void 0 && e.outerHTML.length > t ? o.slice(0, t) + "..." : o;
|
|
1649
|
-
}
|
|
1650
|
-
var Rt = function() {
|
|
1651
|
-
let e = Ot();
|
|
1652
|
-
console.log(e ? I(...arguments) + "\n\n" + e : I(...arguments));
|
|
1653
|
-
}, L = {
|
|
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 = I(t), r = Error([e, "Ignored nodes: comments, " + L.defaultIgnore + "\n" + n].filter(Boolean).join("\n\n"));
|
|
1665
|
-
return r.name = "TestingLibraryElementError", r;
|
|
1666
|
-
},
|
|
1667
|
-
_disableExpensiveErrorDiagnostics: !1,
|
|
1668
|
-
computedStyleSupportsPseudoElements: !1
|
|
1669
|
-
};
|
|
1670
|
-
function zt(e) {
|
|
1671
|
-
try {
|
|
1672
|
-
return L._disableExpensiveErrorDiagnostics = !0, e();
|
|
1673
|
-
} finally {
|
|
1674
|
-
L._disableExpensiveErrorDiagnostics = !1;
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
function Bt(e) {
|
|
1678
|
-
typeof e == "function" && (e = e(L)), L = {
|
|
1679
|
-
...L,
|
|
1680
|
-
...e
|
|
1681
|
-
};
|
|
1682
|
-
}
|
|
1683
|
-
function R() {
|
|
1684
|
-
return L;
|
|
1685
|
-
}
|
|
1686
|
-
var Vt = [
|
|
1687
|
-
"button",
|
|
1688
|
-
"meter",
|
|
1689
|
-
"output",
|
|
1690
|
-
"progress",
|
|
1691
|
-
"select",
|
|
1692
|
-
"textarea",
|
|
1693
|
-
"input"
|
|
1694
|
-
];
|
|
1695
|
-
function Ht(e) {
|
|
1696
|
-
return Vt.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === kt ? e.textContent : Array.from(e.childNodes).map((e) => Ht(e)).join("");
|
|
1697
|
-
}
|
|
1698
|
-
function Ut(e) {
|
|
1699
|
-
let t;
|
|
1700
|
-
return t = e.tagName.toLowerCase() === "label" ? Ht(e) : e.value || e.textContent, t;
|
|
1701
|
-
}
|
|
1702
|
-
function Wt(e) {
|
|
1703
|
-
if (e.labels !== void 0) return e.labels ?? [];
|
|
1704
|
-
if (!Gt(e)) return [];
|
|
1705
|
-
let t = e.ownerDocument.querySelectorAll("label");
|
|
1706
|
-
return Array.from(t).filter((t) => t.control === e);
|
|
1707
|
-
}
|
|
1708
|
-
function Gt(e) {
|
|
1709
|
-
return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
|
|
1710
|
-
}
|
|
1711
|
-
function Kt(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: Ut(n),
|
|
1717
|
-
formControl: null
|
|
1718
|
-
} : {
|
|
1719
|
-
content: "",
|
|
1720
|
-
formControl: null
|
|
1721
|
-
};
|
|
1722
|
-
}) : Array.from(Wt(t)).map((e) => ({
|
|
1723
|
-
content: Ut(e),
|
|
1724
|
-
formControl: Array.from(e.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((e) => e.matches(r))[0]
|
|
1725
|
-
}));
|
|
1726
|
-
}
|
|
1727
|
-
function qt(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 z(e, t, n, r) {
|
|
1731
|
-
if (typeof e != "string") return !1;
|
|
1732
|
-
qt(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) : Yt(n, i);
|
|
1735
|
-
}
|
|
1736
|
-
function B(e, t, n, r) {
|
|
1737
|
-
if (typeof e != "string") return !1;
|
|
1738
|
-
qt(n);
|
|
1739
|
-
let i = r(e);
|
|
1740
|
-
return n instanceof Function ? n(i, t) : n instanceof RegExp ? Yt(n, i) : i === String(n);
|
|
1741
|
-
}
|
|
1742
|
-
function Jt(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 V(e) {
|
|
1750
|
-
let { trim: t, collapseWhitespace: n, normalizer: r } = e;
|
|
1751
|
-
if (!r) return Jt({
|
|
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 Yt(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 Xt(e) {
|
|
1763
|
-
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((e) => e.nodeType === kt && !!e.textContent).map((e) => e.textContent).join("");
|
|
1764
|
-
}
|
|
1765
|
-
var Zt = tn(P.elementRoles);
|
|
1766
|
-
function Qt(e) {
|
|
1767
|
-
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
|
|
1768
|
-
}
|
|
1769
|
-
function $t(e, t) {
|
|
1770
|
-
t === void 0 && (t = {});
|
|
1771
|
-
let { isSubtreeInaccessible: n = Qt } = 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 en(e) {
|
|
1781
|
-
for (let { match: t, roles: n } of Zt) if (t(e)) return [...n];
|
|
1782
|
-
return [];
|
|
1783
|
-
}
|
|
1784
|
-
function tn(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 nn(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 ? $t(e) === !1 : !0).reduce((e, t) => {
|
|
1823
|
-
let n = [];
|
|
1824
|
-
return n = t.hasAttribute("role") ? t.getAttribute("role").split(" ").slice(0, 1) : en(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 rn(e, t) {
|
|
1834
|
-
let { hidden: n, includeDescription: r } = t, i = nn(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 \"" + nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }) + "\":\n", n = I(e.cloneNode(!1));
|
|
1841
|
-
if (r) {
|
|
1842
|
-
let r = "Description \"" + et(e, { computedStyleSupportsPseudoElements: R().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 an(e) {
|
|
1851
|
-
return e.tagName === "OPTION" ? e.selected : H(e, "aria-selected");
|
|
1852
|
-
}
|
|
1853
|
-
function on(e) {
|
|
1854
|
-
return e.getAttribute("aria-busy") === "true";
|
|
1855
|
-
}
|
|
1856
|
-
function sn(e) {
|
|
1857
|
-
if (!("indeterminate" in e && e.indeterminate)) return "checked" in e ? e.checked : H(e, "aria-checked");
|
|
1858
|
-
}
|
|
1859
|
-
function cn(e) {
|
|
1860
|
-
return H(e, "aria-pressed");
|
|
1861
|
-
}
|
|
1862
|
-
function ln(e) {
|
|
1863
|
-
return H(e, "aria-current") ?? e.getAttribute("aria-current") ?? !1;
|
|
1864
|
-
}
|
|
1865
|
-
function un(e) {
|
|
1866
|
-
return H(e, "aria-expanded");
|
|
1867
|
-
}
|
|
1868
|
-
function H(e, t) {
|
|
1869
|
-
let n = e.getAttribute(t);
|
|
1870
|
-
if (n === "true") return !0;
|
|
1871
|
-
if (n === "false") return !1;
|
|
1872
|
-
}
|
|
1873
|
-
function dn(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 fn(e) {
|
|
1884
|
-
let t = e.getAttribute("aria-valuenow");
|
|
1885
|
-
return t === null ? void 0 : +t;
|
|
1886
|
-
}
|
|
1887
|
-
function pn(e) {
|
|
1888
|
-
let t = e.getAttribute("aria-valuemax");
|
|
1889
|
-
return t === null ? void 0 : +t;
|
|
1890
|
-
}
|
|
1891
|
-
function mn(e) {
|
|
1892
|
-
let t = e.getAttribute("aria-valuemin");
|
|
1893
|
-
return t === null ? void 0 : +t;
|
|
1894
|
-
}
|
|
1895
|
-
function hn(e) {
|
|
1896
|
-
let t = e.getAttribute("aria-valuetext");
|
|
1897
|
-
return t === null ? void 0 : t;
|
|
1898
|
-
}
|
|
1899
|
-
var gn = Jt();
|
|
1900
|
-
function _n(e) {
|
|
1901
|
-
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
|
|
1902
|
-
}
|
|
1903
|
-
function vn(e) {
|
|
1904
|
-
return new RegExp(_n(e.toLowerCase()), "i");
|
|
1905
|
-
}
|
|
1906
|
-
function U(e, t, n, r) {
|
|
1907
|
-
let { variant: i, name: a } = r, o = "", s = {}, c = [["Role", "TestId"].includes(e) ? n : vn(n)];
|
|
1908
|
-
a && (s.name = vn(a)), e === "Role" && $t(t) && (s.hidden = !0, o = "Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "), Object.keys(s).length > 0 && c.push(s);
|
|
1909
|
-
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 W(e, t, n) {
|
|
1927
|
-
return n && (!t || t.toLowerCase() === e.toLowerCase());
|
|
1928
|
-
}
|
|
1929
|
-
function yn(e, t, n) {
|
|
1930
|
-
if (t === void 0 && (t = "get"), e.matches(R().defaultIgnore)) return;
|
|
1931
|
-
let r = e.getAttribute("role") ?? en(e)?.[0];
|
|
1932
|
-
if (r !== "generic" && W("Role", n, r)) return U("Role", e, r, {
|
|
1933
|
-
variant: t,
|
|
1934
|
-
name: nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements })
|
|
1935
|
-
});
|
|
1936
|
-
let i = Kt(document, e).map((e) => e.content).join(" ");
|
|
1937
|
-
if (W("LabelText", n, i)) return U("LabelText", e, i, { variant: t });
|
|
1938
|
-
let a = e.getAttribute("placeholder");
|
|
1939
|
-
if (W("PlaceholderText", n, a)) return U("PlaceholderText", e, a, { variant: t });
|
|
1940
|
-
let o = gn(Xt(e));
|
|
1941
|
-
if (W("Text", n, o)) return U("Text", e, o, { variant: t });
|
|
1942
|
-
if (W("DisplayValue", n, e.value)) return U("DisplayValue", e, gn(e.value), { variant: t });
|
|
1943
|
-
let s = e.getAttribute("alt");
|
|
1944
|
-
if (W("AltText", n, s)) return U("AltText", e, s, { variant: t });
|
|
1945
|
-
let c = e.getAttribute("title");
|
|
1946
|
-
if (W("Title", n, c)) return U("Title", e, c, { variant: t });
|
|
1947
|
-
let l = e.getAttribute(R().testIdAttribute);
|
|
1948
|
-
if (W("TestId", n, l)) return U("TestId", e, l, { variant: t });
|
|
1949
|
-
}
|
|
1950
|
-
function bn(e, t) {
|
|
1951
|
-
e.stack = t.stack.replace(t.message, e.message);
|
|
1952
|
-
}
|
|
1953
|
-
function xn(e, t) {
|
|
1954
|
-
let { container: n = jt(), timeout: r = R().asyncUtilTimeout, showOriginalStackTrace: i = R().showOriginalStackTrace, stackTraceError: a, interval: o = 50, onTimeout: s = (e) => (Object.defineProperty(e, "message", { value: R().getElementError(e.message, n).message }), e), mutationObserverOptions: c = {
|
|
1955
|
-
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 = At();
|
|
1963
|
-
if (g) {
|
|
1964
|
-
let { unstable_advanceTimersWrapper: e } = R();
|
|
1965
|
-
for (y(); !p;) {
|
|
1966
|
-
if (!At()) {
|
|
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 || bn(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
|
-
F(n);
|
|
1979
|
-
} catch (e) {
|
|
1980
|
-
l(e);
|
|
1981
|
-
return;
|
|
1982
|
-
}
|
|
1983
|
-
d = setInterval(v, o);
|
|
1984
|
-
let { MutationObserver: e } = Mt(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 (At()) {
|
|
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 || bn(e, a), l(e);
|
|
1994
|
-
} else return y();
|
|
1995
|
-
}
|
|
1996
|
-
function y() {
|
|
1997
|
-
if (m !== "pending") try {
|
|
1998
|
-
let t = zt(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" && bn(e, a)) : (e = /* @__PURE__ */ Error("Timed out in waitFor."), i || bn(e, a)), _(s(e), null);
|
|
2011
|
-
}
|
|
2012
|
-
});
|
|
2013
|
-
}
|
|
2014
|
-
function Sn(e, t) {
|
|
2015
|
-
let n = /* @__PURE__ */ Error("STACK_TRACE_MESSAGE");
|
|
2016
|
-
return R().asyncWrapper(() => xn(e, {
|
|
2017
|
-
stackTraceError: n,
|
|
2018
|
-
...t
|
|
2019
|
-
}));
|
|
2020
|
-
}
|
|
2021
|
-
function Cn(e, t) {
|
|
2022
|
-
return R().getElementError(e, t);
|
|
2023
|
-
}
|
|
2024
|
-
function wn(e, t) {
|
|
2025
|
-
return Cn(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
|
|
2026
|
-
}
|
|
2027
|
-
function Tn(e, t, n, r) {
|
|
2028
|
-
let { exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = r === void 0 ? {} : r, c = i ? B : z, l = V({
|
|
2029
|
-
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 En(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) => Cn(null, e).message).join("\n\n");
|
|
2041
|
-
throw wn(t(n, ...r) + "\n\nHere are the matching elements:\n\n" + e, n);
|
|
2042
|
-
}
|
|
2043
|
-
return i[0] || null;
|
|
2044
|
-
};
|
|
2045
|
-
}
|
|
2046
|
-
function Dn(e, t) {
|
|
2047
|
-
return R().getElementError("A better query is available, try this:\n" + e.toString() + "\n", t);
|
|
2048
|
-
}
|
|
2049
|
-
function On(e, t) {
|
|
2050
|
-
return function(n) {
|
|
2051
|
-
var r = [...arguments].slice(1);
|
|
2052
|
-
let i = e(n, ...r);
|
|
2053
|
-
if (!i.length) throw R().getElementError(t(n, ...r), n);
|
|
2054
|
-
return i;
|
|
2055
|
-
};
|
|
2056
|
-
}
|
|
2057
|
-
function kn(e) {
|
|
2058
|
-
return (t, n, r, i) => Sn(() => e(t, n, r), {
|
|
2059
|
-
container: t,
|
|
2060
|
-
...i
|
|
2061
|
-
});
|
|
2062
|
-
}
|
|
2063
|
-
var G = (e, t, n) => function(r) {
|
|
2064
|
-
var i = [...arguments].slice(1);
|
|
2065
|
-
let a = e(r, ...i), [{ suggest: o = R().throwSuggestions } = {}] = i.slice(-1);
|
|
2066
|
-
if (a && o) {
|
|
2067
|
-
let e = yn(a, n);
|
|
2068
|
-
if (e && !t.endsWith(e.queryName)) throw Dn(e.toString(), r);
|
|
2069
|
-
}
|
|
2070
|
-
return a;
|
|
2071
|
-
}, K = (e, t, n) => function(r) {
|
|
2072
|
-
var i = [...arguments].slice(1);
|
|
2073
|
-
let a = e(r, ...i), [{ suggest: o = R().throwSuggestions } = {}] = i.slice(-1);
|
|
2074
|
-
if (a.length && o) {
|
|
2075
|
-
let e = [...new Set(a.map((e) => yn(e, n)?.toString()))];
|
|
2076
|
-
if (e.length === 1 && !t.endsWith(yn(a[0], n).queryName)) throw Dn(e[0], r);
|
|
2077
|
-
}
|
|
2078
|
-
return a;
|
|
2079
|
-
};
|
|
2080
|
-
function q(e, t, n) {
|
|
2081
|
-
let r = G(En(e, t), e.name, "query"), i = On(e, n), a = En(i, t), o = G(a, e.name, "get");
|
|
2082
|
-
return [
|
|
2083
|
-
r,
|
|
2084
|
-
K(i, e.name.replace("query", "get"), "getAll"),
|
|
2085
|
-
o,
|
|
2086
|
-
kn(K(i, e.name, "findAll")),
|
|
2087
|
-
kn(G(a, e.name, "find"))
|
|
2088
|
-
];
|
|
2089
|
-
}
|
|
2090
|
-
function An(e) {
|
|
2091
|
-
return Array.from(e.querySelectorAll("label,input")).map((e) => ({
|
|
2092
|
-
node: e,
|
|
2093
|
-
textToMatch: Ut(e)
|
|
2094
|
-
})).filter((e) => {
|
|
2095
|
-
let { textToMatch: t } = e;
|
|
2096
|
-
return t !== null;
|
|
2097
|
-
});
|
|
2098
|
-
}
|
|
2099
|
-
var jn = function(e, t, n) {
|
|
2100
|
-
let { exact: r = !0, trim: i, collapseWhitespace: a, normalizer: o } = n === void 0 ? {} : n, s = r ? B : z, c = V({
|
|
2101
|
-
collapseWhitespace: a,
|
|
2102
|
-
trim: i,
|
|
2103
|
-
normalizer: o
|
|
2104
|
-
});
|
|
2105
|
-
return An(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
|
-
}, J = function(e, t, n) {
|
|
2113
|
-
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, normalizer: s } = n === void 0 ? {} : n;
|
|
2114
|
-
F(e);
|
|
2115
|
-
let c = i ? B : z, l = V({
|
|
2116
|
-
collapseWhitespace: a,
|
|
2117
|
-
trim: o,
|
|
2118
|
-
normalizer: s
|
|
2119
|
-
}), u = Array.from(e.querySelectorAll("*")).filter((e) => Wt(e).length || e.hasAttribute("aria-labelledby")).reduce((n, i) => {
|
|
2120
|
-
let a = Kt(e, i, { selector: r });
|
|
2121
|
-
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(Tn("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 = J(e, t, ...n);
|
|
2138
|
-
if (!r.length) {
|
|
2139
|
-
let r = jn(e, t, ...n);
|
|
2140
|
-
if (r.length) {
|
|
2141
|
-
let n = r.map((t) => Mn(e, t)).filter((e) => !!e);
|
|
2142
|
-
throw n.length ? R().getElementError(n.map((e) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + e + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + e + " />, you can use aria-label or aria-labelledby instead.").join("\n\n"), e) : R().getElementError("Found a label with the text of: " + t + ", however no form control was found associated to that label. Make sure you're using the \"for\" attribute or \"aria-labelledby\" attribute correctly.", e);
|
|
2143
|
-
} else throw R().getElementError("Unable to find a label with the text of: " + t, e);
|
|
2144
|
-
}
|
|
2145
|
-
return r;
|
|
2146
|
-
};
|
|
2147
|
-
function Mn(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 Nn = (e, t) => "Found multiple elements with the text of: " + t, Pn = G(En(J, Nn), J.name, "query"), Fn = En(Y, Nn), In = kn(K(Y, Y.name, "findAll")), Ln = kn(G(Fn, Y.name, "find")), Rn = K(Y, Y.name, "getAll"), zn = G(Fn, Y.name, "get"), Bn = K(J, J.name, "queryAll"), Vn = function() {
|
|
2154
|
-
var e = [...arguments];
|
|
2155
|
-
return F(e[0]), Tn("placeholder", ...e);
|
|
2156
|
-
}, Hn = (e, t) => "Found multiple elements with the placeholder text of: " + t, Un = (e, t) => "Unable to find an element with the placeholder text of: " + t, Wn = K(Vn, Vn.name, "queryAll"), [Gn, Kn, qn, Jn, Yn] = q(Vn, Hn, Un), Xn = function(e, t, n) {
|
|
2157
|
-
let { selector: r = "*", exact: i = !0, collapseWhitespace: a, trim: o, ignore: s = R().defaultIgnore, normalizer: c } = n === void 0 ? {} : n;
|
|
2158
|
-
F(e);
|
|
2159
|
-
let l = i ? B : z, u = V({
|
|
2160
|
-
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(Xt(e), e, t, u));
|
|
2165
|
-
}, Zn = (e, t) => "Found multiple elements with the text: " + t, Qn = function(e, t, n) {
|
|
2166
|
-
n === void 0 && (n = {});
|
|
2167
|
-
let { collapseWhitespace: r, trim: i, normalizer: a, selector: o } = n, s = V({
|
|
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
|
-
}, $n = K(Xn, Xn.name, "queryAll"), [er, tr, nr, rr, ir] = q(Xn, Zn, Qn), ar = function(e, t, n) {
|
|
2174
|
-
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2175
|
-
F(e);
|
|
2176
|
-
let s = r ? B : z, c = V({
|
|
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(Xt(e), e, t, c)) : s(e.value, e, t, c));
|
|
2182
|
-
}, or = (e, t) => "Found multiple elements with the display value: " + t + ".", sr = (e, t) => "Unable to find an element with the display value: " + t + ".", cr = K(ar, ar.name, "queryAll"), [lr, ur, dr, fr, pr] = q(ar, or, sr), mr = /^(img|input|area|.+-.+)$/i, hr = function(e, t, n) {
|
|
2183
|
-
return n === void 0 && (n = {}), F(e), Tn("alt", e, t, n).filter((e) => mr.test(e.tagName));
|
|
2184
|
-
}, gr = (e, t) => "Found multiple elements with the alt text: " + t, _r = (e, t) => "Unable to find an element with the alt text: " + t, vr = K(hr, hr.name, "queryAll"), [yr, br, xr, Sr, Cr] = q(hr, gr, _r), wr = (e) => e.tagName.toLowerCase() === "title" && e.parentElement?.tagName.toLowerCase() === "svg", Tr = function(e, t, n) {
|
|
2185
|
-
let { exact: r = !0, collapseWhitespace: i, trim: a, normalizer: o } = n === void 0 ? {} : n;
|
|
2186
|
-
F(e);
|
|
2187
|
-
let s = r ? B : z, c = V({
|
|
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) || wr(e) && s(Xt(e), e, t, c));
|
|
2193
|
-
}, Er = (e, t) => "Found multiple elements with the title: " + t + ".", Dr = (e, t) => "Unable to find an element with the title: " + t + ".", Or = K(Tr, Tr.name, "queryAll"), [kr, Ar, jr, Mr, Nr] = q(Tr, Er, Dr), Pr = function(e, t, n) {
|
|
2194
|
-
let { hidden: r = R().defaultHidden, name: i, description: a, queryFallbacks: o = !1, selected: s, busy: c, checked: l, pressed: u, current: d, level: f, expanded: p, value: { now: m, min: h, max: g, text: _ } = {} } = n === void 0 ? {} : n;
|
|
2195
|
-
if (F(e), s !== void 0 && P.roles.get(t)?.props["aria-selected"] === void 0) throw Error("\"aria-selected\" is not supported on role \"" + t + "\".");
|
|
2196
|
-
if (c !== void 0 && P.roles.get(t)?.props["aria-busy"] === void 0) throw Error("\"aria-busy\" is not supported on role \"" + t + "\".");
|
|
2197
|
-
if (l !== void 0 && P.roles.get(t)?.props["aria-checked"] === void 0) throw Error("\"aria-checked\" is not supported on role \"" + t + "\".");
|
|
2198
|
-
if (u !== void 0 && P.roles.get(t)?.props["aria-pressed"] === void 0) throw Error("\"aria-pressed\" is not supported on role \"" + t + "\".");
|
|
2199
|
-
if (d !== void 0 && P.roles.get(t)?.props["aria-current"] === void 0) throw Error("\"aria-current\" is not supported on role \"" + t + "\".");
|
|
2200
|
-
if (f !== void 0 && t !== "heading") throw Error("Role \"" + t + "\" cannot have \"level\" property.");
|
|
2201
|
-
if (m !== void 0 && P.roles.get(t)?.props["aria-valuenow"] === void 0) throw Error("\"aria-valuenow\" is not supported on role \"" + t + "\".");
|
|
2202
|
-
if (g !== void 0 && P.roles.get(t)?.props["aria-valuemax"] === void 0) throw Error("\"aria-valuemax\" is not supported on role \"" + t + "\".");
|
|
2203
|
-
if (h !== void 0 && P.roles.get(t)?.props["aria-valuemin"] === void 0) throw Error("\"aria-valuemin\" is not supported on role \"" + t + "\".");
|
|
2204
|
-
if (_ !== void 0 && P.roles.get(t)?.props["aria-valuetext"] === void 0) throw Error("\"aria-valuetext\" is not supported on role \"" + t + "\".");
|
|
2205
|
-
if (p !== void 0 && P.roles.get(t)?.props["aria-expanded"] === void 0) throw Error("\"aria-expanded\" is not supported on role \"" + t + "\".");
|
|
2206
|
-
let v = /* @__PURE__ */ new WeakMap();
|
|
2207
|
-
function y(e) {
|
|
2208
|
-
return v.has(e) || v.set(e, Qt(e)), v.get(e);
|
|
2209
|
-
}
|
|
2210
|
-
return Array.from(e.querySelectorAll(Fr(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 en(e).some((e) => e === t);
|
|
2218
|
-
}).filter((e) => {
|
|
2219
|
-
if (s !== void 0) return s === an(e);
|
|
2220
|
-
if (c !== void 0) return c === on(e);
|
|
2221
|
-
if (l !== void 0) return l === sn(e);
|
|
2222
|
-
if (u !== void 0) return u === cn(e);
|
|
2223
|
-
if (d !== void 0) return d === ln(e);
|
|
2224
|
-
if (p !== void 0) return p === un(e);
|
|
2225
|
-
if (f !== void 0) return f === dn(e);
|
|
2226
|
-
if (m !== void 0 || g !== void 0 || h !== void 0 || _ !== void 0) {
|
|
2227
|
-
let t = !0;
|
|
2228
|
-
return m !== void 0 && (t &&= m === fn(e)), g !== void 0 && (t &&= g === pn(e)), h !== void 0 && (t &&= h === mn(e)), _ !== void 0 && (t &&= B(hn(e) ?? null, e, _, (e) => e)), t;
|
|
2229
|
-
}
|
|
2230
|
-
return !0;
|
|
2231
|
-
}).filter((e) => i === void 0 ? !0 : B(nt(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }), e, i, (e) => e)).filter((e) => a === void 0 ? !0 : B(et(e, { computedStyleSupportsPseudoElements: R().computedStyleSupportsPseudoElements }), e, a, (e) => e)).filter((e) => r === !1 ? $t(e, { isSubtreeInaccessible: y }) === !1 : !0);
|
|
2232
|
-
};
|
|
2233
|
-
function Fr(e) {
|
|
2234
|
-
let t = "*[role~=\"" + e + "\"]", n = P.roleElements.get(e) ?? /* @__PURE__ */ new Set(), r = new Set(Array.from(n).map((e) => {
|
|
2235
|
-
let { name: t } = e;
|
|
2236
|
-
return t;
|
|
2237
|
-
}));
|
|
2238
|
-
return [t].concat(Array.from(r)).join(",");
|
|
2239
|
-
}
|
|
2240
|
-
var Ir = (e) => {
|
|
2241
|
-
let t = "";
|
|
2242
|
-
return t = e === void 0 ? "" : typeof e == "string" ? " and name \"" + e + "\"" : " and name `" + e + "`", t;
|
|
2243
|
-
}, Lr = function(e, t, n) {
|
|
2244
|
-
let { name: r } = n === void 0 ? {} : n;
|
|
2245
|
-
return "Found multiple elements with the role \"" + t + "\"" + Ir(r);
|
|
2246
|
-
}, Rr = function(e, t, n) {
|
|
2247
|
-
let { hidden: r = R().defaultHidden, name: i, description: a } = n === void 0 ? {} : n;
|
|
2248
|
-
if (R()._disableExpensiveErrorDiagnostics) return "Unable to find role=\"" + t + "\"" + Ir(i);
|
|
2249
|
-
let o = "";
|
|
2250
|
-
Array.from(e.children).forEach((e) => {
|
|
2251
|
-
o += rn(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
|
-
}, zr = K(Pr, Pr.name, "queryAll"), [Br, Vr, Hr, Ur, Wr] = q(Pr, Lr, Rr), Gr = () => R().testIdAttribute, Kr = function() {
|
|
2263
|
-
var e = [...arguments];
|
|
2264
|
-
return F(e[0]), Tn(Gr(), ...e);
|
|
2265
|
-
}, qr = (e, t) => "Found multiple elements by: [" + Gr() + "=\"" + t + "\"]", Jr = (e, t) => "Unable to find an element by: [" + Gr() + "=\"" + t + "\"]", Yr = K(Kr, Kr.name, "queryAll"), [Xr, Zr, Qr, $r, ei] = q(Kr, qr, Jr), ti = /*#__PURE__*/ Object.freeze({
|
|
2266
|
-
__proto__: null,
|
|
2267
|
-
queryAllByLabelText: Bn,
|
|
2268
|
-
queryByLabelText: Pn,
|
|
2269
|
-
getAllByLabelText: Rn,
|
|
2270
|
-
getByLabelText: zn,
|
|
2271
|
-
findAllByLabelText: In,
|
|
2272
|
-
findByLabelText: Ln,
|
|
2273
|
-
queryByPlaceholderText: Gn,
|
|
2274
|
-
queryAllByPlaceholderText: Wn,
|
|
2275
|
-
getByPlaceholderText: qn,
|
|
2276
|
-
getAllByPlaceholderText: Kn,
|
|
2277
|
-
findAllByPlaceholderText: Jn,
|
|
2278
|
-
findByPlaceholderText: Yn,
|
|
2279
|
-
queryByText: er,
|
|
2280
|
-
queryAllByText: $n,
|
|
2281
|
-
getByText: nr,
|
|
2282
|
-
getAllByText: tr,
|
|
2283
|
-
findAllByText: rr,
|
|
2284
|
-
findByText: ir,
|
|
2285
|
-
queryByDisplayValue: lr,
|
|
2286
|
-
queryAllByDisplayValue: cr,
|
|
2287
|
-
getByDisplayValue: dr,
|
|
2288
|
-
getAllByDisplayValue: ur,
|
|
2289
|
-
findAllByDisplayValue: fr,
|
|
2290
|
-
findByDisplayValue: pr,
|
|
2291
|
-
queryByAltText: yr,
|
|
2292
|
-
queryAllByAltText: vr,
|
|
2293
|
-
getByAltText: xr,
|
|
2294
|
-
getAllByAltText: br,
|
|
2295
|
-
findAllByAltText: Sr,
|
|
2296
|
-
findByAltText: Cr,
|
|
2297
|
-
queryByTitle: kr,
|
|
2298
|
-
queryAllByTitle: Or,
|
|
2299
|
-
getByTitle: jr,
|
|
2300
|
-
getAllByTitle: Ar,
|
|
2301
|
-
findAllByTitle: Mr,
|
|
2302
|
-
findByTitle: Nr,
|
|
2303
|
-
queryByRole: Br,
|
|
2304
|
-
queryAllByRole: zr,
|
|
2305
|
-
getAllByRole: Vr,
|
|
2306
|
-
getByRole: Hr,
|
|
2307
|
-
findAllByRole: Ur,
|
|
2308
|
-
findByRole: Wr,
|
|
2309
|
-
queryByTestId: Xr,
|
|
2310
|
-
queryAllByTestId: Yr,
|
|
2311
|
-
getByTestId: Qr,
|
|
2312
|
-
getAllByTestId: Zr,
|
|
2313
|
-
findAllByTestId: $r,
|
|
2314
|
-
findByTestId: ei
|
|
2315
|
-
});
|
|
2316
|
-
function ni(e, t, n) {
|
|
2317
|
-
return t === void 0 && (t = ti), n === void 0 && (n = {}), Object.keys(t).reduce((n, r) => (n[r] = t[r].bind(null, e), n), n);
|
|
2318
|
-
}
|
|
2319
|
-
var ri = {
|
|
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
|
-
}, ii = { doubleClick: "dblClick" };
|
|
3000
|
-
function X(e, t) {
|
|
3001
|
-
return R().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 ai(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 && oi(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 = Mt(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(ri).forEach((e) => {
|
|
3036
|
-
let { EventType: t, defaultInit: n } = ri[e], r = e.toLowerCase();
|
|
3037
|
-
ai[e] = (e, i) => ai(r, e, i, {
|
|
3038
|
-
EventType: t,
|
|
3039
|
-
defaultInit: n
|
|
3040
|
-
}), X[e] = (t, n) => X(t, ai[e](t, n));
|
|
3041
|
-
});
|
|
3042
|
-
function oi(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(ii).forEach((e) => {
|
|
3049
|
-
let t = ii[e];
|
|
3050
|
-
X[e] = function() {
|
|
3051
|
-
return X[t](...arguments);
|
|
3052
|
-
};
|
|
3053
|
-
});
|
|
3054
|
-
function si(e) {
|
|
3055
|
-
return e.replace(/[ \t]*[\n][ \t]*/g, "\n");
|
|
3056
|
-
}
|
|
3057
|
-
function ci(e) {
|
|
3058
|
-
return it.default.compressToEncodedURIComponent(si(e));
|
|
3059
|
-
}
|
|
3060
|
-
function li(e) {
|
|
3061
|
-
return "https://testing-playground.com/#markup=" + ci(e);
|
|
3062
|
-
}
|
|
3063
|
-
var ui = {
|
|
3064
|
-
debug: (e, t, n) => Array.isArray(e) ? e.forEach((e) => Rt(e, t, n)) : Rt(e, t, n),
|
|
3065
|
-
logTestingPlaygroundURL: function(e) {
|
|
3066
|
-
if (e === void 0 && (e = jt().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 = li(e.innerHTML);
|
|
3075
|
-
return console.log("Open this URL in your browser\n\n" + t), t;
|
|
3076
|
-
}
|
|
3077
|
-
}, di = typeof document < "u" && document.body ? ni(document.body, ti, ui) : Object.keys(ti).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), ui), fi = typeof a.act == "function" ? a.act : S.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
|
-
...R(),
|
|
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
|
-
Bt({
|
|
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 = C.hydrateRoot(e, Oi(ki(i, a), o), {
|
|
3180
|
-
onCaughtError: n,
|
|
3181
|
-
onRecoverableError: r
|
|
3182
|
-
});
|
|
3183
|
-
}) : s = C.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(I(e, n, r))) : console.log(I(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
|
-
...ni(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 { Sn as a, di as i, Ni as n, R as r, $ as t };
|
|
3296
|
-
|
|
3297
|
-
//# sourceMappingURL=react.esm-GvSawg5E.js.map
|