@tsed/react-formio 3.0.0-alpha.9 → 3.0.0-rc.2
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/all.d.ts +0 -0
- package/dist/all.js +38 -0
- package/dist/all.js.map +1 -0
- package/dist/atoms/icon/Icon.d.ts +4 -3
- package/dist/atoms/icon/Icon.js +9 -8
- package/dist/atoms/icon/Icon.js.map +1 -1
- package/dist/chunks/_baseClone.js +1268 -0
- package/dist/chunks/_baseClone.js.map +1 -0
- package/dist/chunks/_baseSlice.js +70 -0
- package/dist/chunks/_baseSlice.js.map +1 -0
- package/dist/chunks/_commonjsHelpers.js +30 -3
- package/dist/chunks/_commonjsHelpers.js.map +1 -1
- package/dist/chunks/_stringToArray.js +57 -0
- package/dist/chunks/_stringToArray.js.map +1 -0
- package/dist/chunks/camelCase.js +343 -0
- package/dist/chunks/camelCase.js.map +1 -0
- package/dist/chunks/cloneDeep.js +18 -0
- package/dist/chunks/cloneDeep.js.map +1 -0
- package/dist/chunks/index.js +33 -30
- package/dist/chunks/index.js.map +1 -1
- package/dist/chunks/index.module.js +16 -16
- package/dist/chunks/index.module.js.map +1 -1
- package/dist/chunks/index2.js +60074 -0
- package/dist/chunks/index2.js.map +1 -0
- package/dist/chunks/isEqual.js +8 -0
- package/dist/chunks/isEqual.js.map +1 -0
- package/dist/chunks/isEqual2.js +251 -0
- package/dist/chunks/isEqual2.js.map +1 -0
- package/dist/chunks/lodash.js +3678 -0
- package/dist/chunks/lodash.js.map +1 -0
- package/dist/chunks/noop.js +15 -0
- package/dist/chunks/noop.js.map +1 -0
- package/dist/chunks/omit.js +325 -0
- package/dist/chunks/omit.js.map +1 -0
- package/dist/chunks/react-select-animated.esm.js +1204 -1101
- package/dist/chunks/react-select-animated.esm.js.map +1 -1
- package/dist/contexts/FormioContext.d.ts +19 -0
- package/dist/contexts/FormioContext.js +35 -0
- package/dist/contexts/FormioContext.js.map +1 -0
- package/dist/hooks/keyboard.constants.d.ts +38 -0
- package/dist/hooks/keyboard.constants.js +7 -0
- package/dist/hooks/keyboard.constants.js.map +1 -0
- package/dist/hooks/useFormioContext.d.ts +10 -0
- package/dist/hooks/useFormioContext.js +12 -0
- package/dist/hooks/useFormioContext.js.map +1 -0
- package/dist/hooks/useI18n.d.ts +4 -0
- package/dist/hooks/useI18n.js +9 -0
- package/dist/hooks/useI18n.js.map +1 -0
- package/dist/hooks/useKeyboardControls.d.ts +12 -0
- package/dist/hooks/useKeyboardControls.js +35 -0
- package/dist/hooks/useKeyboardControls.js.map +1 -0
- package/dist/hooks/useTooltip.js.map +1 -1
- package/dist/index.d.ts +1 -6
- package/dist/index.js +18 -13
- package/dist/index.js.map +1 -1
- package/dist/interfaces/ComponentType.d.ts +6 -2
- package/dist/interfaces/FormBuilderOptions.d.ts +7 -0
- package/dist/interfaces/FormBuilderOptions.js +2 -0
- package/dist/interfaces/FormBuilderOptions.js.map +1 -0
- package/dist/interfaces/FormOptions.d.ts +6 -13
- package/dist/interfaces/FormType.d.ts +4 -11
- package/dist/interfaces/Operation.d.ts +13 -4
- package/dist/interfaces/SubmissionType.d.ts +5 -10
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/molecules/alert/Alert.js.map +1 -1
- package/dist/molecules/button/Button.d.ts +18 -5
- package/dist/molecules/button/Button.js +24 -28
- package/dist/molecules/button/Button.js.map +1 -1
- package/dist/molecules/card/Card.js +9 -7
- package/dist/molecules/card/Card.js.map +1 -1
- package/dist/molecules/forms/form-control/FormControl.js +22 -19
- package/dist/molecules/forms/form-control/FormControl.js.map +1 -1
- package/dist/molecules/forms/input-tags/InputTags.js +14 -14
- package/dist/molecules/forms/input-tags/InputTags.js.map +1 -1
- package/dist/molecules/forms/input-tags/components/ChoicesTags.d.ts +27 -27
- package/dist/molecules/forms/input-tags/components/ChoicesTags.js +32 -32
- package/dist/molecules/forms/input-tags/components/ChoicesTags.js.map +1 -1
- package/dist/molecules/forms/input-tags/components/ReactTags.js +289 -300
- package/dist/molecules/forms/input-tags/components/ReactTags.js.map +1 -1
- package/dist/molecules/forms/input-text/InputText.js +3 -3
- package/dist/molecules/forms/input-text/InputText.js.map +1 -1
- package/dist/molecules/forms/select/Select.interface.d.ts +5 -2
- package/dist/molecules/forms/select/Select.js.map +1 -1
- package/dist/molecules/forms/select/components/ChoicesSelect.js +70 -72
- package/dist/molecules/forms/select/components/ChoicesSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/HtmlSelect.js +8 -8
- package/dist/molecules/forms/select/components/HtmlSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/ReactSelect.js +13 -14
- package/dist/molecules/forms/select/components/ReactSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/choices.template.js +2340 -2257
- package/dist/molecules/forms/select/components/choices.template.js.map +1 -1
- package/dist/molecules/forms/select/hooks/useOptions.d.ts +1 -1
- package/dist/molecules/forms/select/hooks/useOptions.js +15 -15
- package/dist/molecules/forms/select/hooks/useOptions.js.map +1 -1
- package/dist/molecules/loader/Loader.d.ts +4 -4
- package/dist/molecules/loader/Loader.js +16 -8
- package/dist/molecules/loader/Loader.js.map +1 -1
- package/dist/molecules/modal/Modal.js +25 -23
- package/dist/molecules/modal/Modal.js.map +1 -1
- package/dist/molecules/pagination/Pagination.d.ts +7 -6
- package/dist/molecules/pagination/Pagination.js +48 -57
- package/dist/molecules/pagination/Pagination.js.map +1 -1
- package/dist/molecules/pagination/PaginationButton.js +10 -10
- package/dist/molecules/pagination/PaginationButton.js.map +1 -1
- package/dist/molecules/pagination/utils/getPageNumbers.js.map +1 -0
- package/dist/molecules/table/Table.d.ts +16 -2
- package/dist/molecules/table/Table.js +53 -77
- package/dist/molecules/table/Table.js.map +1 -1
- package/dist/molecules/table/all.d.ts +0 -0
- package/dist/molecules/table/all.js +19 -0
- package/dist/molecules/table/all.js.map +1 -0
- package/dist/molecules/table/components/DefaultArrowSort.d.ts +5 -1
- package/dist/molecules/table/components/DefaultArrowSort.js +17 -5
- package/dist/molecules/table/components/DefaultArrowSort.js.map +1 -1
- package/dist/molecules/table/components/DefaultCell.d.ts +5 -1
- package/dist/molecules/table/components/DefaultCell.js +8 -6
- package/dist/molecules/table/components/DefaultCell.js.map +1 -1
- package/dist/molecules/table/components/DefaultCellFooter.d.ts +6 -0
- package/dist/molecules/table/components/DefaultCellFooter.js +12 -0
- package/dist/molecules/table/components/DefaultCellFooter.js.map +1 -0
- package/dist/molecules/table/components/DefaultCellHeader.d.ts +5 -8
- package/dist/molecules/table/components/DefaultCellHeader.js +25 -9
- package/dist/molecules/table/components/DefaultCellHeader.js.map +1 -1
- package/dist/molecules/table/components/DefaultCellOperations.d.ts +16 -10
- package/dist/molecules/table/components/DefaultCellOperations.js +23 -14
- package/dist/molecules/table/components/DefaultCellOperations.js.map +1 -1
- package/dist/molecules/table/components/DefaultFilter.d.ts +11 -0
- package/dist/molecules/table/components/DefaultFilter.js +15 -0
- package/dist/molecules/table/components/DefaultFilter.js.map +1 -0
- package/dist/molecules/table/components/DefaultOperationButton.d.ts +16 -12
- package/dist/molecules/table/components/DefaultOperationButton.js +16 -31
- package/dist/molecules/table/components/DefaultOperationButton.js.map +1 -1
- package/dist/molecules/table/filters/Filters.d.js +2 -0
- package/dist/molecules/table/filters/Filters.d.js.map +1 -0
- package/dist/molecules/table/filters/RangeFilter.d.ts +3 -0
- package/dist/molecules/table/filters/RangeFilter.js +41 -0
- package/dist/molecules/table/filters/RangeFilter.js.map +1 -0
- package/dist/molecules/table/filters/SelectFilter.d.ts +3 -0
- package/dist/molecules/table/filters/SelectFilter.js +33 -0
- package/dist/molecules/table/filters/SelectFilter.js.map +1 -0
- package/dist/molecules/table/filters/TextFieldFilter.d.ts +3 -0
- package/dist/molecules/table/filters/TextFieldFilter.js +27 -0
- package/dist/molecules/table/filters/TextFieldFilter.js.map +1 -0
- package/dist/molecules/table/hooks/useTable.d.ts +23 -0
- package/dist/molecules/table/hooks/useTable.js +35 -0
- package/dist/molecules/table/hooks/useTable.js.map +1 -0
- package/dist/molecules/table/hooks/useUniqValues.d.ts +5 -0
- package/dist/molecules/table/hooks/useUniqValues.js +11 -0
- package/dist/molecules/table/hooks/useUniqValues.js.map +1 -0
- package/dist/molecules/table/interfaces/extends.d.ts +14 -0
- package/dist/molecules/table/interfaces/extends.js +2 -0
- package/dist/molecules/table/interfaces/extends.js.map +1 -0
- package/dist/molecules/table/utils/mapFormToColumns.d.ts +2 -2
- package/dist/molecules/table/utils/mapFormToColumns.js +35 -18
- package/dist/molecules/table/utils/mapFormToColumns.js.map +1 -1
- package/dist/molecules/tabs/Tab.d.ts +13 -0
- package/dist/molecules/tabs/Tab.js +66 -0
- package/dist/molecules/tabs/Tab.js.map +1 -0
- package/dist/molecules/tabs/TabList.d.ts +2 -0
- package/dist/molecules/tabs/TabList.js +23 -0
- package/dist/molecules/tabs/TabList.js.map +1 -0
- package/dist/molecules/tabs/TabPanel.d.ts +9 -0
- package/dist/molecules/tabs/TabPanel.js +27 -0
- package/dist/molecules/tabs/TabPanel.js.map +1 -0
- package/dist/molecules/tabs/Tabs.d.ts +4 -16
- package/dist/molecules/tabs/Tabs.js +7 -67
- package/dist/molecules/tabs/Tabs.js.map +1 -1
- package/dist/molecules/tabs/TabsBody.d.ts +1 -0
- package/dist/molecules/tabs/TabsBody.js +10 -0
- package/dist/molecules/tabs/TabsBody.js.map +1 -0
- package/dist/molecules/tabs/TabsLegacy.d.ts +18 -0
- package/dist/molecules/tabs/TabsLegacy.js +49 -0
- package/dist/molecules/tabs/TabsLegacy.js.map +1 -0
- package/dist/molecules/tabs/all.d.ts +5 -0
- package/dist/molecules/tabs/all.js +13 -0
- package/dist/molecules/tabs/all.js.map +1 -0
- package/dist/molecules/tabs/context/TabControl.d.ts +52 -0
- package/dist/molecules/tabs/context/TabControl.js +85 -0
- package/dist/molecules/tabs/context/TabControl.js.map +1 -0
- package/dist/molecules/tabs/hooks/tabControl.d.ts +44 -0
- package/dist/molecules/tabs/hooks/tabControl.js +34 -0
- package/dist/molecules/tabs/hooks/tabControl.js.map +1 -0
- package/dist/organisms/form/Form.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.js +41 -41
- package/dist/organisms/form/access/FormAccess.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.schema.js +1 -0
- package/dist/organisms/form/access/FormAccess.schema.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.utils.js +5 -5
- package/dist/organisms/form/access/FormAccess.utils.js.map +1 -1
- package/dist/organisms/form/actions/FormAction.js +34 -0
- package/dist/organisms/form/actions/FormAction.js.map +1 -0
- package/dist/organisms/form/builder/FormBuilder.js.map +1 -1
- package/dist/organisms/form/builder/FormEdit.d.ts +6 -3
- package/dist/organisms/form/builder/FormEdit.js +45 -42
- package/dist/organisms/form/builder/FormEdit.js.map +1 -1
- package/dist/organisms/form/builder/FormEdit.reducer.js +3 -3
- package/dist/organisms/form/builder/FormEdit.reducer.js.map +1 -1
- package/dist/organisms/form/builder/FormEditCtas.d.ts +2 -2
- package/dist/organisms/form/builder/FormEditCtas.js +36 -35
- package/dist/organisms/form/builder/FormEditCtas.js.map +1 -1
- package/dist/organisms/form/builder/FormParameters.js.map +1 -1
- package/dist/organisms/form/builder/useFormBuilder.d.ts +4 -4
- package/dist/organisms/form/builder/useFormBuilder.js +37 -34
- package/dist/organisms/form/builder/useFormBuilder.js.map +1 -1
- package/dist/organisms/form/builder/useFormEdit.d.ts +1 -1
- package/dist/organisms/form/builder/useFormEdit.js +10 -10
- package/dist/organisms/form/builder/useFormEdit.js.map +1 -1
- package/dist/organisms/form/exports/FormExport.d.ts +6 -0
- package/dist/organisms/form/exports/FormExport.js +56 -0
- package/dist/organisms/form/exports/FormExport.js.map +1 -0
- package/dist/organisms/form/preview/FormPreview.d.ts +6 -0
- package/dist/organisms/form/preview/FormPreview.js +12 -0
- package/dist/organisms/form/preview/FormPreview.js.map +1 -0
- package/dist/organisms/form/settings/FormSettings.js +28 -28
- package/dist/organisms/form/settings/FormSettings.js.map +1 -1
- package/dist/organisms/form/settings/FormSettings.schema.js.map +1 -1
- package/dist/organisms/form/settings/FormSettings.utils.js +1 -1
- package/dist/organisms/form/settings/FormSettings.utils.js.map +1 -1
- package/dist/organisms/form/useForm.d.ts +2 -1
- package/dist/organisms/form/useForm.js +664 -661
- package/dist/organisms/form/useForm.js.map +1 -1
- package/dist/organisms/modal/RemoveModal.js +16 -17
- package/dist/organisms/modal/RemoveModal.js.map +1 -1
- package/dist/organisms/table/actions/ActionsTable.d.ts +4 -3
- package/dist/organisms/table/actions/ActionsTable.js +19 -31
- package/dist/organisms/table/actions/ActionsTable.js.map +1 -1
- package/dist/organisms/table/forms/FormsTable.d.ts +2 -3
- package/dist/organisms/table/forms/FormsTable.js +48 -27
- package/dist/organisms/table/forms/FormsTable.js.map +1 -1
- package/dist/organisms/table/forms/components/FormsCell.d.ts +5 -0
- package/dist/organisms/table/forms/components/FormsCell.js +50 -0
- package/dist/organisms/table/forms/components/FormsCell.js.map +1 -0
- package/dist/organisms/table/submissions/SubmissionsTable.d.ts +12 -4
- package/dist/organisms/table/submissions/SubmissionsTable.js +10 -17
- package/dist/organisms/table/submissions/SubmissionsTable.js.map +1 -1
- package/dist/organisms/views/FormViews.d.ts +24 -0
- package/dist/organisms/views/FormViews.js +97 -0
- package/dist/organisms/views/FormViews.js.map +1 -0
- package/dist/registries/components.js +12 -11
- package/dist/registries/components.js.map +1 -1
- package/dist/utils/getEventValue.js.map +1 -1
- package/dist/utils/iconClass.js +4 -5
- package/dist/utils/iconClass.js.map +1 -1
- package/dist/utils/mapPagination.js.map +1 -1
- package/dist/utils/stopPropagationWrapper.js.map +1 -1
- package/package.json +10 -8
- package/readme.md +19 -12
- package/src/all.ts +34 -0
- package/src/atoms/icon/Icon.stories.tsx +71 -22
- package/src/atoms/icon/Icon.tsx +14 -4
- package/src/contexts/FormioContext.tsx +89 -0
- package/src/hooks/keyboard.constants.ts +40 -0
- package/src/hooks/useFormioContext.ts +13 -0
- package/src/hooks/useI18n.ts +9 -0
- package/src/hooks/useKeyboardControls.spec.tsx +208 -0
- package/src/hooks/useKeyboardControls.ts +84 -0
- package/src/index.ts +17 -13
- package/src/interfaces/ComponentType.ts +2 -2
- package/src/interfaces/FormBuilderOptions.ts +9 -0
- package/src/interfaces/FormOptions.ts +7 -13
- package/src/interfaces/FormType.ts +5 -11
- package/src/interfaces/Operation.ts +10 -4
- package/src/interfaces/SubmissionType.ts +9 -8
- package/src/interfaces/index.ts +1 -0
- package/src/molecules/__fixtures__/build.js +28 -0
- package/src/molecules/__fixtures__/form-schema.json +76 -195
- package/src/molecules/__fixtures__/form-submissions.json +11846 -46
- package/src/molecules/__fixtures__/products.json +81539 -0
- package/src/molecules/button/Button.stories.tsx +1 -1
- package/src/molecules/button/Button.tsx +43 -24
- package/src/molecules/card/Card.tsx +4 -0
- package/src/molecules/forms/form-control/FormControl.spec.tsx +5 -2
- package/src/molecules/forms/form-control/FormControl.stories.tsx +1 -1
- package/src/molecules/forms/input-tags/InputTags.tsx +1 -1
- package/src/molecules/forms/input-tags/components/ChoicesTags.stories.tsx +1 -1
- package/src/molecules/forms/input-tags/components/ChoicesTags.tsx +4 -4
- package/src/molecules/forms/input-tags/components/ReactTags.stories.tsx +1 -1
- package/src/molecules/forms/input-text/InputText.stories.tsx +2 -2
- package/src/molecules/forms/select/Select.interface.ts +5 -2
- package/src/molecules/forms/select/components/ChoicesSelect.stories.tsx +2 -2
- package/src/molecules/forms/select/components/ChoicesSelect.tsx +2 -2
- package/src/molecules/forms/select/components/HtmlSelect.stories.tsx +2 -2
- package/src/molecules/forms/select/components/ReactSelect.stories.tsx +2 -2
- package/src/molecules/forms/select/hooks/useOptions.ts +5 -1
- package/src/molecules/loader/Loader.spec.tsx +2 -2
- package/src/molecules/loader/Loader.stories.tsx +7 -4
- package/src/molecules/loader/Loader.tsx +16 -6
- package/src/molecules/modal/Modal.stories.tsx +1 -1
- package/src/molecules/pagination/Pagination.spec.tsx +11 -11
- package/src/molecules/pagination/Pagination.stories.tsx +32 -10
- package/src/molecules/pagination/Pagination.tsx +28 -25
- package/src/molecules/table/Table.stories.tsx +284 -101
- package/src/molecules/table/Table.tsx +91 -86
- package/src/molecules/table/all.ts +16 -0
- package/src/molecules/table/components/DefaultArrowSort.tsx +20 -4
- package/src/molecules/table/components/DefaultCell.tsx +10 -1
- package/src/molecules/table/components/DefaultCellFooter.tsx +16 -0
- package/src/molecules/table/components/DefaultCellHeader.tsx +33 -13
- package/src/molecules/table/components/DefaultCellOperations.tsx +31 -20
- package/src/molecules/table/components/DefaultFilter.tsx +42 -0
- package/src/molecules/table/components/DefaultOperationButton.tsx +19 -34
- package/src/molecules/table/filters/Filters.d.ts +31 -0
- package/src/molecules/table/filters/RangeFilter.tsx +43 -0
- package/src/molecules/table/filters/SelectFilter.tsx +47 -0
- package/src/molecules/table/filters/TextFieldFilter.tsx +36 -0
- package/src/molecules/table/hooks/useTable.tsx +76 -0
- package/src/molecules/table/hooks/useUniqValues.tsx +10 -0
- package/src/molecules/table/interfaces/extends.ts +18 -0
- package/src/molecules/table/utils/mapFormToColumns.tsx +69 -26
- package/src/molecules/tabs/Tab.tsx +106 -0
- package/src/molecules/tabs/TabList.tsx +37 -0
- package/src/molecules/tabs/TabPanel.tsx +37 -0
- package/src/molecules/tabs/Tabs.spec.tsx +126 -73
- package/src/molecules/tabs/Tabs.stories.tsx +298 -65
- package/src/molecules/tabs/Tabs.tsx +10 -81
- package/src/molecules/tabs/TabsBody.tsx +11 -0
- package/src/molecules/tabs/TabsLegacy.stories.tsx +103 -0
- package/src/molecules/tabs/TabsLegacy.tsx +86 -0
- package/src/molecules/tabs/all.ts +5 -0
- package/src/molecules/tabs/context/TabControl.tsx +166 -0
- package/src/molecules/tabs/hooks/tabControl.spec.tsx +388 -0
- package/src/molecules/tabs/hooks/tabControl.ts +52 -0
- package/src/organisms/__fixtures__/form-firstname.fixture.json +1 -0
- package/src/organisms/__fixtures__/form.fixture.json +1 -0
- package/src/organisms/form/Form.stories.tsx +104 -124
- package/src/organisms/form/access/FormAccess.schema.ts +1 -0
- package/src/organisms/form/access/FormAccess.stories.tsx +6 -4
- package/src/organisms/form/actions/FormAction.stories.tsx +426 -0
- package/src/organisms/form/{action → actions}/FormAction.tsx +2 -2
- package/src/organisms/form/builder/FormBuilder.stories.tsx +7 -4
- package/src/organisms/form/builder/FormEdit.reducer.spec.ts +136 -0
- package/src/organisms/form/builder/FormEdit.stories.tsx +11 -7
- package/src/organisms/form/builder/FormEdit.tsx +12 -6
- package/src/organisms/form/builder/FormEditCtas.tsx +10 -10
- package/src/organisms/form/builder/useFormBuilder.ts +12 -7
- package/src/organisms/form/builder/useFormEdit.ts +1 -1
- package/src/organisms/form/exports/FormExport.stories.tsx +68 -0
- package/src/organisms/form/exports/FormExport.tsx +61 -0
- package/src/organisms/form/preview/FormPreview.stories.tsx +58 -0
- package/src/organisms/form/preview/FormPreview.tsx +23 -0
- package/src/organisms/form/settings/FormSettings.component.spec.tsx +3 -1
- package/src/organisms/form/settings/FormSettings.stories.tsx +2 -2
- package/src/organisms/form/settings/FormSettings.tsx +6 -6
- package/src/organisms/form/useForm.ts +2 -3
- package/src/organisms/modal/RemoveModal.stories.tsx +1 -1
- package/src/organisms/table/actions/ActionsTable.spec.tsx +7 -5
- package/src/organisms/table/actions/ActionsTable.stories.tsx +48 -45
- package/src/organisms/table/actions/ActionsTable.tsx +13 -17
- package/src/organisms/table/forms/FormsTable.stories.tsx +2 -0
- package/src/organisms/table/forms/FormsTable.tsx +53 -23
- package/src/organisms/table/forms/components/FormsCell.tsx +53 -0
- package/src/organisms/table/submissions/SubmissionsTable.stories.tsx +101 -57
- package/src/organisms/table/submissions/SubmissionsTable.tsx +12 -5
- package/src/organisms/views/FormViews.stories.tsx +221 -0
- package/src/organisms/views/FormViews.tsx +148 -0
- package/src/registries/components.ts +7 -1
- package/src/utils/iconClass.ts +1 -3
- package/vite.config.mts +14 -7
- package/dist/molecules/table/components/DefaultCells.d.ts +0 -4
- package/dist/molecules/table/components/DefaultCells.js +0 -23
- package/dist/molecules/table/components/DefaultCells.js.map +0 -1
- package/dist/molecules/table/components/DefaultRow.d.ts +0 -12
- package/dist/molecules/table/components/DefaultRow.js +0 -26
- package/dist/molecules/table/components/DefaultRow.js.map +0 -1
- package/dist/molecules/table/components/DragNDropContainer.d.ts +0 -4
- package/dist/molecules/table/components/DragNDropContainer.js +0 -10
- package/dist/molecules/table/components/DragNDropContainer.js.map +0 -1
- package/dist/molecules/table/filters/DefaultColumnFilter.d.ts +0 -10
- package/dist/molecules/table/filters/DefaultColumnFilter.js +0 -29
- package/dist/molecules/table/filters/DefaultColumnFilter.js.map +0 -1
- package/dist/molecules/table/filters/SelectColumnFilter.d.ts +0 -10
- package/dist/molecules/table/filters/SelectColumnFilter.js +0 -34
- package/dist/molecules/table/filters/SelectColumnFilter.js.map +0 -1
- package/dist/molecules/table/filters/SliderColumnFilter.d.ts +0 -9
- package/dist/molecules/table/filters/SliderColumnFilter.js +0 -27
- package/dist/molecules/table/filters/SliderColumnFilter.js.map +0 -1
- package/dist/molecules/table/hooks/useCustomTable.d.ts +0 -128
- package/dist/molecules/table/hooks/useCustomTable.js +0 -130
- package/dist/molecules/table/hooks/useCustomTable.js.map +0 -1
- package/dist/molecules/table/hooks/useDragnDropRow.d.ts +0 -272
- package/dist/molecules/table/hooks/useDragnDropRow.js +0 -40
- package/dist/molecules/table/hooks/useDragnDropRow.js.map +0 -1
- package/dist/molecules/table/hooks/useOperations.d.ts +0 -11
- package/dist/molecules/table/hooks/useOperations.js +0 -25
- package/dist/molecules/table/hooks/useOperations.js.map +0 -1
- package/dist/molecules/table/index.d.ts +0 -15
- package/dist/molecules/table/index.js +0 -35
- package/dist/molecules/table/index.js.map +0 -1
- package/dist/molecules/table/utils/getPageNumbers.js.map +0 -1
- package/dist/molecules/table/utils/swapElements.d.ts +0 -1
- package/dist/molecules/table/utils/swapElements.js +0 -5
- package/dist/molecules/table/utils/swapElements.js.map +0 -1
- package/dist/organisms/form/action/FormAction.js +0 -32
- package/dist/organisms/form/action/FormAction.js.map +0 -1
- package/dist/organisms/table/forms/components/FormCell.d.ts +0 -6
- package/dist/organisms/table/forms/components/FormCell.js +0 -50
- package/dist/organisms/table/forms/components/FormCell.js.map +0 -1
- package/dist/typings.d.js +0 -2
- package/dist/typings.d.js.map +0 -1
- package/src/molecules/table/components/DefaultCells.tsx +0 -30
- package/src/molecules/table/components/DefaultRow.tsx +0 -52
- package/src/molecules/table/components/DragNDropContainer.tsx +0 -7
- package/src/molecules/table/filters/DefaultColumnFilter.spec.tsx +0 -33
- package/src/molecules/table/filters/DefaultColumnFilter.tsx +0 -38
- package/src/molecules/table/filters/SelectColumnFilter.spec.tsx +0 -68
- package/src/molecules/table/filters/SelectColumnFilter.tsx +0 -51
- package/src/molecules/table/filters/SliderColumnFilter.tsx +0 -28
- package/src/molecules/table/hooks/useCustomTable.tsx +0 -268
- package/src/molecules/table/hooks/useDragnDropRow.ts +0 -80
- package/src/molecules/table/hooks/useOperations.tsx +0 -39
- package/src/molecules/table/index.ts +0 -15
- package/src/molecules/table/utils/swapElements.spec.ts +0 -7
- package/src/molecules/table/utils/swapElements.ts +0 -7
- package/src/organisms/form/action/FormAction.stories.tsx +0 -364
- package/src/organisms/table/forms/components/FormCell.tsx +0 -47
- package/src/typings.d.ts +0 -3
- package/tsconfig.app.json +0 -11
- package/tsconfig.json +0 -21
- package/tsconfig.node.json +0 -13
- package/tsconfig.spec.json +0 -14
- /package/dist/molecules/{table → pagination}/utils/getPageNumbers.d.ts +0 -0
- /package/dist/molecules/{table → pagination}/utils/getPageNumbers.js +0 -0
- /package/dist/organisms/form/{action → actions}/FormAction.d.ts +0 -0
- /package/src/molecules/{table → pagination}/utils/getPageNumbers.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import ue, { forwardRef as
|
|
3
|
-
import Me, { createPortal as
|
|
4
|
-
import { g as
|
|
1
|
+
import * as F from "react";
|
|
2
|
+
import ue, { forwardRef as Un, useContext as bn, useLayoutEffect as Qn, useRef as we, useState as Ie, useMemo as _n, useCallback as ut, createContext as $n, isValidElement as Le, cloneElement as De, Children as Kn, useEffect as It } from "react";
|
|
3
|
+
import Me, { createPortal as qn } from "react-dom";
|
|
4
|
+
import { g as er } from "./_commonjsHelpers.js";
|
|
5
5
|
function Ae(t) {
|
|
6
6
|
"@babel/helpers - typeof";
|
|
7
7
|
return Ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -10,29 +10,29 @@ function Ae(t) {
|
|
|
10
10
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
11
11
|
}, Ae(t);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function tr(t, e) {
|
|
14
14
|
if (Ae(t) != "object" || !t) return t;
|
|
15
15
|
var n = t[Symbol.toPrimitive];
|
|
16
16
|
if (n !== void 0) {
|
|
17
|
-
var r = n.call(t, e
|
|
17
|
+
var r = n.call(t, e);
|
|
18
18
|
if (Ae(r) != "object") return r;
|
|
19
19
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20
20
|
}
|
|
21
21
|
return (e === "string" ? String : Number)(t);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
var e =
|
|
23
|
+
function nr(t) {
|
|
24
|
+
var e = tr(t, "string");
|
|
25
25
|
return Ae(e) == "symbol" ? e : e + "";
|
|
26
26
|
}
|
|
27
27
|
function Te(t, e, n) {
|
|
28
|
-
return (e =
|
|
28
|
+
return (e = nr(e)) in t ? Object.defineProperty(t, e, {
|
|
29
29
|
value: n,
|
|
30
30
|
enumerable: !0,
|
|
31
31
|
configurable: !0,
|
|
32
32
|
writable: !0
|
|
33
33
|
}) : t[e] = n, t;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function zt(t, e) {
|
|
36
36
|
var n = Object.keys(t);
|
|
37
37
|
if (Object.getOwnPropertySymbols) {
|
|
38
38
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -42,18 +42,18 @@ function Ot(t, e) {
|
|
|
42
42
|
}
|
|
43
43
|
return n;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function P(t) {
|
|
46
46
|
for (var e = 1; e < arguments.length; e++) {
|
|
47
47
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
48
|
-
e % 2 ?
|
|
48
|
+
e % 2 ? zt(Object(n), !0).forEach(function(r) {
|
|
49
49
|
Te(t, r, n[r]);
|
|
50
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
50
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : zt(Object(n)).forEach(function(r) {
|
|
51
51
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
return t;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Tt(t, e) {
|
|
57
57
|
if (t == null) return {};
|
|
58
58
|
var n = {};
|
|
59
59
|
for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
|
|
@@ -64,18 +64,18 @@ function nr(t, e) {
|
|
|
64
64
|
}
|
|
65
65
|
function ee(t, e) {
|
|
66
66
|
if (t == null) return {};
|
|
67
|
-
var n, r, i =
|
|
67
|
+
var n, r, i = Tt(t, e);
|
|
68
68
|
if (Object.getOwnPropertySymbols) {
|
|
69
69
|
var a = Object.getOwnPropertySymbols(t);
|
|
70
70
|
for (r = 0; r < a.length; r++) n = a[r], e.includes(n) || {}.propertyIsEnumerable.call(t, n) && (i[n] = t[n]);
|
|
71
71
|
}
|
|
72
72
|
return i;
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var jt = Number.isNaN || function(e) {
|
|
75
75
|
return typeof e == "number" && e !== e;
|
|
76
76
|
};
|
|
77
77
|
function rr(t, e) {
|
|
78
|
-
return !!(t === e ||
|
|
78
|
+
return !!(t === e || jt(t) && jt(e));
|
|
79
79
|
}
|
|
80
80
|
function ir(t, e) {
|
|
81
81
|
if (t.length !== e.length)
|
|
@@ -113,34 +113,33 @@ function W() {
|
|
|
113
113
|
return t;
|
|
114
114
|
}, W.apply(null, arguments);
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
function cr(t) {
|
|
116
|
+
function or(t) {
|
|
118
117
|
if (t.sheet)
|
|
119
118
|
return t.sheet;
|
|
120
119
|
for (var e = 0; e < document.styleSheets.length; e++)
|
|
121
120
|
if (document.styleSheets[e].ownerNode === t)
|
|
122
121
|
return document.styleSheets[e];
|
|
123
122
|
}
|
|
124
|
-
function
|
|
123
|
+
function cr(t) {
|
|
125
124
|
var e = document.createElement("style");
|
|
126
125
|
return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
|
|
127
126
|
}
|
|
128
|
-
var
|
|
127
|
+
var ur = /* @__PURE__ */ (function() {
|
|
129
128
|
function t(n) {
|
|
130
129
|
var r = this;
|
|
131
130
|
this._insertTag = function(i) {
|
|
132
131
|
var a;
|
|
133
132
|
r.tags.length === 0 ? r.insertionPoint ? a = r.insertionPoint.nextSibling : r.prepend ? a = r.container.firstChild : a = r.before : a = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, a), r.tags.push(i);
|
|
134
|
-
}, this.isSpeedy = n.speedy === void 0 ? !
|
|
133
|
+
}, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
|
|
135
134
|
}
|
|
136
135
|
var e = t.prototype;
|
|
137
136
|
return e.hydrate = function(r) {
|
|
138
137
|
r.forEach(this._insertTag);
|
|
139
138
|
}, e.insert = function(r) {
|
|
140
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
139
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(cr(this));
|
|
141
140
|
var i = this.tags[this.tags.length - 1];
|
|
142
141
|
if (this.isSpeedy) {
|
|
143
|
-
var a =
|
|
142
|
+
var a = or(i);
|
|
144
143
|
try {
|
|
145
144
|
a.insertRule(r, a.cssRules.length);
|
|
146
145
|
} catch {
|
|
@@ -154,20 +153,20 @@ var sr = /* @__PURE__ */ function() {
|
|
|
154
153
|
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
155
154
|
}), this.tags = [], this.ctr = 0;
|
|
156
155
|
}, t;
|
|
157
|
-
}(),
|
|
158
|
-
function
|
|
156
|
+
})(), Q = "-ms-", _e = "-moz-", Y = "-webkit-", vn = "comm", Bt = "rule", wt = "decl", sr = "@import", pn = "@keyframes", lr = "@layer", dr = Math.abs, nt = String.fromCharCode, gr = Object.assign;
|
|
157
|
+
function fr(t, e) {
|
|
159
158
|
return k(t, 0) ^ 45 ? (((e << 2 ^ k(t, 0)) << 2 ^ k(t, 1)) << 2 ^ k(t, 2)) << 2 ^ k(t, 3) : 0;
|
|
160
159
|
}
|
|
161
|
-
function
|
|
160
|
+
function mn(t) {
|
|
162
161
|
return t.trim();
|
|
163
162
|
}
|
|
164
|
-
function
|
|
163
|
+
function br(t, e) {
|
|
165
164
|
return (t = e.exec(t)) ? t[0] : t;
|
|
166
165
|
}
|
|
167
|
-
function
|
|
166
|
+
function O(t, e, n) {
|
|
168
167
|
return t.replace(e, n);
|
|
169
168
|
}
|
|
170
|
-
function
|
|
169
|
+
function ht(t, e) {
|
|
171
170
|
return t.indexOf(e);
|
|
172
171
|
}
|
|
173
172
|
function k(t, e) {
|
|
@@ -179,48 +178,50 @@ function Ee(t, e, n) {
|
|
|
179
178
|
function re(t) {
|
|
180
179
|
return t.length;
|
|
181
180
|
}
|
|
182
|
-
function
|
|
181
|
+
function Et(t) {
|
|
183
182
|
return t.length;
|
|
184
183
|
}
|
|
185
184
|
function Ye(t, e) {
|
|
186
185
|
return e.push(t), t;
|
|
187
186
|
}
|
|
188
|
-
function
|
|
187
|
+
function vr(t, e) {
|
|
189
188
|
return t.map(e).join("");
|
|
190
189
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
193
|
-
return { value: t, root: e, parent: n, type: r, props: i, children: a, line:
|
|
190
|
+
var rt = 1, Ge = 1, In = 0, $ = 0, D = 0, Re = "";
|
|
191
|
+
function it(t, e, n, r, i, a, o) {
|
|
192
|
+
return { value: t, root: e, parent: n, type: r, props: i, children: a, line: rt, column: Ge, length: o, return: "" };
|
|
194
193
|
}
|
|
195
194
|
function Se(t, e) {
|
|
196
|
-
return
|
|
195
|
+
return gr(it("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
|
197
196
|
}
|
|
198
197
|
function pr() {
|
|
199
198
|
return D;
|
|
200
199
|
}
|
|
201
|
-
function
|
|
202
|
-
return D =
|
|
200
|
+
function mr() {
|
|
201
|
+
return D = $ > 0 ? k(Re, --$) : 0, Ge--, D === 10 && (Ge = 1, rt--), D;
|
|
203
202
|
}
|
|
204
203
|
function q() {
|
|
205
|
-
return D =
|
|
204
|
+
return D = $ < In ? k(Re, $++) : 0, Ge++, D === 10 && (Ge = 1, rt++), D;
|
|
206
205
|
}
|
|
207
206
|
function ae() {
|
|
208
|
-
return k(Re,
|
|
207
|
+
return k(Re, $);
|
|
209
208
|
}
|
|
210
|
-
function
|
|
211
|
-
return
|
|
209
|
+
function ke() {
|
|
210
|
+
return $;
|
|
212
211
|
}
|
|
213
212
|
function Ve(t, e) {
|
|
214
213
|
return Ee(Re, t, e);
|
|
215
214
|
}
|
|
216
215
|
function Xe(t) {
|
|
217
216
|
switch (t) {
|
|
217
|
+
// \0 \t \n \r \s whitespace token
|
|
218
218
|
case 0:
|
|
219
219
|
case 9:
|
|
220
220
|
case 10:
|
|
221
221
|
case 13:
|
|
222
222
|
case 32:
|
|
223
223
|
return 5;
|
|
224
|
+
// ! + , / > @ ~ isolate token
|
|
224
225
|
case 33:
|
|
225
226
|
case 43:
|
|
226
227
|
case 44:
|
|
@@ -228,255 +229,281 @@ function Xe(t) {
|
|
|
228
229
|
case 62:
|
|
229
230
|
case 64:
|
|
230
231
|
case 126:
|
|
232
|
+
// ; { } breakpoint token
|
|
231
233
|
case 59:
|
|
232
234
|
case 123:
|
|
233
235
|
case 125:
|
|
234
236
|
return 4;
|
|
237
|
+
// : accompanied token
|
|
235
238
|
case 58:
|
|
236
239
|
return 3;
|
|
240
|
+
// " ' ( [ opening delimit token
|
|
237
241
|
case 34:
|
|
238
242
|
case 39:
|
|
239
243
|
case 40:
|
|
240
244
|
case 91:
|
|
241
245
|
return 2;
|
|
246
|
+
// ) ] closing delimit token
|
|
242
247
|
case 41:
|
|
243
248
|
case 93:
|
|
244
249
|
return 1;
|
|
245
250
|
}
|
|
246
251
|
return 0;
|
|
247
252
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
253
|
+
function hn(t) {
|
|
254
|
+
return rt = Ge = 1, In = re(Re = t), $ = 0, [];
|
|
250
255
|
}
|
|
251
|
-
function
|
|
256
|
+
function Cn(t) {
|
|
252
257
|
return Re = "", t;
|
|
253
258
|
}
|
|
254
|
-
function
|
|
255
|
-
return
|
|
259
|
+
function Ue(t) {
|
|
260
|
+
return mn(Ve($ - 1, Ct(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
256
261
|
}
|
|
257
|
-
function
|
|
262
|
+
function Ir(t) {
|
|
258
263
|
for (; (D = ae()) && D < 33; )
|
|
259
264
|
q();
|
|
260
265
|
return Xe(t) > 2 || Xe(D) > 3 ? "" : " ";
|
|
261
266
|
}
|
|
262
|
-
function
|
|
267
|
+
function hr(t, e) {
|
|
263
268
|
for (; --e && q() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
|
|
264
269
|
;
|
|
265
|
-
return Ve(t,
|
|
270
|
+
return Ve(t, ke() + (e < 6 && ae() == 32 && q() == 32));
|
|
266
271
|
}
|
|
267
|
-
function
|
|
272
|
+
function Ct(t) {
|
|
268
273
|
for (; q(); )
|
|
269
274
|
switch (D) {
|
|
275
|
+
// ] ) " '
|
|
270
276
|
case t:
|
|
271
|
-
return
|
|
277
|
+
return $;
|
|
278
|
+
// " '
|
|
272
279
|
case 34:
|
|
273
280
|
case 39:
|
|
274
|
-
t !== 34 && t !== 39 &&
|
|
281
|
+
t !== 34 && t !== 39 && Ct(D);
|
|
275
282
|
break;
|
|
283
|
+
// (
|
|
276
284
|
case 40:
|
|
277
|
-
t === 41 &&
|
|
285
|
+
t === 41 && Ct(t);
|
|
278
286
|
break;
|
|
287
|
+
// \
|
|
279
288
|
case 92:
|
|
280
289
|
q();
|
|
281
290
|
break;
|
|
282
291
|
}
|
|
283
|
-
return
|
|
292
|
+
return $;
|
|
284
293
|
}
|
|
285
|
-
function
|
|
294
|
+
function Cr(t, e) {
|
|
286
295
|
for (; q() && t + D !== 57; )
|
|
287
296
|
if (t + D === 84 && ae() === 47)
|
|
288
297
|
break;
|
|
289
|
-
return "/*" + Ve(e,
|
|
298
|
+
return "/*" + Ve(e, $ - 1) + "*" + nt(t === 47 ? t : q());
|
|
290
299
|
}
|
|
291
|
-
function
|
|
300
|
+
function yr(t) {
|
|
292
301
|
for (; !Xe(ae()); )
|
|
293
302
|
q();
|
|
294
|
-
return Ve(t,
|
|
303
|
+
return Ve(t, $);
|
|
295
304
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
305
|
+
function xr(t) {
|
|
306
|
+
return Cn(Qe("", null, null, null, [""], t = hn(t), 0, [0], t));
|
|
298
307
|
}
|
|
299
|
-
function
|
|
300
|
-
for (var s = 0, l = 0,
|
|
301
|
-
switch (
|
|
308
|
+
function Qe(t, e, n, r, i, a, o, c, u) {
|
|
309
|
+
for (var s = 0, l = 0, b = o, m = 0, x = 0, C = 0, v = 1, h = 1, f = 1, G = 0, A = "", R = i, d = a, T = r, y = A; h; )
|
|
310
|
+
switch (C = G, G = q()) {
|
|
311
|
+
// (
|
|
302
312
|
case 40:
|
|
303
|
-
if (
|
|
304
|
-
|
|
313
|
+
if (C != 108 && k(y, b - 1) == 58) {
|
|
314
|
+
ht(y += O(Ue(G), "&", "&\f"), "&\f") != -1 && (f = -1);
|
|
305
315
|
break;
|
|
306
316
|
}
|
|
317
|
+
// " ' [
|
|
307
318
|
case 34:
|
|
308
319
|
case 39:
|
|
309
320
|
case 91:
|
|
310
|
-
|
|
321
|
+
y += Ue(G);
|
|
311
322
|
break;
|
|
323
|
+
// \t \n \r \s
|
|
312
324
|
case 9:
|
|
313
325
|
case 10:
|
|
314
326
|
case 13:
|
|
315
327
|
case 32:
|
|
316
|
-
|
|
328
|
+
y += Ir(C);
|
|
317
329
|
break;
|
|
330
|
+
// \
|
|
318
331
|
case 92:
|
|
319
|
-
|
|
332
|
+
y += hr(ke() - 1, 7);
|
|
320
333
|
continue;
|
|
334
|
+
// /
|
|
321
335
|
case 47:
|
|
322
336
|
switch (ae()) {
|
|
323
337
|
case 42:
|
|
324
338
|
case 47:
|
|
325
|
-
Ye(
|
|
339
|
+
Ye(Ar(Cr(q(), ke()), e, n), u);
|
|
326
340
|
break;
|
|
327
341
|
default:
|
|
328
|
-
|
|
342
|
+
y += "/";
|
|
329
343
|
}
|
|
330
344
|
break;
|
|
345
|
+
// {
|
|
331
346
|
case 123 * v:
|
|
332
|
-
c[s++] = re(
|
|
347
|
+
c[s++] = re(y) * f;
|
|
348
|
+
// } ; \0
|
|
333
349
|
case 125 * v:
|
|
334
350
|
case 59:
|
|
335
351
|
case 0:
|
|
336
|
-
switch (
|
|
352
|
+
switch (G) {
|
|
353
|
+
// \0 }
|
|
337
354
|
case 0:
|
|
338
355
|
case 125:
|
|
339
356
|
h = 0;
|
|
357
|
+
// ;
|
|
340
358
|
case 59 + l:
|
|
341
|
-
|
|
359
|
+
f == -1 && (y = O(y, /\f/g, "")), x > 0 && re(y) - b && Ye(x > 32 ? Lt(y + ";", r, n, b - 1) : Lt(O(y, " ", "") + ";", r, n, b - 2), u);
|
|
342
360
|
break;
|
|
361
|
+
// @ ;
|
|
343
362
|
case 59:
|
|
344
|
-
|
|
363
|
+
y += ";";
|
|
364
|
+
// { rule/at-rule
|
|
345
365
|
default:
|
|
346
|
-
if (Ye(
|
|
366
|
+
if (Ye(T = Ft(y, e, n, s, l, i, c, A, R = [], d = [], b), a), G === 123)
|
|
347
367
|
if (l === 0)
|
|
348
|
-
|
|
368
|
+
Qe(y, e, T, T, R, a, b, c, d);
|
|
349
369
|
else
|
|
350
|
-
switch (
|
|
370
|
+
switch (m === 99 && k(y, 3) === 110 ? 100 : m) {
|
|
371
|
+
// d l m s
|
|
351
372
|
case 100:
|
|
352
373
|
case 108:
|
|
353
374
|
case 109:
|
|
354
375
|
case 115:
|
|
355
|
-
|
|
376
|
+
Qe(t, T, T, r && Ye(Ft(t, T, T, 0, 0, i, c, A, i, R = [], b), d), i, d, b, c, r ? R : d);
|
|
356
377
|
break;
|
|
357
378
|
default:
|
|
358
|
-
|
|
379
|
+
Qe(y, T, T, T, [""], d, 0, c, d);
|
|
359
380
|
}
|
|
360
381
|
}
|
|
361
|
-
s = l =
|
|
382
|
+
s = l = x = 0, v = f = 1, A = y = "", b = o;
|
|
362
383
|
break;
|
|
384
|
+
// :
|
|
363
385
|
case 58:
|
|
364
|
-
|
|
386
|
+
b = 1 + re(y), x = C;
|
|
365
387
|
default:
|
|
366
388
|
if (v < 1) {
|
|
367
|
-
if (
|
|
389
|
+
if (G == 123)
|
|
368
390
|
--v;
|
|
369
|
-
else if (
|
|
391
|
+
else if (G == 125 && v++ == 0 && mr() == 125)
|
|
370
392
|
continue;
|
|
371
393
|
}
|
|
372
|
-
switch (
|
|
394
|
+
switch (y += nt(G), G * v) {
|
|
395
|
+
// &
|
|
373
396
|
case 38:
|
|
374
|
-
|
|
397
|
+
f = l > 0 ? 1 : (y += "\f", -1);
|
|
375
398
|
break;
|
|
399
|
+
// ,
|
|
376
400
|
case 44:
|
|
377
|
-
c[s++] = (re(
|
|
401
|
+
c[s++] = (re(y) - 1) * f, f = 1;
|
|
378
402
|
break;
|
|
403
|
+
// @
|
|
379
404
|
case 64:
|
|
380
|
-
ae() === 45 && (
|
|
405
|
+
ae() === 45 && (y += Ue(q())), m = ae(), l = b = re(A = y += yr(ke())), G++;
|
|
381
406
|
break;
|
|
407
|
+
// -
|
|
382
408
|
case 45:
|
|
383
|
-
|
|
409
|
+
C === 45 && re(y) == 2 && (v = 0);
|
|
384
410
|
}
|
|
385
411
|
}
|
|
386
412
|
return a;
|
|
387
413
|
}
|
|
388
|
-
function
|
|
389
|
-
for (var
|
|
390
|
-
for (var
|
|
391
|
-
(
|
|
392
|
-
return
|
|
414
|
+
function Ft(t, e, n, r, i, a, o, c, u, s, l) {
|
|
415
|
+
for (var b = i - 1, m = i === 0 ? a : [""], x = Et(m), C = 0, v = 0, h = 0; C < r; ++C)
|
|
416
|
+
for (var f = 0, G = Ee(t, b + 1, b = dr(v = o[C])), A = t; f < x; ++f)
|
|
417
|
+
(A = mn(v > 0 ? m[f] + " " + G : O(G, /&\f/g, m[f]))) && (u[h++] = A);
|
|
418
|
+
return it(t, e, n, i === 0 ? Bt : c, u, s, l);
|
|
393
419
|
}
|
|
394
|
-
function
|
|
395
|
-
return
|
|
420
|
+
function Ar(t, e, n) {
|
|
421
|
+
return it(t, e, n, vn, nt(pr()), Ee(t, 2, -2), 0);
|
|
396
422
|
}
|
|
397
|
-
function
|
|
398
|
-
return
|
|
423
|
+
function Lt(t, e, n, r) {
|
|
424
|
+
return it(t, e, n, wt, Ee(t, 0, r), Ee(t, r + 1, -1), r);
|
|
399
425
|
}
|
|
400
426
|
function xe(t, e) {
|
|
401
|
-
for (var n = "", r =
|
|
427
|
+
for (var n = "", r = Et(t), i = 0; i < r; i++)
|
|
402
428
|
n += e(t[i], i, t, e) || "";
|
|
403
429
|
return n;
|
|
404
430
|
}
|
|
405
|
-
function
|
|
431
|
+
function Gr(t, e, n, r) {
|
|
406
432
|
switch (t.type) {
|
|
407
|
-
case dr:
|
|
408
|
-
if (t.children.length) break;
|
|
409
433
|
case lr:
|
|
410
|
-
|
|
434
|
+
if (t.children.length) break;
|
|
435
|
+
case sr:
|
|
436
|
+
case wt:
|
|
411
437
|
return t.return = t.return || t.value;
|
|
412
|
-
case
|
|
438
|
+
case vn:
|
|
413
439
|
return "";
|
|
414
|
-
case
|
|
440
|
+
case pn:
|
|
415
441
|
return t.return = t.value + "{" + xe(t.children, r) + "}";
|
|
416
|
-
case
|
|
442
|
+
case Bt:
|
|
417
443
|
t.value = t.props.join(",");
|
|
418
444
|
}
|
|
419
445
|
return re(n = xe(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
|
|
420
446
|
}
|
|
421
|
-
function
|
|
422
|
-
var e =
|
|
447
|
+
function Rr(t) {
|
|
448
|
+
var e = Et(t);
|
|
423
449
|
return function(n, r, i, a) {
|
|
424
450
|
for (var o = "", c = 0; c < e; c++)
|
|
425
451
|
o += t[c](n, r, i, a) || "";
|
|
426
452
|
return o;
|
|
427
453
|
};
|
|
428
454
|
}
|
|
429
|
-
function
|
|
455
|
+
function Pr(t) {
|
|
430
456
|
return function(e) {
|
|
431
457
|
e.root || (e = e.return) && t(e);
|
|
432
458
|
};
|
|
433
459
|
}
|
|
434
|
-
function
|
|
460
|
+
function Sr(t) {
|
|
435
461
|
var e = /* @__PURE__ */ Object.create(null);
|
|
436
462
|
return function(n) {
|
|
437
463
|
return e[n] === void 0 && (e[n] = t(n)), e[n];
|
|
438
464
|
};
|
|
439
465
|
}
|
|
440
|
-
var
|
|
466
|
+
var Tr = function(e, n, r) {
|
|
441
467
|
for (var i = 0, a = 0; i = a, a = ae(), i === 38 && a === 12 && (n[r] = 1), !Xe(a); )
|
|
442
468
|
q();
|
|
443
|
-
return Ve(e,
|
|
444
|
-
},
|
|
469
|
+
return Ve(e, $);
|
|
470
|
+
}, Br = function(e, n) {
|
|
445
471
|
var r = -1, i = 44;
|
|
446
472
|
do
|
|
447
473
|
switch (Xe(i)) {
|
|
448
474
|
case 0:
|
|
449
|
-
i === 38 && ae() === 12 && (n[r] = 1), e[r] +=
|
|
475
|
+
i === 38 && ae() === 12 && (n[r] = 1), e[r] += Tr($ - 1, n, r);
|
|
450
476
|
break;
|
|
451
477
|
case 2:
|
|
452
|
-
e[r] +=
|
|
478
|
+
e[r] += Ue(i);
|
|
453
479
|
break;
|
|
454
480
|
case 4:
|
|
455
481
|
if (i === 44) {
|
|
456
482
|
e[++r] = ae() === 58 ? "&\f" : "", n[r] = e[r].length;
|
|
457
483
|
break;
|
|
458
484
|
}
|
|
485
|
+
// fallthrough
|
|
459
486
|
default:
|
|
460
|
-
e[r] +=
|
|
487
|
+
e[r] += nt(i);
|
|
461
488
|
}
|
|
462
489
|
while (i = q());
|
|
463
490
|
return e;
|
|
464
|
-
},
|
|
465
|
-
return
|
|
466
|
-
},
|
|
491
|
+
}, wr = function(e, n) {
|
|
492
|
+
return Cn(Br(hn(e), n));
|
|
493
|
+
}, Dt = /* @__PURE__ */ new WeakMap(), Er = function(e) {
|
|
467
494
|
if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
|
|
468
495
|
// negative .length indicates that this rule has been already prefixed
|
|
469
496
|
e.length < 1)) {
|
|
470
497
|
for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
|
|
471
498
|
if (r = r.parent, !r) return;
|
|
472
|
-
if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !
|
|
473
|
-
|
|
474
|
-
for (var a = [], o =
|
|
499
|
+
if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !Dt.get(r)) && !i) {
|
|
500
|
+
Dt.set(e, !0);
|
|
501
|
+
for (var a = [], o = wr(n, a), c = r.props, u = 0, s = 0; u < o.length; u++)
|
|
475
502
|
for (var l = 0; l < c.length; l++, s++)
|
|
476
503
|
e.props[s] = a[u] ? o[u].replace(/&\f/g, c[l]) : c[l] + " " + o[u];
|
|
477
504
|
}
|
|
478
505
|
}
|
|
479
|
-
},
|
|
506
|
+
}, Xr = function(e) {
|
|
480
507
|
if (e.type === "decl") {
|
|
481
508
|
var n = e.value;
|
|
482
509
|
// charcode for l
|
|
@@ -484,10 +511,12 @@ var Br = function(e, n, r) {
|
|
|
484
511
|
n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
485
512
|
}
|
|
486
513
|
};
|
|
487
|
-
function
|
|
488
|
-
switch (
|
|
514
|
+
function yn(t, e) {
|
|
515
|
+
switch (fr(t, e)) {
|
|
516
|
+
// color-adjust
|
|
489
517
|
case 5103:
|
|
490
518
|
return Y + "print-" + t + t;
|
|
519
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
491
520
|
case 5737:
|
|
492
521
|
case 4201:
|
|
493
522
|
case 3177:
|
|
@@ -495,18 +524,21 @@ function pn(t, e) {
|
|
|
495
524
|
case 1641:
|
|
496
525
|
case 4457:
|
|
497
526
|
case 2921:
|
|
527
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
498
528
|
case 5572:
|
|
499
529
|
case 6356:
|
|
500
530
|
case 5844:
|
|
501
531
|
case 3191:
|
|
502
532
|
case 6645:
|
|
503
533
|
case 3005:
|
|
534
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
504
535
|
case 6391:
|
|
505
536
|
case 5879:
|
|
506
537
|
case 5623:
|
|
507
538
|
case 6135:
|
|
508
539
|
case 4599:
|
|
509
540
|
case 4855:
|
|
541
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
510
542
|
case 4215:
|
|
511
543
|
case 6389:
|
|
512
544
|
case 5109:
|
|
@@ -514,43 +546,58 @@ function pn(t, e) {
|
|
|
514
546
|
case 5621:
|
|
515
547
|
case 3829:
|
|
516
548
|
return Y + t + t;
|
|
549
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
517
550
|
case 5349:
|
|
518
551
|
case 4246:
|
|
519
552
|
case 4810:
|
|
520
553
|
case 6968:
|
|
521
554
|
case 2756:
|
|
522
|
-
return Y + t +
|
|
555
|
+
return Y + t + _e + t + Q + t + t;
|
|
556
|
+
// flex, flex-direction
|
|
523
557
|
case 6828:
|
|
524
558
|
case 4268:
|
|
525
|
-
return Y + t +
|
|
559
|
+
return Y + t + Q + t + t;
|
|
560
|
+
// order
|
|
526
561
|
case 6165:
|
|
527
|
-
return Y + t +
|
|
562
|
+
return Y + t + Q + "flex-" + t + t;
|
|
563
|
+
// align-items
|
|
528
564
|
case 5187:
|
|
529
|
-
return Y + t +
|
|
565
|
+
return Y + t + O(t, /(\w+).+(:[^]+)/, Y + "box-$1$2" + Q + "flex-$1$2") + t;
|
|
566
|
+
// align-self
|
|
530
567
|
case 5443:
|
|
531
|
-
return Y + t +
|
|
568
|
+
return Y + t + Q + "flex-item-" + O(t, /flex-|-self/, "") + t;
|
|
569
|
+
// align-content
|
|
532
570
|
case 4675:
|
|
533
|
-
return Y + t +
|
|
571
|
+
return Y + t + Q + "flex-line-pack" + O(t, /align-content|flex-|-self/, "") + t;
|
|
572
|
+
// flex-shrink
|
|
534
573
|
case 5548:
|
|
535
|
-
return Y + t +
|
|
574
|
+
return Y + t + Q + O(t, "shrink", "negative") + t;
|
|
575
|
+
// flex-basis
|
|
536
576
|
case 5292:
|
|
537
|
-
return Y + t +
|
|
577
|
+
return Y + t + Q + O(t, "basis", "preferred-size") + t;
|
|
578
|
+
// flex-grow
|
|
538
579
|
case 6060:
|
|
539
|
-
return Y + "box-" +
|
|
580
|
+
return Y + "box-" + O(t, "-grow", "") + Y + t + Q + O(t, "grow", "positive") + t;
|
|
581
|
+
// transition
|
|
540
582
|
case 4554:
|
|
541
|
-
return Y +
|
|
583
|
+
return Y + O(t, /([^-])(transform)/g, "$1" + Y + "$2") + t;
|
|
584
|
+
// cursor
|
|
542
585
|
case 6187:
|
|
543
|
-
return
|
|
586
|
+
return O(O(O(t, /(zoom-|grab)/, Y + "$1"), /(image-set)/, Y + "$1"), t, "") + t;
|
|
587
|
+
// background, background-image
|
|
544
588
|
case 5495:
|
|
545
589
|
case 3959:
|
|
546
|
-
return
|
|
590
|
+
return O(t, /(image-set\([^]*)/, Y + "$1$`$1");
|
|
591
|
+
// justify-content
|
|
547
592
|
case 4968:
|
|
548
|
-
return
|
|
593
|
+
return O(O(t, /(.+:)(flex-)?(.*)/, Y + "box-pack:$3" + Q + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Y + t + t;
|
|
594
|
+
// (margin|padding)-inline-(start|end)
|
|
549
595
|
case 4095:
|
|
550
596
|
case 3583:
|
|
551
597
|
case 4068:
|
|
552
598
|
case 2532:
|
|
553
|
-
return
|
|
599
|
+
return O(t, /(.+)-inline(.+)/, Y + "$1$2") + t;
|
|
600
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
554
601
|
case 8116:
|
|
555
602
|
case 7059:
|
|
556
603
|
case 5753:
|
|
@@ -564,67 +611,80 @@ function pn(t, e) {
|
|
|
564
611
|
case 5021:
|
|
565
612
|
case 4765:
|
|
566
613
|
if (re(t) - 1 - e > 6) switch (k(t, e + 1)) {
|
|
614
|
+
// (m)ax-content, (m)in-content
|
|
567
615
|
case 109:
|
|
568
616
|
if (k(t, e + 4) !== 45) break;
|
|
617
|
+
// (f)ill-available, (f)it-content
|
|
569
618
|
case 102:
|
|
570
|
-
return
|
|
619
|
+
return O(t, /(.+:)(.+)-([^]+)/, "$1" + Y + "$2-$3$1" + _e + (k(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
|
|
620
|
+
// (s)tretch
|
|
571
621
|
case 115:
|
|
572
|
-
return ~
|
|
622
|
+
return ~ht(t, "stretch") ? yn(O(t, "stretch", "fill-available"), e) + t : t;
|
|
573
623
|
}
|
|
574
624
|
break;
|
|
625
|
+
// position: sticky
|
|
575
626
|
case 4949:
|
|
576
627
|
if (k(t, e + 1) !== 115) break;
|
|
628
|
+
// display: (flex|inline-flex)
|
|
577
629
|
case 6444:
|
|
578
|
-
switch (k(t, re(t) - 3 - (~
|
|
630
|
+
switch (k(t, re(t) - 3 - (~ht(t, "!important") && 10))) {
|
|
631
|
+
// stic(k)y
|
|
579
632
|
case 107:
|
|
580
|
-
return
|
|
633
|
+
return O(t, ":", ":" + Y) + t;
|
|
634
|
+
// (inline-)?fl(e)x
|
|
581
635
|
case 101:
|
|
582
|
-
return
|
|
636
|
+
return O(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Y + (k(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Y + "$2$3$1" + Q + "$2box$3") + t;
|
|
583
637
|
}
|
|
584
638
|
break;
|
|
639
|
+
// writing-mode
|
|
585
640
|
case 5936:
|
|
586
641
|
switch (k(t, e + 11)) {
|
|
642
|
+
// vertical-l(r)
|
|
587
643
|
case 114:
|
|
588
|
-
return Y + t +
|
|
644
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
|
|
645
|
+
// vertical-r(l)
|
|
589
646
|
case 108:
|
|
590
|
-
return Y + t +
|
|
647
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
|
|
648
|
+
// horizontal(-)tb
|
|
591
649
|
case 45:
|
|
592
|
-
return Y + t +
|
|
650
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
|
|
593
651
|
}
|
|
594
|
-
return Y + t +
|
|
652
|
+
return Y + t + Q + t + t;
|
|
595
653
|
}
|
|
596
654
|
return t;
|
|
597
655
|
}
|
|
598
|
-
var
|
|
656
|
+
var Nr = function(e, n, r, i) {
|
|
599
657
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
600
|
-
case
|
|
601
|
-
e.return =
|
|
658
|
+
case wt:
|
|
659
|
+
e.return = yn(e.value, e.length);
|
|
602
660
|
break;
|
|
603
|
-
case
|
|
661
|
+
case pn:
|
|
604
662
|
return xe([Se(e, {
|
|
605
|
-
value:
|
|
663
|
+
value: O(e.value, "@", "@" + Y)
|
|
606
664
|
})], i);
|
|
607
|
-
case
|
|
608
|
-
if (e.length) return
|
|
609
|
-
switch (
|
|
665
|
+
case Bt:
|
|
666
|
+
if (e.length) return vr(e.props, function(a) {
|
|
667
|
+
switch (br(a, /(::plac\w+|:read-\w+)/)) {
|
|
668
|
+
// :read-(only|write)
|
|
610
669
|
case ":read-only":
|
|
611
670
|
case ":read-write":
|
|
612
671
|
return xe([Se(e, {
|
|
613
|
-
props: [
|
|
672
|
+
props: [O(a, /:(read-\w+)/, ":" + _e + "$1")]
|
|
614
673
|
})], i);
|
|
674
|
+
// :placeholder
|
|
615
675
|
case "::placeholder":
|
|
616
676
|
return xe([Se(e, {
|
|
617
|
-
props: [
|
|
677
|
+
props: [O(a, /:(plac\w+)/, ":" + Y + "input-$1")]
|
|
618
678
|
}), Se(e, {
|
|
619
|
-
props: [
|
|
679
|
+
props: [O(a, /:(plac\w+)/, ":" + _e + "$1")]
|
|
620
680
|
}), Se(e, {
|
|
621
|
-
props: [
|
|
681
|
+
props: [O(a, /:(plac\w+)/, Q + "input-$1")]
|
|
622
682
|
})], i);
|
|
623
683
|
}
|
|
624
684
|
return "";
|
|
625
685
|
});
|
|
626
686
|
}
|
|
627
|
-
},
|
|
687
|
+
}, Vr = [Nr], Wr = function(e) {
|
|
628
688
|
var n = e.key;
|
|
629
689
|
if (n === "css") {
|
|
630
690
|
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -633,31 +693,31 @@ var Vr = function(e, n, r, i) {
|
|
|
633
693
|
h.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
634
694
|
});
|
|
635
695
|
}
|
|
636
|
-
var i = e.stylisPlugins ||
|
|
696
|
+
var i = e.stylisPlugins || Vr, a = {}, o, c = [];
|
|
637
697
|
o = e.container || document.head, Array.prototype.forEach.call(
|
|
638
698
|
// this means we will ignore elements which don't have a space in them which
|
|
639
699
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
640
700
|
document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
|
|
641
701
|
function(v) {
|
|
642
|
-
for (var h = v.getAttribute("data-emotion").split(" "),
|
|
643
|
-
a[h[
|
|
702
|
+
for (var h = v.getAttribute("data-emotion").split(" "), f = 1; f < h.length; f++)
|
|
703
|
+
a[h[f]] = !0;
|
|
644
704
|
c.push(v);
|
|
645
705
|
}
|
|
646
706
|
);
|
|
647
|
-
var u, s = [
|
|
707
|
+
var u, s = [Er, Xr];
|
|
648
708
|
{
|
|
649
|
-
var l,
|
|
709
|
+
var l, b = [Gr, Pr(function(v) {
|
|
650
710
|
l.insert(v);
|
|
651
|
-
})],
|
|
652
|
-
return xe(
|
|
711
|
+
})], m = Rr(s.concat(i, b)), x = function(h) {
|
|
712
|
+
return xe(xr(h), m);
|
|
653
713
|
};
|
|
654
|
-
u = function(h,
|
|
655
|
-
l =
|
|
714
|
+
u = function(h, f, G, A) {
|
|
715
|
+
l = G, x(h ? h + "{" + f.styles + "}" : f.styles), A && (C.inserted[f.name] = !0);
|
|
656
716
|
};
|
|
657
717
|
}
|
|
658
|
-
var
|
|
718
|
+
var C = {
|
|
659
719
|
key: n,
|
|
660
|
-
sheet: new
|
|
720
|
+
sheet: new ur({
|
|
661
721
|
key: n,
|
|
662
722
|
container: o,
|
|
663
723
|
nonce: e.nonce,
|
|
@@ -670,8 +730,8 @@ var Vr = function(e, n, r, i) {
|
|
|
670
730
|
registered: {},
|
|
671
731
|
insert: u
|
|
672
732
|
};
|
|
673
|
-
return
|
|
674
|
-
},
|
|
733
|
+
return C.sheet.hydrate(c), C;
|
|
734
|
+
}, Oe = { exports: {} }, J = {};
|
|
675
735
|
/** @license React v16.13.1
|
|
676
736
|
* react-is.production.min.js
|
|
677
737
|
*
|
|
@@ -680,15 +740,15 @@ var Vr = function(e, n, r, i) {
|
|
|
680
740
|
* This source code is licensed under the MIT license found in the
|
|
681
741
|
* LICENSE file in the root directory of this source tree.
|
|
682
742
|
*/
|
|
683
|
-
var
|
|
684
|
-
function
|
|
685
|
-
if (
|
|
686
|
-
|
|
687
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112,
|
|
688
|
-
function
|
|
743
|
+
var kt;
|
|
744
|
+
function Hr() {
|
|
745
|
+
if (kt) return J;
|
|
746
|
+
kt = 1;
|
|
747
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, b = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, C = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, f = t ? Symbol.for("react.responder") : 60118, G = t ? Symbol.for("react.scope") : 60119;
|
|
748
|
+
function A(d) {
|
|
689
749
|
if (typeof d == "object" && d !== null) {
|
|
690
|
-
var
|
|
691
|
-
switch (
|
|
750
|
+
var T = d.$$typeof;
|
|
751
|
+
switch (T) {
|
|
692
752
|
case e:
|
|
693
753
|
switch (d = d.type, d) {
|
|
694
754
|
case u:
|
|
@@ -696,55 +756,55 @@ function Zr() {
|
|
|
696
756
|
case r:
|
|
697
757
|
case a:
|
|
698
758
|
case i:
|
|
699
|
-
case
|
|
759
|
+
case b:
|
|
700
760
|
return d;
|
|
701
761
|
default:
|
|
702
762
|
switch (d = d && d.$$typeof, d) {
|
|
703
763
|
case c:
|
|
704
764
|
case l:
|
|
705
|
-
case
|
|
706
|
-
case
|
|
765
|
+
case C:
|
|
766
|
+
case x:
|
|
707
767
|
case o:
|
|
708
768
|
return d;
|
|
709
769
|
default:
|
|
710
|
-
return
|
|
770
|
+
return T;
|
|
711
771
|
}
|
|
712
772
|
}
|
|
713
773
|
case n:
|
|
714
|
-
return
|
|
774
|
+
return T;
|
|
715
775
|
}
|
|
716
776
|
}
|
|
717
777
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
778
|
+
function R(d) {
|
|
779
|
+
return A(d) === s;
|
|
720
780
|
}
|
|
721
|
-
return
|
|
722
|
-
return
|
|
723
|
-
},
|
|
724
|
-
return
|
|
725
|
-
},
|
|
726
|
-
return
|
|
727
|
-
},
|
|
781
|
+
return J.AsyncMode = u, J.ConcurrentMode = s, J.ContextConsumer = c, J.ContextProvider = o, J.Element = e, J.ForwardRef = l, J.Fragment = r, J.Lazy = C, J.Memo = x, J.Portal = n, J.Profiler = a, J.StrictMode = i, J.Suspense = b, J.isAsyncMode = function(d) {
|
|
782
|
+
return R(d) || A(d) === u;
|
|
783
|
+
}, J.isConcurrentMode = R, J.isContextConsumer = function(d) {
|
|
784
|
+
return A(d) === c;
|
|
785
|
+
}, J.isContextProvider = function(d) {
|
|
786
|
+
return A(d) === o;
|
|
787
|
+
}, J.isElement = function(d) {
|
|
728
788
|
return typeof d == "object" && d !== null && d.$$typeof === e;
|
|
729
|
-
},
|
|
730
|
-
return
|
|
731
|
-
},
|
|
732
|
-
return
|
|
733
|
-
},
|
|
734
|
-
return
|
|
735
|
-
},
|
|
736
|
-
return
|
|
737
|
-
},
|
|
738
|
-
return
|
|
739
|
-
},
|
|
740
|
-
return
|
|
741
|
-
},
|
|
742
|
-
return
|
|
743
|
-
},
|
|
744
|
-
return
|
|
745
|
-
},
|
|
746
|
-
return typeof d == "string" || typeof d == "function" || d === r || d === s || d === a || d === i || d ===
|
|
747
|
-
},
|
|
789
|
+
}, J.isForwardRef = function(d) {
|
|
790
|
+
return A(d) === l;
|
|
791
|
+
}, J.isFragment = function(d) {
|
|
792
|
+
return A(d) === r;
|
|
793
|
+
}, J.isLazy = function(d) {
|
|
794
|
+
return A(d) === C;
|
|
795
|
+
}, J.isMemo = function(d) {
|
|
796
|
+
return A(d) === x;
|
|
797
|
+
}, J.isPortal = function(d) {
|
|
798
|
+
return A(d) === n;
|
|
799
|
+
}, J.isProfiler = function(d) {
|
|
800
|
+
return A(d) === a;
|
|
801
|
+
}, J.isStrictMode = function(d) {
|
|
802
|
+
return A(d) === i;
|
|
803
|
+
}, J.isSuspense = function(d) {
|
|
804
|
+
return A(d) === b;
|
|
805
|
+
}, J.isValidElementType = function(d) {
|
|
806
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === s || d === a || d === i || d === b || d === m || typeof d == "object" && d !== null && (d.$$typeof === C || d.$$typeof === x || d.$$typeof === o || d.$$typeof === c || d.$$typeof === l || d.$$typeof === h || d.$$typeof === f || d.$$typeof === G || d.$$typeof === v);
|
|
807
|
+
}, J.typeOf = A, J;
|
|
748
808
|
}
|
|
749
809
|
var z = {};
|
|
750
810
|
/** @license React v16.13.1
|
|
@@ -755,35 +815,35 @@ var z = {};
|
|
|
755
815
|
* This source code is licensed under the MIT license found in the
|
|
756
816
|
* LICENSE file in the root directory of this source tree.
|
|
757
817
|
*/
|
|
758
|
-
var
|
|
759
|
-
function
|
|
760
|
-
return
|
|
761
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112,
|
|
762
|
-
function
|
|
763
|
-
return typeof
|
|
764
|
-
|
|
765
|
-
}
|
|
766
|
-
function
|
|
767
|
-
if (typeof
|
|
768
|
-
var ne =
|
|
818
|
+
var Ut;
|
|
819
|
+
function Zr() {
|
|
820
|
+
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
821
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, b = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, C = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, f = t ? Symbol.for("react.responder") : 60118, G = t ? Symbol.for("react.scope") : 60119;
|
|
822
|
+
function A(p) {
|
|
823
|
+
return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
824
|
+
p === r || p === s || p === a || p === i || p === b || p === m || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === x || p.$$typeof === o || p.$$typeof === c || p.$$typeof === l || p.$$typeof === h || p.$$typeof === f || p.$$typeof === G || p.$$typeof === v);
|
|
825
|
+
}
|
|
826
|
+
function R(p) {
|
|
827
|
+
if (typeof p == "object" && p !== null) {
|
|
828
|
+
var ne = p.$$typeof;
|
|
769
829
|
switch (ne) {
|
|
770
830
|
case e:
|
|
771
|
-
var Ze =
|
|
831
|
+
var Ze = p.type;
|
|
772
832
|
switch (Ze) {
|
|
773
833
|
case u:
|
|
774
834
|
case s:
|
|
775
835
|
case r:
|
|
776
836
|
case a:
|
|
777
837
|
case i:
|
|
778
|
-
case
|
|
838
|
+
case b:
|
|
779
839
|
return Ze;
|
|
780
840
|
default:
|
|
781
841
|
var Jt = Ze && Ze.$$typeof;
|
|
782
842
|
switch (Jt) {
|
|
783
843
|
case c:
|
|
784
844
|
case l:
|
|
785
|
-
case
|
|
786
|
-
case
|
|
845
|
+
case C:
|
|
846
|
+
case x:
|
|
787
847
|
case o:
|
|
788
848
|
return Jt;
|
|
789
849
|
default:
|
|
@@ -795,74 +855,128 @@ function Mr() {
|
|
|
795
855
|
}
|
|
796
856
|
}
|
|
797
857
|
}
|
|
798
|
-
var d = u,
|
|
799
|
-
function
|
|
800
|
-
return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(
|
|
858
|
+
var d = u, T = s, y = c, U = o, te = e, ge = l, fe = r, de = C, Pe = x, ce = n, he = a, K = i, be = b, He = !1;
|
|
859
|
+
function ct(p) {
|
|
860
|
+
return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(p) || R(p) === u;
|
|
801
861
|
}
|
|
802
|
-
function g(
|
|
803
|
-
return
|
|
862
|
+
function g(p) {
|
|
863
|
+
return R(p) === s;
|
|
804
864
|
}
|
|
805
|
-
function I(
|
|
806
|
-
return
|
|
865
|
+
function I(p) {
|
|
866
|
+
return R(p) === c;
|
|
807
867
|
}
|
|
808
|
-
function V(
|
|
809
|
-
return
|
|
868
|
+
function V(p) {
|
|
869
|
+
return R(p) === o;
|
|
810
870
|
}
|
|
811
|
-
function X(
|
|
812
|
-
return typeof
|
|
871
|
+
function X(p) {
|
|
872
|
+
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
813
873
|
}
|
|
814
|
-
function
|
|
815
|
-
return
|
|
874
|
+
function w(p) {
|
|
875
|
+
return R(p) === l;
|
|
816
876
|
}
|
|
817
|
-
function H(
|
|
818
|
-
return
|
|
877
|
+
function H(p) {
|
|
878
|
+
return R(p) === r;
|
|
819
879
|
}
|
|
820
|
-
function
|
|
821
|
-
return
|
|
880
|
+
function E(p) {
|
|
881
|
+
return R(p) === C;
|
|
822
882
|
}
|
|
823
|
-
function N(
|
|
824
|
-
return
|
|
883
|
+
function N(p) {
|
|
884
|
+
return R(p) === x;
|
|
825
885
|
}
|
|
826
|
-
function Z(
|
|
827
|
-
return
|
|
886
|
+
function Z(p) {
|
|
887
|
+
return R(p) === n;
|
|
828
888
|
}
|
|
829
|
-
function
|
|
830
|
-
return
|
|
889
|
+
function j(p) {
|
|
890
|
+
return R(p) === a;
|
|
831
891
|
}
|
|
832
|
-
function M(
|
|
833
|
-
return
|
|
892
|
+
function M(p) {
|
|
893
|
+
return R(p) === i;
|
|
834
894
|
}
|
|
835
|
-
function
|
|
836
|
-
return
|
|
895
|
+
function _(p) {
|
|
896
|
+
return R(p) === b;
|
|
837
897
|
}
|
|
838
|
-
z.AsyncMode = d, z.ConcurrentMode =
|
|
839
|
-
}()), z;
|
|
898
|
+
z.AsyncMode = d, z.ConcurrentMode = T, z.ContextConsumer = y, z.ContextProvider = U, z.Element = te, z.ForwardRef = ge, z.Fragment = fe, z.Lazy = de, z.Memo = Pe, z.Portal = ce, z.Profiler = he, z.StrictMode = K, z.Suspense = be, z.isAsyncMode = ct, z.isConcurrentMode = g, z.isContextConsumer = I, z.isContextProvider = V, z.isElement = X, z.isForwardRef = w, z.isFragment = H, z.isLazy = E, z.isMemo = N, z.isPortal = Z, z.isProfiler = j, z.isStrictMode = M, z.isSuspense = _, z.isValidElementType = A, z.typeOf = R;
|
|
899
|
+
})()), z;
|
|
900
|
+
}
|
|
901
|
+
var Qt;
|
|
902
|
+
function Xt() {
|
|
903
|
+
return Qt || (Qt = 1, process.env.NODE_ENV === "production" ? Oe.exports = Hr() : Oe.exports = Zr()), Oe.exports;
|
|
840
904
|
}
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
905
|
+
var st, _t;
|
|
906
|
+
function Mr() {
|
|
907
|
+
if (_t) return st;
|
|
908
|
+
_t = 1;
|
|
909
|
+
var t = Xt(), e = {
|
|
910
|
+
childContextTypes: !0,
|
|
911
|
+
contextType: !0,
|
|
912
|
+
contextTypes: !0,
|
|
913
|
+
defaultProps: !0,
|
|
914
|
+
displayName: !0,
|
|
915
|
+
getDefaultProps: !0,
|
|
916
|
+
getDerivedStateFromError: !0,
|
|
917
|
+
getDerivedStateFromProps: !0,
|
|
918
|
+
mixins: !0,
|
|
919
|
+
propTypes: !0,
|
|
920
|
+
type: !0
|
|
921
|
+
}, n = {
|
|
922
|
+
name: !0,
|
|
923
|
+
length: !0,
|
|
924
|
+
prototype: !0,
|
|
925
|
+
caller: !0,
|
|
926
|
+
callee: !0,
|
|
927
|
+
arguments: !0,
|
|
928
|
+
arity: !0
|
|
929
|
+
}, r = {
|
|
930
|
+
$$typeof: !0,
|
|
931
|
+
render: !0,
|
|
932
|
+
defaultProps: !0,
|
|
933
|
+
displayName: !0,
|
|
934
|
+
propTypes: !0
|
|
935
|
+
}, i = {
|
|
936
|
+
$$typeof: !0,
|
|
937
|
+
compare: !0,
|
|
938
|
+
defaultProps: !0,
|
|
939
|
+
displayName: !0,
|
|
940
|
+
propTypes: !0,
|
|
941
|
+
type: !0
|
|
942
|
+
}, a = {};
|
|
943
|
+
a[t.ForwardRef] = r, a[t.Memo] = i;
|
|
944
|
+
function o(C) {
|
|
945
|
+
return t.isMemo(C) ? i : a[C.$$typeof] || e;
|
|
946
|
+
}
|
|
947
|
+
var c = Object.defineProperty, u = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, l = Object.getOwnPropertyDescriptor, b = Object.getPrototypeOf, m = Object.prototype;
|
|
948
|
+
function x(C, v, h) {
|
|
949
|
+
if (typeof v != "string") {
|
|
950
|
+
if (m) {
|
|
951
|
+
var f = b(v);
|
|
952
|
+
f && f !== m && x(C, f, h);
|
|
953
|
+
}
|
|
954
|
+
var G = u(v);
|
|
955
|
+
s && (G = G.concat(s(v)));
|
|
956
|
+
for (var A = o(C), R = o(v), d = 0; d < G.length; ++d) {
|
|
957
|
+
var T = G[d];
|
|
958
|
+
if (!n[T] && !(h && h[T]) && !(R && R[T]) && !(A && A[T])) {
|
|
959
|
+
var y = l(v, T);
|
|
960
|
+
try {
|
|
961
|
+
c(C, T, y);
|
|
962
|
+
} catch {
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
return C;
|
|
968
|
+
}
|
|
969
|
+
return st = x, st;
|
|
970
|
+
}
|
|
971
|
+
Mr();
|
|
972
|
+
var Yr = !0;
|
|
973
|
+
function Or(t, e, n) {
|
|
860
974
|
var r = "";
|
|
861
975
|
return n.split(" ").forEach(function(i) {
|
|
862
976
|
t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
|
|
863
977
|
}), r;
|
|
864
978
|
}
|
|
865
|
-
var
|
|
979
|
+
var xn = function(e, n, r) {
|
|
866
980
|
var i = e.key + "-" + n.name;
|
|
867
981
|
// we only need to add the styles to the registered cache if the
|
|
868
982
|
// class name could be used further down
|
|
@@ -873,9 +987,9 @@ var Cn = function(e, n, r) {
|
|
|
873
987
|
// in node since emotion-server relies on whether a style is in
|
|
874
988
|
// the registered cache to know whether a style is global or not
|
|
875
989
|
// also, note that this check will be dead code eliminated in the browser
|
|
876
|
-
|
|
877
|
-
},
|
|
878
|
-
|
|
990
|
+
Yr === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
|
|
991
|
+
}, Jr = function(e, n, r) {
|
|
992
|
+
xn(e, n, r);
|
|
879
993
|
var i = e.key + "-" + n.name;
|
|
880
994
|
if (e.inserted[n.name] === void 0) {
|
|
881
995
|
var a = n;
|
|
@@ -884,7 +998,7 @@ var Cn = function(e, n, r) {
|
|
|
884
998
|
while (a !== void 0);
|
|
885
999
|
}
|
|
886
1000
|
};
|
|
887
|
-
function
|
|
1001
|
+
function zr(t) {
|
|
888
1002
|
for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
|
|
889
1003
|
n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
|
|
890
1004
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
@@ -903,7 +1017,7 @@ function jr(t) {
|
|
|
903
1017
|
return e ^= e >>> 13, e = /* Math.imul(h, m): */
|
|
904
1018
|
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
|
|
905
1019
|
}
|
|
906
|
-
var
|
|
1020
|
+
var jr = {
|
|
907
1021
|
animationIterationCount: 1,
|
|
908
1022
|
aspectRatio: 1,
|
|
909
1023
|
borderImageOutset: 1,
|
|
@@ -952,18 +1066,18 @@ var Fr = {
|
|
|
952
1066
|
strokeMiterlimit: 1,
|
|
953
1067
|
strokeOpacity: 1,
|
|
954
1068
|
strokeWidth: 1
|
|
955
|
-
},
|
|
1069
|
+
}, Fr = /[A-Z]|^ms/g, Lr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, An = function(e) {
|
|
956
1070
|
return e.charCodeAt(1) === 45;
|
|
957
|
-
},
|
|
1071
|
+
}, $t = function(e) {
|
|
958
1072
|
return e != null && typeof e != "boolean";
|
|
959
|
-
},
|
|
960
|
-
return
|
|
961
|
-
}),
|
|
1073
|
+
}, lt = /* @__PURE__ */ Sr(function(t) {
|
|
1074
|
+
return An(t) ? t : t.replace(Fr, "-$&").toLowerCase();
|
|
1075
|
+
}), Kt = function(e, n) {
|
|
962
1076
|
switch (e) {
|
|
963
1077
|
case "animation":
|
|
964
1078
|
case "animationName":
|
|
965
1079
|
if (typeof n == "string")
|
|
966
|
-
return n.replace(
|
|
1080
|
+
return n.replace(Lr, function(r, i, a) {
|
|
967
1081
|
return ie = {
|
|
968
1082
|
name: i,
|
|
969
1083
|
styles: a,
|
|
@@ -971,7 +1085,7 @@ var Fr = {
|
|
|
971
1085
|
}, i;
|
|
972
1086
|
});
|
|
973
1087
|
}
|
|
974
|
-
return
|
|
1088
|
+
return jr[e] !== 1 && !An(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
975
1089
|
};
|
|
976
1090
|
function Ne(t, e, n) {
|
|
977
1091
|
if (n == null)
|
|
@@ -1003,7 +1117,7 @@ function Ne(t, e, n) {
|
|
|
1003
1117
|
var c = a.styles + ";";
|
|
1004
1118
|
return c;
|
|
1005
1119
|
}
|
|
1006
|
-
return
|
|
1120
|
+
return Dr(t, e, n);
|
|
1007
1121
|
}
|
|
1008
1122
|
case "function": {
|
|
1009
1123
|
if (t !== void 0) {
|
|
@@ -1016,7 +1130,7 @@ function Ne(t, e, n) {
|
|
|
1016
1130
|
var l = n;
|
|
1017
1131
|
return l;
|
|
1018
1132
|
}
|
|
1019
|
-
function
|
|
1133
|
+
function Dr(t, e, n) {
|
|
1020
1134
|
var r = "";
|
|
1021
1135
|
if (Array.isArray(n))
|
|
1022
1136
|
for (var i = 0; i < n.length; i++)
|
|
@@ -1026,16 +1140,16 @@ function Ur(t, e, n) {
|
|
|
1026
1140
|
var o = n[a];
|
|
1027
1141
|
if (typeof o != "object") {
|
|
1028
1142
|
var c = o;
|
|
1029
|
-
|
|
1143
|
+
$t(c) && (r += lt(a) + ":" + Kt(a, c) + ";");
|
|
1030
1144
|
} else if (Array.isArray(o) && typeof o[0] == "string" && e == null)
|
|
1031
1145
|
for (var u = 0; u < o.length; u++)
|
|
1032
|
-
|
|
1146
|
+
$t(o[u]) && (r += lt(a) + ":" + Kt(a, o[u]) + ";");
|
|
1033
1147
|
else {
|
|
1034
1148
|
var s = Ne(t, e, o);
|
|
1035
1149
|
switch (a) {
|
|
1036
1150
|
case "animation":
|
|
1037
1151
|
case "animationName": {
|
|
1038
|
-
r +=
|
|
1152
|
+
r += lt(a) + ":" + s + ";";
|
|
1039
1153
|
break;
|
|
1040
1154
|
}
|
|
1041
1155
|
default:
|
|
@@ -1045,8 +1159,8 @@ function Ur(t, e, n) {
|
|
|
1045
1159
|
}
|
|
1046
1160
|
return r;
|
|
1047
1161
|
}
|
|
1048
|
-
var
|
|
1049
|
-
function
|
|
1162
|
+
var qt = /label:\s*([^\s;{]+)\s*(;|$)/g, ie;
|
|
1163
|
+
function Gn(t, e, n) {
|
|
1050
1164
|
if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
|
|
1051
1165
|
return t[0];
|
|
1052
1166
|
var r = !0, i = "";
|
|
@@ -1063,81 +1177,81 @@ function xn(t, e, n) {
|
|
|
1063
1177
|
var u = a;
|
|
1064
1178
|
i += u[c];
|
|
1065
1179
|
}
|
|
1066
|
-
|
|
1067
|
-
for (var s = "", l; (l =
|
|
1180
|
+
qt.lastIndex = 0;
|
|
1181
|
+
for (var s = "", l; (l = qt.exec(i)) !== null; )
|
|
1068
1182
|
s += "-" + l[1];
|
|
1069
|
-
var
|
|
1183
|
+
var b = zr(i) + s;
|
|
1070
1184
|
return {
|
|
1071
|
-
name:
|
|
1185
|
+
name: b,
|
|
1072
1186
|
styles: i,
|
|
1073
1187
|
next: ie
|
|
1074
1188
|
};
|
|
1075
1189
|
}
|
|
1076
|
-
var
|
|
1190
|
+
var kr = function(e) {
|
|
1077
1191
|
return e();
|
|
1078
|
-
},
|
|
1192
|
+
}, Ur = F.useInsertionEffect ? F.useInsertionEffect : !1, Qr = Ur || kr, Rn = /* @__PURE__ */ F.createContext(
|
|
1079
1193
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1080
1194
|
// because this module is primarily intended for the browser and node
|
|
1081
1195
|
// but it's also required in react native and similar environments sometimes
|
|
1082
1196
|
// and we could have a special build just for that
|
|
1083
1197
|
// but this is much easier and the native packages
|
|
1084
1198
|
// might use a different theme context in the future anyway
|
|
1085
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1199
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Wr({
|
|
1086
1200
|
key: "css"
|
|
1087
1201
|
}) : null
|
|
1088
1202
|
);
|
|
1089
|
-
|
|
1090
|
-
var
|
|
1091
|
-
return /* @__PURE__ */
|
|
1092
|
-
var i =
|
|
1203
|
+
Rn.Provider;
|
|
1204
|
+
var _r = function(e) {
|
|
1205
|
+
return /* @__PURE__ */ Un(function(n, r) {
|
|
1206
|
+
var i = bn(Rn);
|
|
1093
1207
|
return e(n, i, r);
|
|
1094
1208
|
});
|
|
1095
|
-
},
|
|
1209
|
+
}, $r = /* @__PURE__ */ F.createContext({}), Nt = {}.hasOwnProperty, yt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Kr = function(e, n) {
|
|
1096
1210
|
var r = {};
|
|
1097
1211
|
for (var i in n)
|
|
1098
|
-
|
|
1099
|
-
return r[
|
|
1100
|
-
},
|
|
1212
|
+
Nt.call(n, i) && (r[i] = n[i]);
|
|
1213
|
+
return r[yt] = e, r;
|
|
1214
|
+
}, qr = function(e) {
|
|
1101
1215
|
var n = e.cache, r = e.serialized, i = e.isStringTag;
|
|
1102
|
-
return
|
|
1103
|
-
return
|
|
1216
|
+
return xn(n, r, i), Qr(function() {
|
|
1217
|
+
return Jr(n, r, i);
|
|
1104
1218
|
}), null;
|
|
1105
|
-
},
|
|
1219
|
+
}, ei = /* @__PURE__ */ _r(function(t, e, n) {
|
|
1106
1220
|
var r = t.css;
|
|
1107
1221
|
typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
|
|
1108
|
-
var i = t[
|
|
1109
|
-
typeof t.className == "string" ? o =
|
|
1110
|
-
var c =
|
|
1222
|
+
var i = t[yt], a = [r], o = "";
|
|
1223
|
+
typeof t.className == "string" ? o = Or(e.registered, a, t.className) : t.className != null && (o = t.className + " ");
|
|
1224
|
+
var c = Gn(a, void 0, F.useContext($r));
|
|
1111
1225
|
o += e.key + "-" + c.name;
|
|
1112
1226
|
var u = {};
|
|
1113
1227
|
for (var s in t)
|
|
1114
|
-
|
|
1115
|
-
return u.className = o, n && (u.ref = n), /* @__PURE__ */
|
|
1228
|
+
Nt.call(t, s) && s !== "css" && s !== yt && (u[s] = t[s]);
|
|
1229
|
+
return u.className = o, n && (u.ref = n), /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(qr, {
|
|
1116
1230
|
cache: e,
|
|
1117
1231
|
serialized: c,
|
|
1118
1232
|
isStringTag: typeof i == "string"
|
|
1119
|
-
}), /* @__PURE__ */
|
|
1120
|
-
}),
|
|
1233
|
+
}), /* @__PURE__ */ F.createElement(i, u));
|
|
1234
|
+
}), ti = ei, B = function(e, n) {
|
|
1121
1235
|
var r = arguments;
|
|
1122
|
-
if (n == null || !
|
|
1123
|
-
return
|
|
1236
|
+
if (n == null || !Nt.call(n, "css"))
|
|
1237
|
+
return F.createElement.apply(void 0, r);
|
|
1124
1238
|
var i = r.length, a = new Array(i);
|
|
1125
|
-
a[0] =
|
|
1239
|
+
a[0] = ti, a[1] = Kr(e, n);
|
|
1126
1240
|
for (var o = 2; o < i; o++)
|
|
1127
1241
|
a[o] = r[o];
|
|
1128
|
-
return
|
|
1242
|
+
return F.createElement.apply(null, a);
|
|
1129
1243
|
};
|
|
1130
1244
|
(function(t) {
|
|
1131
1245
|
var e;
|
|
1132
1246
|
e || (e = t.JSX || (t.JSX = {}));
|
|
1133
|
-
})(
|
|
1134
|
-
function
|
|
1247
|
+
})(B || (B = {}));
|
|
1248
|
+
function Pn() {
|
|
1135
1249
|
for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
1136
1250
|
e[n] = arguments[n];
|
|
1137
|
-
return
|
|
1251
|
+
return Gn(e);
|
|
1138
1252
|
}
|
|
1139
|
-
function
|
|
1140
|
-
var t =
|
|
1253
|
+
function ni() {
|
|
1254
|
+
var t = Pn.apply(void 0, arguments), e = "animation-" + t.name;
|
|
1141
1255
|
return {
|
|
1142
1256
|
name: e,
|
|
1143
1257
|
styles: "@keyframes " + e + "{" + t.styles + "}",
|
|
@@ -1147,10 +1261,10 @@ function ai() {
|
|
|
1147
1261
|
}
|
|
1148
1262
|
};
|
|
1149
1263
|
}
|
|
1150
|
-
function
|
|
1264
|
+
function ri(t) {
|
|
1151
1265
|
if (Array.isArray(t)) return t;
|
|
1152
1266
|
}
|
|
1153
|
-
function
|
|
1267
|
+
function ii(t, e) {
|
|
1154
1268
|
var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1155
1269
|
if (n != null) {
|
|
1156
1270
|
var r, i, a, o, c = [], u = !0, s = !1;
|
|
@@ -1171,37 +1285,37 @@ function ci(t, e) {
|
|
|
1171
1285
|
return c;
|
|
1172
1286
|
}
|
|
1173
1287
|
}
|
|
1174
|
-
function
|
|
1288
|
+
function en(t, e) {
|
|
1175
1289
|
(e == null || e > t.length) && (e = t.length);
|
|
1176
1290
|
for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
|
|
1177
1291
|
return r;
|
|
1178
1292
|
}
|
|
1179
|
-
function
|
|
1293
|
+
function ai(t, e) {
|
|
1180
1294
|
if (t) {
|
|
1181
|
-
if (typeof t == "string") return
|
|
1295
|
+
if (typeof t == "string") return en(t, e);
|
|
1182
1296
|
var n = {}.toString.call(t).slice(8, -1);
|
|
1183
|
-
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
1297
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? en(t, e) : void 0;
|
|
1184
1298
|
}
|
|
1185
1299
|
}
|
|
1186
|
-
function
|
|
1300
|
+
function oi() {
|
|
1187
1301
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1188
1302
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1189
1303
|
}
|
|
1190
1304
|
function se(t, e) {
|
|
1191
|
-
return
|
|
1305
|
+
return ri(t) || ii(t, e) || ai(t, e) || oi();
|
|
1192
1306
|
}
|
|
1193
|
-
function
|
|
1307
|
+
function ci(t, e) {
|
|
1194
1308
|
return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
|
|
1195
1309
|
raw: {
|
|
1196
1310
|
value: Object.freeze(e)
|
|
1197
1311
|
}
|
|
1198
1312
|
}));
|
|
1199
1313
|
}
|
|
1200
|
-
const
|
|
1314
|
+
const ui = Math.min, si = Math.max, $e = Math.round, Je = Math.floor, Ke = (t) => ({
|
|
1201
1315
|
x: t,
|
|
1202
1316
|
y: t
|
|
1203
1317
|
});
|
|
1204
|
-
function
|
|
1318
|
+
function li(t) {
|
|
1205
1319
|
const {
|
|
1206
1320
|
x: e,
|
|
1207
1321
|
y: n,
|
|
@@ -1219,146 +1333,146 @@ function fi(t) {
|
|
|
1219
1333
|
y: n
|
|
1220
1334
|
};
|
|
1221
1335
|
}
|
|
1222
|
-
function
|
|
1336
|
+
function at() {
|
|
1223
1337
|
return typeof window < "u";
|
|
1224
1338
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return
|
|
1339
|
+
function Sn(t) {
|
|
1340
|
+
return Bn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
1227
1341
|
}
|
|
1228
1342
|
function le(t) {
|
|
1229
1343
|
var e;
|
|
1230
1344
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
1231
1345
|
}
|
|
1232
|
-
function
|
|
1346
|
+
function Tn(t) {
|
|
1233
1347
|
var e;
|
|
1234
|
-
return (e = (
|
|
1348
|
+
return (e = (Bn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
1235
1349
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return
|
|
1350
|
+
function Bn(t) {
|
|
1351
|
+
return at() ? t instanceof Node || t instanceof le(t).Node : !1;
|
|
1238
1352
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return
|
|
1353
|
+
function di(t) {
|
|
1354
|
+
return at() ? t instanceof Element || t instanceof le(t).Element : !1;
|
|
1241
1355
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return
|
|
1356
|
+
function Vt(t) {
|
|
1357
|
+
return at() ? t instanceof HTMLElement || t instanceof le(t).HTMLElement : !1;
|
|
1244
1358
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return !
|
|
1359
|
+
function tn(t) {
|
|
1360
|
+
return !at() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof le(t).ShadowRoot;
|
|
1247
1361
|
}
|
|
1248
|
-
function
|
|
1362
|
+
function wn(t) {
|
|
1249
1363
|
const {
|
|
1250
1364
|
overflow: e,
|
|
1251
1365
|
overflowX: n,
|
|
1252
1366
|
overflowY: r,
|
|
1253
1367
|
display: i
|
|
1254
|
-
} =
|
|
1368
|
+
} = Wt(t);
|
|
1255
1369
|
return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && !["inline", "contents"].includes(i);
|
|
1256
1370
|
}
|
|
1257
|
-
function
|
|
1371
|
+
function gi() {
|
|
1258
1372
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1259
1373
|
}
|
|
1260
|
-
function
|
|
1261
|
-
return ["html", "body", "#document"].includes(
|
|
1374
|
+
function fi(t) {
|
|
1375
|
+
return ["html", "body", "#document"].includes(Sn(t));
|
|
1262
1376
|
}
|
|
1263
|
-
function
|
|
1377
|
+
function Wt(t) {
|
|
1264
1378
|
return le(t).getComputedStyle(t);
|
|
1265
1379
|
}
|
|
1266
|
-
function
|
|
1267
|
-
if (
|
|
1380
|
+
function bi(t) {
|
|
1381
|
+
if (Sn(t) === "html")
|
|
1268
1382
|
return t;
|
|
1269
1383
|
const e = (
|
|
1270
1384
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
1271
1385
|
t.assignedSlot || // DOM Element detected.
|
|
1272
1386
|
t.parentNode || // ShadowRoot detected.
|
|
1273
|
-
|
|
1274
|
-
|
|
1387
|
+
tn(t) && t.host || // Fallback.
|
|
1388
|
+
Tn(t)
|
|
1275
1389
|
);
|
|
1276
|
-
return
|
|
1390
|
+
return tn(e) ? e.host : e;
|
|
1277
1391
|
}
|
|
1278
|
-
function
|
|
1279
|
-
const e =
|
|
1280
|
-
return
|
|
1392
|
+
function En(t) {
|
|
1393
|
+
const e = bi(t);
|
|
1394
|
+
return fi(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Vt(e) && wn(e) ? e : En(e);
|
|
1281
1395
|
}
|
|
1282
|
-
function
|
|
1396
|
+
function qe(t, e, n) {
|
|
1283
1397
|
var r;
|
|
1284
1398
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
1285
|
-
const i =
|
|
1399
|
+
const i = En(t), a = i === ((r = t.ownerDocument) == null ? void 0 : r.body), o = le(i);
|
|
1286
1400
|
if (a) {
|
|
1287
|
-
const c =
|
|
1288
|
-
return e.concat(o, o.visualViewport || [],
|
|
1401
|
+
const c = xt(o);
|
|
1402
|
+
return e.concat(o, o.visualViewport || [], wn(i) ? i : [], c && n ? qe(c) : []);
|
|
1289
1403
|
}
|
|
1290
|
-
return e.concat(i,
|
|
1404
|
+
return e.concat(i, qe(i, [], n));
|
|
1291
1405
|
}
|
|
1292
|
-
function
|
|
1406
|
+
function xt(t) {
|
|
1293
1407
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
1294
1408
|
}
|
|
1295
|
-
function
|
|
1296
|
-
const e =
|
|
1409
|
+
function vi(t) {
|
|
1410
|
+
const e = Wt(t);
|
|
1297
1411
|
let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
|
|
1298
|
-
const i =
|
|
1412
|
+
const i = Vt(t), a = i ? t.offsetWidth : n, o = i ? t.offsetHeight : r, c = $e(n) !== a || $e(r) !== o;
|
|
1299
1413
|
return c && (n = a, r = o), {
|
|
1300
1414
|
width: n,
|
|
1301
1415
|
height: r,
|
|
1302
1416
|
$: c
|
|
1303
1417
|
};
|
|
1304
1418
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return
|
|
1419
|
+
function Ht(t) {
|
|
1420
|
+
return di(t) ? t : t.contextElement;
|
|
1307
1421
|
}
|
|
1308
|
-
function
|
|
1309
|
-
const e =
|
|
1310
|
-
if (!
|
|
1311
|
-
return
|
|
1422
|
+
function nn(t) {
|
|
1423
|
+
const e = Ht(t);
|
|
1424
|
+
if (!Vt(e))
|
|
1425
|
+
return Ke(1);
|
|
1312
1426
|
const n = e.getBoundingClientRect(), {
|
|
1313
1427
|
width: r,
|
|
1314
1428
|
height: i,
|
|
1315
1429
|
$: a
|
|
1316
|
-
} =
|
|
1317
|
-
let o = (a ?
|
|
1430
|
+
} = vi(e);
|
|
1431
|
+
let o = (a ? $e(n.width) : n.width) / r, c = (a ? $e(n.height) : n.height) / i;
|
|
1318
1432
|
return (!o || !Number.isFinite(o)) && (o = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
1319
1433
|
x: o,
|
|
1320
1434
|
y: c
|
|
1321
1435
|
};
|
|
1322
1436
|
}
|
|
1323
|
-
const
|
|
1324
|
-
function
|
|
1437
|
+
const pi = /* @__PURE__ */ Ke(0);
|
|
1438
|
+
function mi(t) {
|
|
1325
1439
|
const e = le(t);
|
|
1326
|
-
return !
|
|
1440
|
+
return !gi() || !e.visualViewport ? pi : {
|
|
1327
1441
|
x: e.visualViewport.offsetLeft,
|
|
1328
1442
|
y: e.visualViewport.offsetTop
|
|
1329
1443
|
};
|
|
1330
1444
|
}
|
|
1331
|
-
function
|
|
1445
|
+
function Ii(t, e, n) {
|
|
1332
1446
|
return !1;
|
|
1333
1447
|
}
|
|
1334
|
-
function
|
|
1448
|
+
function rn(t, e, n, r) {
|
|
1335
1449
|
e === void 0 && (e = !1);
|
|
1336
|
-
const i = t.getBoundingClientRect(), a =
|
|
1337
|
-
let o =
|
|
1338
|
-
e && (o =
|
|
1339
|
-
const c =
|
|
1340
|
-
let u = (i.left + c.x) / o.x, s = (i.top + c.y) / o.y, l = i.width / o.x,
|
|
1450
|
+
const i = t.getBoundingClientRect(), a = Ht(t);
|
|
1451
|
+
let o = Ke(1);
|
|
1452
|
+
e && (o = nn(t));
|
|
1453
|
+
const c = Ii() ? mi(a) : Ke(0);
|
|
1454
|
+
let u = (i.left + c.x) / o.x, s = (i.top + c.y) / o.y, l = i.width / o.x, b = i.height / o.y;
|
|
1341
1455
|
if (a) {
|
|
1342
|
-
const
|
|
1343
|
-
let
|
|
1344
|
-
for (; v && r &&
|
|
1345
|
-
const h =
|
|
1346
|
-
u *= h.x, s *= h.y, l *= h.x,
|
|
1456
|
+
const m = le(a), x = r;
|
|
1457
|
+
let C = m, v = xt(C);
|
|
1458
|
+
for (; v && r && x !== C; ) {
|
|
1459
|
+
const h = nn(v), f = v.getBoundingClientRect(), G = Wt(v), A = f.left + (v.clientLeft + parseFloat(G.paddingLeft)) * h.x, R = f.top + (v.clientTop + parseFloat(G.paddingTop)) * h.y;
|
|
1460
|
+
u *= h.x, s *= h.y, l *= h.x, b *= h.y, u += A, s += R, C = le(v), v = xt(C);
|
|
1347
1461
|
}
|
|
1348
1462
|
}
|
|
1349
|
-
return
|
|
1463
|
+
return li({
|
|
1350
1464
|
width: l,
|
|
1351
|
-
height:
|
|
1465
|
+
height: b,
|
|
1352
1466
|
x: u,
|
|
1353
1467
|
y: s
|
|
1354
1468
|
});
|
|
1355
1469
|
}
|
|
1356
|
-
function
|
|
1470
|
+
function Xn(t, e) {
|
|
1357
1471
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1358
1472
|
}
|
|
1359
|
-
function
|
|
1473
|
+
function hi(t, e) {
|
|
1360
1474
|
let n = null, r;
|
|
1361
|
-
const i =
|
|
1475
|
+
const i = Tn(t);
|
|
1362
1476
|
function a() {
|
|
1363
1477
|
var c;
|
|
1364
1478
|
clearTimeout(r), (c = n) == null || c.disconnect(), n = null;
|
|
@@ -1367,42 +1481,42 @@ function xi(t, e) {
|
|
|
1367
1481
|
c === void 0 && (c = !1), u === void 0 && (u = 1), a();
|
|
1368
1482
|
const s = t.getBoundingClientRect(), {
|
|
1369
1483
|
left: l,
|
|
1370
|
-
top:
|
|
1371
|
-
width:
|
|
1372
|
-
height:
|
|
1484
|
+
top: b,
|
|
1485
|
+
width: m,
|
|
1486
|
+
height: x
|
|
1373
1487
|
} = s;
|
|
1374
|
-
if (c || e(), !
|
|
1488
|
+
if (c || e(), !m || !x)
|
|
1375
1489
|
return;
|
|
1376
|
-
const
|
|
1377
|
-
rootMargin: -
|
|
1378
|
-
threshold:
|
|
1490
|
+
const C = Je(b), v = Je(i.clientWidth - (l + m)), h = Je(i.clientHeight - (b + x)), f = Je(l), A = {
|
|
1491
|
+
rootMargin: -C + "px " + -v + "px " + -h + "px " + -f + "px",
|
|
1492
|
+
threshold: si(0, ui(1, u)) || 1
|
|
1379
1493
|
};
|
|
1380
|
-
let
|
|
1381
|
-
function d(
|
|
1382
|
-
const
|
|
1383
|
-
if (
|
|
1384
|
-
if (!
|
|
1494
|
+
let R = !0;
|
|
1495
|
+
function d(T) {
|
|
1496
|
+
const y = T[0].intersectionRatio;
|
|
1497
|
+
if (y !== u) {
|
|
1498
|
+
if (!R)
|
|
1385
1499
|
return o();
|
|
1386
|
-
|
|
1500
|
+
y ? o(!1, y) : r = setTimeout(() => {
|
|
1387
1501
|
o(!1, 1e-7);
|
|
1388
1502
|
}, 1e3);
|
|
1389
1503
|
}
|
|
1390
|
-
|
|
1504
|
+
y === 1 && !Xn(s, t.getBoundingClientRect()) && o(), R = !1;
|
|
1391
1505
|
}
|
|
1392
1506
|
try {
|
|
1393
1507
|
n = new IntersectionObserver(d, {
|
|
1394
|
-
...
|
|
1508
|
+
...A,
|
|
1395
1509
|
// Handle <iframe>s
|
|
1396
1510
|
root: i.ownerDocument
|
|
1397
1511
|
});
|
|
1398
1512
|
} catch {
|
|
1399
|
-
n = new IntersectionObserver(d,
|
|
1513
|
+
n = new IntersectionObserver(d, A);
|
|
1400
1514
|
}
|
|
1401
1515
|
n.observe(t);
|
|
1402
1516
|
}
|
|
1403
1517
|
return o(!0), a;
|
|
1404
1518
|
}
|
|
1405
|
-
function
|
|
1519
|
+
function Ci(t, e, n, r) {
|
|
1406
1520
|
r === void 0 && (r = {});
|
|
1407
1521
|
const {
|
|
1408
1522
|
ancestorScroll: i = !0,
|
|
@@ -1410,82 +1524,82 @@ function Ai(t, e, n, r) {
|
|
|
1410
1524
|
elementResize: o = typeof ResizeObserver == "function",
|
|
1411
1525
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1412
1526
|
animationFrame: u = !1
|
|
1413
|
-
} = r, s =
|
|
1414
|
-
l.forEach((
|
|
1415
|
-
i &&
|
|
1527
|
+
} = r, s = Ht(t), l = i || a ? [...s ? qe(s) : [], ...qe(e)] : [];
|
|
1528
|
+
l.forEach((f) => {
|
|
1529
|
+
i && f.addEventListener("scroll", n, {
|
|
1416
1530
|
passive: !0
|
|
1417
|
-
}), a &&
|
|
1531
|
+
}), a && f.addEventListener("resize", n);
|
|
1418
1532
|
});
|
|
1419
|
-
const
|
|
1420
|
-
let
|
|
1421
|
-
o && (
|
|
1422
|
-
let [
|
|
1423
|
-
|
|
1424
|
-
var
|
|
1425
|
-
(
|
|
1533
|
+
const b = s && c ? hi(s, n) : null;
|
|
1534
|
+
let m = -1, x = null;
|
|
1535
|
+
o && (x = new ResizeObserver((f) => {
|
|
1536
|
+
let [G] = f;
|
|
1537
|
+
G && G.target === s && x && (x.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1538
|
+
var A;
|
|
1539
|
+
(A = x) == null || A.observe(e);
|
|
1426
1540
|
})), n();
|
|
1427
|
-
}), s && !u &&
|
|
1428
|
-
let
|
|
1541
|
+
}), s && !u && x.observe(s), x.observe(e));
|
|
1542
|
+
let C, v = u ? rn(t) : null;
|
|
1429
1543
|
u && h();
|
|
1430
1544
|
function h() {
|
|
1431
|
-
const
|
|
1432
|
-
v && !
|
|
1545
|
+
const f = rn(t);
|
|
1546
|
+
v && !Xn(v, f) && n(), v = f, C = requestAnimationFrame(h);
|
|
1433
1547
|
}
|
|
1434
1548
|
return n(), () => {
|
|
1435
|
-
var
|
|
1436
|
-
l.forEach((
|
|
1437
|
-
i &&
|
|
1438
|
-
}),
|
|
1549
|
+
var f;
|
|
1550
|
+
l.forEach((G) => {
|
|
1551
|
+
i && G.removeEventListener("scroll", n), a && G.removeEventListener("resize", n);
|
|
1552
|
+
}), b?.(), (f = x) == null || f.disconnect(), x = null, u && cancelAnimationFrame(C);
|
|
1439
1553
|
};
|
|
1440
1554
|
}
|
|
1441
|
-
var
|
|
1555
|
+
var At = Qn, yi = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Gt = function() {
|
|
1442
1556
|
};
|
|
1443
|
-
function
|
|
1557
|
+
function xi(t, e) {
|
|
1444
1558
|
return e ? e[0] === "-" ? t + e : t + "__" + e : t;
|
|
1445
1559
|
}
|
|
1446
|
-
function
|
|
1560
|
+
function ro(t, e) {
|
|
1447
1561
|
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++)
|
|
1448
1562
|
r[i - 2] = arguments[i];
|
|
1449
1563
|
var a = [].concat(r);
|
|
1450
1564
|
if (e && t)
|
|
1451
1565
|
for (var o in e)
|
|
1452
|
-
e.hasOwnProperty(o) && e[o] && a.push("".concat(
|
|
1566
|
+
e.hasOwnProperty(o) && e[o] && a.push("".concat(xi(t, o)));
|
|
1453
1567
|
return a.filter(function(c) {
|
|
1454
1568
|
return c;
|
|
1455
1569
|
}).map(function(c) {
|
|
1456
1570
|
return String(c).trim();
|
|
1457
1571
|
}).join(" ");
|
|
1458
1572
|
}
|
|
1459
|
-
var
|
|
1460
|
-
return
|
|
1461
|
-
},
|
|
1573
|
+
var io = function(e) {
|
|
1574
|
+
return Ti(e) ? e.filter(Boolean) : Ae(e) === "object" && e !== null ? [e] : [];
|
|
1575
|
+
}, Nn = function(e) {
|
|
1462
1576
|
e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
|
|
1463
|
-
var n = ee(e,
|
|
1464
|
-
return
|
|
1465
|
-
},
|
|
1577
|
+
var n = ee(e, yi);
|
|
1578
|
+
return P({}, n);
|
|
1579
|
+
}, L = function(e, n, r) {
|
|
1466
1580
|
var i = e.cx, a = e.getStyles, o = e.getClassNames, c = e.className;
|
|
1467
1581
|
return {
|
|
1468
1582
|
css: a(n, e),
|
|
1469
1583
|
className: i(r ?? {}, o(n, e), c)
|
|
1470
1584
|
};
|
|
1471
1585
|
};
|
|
1472
|
-
function
|
|
1586
|
+
function Zt(t) {
|
|
1473
1587
|
return [document.documentElement, document.body, window].indexOf(t) > -1;
|
|
1474
1588
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return
|
|
1589
|
+
function Ai(t) {
|
|
1590
|
+
return Zt(t) ? window.innerHeight : t.clientHeight;
|
|
1477
1591
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return
|
|
1592
|
+
function Vn(t) {
|
|
1593
|
+
return Zt(t) ? window.pageYOffset : t.scrollTop;
|
|
1480
1594
|
}
|
|
1481
|
-
function
|
|
1482
|
-
if (
|
|
1595
|
+
function et(t, e) {
|
|
1596
|
+
if (Zt(t)) {
|
|
1483
1597
|
window.scrollTo(0, e);
|
|
1484
1598
|
return;
|
|
1485
1599
|
}
|
|
1486
1600
|
t.scrollTop = e;
|
|
1487
1601
|
}
|
|
1488
|
-
function
|
|
1602
|
+
function Gi(t) {
|
|
1489
1603
|
var e = getComputedStyle(t), n = e.position === "absolute", r = /(auto|scroll)/;
|
|
1490
1604
|
if (e.position === "fixed") return document.documentElement;
|
|
1491
1605
|
for (var i = t; i = i.parentElement; )
|
|
@@ -1493,23 +1607,23 @@ function Si(t) {
|
|
|
1493
1607
|
return i;
|
|
1494
1608
|
return document.documentElement;
|
|
1495
1609
|
}
|
|
1496
|
-
function
|
|
1610
|
+
function Ri(t, e, n, r) {
|
|
1497
1611
|
return n * ((t = t / r - 1) * t * t + 1) + e;
|
|
1498
1612
|
}
|
|
1499
|
-
function
|
|
1500
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
|
1613
|
+
function ze(t, e) {
|
|
1614
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Gt, i = Vn(t), a = e - i, o = 10, c = 0;
|
|
1501
1615
|
function u() {
|
|
1502
1616
|
c += o;
|
|
1503
|
-
var s =
|
|
1504
|
-
|
|
1617
|
+
var s = Ri(c, i, a, n);
|
|
1618
|
+
et(t, s), c < n ? window.requestAnimationFrame(u) : r(t);
|
|
1505
1619
|
}
|
|
1506
1620
|
u();
|
|
1507
1621
|
}
|
|
1508
|
-
function
|
|
1622
|
+
function ao(t, e) {
|
|
1509
1623
|
var n = t.getBoundingClientRect(), r = e.getBoundingClientRect(), i = e.offsetHeight / 3;
|
|
1510
|
-
r.bottom + i > n.bottom ?
|
|
1624
|
+
r.bottom + i > n.bottom ? et(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + i, t.scrollHeight)) : r.top - i < n.top && et(t, Math.max(e.offsetTop - i, 0));
|
|
1511
1625
|
}
|
|
1512
|
-
function
|
|
1626
|
+
function Pi(t) {
|
|
1513
1627
|
var e = t.getBoundingClientRect();
|
|
1514
1628
|
return {
|
|
1515
1629
|
bottom: e.bottom,
|
|
@@ -1520,43 +1634,43 @@ function Bi(t) {
|
|
|
1520
1634
|
width: e.width
|
|
1521
1635
|
};
|
|
1522
1636
|
}
|
|
1523
|
-
function
|
|
1637
|
+
function oo() {
|
|
1524
1638
|
try {
|
|
1525
1639
|
return document.createEvent("TouchEvent"), !0;
|
|
1526
1640
|
} catch {
|
|
1527
1641
|
return !1;
|
|
1528
1642
|
}
|
|
1529
1643
|
}
|
|
1530
|
-
function
|
|
1644
|
+
function co() {
|
|
1531
1645
|
try {
|
|
1532
1646
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1533
1647
|
} catch {
|
|
1534
1648
|
return !1;
|
|
1535
1649
|
}
|
|
1536
1650
|
}
|
|
1537
|
-
var
|
|
1651
|
+
var Wn = !1, Si = {
|
|
1538
1652
|
get passive() {
|
|
1539
|
-
return
|
|
1653
|
+
return Wn = !0;
|
|
1540
1654
|
}
|
|
1541
|
-
},
|
|
1542
|
-
|
|
1543
|
-
var
|
|
1544
|
-
function
|
|
1655
|
+
}, je = typeof window < "u" ? window : {};
|
|
1656
|
+
je.addEventListener && je.removeEventListener && (je.addEventListener("p", Gt, Si), je.removeEventListener("p", Gt, !1));
|
|
1657
|
+
var uo = Wn;
|
|
1658
|
+
function so(t) {
|
|
1545
1659
|
return t != null;
|
|
1546
1660
|
}
|
|
1547
|
-
function
|
|
1661
|
+
function Ti(t) {
|
|
1548
1662
|
return Array.isArray(t);
|
|
1549
1663
|
}
|
|
1550
|
-
function
|
|
1664
|
+
function lo(t, e, n) {
|
|
1551
1665
|
return t ? e : n;
|
|
1552
1666
|
}
|
|
1553
|
-
function
|
|
1667
|
+
function go(t) {
|
|
1554
1668
|
return t;
|
|
1555
1669
|
}
|
|
1556
|
-
function
|
|
1670
|
+
function fo(t) {
|
|
1557
1671
|
return t;
|
|
1558
1672
|
}
|
|
1559
|
-
var
|
|
1673
|
+
var bo = function(e) {
|
|
1560
1674
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
1561
1675
|
r[i - 1] = arguments[i];
|
|
1562
1676
|
var a = Object.entries(e).filter(function(o) {
|
|
@@ -1567,62 +1681,62 @@ var Io = function(e) {
|
|
|
1567
1681
|
var u = se(c, 2), s = u[0], l = u[1];
|
|
1568
1682
|
return o[s] = l, o;
|
|
1569
1683
|
}, {});
|
|
1570
|
-
},
|
|
1571
|
-
function
|
|
1572
|
-
var e = t.maxHeight, n = t.menuEl, r = t.minHeight, i = t.placement, a = t.shouldScroll, o = t.isFixedPosition, c = t.controlHeight, u =
|
|
1684
|
+
}, Bi = ["children", "innerProps"], wi = ["children", "innerProps"];
|
|
1685
|
+
function Ei(t) {
|
|
1686
|
+
var e = t.maxHeight, n = t.menuEl, r = t.minHeight, i = t.placement, a = t.shouldScroll, o = t.isFixedPosition, c = t.controlHeight, u = Gi(n), s = {
|
|
1573
1687
|
placement: "bottom",
|
|
1574
1688
|
maxHeight: e
|
|
1575
1689
|
};
|
|
1576
1690
|
if (!n || !n.offsetParent) return s;
|
|
1577
|
-
var l = u.getBoundingClientRect(),
|
|
1691
|
+
var l = u.getBoundingClientRect(), b = l.height, m = n.getBoundingClientRect(), x = m.bottom, C = m.height, v = m.top, h = n.offsetParent.getBoundingClientRect(), f = h.top, G = o ? window.innerHeight : Ai(u), A = Vn(u), R = parseInt(getComputedStyle(n).marginBottom, 10), d = parseInt(getComputedStyle(n).marginTop, 10), T = f - d, y = G - v, U = T + A, te = b - A - v, ge = x - G + A + R, fe = A + v - d, de = 160;
|
|
1578
1692
|
switch (i) {
|
|
1579
1693
|
case "auto":
|
|
1580
1694
|
case "bottom":
|
|
1581
|
-
if (
|
|
1695
|
+
if (y >= C)
|
|
1582
1696
|
return {
|
|
1583
1697
|
placement: "bottom",
|
|
1584
1698
|
maxHeight: e
|
|
1585
1699
|
};
|
|
1586
|
-
if (te >=
|
|
1587
|
-
return a &&
|
|
1700
|
+
if (te >= C && !o)
|
|
1701
|
+
return a && ze(u, ge, de), {
|
|
1588
1702
|
placement: "bottom",
|
|
1589
1703
|
maxHeight: e
|
|
1590
1704
|
};
|
|
1591
|
-
if (!o && te >= r || o &&
|
|
1592
|
-
a &&
|
|
1593
|
-
var Pe = o ?
|
|
1705
|
+
if (!o && te >= r || o && y >= r) {
|
|
1706
|
+
a && ze(u, ge, de);
|
|
1707
|
+
var Pe = o ? y - R : te - R;
|
|
1594
1708
|
return {
|
|
1595
1709
|
placement: "bottom",
|
|
1596
1710
|
maxHeight: Pe
|
|
1597
1711
|
};
|
|
1598
1712
|
}
|
|
1599
1713
|
if (i === "auto" || o) {
|
|
1600
|
-
var ce = e, he = o ?
|
|
1601
|
-
return he >= r && (ce = Math.min(he -
|
|
1714
|
+
var ce = e, he = o ? T : U;
|
|
1715
|
+
return he >= r && (ce = Math.min(he - R - c, e)), {
|
|
1602
1716
|
placement: "top",
|
|
1603
1717
|
maxHeight: ce
|
|
1604
1718
|
};
|
|
1605
1719
|
}
|
|
1606
1720
|
if (i === "bottom")
|
|
1607
|
-
return a &&
|
|
1721
|
+
return a && et(u, ge), {
|
|
1608
1722
|
placement: "bottom",
|
|
1609
1723
|
maxHeight: e
|
|
1610
1724
|
};
|
|
1611
1725
|
break;
|
|
1612
1726
|
case "top":
|
|
1613
|
-
if (
|
|
1727
|
+
if (T >= C)
|
|
1614
1728
|
return {
|
|
1615
1729
|
placement: "top",
|
|
1616
1730
|
maxHeight: e
|
|
1617
1731
|
};
|
|
1618
|
-
if (
|
|
1619
|
-
return a &&
|
|
1732
|
+
if (U >= C && !o)
|
|
1733
|
+
return a && ze(u, fe, de), {
|
|
1620
1734
|
placement: "top",
|
|
1621
1735
|
maxHeight: e
|
|
1622
1736
|
};
|
|
1623
|
-
if (!o &&
|
|
1737
|
+
if (!o && U >= r || o && T >= r) {
|
|
1624
1738
|
var K = e;
|
|
1625
|
-
return (!o &&
|
|
1739
|
+
return (!o && U >= r || o && T >= r) && (K = o ? T - d : U - d), a && ze(u, fe, de), {
|
|
1626
1740
|
placement: "top",
|
|
1627
1741
|
maxHeight: K
|
|
1628
1742
|
};
|
|
@@ -1636,59 +1750,59 @@ function Vi(t) {
|
|
|
1636
1750
|
}
|
|
1637
1751
|
return s;
|
|
1638
1752
|
}
|
|
1639
|
-
function
|
|
1753
|
+
function Xi(t) {
|
|
1640
1754
|
var e = {
|
|
1641
1755
|
bottom: "top",
|
|
1642
1756
|
top: "bottom"
|
|
1643
1757
|
};
|
|
1644
1758
|
return t ? e[t] : "bottom";
|
|
1645
1759
|
}
|
|
1646
|
-
var
|
|
1760
|
+
var Hn = function(e) {
|
|
1647
1761
|
return e === "auto" ? "bottom" : e;
|
|
1648
|
-
},
|
|
1762
|
+
}, vo = function(e, n) {
|
|
1649
1763
|
var r, i = e.placement, a = e.theme, o = a.borderRadius, c = a.spacing, u = a.colors;
|
|
1650
|
-
return
|
|
1764
|
+
return P((r = {
|
|
1651
1765
|
label: "menu"
|
|
1652
|
-
}, Te(r,
|
|
1766
|
+
}, Te(r, Xi(i), "100%"), Te(r, "position", "absolute"), Te(r, "width", "100%"), Te(r, "zIndex", 1), r), n ? {} : {
|
|
1653
1767
|
backgroundColor: u.neutral0,
|
|
1654
1768
|
borderRadius: o,
|
|
1655
1769
|
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
|
1656
1770
|
marginBottom: c.menuGutter,
|
|
1657
1771
|
marginTop: c.menuGutter
|
|
1658
1772
|
});
|
|
1659
|
-
},
|
|
1660
|
-
var n = e.children, r = e.minMenuHeight, i = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, c = e.menuShouldScrollIntoView, u = e.theme, s =
|
|
1661
|
-
return
|
|
1662
|
-
var d =
|
|
1773
|
+
}, Zn = /* @__PURE__ */ $n(null), po = function(e) {
|
|
1774
|
+
var n = e.children, r = e.minMenuHeight, i = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, c = e.menuShouldScrollIntoView, u = e.theme, s = bn(Zn) || {}, l = s.setPortalPlacement, b = we(null), m = Ie(i), x = se(m, 2), C = x[0], v = x[1], h = Ie(null), f = se(h, 2), G = f[0], A = f[1], R = u.spacing.controlHeight;
|
|
1775
|
+
return At(function() {
|
|
1776
|
+
var d = b.current;
|
|
1663
1777
|
if (d) {
|
|
1664
|
-
var
|
|
1778
|
+
var T = o === "fixed", y = c && !T, U = Ei({
|
|
1665
1779
|
maxHeight: i,
|
|
1666
1780
|
menuEl: d,
|
|
1667
1781
|
minHeight: r,
|
|
1668
1782
|
placement: a,
|
|
1669
|
-
shouldScroll:
|
|
1670
|
-
isFixedPosition:
|
|
1671
|
-
controlHeight:
|
|
1783
|
+
shouldScroll: y,
|
|
1784
|
+
isFixedPosition: T,
|
|
1785
|
+
controlHeight: R
|
|
1672
1786
|
});
|
|
1673
|
-
v(
|
|
1787
|
+
v(U.maxHeight), A(U.placement), l?.(U.placement);
|
|
1674
1788
|
}
|
|
1675
|
-
}, [i, a, o, c, r, l,
|
|
1676
|
-
ref:
|
|
1677
|
-
placerProps:
|
|
1678
|
-
placement:
|
|
1679
|
-
maxHeight:
|
|
1789
|
+
}, [i, a, o, c, r, l, R]), n({
|
|
1790
|
+
ref: b,
|
|
1791
|
+
placerProps: P(P({}, e), {}, {
|
|
1792
|
+
placement: G || Hn(a),
|
|
1793
|
+
maxHeight: C
|
|
1680
1794
|
})
|
|
1681
1795
|
});
|
|
1682
|
-
},
|
|
1796
|
+
}, Ni = function(e) {
|
|
1683
1797
|
var n = e.children, r = e.innerRef, i = e.innerProps;
|
|
1684
|
-
return
|
|
1798
|
+
return B("div", W({}, L(e, "menu", {
|
|
1685
1799
|
menu: !0
|
|
1686
1800
|
}), {
|
|
1687
1801
|
ref: r
|
|
1688
1802
|
}, i), n);
|
|
1689
|
-
},
|
|
1803
|
+
}, Vi = Ni, mo = function(e, n) {
|
|
1690
1804
|
var r = e.maxHeight, i = e.theme.spacing.baseUnit;
|
|
1691
|
-
return
|
|
1805
|
+
return P({
|
|
1692
1806
|
maxHeight: r,
|
|
1693
1807
|
overflowY: "auto",
|
|
1694
1808
|
position: "relative",
|
|
@@ -1698,41 +1812,41 @@ var Vn = function(e) {
|
|
|
1698
1812
|
paddingBottom: i,
|
|
1699
1813
|
paddingTop: i
|
|
1700
1814
|
});
|
|
1701
|
-
},
|
|
1815
|
+
}, Wi = function(e) {
|
|
1702
1816
|
var n = e.children, r = e.innerProps, i = e.innerRef, a = e.isMulti;
|
|
1703
|
-
return
|
|
1817
|
+
return B("div", W({}, L(e, "menuList", {
|
|
1704
1818
|
"menu-list": !0,
|
|
1705
1819
|
"menu-list--is-multi": a
|
|
1706
1820
|
}), {
|
|
1707
1821
|
ref: i
|
|
1708
1822
|
}, r), n);
|
|
1709
|
-
},
|
|
1823
|
+
}, Mn = function(e, n) {
|
|
1710
1824
|
var r = e.theme, i = r.spacing.baseUnit, a = r.colors;
|
|
1711
|
-
return
|
|
1825
|
+
return P({
|
|
1712
1826
|
textAlign: "center"
|
|
1713
1827
|
}, n ? {} : {
|
|
1714
1828
|
color: a.neutral40,
|
|
1715
1829
|
padding: "".concat(i * 2, "px ").concat(i * 3, "px")
|
|
1716
1830
|
});
|
|
1717
|
-
},
|
|
1718
|
-
var n = e.children, r = n === void 0 ? "No options" : n, i = e.innerProps, a = ee(e,
|
|
1719
|
-
return
|
|
1831
|
+
}, Io = Mn, ho = Mn, Hi = function(e) {
|
|
1832
|
+
var n = e.children, r = n === void 0 ? "No options" : n, i = e.innerProps, a = ee(e, Bi);
|
|
1833
|
+
return B("div", W({}, L(P(P({}, a), {}, {
|
|
1720
1834
|
children: r,
|
|
1721
1835
|
innerProps: i
|
|
1722
1836
|
}), "noOptionsMessage", {
|
|
1723
1837
|
"menu-notice": !0,
|
|
1724
1838
|
"menu-notice--no-options": !0
|
|
1725
1839
|
}), i), r);
|
|
1726
|
-
},
|
|
1727
|
-
var n = e.children, r = n === void 0 ? "Loading..." : n, i = e.innerProps, a = ee(e,
|
|
1728
|
-
return
|
|
1840
|
+
}, Zi = function(e) {
|
|
1841
|
+
var n = e.children, r = n === void 0 ? "Loading..." : n, i = e.innerProps, a = ee(e, wi);
|
|
1842
|
+
return B("div", W({}, L(P(P({}, a), {}, {
|
|
1729
1843
|
children: r,
|
|
1730
1844
|
innerProps: i
|
|
1731
1845
|
}), "loadingMessage", {
|
|
1732
1846
|
"menu-notice": !0,
|
|
1733
1847
|
"menu-notice--loading": !0
|
|
1734
1848
|
}), i), r);
|
|
1735
|
-
},
|
|
1849
|
+
}, Co = function(e) {
|
|
1736
1850
|
var n = e.rect, r = e.offset, i = e.position;
|
|
1737
1851
|
return {
|
|
1738
1852
|
left: n.left,
|
|
@@ -1741,48 +1855,48 @@ var Vn = function(e) {
|
|
|
1741
1855
|
width: n.width,
|
|
1742
1856
|
zIndex: 1
|
|
1743
1857
|
};
|
|
1744
|
-
},
|
|
1745
|
-
var n = e.appendTo, r = e.children, i = e.controlElement, a = e.innerProps, o = e.menuPlacement, c = e.menuPosition, u = we(null), s = we(null), l = Ie(
|
|
1858
|
+
}, Mi = function(e) {
|
|
1859
|
+
var n = e.appendTo, r = e.children, i = e.controlElement, a = e.innerProps, o = e.menuPlacement, c = e.menuPosition, u = we(null), s = we(null), l = Ie(Hn(o)), b = se(l, 2), m = b[0], x = b[1], C = _n(function() {
|
|
1746
1860
|
return {
|
|
1747
|
-
setPortalPlacement:
|
|
1861
|
+
setPortalPlacement: x
|
|
1748
1862
|
};
|
|
1749
|
-
}, []), v = Ie(null), h = se(v, 2),
|
|
1863
|
+
}, []), v = Ie(null), h = se(v, 2), f = h[0], G = h[1], A = ut(function() {
|
|
1750
1864
|
if (i) {
|
|
1751
|
-
var
|
|
1752
|
-
(te !==
|
|
1865
|
+
var y = Pi(i), U = c === "fixed" ? 0 : window.pageYOffset, te = y[m] + U;
|
|
1866
|
+
(te !== f?.offset || y.left !== f?.rect.left || y.width !== f?.rect.width) && G({
|
|
1753
1867
|
offset: te,
|
|
1754
|
-
rect:
|
|
1868
|
+
rect: y
|
|
1755
1869
|
});
|
|
1756
1870
|
}
|
|
1757
|
-
}, [i, c,
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
}, [
|
|
1761
|
-
var
|
|
1762
|
-
typeof s.current == "function" && (s.current(), s.current = null), i && u.current && (s.current =
|
|
1871
|
+
}, [i, c, m, f?.offset, f?.rect.left, f?.rect.width]);
|
|
1872
|
+
At(function() {
|
|
1873
|
+
A();
|
|
1874
|
+
}, [A]);
|
|
1875
|
+
var R = ut(function() {
|
|
1876
|
+
typeof s.current == "function" && (s.current(), s.current = null), i && u.current && (s.current = Ci(i, u.current, A, {
|
|
1763
1877
|
elementResize: "ResizeObserver" in window
|
|
1764
1878
|
}));
|
|
1765
|
-
}, [i,
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
}, [
|
|
1769
|
-
var d =
|
|
1770
|
-
u.current =
|
|
1771
|
-
}, [
|
|
1772
|
-
if (!n && c !== "fixed" || !
|
|
1773
|
-
var
|
|
1879
|
+
}, [i, A]);
|
|
1880
|
+
At(function() {
|
|
1881
|
+
R();
|
|
1882
|
+
}, [R]);
|
|
1883
|
+
var d = ut(function(y) {
|
|
1884
|
+
u.current = y, R();
|
|
1885
|
+
}, [R]);
|
|
1886
|
+
if (!n && c !== "fixed" || !f) return null;
|
|
1887
|
+
var T = B("div", W({
|
|
1774
1888
|
ref: d
|
|
1775
|
-
},
|
|
1776
|
-
offset:
|
|
1889
|
+
}, L(P(P({}, e), {}, {
|
|
1890
|
+
offset: f.offset,
|
|
1777
1891
|
position: c,
|
|
1778
|
-
rect:
|
|
1892
|
+
rect: f.rect
|
|
1779
1893
|
}), "menuPortal", {
|
|
1780
1894
|
"menu-portal": !0
|
|
1781
1895
|
}), a), r);
|
|
1782
|
-
return
|
|
1783
|
-
value:
|
|
1784
|
-
}, n ? /* @__PURE__ */
|
|
1785
|
-
},
|
|
1896
|
+
return B(Zn.Provider, {
|
|
1897
|
+
value: C
|
|
1898
|
+
}, n ? /* @__PURE__ */ qn(T, n) : T);
|
|
1899
|
+
}, yo = function(e) {
|
|
1786
1900
|
var n = e.isDisabled, r = e.isRtl;
|
|
1787
1901
|
return {
|
|
1788
1902
|
label: "container",
|
|
@@ -1791,15 +1905,15 @@ var Vn = function(e) {
|
|
|
1791
1905
|
// cancel mouse events when disabled
|
|
1792
1906
|
position: "relative"
|
|
1793
1907
|
};
|
|
1794
|
-
},
|
|
1908
|
+
}, Yi = function(e) {
|
|
1795
1909
|
var n = e.children, r = e.innerProps, i = e.isDisabled, a = e.isRtl;
|
|
1796
|
-
return
|
|
1910
|
+
return B("div", W({}, L(e, "container", {
|
|
1797
1911
|
"--is-disabled": i,
|
|
1798
1912
|
"--is-rtl": a
|
|
1799
1913
|
}), r), n);
|
|
1800
|
-
},
|
|
1914
|
+
}, xo = function(e, n) {
|
|
1801
1915
|
var r = e.theme.spacing, i = e.isMulti, a = e.hasValue, o = e.selectProps.controlShouldRenderValue;
|
|
1802
|
-
return
|
|
1916
|
+
return P({
|
|
1803
1917
|
alignItems: "center",
|
|
1804
1918
|
display: i && a && o ? "flex" : "grid",
|
|
1805
1919
|
flex: 1,
|
|
@@ -1810,62 +1924,62 @@ var Vn = function(e) {
|
|
|
1810
1924
|
}, n ? {} : {
|
|
1811
1925
|
padding: "".concat(r.baseUnit / 2, "px ").concat(r.baseUnit * 2, "px")
|
|
1812
1926
|
});
|
|
1813
|
-
},
|
|
1927
|
+
}, Oi = function(e) {
|
|
1814
1928
|
var n = e.children, r = e.innerProps, i = e.isMulti, a = e.hasValue;
|
|
1815
|
-
return
|
|
1929
|
+
return B("div", W({}, L(e, "valueContainer", {
|
|
1816
1930
|
"value-container": !0,
|
|
1817
1931
|
"value-container--is-multi": i,
|
|
1818
1932
|
"value-container--has-value": a
|
|
1819
1933
|
}), r), n);
|
|
1820
|
-
},
|
|
1934
|
+
}, Ao = function() {
|
|
1821
1935
|
return {
|
|
1822
1936
|
alignItems: "center",
|
|
1823
1937
|
alignSelf: "stretch",
|
|
1824
1938
|
display: "flex",
|
|
1825
1939
|
flexShrink: 0
|
|
1826
1940
|
};
|
|
1827
|
-
},
|
|
1941
|
+
}, Ji = function(e) {
|
|
1828
1942
|
var n = e.children, r = e.innerProps;
|
|
1829
|
-
return
|
|
1943
|
+
return B("div", W({}, L(e, "indicatorsContainer", {
|
|
1830
1944
|
indicators: !0
|
|
1831
1945
|
}), r), n);
|
|
1832
|
-
},
|
|
1833
|
-
function
|
|
1946
|
+
}, an, zi = ["size"], ji = ["innerProps", "isRtl", "size"];
|
|
1947
|
+
function Fi() {
|
|
1834
1948
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1835
1949
|
}
|
|
1836
|
-
var
|
|
1950
|
+
var Li = process.env.NODE_ENV === "production" ? {
|
|
1837
1951
|
name: "8mmkcg",
|
|
1838
1952
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
|
|
1839
1953
|
} : {
|
|
1840
1954
|
name: "tj5bde-Svg",
|
|
1841
1955
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
1842
1956
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm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ICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
|
|
1843
|
-
toString:
|
|
1844
|
-
},
|
|
1845
|
-
var n = e.size, r = ee(e,
|
|
1846
|
-
return
|
|
1957
|
+
toString: Fi
|
|
1958
|
+
}, Yn = function(e) {
|
|
1959
|
+
var n = e.size, r = ee(e, zi);
|
|
1960
|
+
return B("svg", W({
|
|
1847
1961
|
height: n,
|
|
1848
1962
|
width: n,
|
|
1849
1963
|
viewBox: "0 0 20 20",
|
|
1850
1964
|
"aria-hidden": "true",
|
|
1851
1965
|
focusable: "false",
|
|
1852
|
-
css:
|
|
1966
|
+
css: Li
|
|
1853
1967
|
}, r));
|
|
1854
|
-
},
|
|
1855
|
-
return
|
|
1968
|
+
}, Mt = function(e) {
|
|
1969
|
+
return B(Yn, W({
|
|
1856
1970
|
size: 20
|
|
1857
|
-
}, e),
|
|
1971
|
+
}, e), B("path", {
|
|
1858
1972
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
1859
1973
|
}));
|
|
1860
|
-
},
|
|
1861
|
-
return
|
|
1974
|
+
}, On = function(e) {
|
|
1975
|
+
return B(Yn, W({
|
|
1862
1976
|
size: 20
|
|
1863
|
-
}, e),
|
|
1977
|
+
}, e), B("path", {
|
|
1864
1978
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
1865
1979
|
}));
|
|
1866
|
-
},
|
|
1980
|
+
}, Jn = function(e, n) {
|
|
1867
1981
|
var r = e.isFocused, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
|
|
1868
|
-
return
|
|
1982
|
+
return P({
|
|
1869
1983
|
label: "indicatorContainer",
|
|
1870
1984
|
display: "flex",
|
|
1871
1985
|
transition: "color 150ms"
|
|
@@ -1876,21 +1990,21 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1876
1990
|
color: r ? o.neutral80 : o.neutral40
|
|
1877
1991
|
}
|
|
1878
1992
|
});
|
|
1879
|
-
},
|
|
1993
|
+
}, Go = Jn, Di = function(e) {
|
|
1880
1994
|
var n = e.children, r = e.innerProps;
|
|
1881
|
-
return
|
|
1995
|
+
return B("div", W({}, L(e, "dropdownIndicator", {
|
|
1882
1996
|
indicator: !0,
|
|
1883
1997
|
"dropdown-indicator": !0
|
|
1884
|
-
}), r), n ||
|
|
1885
|
-
},
|
|
1998
|
+
}), r), n || B(On, null));
|
|
1999
|
+
}, Ro = Jn, ki = function(e) {
|
|
1886
2000
|
var n = e.children, r = e.innerProps;
|
|
1887
|
-
return
|
|
2001
|
+
return B("div", W({}, L(e, "clearIndicator", {
|
|
1888
2002
|
indicator: !0,
|
|
1889
2003
|
"clear-indicator": !0
|
|
1890
|
-
}), r), n ||
|
|
1891
|
-
},
|
|
2004
|
+
}), r), n || B(Mt, null));
|
|
2005
|
+
}, Po = function(e, n) {
|
|
1892
2006
|
var r = e.isDisabled, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
|
|
1893
|
-
return
|
|
2007
|
+
return P({
|
|
1894
2008
|
label: "indicatorSeparator",
|
|
1895
2009
|
alignSelf: "stretch",
|
|
1896
2010
|
width: 1
|
|
@@ -1899,17 +2013,17 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1899
2013
|
marginBottom: a * 2,
|
|
1900
2014
|
marginTop: a * 2
|
|
1901
2015
|
});
|
|
1902
|
-
},
|
|
2016
|
+
}, Ui = function(e) {
|
|
1903
2017
|
var n = e.innerProps;
|
|
1904
|
-
return
|
|
2018
|
+
return B("span", W({}, n, L(e, "indicatorSeparator", {
|
|
1905
2019
|
"indicator-separator": !0
|
|
1906
2020
|
})));
|
|
1907
|
-
},
|
|
2021
|
+
}, Qi = ni(an || (an = ci([`
|
|
1908
2022
|
0%, 80%, 100% { opacity: 0; }
|
|
1909
2023
|
40% { opacity: 1; }
|
|
1910
|
-
`]))),
|
|
2024
|
+
`]))), So = function(e, n) {
|
|
1911
2025
|
var r = e.isFocused, i = e.size, a = e.theme, o = a.colors, c = a.spacing.baseUnit;
|
|
1912
|
-
return
|
|
2026
|
+
return P({
|
|
1913
2027
|
label: "loadingIndicator",
|
|
1914
2028
|
display: "flex",
|
|
1915
2029
|
transition: "color 150ms",
|
|
@@ -1923,11 +2037,11 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1923
2037
|
color: r ? o.neutral60 : o.neutral20,
|
|
1924
2038
|
padding: c * 2
|
|
1925
2039
|
});
|
|
1926
|
-
},
|
|
2040
|
+
}, dt = function(e) {
|
|
1927
2041
|
var n = e.delay, r = e.offset;
|
|
1928
|
-
return
|
|
1929
|
-
css: /* @__PURE__ */
|
|
1930
|
-
animation: "".concat(
|
|
2042
|
+
return B("span", {
|
|
2043
|
+
css: /* @__PURE__ */ Pn({
|
|
2044
|
+
animation: "".concat(Qi, " 1s ease-in-out ").concat(n, "ms infinite;"),
|
|
1931
2045
|
backgroundColor: "currentColor",
|
|
1932
2046
|
borderRadius: "1em",
|
|
1933
2047
|
display: "inline-block",
|
|
@@ -1937,28 +2051,28 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1937
2051
|
width: "1em"
|
|
1938
2052
|
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgIC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xuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
|
|
1939
2053
|
});
|
|
1940
|
-
},
|
|
1941
|
-
var n = e.innerProps, r = e.isRtl, i = e.size, a = i === void 0 ? 4 : i, o = ee(e,
|
|
1942
|
-
return
|
|
2054
|
+
}, _i = function(e) {
|
|
2055
|
+
var n = e.innerProps, r = e.isRtl, i = e.size, a = i === void 0 ? 4 : i, o = ee(e, ji);
|
|
2056
|
+
return B("div", W({}, L(P(P({}, o), {}, {
|
|
1943
2057
|
innerProps: n,
|
|
1944
2058
|
isRtl: r,
|
|
1945
2059
|
size: a
|
|
1946
2060
|
}), "loadingIndicator", {
|
|
1947
2061
|
indicator: !0,
|
|
1948
2062
|
"loading-indicator": !0
|
|
1949
|
-
}), n),
|
|
2063
|
+
}), n), B(dt, {
|
|
1950
2064
|
delay: 0,
|
|
1951
2065
|
offset: r
|
|
1952
|
-
}),
|
|
2066
|
+
}), B(dt, {
|
|
1953
2067
|
delay: 160,
|
|
1954
2068
|
offset: !0
|
|
1955
|
-
}),
|
|
2069
|
+
}), B(dt, {
|
|
1956
2070
|
delay: 320,
|
|
1957
2071
|
offset: !r
|
|
1958
2072
|
}));
|
|
1959
|
-
},
|
|
2073
|
+
}, To = function(e, n) {
|
|
1960
2074
|
var r = e.isDisabled, i = e.isFocused, a = e.theme, o = a.colors, c = a.borderRadius, u = a.spacing;
|
|
1961
|
-
return
|
|
2075
|
+
return P({
|
|
1962
2076
|
label: "control",
|
|
1963
2077
|
alignItems: "center",
|
|
1964
2078
|
cursor: "default",
|
|
@@ -1980,11 +2094,11 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1980
2094
|
borderColor: i ? o.primary : o.neutral30
|
|
1981
2095
|
}
|
|
1982
2096
|
});
|
|
1983
|
-
},
|
|
2097
|
+
}, $i = function(e) {
|
|
1984
2098
|
var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.innerRef, o = e.innerProps, c = e.menuIsOpen;
|
|
1985
|
-
return
|
|
2099
|
+
return B("div", W({
|
|
1986
2100
|
ref: a
|
|
1987
|
-
},
|
|
2101
|
+
}, L(e, "control", {
|
|
1988
2102
|
control: !0,
|
|
1989
2103
|
"control--is-disabled": r,
|
|
1990
2104
|
"control--is-focused": i,
|
|
@@ -1992,26 +2106,26 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
1992
2106
|
}), o, {
|
|
1993
2107
|
"aria-disabled": r || void 0
|
|
1994
2108
|
}), n);
|
|
1995
|
-
},
|
|
2109
|
+
}, Ki = $i, qi = ["data"], Bo = function(e, n) {
|
|
1996
2110
|
var r = e.theme.spacing;
|
|
1997
2111
|
return n ? {} : {
|
|
1998
2112
|
paddingBottom: r.baseUnit * 2,
|
|
1999
2113
|
paddingTop: r.baseUnit * 2
|
|
2000
2114
|
};
|
|
2001
|
-
},
|
|
2002
|
-
var n = e.children, r = e.cx, i = e.getStyles, a = e.getClassNames, o = e.Heading, c = e.headingProps, u = e.innerProps, s = e.label, l = e.theme,
|
|
2003
|
-
return
|
|
2115
|
+
}, ea = function(e) {
|
|
2116
|
+
var n = e.children, r = e.cx, i = e.getStyles, a = e.getClassNames, o = e.Heading, c = e.headingProps, u = e.innerProps, s = e.label, l = e.theme, b = e.selectProps;
|
|
2117
|
+
return B("div", W({}, L(e, "group", {
|
|
2004
2118
|
group: !0
|
|
2005
|
-
}), u),
|
|
2006
|
-
selectProps:
|
|
2119
|
+
}), u), B(o, W({}, c, {
|
|
2120
|
+
selectProps: b,
|
|
2007
2121
|
theme: l,
|
|
2008
2122
|
getStyles: i,
|
|
2009
2123
|
getClassNames: a,
|
|
2010
2124
|
cx: r
|
|
2011
|
-
}), s),
|
|
2012
|
-
},
|
|
2125
|
+
}), s), B("div", null, n));
|
|
2126
|
+
}, wo = function(e, n) {
|
|
2013
2127
|
var r = e.theme, i = r.colors, a = r.spacing;
|
|
2014
|
-
return
|
|
2128
|
+
return P({
|
|
2015
2129
|
label: "group",
|
|
2016
2130
|
cursor: "default",
|
|
2017
2131
|
display: "block"
|
|
@@ -2024,27 +2138,27 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
2024
2138
|
paddingRight: a.baseUnit * 3,
|
|
2025
2139
|
textTransform: "uppercase"
|
|
2026
2140
|
});
|
|
2027
|
-
},
|
|
2028
|
-
var n =
|
|
2141
|
+
}, ta = function(e) {
|
|
2142
|
+
var n = Nn(e);
|
|
2029
2143
|
n.data;
|
|
2030
|
-
var r = ee(n,
|
|
2031
|
-
return
|
|
2144
|
+
var r = ee(n, qi);
|
|
2145
|
+
return B("div", W({}, L(e, "groupHeading", {
|
|
2032
2146
|
"group-heading": !0
|
|
2033
2147
|
}), r));
|
|
2034
|
-
},
|
|
2148
|
+
}, na = ea, ra = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Eo = function(e, n) {
|
|
2035
2149
|
var r = e.isDisabled, i = e.value, a = e.theme, o = a.spacing, c = a.colors;
|
|
2036
|
-
return
|
|
2150
|
+
return P(P({
|
|
2037
2151
|
visibility: r ? "hidden" : "visible",
|
|
2038
2152
|
// force css to recompute when value change due to @emotion bug.
|
|
2039
2153
|
// We can remove it whenever the bug is fixed.
|
|
2040
2154
|
transform: i ? "translateZ(0)" : ""
|
|
2041
|
-
},
|
|
2155
|
+
}, ia), n ? {} : {
|
|
2042
2156
|
margin: o.baseUnit / 2,
|
|
2043
2157
|
paddingBottom: o.baseUnit / 2,
|
|
2044
2158
|
paddingTop: o.baseUnit / 2,
|
|
2045
2159
|
color: c.neutral80
|
|
2046
2160
|
});
|
|
2047
|
-
},
|
|
2161
|
+
}, zn = {
|
|
2048
2162
|
gridArea: "1 / 2",
|
|
2049
2163
|
font: "inherit",
|
|
2050
2164
|
minWidth: "2px",
|
|
@@ -2052,41 +2166,41 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
2052
2166
|
margin: 0,
|
|
2053
2167
|
outline: 0,
|
|
2054
2168
|
padding: 0
|
|
2055
|
-
},
|
|
2169
|
+
}, ia = {
|
|
2056
2170
|
flex: "1 1 auto",
|
|
2057
2171
|
display: "inline-grid",
|
|
2058
2172
|
gridArea: "1 / 1 / 2 / 3",
|
|
2059
2173
|
gridTemplateColumns: "0 min-content",
|
|
2060
|
-
"&:after":
|
|
2174
|
+
"&:after": P({
|
|
2061
2175
|
content: 'attr(data-value) " "',
|
|
2062
2176
|
visibility: "hidden",
|
|
2063
2177
|
whiteSpace: "pre"
|
|
2064
|
-
},
|
|
2065
|
-
},
|
|
2066
|
-
return
|
|
2178
|
+
}, zn)
|
|
2179
|
+
}, aa = function(e) {
|
|
2180
|
+
return P({
|
|
2067
2181
|
label: "input",
|
|
2068
2182
|
color: "inherit",
|
|
2069
2183
|
background: 0,
|
|
2070
2184
|
opacity: e ? 0 : 1,
|
|
2071
2185
|
width: "100%"
|
|
2072
|
-
},
|
|
2073
|
-
},
|
|
2074
|
-
var n = e.cx, r = e.value, i =
|
|
2075
|
-
return
|
|
2186
|
+
}, zn);
|
|
2187
|
+
}, oa = function(e) {
|
|
2188
|
+
var n = e.cx, r = e.value, i = Nn(e), a = i.innerRef, o = i.isDisabled, c = i.isHidden, u = i.inputClassName, s = ee(i, ra);
|
|
2189
|
+
return B("div", W({}, L(e, "input", {
|
|
2076
2190
|
"input-container": !0
|
|
2077
2191
|
}), {
|
|
2078
2192
|
"data-value": r || ""
|
|
2079
|
-
}),
|
|
2193
|
+
}), B("input", W({
|
|
2080
2194
|
className: n({
|
|
2081
2195
|
input: !0
|
|
2082
2196
|
}, u),
|
|
2083
2197
|
ref: a,
|
|
2084
|
-
style:
|
|
2198
|
+
style: aa(c),
|
|
2085
2199
|
disabled: o
|
|
2086
2200
|
}, s)));
|
|
2087
|
-
},
|
|
2201
|
+
}, ca = oa, Xo = function(e, n) {
|
|
2088
2202
|
var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors;
|
|
2089
|
-
return
|
|
2203
|
+
return P({
|
|
2090
2204
|
label: "multiValue",
|
|
2091
2205
|
display: "flex",
|
|
2092
2206
|
minWidth: 0
|
|
@@ -2095,9 +2209,9 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
2095
2209
|
borderRadius: a / 2,
|
|
2096
2210
|
margin: i.baseUnit / 2
|
|
2097
2211
|
});
|
|
2098
|
-
},
|
|
2212
|
+
}, No = function(e, n) {
|
|
2099
2213
|
var r = e.theme, i = r.borderRadius, a = r.colors, o = e.cropWithEllipsis;
|
|
2100
|
-
return
|
|
2214
|
+
return P({
|
|
2101
2215
|
overflow: "hidden",
|
|
2102
2216
|
textOverflow: o || o === void 0 ? "ellipsis" : void 0,
|
|
2103
2217
|
whiteSpace: "nowrap"
|
|
@@ -2108,9 +2222,9 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
2108
2222
|
padding: 3,
|
|
2109
2223
|
paddingLeft: 6
|
|
2110
2224
|
});
|
|
2111
|
-
},
|
|
2225
|
+
}, Vo = function(e, n) {
|
|
2112
2226
|
var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors, c = e.isFocused;
|
|
2113
|
-
return
|
|
2227
|
+
return P({
|
|
2114
2228
|
alignItems: "center",
|
|
2115
2229
|
display: "flex"
|
|
2116
2230
|
}, n ? {} : {
|
|
@@ -2123,45 +2237,45 @@ var Ui = process.env.NODE_ENV === "production" ? {
|
|
|
2123
2237
|
color: o.danger
|
|
2124
2238
|
}
|
|
2125
2239
|
});
|
|
2126
|
-
},
|
|
2240
|
+
}, jn = function(e) {
|
|
2127
2241
|
var n = e.children, r = e.innerProps;
|
|
2128
|
-
return
|
|
2129
|
-
},
|
|
2130
|
-
function
|
|
2242
|
+
return B("div", r, n);
|
|
2243
|
+
}, ua = jn, sa = jn;
|
|
2244
|
+
function la(t) {
|
|
2131
2245
|
var e = t.children, n = t.innerProps;
|
|
2132
|
-
return
|
|
2246
|
+
return B("div", W({
|
|
2133
2247
|
role: "button"
|
|
2134
|
-
}, n), e ||
|
|
2248
|
+
}, n), e || B(Mt, {
|
|
2135
2249
|
size: 14
|
|
2136
2250
|
}));
|
|
2137
2251
|
}
|
|
2138
|
-
var
|
|
2139
|
-
var n = e.children, r = e.components, i = e.data, a = e.innerProps, o = e.isDisabled, c = e.removeProps, u = e.selectProps, s = r.Container, l = r.Label,
|
|
2140
|
-
return
|
|
2252
|
+
var da = function(e) {
|
|
2253
|
+
var n = e.children, r = e.components, i = e.data, a = e.innerProps, o = e.isDisabled, c = e.removeProps, u = e.selectProps, s = r.Container, l = r.Label, b = r.Remove;
|
|
2254
|
+
return B(s, {
|
|
2141
2255
|
data: i,
|
|
2142
|
-
innerProps:
|
|
2256
|
+
innerProps: P(P({}, L(e, "multiValue", {
|
|
2143
2257
|
"multi-value": !0,
|
|
2144
2258
|
"multi-value--is-disabled": o
|
|
2145
2259
|
})), a),
|
|
2146
2260
|
selectProps: u
|
|
2147
|
-
},
|
|
2261
|
+
}, B(l, {
|
|
2148
2262
|
data: i,
|
|
2149
|
-
innerProps:
|
|
2263
|
+
innerProps: P({}, L(e, "multiValueLabel", {
|
|
2150
2264
|
"multi-value__label": !0
|
|
2151
2265
|
})),
|
|
2152
2266
|
selectProps: u
|
|
2153
|
-
}, n),
|
|
2267
|
+
}, n), B(b, {
|
|
2154
2268
|
data: i,
|
|
2155
|
-
innerProps:
|
|
2269
|
+
innerProps: P(P({}, L(e, "multiValueRemove", {
|
|
2156
2270
|
"multi-value__remove": !0
|
|
2157
2271
|
})), {}, {
|
|
2158
2272
|
"aria-label": "Remove ".concat(n || "option")
|
|
2159
2273
|
}, c),
|
|
2160
2274
|
selectProps: u
|
|
2161
2275
|
}));
|
|
2162
|
-
},
|
|
2276
|
+
}, ga = da, Wo = function(e, n) {
|
|
2163
2277
|
var r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.theme, c = o.spacing, u = o.colors;
|
|
2164
|
-
return
|
|
2278
|
+
return P({
|
|
2165
2279
|
label: "option",
|
|
2166
2280
|
cursor: "default",
|
|
2167
2281
|
display: "block",
|
|
@@ -2178,9 +2292,9 @@ var ba = function(e) {
|
|
|
2178
2292
|
backgroundColor: r ? void 0 : a ? u.primary : u.primary50
|
|
2179
2293
|
}
|
|
2180
2294
|
});
|
|
2181
|
-
},
|
|
2295
|
+
}, fa = function(e) {
|
|
2182
2296
|
var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.innerRef, c = e.innerProps;
|
|
2183
|
-
return
|
|
2297
|
+
return B("div", W({}, L(e, "option", {
|
|
2184
2298
|
option: !0,
|
|
2185
2299
|
"option--is-disabled": r,
|
|
2186
2300
|
"option--is-focused": i,
|
|
@@ -2189,9 +2303,9 @@ var ba = function(e) {
|
|
|
2189
2303
|
ref: o,
|
|
2190
2304
|
"aria-disabled": r
|
|
2191
2305
|
}, c), n);
|
|
2192
|
-
},
|
|
2306
|
+
}, ba = fa, Ho = function(e, n) {
|
|
2193
2307
|
var r = e.theme, i = r.spacing, a = r.colors;
|
|
2194
|
-
return
|
|
2308
|
+
return P({
|
|
2195
2309
|
label: "placeholder",
|
|
2196
2310
|
gridArea: "1 / 1 / 2 / 3"
|
|
2197
2311
|
}, n ? {} : {
|
|
@@ -2199,14 +2313,14 @@ var ba = function(e) {
|
|
|
2199
2313
|
marginLeft: i.baseUnit / 2,
|
|
2200
2314
|
marginRight: i.baseUnit / 2
|
|
2201
2315
|
});
|
|
2202
|
-
},
|
|
2316
|
+
}, va = function(e) {
|
|
2203
2317
|
var n = e.children, r = e.innerProps;
|
|
2204
|
-
return
|
|
2318
|
+
return B("div", W({}, L(e, "placeholder", {
|
|
2205
2319
|
placeholder: !0
|
|
2206
2320
|
}), r), n);
|
|
2207
|
-
},
|
|
2321
|
+
}, pa = va, Zo = function(e, n) {
|
|
2208
2322
|
var r = e.isDisabled, i = e.theme, a = i.spacing, o = i.colors;
|
|
2209
|
-
return
|
|
2323
|
+
return P({
|
|
2210
2324
|
label: "singleValue",
|
|
2211
2325
|
gridArea: "1 / 1 / 2 / 3",
|
|
2212
2326
|
maxWidth: "100%",
|
|
@@ -2218,77 +2332,59 @@ var ba = function(e) {
|
|
|
2218
2332
|
marginLeft: a.baseUnit / 2,
|
|
2219
2333
|
marginRight: a.baseUnit / 2
|
|
2220
2334
|
});
|
|
2221
|
-
},
|
|
2335
|
+
}, ma = function(e) {
|
|
2222
2336
|
var n = e.children, r = e.isDisabled, i = e.innerProps;
|
|
2223
|
-
return
|
|
2337
|
+
return B("div", W({}, L(e, "singleValue", {
|
|
2224
2338
|
"single-value": !0,
|
|
2225
2339
|
"single-value--is-disabled": r
|
|
2226
2340
|
}), i), n);
|
|
2227
|
-
},
|
|
2228
|
-
ClearIndicator:
|
|
2229
|
-
Control:
|
|
2230
|
-
DropdownIndicator:
|
|
2231
|
-
DownChevron:
|
|
2232
|
-
CrossIcon:
|
|
2233
|
-
Group:
|
|
2234
|
-
GroupHeading:
|
|
2235
|
-
IndicatorsContainer:
|
|
2236
|
-
IndicatorSeparator:
|
|
2237
|
-
Input:
|
|
2238
|
-
LoadingIndicator:
|
|
2239
|
-
Menu:
|
|
2240
|
-
MenuList:
|
|
2241
|
-
MenuPortal:
|
|
2242
|
-
LoadingMessage:
|
|
2243
|
-
NoOptionsMessage:
|
|
2244
|
-
MultiValue:
|
|
2245
|
-
MultiValueContainer:
|
|
2246
|
-
MultiValueLabel:
|
|
2247
|
-
MultiValueRemove:
|
|
2248
|
-
Option:
|
|
2249
|
-
Placeholder:
|
|
2250
|
-
SelectContainer:
|
|
2251
|
-
SingleValue:
|
|
2252
|
-
ValueContainer:
|
|
2253
|
-
},
|
|
2254
|
-
return
|
|
2341
|
+
}, Ia = ma, ha = {
|
|
2342
|
+
ClearIndicator: ki,
|
|
2343
|
+
Control: Ki,
|
|
2344
|
+
DropdownIndicator: Di,
|
|
2345
|
+
DownChevron: On,
|
|
2346
|
+
CrossIcon: Mt,
|
|
2347
|
+
Group: na,
|
|
2348
|
+
GroupHeading: ta,
|
|
2349
|
+
IndicatorsContainer: Ji,
|
|
2350
|
+
IndicatorSeparator: Ui,
|
|
2351
|
+
Input: ca,
|
|
2352
|
+
LoadingIndicator: _i,
|
|
2353
|
+
Menu: Vi,
|
|
2354
|
+
MenuList: Wi,
|
|
2355
|
+
MenuPortal: Mi,
|
|
2356
|
+
LoadingMessage: Zi,
|
|
2357
|
+
NoOptionsMessage: Hi,
|
|
2358
|
+
MultiValue: ga,
|
|
2359
|
+
MultiValueContainer: ua,
|
|
2360
|
+
MultiValueLabel: sa,
|
|
2361
|
+
MultiValueRemove: la,
|
|
2362
|
+
Option: ba,
|
|
2363
|
+
Placeholder: pa,
|
|
2364
|
+
SelectContainer: Yi,
|
|
2365
|
+
SingleValue: Ia,
|
|
2366
|
+
ValueContainer: Oi
|
|
2367
|
+
}, Ca = function(e) {
|
|
2368
|
+
return P(P({}, ha), e.components);
|
|
2255
2369
|
};
|
|
2256
|
-
function
|
|
2257
|
-
return
|
|
2258
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
2259
|
-
var n = arguments[e];
|
|
2260
|
-
for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
2261
|
-
}
|
|
2262
|
-
return t;
|
|
2263
|
-
}, At.apply(null, arguments);
|
|
2264
|
-
}
|
|
2265
|
-
function zn(t, e) {
|
|
2266
|
-
if (t == null) return {};
|
|
2267
|
-
var n = {};
|
|
2268
|
-
for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
|
|
2269
|
-
if (e.includes(r)) continue;
|
|
2270
|
-
n[r] = t[r];
|
|
2271
|
-
}
|
|
2272
|
-
return n;
|
|
2273
|
-
}
|
|
2274
|
-
function Gt(t, e) {
|
|
2275
|
-
return Gt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
2370
|
+
function Rt(t, e) {
|
|
2371
|
+
return Rt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
2276
2372
|
return n.__proto__ = r, n;
|
|
2277
|
-
},
|
|
2373
|
+
}, Rt(t, e);
|
|
2278
2374
|
}
|
|
2279
|
-
function
|
|
2280
|
-
t.prototype = Object.create(e.prototype), t.prototype.constructor = t,
|
|
2375
|
+
function Fn(t, e) {
|
|
2376
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Rt(t, e);
|
|
2281
2377
|
}
|
|
2282
|
-
var
|
|
2378
|
+
var Fe = { exports: {} };
|
|
2283
2379
|
/*
|
|
2284
2380
|
object-assign
|
|
2285
2381
|
(c) Sindre Sorhus
|
|
2286
2382
|
@license MIT
|
|
2287
2383
|
*/
|
|
2288
|
-
var
|
|
2289
|
-
function
|
|
2290
|
-
if (
|
|
2291
|
-
|
|
2384
|
+
var gt, on;
|
|
2385
|
+
function ya() {
|
|
2386
|
+
if (on) return gt;
|
|
2387
|
+
on = 1;
|
|
2292
2388
|
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
2293
2389
|
function r(a) {
|
|
2294
2390
|
if (a == null)
|
|
@@ -2317,39 +2413,39 @@ function Ga() {
|
|
|
2317
2413
|
return !1;
|
|
2318
2414
|
}
|
|
2319
2415
|
}
|
|
2320
|
-
return
|
|
2416
|
+
return gt = i() ? Object.assign : function(a, o) {
|
|
2321
2417
|
for (var c, u = r(a), s, l = 1; l < arguments.length; l++) {
|
|
2322
2418
|
c = Object(arguments[l]);
|
|
2323
|
-
for (var
|
|
2324
|
-
e.call(c,
|
|
2419
|
+
for (var b in c)
|
|
2420
|
+
e.call(c, b) && (u[b] = c[b]);
|
|
2325
2421
|
if (t) {
|
|
2326
2422
|
s = t(c);
|
|
2327
|
-
for (var
|
|
2328
|
-
n.call(c, s[
|
|
2423
|
+
for (var m = 0; m < s.length; m++)
|
|
2424
|
+
n.call(c, s[m]) && (u[s[m]] = c[s[m]]);
|
|
2329
2425
|
}
|
|
2330
2426
|
}
|
|
2331
2427
|
return u;
|
|
2332
|
-
},
|
|
2428
|
+
}, gt;
|
|
2333
2429
|
}
|
|
2334
|
-
var
|
|
2335
|
-
function
|
|
2336
|
-
if (
|
|
2337
|
-
|
|
2430
|
+
var ft, cn;
|
|
2431
|
+
function Yt() {
|
|
2432
|
+
if (cn) return ft;
|
|
2433
|
+
cn = 1;
|
|
2338
2434
|
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2339
|
-
return
|
|
2435
|
+
return ft = t, ft;
|
|
2340
2436
|
}
|
|
2341
|
-
var
|
|
2342
|
-
function
|
|
2343
|
-
return
|
|
2437
|
+
var bt, un;
|
|
2438
|
+
function Ln() {
|
|
2439
|
+
return un || (un = 1, bt = Function.call.bind(Object.prototype.hasOwnProperty)), bt;
|
|
2344
2440
|
}
|
|
2345
|
-
var
|
|
2346
|
-
function
|
|
2347
|
-
if (
|
|
2348
|
-
|
|
2441
|
+
var vt, sn;
|
|
2442
|
+
function xa() {
|
|
2443
|
+
if (sn) return vt;
|
|
2444
|
+
sn = 1;
|
|
2349
2445
|
var t = function() {
|
|
2350
2446
|
};
|
|
2351
2447
|
if (process.env.NODE_ENV !== "production") {
|
|
2352
|
-
var e =
|
|
2448
|
+
var e = /* @__PURE__ */ Yt(), n = {}, r = /* @__PURE__ */ Ln();
|
|
2353
2449
|
t = function(a) {
|
|
2354
2450
|
var o = "Warning: " + a;
|
|
2355
2451
|
typeof console < "u" && console.error(o);
|
|
@@ -2363,25 +2459,25 @@ function Ra() {
|
|
|
2363
2459
|
if (process.env.NODE_ENV !== "production") {
|
|
2364
2460
|
for (var l in a)
|
|
2365
2461
|
if (r(a, l)) {
|
|
2366
|
-
var
|
|
2462
|
+
var b;
|
|
2367
2463
|
try {
|
|
2368
2464
|
if (typeof a[l] != "function") {
|
|
2369
|
-
var
|
|
2465
|
+
var m = Error(
|
|
2370
2466
|
(u || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2371
2467
|
);
|
|
2372
|
-
throw
|
|
2468
|
+
throw m.name = "Invariant Violation", m;
|
|
2373
2469
|
}
|
|
2374
|
-
|
|
2375
|
-
} catch (
|
|
2376
|
-
|
|
2470
|
+
b = a[l](o, l, u, c, null, e);
|
|
2471
|
+
} catch (C) {
|
|
2472
|
+
b = C;
|
|
2377
2473
|
}
|
|
2378
|
-
if (
|
|
2379
|
-
(u || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof
|
|
2380
|
-
),
|
|
2381
|
-
n[
|
|
2382
|
-
var
|
|
2474
|
+
if (b && !(b instanceof Error) && t(
|
|
2475
|
+
(u || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2476
|
+
), b instanceof Error && !(b.message in n)) {
|
|
2477
|
+
n[b.message] = !0;
|
|
2478
|
+
var x = s ? s() : "";
|
|
2383
2479
|
t(
|
|
2384
|
-
"Failed " + c + " type: " +
|
|
2480
|
+
"Failed " + c + " type: " + b.message + (x ?? "")
|
|
2385
2481
|
);
|
|
2386
2482
|
}
|
|
2387
2483
|
}
|
|
@@ -2389,13 +2485,13 @@ function Ra() {
|
|
|
2389
2485
|
}
|
|
2390
2486
|
return i.resetWarningCache = function() {
|
|
2391
2487
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
2392
|
-
},
|
|
2488
|
+
}, vt = i, vt;
|
|
2393
2489
|
}
|
|
2394
|
-
var
|
|
2395
|
-
function
|
|
2396
|
-
if (
|
|
2397
|
-
|
|
2398
|
-
var t =
|
|
2490
|
+
var pt, ln;
|
|
2491
|
+
function Aa() {
|
|
2492
|
+
if (ln) return pt;
|
|
2493
|
+
ln = 1;
|
|
2494
|
+
var t = Xt(), e = ya(), n = /* @__PURE__ */ Yt(), r = /* @__PURE__ */ Ln(), i = /* @__PURE__ */ xa(), a = function() {
|
|
2399
2495
|
};
|
|
2400
2496
|
process.env.NODE_ENV !== "production" && (a = function(c) {
|
|
2401
2497
|
var u = "Warning: " + c;
|
|
@@ -2408,35 +2504,35 @@ function Pa() {
|
|
|
2408
2504
|
function o() {
|
|
2409
2505
|
return null;
|
|
2410
2506
|
}
|
|
2411
|
-
return
|
|
2507
|
+
return pt = function(c, u) {
|
|
2412
2508
|
var s = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
2413
|
-
function
|
|
2509
|
+
function b(g) {
|
|
2414
2510
|
var I = g && (s && g[s] || g[l]);
|
|
2415
2511
|
if (typeof I == "function")
|
|
2416
2512
|
return I;
|
|
2417
2513
|
}
|
|
2418
|
-
var
|
|
2419
|
-
array:
|
|
2420
|
-
bigint:
|
|
2421
|
-
bool:
|
|
2422
|
-
func:
|
|
2423
|
-
number:
|
|
2424
|
-
object:
|
|
2425
|
-
string:
|
|
2426
|
-
symbol:
|
|
2427
|
-
any:
|
|
2428
|
-
arrayOf:
|
|
2429
|
-
element:
|
|
2514
|
+
var m = "<<anonymous>>", x = {
|
|
2515
|
+
array: f("array"),
|
|
2516
|
+
bigint: f("bigint"),
|
|
2517
|
+
bool: f("boolean"),
|
|
2518
|
+
func: f("function"),
|
|
2519
|
+
number: f("number"),
|
|
2520
|
+
object: f("object"),
|
|
2521
|
+
string: f("string"),
|
|
2522
|
+
symbol: f("symbol"),
|
|
2523
|
+
any: G(),
|
|
2524
|
+
arrayOf: A,
|
|
2525
|
+
element: R(),
|
|
2430
2526
|
elementType: d(),
|
|
2431
|
-
instanceOf:
|
|
2527
|
+
instanceOf: T,
|
|
2432
2528
|
node: ge(),
|
|
2433
|
-
objectOf:
|
|
2434
|
-
oneOf:
|
|
2529
|
+
objectOf: U,
|
|
2530
|
+
oneOf: y,
|
|
2435
2531
|
oneOfType: te,
|
|
2436
2532
|
shape: de,
|
|
2437
2533
|
exact: Pe
|
|
2438
2534
|
};
|
|
2439
|
-
function
|
|
2535
|
+
function C(g, I) {
|
|
2440
2536
|
return g === I ? g !== 0 || 1 / g === 1 / I : g !== g && I !== I;
|
|
2441
2537
|
}
|
|
2442
2538
|
function v(g, I) {
|
|
@@ -2446,13 +2542,13 @@ function Pa() {
|
|
|
2446
2542
|
function h(g) {
|
|
2447
2543
|
if (process.env.NODE_ENV !== "production")
|
|
2448
2544
|
var I = {}, V = 0;
|
|
2449
|
-
function X(H,
|
|
2450
|
-
if (Z = Z ||
|
|
2545
|
+
function X(H, E, N, Z, j, M, _) {
|
|
2546
|
+
if (Z = Z || m, M = M || N, _ !== n) {
|
|
2451
2547
|
if (u) {
|
|
2452
|
-
var
|
|
2548
|
+
var p = new Error(
|
|
2453
2549
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2454
2550
|
);
|
|
2455
|
-
throw
|
|
2551
|
+
throw p.name = "Invariant Violation", p;
|
|
2456
2552
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2457
2553
|
var ne = Z + ":" + N;
|
|
2458
2554
|
!I[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -2461,18 +2557,18 @@ function Pa() {
|
|
|
2461
2557
|
), I[ne] = !0, V++);
|
|
2462
2558
|
}
|
|
2463
2559
|
}
|
|
2464
|
-
return
|
|
2560
|
+
return E[N] == null ? H ? E[N] === null ? new v("The " + j + " `" + M + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new v("The " + j + " `" + M + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : g(E, N, Z, j, M);
|
|
2465
2561
|
}
|
|
2466
|
-
var
|
|
2467
|
-
return
|
|
2562
|
+
var w = X.bind(null, !1);
|
|
2563
|
+
return w.isRequired = X.bind(null, !0), w;
|
|
2468
2564
|
}
|
|
2469
|
-
function
|
|
2470
|
-
function I(V, X,
|
|
2471
|
-
var Z = V[X],
|
|
2472
|
-
if (
|
|
2565
|
+
function f(g) {
|
|
2566
|
+
function I(V, X, w, H, E, N) {
|
|
2567
|
+
var Z = V[X], j = K(Z);
|
|
2568
|
+
if (j !== g) {
|
|
2473
2569
|
var M = be(Z);
|
|
2474
2570
|
return new v(
|
|
2475
|
-
"Invalid " + H + " `" +
|
|
2571
|
+
"Invalid " + H + " `" + E + "` of type " + ("`" + M + "` supplied to `" + w + "`, expected ") + ("`" + g + "`."),
|
|
2476
2572
|
{ expectedType: g }
|
|
2477
2573
|
);
|
|
2478
2574
|
}
|
|
@@ -2480,20 +2576,20 @@ function Pa() {
|
|
|
2480
2576
|
}
|
|
2481
2577
|
return h(I);
|
|
2482
2578
|
}
|
|
2483
|
-
function
|
|
2579
|
+
function G() {
|
|
2484
2580
|
return h(o);
|
|
2485
2581
|
}
|
|
2486
|
-
function
|
|
2487
|
-
function I(V, X,
|
|
2582
|
+
function A(g) {
|
|
2583
|
+
function I(V, X, w, H, E) {
|
|
2488
2584
|
if (typeof g != "function")
|
|
2489
|
-
return new v("Property `" +
|
|
2585
|
+
return new v("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
|
|
2490
2586
|
var N = V[X];
|
|
2491
2587
|
if (!Array.isArray(N)) {
|
|
2492
2588
|
var Z = K(N);
|
|
2493
|
-
return new v("Invalid " + H + " `" +
|
|
2589
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected an array."));
|
|
2494
2590
|
}
|
|
2495
|
-
for (var
|
|
2496
|
-
var M = g(N,
|
|
2591
|
+
for (var j = 0; j < N.length; j++) {
|
|
2592
|
+
var M = g(N, j, w, H, E + "[" + j + "]", n);
|
|
2497
2593
|
if (M instanceof Error)
|
|
2498
2594
|
return M;
|
|
2499
2595
|
}
|
|
@@ -2501,65 +2597,65 @@ function Pa() {
|
|
|
2501
2597
|
}
|
|
2502
2598
|
return h(I);
|
|
2503
2599
|
}
|
|
2504
|
-
function
|
|
2505
|
-
function g(I, V, X,
|
|
2506
|
-
var
|
|
2507
|
-
if (!c(
|
|
2508
|
-
var N = K(
|
|
2509
|
-
return new v("Invalid " +
|
|
2600
|
+
function R() {
|
|
2601
|
+
function g(I, V, X, w, H) {
|
|
2602
|
+
var E = I[V];
|
|
2603
|
+
if (!c(E)) {
|
|
2604
|
+
var N = K(E);
|
|
2605
|
+
return new v("Invalid " + w + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement."));
|
|
2510
2606
|
}
|
|
2511
2607
|
return null;
|
|
2512
2608
|
}
|
|
2513
2609
|
return h(g);
|
|
2514
2610
|
}
|
|
2515
2611
|
function d() {
|
|
2516
|
-
function g(I, V, X,
|
|
2517
|
-
var
|
|
2518
|
-
if (!t.isValidElementType(
|
|
2519
|
-
var N = K(
|
|
2520
|
-
return new v("Invalid " +
|
|
2612
|
+
function g(I, V, X, w, H) {
|
|
2613
|
+
var E = I[V];
|
|
2614
|
+
if (!t.isValidElementType(E)) {
|
|
2615
|
+
var N = K(E);
|
|
2616
|
+
return new v("Invalid " + w + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement type."));
|
|
2521
2617
|
}
|
|
2522
2618
|
return null;
|
|
2523
2619
|
}
|
|
2524
2620
|
return h(g);
|
|
2525
2621
|
}
|
|
2526
|
-
function
|
|
2527
|
-
function I(V, X,
|
|
2622
|
+
function T(g) {
|
|
2623
|
+
function I(V, X, w, H, E) {
|
|
2528
2624
|
if (!(V[X] instanceof g)) {
|
|
2529
|
-
var N = g.name ||
|
|
2530
|
-
return new v("Invalid " + H + " `" +
|
|
2625
|
+
var N = g.name || m, Z = ct(V[X]);
|
|
2626
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected ") + ("instance of `" + N + "`."));
|
|
2531
2627
|
}
|
|
2532
2628
|
return null;
|
|
2533
2629
|
}
|
|
2534
2630
|
return h(I);
|
|
2535
2631
|
}
|
|
2536
|
-
function
|
|
2632
|
+
function y(g) {
|
|
2537
2633
|
if (!Array.isArray(g))
|
|
2538
2634
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
2539
2635
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2540
2636
|
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
2541
|
-
function I(V, X,
|
|
2637
|
+
function I(V, X, w, H, E) {
|
|
2542
2638
|
for (var N = V[X], Z = 0; Z < g.length; Z++)
|
|
2543
|
-
if (
|
|
2639
|
+
if (C(N, g[Z]))
|
|
2544
2640
|
return null;
|
|
2545
|
-
var
|
|
2546
|
-
var ne = be(
|
|
2547
|
-
return ne === "symbol" ? String(
|
|
2641
|
+
var j = JSON.stringify(g, function(_, p) {
|
|
2642
|
+
var ne = be(p);
|
|
2643
|
+
return ne === "symbol" ? String(p) : p;
|
|
2548
2644
|
});
|
|
2549
|
-
return new v("Invalid " + H + " `" +
|
|
2645
|
+
return new v("Invalid " + H + " `" + E + "` of value `" + String(N) + "` " + ("supplied to `" + w + "`, expected one of " + j + "."));
|
|
2550
2646
|
}
|
|
2551
2647
|
return h(I);
|
|
2552
2648
|
}
|
|
2553
|
-
function
|
|
2554
|
-
function I(V, X,
|
|
2649
|
+
function U(g) {
|
|
2650
|
+
function I(V, X, w, H, E) {
|
|
2555
2651
|
if (typeof g != "function")
|
|
2556
|
-
return new v("Property `" +
|
|
2652
|
+
return new v("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
|
|
2557
2653
|
var N = V[X], Z = K(N);
|
|
2558
2654
|
if (Z !== "object")
|
|
2559
|
-
return new v("Invalid " + H + " `" +
|
|
2560
|
-
for (var
|
|
2561
|
-
if (r(N,
|
|
2562
|
-
var M = g(N,
|
|
2655
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected an object."));
|
|
2656
|
+
for (var j in N)
|
|
2657
|
+
if (r(N, j)) {
|
|
2658
|
+
var M = g(N, j, w, H, E + "." + j, n);
|
|
2563
2659
|
if (M instanceof Error)
|
|
2564
2660
|
return M;
|
|
2565
2661
|
}
|
|
@@ -2577,64 +2673,64 @@ function Pa() {
|
|
|
2577
2673
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + He(V) + " at index " + I + "."
|
|
2578
2674
|
), o;
|
|
2579
2675
|
}
|
|
2580
|
-
function X(
|
|
2581
|
-
for (var
|
|
2582
|
-
var
|
|
2583
|
-
if (
|
|
2676
|
+
function X(w, H, E, N, Z) {
|
|
2677
|
+
for (var j = [], M = 0; M < g.length; M++) {
|
|
2678
|
+
var _ = g[M], p = _(w, H, E, N, Z, n);
|
|
2679
|
+
if (p == null)
|
|
2584
2680
|
return null;
|
|
2585
|
-
|
|
2681
|
+
p.data && r(p.data, "expectedType") && j.push(p.data.expectedType);
|
|
2586
2682
|
}
|
|
2587
|
-
var ne =
|
|
2588
|
-
return new v("Invalid " + N + " `" + Z + "` supplied to " + ("`" +
|
|
2683
|
+
var ne = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
2684
|
+
return new v("Invalid " + N + " `" + Z + "` supplied to " + ("`" + E + "`" + ne + "."));
|
|
2589
2685
|
}
|
|
2590
2686
|
return h(X);
|
|
2591
2687
|
}
|
|
2592
2688
|
function ge() {
|
|
2593
|
-
function g(I, V, X,
|
|
2594
|
-
return ce(I[V]) ? null : new v("Invalid " +
|
|
2689
|
+
function g(I, V, X, w, H) {
|
|
2690
|
+
return ce(I[V]) ? null : new v("Invalid " + w + " `" + H + "` supplied to " + ("`" + X + "`, expected a ReactNode."));
|
|
2595
2691
|
}
|
|
2596
2692
|
return h(g);
|
|
2597
2693
|
}
|
|
2598
|
-
function fe(g, I, V, X,
|
|
2694
|
+
function fe(g, I, V, X, w) {
|
|
2599
2695
|
return new v(
|
|
2600
|
-
(g || "React class") + ": " + I + " type `" + V + "." + X + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
2696
|
+
(g || "React class") + ": " + I + " type `" + V + "." + X + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
|
|
2601
2697
|
);
|
|
2602
2698
|
}
|
|
2603
2699
|
function de(g) {
|
|
2604
|
-
function I(V, X,
|
|
2700
|
+
function I(V, X, w, H, E) {
|
|
2605
2701
|
var N = V[X], Z = K(N);
|
|
2606
2702
|
if (Z !== "object")
|
|
2607
|
-
return new v("Invalid " + H + " `" +
|
|
2608
|
-
for (var
|
|
2609
|
-
var M = g[
|
|
2703
|
+
return new v("Invalid " + H + " `" + E + "` of type `" + Z + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
2704
|
+
for (var j in g) {
|
|
2705
|
+
var M = g[j];
|
|
2610
2706
|
if (typeof M != "function")
|
|
2611
|
-
return fe(
|
|
2612
|
-
var
|
|
2613
|
-
if (
|
|
2614
|
-
return
|
|
2707
|
+
return fe(w, H, E, j, be(M));
|
|
2708
|
+
var _ = M(N, j, w, H, E + "." + j, n);
|
|
2709
|
+
if (_)
|
|
2710
|
+
return _;
|
|
2615
2711
|
}
|
|
2616
2712
|
return null;
|
|
2617
2713
|
}
|
|
2618
2714
|
return h(I);
|
|
2619
2715
|
}
|
|
2620
2716
|
function Pe(g) {
|
|
2621
|
-
function I(V, X,
|
|
2717
|
+
function I(V, X, w, H, E) {
|
|
2622
2718
|
var N = V[X], Z = K(N);
|
|
2623
2719
|
if (Z !== "object")
|
|
2624
|
-
return new v("Invalid " + H + " `" +
|
|
2625
|
-
var
|
|
2626
|
-
for (var M in
|
|
2627
|
-
var
|
|
2628
|
-
if (r(g, M) && typeof
|
|
2629
|
-
return fe(
|
|
2630
|
-
if (
|
|
2720
|
+
return new v("Invalid " + H + " `" + E + "` of type `" + Z + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
2721
|
+
var j = e({}, V[X], g);
|
|
2722
|
+
for (var M in j) {
|
|
2723
|
+
var _ = g[M];
|
|
2724
|
+
if (r(g, M) && typeof _ != "function")
|
|
2725
|
+
return fe(w, H, E, M, be(_));
|
|
2726
|
+
if (!_)
|
|
2631
2727
|
return new v(
|
|
2632
|
-
"Invalid " + H + " `" +
|
|
2728
|
+
"Invalid " + H + " `" + E + "` key `" + M + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(V[X], null, " ") + `
|
|
2633
2729
|
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
2634
2730
|
);
|
|
2635
|
-
var
|
|
2636
|
-
if (
|
|
2637
|
-
return
|
|
2731
|
+
var p = _(N, M, w, H, E + "." + M, n);
|
|
2732
|
+
if (p)
|
|
2733
|
+
return p;
|
|
2638
2734
|
}
|
|
2639
2735
|
return null;
|
|
2640
2736
|
}
|
|
@@ -2653,7 +2749,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
2653
2749
|
return g.every(ce);
|
|
2654
2750
|
if (g === null || c(g))
|
|
2655
2751
|
return !0;
|
|
2656
|
-
var I =
|
|
2752
|
+
var I = b(g);
|
|
2657
2753
|
if (I) {
|
|
2658
2754
|
var V = I.call(g), X;
|
|
2659
2755
|
if (I !== g.entries) {
|
|
@@ -2662,8 +2758,8 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
2662
2758
|
return !1;
|
|
2663
2759
|
} else
|
|
2664
2760
|
for (; !(X = V.next()).done; ) {
|
|
2665
|
-
var
|
|
2666
|
-
if (
|
|
2761
|
+
var w = X.value;
|
|
2762
|
+
if (w && !ce(w[1]))
|
|
2667
2763
|
return !1;
|
|
2668
2764
|
}
|
|
2669
2765
|
} else
|
|
@@ -2706,28 +2802,28 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
2706
2802
|
return I;
|
|
2707
2803
|
}
|
|
2708
2804
|
}
|
|
2709
|
-
function
|
|
2710
|
-
return !g.constructor || !g.constructor.name ?
|
|
2805
|
+
function ct(g) {
|
|
2806
|
+
return !g.constructor || !g.constructor.name ? m : g.constructor.name;
|
|
2711
2807
|
}
|
|
2712
|
-
return
|
|
2713
|
-
},
|
|
2808
|
+
return x.checkPropTypes = i, x.resetWarningCache = i.resetWarningCache, x.PropTypes = x, x;
|
|
2809
|
+
}, pt;
|
|
2714
2810
|
}
|
|
2715
|
-
var
|
|
2716
|
-
function
|
|
2717
|
-
if (
|
|
2718
|
-
|
|
2719
|
-
var t =
|
|
2811
|
+
var mt, dn;
|
|
2812
|
+
function Ga() {
|
|
2813
|
+
if (dn) return mt;
|
|
2814
|
+
dn = 1;
|
|
2815
|
+
var t = /* @__PURE__ */ Yt();
|
|
2720
2816
|
function e() {
|
|
2721
2817
|
}
|
|
2722
2818
|
function n() {
|
|
2723
2819
|
}
|
|
2724
|
-
return n.resetWarningCache = e,
|
|
2725
|
-
function r(o, c, u, s, l,
|
|
2726
|
-
if (
|
|
2727
|
-
var
|
|
2820
|
+
return n.resetWarningCache = e, mt = function() {
|
|
2821
|
+
function r(o, c, u, s, l, b) {
|
|
2822
|
+
if (b !== t) {
|
|
2823
|
+
var m = new Error(
|
|
2728
2824
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2729
2825
|
);
|
|
2730
|
-
throw
|
|
2826
|
+
throw m.name = "Invariant Violation", m;
|
|
2731
2827
|
}
|
|
2732
2828
|
}
|
|
2733
2829
|
r.isRequired = r;
|
|
@@ -2758,44 +2854,49 @@ function Sa() {
|
|
|
2758
2854
|
resetWarningCache: e
|
|
2759
2855
|
};
|
|
2760
2856
|
return a.PropTypes = a, a;
|
|
2761
|
-
},
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2857
|
+
}, mt;
|
|
2858
|
+
}
|
|
2859
|
+
var gn;
|
|
2860
|
+
function Ra() {
|
|
2861
|
+
if (gn) return Fe.exports;
|
|
2862
|
+
if (gn = 1, process.env.NODE_ENV !== "production") {
|
|
2863
|
+
var t = Xt(), e = !0;
|
|
2864
|
+
Fe.exports = /* @__PURE__ */ Aa()(t.isElement, e);
|
|
2865
|
+
} else
|
|
2866
|
+
Fe.exports = /* @__PURE__ */ Ga()();
|
|
2867
|
+
return Fe.exports;
|
|
2868
|
+
}
|
|
2869
|
+
var Pa = /* @__PURE__ */ Ra();
|
|
2870
|
+
const S = /* @__PURE__ */ er(Pa), fn = {
|
|
2770
2871
|
disabled: !1
|
|
2771
2872
|
};
|
|
2772
|
-
var
|
|
2773
|
-
enter:
|
|
2774
|
-
exit:
|
|
2775
|
-
appear:
|
|
2873
|
+
var Sa = process.env.NODE_ENV !== "production" ? S.oneOfType([S.number, S.shape({
|
|
2874
|
+
enter: S.number,
|
|
2875
|
+
exit: S.number,
|
|
2876
|
+
appear: S.number
|
|
2776
2877
|
}).isRequired]) : null;
|
|
2777
|
-
process.env.NODE_ENV !== "production" &&
|
|
2778
|
-
enter:
|
|
2779
|
-
exit:
|
|
2780
|
-
active:
|
|
2781
|
-
}),
|
|
2782
|
-
enter:
|
|
2783
|
-
enterDone:
|
|
2784
|
-
enterActive:
|
|
2785
|
-
exit:
|
|
2786
|
-
exitDone:
|
|
2787
|
-
exitActive:
|
|
2878
|
+
process.env.NODE_ENV !== "production" && S.oneOfType([S.string, S.shape({
|
|
2879
|
+
enter: S.string,
|
|
2880
|
+
exit: S.string,
|
|
2881
|
+
active: S.string
|
|
2882
|
+
}), S.shape({
|
|
2883
|
+
enter: S.string,
|
|
2884
|
+
enterDone: S.string,
|
|
2885
|
+
enterActive: S.string,
|
|
2886
|
+
exit: S.string,
|
|
2887
|
+
exitDone: S.string,
|
|
2888
|
+
exitActive: S.string
|
|
2788
2889
|
})]);
|
|
2789
|
-
const
|
|
2790
|
-
var
|
|
2890
|
+
const tt = ue.createContext(null);
|
|
2891
|
+
var Ta = function(e) {
|
|
2791
2892
|
return e.scrollTop;
|
|
2792
|
-
}, Be = "unmounted", ve = "exited",
|
|
2793
|
-
|
|
2893
|
+
}, Be = "unmounted", ve = "exited", pe = "entering", ye = "entered", Pt = "exiting", oe = /* @__PURE__ */ (function(t) {
|
|
2894
|
+
Fn(e, t);
|
|
2794
2895
|
function e(r, i) {
|
|
2795
2896
|
var a;
|
|
2796
2897
|
a = t.call(this, r, i) || this;
|
|
2797
2898
|
var o = i, c = o && !o.isMounting ? r.enter : r.appear, u;
|
|
2798
|
-
return a.appearStatus = null, r.in ? c ? (u = ve, a.appearStatus =
|
|
2899
|
+
return a.appearStatus = null, r.in ? c ? (u = ve, a.appearStatus = pe) : u = ye : r.unmountOnExit || r.mountOnEnter ? u = Be : u = ve, a.state = {
|
|
2799
2900
|
status: u
|
|
2800
2901
|
}, a.nextCallback = null, a;
|
|
2801
2902
|
}
|
|
@@ -2812,7 +2913,7 @@ var Xa = function(e) {
|
|
|
2812
2913
|
var a = null;
|
|
2813
2914
|
if (i !== this.props) {
|
|
2814
2915
|
var o = this.state.status;
|
|
2815
|
-
this.props.in ? o !==
|
|
2916
|
+
this.props.in ? o !== pe && o !== ye && (a = pe) : (o === pe || o === ye) && (a = Pt);
|
|
2816
2917
|
}
|
|
2817
2918
|
this.updateStatus(!1, a);
|
|
2818
2919
|
}, n.componentWillUnmount = function() {
|
|
@@ -2826,10 +2927,10 @@ var Xa = function(e) {
|
|
|
2826
2927
|
};
|
|
2827
2928
|
}, n.updateStatus = function(i, a) {
|
|
2828
2929
|
if (i === void 0 && (i = !1), a !== null)
|
|
2829
|
-
if (this.cancelNextCallback(), a ===
|
|
2930
|
+
if (this.cancelNextCallback(), a === pe) {
|
|
2830
2931
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
2831
2932
|
var o = this.props.nodeRef ? this.props.nodeRef.current : Me.findDOMNode(this);
|
|
2832
|
-
o &&
|
|
2933
|
+
o && Ta(o);
|
|
2833
2934
|
}
|
|
2834
2935
|
this.performEnter(i);
|
|
2835
2936
|
} else
|
|
@@ -2838,8 +2939,8 @@ var Xa = function(e) {
|
|
|
2838
2939
|
status: Be
|
|
2839
2940
|
});
|
|
2840
2941
|
}, n.performEnter = function(i) {
|
|
2841
|
-
var a = this, o = this.props.enter, c = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [c] : [Me.findDOMNode(this), c], s = u[0], l = u[1],
|
|
2842
|
-
if (!i && !o ||
|
|
2942
|
+
var a = this, o = this.props.enter, c = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [c] : [Me.findDOMNode(this), c], s = u[0], l = u[1], b = this.getTimeouts(), m = c ? b.appear : b.enter;
|
|
2943
|
+
if (!i && !o || fn.disabled) {
|
|
2843
2944
|
this.safeSetState({
|
|
2844
2945
|
status: ye
|
|
2845
2946
|
}, function() {
|
|
@@ -2848,9 +2949,9 @@ var Xa = function(e) {
|
|
|
2848
2949
|
return;
|
|
2849
2950
|
}
|
|
2850
2951
|
this.props.onEnter(s, l), this.safeSetState({
|
|
2851
|
-
status:
|
|
2952
|
+
status: pe
|
|
2852
2953
|
}, function() {
|
|
2853
|
-
a.props.onEntering(s, l), a.onTransitionEnd(
|
|
2954
|
+
a.props.onEntering(s, l), a.onTransitionEnd(m, function() {
|
|
2854
2955
|
a.safeSetState({
|
|
2855
2956
|
status: ye
|
|
2856
2957
|
}, function() {
|
|
@@ -2860,7 +2961,7 @@ var Xa = function(e) {
|
|
|
2860
2961
|
});
|
|
2861
2962
|
}, n.performExit = function() {
|
|
2862
2963
|
var i = this, a = this.props.exit, o = this.getTimeouts(), c = this.props.nodeRef ? void 0 : Me.findDOMNode(this);
|
|
2863
|
-
if (!a ||
|
|
2964
|
+
if (!a || fn.disabled) {
|
|
2864
2965
|
this.safeSetState({
|
|
2865
2966
|
status: ve
|
|
2866
2967
|
}, function() {
|
|
@@ -2908,16 +3009,16 @@ var Xa = function(e) {
|
|
|
2908
3009
|
return null;
|
|
2909
3010
|
var a = this.props, o = a.children;
|
|
2910
3011
|
a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
|
|
2911
|
-
var c =
|
|
3012
|
+
var c = Tt(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
2912
3013
|
return (
|
|
2913
3014
|
// allows for nested Transitions
|
|
2914
|
-
/* @__PURE__ */ ue.createElement(
|
|
3015
|
+
/* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
2915
3016
|
value: null
|
|
2916
3017
|
}, typeof o == "function" ? o(i, c) : ue.cloneElement(ue.Children.only(o), c))
|
|
2917
3018
|
);
|
|
2918
3019
|
}, e;
|
|
2919
|
-
}(ue.Component);
|
|
2920
|
-
oe.contextType =
|
|
3020
|
+
})(ue.Component);
|
|
3021
|
+
oe.contextType = tt;
|
|
2921
3022
|
oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2922
3023
|
/**
|
|
2923
3024
|
* A React reference to DOM element that need to transition:
|
|
@@ -2930,10 +3031,10 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2930
3031
|
* (see
|
|
2931
3032
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
2932
3033
|
*/
|
|
2933
|
-
nodeRef:
|
|
2934
|
-
current: typeof Element > "u" ?
|
|
3034
|
+
nodeRef: S.shape({
|
|
3035
|
+
current: typeof Element > "u" ? S.any : function(t, e, n, r, i, a) {
|
|
2935
3036
|
var o = t[e];
|
|
2936
|
-
return
|
|
3037
|
+
return S.instanceOf(o && "ownerDocument" in o ? o.ownerDocument.defaultView.Element : Element)(t, e, n, r, i, a);
|
|
2937
3038
|
}
|
|
2938
3039
|
}),
|
|
2939
3040
|
/**
|
|
@@ -2950,23 +3051,23 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2950
3051
|
* </Transition>
|
|
2951
3052
|
* ```
|
|
2952
3053
|
*/
|
|
2953
|
-
children:
|
|
3054
|
+
children: S.oneOfType([S.func.isRequired, S.element.isRequired]).isRequired,
|
|
2954
3055
|
/**
|
|
2955
3056
|
* Show the component; triggers the enter or exit states
|
|
2956
3057
|
*/
|
|
2957
|
-
in:
|
|
3058
|
+
in: S.bool,
|
|
2958
3059
|
/**
|
|
2959
3060
|
* By default the child component is mounted immediately along with
|
|
2960
3061
|
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
2961
3062
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
2962
3063
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
2963
3064
|
*/
|
|
2964
|
-
mountOnEnter:
|
|
3065
|
+
mountOnEnter: S.bool,
|
|
2965
3066
|
/**
|
|
2966
3067
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
2967
3068
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
2968
3069
|
*/
|
|
2969
|
-
unmountOnExit:
|
|
3070
|
+
unmountOnExit: S.bool,
|
|
2970
3071
|
/**
|
|
2971
3072
|
* By default the child component does not perform the enter transition when
|
|
2972
3073
|
* it first mounts, regardless of the value of `in`. If you want this
|
|
@@ -2978,15 +3079,15 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2978
3079
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
2979
3080
|
* > differently.
|
|
2980
3081
|
*/
|
|
2981
|
-
appear:
|
|
3082
|
+
appear: S.bool,
|
|
2982
3083
|
/**
|
|
2983
3084
|
* Enable or disable enter transitions.
|
|
2984
3085
|
*/
|
|
2985
|
-
enter:
|
|
3086
|
+
enter: S.bool,
|
|
2986
3087
|
/**
|
|
2987
3088
|
* Enable or disable exit transitions.
|
|
2988
3089
|
*/
|
|
2989
|
-
exit:
|
|
3090
|
+
exit: S.bool,
|
|
2990
3091
|
/**
|
|
2991
3092
|
* The duration of the transition, in milliseconds.
|
|
2992
3093
|
* Required unless `addEndListener` is provided.
|
|
@@ -3014,7 +3115,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3014
3115
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
3015
3116
|
*/
|
|
3016
3117
|
timeout: function(e) {
|
|
3017
|
-
var n =
|
|
3118
|
+
var n = Sa;
|
|
3018
3119
|
e.addEndListener || (n = n.isRequired);
|
|
3019
3120
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
3020
3121
|
i[a - 1] = arguments[a];
|
|
@@ -3034,7 +3135,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3034
3135
|
* }}
|
|
3035
3136
|
* ```
|
|
3036
3137
|
*/
|
|
3037
|
-
addEndListener:
|
|
3138
|
+
addEndListener: S.func,
|
|
3038
3139
|
/**
|
|
3039
3140
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
3040
3141
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -3043,7 +3144,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3043
3144
|
*
|
|
3044
3145
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3045
3146
|
*/
|
|
3046
|
-
onEnter:
|
|
3147
|
+
onEnter: S.func,
|
|
3047
3148
|
/**
|
|
3048
3149
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
3049
3150
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -3052,7 +3153,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3052
3153
|
*
|
|
3053
3154
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
3054
3155
|
*/
|
|
3055
|
-
onEntering:
|
|
3156
|
+
onEntering: S.func,
|
|
3056
3157
|
/**
|
|
3057
3158
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
3058
3159
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -3061,7 +3162,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3061
3162
|
*
|
|
3062
3163
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3063
3164
|
*/
|
|
3064
|
-
onEntered:
|
|
3165
|
+
onEntered: S.func,
|
|
3065
3166
|
/**
|
|
3066
3167
|
* Callback fired before the "exiting" status is applied.
|
|
3067
3168
|
*
|
|
@@ -3069,7 +3170,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3069
3170
|
*
|
|
3070
3171
|
* @type Function(node: HtmlElement) -> void
|
|
3071
3172
|
*/
|
|
3072
|
-
onExit:
|
|
3173
|
+
onExit: S.func,
|
|
3073
3174
|
/**
|
|
3074
3175
|
* Callback fired after the "exiting" status is applied.
|
|
3075
3176
|
*
|
|
@@ -3077,7 +3178,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3077
3178
|
*
|
|
3078
3179
|
* @type Function(node: HtmlElement) -> void
|
|
3079
3180
|
*/
|
|
3080
|
-
onExiting:
|
|
3181
|
+
onExiting: S.func,
|
|
3081
3182
|
/**
|
|
3082
3183
|
* Callback fired after the "exited" status is applied.
|
|
3083
3184
|
*
|
|
@@ -3085,7 +3186,7 @@ oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3085
3186
|
*
|
|
3086
3187
|
* @type Function(node: HtmlElement) -> void
|
|
3087
3188
|
*/
|
|
3088
|
-
onExited:
|
|
3189
|
+
onExited: S.func
|
|
3089
3190
|
} : {};
|
|
3090
3191
|
function Ce() {
|
|
3091
3192
|
}
|
|
@@ -3105,24 +3206,24 @@ oe.defaultProps = {
|
|
|
3105
3206
|
};
|
|
3106
3207
|
oe.UNMOUNTED = Be;
|
|
3107
3208
|
oe.EXITED = ve;
|
|
3108
|
-
oe.ENTERING =
|
|
3209
|
+
oe.ENTERING = pe;
|
|
3109
3210
|
oe.ENTERED = ye;
|
|
3110
3211
|
oe.EXITING = Pt;
|
|
3111
|
-
function
|
|
3212
|
+
function Ba(t) {
|
|
3112
3213
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3113
3214
|
return t;
|
|
3114
3215
|
}
|
|
3115
|
-
function
|
|
3216
|
+
function Ot(t, e) {
|
|
3116
3217
|
var n = function(a) {
|
|
3117
3218
|
return e && Le(a) ? e(a) : a;
|
|
3118
3219
|
}, r = /* @__PURE__ */ Object.create(null);
|
|
3119
|
-
return t &&
|
|
3220
|
+
return t && Kn.map(t, function(i) {
|
|
3120
3221
|
return i;
|
|
3121
3222
|
}).forEach(function(i) {
|
|
3122
3223
|
r[i.key] = n(i);
|
|
3123
3224
|
}), r;
|
|
3124
3225
|
}
|
|
3125
|
-
function
|
|
3226
|
+
function wa(t, e) {
|
|
3126
3227
|
t = t || {}, e = e || {};
|
|
3127
3228
|
function n(l) {
|
|
3128
3229
|
return l in e ? e[l] : t[l];
|
|
@@ -3143,57 +3244,57 @@ function Va(t, e) {
|
|
|
3143
3244
|
c[i[o]] = n(i[o]);
|
|
3144
3245
|
return c;
|
|
3145
3246
|
}
|
|
3146
|
-
function
|
|
3247
|
+
function me(t, e, n) {
|
|
3147
3248
|
return n[e] != null ? n[e] : t.props[e];
|
|
3148
3249
|
}
|
|
3149
|
-
function
|
|
3150
|
-
return
|
|
3151
|
-
return
|
|
3250
|
+
function Ea(t, e) {
|
|
3251
|
+
return Ot(t.children, function(n) {
|
|
3252
|
+
return De(n, {
|
|
3152
3253
|
onExited: e.bind(null, n),
|
|
3153
3254
|
in: !0,
|
|
3154
|
-
appear:
|
|
3155
|
-
enter:
|
|
3156
|
-
exit:
|
|
3255
|
+
appear: me(n, "appear", t),
|
|
3256
|
+
enter: me(n, "enter", t),
|
|
3257
|
+
exit: me(n, "exit", t)
|
|
3157
3258
|
});
|
|
3158
3259
|
});
|
|
3159
3260
|
}
|
|
3160
|
-
function
|
|
3161
|
-
var r =
|
|
3261
|
+
function Xa(t, e, n) {
|
|
3262
|
+
var r = Ot(t.children), i = wa(e, r);
|
|
3162
3263
|
return Object.keys(i).forEach(function(a) {
|
|
3163
3264
|
var o = i[a];
|
|
3164
3265
|
if (Le(o)) {
|
|
3165
3266
|
var c = a in e, u = a in r, s = e[a], l = Le(s) && !s.props.in;
|
|
3166
|
-
u && (!c || l) ? i[a] =
|
|
3267
|
+
u && (!c || l) ? i[a] = De(o, {
|
|
3167
3268
|
onExited: n.bind(null, o),
|
|
3168
3269
|
in: !0,
|
|
3169
|
-
exit:
|
|
3170
|
-
enter:
|
|
3171
|
-
}) : !u && c && !l ? i[a] =
|
|
3270
|
+
exit: me(o, "exit", t),
|
|
3271
|
+
enter: me(o, "enter", t)
|
|
3272
|
+
}) : !u && c && !l ? i[a] = De(o, {
|
|
3172
3273
|
in: !1
|
|
3173
|
-
}) : u && c && Le(s) && (i[a] =
|
|
3274
|
+
}) : u && c && Le(s) && (i[a] = De(o, {
|
|
3174
3275
|
onExited: n.bind(null, o),
|
|
3175
3276
|
in: s.props.in,
|
|
3176
|
-
exit:
|
|
3177
|
-
enter:
|
|
3277
|
+
exit: me(o, "exit", t),
|
|
3278
|
+
enter: me(o, "enter", t)
|
|
3178
3279
|
}));
|
|
3179
3280
|
}
|
|
3180
3281
|
}), i;
|
|
3181
3282
|
}
|
|
3182
|
-
var
|
|
3283
|
+
var Na = Object.values || function(t) {
|
|
3183
3284
|
return Object.keys(t).map(function(e) {
|
|
3184
3285
|
return t[e];
|
|
3185
3286
|
});
|
|
3186
|
-
},
|
|
3287
|
+
}, Va = {
|
|
3187
3288
|
component: "div",
|
|
3188
3289
|
childFactory: function(e) {
|
|
3189
3290
|
return e;
|
|
3190
3291
|
}
|
|
3191
|
-
},
|
|
3192
|
-
|
|
3292
|
+
}, ot = /* @__PURE__ */ (function(t) {
|
|
3293
|
+
Fn(e, t);
|
|
3193
3294
|
function e(r, i) {
|
|
3194
3295
|
var a;
|
|
3195
3296
|
a = t.call(this, r, i) || this;
|
|
3196
|
-
var o = a.handleExited.bind(
|
|
3297
|
+
var o = a.handleExited.bind(Ba(a));
|
|
3197
3298
|
return a.state = {
|
|
3198
3299
|
contextValue: {
|
|
3199
3300
|
isMounting: !0
|
|
@@ -3214,27 +3315,27 @@ var Za = Object.values || function(t) {
|
|
|
3214
3315
|
}, e.getDerivedStateFromProps = function(i, a) {
|
|
3215
3316
|
var o = a.children, c = a.handleExited, u = a.firstRender;
|
|
3216
3317
|
return {
|
|
3217
|
-
children: u ?
|
|
3318
|
+
children: u ? Ea(i, c) : Xa(i, o, c),
|
|
3218
3319
|
firstRender: !1
|
|
3219
3320
|
};
|
|
3220
3321
|
}, n.handleExited = function(i, a) {
|
|
3221
|
-
var o =
|
|
3322
|
+
var o = Ot(this.props.children);
|
|
3222
3323
|
i.key in o || (i.props.onExited && i.props.onExited(a), this.mounted && this.setState(function(c) {
|
|
3223
|
-
var u =
|
|
3324
|
+
var u = W({}, c.children);
|
|
3224
3325
|
return delete u[i.key], {
|
|
3225
3326
|
children: u
|
|
3226
3327
|
};
|
|
3227
3328
|
}));
|
|
3228
3329
|
}, n.render = function() {
|
|
3229
|
-
var i = this.props, a = i.component, o = i.childFactory, c =
|
|
3230
|
-
return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ ue.createElement(
|
|
3330
|
+
var i = this.props, a = i.component, o = i.childFactory, c = Tt(i, ["component", "childFactory"]), u = this.state.contextValue, s = Na(this.state.children).map(o);
|
|
3331
|
+
return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
3231
3332
|
value: u
|
|
3232
|
-
}, s) : /* @__PURE__ */ ue.createElement(
|
|
3333
|
+
}, s) : /* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
3233
3334
|
value: u
|
|
3234
3335
|
}, /* @__PURE__ */ ue.createElement(a, c, s));
|
|
3235
3336
|
}, e;
|
|
3236
|
-
}(ue.Component);
|
|
3237
|
-
|
|
3337
|
+
})(ue.Component);
|
|
3338
|
+
ot.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3238
3339
|
/**
|
|
3239
3340
|
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
3240
3341
|
* behavior by providing a `component` prop.
|
|
@@ -3242,7 +3343,7 @@ it.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3242
3343
|
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
3243
3344
|
* borks your css styles.
|
|
3244
3345
|
*/
|
|
3245
|
-
component:
|
|
3346
|
+
component: S.any,
|
|
3246
3347
|
/**
|
|
3247
3348
|
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
3248
3349
|
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
@@ -3256,25 +3357,25 @@ it.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3256
3357
|
* the transition child as you change its content, this will cause
|
|
3257
3358
|
* `TransitionGroup` to transition the child out and back in.
|
|
3258
3359
|
*/
|
|
3259
|
-
children:
|
|
3360
|
+
children: S.node,
|
|
3260
3361
|
/**
|
|
3261
3362
|
* A convenience prop that enables or disables appear animations
|
|
3262
3363
|
* for all children. Note that specifying this will override any defaults set
|
|
3263
3364
|
* on individual children Transitions.
|
|
3264
3365
|
*/
|
|
3265
|
-
appear:
|
|
3366
|
+
appear: S.bool,
|
|
3266
3367
|
/**
|
|
3267
3368
|
* A convenience prop that enables or disables enter animations
|
|
3268
3369
|
* for all children. Note that specifying this will override any defaults set
|
|
3269
3370
|
* on individual children Transitions.
|
|
3270
3371
|
*/
|
|
3271
|
-
enter:
|
|
3372
|
+
enter: S.bool,
|
|
3272
3373
|
/**
|
|
3273
3374
|
* A convenience prop that enables or disables exit animations
|
|
3274
3375
|
* for all children. Note that specifying this will override any defaults set
|
|
3275
3376
|
* on individual children Transitions.
|
|
3276
3377
|
*/
|
|
3277
|
-
exit:
|
|
3378
|
+
exit: S.bool,
|
|
3278
3379
|
/**
|
|
3279
3380
|
* You may need to apply reactive updates to a child as it is exiting.
|
|
3280
3381
|
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
@@ -3285,19 +3386,19 @@ it.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3285
3386
|
*
|
|
3286
3387
|
* @type Function(child: ReactElement) -> ReactElement
|
|
3287
3388
|
*/
|
|
3288
|
-
childFactory:
|
|
3389
|
+
childFactory: S.func
|
|
3289
3390
|
} : {};
|
|
3290
|
-
|
|
3291
|
-
var
|
|
3391
|
+
ot.defaultProps = Va;
|
|
3392
|
+
var Wa = ["in", "onExited", "appear", "enter", "exit"], Ha = function(e) {
|
|
3292
3393
|
return function(n) {
|
|
3293
3394
|
n.in, n.onExited, n.appear, n.enter, n.exit;
|
|
3294
|
-
var r = ee(n,
|
|
3295
|
-
return /* @__PURE__ */
|
|
3395
|
+
var r = ee(n, Wa);
|
|
3396
|
+
return /* @__PURE__ */ F.createElement(e, r);
|
|
3296
3397
|
};
|
|
3297
|
-
},
|
|
3398
|
+
}, Za = Ha, Ma = ["component", "duration", "in", "onExited"], Dn = function(e) {
|
|
3298
3399
|
var n = e.component, r = e.duration, i = r === void 0 ? 1 : r, a = e.in;
|
|
3299
3400
|
e.onExited;
|
|
3300
|
-
var o = ee(e,
|
|
3401
|
+
var o = ee(e, Ma), c = we(null), u = {
|
|
3301
3402
|
entering: {
|
|
3302
3403
|
opacity: 0
|
|
3303
3404
|
},
|
|
@@ -3312,7 +3413,7 @@ var Ya = ["in", "onExited", "appear", "enter", "exit"], Ja = function(e) {
|
|
|
3312
3413
|
opacity: 0
|
|
3313
3414
|
}
|
|
3314
3415
|
};
|
|
3315
|
-
return /* @__PURE__ */
|
|
3416
|
+
return /* @__PURE__ */ F.createElement(oe, {
|
|
3316
3417
|
mountOnEnter: !0,
|
|
3317
3418
|
unmountOnExit: !0,
|
|
3318
3419
|
in: a,
|
|
@@ -3320,28 +3421,28 @@ var Ya = ["in", "onExited", "appear", "enter", "exit"], Ja = function(e) {
|
|
|
3320
3421
|
nodeRef: c
|
|
3321
3422
|
}, function(s) {
|
|
3322
3423
|
var l = {
|
|
3323
|
-
style:
|
|
3424
|
+
style: P({}, u[s]),
|
|
3324
3425
|
ref: c
|
|
3325
3426
|
};
|
|
3326
|
-
return /* @__PURE__ */
|
|
3427
|
+
return /* @__PURE__ */ F.createElement(n, W({
|
|
3327
3428
|
innerProps: l
|
|
3328
3429
|
}, o));
|
|
3329
3430
|
});
|
|
3330
|
-
}, St = 260,
|
|
3431
|
+
}, St = 260, Ya = function(e) {
|
|
3331
3432
|
var n = e.children, r = e.in, i = e.onExited, a = we(null), o = Ie("auto"), c = se(o, 2), u = c[0], s = c[1];
|
|
3332
|
-
|
|
3333
|
-
var
|
|
3334
|
-
if (
|
|
3335
|
-
var
|
|
3336
|
-
return s(
|
|
3433
|
+
It(function() {
|
|
3434
|
+
var b = a.current;
|
|
3435
|
+
if (b) {
|
|
3436
|
+
var m = window.requestAnimationFrame(function() {
|
|
3437
|
+
return s(b.getBoundingClientRect().width);
|
|
3337
3438
|
});
|
|
3338
3439
|
return function() {
|
|
3339
|
-
return window.cancelAnimationFrame(
|
|
3440
|
+
return window.cancelAnimationFrame(m);
|
|
3340
3441
|
};
|
|
3341
3442
|
}
|
|
3342
3443
|
}, []);
|
|
3343
|
-
var l = function(
|
|
3344
|
-
switch (
|
|
3444
|
+
var l = function(m) {
|
|
3445
|
+
switch (m) {
|
|
3345
3446
|
default:
|
|
3346
3447
|
return {
|
|
3347
3448
|
width: u
|
|
@@ -3357,157 +3458,159 @@ var Ya = ["in", "onExited", "appear", "enter", "exit"], Ja = function(e) {
|
|
|
3357
3458
|
};
|
|
3358
3459
|
}
|
|
3359
3460
|
};
|
|
3360
|
-
return /* @__PURE__ */
|
|
3461
|
+
return /* @__PURE__ */ F.createElement(oe, {
|
|
3361
3462
|
enter: !1,
|
|
3362
3463
|
mountOnEnter: !0,
|
|
3363
3464
|
unmountOnExit: !0,
|
|
3364
3465
|
in: r,
|
|
3365
3466
|
onExited: function() {
|
|
3366
|
-
var
|
|
3367
|
-
|
|
3467
|
+
var m = a.current;
|
|
3468
|
+
m && i?.(m);
|
|
3368
3469
|
},
|
|
3369
3470
|
timeout: St,
|
|
3370
3471
|
nodeRef: a
|
|
3371
|
-
}, function(
|
|
3372
|
-
return /* @__PURE__ */
|
|
3472
|
+
}, function(b) {
|
|
3473
|
+
return /* @__PURE__ */ F.createElement("div", {
|
|
3373
3474
|
ref: a,
|
|
3374
|
-
style:
|
|
3475
|
+
style: P({
|
|
3375
3476
|
overflow: "hidden",
|
|
3376
3477
|
whiteSpace: "nowrap"
|
|
3377
|
-
}, l(
|
|
3478
|
+
}, l(b))
|
|
3378
3479
|
}, n);
|
|
3379
3480
|
});
|
|
3380
|
-
},
|
|
3481
|
+
}, Oa = ["in", "onExited"], Ja = function(e) {
|
|
3381
3482
|
return function(n) {
|
|
3382
|
-
var r = n.in, i = n.onExited, a = ee(n,
|
|
3383
|
-
return /* @__PURE__ */
|
|
3483
|
+
var r = n.in, i = n.onExited, a = ee(n, Oa);
|
|
3484
|
+
return /* @__PURE__ */ F.createElement(Ya, {
|
|
3384
3485
|
in: r,
|
|
3385
3486
|
onExited: i
|
|
3386
|
-
}, /* @__PURE__ */
|
|
3487
|
+
}, /* @__PURE__ */ F.createElement(e, W({
|
|
3387
3488
|
cropWithEllipsis: r
|
|
3388
3489
|
}, a)));
|
|
3389
3490
|
};
|
|
3390
|
-
},
|
|
3491
|
+
}, za = Ja, ja = function(e) {
|
|
3391
3492
|
return function(n) {
|
|
3392
|
-
return /* @__PURE__ */
|
|
3493
|
+
return /* @__PURE__ */ F.createElement(Dn, W({
|
|
3393
3494
|
component: e,
|
|
3394
3495
|
duration: n.isMulti ? St : 1
|
|
3395
3496
|
}, n));
|
|
3396
3497
|
};
|
|
3397
|
-
},
|
|
3498
|
+
}, Fa = ja, La = function(e) {
|
|
3398
3499
|
return function(n) {
|
|
3399
|
-
return /* @__PURE__ */
|
|
3500
|
+
return /* @__PURE__ */ F.createElement(Dn, W({
|
|
3400
3501
|
component: e
|
|
3401
3502
|
}, n));
|
|
3402
3503
|
};
|
|
3403
|
-
},
|
|
3504
|
+
}, Da = La, ka = ["component"], Ua = ["children"], Qa = function(e) {
|
|
3404
3505
|
return function(n) {
|
|
3405
|
-
return n.isMulti ? /* @__PURE__ */
|
|
3506
|
+
return n.isMulti ? /* @__PURE__ */ F.createElement(_a, W({
|
|
3406
3507
|
component: e
|
|
3407
|
-
}, n)) : /* @__PURE__ */
|
|
3508
|
+
}, n)) : /* @__PURE__ */ F.createElement(ot, W({
|
|
3408
3509
|
component: e
|
|
3409
3510
|
}, n));
|
|
3410
3511
|
};
|
|
3411
|
-
},
|
|
3412
|
-
var n = e.component, r = ee(e,
|
|
3413
|
-
return /* @__PURE__ */
|
|
3512
|
+
}, _a = function(e) {
|
|
3513
|
+
var n = e.component, r = ee(e, ka), i = $a(r);
|
|
3514
|
+
return /* @__PURE__ */ F.createElement(ot, W({
|
|
3414
3515
|
component: n
|
|
3415
3516
|
}, i));
|
|
3416
|
-
},
|
|
3417
|
-
var n = e.children, r = ee(e,
|
|
3418
|
-
|
|
3419
|
-
a && !
|
|
3420
|
-
}, [a,
|
|
3421
|
-
h && !a &&
|
|
3422
|
-
}, [h, a,
|
|
3423
|
-
var
|
|
3424
|
-
return
|
|
3425
|
-
},
|
|
3426
|
-
if (i && /* @__PURE__ */
|
|
3427
|
-
if (
|
|
3428
|
-
return /* @__PURE__ */
|
|
3429
|
-
onExited:
|
|
3517
|
+
}, $a = function(e) {
|
|
3518
|
+
var n = e.children, r = ee(e, Ua), i = r.isMulti, a = r.hasValue, o = r.innerProps, c = r.selectProps, u = c.components, s = c.controlShouldRenderValue, l = Ie(i && s && a), b = se(l, 2), m = b[0], x = b[1], C = Ie(!1), v = se(C, 2), h = v[0], f = v[1];
|
|
3519
|
+
It(function() {
|
|
3520
|
+
a && !m && x(!0);
|
|
3521
|
+
}, [a, m]), It(function() {
|
|
3522
|
+
h && !a && m && x(!1), f(!1);
|
|
3523
|
+
}, [h, a, m]);
|
|
3524
|
+
var G = function() {
|
|
3525
|
+
return f(!0);
|
|
3526
|
+
}, A = function(y) {
|
|
3527
|
+
if (i && /* @__PURE__ */ F.isValidElement(y)) {
|
|
3528
|
+
if (y.type === u.MultiValue)
|
|
3529
|
+
return /* @__PURE__ */ F.cloneElement(y, {
|
|
3530
|
+
onExited: G
|
|
3430
3531
|
});
|
|
3431
|
-
if (
|
|
3532
|
+
if (y.type === u.Placeholder && m)
|
|
3432
3533
|
return null;
|
|
3433
3534
|
}
|
|
3434
|
-
return
|
|
3435
|
-
},
|
|
3436
|
-
style:
|
|
3437
|
-
display: i && a ||
|
|
3535
|
+
return y;
|
|
3536
|
+
}, R = P(P({}, o), {}, {
|
|
3537
|
+
style: P(P({}, o?.style), {}, {
|
|
3538
|
+
display: i && a || m ? "flex" : "grid"
|
|
3438
3539
|
})
|
|
3439
|
-
}), d =
|
|
3440
|
-
innerProps:
|
|
3441
|
-
children:
|
|
3540
|
+
}), d = P(P({}, r), {}, {
|
|
3541
|
+
innerProps: R,
|
|
3542
|
+
children: F.Children.toArray(n).map(A)
|
|
3442
3543
|
});
|
|
3443
3544
|
return d;
|
|
3444
|
-
},
|
|
3445
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n =
|
|
3545
|
+
}, Ka = Qa, qa = ["Input", "MultiValue", "Placeholder", "SingleValue", "ValueContainer"], kn = function() {
|
|
3546
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = Ca({
|
|
3446
3547
|
components: e
|
|
3447
|
-
}), r = n.Input, i = n.MultiValue, a = n.Placeholder, o = n.SingleValue, c = n.ValueContainer, u = ee(n,
|
|
3448
|
-
return
|
|
3449
|
-
Input:
|
|
3450
|
-
MultiValue:
|
|
3451
|
-
Placeholder:
|
|
3452
|
-
SingleValue:
|
|
3453
|
-
ValueContainer:
|
|
3548
|
+
}), r = n.Input, i = n.MultiValue, a = n.Placeholder, o = n.SingleValue, c = n.ValueContainer, u = ee(n, qa);
|
|
3549
|
+
return P({
|
|
3550
|
+
Input: Za(r),
|
|
3551
|
+
MultiValue: za(i),
|
|
3552
|
+
Placeholder: Fa(a),
|
|
3553
|
+
SingleValue: Da(o),
|
|
3554
|
+
ValueContainer: Ka(c)
|
|
3454
3555
|
}, u);
|
|
3455
|
-
}, We =
|
|
3556
|
+
}, We = kn();
|
|
3456
3557
|
We.Input;
|
|
3457
3558
|
We.MultiValue;
|
|
3458
3559
|
We.Placeholder;
|
|
3459
3560
|
We.SingleValue;
|
|
3460
3561
|
We.ValueContainer;
|
|
3461
|
-
var
|
|
3562
|
+
var Mo = ar(kn);
|
|
3462
3563
|
export {
|
|
3463
|
-
|
|
3464
|
-
|
|
3564
|
+
wo as A,
|
|
3565
|
+
Bo as B,
|
|
3465
3566
|
Go as C,
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
mo as
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3567
|
+
To as D,
|
|
3568
|
+
yo as E,
|
|
3569
|
+
Ro as F,
|
|
3570
|
+
Ca as G,
|
|
3571
|
+
P as H,
|
|
3572
|
+
Zt as I,
|
|
3573
|
+
io as J,
|
|
3574
|
+
so as K,
|
|
3575
|
+
ar as L,
|
|
3576
|
+
co as M,
|
|
3577
|
+
oo as N,
|
|
3578
|
+
ao as O,
|
|
3579
|
+
W as P,
|
|
3580
|
+
Gt as Q,
|
|
3581
|
+
po as R,
|
|
3582
|
+
ee as S,
|
|
3583
|
+
bo as T,
|
|
3584
|
+
B as U,
|
|
3585
|
+
Pn as V,
|
|
3586
|
+
uo as W,
|
|
3587
|
+
se as X,
|
|
3588
|
+
Rt as _,
|
|
3589
|
+
Ae as a,
|
|
3590
|
+
Ba as b,
|
|
3591
|
+
en as c,
|
|
3592
|
+
ai as d,
|
|
3593
|
+
ro as e,
|
|
3594
|
+
xo as f,
|
|
3595
|
+
Zo as g,
|
|
3596
|
+
Vo as h,
|
|
3597
|
+
Mo as i,
|
|
3598
|
+
No as j,
|
|
3599
|
+
Xo as k,
|
|
3600
|
+
Co as l,
|
|
3601
|
+
fo as m,
|
|
3602
|
+
Io as n,
|
|
3603
|
+
Wo as o,
|
|
3604
|
+
Ho as p,
|
|
3605
|
+
mo as q,
|
|
3606
|
+
vo as r,
|
|
3607
|
+
go as s,
|
|
3608
|
+
nr as t,
|
|
3609
|
+
ho as u,
|
|
3610
|
+
lo as v,
|
|
3611
|
+
So as w,
|
|
3612
|
+
Eo as x,
|
|
3613
|
+
Po as y,
|
|
3511
3614
|
Ao as z
|
|
3512
3615
|
};
|
|
3513
3616
|
//# sourceMappingURL=react-select-animated.esm.js.map
|