welcome-ui 1.0.0-beta.3 → 1.0.0-beta.4
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/AXB53BZF-BxNazDnS.mjs +25 -0
- package/dist/AXB53BZF-KWM2jKTz.js +1 -0
- package/dist/Accordion.js +16 -30
- package/dist/Accordion.mjs +27 -515
- package/dist/Alert.js +37 -1
- package/dist/Alert.mjs +118 -5
- package/dist/AspectRatio.mjs +7 -7
- package/dist/Avatar.js +3 -3
- package/dist/Avatar.mjs +16 -15
- package/dist/BYC7LY2E-BAjGN7k_.mjs +1074 -0
- package/dist/BYC7LY2E-BkAEL2VD.js +1 -0
- package/dist/Badge.js +3 -3
- package/dist/Badge.mjs +10 -10
- package/dist/Breadcrumb.js +1 -54
- package/dist/Breadcrumb.mjs +7 -437
- package/dist/Button.js +78 -0
- package/dist/Button.mjs +136 -0
- package/dist/ButtonGroup.js +32 -0
- package/dist/ButtonGroup.mjs +51 -0
- package/dist/Card.js +17 -0
- package/dist/Card.mjs +29 -0
- package/dist/Checkbox.js +1 -0
- package/dist/Checkbox.mjs +6 -0
- package/dist/ClearButton.js +14 -0
- package/dist/ClearButton.mjs +26 -0
- package/dist/CloseButton.js +6 -0
- package/dist/CloseButton.mjs +15 -0
- package/dist/CustomInput-9aCUiD6o.js +1070 -0
- package/dist/CustomInput-CenfXh_H.mjs +7825 -0
- package/dist/DatePicker.js +1 -0
- package/dist/DatePicker.mjs +108 -0
- package/dist/DateTimePicker.js +38 -0
- package/dist/DateTimePicker.mjs +109 -0
- package/dist/DateTimePickerCommon.js +1 -0
- package/dist/DateTimePickerCommon.mjs +14 -0
- package/dist/Drawer.js +64 -0
- package/dist/Drawer.mjs +267 -0
- package/dist/DropdownMenu.js +45 -0
- package/dist/DropdownMenu.mjs +776 -0
- package/dist/Field.js +72 -0
- package/dist/Field.mjs +177 -0
- package/dist/FieldGroup.js +13 -0
- package/dist/FieldGroup.mjs +26 -0
- package/dist/FileDrop.js +46 -0
- package/dist/FileDrop.mjs +2325 -0
- package/dist/FileUpload.js +3 -0
- package/dist/FileUpload.mjs +88 -0
- package/dist/Grid.js +1 -0
- package/dist/Grid.mjs +57 -0
- package/dist/Hint.js +8 -0
- package/dist/Hint.mjs +22 -0
- package/dist/ITI7HKP4-BPa8qpnl.js +1 -0
- package/dist/ITI7HKP4-Couz1Z73.mjs +473 -0
- package/dist/Icon.js +17 -0
- package/dist/Icon.mjs +51 -0
- package/dist/IconFont.js +17 -0
- package/dist/IconFont.mjs +348 -0
- package/dist/InputText.js +8 -0
- package/dist/InputText.mjs +81 -0
- package/dist/JC64G2H7-CQsqXPS_.mjs +965 -0
- package/dist/JC64G2H7-YkBMNrtl.js +1 -0
- package/dist/KUU7WJ55-DN8gk6_R.js +1 -0
- package/dist/KUU7WJ55-bC4FU_j7.mjs +61 -0
- package/dist/LVA2YJMS-B2HZjIhJ.js +14 -0
- package/dist/LVA2YJMS-Dm5ieEMw.mjs +1479 -0
- package/dist/Label.js +35 -0
- package/dist/Label.mjs +78 -0
- package/dist/Link.js +43 -0
- package/dist/Link.mjs +77 -0
- package/dist/Loader.js +30 -0
- package/dist/Loader.mjs +48 -0
- package/dist/Logo.js +1 -0
- package/dist/Logo.mjs +8 -0
- package/dist/MTZPJQMC-5Xg78Uyy.js +1 -0
- package/dist/MTZPJQMC-DZ3zg4be.mjs +13 -0
- package/dist/Modal.js +181 -0
- package/dist/Modal.mjs +365 -0
- package/dist/NLEBE274-DvH3XTTw.js +1 -0
- package/dist/NLEBE274-FThuwZH_.mjs +84 -0
- package/dist/P2CTZE2T-5jxBu6ix.mjs +297 -0
- package/dist/P2CTZE2T-q8vyaGc0.js +1 -0
- package/dist/P4IRICAX-DF0_vmod.mjs +37 -0
- package/dist/P4IRICAX-nhgZ26A1.js +1 -0
- package/dist/Pagination.js +46 -0
- package/dist/Pagination.mjs +158 -0
- package/dist/PasswordInput.js +1 -0
- package/dist/PasswordInput.mjs +54 -0
- package/dist/Picker.js +8 -0
- package/dist/Picker.mjs +50 -0
- package/dist/Popover.js +1 -0
- package/dist/Popover.mjs +8 -0
- package/dist/QYJ6MIDR-CRK3satR.js +1 -0
- package/dist/QYJ6MIDR-Cy39pEs2.mjs +97 -0
- package/dist/Radio.js +60 -0
- package/dist/Radio.mjs +118 -0
- package/dist/RadioGroup.js +8 -0
- package/dist/RadioGroup.mjs +68 -0
- package/dist/RadioTab.js +61 -0
- package/dist/RadioTab.mjs +104 -0
- package/dist/SYRFVSLH-BpAfr7UE.js +1 -0
- package/dist/SYRFVSLH-DyepaZf7.mjs +48 -0
- package/dist/Search.js +70 -0
- package/dist/Search.mjs +225 -0
- package/dist/Select.js +122 -0
- package/dist/Select.mjs +1071 -0
- package/dist/Shape.js +23 -0
- package/dist/Shape.mjs +37 -0
- package/dist/Slider.js +190 -0
- package/dist/Slider.mjs +531 -0
- package/dist/Stack.js +1 -0
- package/dist/Stack.mjs +32 -0
- package/dist/Swiper.js +141 -0
- package/dist/Swiper.mjs +448 -0
- package/dist/System.js +1 -1
- package/dist/System.mjs +5 -5
- package/dist/Table.js +55 -0
- package/dist/Table.mjs +75 -0
- package/dist/Tabs.js +82 -0
- package/dist/Tabs.mjs +539 -0
- package/dist/Tag.js +78 -0
- package/dist/Tag.mjs +135 -0
- package/dist/Text.js +46 -0
- package/dist/Text.mjs +97 -0
- package/dist/Textarea.js +6 -0
- package/dist/Textarea.mjs +55 -0
- package/dist/TimePicker.js +4 -0
- package/dist/TimePicker.mjs +88 -0
- package/dist/Toast.js +42 -0
- package/dist/Toast.mjs +264 -0
- package/dist/Toggle.js +75 -0
- package/dist/Toggle.mjs +93 -0
- package/dist/Tooltip.js +68 -0
- package/dist/Tooltip.mjs +303 -0
- package/dist/UniversalLink.js +4 -0
- package/dist/UniversalLink.mjs +25 -0
- package/dist/VEVQD5MH-De4r89YE.mjs +20 -0
- package/dist/VEVQD5MH-mN1wMozH.js +1 -0
- package/dist/VGCJ63VH-BNLwLOaC.js +1 -0
- package/dist/VGCJ63VH-fv0YLRh8.mjs +186 -0
- package/dist/VariantIcon.js +8 -0
- package/dist/VariantIcon.mjs +32 -0
- package/dist/Welcome-BNr4uu5n.mjs +48 -0
- package/dist/Welcome-Dw9OaREs.js +3 -0
- package/dist/WelcomeLoader.js +11 -0
- package/dist/WelcomeLoader.mjs +9453 -0
- package/dist/X5NMLKT6-BzhcQu_I.js +1 -0
- package/dist/X5NMLKT6-DGZEtYXj.mjs +25 -0
- package/dist/YV4JVR4I-1ezWeCCz.mjs +341 -0
- package/dist/YV4JVR4I-DIthYWMj.js +15 -0
- package/dist/_commonjsHelpers-CXJ7dpIk.mjs +9 -0
- package/dist/_commonjsHelpers-DvH0V_XJ.js +1 -0
- package/dist/create-event-YSlay9Ef.js +1 -0
- package/dist/create-event-rXDe5aCQ.mjs +8 -0
- package/dist/downshift.esm-DAo-GJwH.js +1 -0
- package/dist/downshift.esm-K4YLLQXl.mjs +1085 -0
- package/dist/field-styles-CeV7pnOp.mjs +86 -0
- package/dist/field-styles-D_gf6ypV.js +63 -0
- package/dist/get-max-width-height-CDLBnp_J.js +1 -0
- package/dist/get-max-width-height-DoUro2T7.mjs +8 -0
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
- package/dist/hide-focus-rings-root-DGU4Klq5.js +5 -0
- package/dist/index-1C9Z0d5Q.mjs +446 -0
- package/dist/index-BHi0wohR.js +142 -0
- package/dist/index-BLom3M2B.js +2 -0
- package/dist/{index-WmqrMIzg.mjs → index-BYdkhqH4.mjs} +6344 -6386
- package/dist/index-C_r0bVmL.js +56 -0
- package/dist/index-CgT8GWHS.js +1 -0
- package/dist/index-ColyClKR.mjs +239 -0
- package/dist/index-CrhKWaM2.js +54 -0
- package/dist/index-Cs1IZBks.js +17 -0
- package/dist/index-DCOLdphy.mjs +184 -0
- package/dist/index-DHOW43M6.mjs +132 -0
- package/dist/index-SbQUT2mU.mjs +639 -0
- package/dist/index.js +5 -147
- package/dist/index.mjs +1448 -537
- package/dist/overflow-ellipsis-C2ESrF8C.js +5 -0
- package/dist/overflow-ellipsis-DGV5Kgt-.mjs +10 -0
- package/dist/radio-group-29lMl-2M.mjs +51 -0
- package/dist/radio-group-BpImAAmy.js +1 -0
- package/dist/throttle-BB1Y3bfD.js +1 -0
- package/dist/throttle-BDBzFeFj.mjs +13 -0
- package/dist/types/components/Alert/Title.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +3 -3
- package/dist/types/components/Alert/styles.d.ts +2 -2
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Card/Cover.d.ts +1 -1
- package/dist/types/components/Card/Cover.styles.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +13 -0
- package/dist/types/components/Checkbox/styles.d.ts +3 -0
- package/dist/types/components/Checkbox/theme.d.ts +8 -0
- package/dist/types/components/ClearButton/styles.d.ts +1 -1
- package/dist/types/components/CloseButton/styles.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +15 -0
- package/dist/types/components/DateTimePicker/index.d.ts +5 -0
- package/dist/types/components/DateTimePicker/styles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +18 -0
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +17 -0
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +4 -0
- package/dist/types/components/DateTimePickerCommon/datePickerStyles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/index.d.ts +5 -0
- package/dist/types/components/DateTimePickerCommon/styles.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/theme.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +6 -0
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +31 -0
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/AssetDrawer/styles.d.ts +3 -0
- package/dist/types/components/Drawer/Close.d.ts +5 -0
- package/dist/types/components/Drawer/Content.d.ts +4 -0
- package/dist/types/components/Drawer/Footer.d.ts +4 -0
- package/dist/types/components/Drawer/Title.d.ts +3 -0
- package/dist/types/components/Drawer/index.d.ts +52 -0
- package/dist/types/components/Drawer/styles.d.ts +10 -0
- package/dist/types/components/Drawer/theme.d.ts +17 -0
- package/dist/types/components/DropdownMenu/Arrow.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Arrow.styled.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/Separator.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Separator.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/index.d.ts +25 -0
- package/dist/types/components/DropdownMenu/styles.d.ts +1 -0
- package/dist/types/components/DropdownMenu/theme.d.ts +8 -0
- package/dist/types/components/Field/index.d.ts +26 -0
- package/dist/types/components/Field/styles.d.ts +21 -0
- package/dist/types/components/Field/utils.d.ts +5 -0
- package/dist/types/components/FieldGroup/index.d.ts +11 -0
- package/dist/types/components/FieldGroup/styles.d.ts +1 -0
- package/dist/types/components/FileDrop/FilePreview.d.ts +9 -0
- package/dist/types/components/FileDrop/Message.d.ts +7 -0
- package/dist/types/components/FileDrop/Preview.d.ts +3 -0
- package/dist/types/components/FileDrop/index.d.ts +52 -0
- package/dist/types/components/FileDrop/styles.d.ts +9 -0
- package/dist/types/components/FileDrop/theme.d.ts +9 -0
- package/dist/types/components/FileDrop/utils.d.ts +3 -0
- package/dist/types/components/FileUpload/index.d.ts +35 -0
- package/dist/types/components/FileUpload/styles.d.ts +1 -0
- package/dist/types/components/Files/index.d.ts +8 -0
- package/dist/types/components/Files/types.d.ts +72 -0
- package/dist/types/components/Grid/Item.d.ts +14 -0
- package/dist/types/components/Grid/index.d.ts +31 -0
- package/dist/types/components/Hint/index.d.ts +10 -0
- package/dist/types/components/Hint/styles.d.ts +4 -0
- package/dist/types/components/Hint/theme.d.ts +9 -0
- package/dist/types/components/Icon/index.d.ts +26 -0
- package/dist/types/components/Icon/styles.d.ts +9 -0
- package/dist/types/components/Icon/theme.d.ts +10 -0
- package/dist/types/components/IconFont/index.d.ts +311 -0
- package/dist/types/components/IconFont/styles.d.ts +7 -0
- package/dist/types/components/IconFont/unicode.json.d.ts +303 -0
- package/dist/types/components/InputText/index.d.ts +21 -0
- package/dist/types/components/InputText/styles.d.ts +3 -0
- package/dist/types/components/Label/index.d.ts +16 -0
- package/dist/types/components/Label/styles.d.ts +5 -0
- package/dist/types/components/Label/theme.d.ts +4 -0
- package/dist/types/components/Link/index.d.ts +15 -0
- package/dist/types/components/Link/styles.d.ts +2 -0
- package/dist/types/components/Link/theme.d.ts +16 -0
- package/dist/types/components/Link/utils.d.ts +1 -0
- package/dist/types/components/Loader/index.d.ts +11 -0
- package/dist/types/components/Loader/styles.d.ts +6 -0
- package/dist/types/components/Loader/theme.d.ts +8 -0
- package/dist/types/components/Logo/Solutions.d.ts +3 -0
- package/dist/types/components/Logo/Symbol.d.ts +3 -0
- package/dist/types/components/Logo/Welcome.d.ts +3 -0
- package/dist/types/components/Logo/Wui.d.ts +3 -0
- package/dist/types/components/Logo/index.d.ts +7 -0
- package/dist/types/components/Logo/styles.d.ts +1 -0
- package/dist/types/components/Modal/Assets/AssetWithTitle.d.ts +9 -0
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -0
- package/dist/types/components/Modal/Assets/Iframe.d.ts +5 -0
- package/dist/types/components/Modal/Assets/index.d.ts +17 -0
- package/dist/types/components/Modal/Assets/styles.d.ts +7 -0
- package/dist/types/components/Modal/Close.d.ts +6 -0
- package/dist/types/components/Modal/Content.d.ts +16 -0
- package/dist/types/components/Modal/Footer.d.ts +12 -0
- package/dist/types/components/Modal/Header.d.ts +12 -0
- package/dist/types/components/Modal/index.d.ts +53 -0
- package/dist/types/components/Modal/styles.d.ts +11 -0
- package/dist/types/components/Modal/theme.d.ts +17 -0
- package/dist/types/components/Pagination/index.d.ts +14 -0
- package/dist/types/components/Pagination/styles.d.ts +7 -0
- package/dist/types/components/Pagination/theme.d.ts +9 -0
- package/dist/types/components/Pagination/utils.d.ts +7 -0
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +9 -0
- package/dist/types/components/PasswordInput/index.d.ts +5 -0
- package/dist/types/components/Picker/index.d.ts +17 -0
- package/dist/types/components/Picker/styles.d.ts +2 -0
- package/dist/types/components/Popover/Arrow.d.ts +6 -0
- package/dist/types/components/Popover/Content.d.ts +9 -0
- package/dist/types/components/Popover/Popover.d.ts +14 -0
- package/dist/types/components/Popover/PopoverHover.d.ts +14 -0
- package/dist/types/components/Popover/Trigger.d.ts +10 -0
- package/dist/types/components/Popover/index.d.ts +3 -0
- package/dist/types/components/Popover/styles.d.ts +12 -0
- package/dist/types/components/Popover/theme.d.ts +8 -0
- package/dist/types/components/Popover/usePopover.d.ts +15 -0
- package/dist/types/components/Radio/index.d.ts +12 -0
- package/dist/types/components/Radio/styles.d.ts +7 -0
- package/dist/types/components/Radio/theme.d.ts +11 -0
- package/dist/types/components/RadioGroup/index.d.ts +17 -0
- package/dist/types/components/RadioGroup/styles.d.ts +4 -0
- package/dist/types/components/RadioTab/index.d.ts +14 -0
- package/dist/types/components/RadioTab/styles.d.ts +18 -0
- package/dist/types/components/RadioTab/theme.d.ts +7 -0
- package/dist/types/components/Search/index.d.ts +29 -0
- package/dist/types/components/Search/styles.d.ts +15 -0
- package/dist/types/components/Select/index.d.ts +54 -0
- package/dist/types/components/Select/multipleSelections.d.ts +3 -0
- package/dist/types/components/Select/styles.d.ts +32 -0
- package/dist/types/components/Select/utils.d.ts +18 -0
- package/dist/types/components/Shape/index.d.ts +6 -0
- package/dist/types/components/Shape/styles.d.ts +2 -0
- package/dist/types/components/Slider/Range.d.ts +17 -0
- package/dist/types/components/Slider/index.d.ts +27 -0
- package/dist/types/components/Slider/styles.d.ts +19 -0
- package/dist/types/components/Slider/theme.d.ts +11 -0
- package/dist/types/components/Stack/index.d.ts +7 -0
- package/dist/types/components/Swiper/index.d.ts +80 -0
- package/dist/types/components/Swiper/styles.d.ts +138 -0
- package/dist/types/components/Swiper/theme.d.ts +11 -0
- package/dist/types/components/Swiper/use-interval.d.ts +1 -0
- package/dist/types/components/Table/index.d.ts +18 -0
- package/dist/types/components/Table/styles.d.ts +13 -0
- package/dist/types/components/Table/theme.d.ts +15 -0
- package/dist/types/components/Tabs/ActiveBar.d.ts +13 -0
- package/dist/types/components/Tabs/TabList.d.ts +13 -0
- package/dist/types/components/Tabs/TabPanel.d.ts +11 -0
- package/dist/types/components/Tabs/index.d.ts +18 -0
- package/dist/types/components/Tabs/styles.d.ts +9 -0
- package/dist/types/components/Tabs/theme.d.ts +28 -0
- package/dist/types/components/Tabs/utils.d.ts +1 -0
- package/dist/types/components/Tag/index.d.ts +17 -0
- package/dist/types/components/Tag/styles.d.ts +15 -0
- package/dist/types/components/Tag/theme.d.ts +14 -0
- package/dist/types/components/Text/index.d.ts +25 -0
- package/dist/types/components/Text/styles.d.ts +2 -0
- package/dist/types/components/Textarea/index.d.ts +18 -0
- package/dist/types/components/Textarea/styles.d.ts +2 -0
- package/dist/types/components/Textarea/theme.d.ts +4 -0
- package/dist/types/components/TimePicker/index.d.ts +13 -0
- package/dist/types/components/TimePicker/styles.d.ts +1 -0
- package/dist/types/components/Toast/Growl.d.ts +12 -0
- package/dist/types/components/Toast/Snackbar.d.ts +18 -0
- package/dist/types/components/Toast/ToastWrapper.d.ts +16 -0
- package/dist/types/components/Toast/index.d.ts +27 -0
- package/dist/types/components/Toast/styles.d.ts +19 -0
- package/dist/types/components/Toast/theme.d.ts +22 -0
- package/dist/types/components/Toast/utils.d.ts +26 -0
- package/dist/types/components/Toggle/index.d.ts +11 -0
- package/dist/types/components/Toggle/styles.d.ts +12 -0
- package/dist/types/components/Toggle/theme.d.ts +10 -0
- package/dist/types/components/Tooltip/index.d.ts +11 -0
- package/dist/types/components/Tooltip/styles.d.ts +10 -0
- package/dist/types/components/Tooltip/theme.d.ts +4 -0
- package/dist/types/components/UniversalLink/index.d.ts +7 -0
- package/dist/types/components/UniversalLink/styles.d.ts +1 -0
- package/dist/types/components/VariantIcon/index.d.ts +11 -0
- package/dist/types/components/VariantIcon/styles.d.ts +4 -0
- package/dist/types/components/VariantIcon/theme.d.ts +10 -0
- package/dist/types/components/WelcomeLoader/index.d.ts +2 -0
- package/dist/types/components/WelcomeLoader/loader.json.d.ts +3 -0
- package/dist/types/components/index.d.ts +43 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/theme/defaultFields.d.ts +39 -0
- package/dist/types/theme/index.d.ts +52 -2
- package/dist/types/theme/typography.d.ts +2 -2
- package/dist/types/utils/clamp.d.ts +1 -0
- package/dist/types/utils/create-event.d.ts +8 -0
- package/dist/types/utils/field-styles.d.ts +21 -0
- package/dist/types/utils/format-bytes.d.ts +1 -0
- package/dist/types/utils/get-max-width-height.d.ts +1 -0
- package/dist/types/utils/hex-to-rgb.d.ts +1 -0
- package/dist/types/utils/hex-to-rgba.d.ts +1 -0
- package/dist/types/utils/hide-focus-rings-root.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/overflow-ellipsis.d.ts +1 -0
- package/dist/types/utils/throttle.d.ts +5 -0
- package/dist/types/utils/use-copy-text.d.ts +5 -0
- package/dist/types/utils/use-create-portal.d.ts +4 -0
- package/dist/types/utils/use-fork-ref.d.ts +3 -0
- package/dist/types/utils/use-isomorphic-layout-effect.d.ts +2 -0
- package/dist/types/utils/use-viewport.d.ts +6 -0
- package/dist/types/utils/wrap-children.d.ts +1 -0
- package/dist/use-isomorphic-layout-effect-C1_Gy5Nu.js +1 -0
- package/dist/use-isomorphic-layout-effect-Izr-e2pi.mjs +6 -0
- package/dist/use-viewport-BDDjd1nl.js +1 -0
- package/dist/use-viewport-m3glsbna.mjs +16 -0
- package/dist/usePopover-CZsYHcTW.js +31 -0
- package/dist/usePopover-CcsC9Y-s.mjs +143 -0
- package/dist/wrap-children-BLDjJiiy.js +1 -0
- package/dist/wrap-children-aq69jtFP.mjs +12 -0
- package/package.json +56 -4
- package/dist/X5NMLKT6-BC1Q56kB.mjs +0 -1258
- package/dist/X5NMLKT6-vrNG8i_R.js +0 -14
- package/dist/index-0MPAX4B5.mjs +0 -320
- package/dist/index-BNA_A0oa.js +0 -155
- package/dist/index-BXJQXgy9.js +0 -13
- package/dist/index-Bwrtxit1.mjs +0 -84
- package/dist/index-Ct2FOeyM.js +0 -17
- package/dist/index-DRNn5iIc.js +0 -142
- package/dist/index-Du8Nrf16.mjs +0 -128
- package/dist/index-MifIgNHW.mjs +0 -47
- package/dist/index-V28zHt_Z.js +0 -68
|
@@ -0,0 +1,1479 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import Pt, { isValidElement as ur, useLayoutEffect as sr, useEffect as V, useRef as Ee, useCallback as xt, useMemo as Ve, useState as re, useReducer as fr, createContext as cr, useContext as lr } from "react";
|
|
4
|
+
var dr = Object.defineProperty, pr = Object.defineProperties, vr = Object.getOwnPropertyDescriptors, ye = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, dt = (e, t, n) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
|
|
5
|
+
for (var n in t || (t = {}))
|
|
6
|
+
Ot.call(t, n) && dt(e, n, t[n]);
|
|
7
|
+
if (ye)
|
|
8
|
+
for (var n of ye(t))
|
|
9
|
+
Ct.call(t, n) && dt(e, n, t[n]);
|
|
10
|
+
return e;
|
|
11
|
+
}, L = (e, t) => pr(e, vr(t)), St = (e, t) => {
|
|
12
|
+
var n = {};
|
|
13
|
+
for (var o in e)
|
|
14
|
+
Ot.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
15
|
+
if (e != null && ye)
|
|
16
|
+
for (var o of ye(e))
|
|
17
|
+
t.indexOf(o) < 0 && Ct.call(e, o) && (n[o] = e[o]);
|
|
18
|
+
return n;
|
|
19
|
+
}, br = Object.defineProperty, gr = Object.defineProperties, yr = Object.getOwnPropertyDescriptors, me = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, pt = (e, t, n) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Le = (e, t) => {
|
|
20
|
+
for (var n in t || (t = {}))
|
|
21
|
+
Ft.call(t, n) && pt(e, n, t[n]);
|
|
22
|
+
if (me)
|
|
23
|
+
for (var n of me(t))
|
|
24
|
+
Dt.call(t, n) && pt(e, n, t[n]);
|
|
25
|
+
return e;
|
|
26
|
+
}, mr = (e, t) => gr(e, yr(t)), dn = (e, t) => {
|
|
27
|
+
var n = {};
|
|
28
|
+
for (var o in e)
|
|
29
|
+
Ft.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
30
|
+
if (e != null && me)
|
|
31
|
+
for (var o of me(e))
|
|
32
|
+
t.indexOf(o) < 0 && Dt.call(e, o) && (n[o] = e[o]);
|
|
33
|
+
return n;
|
|
34
|
+
};
|
|
35
|
+
function pn(...e) {
|
|
36
|
+
}
|
|
37
|
+
function vn(e, t) {
|
|
38
|
+
if (Er(e)) {
|
|
39
|
+
const n = hr(t) ? t() : t;
|
|
40
|
+
return e(n);
|
|
41
|
+
}
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
function Er(e) {
|
|
45
|
+
return typeof e == "function";
|
|
46
|
+
}
|
|
47
|
+
function hr(e) {
|
|
48
|
+
return typeof e == "function";
|
|
49
|
+
}
|
|
50
|
+
function $e(e, t) {
|
|
51
|
+
return typeof Object.hasOwn == "function" ? Object.hasOwn(e, t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
52
|
+
}
|
|
53
|
+
function bn(...e) {
|
|
54
|
+
return (...t) => {
|
|
55
|
+
for (const n of e)
|
|
56
|
+
typeof n == "function" && n(...t);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function gn(e) {
|
|
60
|
+
return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
61
|
+
}
|
|
62
|
+
function yn(e, t) {
|
|
63
|
+
const n = Le({}, e);
|
|
64
|
+
for (const o of t)
|
|
65
|
+
$e(n, o) && delete n[o];
|
|
66
|
+
return n;
|
|
67
|
+
}
|
|
68
|
+
function mn(e, t) {
|
|
69
|
+
const n = {};
|
|
70
|
+
for (const o of t)
|
|
71
|
+
$e(e, o) && (n[o] = e[o]);
|
|
72
|
+
return n;
|
|
73
|
+
}
|
|
74
|
+
function En(e) {
|
|
75
|
+
return e;
|
|
76
|
+
}
|
|
77
|
+
function hn(e, t) {
|
|
78
|
+
if (!e)
|
|
79
|
+
throw typeof t != "string" ? new Error("Invariant failed") : new Error(t);
|
|
80
|
+
}
|
|
81
|
+
function _n(e) {
|
|
82
|
+
return Object.keys(e);
|
|
83
|
+
}
|
|
84
|
+
function wn(e, ...t) {
|
|
85
|
+
const n = typeof e == "function" ? e(...t) : e;
|
|
86
|
+
return n == null ? !1 : !n;
|
|
87
|
+
}
|
|
88
|
+
function _r(e) {
|
|
89
|
+
return e.disabled || e["aria-disabled"] === !0 || e["aria-disabled"] === "true";
|
|
90
|
+
}
|
|
91
|
+
function wr(e) {
|
|
92
|
+
const t = {};
|
|
93
|
+
for (const n in e)
|
|
94
|
+
e[n] !== void 0 && (t[n] = e[n]);
|
|
95
|
+
return t;
|
|
96
|
+
}
|
|
97
|
+
function Rn(...e) {
|
|
98
|
+
for (const t of e)
|
|
99
|
+
if (t !== void 0) return t;
|
|
100
|
+
}
|
|
101
|
+
function Rr(e, t) {
|
|
102
|
+
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
103
|
+
}
|
|
104
|
+
function Tr(e) {
|
|
105
|
+
return !e || !ur(e) ? !1 : "ref" in e.props || "ref" in e;
|
|
106
|
+
}
|
|
107
|
+
function Pr(e) {
|
|
108
|
+
return Tr(e) ? P({}, e.props).ref || e.ref : null;
|
|
109
|
+
}
|
|
110
|
+
function xr(e, t) {
|
|
111
|
+
const n = P({}, e);
|
|
112
|
+
for (const o in t) {
|
|
113
|
+
if (!$e(t, o)) continue;
|
|
114
|
+
if (o === "className") {
|
|
115
|
+
const s = "className";
|
|
116
|
+
n[s] = e[s] ? `${e[s]} ${t[s]}` : t[s];
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if (o === "style") {
|
|
120
|
+
const s = "style";
|
|
121
|
+
n[s] = e[s] ? P(P({}, e[s]), t[s]) : t[s];
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
const i = t[o];
|
|
125
|
+
if (typeof i == "function" && o.startsWith("on")) {
|
|
126
|
+
const s = e[o];
|
|
127
|
+
if (typeof s == "function") {
|
|
128
|
+
n[o] = (...p) => {
|
|
129
|
+
i(...p), s(...p);
|
|
130
|
+
};
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
n[o] = i;
|
|
135
|
+
}
|
|
136
|
+
return n;
|
|
137
|
+
}
|
|
138
|
+
var X = Or();
|
|
139
|
+
function Or() {
|
|
140
|
+
var e;
|
|
141
|
+
return typeof window < "u" && !!((e = window.document) != null && e.createElement);
|
|
142
|
+
}
|
|
143
|
+
function Q(e) {
|
|
144
|
+
return e ? "self" in e ? e.document : e.ownerDocument || document : document;
|
|
145
|
+
}
|
|
146
|
+
function Tn(e) {
|
|
147
|
+
return e ? "self" in e ? e.self : Q(e).defaultView || window : self;
|
|
148
|
+
}
|
|
149
|
+
function G(e, t = !1) {
|
|
150
|
+
const { activeElement: n } = Q(e);
|
|
151
|
+
if (!(n != null && n.nodeName))
|
|
152
|
+
return null;
|
|
153
|
+
if (We(n) && n.contentDocument)
|
|
154
|
+
return G(
|
|
155
|
+
n.contentDocument.body,
|
|
156
|
+
t
|
|
157
|
+
);
|
|
158
|
+
if (t) {
|
|
159
|
+
const o = n.getAttribute("aria-activedescendant");
|
|
160
|
+
if (o) {
|
|
161
|
+
const i = Q(n).getElementById(o);
|
|
162
|
+
if (i)
|
|
163
|
+
return i;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return n;
|
|
167
|
+
}
|
|
168
|
+
function ee(e, t) {
|
|
169
|
+
return e === t || e.contains(t);
|
|
170
|
+
}
|
|
171
|
+
function We(e) {
|
|
172
|
+
return e.tagName === "IFRAME";
|
|
173
|
+
}
|
|
174
|
+
function Cr(e) {
|
|
175
|
+
const t = e.tagName.toLowerCase();
|
|
176
|
+
return t === "button" ? !0 : t === "input" && e.type ? Sr.indexOf(e.type) !== -1 : !1;
|
|
177
|
+
}
|
|
178
|
+
var Sr = [
|
|
179
|
+
"button",
|
|
180
|
+
"color",
|
|
181
|
+
"file",
|
|
182
|
+
"image",
|
|
183
|
+
"reset",
|
|
184
|
+
"submit"
|
|
185
|
+
];
|
|
186
|
+
function Fr(e) {
|
|
187
|
+
if (typeof e.checkVisibility == "function")
|
|
188
|
+
return e.checkVisibility();
|
|
189
|
+
const t = e;
|
|
190
|
+
return t.offsetWidth > 0 || t.offsetHeight > 0 || e.getClientRects().length > 0;
|
|
191
|
+
}
|
|
192
|
+
function Ye(e) {
|
|
193
|
+
try {
|
|
194
|
+
const t = e instanceof HTMLInputElement && e.selectionStart !== null, n = e.tagName === "TEXTAREA";
|
|
195
|
+
return t || n || !1;
|
|
196
|
+
} catch {
|
|
197
|
+
return !1;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function Pn(e) {
|
|
201
|
+
return e.isContentEditable || Ye(e);
|
|
202
|
+
}
|
|
203
|
+
function xn(e) {
|
|
204
|
+
if (Ye(e))
|
|
205
|
+
return e.value;
|
|
206
|
+
if (e.isContentEditable) {
|
|
207
|
+
const t = Q(e).createRange();
|
|
208
|
+
return t.selectNodeContents(e), t.toString();
|
|
209
|
+
}
|
|
210
|
+
return "";
|
|
211
|
+
}
|
|
212
|
+
function On(e) {
|
|
213
|
+
let t = 0, n = 0;
|
|
214
|
+
if (Ye(e))
|
|
215
|
+
t = e.selectionStart || 0, n = e.selectionEnd || 0;
|
|
216
|
+
else if (e.isContentEditable) {
|
|
217
|
+
const o = Q(e).getSelection();
|
|
218
|
+
if (o != null && o.rangeCount && o.anchorNode && ee(e, o.anchorNode) && o.focusNode && ee(e, o.focusNode)) {
|
|
219
|
+
const i = o.getRangeAt(0), s = i.cloneRange();
|
|
220
|
+
s.selectNodeContents(e), s.setEnd(i.startContainer, i.startOffset), t = s.toString().length, s.setEnd(i.endContainer, i.endOffset), n = s.toString().length;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return { start: t, end: n };
|
|
224
|
+
}
|
|
225
|
+
function Dr(e, t) {
|
|
226
|
+
const n = ["dialog", "menu", "listbox", "tree", "grid"], o = e == null ? void 0 : e.getAttribute("role");
|
|
227
|
+
return o && n.indexOf(o) !== -1 ? o : t;
|
|
228
|
+
}
|
|
229
|
+
function Cn(e, t) {
|
|
230
|
+
var n;
|
|
231
|
+
const o = {
|
|
232
|
+
menu: "menuitem",
|
|
233
|
+
listbox: "option",
|
|
234
|
+
tree: "treeitem"
|
|
235
|
+
}, i = Dr(e);
|
|
236
|
+
return i && (n = o[i]) != null ? n : t;
|
|
237
|
+
}
|
|
238
|
+
function Ar(e) {
|
|
239
|
+
if (!e) return null;
|
|
240
|
+
const t = (n) => n === "auto" || n === "scroll";
|
|
241
|
+
if (e.clientHeight && e.scrollHeight > e.clientHeight) {
|
|
242
|
+
const { overflowY: n } = getComputedStyle(e);
|
|
243
|
+
if (t(n)) return e;
|
|
244
|
+
} else if (e.clientWidth && e.scrollWidth > e.clientWidth) {
|
|
245
|
+
const { overflowX: n } = getComputedStyle(e);
|
|
246
|
+
if (t(n)) return e;
|
|
247
|
+
}
|
|
248
|
+
return Ar(e.parentElement) || document.scrollingElement || document.body;
|
|
249
|
+
}
|
|
250
|
+
function Sn(e, t) {
|
|
251
|
+
const n = e.map((i, s) => [s, i]);
|
|
252
|
+
let o = !1;
|
|
253
|
+
return n.sort(([i, s], [p, l]) => {
|
|
254
|
+
const b = t(s), m = t(l);
|
|
255
|
+
return b === m || !b || !m ? 0 : jr(b, m) ? (i > p && (o = !0), -1) : (i < p && (o = !0), 1);
|
|
256
|
+
}), o ? n.map(([i, s]) => s) : e;
|
|
257
|
+
}
|
|
258
|
+
function jr(e, t) {
|
|
259
|
+
return !!(t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING);
|
|
260
|
+
}
|
|
261
|
+
function Ir() {
|
|
262
|
+
return X && !!navigator.maxTouchPoints;
|
|
263
|
+
}
|
|
264
|
+
function At() {
|
|
265
|
+
return X ? /mac|iphone|ipad|ipod/i.test(navigator.platform) : !1;
|
|
266
|
+
}
|
|
267
|
+
function kr() {
|
|
268
|
+
return X && At() && /apple/i.test(navigator.vendor);
|
|
269
|
+
}
|
|
270
|
+
function Fn() {
|
|
271
|
+
return X && /firefox\//i.test(navigator.userAgent);
|
|
272
|
+
}
|
|
273
|
+
function Dn() {
|
|
274
|
+
return X && navigator.platform.startsWith("Mac") && !Ir();
|
|
275
|
+
}
|
|
276
|
+
function Mr(e) {
|
|
277
|
+
return !!(e.currentTarget && !ee(e.currentTarget, e.target));
|
|
278
|
+
}
|
|
279
|
+
function vt(e) {
|
|
280
|
+
return e.target === e.currentTarget;
|
|
281
|
+
}
|
|
282
|
+
function An(e) {
|
|
283
|
+
const t = e.currentTarget;
|
|
284
|
+
if (!t) return !1;
|
|
285
|
+
const n = At();
|
|
286
|
+
if (n && !e.metaKey || !n && !e.ctrlKey) return !1;
|
|
287
|
+
const o = t.tagName.toLowerCase();
|
|
288
|
+
return o === "a" || o === "button" && t.type === "submit" || o === "input" && t.type === "submit";
|
|
289
|
+
}
|
|
290
|
+
function jn(e) {
|
|
291
|
+
const t = e.currentTarget;
|
|
292
|
+
if (!t) return !1;
|
|
293
|
+
const n = t.tagName.toLowerCase();
|
|
294
|
+
return e.altKey ? n === "a" || n === "button" && t.type === "submit" || n === "input" && t.type === "submit" : !1;
|
|
295
|
+
}
|
|
296
|
+
function In(e, t, n) {
|
|
297
|
+
const o = new Event(t, n);
|
|
298
|
+
return e.dispatchEvent(o);
|
|
299
|
+
}
|
|
300
|
+
function kn(e, t) {
|
|
301
|
+
const n = new FocusEvent("blur", t), o = e.dispatchEvent(n), i = mr(Le({}, t), { bubbles: !0 });
|
|
302
|
+
return e.dispatchEvent(new FocusEvent("focusout", i)), o;
|
|
303
|
+
}
|
|
304
|
+
function Mn(e, t, n) {
|
|
305
|
+
const o = new KeyboardEvent(t, n);
|
|
306
|
+
return e.dispatchEvent(o);
|
|
307
|
+
}
|
|
308
|
+
function Nn(e, t) {
|
|
309
|
+
const n = new MouseEvent("click", t);
|
|
310
|
+
return e.dispatchEvent(n);
|
|
311
|
+
}
|
|
312
|
+
function Nr(e, t) {
|
|
313
|
+
const n = t || e.currentTarget, o = e.relatedTarget;
|
|
314
|
+
return !o || !ee(n, o);
|
|
315
|
+
}
|
|
316
|
+
function ke(e, t, n, o) {
|
|
317
|
+
const s = ((l) => {
|
|
318
|
+
const b = requestAnimationFrame(l);
|
|
319
|
+
return () => cancelAnimationFrame(b);
|
|
320
|
+
})(() => {
|
|
321
|
+
e.removeEventListener(t, p, !0), n();
|
|
322
|
+
}), p = () => {
|
|
323
|
+
s(), n();
|
|
324
|
+
};
|
|
325
|
+
return e.addEventListener(t, p, { once: !0, capture: !0 }), s;
|
|
326
|
+
}
|
|
327
|
+
function M(e, t, n, o = window) {
|
|
328
|
+
const i = [];
|
|
329
|
+
try {
|
|
330
|
+
o.document.addEventListener(e, t, n);
|
|
331
|
+
for (const p of Array.from(o.frames))
|
|
332
|
+
i.push(M(e, t, n, p));
|
|
333
|
+
} catch {
|
|
334
|
+
}
|
|
335
|
+
return () => {
|
|
336
|
+
try {
|
|
337
|
+
o.document.removeEventListener(e, t, n);
|
|
338
|
+
} catch {
|
|
339
|
+
}
|
|
340
|
+
for (const p of i)
|
|
341
|
+
p();
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
var Be = P({}, j), bt = Be.useId;
|
|
345
|
+
Be.useDeferredValue;
|
|
346
|
+
var gt = Be.useInsertionEffect, he = X ? sr : V;
|
|
347
|
+
function Vn(e) {
|
|
348
|
+
const t = Ee(e);
|
|
349
|
+
return he(() => {
|
|
350
|
+
t.current = e;
|
|
351
|
+
}), t;
|
|
352
|
+
}
|
|
353
|
+
function N(e) {
|
|
354
|
+
const t = Ee(() => {
|
|
355
|
+
throw new Error("Cannot call an event handler while rendering.");
|
|
356
|
+
});
|
|
357
|
+
return gt ? gt(() => {
|
|
358
|
+
t.current = e;
|
|
359
|
+
}) : t.current = e, xt((...n) => {
|
|
360
|
+
var o;
|
|
361
|
+
return (o = t.current) == null ? void 0 : o.call(t, ...n);
|
|
362
|
+
}, []);
|
|
363
|
+
}
|
|
364
|
+
function Ln(e) {
|
|
365
|
+
const [t, n] = re(null);
|
|
366
|
+
return he(() => {
|
|
367
|
+
if (t == null || !e) return;
|
|
368
|
+
let o = null;
|
|
369
|
+
return e((i) => (o = i, t)), () => {
|
|
370
|
+
e(o);
|
|
371
|
+
};
|
|
372
|
+
}, [t, e]), [t, n];
|
|
373
|
+
}
|
|
374
|
+
function Ke(...e) {
|
|
375
|
+
return Ve(() => {
|
|
376
|
+
if (e.some(Boolean))
|
|
377
|
+
return (t) => {
|
|
378
|
+
for (const n of e)
|
|
379
|
+
Rr(n, t);
|
|
380
|
+
};
|
|
381
|
+
}, e);
|
|
382
|
+
}
|
|
383
|
+
function $n(e) {
|
|
384
|
+
if (bt) {
|
|
385
|
+
const o = bt();
|
|
386
|
+
return e || o;
|
|
387
|
+
}
|
|
388
|
+
const [t, n] = re(e);
|
|
389
|
+
return he(() => {
|
|
390
|
+
if (e || t) return;
|
|
391
|
+
const o = Math.random().toString(36).slice(2, 8);
|
|
392
|
+
n(`id-${o}`);
|
|
393
|
+
}, [e, t]), e || t;
|
|
394
|
+
}
|
|
395
|
+
function Vr(e, t) {
|
|
396
|
+
const n = (s) => {
|
|
397
|
+
if (typeof s == "string")
|
|
398
|
+
return s;
|
|
399
|
+
}, [o, i] = re(() => n(t));
|
|
400
|
+
return he(() => {
|
|
401
|
+
const s = e && "current" in e ? e.current : e;
|
|
402
|
+
i((s == null ? void 0 : s.tagName.toLowerCase()) || n(t));
|
|
403
|
+
}, [e, t]), o;
|
|
404
|
+
}
|
|
405
|
+
function Wn(e, t) {
|
|
406
|
+
const n = Ee(!1);
|
|
407
|
+
V(() => {
|
|
408
|
+
if (n.current)
|
|
409
|
+
return e();
|
|
410
|
+
n.current = !0;
|
|
411
|
+
}, t), V(
|
|
412
|
+
() => () => {
|
|
413
|
+
n.current = !1;
|
|
414
|
+
},
|
|
415
|
+
[]
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
function Yn() {
|
|
419
|
+
return fr(() => [], []);
|
|
420
|
+
}
|
|
421
|
+
function Bn(e) {
|
|
422
|
+
return N(
|
|
423
|
+
typeof e == "function" ? e : () => e
|
|
424
|
+
);
|
|
425
|
+
}
|
|
426
|
+
function Kn(e, t, n = []) {
|
|
427
|
+
const o = xt(
|
|
428
|
+
(i) => (e.wrapElement && (i = e.wrapElement(i)), t(i)),
|
|
429
|
+
[...n, e.wrapElement]
|
|
430
|
+
);
|
|
431
|
+
return L(P({}, e), { wrapElement: o });
|
|
432
|
+
}
|
|
433
|
+
function Un(e = !1, t) {
|
|
434
|
+
const [n, o] = re(null);
|
|
435
|
+
return { portalRef: Ke(o, t), portalNode: n, domReady: !e || n };
|
|
436
|
+
}
|
|
437
|
+
function qn(e, t, n) {
|
|
438
|
+
const o = e.onLoadedMetadataCapture, i = Ve(() => Object.assign(() => {
|
|
439
|
+
}, L(P({}, o), { [t]: n })), [o, t, n]);
|
|
440
|
+
return [o == null ? void 0 : o[t], { onLoadedMetadataCapture: i }];
|
|
441
|
+
}
|
|
442
|
+
function Xn() {
|
|
443
|
+
return V(() => {
|
|
444
|
+
M("mousemove", $r, !0), M("mousedown", ge, !0), M("mouseup", ge, !0), M("keydown", ge, !0), M("scroll", ge, !0);
|
|
445
|
+
}, []), N(() => Ue);
|
|
446
|
+
}
|
|
447
|
+
var Ue = !1, yt = 0, mt = 0;
|
|
448
|
+
function Lr(e) {
|
|
449
|
+
const t = e.movementX || e.screenX - yt, n = e.movementY || e.screenY - mt;
|
|
450
|
+
return yt = e.screenX, mt = e.screenY, t || n || process.env.NODE_ENV === "test";
|
|
451
|
+
}
|
|
452
|
+
function $r(e) {
|
|
453
|
+
Lr(e) && (Ue = !0);
|
|
454
|
+
}
|
|
455
|
+
function ge() {
|
|
456
|
+
Ue = !1;
|
|
457
|
+
}
|
|
458
|
+
var Ne = { exports: {} }, z = {}, Et;
|
|
459
|
+
function Wr() {
|
|
460
|
+
if (Et) return z;
|
|
461
|
+
Et = 1;
|
|
462
|
+
var e = Pt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
463
|
+
function p(l, b, m) {
|
|
464
|
+
var g, _ = {}, C = null, Y = null;
|
|
465
|
+
m !== void 0 && (C = "" + m), b.key !== void 0 && (C = "" + b.key), b.ref !== void 0 && (Y = b.ref);
|
|
466
|
+
for (g in b) o.call(b, g) && !s.hasOwnProperty(g) && (_[g] = b[g]);
|
|
467
|
+
if (l && l.defaultProps) for (g in b = l.defaultProps, b) _[g] === void 0 && (_[g] = b[g]);
|
|
468
|
+
return { $$typeof: t, type: l, key: C, ref: Y, props: _, _owner: i.current };
|
|
469
|
+
}
|
|
470
|
+
return z.Fragment = n, z.jsx = p, z.jsxs = p, z;
|
|
471
|
+
}
|
|
472
|
+
var Z = {}, ht;
|
|
473
|
+
function Yr() {
|
|
474
|
+
return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
475
|
+
var e = Pt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), l = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), ne = Symbol.iterator, we = "@@iterator";
|
|
476
|
+
function oe(r) {
|
|
477
|
+
if (r === null || typeof r != "object")
|
|
478
|
+
return null;
|
|
479
|
+
var a = ne && r[ne] || r[we];
|
|
480
|
+
return typeof a == "function" ? a : null;
|
|
481
|
+
}
|
|
482
|
+
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
483
|
+
function T(r) {
|
|
484
|
+
{
|
|
485
|
+
for (var a = arguments.length, u = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
|
|
486
|
+
u[c - 1] = arguments[c];
|
|
487
|
+
ae("error", r, u);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
function ae(r, a, u) {
|
|
491
|
+
{
|
|
492
|
+
var c = k.ReactDebugCurrentFrame, y = c.getStackAddendum();
|
|
493
|
+
y !== "" && (a += "%s", u = u.concat([y]));
|
|
494
|
+
var E = u.map(function(v) {
|
|
495
|
+
return String(v);
|
|
496
|
+
});
|
|
497
|
+
E.unshift("Warning: " + a), Function.prototype.apply.call(console[r], console, E);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
var Re = !1, ie = !1, Te = !1, ue = !1, Pe = !1, se;
|
|
501
|
+
se = Symbol.for("react.module.reference");
|
|
502
|
+
function xe(r) {
|
|
503
|
+
return !!(typeof r == "string" || typeof r == "function" || r === o || r === s || Pe || r === i || r === m || r === g || ue || r === Y || Re || ie || Te || typeof r == "object" && r !== null && (r.$$typeof === C || r.$$typeof === _ || r.$$typeof === p || r.$$typeof === l || r.$$typeof === b || // This needs to include all possible module reference object
|
|
504
|
+
// types supported by any Flight configuration anywhere since
|
|
505
|
+
// we don't know which Flight build this will end up being used
|
|
506
|
+
// with.
|
|
507
|
+
r.$$typeof === se || r.getModuleId !== void 0));
|
|
508
|
+
}
|
|
509
|
+
function fe(r, a, u) {
|
|
510
|
+
var c = r.displayName;
|
|
511
|
+
if (c)
|
|
512
|
+
return c;
|
|
513
|
+
var y = a.displayName || a.name || "";
|
|
514
|
+
return y !== "" ? u + "(" + y + ")" : u;
|
|
515
|
+
}
|
|
516
|
+
function ce(r) {
|
|
517
|
+
return r.displayName || "Context";
|
|
518
|
+
}
|
|
519
|
+
function D(r) {
|
|
520
|
+
if (r == null)
|
|
521
|
+
return null;
|
|
522
|
+
if (typeof r.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
|
|
523
|
+
return r.displayName || r.name || null;
|
|
524
|
+
if (typeof r == "string")
|
|
525
|
+
return r;
|
|
526
|
+
switch (r) {
|
|
527
|
+
case o:
|
|
528
|
+
return "Fragment";
|
|
529
|
+
case n:
|
|
530
|
+
return "Portal";
|
|
531
|
+
case s:
|
|
532
|
+
return "Profiler";
|
|
533
|
+
case i:
|
|
534
|
+
return "StrictMode";
|
|
535
|
+
case m:
|
|
536
|
+
return "Suspense";
|
|
537
|
+
case g:
|
|
538
|
+
return "SuspenseList";
|
|
539
|
+
}
|
|
540
|
+
if (typeof r == "object")
|
|
541
|
+
switch (r.$$typeof) {
|
|
542
|
+
case l:
|
|
543
|
+
var a = r;
|
|
544
|
+
return ce(a) + ".Consumer";
|
|
545
|
+
case p:
|
|
546
|
+
var u = r;
|
|
547
|
+
return ce(u._context) + ".Provider";
|
|
548
|
+
case b:
|
|
549
|
+
return fe(r, r.render, "ForwardRef");
|
|
550
|
+
case _:
|
|
551
|
+
var c = r.displayName || null;
|
|
552
|
+
return c !== null ? c : D(r.type) || "Memo";
|
|
553
|
+
case C: {
|
|
554
|
+
var y = r, E = y._payload, v = y._init;
|
|
555
|
+
try {
|
|
556
|
+
return D(v(E));
|
|
557
|
+
} catch {
|
|
558
|
+
return null;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return null;
|
|
563
|
+
}
|
|
564
|
+
var A = Object.assign, $ = 0, f, h, x, I, le, H, He;
|
|
565
|
+
function Je() {
|
|
566
|
+
}
|
|
567
|
+
Je.__reactDisabledLog = !0;
|
|
568
|
+
function It() {
|
|
569
|
+
{
|
|
570
|
+
if ($ === 0) {
|
|
571
|
+
f = console.log, h = console.info, x = console.warn, I = console.error, le = console.group, H = console.groupCollapsed, He = console.groupEnd;
|
|
572
|
+
var r = {
|
|
573
|
+
configurable: !0,
|
|
574
|
+
enumerable: !0,
|
|
575
|
+
value: Je,
|
|
576
|
+
writable: !0
|
|
577
|
+
};
|
|
578
|
+
Object.defineProperties(console, {
|
|
579
|
+
info: r,
|
|
580
|
+
log: r,
|
|
581
|
+
warn: r,
|
|
582
|
+
error: r,
|
|
583
|
+
group: r,
|
|
584
|
+
groupCollapsed: r,
|
|
585
|
+
groupEnd: r
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
$++;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
function kt() {
|
|
592
|
+
{
|
|
593
|
+
if ($--, $ === 0) {
|
|
594
|
+
var r = {
|
|
595
|
+
configurable: !0,
|
|
596
|
+
enumerable: !0,
|
|
597
|
+
writable: !0
|
|
598
|
+
};
|
|
599
|
+
Object.defineProperties(console, {
|
|
600
|
+
log: A({}, r, {
|
|
601
|
+
value: f
|
|
602
|
+
}),
|
|
603
|
+
info: A({}, r, {
|
|
604
|
+
value: h
|
|
605
|
+
}),
|
|
606
|
+
warn: A({}, r, {
|
|
607
|
+
value: x
|
|
608
|
+
}),
|
|
609
|
+
error: A({}, r, {
|
|
610
|
+
value: I
|
|
611
|
+
}),
|
|
612
|
+
group: A({}, r, {
|
|
613
|
+
value: le
|
|
614
|
+
}),
|
|
615
|
+
groupCollapsed: A({}, r, {
|
|
616
|
+
value: H
|
|
617
|
+
}),
|
|
618
|
+
groupEnd: A({}, r, {
|
|
619
|
+
value: He
|
|
620
|
+
})
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
$ < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
var Oe = k.ReactCurrentDispatcher, Ce;
|
|
627
|
+
function de(r, a, u) {
|
|
628
|
+
{
|
|
629
|
+
if (Ce === void 0)
|
|
630
|
+
try {
|
|
631
|
+
throw Error();
|
|
632
|
+
} catch (y) {
|
|
633
|
+
var c = y.stack.trim().match(/\n( *(at )?)/);
|
|
634
|
+
Ce = c && c[1] || "";
|
|
635
|
+
}
|
|
636
|
+
return `
|
|
637
|
+
` + Ce + r;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
var Se = !1, pe;
|
|
641
|
+
{
|
|
642
|
+
var Mt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
643
|
+
pe = new Mt();
|
|
644
|
+
}
|
|
645
|
+
function ze(r, a) {
|
|
646
|
+
if (!r || Se)
|
|
647
|
+
return "";
|
|
648
|
+
{
|
|
649
|
+
var u = pe.get(r);
|
|
650
|
+
if (u !== void 0)
|
|
651
|
+
return u;
|
|
652
|
+
}
|
|
653
|
+
var c;
|
|
654
|
+
Se = !0;
|
|
655
|
+
var y = Error.prepareStackTrace;
|
|
656
|
+
Error.prepareStackTrace = void 0;
|
|
657
|
+
var E;
|
|
658
|
+
E = Oe.current, Oe.current = null, It();
|
|
659
|
+
try {
|
|
660
|
+
if (a) {
|
|
661
|
+
var v = function() {
|
|
662
|
+
throw Error();
|
|
663
|
+
};
|
|
664
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
665
|
+
set: function() {
|
|
666
|
+
throw Error();
|
|
667
|
+
}
|
|
668
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
669
|
+
try {
|
|
670
|
+
Reflect.construct(v, []);
|
|
671
|
+
} catch (S) {
|
|
672
|
+
c = S;
|
|
673
|
+
}
|
|
674
|
+
Reflect.construct(r, [], v);
|
|
675
|
+
} else {
|
|
676
|
+
try {
|
|
677
|
+
v.call();
|
|
678
|
+
} catch (S) {
|
|
679
|
+
c = S;
|
|
680
|
+
}
|
|
681
|
+
r.call(v.prototype);
|
|
682
|
+
}
|
|
683
|
+
} else {
|
|
684
|
+
try {
|
|
685
|
+
throw Error();
|
|
686
|
+
} catch (S) {
|
|
687
|
+
c = S;
|
|
688
|
+
}
|
|
689
|
+
r();
|
|
690
|
+
}
|
|
691
|
+
} catch (S) {
|
|
692
|
+
if (S && c && typeof S.stack == "string") {
|
|
693
|
+
for (var d = S.stack.split(`
|
|
694
|
+
`), O = c.stack.split(`
|
|
695
|
+
`), w = d.length - 1, R = O.length - 1; w >= 1 && R >= 0 && d[w] !== O[R]; )
|
|
696
|
+
R--;
|
|
697
|
+
for (; w >= 1 && R >= 0; w--, R--)
|
|
698
|
+
if (d[w] !== O[R]) {
|
|
699
|
+
if (w !== 1 || R !== 1)
|
|
700
|
+
do
|
|
701
|
+
if (w--, R--, R < 0 || d[w] !== O[R]) {
|
|
702
|
+
var F = `
|
|
703
|
+
` + d[w].replace(" at new ", " at ");
|
|
704
|
+
return r.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", r.displayName)), typeof r == "function" && pe.set(r, F), F;
|
|
705
|
+
}
|
|
706
|
+
while (w >= 1 && R >= 0);
|
|
707
|
+
break;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
} finally {
|
|
711
|
+
Se = !1, Oe.current = E, kt(), Error.prepareStackTrace = y;
|
|
712
|
+
}
|
|
713
|
+
var K = r ? r.displayName || r.name : "", W = K ? de(K) : "";
|
|
714
|
+
return typeof r == "function" && pe.set(r, W), W;
|
|
715
|
+
}
|
|
716
|
+
function Nt(r, a, u) {
|
|
717
|
+
return ze(r, !1);
|
|
718
|
+
}
|
|
719
|
+
function Vt(r) {
|
|
720
|
+
var a = r.prototype;
|
|
721
|
+
return !!(a && a.isReactComponent);
|
|
722
|
+
}
|
|
723
|
+
function ve(r, a, u) {
|
|
724
|
+
if (r == null)
|
|
725
|
+
return "";
|
|
726
|
+
if (typeof r == "function")
|
|
727
|
+
return ze(r, Vt(r));
|
|
728
|
+
if (typeof r == "string")
|
|
729
|
+
return de(r);
|
|
730
|
+
switch (r) {
|
|
731
|
+
case m:
|
|
732
|
+
return de("Suspense");
|
|
733
|
+
case g:
|
|
734
|
+
return de("SuspenseList");
|
|
735
|
+
}
|
|
736
|
+
if (typeof r == "object")
|
|
737
|
+
switch (r.$$typeof) {
|
|
738
|
+
case b:
|
|
739
|
+
return Nt(r.render);
|
|
740
|
+
case _:
|
|
741
|
+
return ve(r.type, a, u);
|
|
742
|
+
case C: {
|
|
743
|
+
var c = r, y = c._payload, E = c._init;
|
|
744
|
+
try {
|
|
745
|
+
return ve(E(y), a, u);
|
|
746
|
+
} catch {
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
return "";
|
|
751
|
+
}
|
|
752
|
+
var J = Object.prototype.hasOwnProperty, Ze = {}, Qe = k.ReactDebugCurrentFrame;
|
|
753
|
+
function be(r) {
|
|
754
|
+
if (r) {
|
|
755
|
+
var a = r._owner, u = ve(r.type, r._source, a ? a.type : null);
|
|
756
|
+
Qe.setExtraStackFrame(u);
|
|
757
|
+
} else
|
|
758
|
+
Qe.setExtraStackFrame(null);
|
|
759
|
+
}
|
|
760
|
+
function Lt(r, a, u, c, y) {
|
|
761
|
+
{
|
|
762
|
+
var E = Function.call.bind(J);
|
|
763
|
+
for (var v in r)
|
|
764
|
+
if (E(r, v)) {
|
|
765
|
+
var d = void 0;
|
|
766
|
+
try {
|
|
767
|
+
if (typeof r[v] != "function") {
|
|
768
|
+
var O = Error((c || "React class") + ": " + u + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
769
|
+
throw O.name = "Invariant Violation", O;
|
|
770
|
+
}
|
|
771
|
+
d = r[v](a, v, c, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
772
|
+
} catch (w) {
|
|
773
|
+
d = w;
|
|
774
|
+
}
|
|
775
|
+
d && !(d instanceof Error) && (be(y), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", u, v, typeof d), be(null)), d instanceof Error && !(d.message in Ze) && (Ze[d.message] = !0, be(y), T("Failed %s type: %s", u, d.message), be(null));
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
var $t = Array.isArray;
|
|
780
|
+
function Fe(r) {
|
|
781
|
+
return $t(r);
|
|
782
|
+
}
|
|
783
|
+
function Wt(r) {
|
|
784
|
+
{
|
|
785
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, u = a && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
786
|
+
return u;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
function Yt(r) {
|
|
790
|
+
try {
|
|
791
|
+
return et(r), !1;
|
|
792
|
+
} catch {
|
|
793
|
+
return !0;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
function et(r) {
|
|
797
|
+
return "" + r;
|
|
798
|
+
}
|
|
799
|
+
function tt(r) {
|
|
800
|
+
if (Yt(r))
|
|
801
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wt(r)), et(r);
|
|
802
|
+
}
|
|
803
|
+
var rt = k.ReactCurrentOwner, Bt = {
|
|
804
|
+
key: !0,
|
|
805
|
+
ref: !0,
|
|
806
|
+
__self: !0,
|
|
807
|
+
__source: !0
|
|
808
|
+
}, nt, ot;
|
|
809
|
+
function Kt(r) {
|
|
810
|
+
if (J.call(r, "ref")) {
|
|
811
|
+
var a = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
812
|
+
if (a && a.isReactWarning)
|
|
813
|
+
return !1;
|
|
814
|
+
}
|
|
815
|
+
return r.ref !== void 0;
|
|
816
|
+
}
|
|
817
|
+
function Ut(r) {
|
|
818
|
+
if (J.call(r, "key")) {
|
|
819
|
+
var a = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
820
|
+
if (a && a.isReactWarning)
|
|
821
|
+
return !1;
|
|
822
|
+
}
|
|
823
|
+
return r.key !== void 0;
|
|
824
|
+
}
|
|
825
|
+
function qt(r, a) {
|
|
826
|
+
typeof r.ref == "string" && rt.current;
|
|
827
|
+
}
|
|
828
|
+
function Xt(r, a) {
|
|
829
|
+
{
|
|
830
|
+
var u = function() {
|
|
831
|
+
nt || (nt = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
832
|
+
};
|
|
833
|
+
u.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
834
|
+
get: u,
|
|
835
|
+
configurable: !0
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
function Gt(r, a) {
|
|
840
|
+
{
|
|
841
|
+
var u = function() {
|
|
842
|
+
ot || (ot = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
843
|
+
};
|
|
844
|
+
u.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
845
|
+
get: u,
|
|
846
|
+
configurable: !0
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
var Ht = function(r, a, u, c, y, E, v) {
|
|
851
|
+
var d = {
|
|
852
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
853
|
+
$$typeof: t,
|
|
854
|
+
// Built-in properties that belong on the element
|
|
855
|
+
type: r,
|
|
856
|
+
key: a,
|
|
857
|
+
ref: u,
|
|
858
|
+
props: v,
|
|
859
|
+
// Record the component responsible for creating this element.
|
|
860
|
+
_owner: E
|
|
861
|
+
};
|
|
862
|
+
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
863
|
+
configurable: !1,
|
|
864
|
+
enumerable: !1,
|
|
865
|
+
writable: !0,
|
|
866
|
+
value: !1
|
|
867
|
+
}), Object.defineProperty(d, "_self", {
|
|
868
|
+
configurable: !1,
|
|
869
|
+
enumerable: !1,
|
|
870
|
+
writable: !1,
|
|
871
|
+
value: c
|
|
872
|
+
}), Object.defineProperty(d, "_source", {
|
|
873
|
+
configurable: !1,
|
|
874
|
+
enumerable: !1,
|
|
875
|
+
writable: !1,
|
|
876
|
+
value: y
|
|
877
|
+
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
878
|
+
};
|
|
879
|
+
function Jt(r, a, u, c, y) {
|
|
880
|
+
{
|
|
881
|
+
var E, v = {}, d = null, O = null;
|
|
882
|
+
u !== void 0 && (tt(u), d = "" + u), Ut(a) && (tt(a.key), d = "" + a.key), Kt(a) && (O = a.ref, qt(a, y));
|
|
883
|
+
for (E in a)
|
|
884
|
+
J.call(a, E) && !Bt.hasOwnProperty(E) && (v[E] = a[E]);
|
|
885
|
+
if (r && r.defaultProps) {
|
|
886
|
+
var w = r.defaultProps;
|
|
887
|
+
for (E in w)
|
|
888
|
+
v[E] === void 0 && (v[E] = w[E]);
|
|
889
|
+
}
|
|
890
|
+
if (d || O) {
|
|
891
|
+
var R = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
892
|
+
d && Xt(v, R), O && Gt(v, R);
|
|
893
|
+
}
|
|
894
|
+
return Ht(r, d, O, y, c, rt.current, v);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
var De = k.ReactCurrentOwner, at = k.ReactDebugCurrentFrame;
|
|
898
|
+
function B(r) {
|
|
899
|
+
if (r) {
|
|
900
|
+
var a = r._owner, u = ve(r.type, r._source, a ? a.type : null);
|
|
901
|
+
at.setExtraStackFrame(u);
|
|
902
|
+
} else
|
|
903
|
+
at.setExtraStackFrame(null);
|
|
904
|
+
}
|
|
905
|
+
var Ae;
|
|
906
|
+
Ae = !1;
|
|
907
|
+
function je(r) {
|
|
908
|
+
return typeof r == "object" && r !== null && r.$$typeof === t;
|
|
909
|
+
}
|
|
910
|
+
function it() {
|
|
911
|
+
{
|
|
912
|
+
if (De.current) {
|
|
913
|
+
var r = D(De.current.type);
|
|
914
|
+
if (r)
|
|
915
|
+
return `
|
|
916
|
+
|
|
917
|
+
Check the render method of \`` + r + "`.";
|
|
918
|
+
}
|
|
919
|
+
return "";
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
function zt(r) {
|
|
923
|
+
return "";
|
|
924
|
+
}
|
|
925
|
+
var ut = {};
|
|
926
|
+
function Zt(r) {
|
|
927
|
+
{
|
|
928
|
+
var a = it();
|
|
929
|
+
if (!a) {
|
|
930
|
+
var u = typeof r == "string" ? r : r.displayName || r.name;
|
|
931
|
+
u && (a = `
|
|
932
|
+
|
|
933
|
+
Check the top-level render call using <` + u + ">.");
|
|
934
|
+
}
|
|
935
|
+
return a;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
function st(r, a) {
|
|
939
|
+
{
|
|
940
|
+
if (!r._store || r._store.validated || r.key != null)
|
|
941
|
+
return;
|
|
942
|
+
r._store.validated = !0;
|
|
943
|
+
var u = Zt(a);
|
|
944
|
+
if (ut[u])
|
|
945
|
+
return;
|
|
946
|
+
ut[u] = !0;
|
|
947
|
+
var c = "";
|
|
948
|
+
r && r._owner && r._owner !== De.current && (c = " It was passed a child from " + D(r._owner.type) + "."), B(r), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, c), B(null);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
function ft(r, a) {
|
|
952
|
+
{
|
|
953
|
+
if (typeof r != "object")
|
|
954
|
+
return;
|
|
955
|
+
if (Fe(r))
|
|
956
|
+
for (var u = 0; u < r.length; u++) {
|
|
957
|
+
var c = r[u];
|
|
958
|
+
je(c) && st(c, a);
|
|
959
|
+
}
|
|
960
|
+
else if (je(r))
|
|
961
|
+
r._store && (r._store.validated = !0);
|
|
962
|
+
else if (r) {
|
|
963
|
+
var y = oe(r);
|
|
964
|
+
if (typeof y == "function" && y !== r.entries)
|
|
965
|
+
for (var E = y.call(r), v; !(v = E.next()).done; )
|
|
966
|
+
je(v.value) && st(v.value, a);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
function Qt(r) {
|
|
971
|
+
{
|
|
972
|
+
var a = r.type;
|
|
973
|
+
if (a == null || typeof a == "string")
|
|
974
|
+
return;
|
|
975
|
+
var u;
|
|
976
|
+
if (typeof a == "function")
|
|
977
|
+
u = a.propTypes;
|
|
978
|
+
else if (typeof a == "object" && (a.$$typeof === b || // Note: Memo only checks outer props here.
|
|
979
|
+
// Inner props are checked in the reconciler.
|
|
980
|
+
a.$$typeof === _))
|
|
981
|
+
u = a.propTypes;
|
|
982
|
+
else
|
|
983
|
+
return;
|
|
984
|
+
if (u) {
|
|
985
|
+
var c = D(a);
|
|
986
|
+
Lt(u, r.props, "prop", c, r);
|
|
987
|
+
} else if (a.PropTypes !== void 0 && !Ae) {
|
|
988
|
+
Ae = !0;
|
|
989
|
+
var y = D(a);
|
|
990
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
991
|
+
}
|
|
992
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
function er(r) {
|
|
996
|
+
{
|
|
997
|
+
for (var a = Object.keys(r.props), u = 0; u < a.length; u++) {
|
|
998
|
+
var c = a[u];
|
|
999
|
+
if (c !== "children" && c !== "key") {
|
|
1000
|
+
B(r), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), B(null);
|
|
1001
|
+
break;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
r.ref !== null && (B(r), T("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
var ct = {};
|
|
1008
|
+
function lt(r, a, u, c, y, E) {
|
|
1009
|
+
{
|
|
1010
|
+
var v = xe(r);
|
|
1011
|
+
if (!v) {
|
|
1012
|
+
var d = "";
|
|
1013
|
+
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1014
|
+
var O = zt();
|
|
1015
|
+
O ? d += O : d += it();
|
|
1016
|
+
var w;
|
|
1017
|
+
r === null ? w = "null" : Fe(r) ? w = "array" : r !== void 0 && r.$$typeof === t ? (w = "<" + (D(r.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : w = typeof r, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, d);
|
|
1018
|
+
}
|
|
1019
|
+
var R = Jt(r, a, u, y, E);
|
|
1020
|
+
if (R == null)
|
|
1021
|
+
return R;
|
|
1022
|
+
if (v) {
|
|
1023
|
+
var F = a.children;
|
|
1024
|
+
if (F !== void 0)
|
|
1025
|
+
if (c)
|
|
1026
|
+
if (Fe(F)) {
|
|
1027
|
+
for (var K = 0; K < F.length; K++)
|
|
1028
|
+
ft(F[K], r);
|
|
1029
|
+
Object.freeze && Object.freeze(F);
|
|
1030
|
+
} else
|
|
1031
|
+
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1032
|
+
else
|
|
1033
|
+
ft(F, r);
|
|
1034
|
+
}
|
|
1035
|
+
if (J.call(a, "key")) {
|
|
1036
|
+
var W = D(r), S = Object.keys(a).filter(function(ir) {
|
|
1037
|
+
return ir !== "key";
|
|
1038
|
+
}), Ie = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1039
|
+
if (!ct[W + Ie]) {
|
|
1040
|
+
var ar = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
|
|
1041
|
+
T(`A props object containing a "key" prop is being spread into JSX:
|
|
1042
|
+
let props = %s;
|
|
1043
|
+
<%s {...props} />
|
|
1044
|
+
React keys must be passed directly to JSX without using spread:
|
|
1045
|
+
let props = %s;
|
|
1046
|
+
<%s key={someKey} {...props} />`, Ie, W, ar, W), ct[W + Ie] = !0;
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
return r === o ? er(R) : Qt(R), R;
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
function tr(r, a, u) {
|
|
1053
|
+
return lt(r, a, u, !0);
|
|
1054
|
+
}
|
|
1055
|
+
function rr(r, a, u) {
|
|
1056
|
+
return lt(r, a, u, !1);
|
|
1057
|
+
}
|
|
1058
|
+
var nr = rr, or = tr;
|
|
1059
|
+
Z.Fragment = o, Z.jsx = nr, Z.jsxs = or;
|
|
1060
|
+
}()), Z;
|
|
1061
|
+
}
|
|
1062
|
+
process.env.NODE_ENV === "production" ? Ne.exports = Wr() : Ne.exports = Yr();
|
|
1063
|
+
var U = Ne.exports;
|
|
1064
|
+
function Br(e) {
|
|
1065
|
+
const t = j.forwardRef((n, o) => e(L(P({}, n), { ref: o })));
|
|
1066
|
+
return t.displayName = e.displayName || e.name, t;
|
|
1067
|
+
}
|
|
1068
|
+
function Gn(e, t) {
|
|
1069
|
+
return j.memo(e, t);
|
|
1070
|
+
}
|
|
1071
|
+
function Kr(e, t) {
|
|
1072
|
+
const n = t, { wrapElement: o, render: i } = n, s = St(n, ["wrapElement", "render"]), p = Ke(t.ref, Pr(i));
|
|
1073
|
+
let l;
|
|
1074
|
+
if (j.isValidElement(i)) {
|
|
1075
|
+
const b = L(P({}, i.props), { ref: p });
|
|
1076
|
+
l = j.cloneElement(i, xr(s, b));
|
|
1077
|
+
} else i ? l = i(s) : l = /* @__PURE__ */ U.jsx(e, P({}, s));
|
|
1078
|
+
return o ? o(l) : l;
|
|
1079
|
+
}
|
|
1080
|
+
function Ur(e) {
|
|
1081
|
+
const t = (n = {}) => e(n);
|
|
1082
|
+
return t.displayName = e.name, t;
|
|
1083
|
+
}
|
|
1084
|
+
function Hn(e = [], t = []) {
|
|
1085
|
+
const n = j.createContext(void 0), o = j.createContext(void 0), i = () => j.useContext(n), s = (m = !1) => {
|
|
1086
|
+
const g = j.useContext(o), _ = i();
|
|
1087
|
+
return m ? g : g || _;
|
|
1088
|
+
}, p = () => {
|
|
1089
|
+
const m = j.useContext(o), g = i();
|
|
1090
|
+
if (!(m && m === g))
|
|
1091
|
+
return g;
|
|
1092
|
+
}, l = (m) => e.reduceRight(
|
|
1093
|
+
(g, _) => /* @__PURE__ */ U.jsx(_, L(P({}, m), { children: g })),
|
|
1094
|
+
/* @__PURE__ */ U.jsx(n.Provider, P({}, m))
|
|
1095
|
+
);
|
|
1096
|
+
return {
|
|
1097
|
+
context: n,
|
|
1098
|
+
scopedContext: o,
|
|
1099
|
+
useContext: i,
|
|
1100
|
+
useScopedContext: s,
|
|
1101
|
+
useProviderContext: p,
|
|
1102
|
+
ContextProvider: l,
|
|
1103
|
+
ScopedContextProvider: (m) => /* @__PURE__ */ U.jsx(l, L(P({}, m), { children: t.reduceRight(
|
|
1104
|
+
(g, _) => /* @__PURE__ */ U.jsx(_, L(P({}, m), { children: g })),
|
|
1105
|
+
/* @__PURE__ */ U.jsx(o.Provider, P({}, m))
|
|
1106
|
+
) }))
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
var qr = cr(!0), _e = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
|
|
1110
|
+
function Xr(e) {
|
|
1111
|
+
return Number.parseInt(e.getAttribute("tabindex") || "0", 10) < 0;
|
|
1112
|
+
}
|
|
1113
|
+
function q(e) {
|
|
1114
|
+
return !(!e.matches(_e) || !Fr(e) || e.closest("[inert]"));
|
|
1115
|
+
}
|
|
1116
|
+
function te(e) {
|
|
1117
|
+
if (!q(e) || Xr(e)) return !1;
|
|
1118
|
+
if (!("form" in e) || !e.form || e.checked || e.type !== "radio") return !0;
|
|
1119
|
+
const t = e.form.elements.namedItem(e.name);
|
|
1120
|
+
if (!t || !("length" in t)) return !0;
|
|
1121
|
+
const n = G(e);
|
|
1122
|
+
return !n || n === e || !("form" in n) || n.form !== e.form || n.name !== e.name;
|
|
1123
|
+
}
|
|
1124
|
+
function qe(e, t) {
|
|
1125
|
+
const n = Array.from(
|
|
1126
|
+
e.querySelectorAll(_e)
|
|
1127
|
+
);
|
|
1128
|
+
t && n.unshift(e);
|
|
1129
|
+
const o = n.filter(q);
|
|
1130
|
+
return o.forEach((i, s) => {
|
|
1131
|
+
if (We(i) && i.contentDocument) {
|
|
1132
|
+
const p = i.contentDocument.body;
|
|
1133
|
+
o.splice(s, 1, ...qe(p));
|
|
1134
|
+
}
|
|
1135
|
+
}), o;
|
|
1136
|
+
}
|
|
1137
|
+
function Xe(e, t, n) {
|
|
1138
|
+
const o = Array.from(
|
|
1139
|
+
e.querySelectorAll(_e)
|
|
1140
|
+
), i = o.filter(te);
|
|
1141
|
+
return t && te(e) && i.unshift(e), i.forEach((s, p) => {
|
|
1142
|
+
if (We(s) && s.contentDocument) {
|
|
1143
|
+
const l = s.contentDocument.body, b = Xe(
|
|
1144
|
+
l,
|
|
1145
|
+
!1,
|
|
1146
|
+
n
|
|
1147
|
+
);
|
|
1148
|
+
i.splice(p, 1, ...b);
|
|
1149
|
+
}
|
|
1150
|
+
}), !i.length && n ? o : i;
|
|
1151
|
+
}
|
|
1152
|
+
function Jn(e, t, n) {
|
|
1153
|
+
const [o] = Xe(
|
|
1154
|
+
e,
|
|
1155
|
+
t,
|
|
1156
|
+
n
|
|
1157
|
+
);
|
|
1158
|
+
return o || null;
|
|
1159
|
+
}
|
|
1160
|
+
function Gr(e, t, n, o) {
|
|
1161
|
+
const i = G(e), s = qe(e, t), p = s.indexOf(i), l = s.slice(p + 1);
|
|
1162
|
+
return l.find(te) || (n ? s.find(te) : null) || (o ? l[0] : null) || null;
|
|
1163
|
+
}
|
|
1164
|
+
function zn(e, t) {
|
|
1165
|
+
return Gr(
|
|
1166
|
+
document.body,
|
|
1167
|
+
!1,
|
|
1168
|
+
e,
|
|
1169
|
+
t
|
|
1170
|
+
);
|
|
1171
|
+
}
|
|
1172
|
+
function Hr(e, t, n, o) {
|
|
1173
|
+
const i = G(e), s = qe(e, t).reverse(), p = s.indexOf(i);
|
|
1174
|
+
return s.slice(p + 1).find(te) || null || null || null;
|
|
1175
|
+
}
|
|
1176
|
+
function Zn(e, t) {
|
|
1177
|
+
return Hr(
|
|
1178
|
+
document.body,
|
|
1179
|
+
!1
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
function Jr(e) {
|
|
1183
|
+
for (; e && !q(e); )
|
|
1184
|
+
e = e.closest(_e);
|
|
1185
|
+
return e || null;
|
|
1186
|
+
}
|
|
1187
|
+
function _t(e) {
|
|
1188
|
+
const t = G(e);
|
|
1189
|
+
if (!t) return !1;
|
|
1190
|
+
if (t === e) return !0;
|
|
1191
|
+
const n = t.getAttribute("aria-activedescendant");
|
|
1192
|
+
return n ? n === e.id : !1;
|
|
1193
|
+
}
|
|
1194
|
+
function zr(e) {
|
|
1195
|
+
const t = G(e);
|
|
1196
|
+
if (!t) return !1;
|
|
1197
|
+
if (ee(e, t)) return !0;
|
|
1198
|
+
const n = t.getAttribute("aria-activedescendant");
|
|
1199
|
+
return !n || !("id" in e) ? !1 : n === e.id ? !0 : !!e.querySelector(`#${CSS.escape(n)}`);
|
|
1200
|
+
}
|
|
1201
|
+
function Zr(e) {
|
|
1202
|
+
!zr(e) && q(e) && e.focus();
|
|
1203
|
+
}
|
|
1204
|
+
function Qr(e) {
|
|
1205
|
+
var t;
|
|
1206
|
+
const n = (t = e.getAttribute("tabindex")) != null ? t : "";
|
|
1207
|
+
e.setAttribute("data-tabindex", n), e.setAttribute("tabindex", "-1");
|
|
1208
|
+
}
|
|
1209
|
+
function Qn(e, t) {
|
|
1210
|
+
const n = Xe(e, t);
|
|
1211
|
+
for (const o of n)
|
|
1212
|
+
Qr(o);
|
|
1213
|
+
}
|
|
1214
|
+
function eo(e) {
|
|
1215
|
+
const t = e.querySelectorAll("[data-tabindex]"), n = (o) => {
|
|
1216
|
+
const i = o.getAttribute("data-tabindex");
|
|
1217
|
+
o.removeAttribute("data-tabindex"), i ? o.setAttribute("tabindex", i) : o.removeAttribute("tabindex");
|
|
1218
|
+
};
|
|
1219
|
+
e.hasAttribute("data-tabindex") && n(e);
|
|
1220
|
+
for (const o of t)
|
|
1221
|
+
n(o);
|
|
1222
|
+
}
|
|
1223
|
+
function to(e, t) {
|
|
1224
|
+
"scrollIntoView" in e ? (e.focus({ preventScroll: !0 }), e.scrollIntoView(Le({ block: "nearest", inline: "nearest" }, t))) : e.focus();
|
|
1225
|
+
}
|
|
1226
|
+
var en = "div", wt = kr(), tn = [
|
|
1227
|
+
"text",
|
|
1228
|
+
"search",
|
|
1229
|
+
"url",
|
|
1230
|
+
"tel",
|
|
1231
|
+
"email",
|
|
1232
|
+
"password",
|
|
1233
|
+
"number",
|
|
1234
|
+
"date",
|
|
1235
|
+
"month",
|
|
1236
|
+
"week",
|
|
1237
|
+
"time",
|
|
1238
|
+
"datetime",
|
|
1239
|
+
"datetime-local"
|
|
1240
|
+
], jt = Symbol("safariFocusAncestor");
|
|
1241
|
+
function ro(e) {
|
|
1242
|
+
return e ? !!e[jt] : !1;
|
|
1243
|
+
}
|
|
1244
|
+
function Rt(e, t) {
|
|
1245
|
+
e && (e[jt] = t);
|
|
1246
|
+
}
|
|
1247
|
+
function rn(e) {
|
|
1248
|
+
const { tagName: t, readOnly: n, type: o } = e;
|
|
1249
|
+
return t === "TEXTAREA" && !n || t === "SELECT" && !n ? !0 : t === "INPUT" && !n ? tn.includes(o) : !!(e.isContentEditable || e.getAttribute("role") === "combobox" && e.dataset.name);
|
|
1250
|
+
}
|
|
1251
|
+
function nn(e) {
|
|
1252
|
+
return "labels" in e ? e.labels : null;
|
|
1253
|
+
}
|
|
1254
|
+
function Tt(e) {
|
|
1255
|
+
return e.tagName.toLowerCase() === "input" && e.type ? e.type === "radio" || e.type === "checkbox" : !1;
|
|
1256
|
+
}
|
|
1257
|
+
function on(e) {
|
|
1258
|
+
return e ? e === "button" || e === "summary" || e === "input" || e === "select" || e === "textarea" || e === "a" : !0;
|
|
1259
|
+
}
|
|
1260
|
+
function an(e) {
|
|
1261
|
+
return e ? e === "button" || e === "input" || e === "select" || e === "textarea" : !0;
|
|
1262
|
+
}
|
|
1263
|
+
function un(e, t, n, o, i) {
|
|
1264
|
+
return e ? t ? n && !o ? -1 : void 0 : n ? i : i || 0 : i;
|
|
1265
|
+
}
|
|
1266
|
+
function Me(e, t) {
|
|
1267
|
+
return N((n) => {
|
|
1268
|
+
e == null || e(n), !n.defaultPrevented && t && (n.stopPropagation(), n.preventDefault());
|
|
1269
|
+
});
|
|
1270
|
+
}
|
|
1271
|
+
var Ge = !0;
|
|
1272
|
+
function sn(e) {
|
|
1273
|
+
const t = e.target;
|
|
1274
|
+
t && "hasAttribute" in t && (t.hasAttribute("data-focus-visible") || (Ge = !1));
|
|
1275
|
+
}
|
|
1276
|
+
function fn(e) {
|
|
1277
|
+
e.metaKey || e.ctrlKey || e.altKey || (Ge = !0);
|
|
1278
|
+
}
|
|
1279
|
+
var cn = Ur(
|
|
1280
|
+
function(t) {
|
|
1281
|
+
var n = t, {
|
|
1282
|
+
focusable: o = !0,
|
|
1283
|
+
accessibleWhenDisabled: i,
|
|
1284
|
+
autoFocus: s,
|
|
1285
|
+
onFocusVisible: p
|
|
1286
|
+
} = n, l = St(n, [
|
|
1287
|
+
"focusable",
|
|
1288
|
+
"accessibleWhenDisabled",
|
|
1289
|
+
"autoFocus",
|
|
1290
|
+
"onFocusVisible"
|
|
1291
|
+
]);
|
|
1292
|
+
const b = Ee(null);
|
|
1293
|
+
V(() => {
|
|
1294
|
+
o && (M("mousedown", sn, !0), M("keydown", fn, !0));
|
|
1295
|
+
}, [o]), wt && V(() => {
|
|
1296
|
+
if (!o) return;
|
|
1297
|
+
const f = b.current;
|
|
1298
|
+
if (!f || !Tt(f)) return;
|
|
1299
|
+
const h = nn(f);
|
|
1300
|
+
if (!h) return;
|
|
1301
|
+
const x = () => queueMicrotask(() => f.focus());
|
|
1302
|
+
for (const I of h)
|
|
1303
|
+
I.addEventListener("mouseup", x);
|
|
1304
|
+
return () => {
|
|
1305
|
+
for (const I of h)
|
|
1306
|
+
I.removeEventListener("mouseup", x);
|
|
1307
|
+
};
|
|
1308
|
+
}, [o]);
|
|
1309
|
+
const m = o && _r(l), g = !!m && !i, [_, C] = re(!1);
|
|
1310
|
+
V(() => {
|
|
1311
|
+
o && g && _ && C(!1);
|
|
1312
|
+
}, [o, g, _]), V(() => {
|
|
1313
|
+
if (!o || !_) return;
|
|
1314
|
+
const f = b.current;
|
|
1315
|
+
if (!f || typeof IntersectionObserver > "u") return;
|
|
1316
|
+
const h = new IntersectionObserver(() => {
|
|
1317
|
+
q(f) || C(!1);
|
|
1318
|
+
});
|
|
1319
|
+
return h.observe(f), () => h.disconnect();
|
|
1320
|
+
}, [o, _]);
|
|
1321
|
+
const Y = Me(
|
|
1322
|
+
l.onKeyPressCapture,
|
|
1323
|
+
m
|
|
1324
|
+
), ne = Me(
|
|
1325
|
+
l.onMouseDownCapture,
|
|
1326
|
+
m
|
|
1327
|
+
), we = Me(l.onClickCapture, m), oe = l.onMouseDown, k = N((f) => {
|
|
1328
|
+
if (oe == null || oe(f), f.defaultPrevented || !o) return;
|
|
1329
|
+
const h = f.currentTarget;
|
|
1330
|
+
if (!wt || Mr(f) || !Cr(h) && !Tt(h)) return;
|
|
1331
|
+
let x = !1;
|
|
1332
|
+
const I = () => {
|
|
1333
|
+
x = !0;
|
|
1334
|
+
}, le = { capture: !0, once: !0 };
|
|
1335
|
+
h.addEventListener("focusin", I, le);
|
|
1336
|
+
const H = Jr(h.parentElement);
|
|
1337
|
+
Rt(H, !0), ke(h, "mouseup", () => {
|
|
1338
|
+
h.removeEventListener("focusin", I, !0), Rt(H, !1), !x && Zr(h);
|
|
1339
|
+
});
|
|
1340
|
+
}), T = (f, h) => {
|
|
1341
|
+
if (h && (f.currentTarget = h), !o) return;
|
|
1342
|
+
const x = f.currentTarget;
|
|
1343
|
+
x && _t(x) && (p == null || p(f), !f.defaultPrevented && (x.dataset.focusVisible = "true", C(!0)));
|
|
1344
|
+
}, ae = l.onKeyDownCapture, Re = N((f) => {
|
|
1345
|
+
if (ae == null || ae(f), f.defaultPrevented || !o || _ || f.metaKey || f.altKey || f.ctrlKey || !vt(f)) return;
|
|
1346
|
+
const h = f.currentTarget;
|
|
1347
|
+
ke(h, "focusout", () => T(f, h));
|
|
1348
|
+
}), ie = l.onFocusCapture, Te = N((f) => {
|
|
1349
|
+
if (ie == null || ie(f), f.defaultPrevented || !o) return;
|
|
1350
|
+
if (!vt(f)) {
|
|
1351
|
+
C(!1);
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1354
|
+
const h = f.currentTarget, x = () => T(f, h);
|
|
1355
|
+
Ge || rn(f.target) ? ke(f.target, "focusout", x) : C(!1);
|
|
1356
|
+
}), ue = l.onBlur, Pe = N((f) => {
|
|
1357
|
+
ue == null || ue(f), o && Nr(f) && C(!1);
|
|
1358
|
+
}), se = lr(qr), xe = N((f) => {
|
|
1359
|
+
o && s && f && se && queueMicrotask(() => {
|
|
1360
|
+
_t(f) || q(f) && f.focus();
|
|
1361
|
+
});
|
|
1362
|
+
}), fe = Vr(b), ce = o && on(fe), D = o && an(fe), A = l.style, $ = Ve(() => g ? P({ pointerEvents: "none" }, A) : A, [g, A]);
|
|
1363
|
+
return l = L(P({
|
|
1364
|
+
"data-focus-visible": o && _ || void 0,
|
|
1365
|
+
"data-autofocus": s || void 0,
|
|
1366
|
+
"aria-disabled": m || void 0
|
|
1367
|
+
}, l), {
|
|
1368
|
+
ref: Ke(b, xe, l.ref),
|
|
1369
|
+
style: $,
|
|
1370
|
+
tabIndex: un(
|
|
1371
|
+
o,
|
|
1372
|
+
g,
|
|
1373
|
+
ce,
|
|
1374
|
+
D,
|
|
1375
|
+
l.tabIndex
|
|
1376
|
+
),
|
|
1377
|
+
disabled: D && g ? !0 : void 0,
|
|
1378
|
+
// TODO: Test Focusable contentEditable.
|
|
1379
|
+
contentEditable: m ? void 0 : l.contentEditable,
|
|
1380
|
+
onKeyPressCapture: Y,
|
|
1381
|
+
onClickCapture: we,
|
|
1382
|
+
onMouseDownCapture: ne,
|
|
1383
|
+
onMouseDown: k,
|
|
1384
|
+
onKeyDownCapture: Re,
|
|
1385
|
+
onFocusCapture: Te,
|
|
1386
|
+
onBlur: Pe
|
|
1387
|
+
}), wr(l);
|
|
1388
|
+
}
|
|
1389
|
+
);
|
|
1390
|
+
Br(function(t) {
|
|
1391
|
+
const n = cn(t);
|
|
1392
|
+
return Kr(en, n);
|
|
1393
|
+
});
|
|
1394
|
+
export {
|
|
1395
|
+
$e as $,
|
|
1396
|
+
dn as A,
|
|
1397
|
+
mr as B,
|
|
1398
|
+
Rn as C,
|
|
1399
|
+
Le as D,
|
|
1400
|
+
Kn as E,
|
|
1401
|
+
he as F,
|
|
1402
|
+
Tn as G,
|
|
1403
|
+
Wn as H,
|
|
1404
|
+
Q as I,
|
|
1405
|
+
En as J,
|
|
1406
|
+
Mr as K,
|
|
1407
|
+
Pn as L,
|
|
1408
|
+
kr as M,
|
|
1409
|
+
On as N,
|
|
1410
|
+
xn as O,
|
|
1411
|
+
Ar as P,
|
|
1412
|
+
bn as Q,
|
|
1413
|
+
Sn as R,
|
|
1414
|
+
Ln as S,
|
|
1415
|
+
to as T,
|
|
1416
|
+
kn as U,
|
|
1417
|
+
_t as V,
|
|
1418
|
+
G as W,
|
|
1419
|
+
Mn as X,
|
|
1420
|
+
wn as Y,
|
|
1421
|
+
ee as Z,
|
|
1422
|
+
St as _,
|
|
1423
|
+
P as a,
|
|
1424
|
+
_n as a0,
|
|
1425
|
+
mn as a1,
|
|
1426
|
+
yn as a2,
|
|
1427
|
+
vn as a3,
|
|
1428
|
+
pn as a4,
|
|
1429
|
+
Vn as a5,
|
|
1430
|
+
Un as a6,
|
|
1431
|
+
Xn as a7,
|
|
1432
|
+
M as a8,
|
|
1433
|
+
zr as a9,
|
|
1434
|
+
Xe as aa,
|
|
1435
|
+
gn as ab,
|
|
1436
|
+
In as ac,
|
|
1437
|
+
Cn as ad,
|
|
1438
|
+
jn as ae,
|
|
1439
|
+
An as af,
|
|
1440
|
+
At as ag,
|
|
1441
|
+
Dn as ah,
|
|
1442
|
+
Fr as ai,
|
|
1443
|
+
ro as aj,
|
|
1444
|
+
qr as ak,
|
|
1445
|
+
Rr as al,
|
|
1446
|
+
Nr as am,
|
|
1447
|
+
zn as an,
|
|
1448
|
+
Zn as ao,
|
|
1449
|
+
eo as ap,
|
|
1450
|
+
Qn as aq,
|
|
1451
|
+
Jn as ar,
|
|
1452
|
+
q as as,
|
|
1453
|
+
Zr as at,
|
|
1454
|
+
Kr as b,
|
|
1455
|
+
Ur as c,
|
|
1456
|
+
qn as d,
|
|
1457
|
+
N as e,
|
|
1458
|
+
Br as f,
|
|
1459
|
+
Dr as g,
|
|
1460
|
+
L as h,
|
|
1461
|
+
hn as i,
|
|
1462
|
+
Ke as j,
|
|
1463
|
+
Vr as k,
|
|
1464
|
+
Cr as l,
|
|
1465
|
+
U as m,
|
|
1466
|
+
Hn as n,
|
|
1467
|
+
_r as o,
|
|
1468
|
+
vt as p,
|
|
1469
|
+
Ye as q,
|
|
1470
|
+
Fn as r,
|
|
1471
|
+
ke as s,
|
|
1472
|
+
Nn as t,
|
|
1473
|
+
Bn as u,
|
|
1474
|
+
cn as v,
|
|
1475
|
+
Gn as w,
|
|
1476
|
+
$n as x,
|
|
1477
|
+
Yn as y,
|
|
1478
|
+
wr as z
|
|
1479
|
+
};
|