@redis-ui/components 47.6.4 → 49.0.0
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/AppBar/AppBar.cjs +0 -1
- package/dist/AppBar/components/LeftContainer/LeftContainer.cjs +0 -1
- package/dist/AppBar/components/RightContainer/RightContainer.cjs +0 -1
- package/dist/AppSelectionMenu/AppSelectionMenu.cjs +0 -1
- package/dist/AppSelectionMenu/AppSelectionMenu.context.cjs +0 -1
- package/dist/AppSelectionMenu/components/Compose/Compose.cjs +0 -1
- package/dist/AppSelectionMenu/components/Content/Compose/Compose.cjs +0 -1
- package/dist/AppSelectionMenu/components/Content/Content.cjs +0 -1
- package/dist/AppSelectionMenu/components/Icon/Icon.cjs +0 -1
- package/dist/AppSelectionMenu/components/Item/Item.cjs +0 -1
- package/dist/AppSelectionMenu/components/Item/components/Compose/Compose.cjs +0 -1
- package/dist/AppSelectionMenu/components/Trigger/Trigger.cjs +0 -1
- package/dist/AppSelectionMenu/components/Trigger/components/Compose/Compose.cjs +0 -1
- package/dist/AutoCompleteSelect/hooks/useAutoCompleteSelect.cjs +0 -1
- package/dist/Badge/Badge.cjs +0 -1
- package/dist/Badge/BadgeIcon.cjs +0 -1
- package/dist/Banner/Banner.cjs +0 -1
- package/dist/Banner/bannerContext.cjs +0 -1
- package/dist/Banner/components/Actions/Actions.cjs +0 -1
- package/dist/Banner/components/Actions/components/Action/Action.cjs +0 -1
- package/dist/Banner/components/Actions/components/Compose/Compose.cjs +0 -1
- package/dist/Banner/components/BannerSemanticComponents/SemanticButton/SemanticButton.cjs +0 -1
- package/dist/Banner/components/BannerSemanticComponents/SemanticCloseButton/SemanticCloseButton.cjs +0 -1
- package/dist/Banner/components/BannerSemanticComponents/SemanticContainer/SemanticContainer.cjs +0 -1
- package/dist/Banner/components/BannerSemanticComponents/SemanticIcon/SemanticIcon.cjs +0 -1
- package/dist/Banner/components/BannerSemanticComponents/SemanticIcon/SemanticIcon.helpers.cjs +0 -1
- package/dist/Banner/components/CloseButton/CloseButton.cjs +0 -1
- package/dist/Banner/components/Compose/Compose.cjs +0 -1
- package/dist/Banner/components/Icon/Icon.cjs +0 -1
- package/dist/Banner/components/Message/Message.cjs +0 -1
- package/dist/Banner/components/Split/Split.cjs +0 -1
- package/dist/BoxSelectionGroup/BoxSelectionGroup.cjs +0 -1
- package/dist/BoxSelectionGroup/BoxSelectionGroup.context.cjs +0 -1
- package/dist/BoxSelectionGroup/MultiBoxSelectionGroup.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Compose/BaseCompose.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Compose/Compose.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Compose/MultiCompose.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Item/Item.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Item/Item.context.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Item/components/BoxStateIndicator/BoxStateIndicator.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Item/components/Icon/Icon.cjs +0 -1
- package/dist/BoxSelectionGroup/components/Item/components/InteractiveChild/InteractiveChild.cjs +0 -1
- package/dist/BoxSelectionGroup/hooks/useBoxSelectionGroup.cjs +0 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs +0 -1
- package/dist/Breadcrumbs/components/Compose/Compose.cjs +0 -1
- package/dist/Breadcrumbs/components/Current/Current.cjs +0 -1
- package/dist/Breadcrumbs/components/Item/Item.cjs +0 -1
- package/dist/Breadcrumbs/components/Link/Link.cjs +0 -1
- package/dist/Breadcrumbs/components/List/List.cjs +0 -1
- package/dist/Breadcrumbs/components/Separator/Separator.cjs +0 -1
- package/dist/Button/Button.context.cjs +0 -1
- package/dist/Button/Button.style.utils.cjs +0 -1
- package/dist/Button/ToggleButton/components/IndicatorCount/IndicatorCount.cjs +0 -1
- package/dist/Button/components/Icon/Icon.cjs +0 -1
- package/dist/ButtonGroup/ButtonGroup.cjs +0 -1
- package/dist/ButtonGroup/components/Button/Button.cjs +0 -1
- package/dist/ButtonGroup/components/Icon/Icon.cjs +0 -1
- package/dist/Card/Card.cjs +0 -1
- package/dist/Checkbox/Checkbox.cjs +0 -1
- package/dist/Checkbox/Checkbox.context.cjs +0 -1
- package/dist/Checkbox/components/Compose/Compose.cjs +0 -1
- package/dist/Checkbox/components/Indicator/Indicator.cjs +0 -1
- package/dist/Checkbox/components/Label/Label.cjs +0 -1
- package/dist/Chip/Chip.cjs +0 -1
- package/dist/Chip/Chip.context.cjs +0 -1
- package/dist/Chip/components/CloseButton/CloseButton.cjs +0 -1
- package/dist/Chip/components/Compose/Compose.cjs +0 -1
- package/dist/Chip/components/Title/Title.cjs +0 -1
- package/dist/ChipList/ChipList.cjs +0 -1
- package/dist/ChipList/Components/ExtraItem.cjs +0 -1
- package/dist/CountryFlag/CountryFlag.cjs +0 -1
- package/dist/Drawer/Drawer.cjs +0 -1
- package/dist/Drawer/Drawer.context.cjs +0 -1
- package/dist/Drawer/components/Body/Body.cjs +0 -1
- package/dist/Drawer/components/Content/Content.cjs +0 -1
- package/dist/Drawer/components/Content/hooks/useFocusTrigger.cjs +0 -1
- package/dist/Drawer/components/Content/hooks/useJitterFix.cjs +0 -1
- package/dist/Drawer/components/Description/Description.cjs +0 -1
- package/dist/Drawer/components/Description/components/Text/Text.cjs +0 -1
- package/dist/Drawer/components/Footer/Footer.cjs +0 -1
- package/dist/Drawer/components/Footer/components/ActionButtonsContainer/ActionButtonsContainer.cjs +0 -1
- package/dist/Drawer/components/Footer/components/Compose/Compose.cjs +0 -1
- package/dist/Drawer/components/Header/Header.cjs +0 -1
- package/dist/Drawer/components/Header/components/Compose/Compose.cjs +0 -1
- package/dist/Drawer/components/Header/components/Title/Title.cjs +0 -1
- package/dist/Drawer/components/Overlay/Overlay.cjs +0 -1
- package/dist/Drawer/hooks/useReducedMotionLifecycleSync.cjs +0 -1
- package/dist/Filters/Filters.cjs +0 -1
- package/dist/Filters/Filters.context.cjs +0 -1
- package/dist/Filters/components/Chips/Chips.cjs +0 -1
- package/dist/Filters/components/Clear/Clear.cjs +0 -1
- package/dist/Filters/components/Compose/Compose.cjs +0 -1
- package/dist/Filters/components/FiltersContainer/FiltersContainer.cjs +0 -1
- package/dist/Filters/components/MultiSelectFilter/MultiSelectFilter.cjs +0 -1
- package/dist/Filters/components/MultiTreeSelectFilter/MultiTreeSelectFilter.cjs +0 -1
- package/dist/FormField/FormField.cjs +0 -1
- package/dist/FormField/components/AdditionalText/AdditionalText.cjs +0 -1
- package/dist/FormField/components/Compose/Compose.cjs +0 -1
- package/dist/FormField/components/Nested/Nested.cjs +0 -1
- package/dist/Helpers/RestylableElement.cjs +0 -1
- package/dist/Helpers/SelfContained.cjs +0 -1
- package/dist/Helpers/UnstyledButtonTrigger.cjs +0 -1
- package/dist/Helpers/contexts/NullableContext.cjs +0 -1
- package/dist/Helpers/contexts/Popper/Popper.context.cjs +0 -1
- package/dist/Helpers/contexts/Popper/PopperCollisionBoundaryManager.cjs +0 -1
- package/dist/Helpers/contexts/Popper/TriggerRef.context.cjs +0 -1
- package/dist/Helpers/contexts/PrimitiveContextState.cjs +0 -1
- package/dist/Helpers/contexts/SharedId.context.cjs +0 -1
- package/dist/Helpers/generateId.cjs +0 -1
- package/dist/Helpers/hooks/useScrollable.cjs +0 -1
- package/dist/Helpers/react.utils.cjs +0 -1
- package/dist/HighlightedIcon/HighlightedIcon.cjs +0 -1
- package/dist/Inputs/Input/Input.cjs +0 -1
- package/dist/Inputs/NumericInput/NumericInput.cjs +0 -1
- package/dist/Inputs/PasswordInput/PasswordInput.cjs +0 -1
- package/dist/Inputs/PasswordInput/components/Compose/Compose.cjs +0 -1
- package/dist/Inputs/PasswordInput/components/PasswordButton/PasswordButton.cjs +0 -1
- package/dist/Inputs/PasswordInput/components/PasswordInput.context.cjs +0 -1
- package/dist/Inputs/PasswordInput/components/PasswordInputTag/PasswordInputTag.cjs +0 -1
- package/dist/Inputs/QuantityCounter/QuantityCounter.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/Compose/Compose.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/Compose/components/ErrorTooltip/ErrorTooltip.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/InputGroup.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/components/Compose/Compose.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/components/ValueLabel/ValueLabel.cjs +0 -1
- package/dist/Inputs/QuantityCounter/components/StepButton/StepButton.cjs +0 -1
- package/dist/Inputs/SearchInput/SearchInput.cjs +0 -1
- package/dist/Inputs/SearchInput/components/SearchIcon/SearchIcon.cjs +0 -1
- package/dist/Inputs/TextArea/TextArea.cjs +0 -1
- package/dist/Inputs/TextArea/components/Compose/Compose.cjs +0 -1
- package/dist/Inputs/TextArea/components/TextAreaTag/TextAreaTag.cjs +0 -1
- package/dist/Inputs/components/AutoSizeInput/AutoSizeInput.cjs +0 -1
- package/dist/Inputs/components/Compose/CommonCompose.cjs +0 -1
- package/dist/Inputs/components/Compose/NumericCompose.cjs +0 -1
- package/dist/Inputs/components/Compose/TextCompose.cjs +0 -1
- package/dist/Inputs/components/Context/Field.context.cjs +0 -1
- package/dist/Inputs/components/Context/InputValue.context.cjs +0 -1
- package/dist/Inputs/components/Context/InputValueProvider.cjs +0 -1
- package/dist/Inputs/components/Context/NumericInputValueProvider.cjs +0 -1
- package/dist/Inputs/components/InputTag/InputTag.cjs +0 -1
- package/dist/Inputs/components/LoadingIndicator/LoadingIndicator.cjs +0 -1
- package/dist/Inputs/components/ReadonlyRender/ReadonlyRenderWrapper.cjs +0 -1
- package/dist/Inputs/components/ResetButton/ResetButton.cjs +0 -1
- package/dist/Inputs/components/StatusIndicator/StatusIndicator.cjs +0 -1
- package/dist/Inputs/hooks/formatInput/useFormatInput.cjs +0 -1
- package/dist/Inputs/hooks/numericInput/useNumericInput.cjs +0 -1
- package/dist/KeyValueList/KeyValueList.cjs +0 -1
- package/dist/KeyValueList/components/AddButton/AddButton.cjs +0 -1
- package/dist/KeyValueList/hooks/useKeyValueList.cjs +0 -1
- package/dist/Label/Label.cjs +0 -1
- package/dist/Label/components/Compose/Compose.cjs +0 -1
- package/dist/Label/components/InfoIcon/InfoIcon.cjs +0 -1
- package/dist/Label/components/Optional/Optional.cjs +0 -1
- package/dist/Label/components/Required/Required.cjs +0 -1
- package/dist/Label/components/Text/Text.cjs +0 -1
- package/dist/Layouts/FlexDivider/FlexDivider.cjs +0 -1
- package/dist/Layouts/FlexGroup/FlexGroup.cjs +0 -1
- package/dist/Layouts/FlexItem/FlexItem.cjs +0 -1
- package/dist/Layouts/FlexSplit/FlexSplit.cjs +0 -1
- package/dist/Link/Link.cjs +0 -1
- package/dist/Link/LinkStyler/LinkStyler.cjs +0 -1
- package/dist/Link/LinkStyler/components/LinkStylerContent/LinkStylerContent.cjs +0 -1
- package/dist/Link/components/Content/Content.cjs +0 -1
- package/dist/Loader/Loader.cjs +0 -1
- package/dist/Menu/Menu.cjs +0 -1
- package/dist/Menu/Menu.context.cjs +0 -1
- package/dist/Menu/components/Content/Content.cjs +0 -1
- package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/Check/Check.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/Compose/Compose.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/Icon/Icon.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/Split/Split.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Components/Text/Text.cjs +0 -1
- package/dist/Menu/components/Content/components/Item/Item.cjs +0 -1
- package/dist/Menu/components/Content/components/Label/Label.cjs +0 -1
- package/dist/Menu/components/Content/components/Label/components/Compose/Compose.cjs +0 -1
- package/dist/Menu/components/Content/components/Label/components/Text/Text.cjs +0 -1
- package/dist/Menu/components/Content/components/Separator/Separator.cjs +0 -1
- package/dist/Menu/components/MenuRoot/MenuRoot.cjs +0 -1
- package/dist/Menu/components/Trigger/Trigger.cjs +0 -1
- package/dist/Menu/components/Trigger/components/Arrow/Arrow.cjs +0 -1
- package/dist/MidBar/MidBar.cjs +0 -1
- package/dist/MidBar/components/Header/Header.cjs +0 -1
- package/dist/MidBar/components/Header/components/Compose/Compose.cjs +0 -1
- package/dist/MidBar/components/Header/components/Group/Group.cjs +0 -1
- package/dist/Modal/Modal.cjs +0 -1
- package/dist/Modal/components/Closable/Closable.cjs +0 -1
- package/dist/Modal/components/Compose/Compose.cjs +0 -1
- package/dist/Modal/components/Content/Content.cjs +0 -1
- package/dist/Modal/components/Content/components/Body/Body.cjs +0 -1
- package/dist/Modal/components/Content/components/Body/components/Compose/Compose.cjs +0 -1
- package/dist/Modal/components/Content/components/Body/components/Text/Text.cjs +0 -1
- package/dist/Modal/components/Content/components/Close/Close.cjs +0 -1
- package/dist/Modal/components/Content/components/Compose/Compose.cjs +0 -1
- package/dist/Modal/components/Content/components/Description/Description.cjs +0 -1
- package/dist/Modal/components/Content/components/Description/components/Text/Text.cjs +0 -1
- package/dist/Modal/components/Content/components/Footer/Footer.cjs +0 -1
- package/dist/Modal/components/Content/components/Footer/components/Compose/Compose.cjs +0 -1
- package/dist/Modal/components/Content/components/Header/Header.cjs +0 -1
- package/dist/Modal/components/Content/components/Header/components/Compose/Compose.cjs +0 -1
- package/dist/Modal/components/Content/components/Header/components/Title/Title.cjs +0 -1
- package/dist/Modal/components/Trigger/Trigger.cjs +0 -1
- package/dist/MoreInfoIcon/MoreInfoIcon.cjs +0 -1
- package/dist/MultiSelect/MultiSelect.cjs +0 -1
- package/dist/MultiSelect/components/Compose/Compose.cjs +0 -1
- package/dist/MultiSelect/components/Compose/hooks/useMultiSelectContextApi.cjs +0 -1
- package/dist/MultiSelect/components/Content/Content.cjs +0 -1
- package/dist/MultiSelect/components/Content/components/Option/Option.cjs +0 -1
- package/dist/MultiSelect/components/Content/components/Option/components/OptionSelectionIndicator/OptionSelectionIndicator.cjs +0 -1
- package/dist/MultiSelect/components/Content/components/OptionList/OptionList.cjs +0 -1
- package/dist/MultiSelect/components/Content/components/SelectAll/SelectAll.cjs +0 -1
- package/dist/MultiSelect/components/Trigger/Trigger.cjs +0 -1
- package/dist/MultiSelect/components/Trigger/components/MultiValue/MultiValue.cjs +0 -1
- package/dist/Overflow/Overflow.cjs +0 -1
- package/dist/Overflow/Overflow.utils.cjs +0 -1
- package/dist/Overflow/components/OverflowContainer/OverflowContainer.cjs +0 -1
- package/dist/Overflow/components/OverflowItem/OverflowItem.cjs +0 -1
- package/dist/Overflow/useResize.cjs +0 -1
- package/dist/Pagination/Pagination.context.cjs +0 -1
- package/dist/Pagination/components/Compose.cjs +0 -1
- package/dist/Pagination/components/InfoLabel.cjs +0 -1
- package/dist/Pagination/components/NavigationButton.cjs +0 -1
- package/dist/Pagination/components/PageSelect.cjs +0 -1
- package/dist/Pagination/components/PageSizeSelect.cjs +0 -1
- package/dist/Popover/Popover.cjs +0 -1
- package/dist/Popover/Popover.context.cjs +0 -1
- package/dist/Popover/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Content/Content.cjs +0 -1
- package/dist/Popover/components/Content/components/Body/Body.cjs +0 -1
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.cjs +0 -1
- package/dist/Popover/components/Content/components/Body/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Content/components/Close/Close.cjs +0 -1
- package/dist/Popover/components/Content/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Content/components/Footer/Footer.cjs +0 -1
- package/dist/Popover/components/Content/components/Footer/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Content/components/Header/Header.cjs +0 -1
- package/dist/Popover/components/Content/components/Header/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.cjs +0 -1
- package/dist/Popover/components/Content/components/Text/Text.cjs +0 -1
- package/dist/Popover/components/Content/components/WindowBar/WindowBar.cjs +0 -1
- package/dist/Popover/components/Content/components/WindowBar/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/PopoverCard/PopoverCard.cjs +0 -1
- package/dist/Popover/components/PopoverCard/components/Compose/Compose.cjs +0 -1
- package/dist/Popover/components/Trigger/Trigger.cjs +0 -1
- package/dist/ProfileIcon/ProfileIcon.cjs +0 -1
- package/dist/ProgressBar/ProgressBar.cjs +0 -1
- package/dist/RadioGroup/RadioGroup.cjs +0 -1
- package/dist/RadioGroup/components/Compose/Compose.cjs +0 -1
- package/dist/RadioGroup/components/Item/Item.cjs +0 -1
- package/dist/RadioGroup/components/Item/components/Compose/Compose.cjs +0 -1
- package/dist/RadioGroup/components/Item/components/Indicator/Indicator.cjs +0 -1
- package/dist/RadioGroup/components/Item/components/Label/Label.cjs +0 -1
- package/dist/ScreenReaderAnnounce/ScreenReaderAnnounce.cjs +0 -1
- package/dist/SearchBar/SearchBar.cjs +0 -1
- package/dist/SearchBar/SearchBar.context.cjs +0 -1
- package/dist/SearchBar/components/Compose/Compose.cjs +0 -1
- package/dist/SearchBar/components/FiltersSection/FiltersSection.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/SearchSection.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Actions/Actions.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Actions/components/ColumnSelector/ColumnSelector.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Actions/components/Compose/Compose.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Actions/components/CustomActions/CustomActions.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Actions/components/FiltersToggle/FiltersToggle.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/Compose/Compose.cjs +0 -1
- package/dist/SearchBar/components/SearchSection/components/SearchInput/SearchInput.cjs +0 -1
- package/dist/Section/Section.cjs +0 -1
- package/dist/Section/Section.context.cjs +0 -1
- package/dist/Section/components/Body/Body.cjs +0 -1
- package/dist/Section/components/Compose/Compose.cjs +0 -1
- package/dist/Section/components/Header/Header.cjs +0 -1
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.cjs +0 -1
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.cjs +0 -1
- package/dist/Section/components/Header/components/CollapseButton/CollapseButton.cjs +0 -1
- package/dist/Section/components/Header/components/Compose/Compose.cjs +0 -1
- package/dist/Section/components/Header/components/Group/Group.cjs +0 -1
- package/dist/Section/components/Header/components/Label/Label.cjs +0 -1
- package/dist/Section/components/SummaryBar/SummaryBar.cjs +0 -1
- package/dist/Select/Select.cjs +0 -1
- package/dist/Select/components/Compose/Compose.cjs +0 -1
- package/dist/Select/components/Content/Content.cjs +0 -1
- package/dist/Select/components/Content/components/Compose/Compose.cjs +0 -1
- package/dist/Select/components/Content/components/Option/Option.cjs +0 -1
- package/dist/Select/components/Content/components/Option/components/Content/Content.cjs +0 -1
- package/dist/Select/components/Content/components/Option/components/OptionSelectionIndicator/OptionSelectionIndicator.cjs +0 -1
- package/dist/Select/components/Content/components/OptionList/OptionList.cjs +0 -1
- package/dist/Select/components/Content/components/OptionList/Virtual.cjs +0 -1
- package/dist/Select/components/Context/Context.cjs +0 -1
- package/dist/Select/components/Context/hooks/useSearch.cjs +0 -1
- package/dist/Select/components/Context/hooks/useSelectContextApi.cjs +0 -1
- package/dist/Select/components/Trigger/Trigger.cjs +0 -1
- package/dist/Select/components/Trigger/components/Arrow/Arrow.cjs +0 -1
- package/dist/Select/components/Trigger/components/Compose/Compose.cjs +0 -1
- package/dist/Select/components/Trigger/components/ResetButton/ResetButton.cjs +0 -1
- package/dist/Select/components/Trigger/components/Value/Value.cjs +0 -1
- package/dist/Select/utils/defaultValueRender.cjs +0 -1
- package/dist/SideBar/SideBar.cjs +0 -1
- package/dist/SideBar/SideBar.utils.cjs +0 -1
- package/dist/SideBar/components/Button/Button.cjs +0 -1
- package/dist/SideBar/components/Divider/Divider.cjs +0 -1
- package/dist/SideBar/components/Footer/Footer.cjs +0 -1
- package/dist/SideBar/components/Footer/components/Link/Link.cjs +0 -1
- package/dist/SideBar/components/Footer/components/MetaData/MetaData.cjs +0 -1
- package/dist/SideBar/components/Footer/components/Text/Text.cjs +0 -1
- package/dist/SideBar/components/Group/Group.cjs +0 -1
- package/dist/SideBar/components/Group/components/Title/Title.cjs +0 -1
- package/dist/SideBar/components/Header/Header.cjs +0 -1
- package/dist/SideBar/components/Item/Item.cjs +0 -1
- package/dist/SideBar/components/Item/components/Icon/Icon.cjs +0 -1
- package/dist/SideBar/components/Item/components/Text/Text.cjs +0 -1
- package/dist/SideBar/components/ItemsContainer/ItemsContainer.cjs +0 -1
- package/dist/SideBar/components/ScrollContainer/ScrollContainer.cjs +0 -1
- package/dist/SideBar/components/SideBarLogo/SideBarLogo.cjs +0 -1
- package/dist/Skeleton/Skeleton.cjs +0 -1
- package/dist/Skeleton/components/Card/Card.cjs +0 -1
- package/dist/Skeleton/components/Circle/Circle.cjs +0 -1
- package/dist/Skeleton/components/Grid/Grid.cjs +0 -1
- package/dist/Skeleton/components/Square/Square.cjs +0 -1
- package/dist/Skeleton/hooks/useShapeProps.cjs +0 -1
- package/dist/Slider/Slider.cjs +0 -1
- package/dist/Slider/components/Compose/Compose.cjs +0 -1
- package/dist/Slider/components/Label/Compose/Compose.cjs +0 -1
- package/dist/Slider/components/Label/Label.cjs +0 -1
- package/dist/Slider/components/Mark/Compose/Compose.cjs +0 -1
- package/dist/Slider/components/Mark/Mark.cjs +0 -1
- package/dist/Slider/components/MarksAndLabels/MarksAndLabels.cjs +0 -1
- package/dist/Slider/components/Thumb/Compose/Compose.cjs +0 -1
- package/dist/Slider/components/Thumb/Thumb.cjs +0 -1
- package/dist/Slider/components/Track/Compose/Compose.cjs +0 -1
- package/dist/Slider/components/Track/Range/Range.cjs +0 -1
- package/dist/Slider/components/Track/Track.cjs +0 -1
- package/dist/Stepper/Stepper.cjs +0 -1
- package/dist/Stepper/components/Compose/Compose.cjs +0 -1
- package/dist/Stepper/components/Step/Step.cjs +0 -1
- package/dist/Stepper/components/Step/components/Compose/Compose.cjs +0 -1
- package/dist/Stepper/components/Step/components/Icon/Icon.cjs +0 -1
- package/dist/Stepper/components/Step/components/Label/Label.cjs +0 -1
- package/dist/Stepper/components/Step/components/Separator/Separator.cjs +0 -1
- package/dist/Stepper/hooks/useStepIndexing.cjs +0 -1
- package/dist/Stepper/hooks/useStepRegistration.cjs +0 -1
- package/dist/Stepper/hooks/useStepperFocusing.cjs +0 -1
- package/dist/Stepper/hooks/useStepperInteractive.cjs +0 -1
- package/dist/Switch/Switch.cjs +0 -1
- package/dist/Switch/Switch.context.cjs +0 -1
- package/dist/Switch/components/Compose/Compose.cjs +0 -1
- package/dist/Switch/components/Switcher/Switcher.cjs +0 -1
- package/dist/Switch/components/Title/Title.cjs +0 -1
- package/dist/TableHeading/TableHeading.cjs +0 -1
- package/dist/TableHeading/components/TableTitle/TableTitle.cjs +0 -1
- package/dist/Tabs/Tabs.cjs +0 -1
- package/dist/Tabs/components/Compose/Compose.cjs +0 -1
- package/dist/Tabs/components/ContentPane/ContentPane.cjs +0 -1
- package/dist/Tabs/components/ContentPane/components/Compose/Compose.cjs +0 -1
- package/dist/Tabs/components/ContentPane/components/Content/Content.cjs +0 -1
- package/dist/Tabs/components/TabBar/TabBar.cjs +0 -1
- package/dist/Tabs/components/TabBar/TabBar.context.cjs +0 -1
- package/dist/Tabs/components/TabBar/components/Compose/Compose.cjs +0 -1
- package/dist/Tabs/components/TabBar/components/Trigger/Trigger.cjs +0 -1
- package/dist/Tabs/components/TabBar/components/Trigger/components/Compose/Compose.cjs +0 -1
- package/dist/Tabs/components/TabBar/components/Trigger/components/Marker/Marker.cjs +0 -1
- package/dist/Tabs/components/TabBar/components/Trigger/components/Tab/Tab.cjs +0 -1
- package/dist/Tabs/components/TabBar/utils/theme.utils.cjs +0 -1
- package/dist/ThemeModeSwitch/ThemeModeSwitch.cjs +0 -1
- package/dist/ThemeModeSwitch/useThemeModeSwitch.cjs +0 -1
- package/dist/Toast/Toast.cjs +0 -1
- package/dist/Toast/Toaster.cjs +0 -1
- package/dist/Toast/Toaster.style.cjs +3 -3
- package/dist/Toast/Toaster.style.js +3 -3
- package/dist/Toast/components/Actions/Actions.cjs +0 -1
- package/dist/Toast/components/Actions/components/Action/Action.cjs +1 -2
- package/dist/Toast/components/Actions/components/Action/Action.js +1 -1
- package/dist/Toast/components/Actions/components/Compose/Compose.cjs +0 -1
- package/dist/Toast/components/CloseButton/CloseButton.cjs +1 -2
- package/dist/Toast/components/CloseButton/CloseButton.js +1 -1
- package/dist/Toast/components/Compose/Compose.cjs +0 -1
- package/dist/Toast/components/Content/Content.cjs +0 -1
- package/dist/Toast/components/Content/components/Compose/Compose.cjs +0 -1
- package/dist/Toast/components/Content/components/Description/Description.cjs +0 -1
- package/dist/Toast/components/Content/components/Message/Message.cjs +0 -1
- package/dist/Toast/components/Icon/Icon.cjs +0 -1
- package/dist/Toast/components/ReducedMotionTransition/ReducedMotionTransition.cjs +0 -1
- package/dist/Toast/core/content.helper.cjs +0 -1
- package/dist/Toast/core/core.d.ts +2 -2
- package/dist/Toast/core/mapping.helpers.cjs +10 -10
- package/dist/Toast/core/mapping.helpers.d.ts +2 -2
- package/dist/Toast/core/mapping.helpers.js +10 -10
- package/dist/Tooltip/Context/TooltipInfoContext.cjs +0 -1
- package/dist/Tooltip/Provider/Provider.cjs +0 -1
- package/dist/Tooltip/Tooltip.cjs +0 -1
- package/dist/Tooltip/components/Compose/Compose.cjs +0 -1
- package/dist/Tooltip/components/Content/Content.cjs +0 -1
- package/dist/Tooltip/components/Content/components/Compose/Compose.cjs +0 -1
- package/dist/Tooltip/components/Content/components/Text/Text.cjs +0 -1
- package/dist/Tooltip/components/TooltipCard/TooltipCard.cjs +0 -1
- package/dist/Tooltip/components/TooltipCard/components/Compose/Compose.cjs +0 -1
- package/dist/Tooltip/components/TooltipCard/components/Header/TooltipHeader.cjs +0 -1
- package/dist/Tooltip/components/Trigger/Trigger.cjs +0 -1
- package/dist/Tooltip/hooks/useScrollableTooltip.cjs +0 -1
- package/dist/TreeView/TreeView.cjs +0 -1
- package/dist/TreeView/components/Compose/Compose.cjs +0 -1
- package/dist/TreeView/components/TreeItem/TreeItem.cjs +0 -1
- package/dist/TreeView/components/TreeItem/TreeItem.context.cjs +0 -1
- package/dist/TreeView/components/TreeItem/components/Checkbox/Checkbox.cjs +0 -1
- package/dist/TreeView/components/TreeItem/components/ExpandButton/ExpandButton.cjs +0 -1
- package/dist/TreeView/components/TreeItem/components/Expander/Expander.cjs +0 -1
- package/dist/TreeView/components/TreeItem/components/Header/Header.cjs +0 -1
- package/dist/Typography/components/Base/Base.cjs +0 -1
- package/dist/Typography/components/Body/Body.cjs +0 -1
- package/dist/Typography/components/Code/Code.cjs +0 -1
- package/dist/Typography/components/Heading/Heading.cjs +0 -1
- package/dist/Typography/hooks/useEllipsisTooltip.cjs +0 -1
- package/dist/index.cjs +1 -2
- package/dist/index.js +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -2
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +3 -3
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +3 -3
- package/dist/node_modules/@tanstack/react-hotkeys/dist/useHotkey.cjs +0 -1
- package/dist/node_modules/react-children-utilities/lib/hasChildren.cjs +0 -1
- package/dist/node_modules/react-children-utilities/lib/onlyText.cjs +0 -1
- package/dist/node_modules/react-toastify/dist/index.cjs +1474 -0
- package/dist/node_modules/react-toastify/dist/index.js +1471 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.cjs +0 -1
- package/dist/node_modules/virtua/lib/index.cjs +3 -4
- package/dist/node_modules/virtua/lib/index.js +3 -3
- package/dist/packages/components/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -2
- package/dist/packages/components/node_modules/@radix-ui/react-slot/dist/index.js +2 -2
- package/package.json +6 -6
- package/skills/redis-ui-components/SKILL.md +2 -0
- package/skills/redis-ui-components/references/Toast.md +37 -1
- package/dist/node_modules/react-toastify/dist/react-toastify.esm.cjs +0 -573
- package/dist/node_modules/react-toastify/dist/react-toastify.esm.js +0 -570
|
@@ -0,0 +1,1471 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import clsx from "../../clsx/dist/clsx.js";
|
|
3
|
+
import React, { cloneElement, isValidElement, useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
4
|
+
//#region ../../node_modules/react-toastify/dist/index.mjs
|
|
5
|
+
var L = (t) => typeof t == "number" && !isNaN(t), N = (t) => typeof t == "string", P = (t) => typeof t == "function", ut = (t) => N(t) || L(t), z = (t) => N(t) || P(t) ? t : null, yt = (t, o) => t === !1 || L(t) && t > 0 ? t : o, F = (t) => isValidElement(t) || N(t) || P(t) || L(t);
|
|
6
|
+
function J(t, o, e = 300) {
|
|
7
|
+
let { scrollHeight: r, style: a } = t;
|
|
8
|
+
requestAnimationFrame(() => {
|
|
9
|
+
a.minHeight = "initial", a.height = r + "px", a.transition = `all ${e}ms`, requestAnimationFrame(() => {
|
|
10
|
+
a.height = "0", a.padding = "0", a.margin = "0", setTimeout(o, e);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function R({ enter: t, exit: o, appendPosition: e = !1, collapse: r = !0, collapseDuration: a = 300 }) {
|
|
15
|
+
return function({ children: s, position: f, preventExitTransition: c, done: T, nodeRef: g, isIn: v, playToast: x }) {
|
|
16
|
+
let C = e ? `${t}--${f}` : t, S = e ? `${o}--${f}` : o, E = useRef(0);
|
|
17
|
+
return useLayoutEffect(() => {
|
|
18
|
+
let d = g.current, p = C.split(" "), b = (n) => {
|
|
19
|
+
n.target === g.current && (x(), d.removeEventListener("animationend", b), d.removeEventListener("animationcancel", b), E.current === 0 && n.type !== "animationcancel" && d.classList.remove(...p));
|
|
20
|
+
};
|
|
21
|
+
d.classList.add(...p), d.addEventListener("animationend", b), d.addEventListener("animationcancel", b);
|
|
22
|
+
}, []), useEffect(() => {
|
|
23
|
+
let d = g.current, p = () => {
|
|
24
|
+
d.removeEventListener("animationend", p), r ? J(d, T, a) : T();
|
|
25
|
+
};
|
|
26
|
+
v || (c ? p() : (E.current = 1, d.className += ` ${S}`, d.addEventListener("animationend", p)));
|
|
27
|
+
}, [v]), React.createElement(React.Fragment, null, s);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function tt(t, o) {
|
|
31
|
+
return {
|
|
32
|
+
content: ot(t.content, t.props),
|
|
33
|
+
containerId: t.props.containerId,
|
|
34
|
+
id: t.props.toastId,
|
|
35
|
+
theme: t.props.theme,
|
|
36
|
+
type: t.props.type,
|
|
37
|
+
data: t.props.data || {},
|
|
38
|
+
isLoading: t.props.isLoading,
|
|
39
|
+
icon: t.props.icon,
|
|
40
|
+
reason: t.removalReason,
|
|
41
|
+
status: o
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ot(t, o, e = !1) {
|
|
45
|
+
return isValidElement(t) && !N(t.type) ? cloneElement(t, {
|
|
46
|
+
closeToast: o.closeToast,
|
|
47
|
+
toastProps: o,
|
|
48
|
+
data: o.data,
|
|
49
|
+
isPaused: e
|
|
50
|
+
}) : P(t) ? t({
|
|
51
|
+
closeToast: o.closeToast,
|
|
52
|
+
toastProps: o,
|
|
53
|
+
data: o.data,
|
|
54
|
+
isPaused: e
|
|
55
|
+
}) : t;
|
|
56
|
+
}
|
|
57
|
+
function gt({ closeToast: t, theme: o, ariaLabel: e = "close" }) {
|
|
58
|
+
return React.createElement("button", {
|
|
59
|
+
className: `Toastify__close-button Toastify__close-button--${o}`,
|
|
60
|
+
type: "button",
|
|
61
|
+
onClick: (r) => {
|
|
62
|
+
r.stopPropagation(), t(!0);
|
|
63
|
+
},
|
|
64
|
+
"aria-label": e
|
|
65
|
+
}, React.createElement("svg", {
|
|
66
|
+
"aria-hidden": "true",
|
|
67
|
+
viewBox: "0 0 14 16"
|
|
68
|
+
}, React.createElement("path", {
|
|
69
|
+
fillRule: "evenodd",
|
|
70
|
+
d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"
|
|
71
|
+
})));
|
|
72
|
+
}
|
|
73
|
+
function bt({ delay: t, isRunning: o, closeToast: e, type: r = "default", hide: a, className: l, controlledProgress: s, progress: f, rtl: c, isIn: T, theme: g }) {
|
|
74
|
+
let v = a || s && f === 0, x = {
|
|
75
|
+
animationDuration: `${t}ms`,
|
|
76
|
+
animationPlayState: o ? "running" : "paused"
|
|
77
|
+
};
|
|
78
|
+
s && (x.transform = `scaleX(${f})`);
|
|
79
|
+
let C = clsx("Toastify__progress-bar", s ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${g}`, `Toastify__progress-bar--${r}`, { ["Toastify__progress-bar--rtl"]: c }), S = P(l) ? l({
|
|
80
|
+
rtl: c,
|
|
81
|
+
type: r,
|
|
82
|
+
defaultClassName: C
|
|
83
|
+
}) : clsx(C, l), E = { [s && f >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && f < 1 ? null : () => {
|
|
84
|
+
T && e();
|
|
85
|
+
} };
|
|
86
|
+
return React.createElement("div", {
|
|
87
|
+
className: "Toastify__progress-bar--wrp",
|
|
88
|
+
"data-hidden": v
|
|
89
|
+
}, React.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${r}` }), React.createElement("div", {
|
|
90
|
+
role: "progressbar",
|
|
91
|
+
"aria-hidden": v ? "true" : "false",
|
|
92
|
+
"aria-label": "notification timer",
|
|
93
|
+
"aria-valuenow": s ? Math.round(f * 100) : void 0,
|
|
94
|
+
"aria-valuemin": 0,
|
|
95
|
+
"aria-valuemax": 100,
|
|
96
|
+
className: S,
|
|
97
|
+
style: x,
|
|
98
|
+
...E
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
var Qt = 1, st = () => `${Qt++}`;
|
|
102
|
+
function vt(t, o, e) {
|
|
103
|
+
let r = 1, a = 0, l = [], s = [], f = o, c = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(), g = (i) => (T.add(i), () => T.delete(i)), v = () => {
|
|
104
|
+
s = Array.from(c.values()), T.forEach((i) => i());
|
|
105
|
+
}, x = ({ containerId: i, toastId: n, updateId: u }) => {
|
|
106
|
+
let h = i ? i !== t : t !== 1, m = c.has(n) && u == null;
|
|
107
|
+
return h || m;
|
|
108
|
+
}, C = (i, n) => {
|
|
109
|
+
c.forEach((u) => {
|
|
110
|
+
var h;
|
|
111
|
+
(n == null || n === u.props.toastId) && ((h = u.toggle) == null || h.call(u, i));
|
|
112
|
+
});
|
|
113
|
+
}, S = (i) => {
|
|
114
|
+
var n, u;
|
|
115
|
+
i.isActive && ((u = (n = i.props) == null ? void 0 : n.onClose) == null || u.call(n, i.removalReason), i.isActive = !1, e(tt(i, "removed")));
|
|
116
|
+
}, E = (i) => {
|
|
117
|
+
if (i == null) c.forEach(S);
|
|
118
|
+
else {
|
|
119
|
+
let n = c.get(i);
|
|
120
|
+
n && S(n);
|
|
121
|
+
}
|
|
122
|
+
v();
|
|
123
|
+
}, d = () => {
|
|
124
|
+
a -= l.length, l = [];
|
|
125
|
+
}, p = (i) => {
|
|
126
|
+
var m, _;
|
|
127
|
+
let { toastId: n, updateId: u } = i.props, h = u == null;
|
|
128
|
+
i.staleId && c.delete(i.staleId), i.isActive = !0, c.set(n, i), v(), e(tt(i, h ? "added" : "updated")), h && ((_ = (m = i.props).onOpen) == null || _.call(m));
|
|
129
|
+
};
|
|
130
|
+
return {
|
|
131
|
+
id: t,
|
|
132
|
+
props: f,
|
|
133
|
+
observe: g,
|
|
134
|
+
toggle: C,
|
|
135
|
+
removeToast: E,
|
|
136
|
+
toasts: c,
|
|
137
|
+
clearQueue: d,
|
|
138
|
+
buildToast: (i, n) => {
|
|
139
|
+
if (x(n)) return;
|
|
140
|
+
let { toastId: u, updateId: h, data: m, staleId: _, delay: k } = n, D = h == null;
|
|
141
|
+
D && a++;
|
|
142
|
+
let A = {
|
|
143
|
+
...f,
|
|
144
|
+
style: f.toastStyle,
|
|
145
|
+
key: r++,
|
|
146
|
+
...Object.fromEntries(Object.entries(n).filter(([M, $]) => $ != null)),
|
|
147
|
+
toastId: u,
|
|
148
|
+
updateId: h,
|
|
149
|
+
data: m,
|
|
150
|
+
isIn: !1,
|
|
151
|
+
className: z(n.className || f.toastClassName),
|
|
152
|
+
progressClassName: z(n.progressClassName || f.progressClassName),
|
|
153
|
+
autoClose: n.isLoading ? !1 : yt(n.autoClose, f.autoClose),
|
|
154
|
+
closeToast(M) {
|
|
155
|
+
let $ = c.get(u);
|
|
156
|
+
$ && ($.removalReason = M, E(u));
|
|
157
|
+
},
|
|
158
|
+
deleteToast() {
|
|
159
|
+
if (c.get(u) != null) {
|
|
160
|
+
if (c.delete(u), a--, a < 0 && (a = 0), l.length > 0) {
|
|
161
|
+
p(l.shift());
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
v();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
A.closeButton = f.closeButton, n.closeButton === !1 || F(n.closeButton) ? A.closeButton = n.closeButton : n.closeButton === !0 && (A.closeButton = F(f.closeButton) ? f.closeButton : !0);
|
|
169
|
+
let B = {
|
|
170
|
+
content: i,
|
|
171
|
+
props: A,
|
|
172
|
+
staleId: _
|
|
173
|
+
};
|
|
174
|
+
f.limit && f.limit > 0 && a > f.limit && D ? l.push(B) : L(k) ? setTimeout(() => {
|
|
175
|
+
p(B);
|
|
176
|
+
}, k) : p(B);
|
|
177
|
+
},
|
|
178
|
+
setProps(i) {
|
|
179
|
+
f = i;
|
|
180
|
+
},
|
|
181
|
+
setToggle: (i, n) => {
|
|
182
|
+
let u = c.get(i);
|
|
183
|
+
u && (u.toggle = n);
|
|
184
|
+
},
|
|
185
|
+
isToastActive: (i) => {
|
|
186
|
+
var n;
|
|
187
|
+
return (n = c.get(i)) == null ? void 0 : n.isActive;
|
|
188
|
+
},
|
|
189
|
+
getSnapshot: () => s
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
var I = /* @__PURE__ */ new Map(), U = [], rt = /* @__PURE__ */ new Set(), Wt = (t) => rt.forEach((o) => o(t)), ht = () => I.size > 0;
|
|
193
|
+
function Gt() {
|
|
194
|
+
U.forEach((t) => nt(t.content, t.options)), U = [];
|
|
195
|
+
}
|
|
196
|
+
var Ct = (t, { containerId: o }) => {
|
|
197
|
+
var e;
|
|
198
|
+
return (e = I.get(o || 1)) == null ? void 0 : e.toasts.get(t);
|
|
199
|
+
};
|
|
200
|
+
function X(t, o) {
|
|
201
|
+
var r;
|
|
202
|
+
if (o) return !!((r = I.get(o)) != null && r.isToastActive(t));
|
|
203
|
+
let e = !1;
|
|
204
|
+
return I.forEach((a) => {
|
|
205
|
+
a.isToastActive(t) && (e = !0);
|
|
206
|
+
}), e;
|
|
207
|
+
}
|
|
208
|
+
function xt(t) {
|
|
209
|
+
if (!ht()) {
|
|
210
|
+
U = U.filter((o) => t != null && o.options.toastId !== t);
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
if (t == null || ut(t)) I.forEach((o) => {
|
|
214
|
+
o.removeToast(t);
|
|
215
|
+
});
|
|
216
|
+
else if (t && ("containerId" in t || "id" in t)) {
|
|
217
|
+
let o = I.get(t.containerId);
|
|
218
|
+
o ? o.removeToast(t.id) : I.forEach((e) => {
|
|
219
|
+
e.removeToast(t.id);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
var Et = (t = {}) => {
|
|
224
|
+
I.forEach((o) => {
|
|
225
|
+
o.props.limit && (!t.containerId || o.id === t.containerId) && o.clearQueue();
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
function nt(t, o) {
|
|
229
|
+
F(t) && (ht() || U.push({
|
|
230
|
+
content: t,
|
|
231
|
+
options: o
|
|
232
|
+
}), I.forEach((e) => {
|
|
233
|
+
e.buildToast(t, o);
|
|
234
|
+
}));
|
|
235
|
+
}
|
|
236
|
+
function Pt(t) {
|
|
237
|
+
var o;
|
|
238
|
+
(o = I.get(t.containerId || 1)) == null || o.setToggle(t.id, t.fn);
|
|
239
|
+
}
|
|
240
|
+
function it(t, o) {
|
|
241
|
+
I.forEach((e) => {
|
|
242
|
+
(o == null || !(o != null && o.containerId) || (o == null ? void 0 : o.containerId) === e.id) && e.toggle(t, o == null ? void 0 : o.id);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
function It(t) {
|
|
246
|
+
let o = t.containerId || 1;
|
|
247
|
+
return {
|
|
248
|
+
subscribe(e) {
|
|
249
|
+
let r = vt(o, t, Wt);
|
|
250
|
+
I.set(o, r);
|
|
251
|
+
let a = r.observe(e);
|
|
252
|
+
return Gt(), () => {
|
|
253
|
+
a(), I.delete(o);
|
|
254
|
+
};
|
|
255
|
+
},
|
|
256
|
+
setProps(e) {
|
|
257
|
+
var r;
|
|
258
|
+
(r = I.get(o)) == null || r.setProps(e);
|
|
259
|
+
},
|
|
260
|
+
getSnapshot() {
|
|
261
|
+
var e;
|
|
262
|
+
return (e = I.get(o)) == null ? void 0 : e.getSnapshot();
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function St(t) {
|
|
267
|
+
return rt.add(t), () => {
|
|
268
|
+
rt.delete(t);
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
function qt(t) {
|
|
272
|
+
return t && (N(t.toastId) || L(t.toastId)) ? t.toastId : st();
|
|
273
|
+
}
|
|
274
|
+
function H(t, o) {
|
|
275
|
+
return nt(t, o), o.toastId;
|
|
276
|
+
}
|
|
277
|
+
function Q(t, o) {
|
|
278
|
+
return {
|
|
279
|
+
...o,
|
|
280
|
+
type: o && o.type || t,
|
|
281
|
+
toastId: qt(o)
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
function W(t) {
|
|
285
|
+
return (o, e) => H(o, Q(t, e));
|
|
286
|
+
}
|
|
287
|
+
function y(t, o) {
|
|
288
|
+
return H(t, Q("default", o));
|
|
289
|
+
}
|
|
290
|
+
y.loading = (t, o) => H(t, Q("default", {
|
|
291
|
+
isLoading: !0,
|
|
292
|
+
autoClose: !1,
|
|
293
|
+
closeOnClick: !1,
|
|
294
|
+
closeButton: !1,
|
|
295
|
+
draggable: !1,
|
|
296
|
+
...o
|
|
297
|
+
}));
|
|
298
|
+
function Kt(t, { pending: o, error: e, success: r }, a) {
|
|
299
|
+
let l;
|
|
300
|
+
o && (l = N(o) ? y.loading(o, a) : y.loading(o.render, {
|
|
301
|
+
...a,
|
|
302
|
+
...o
|
|
303
|
+
}));
|
|
304
|
+
let s = {
|
|
305
|
+
isLoading: null,
|
|
306
|
+
autoClose: null,
|
|
307
|
+
closeOnClick: null,
|
|
308
|
+
closeButton: null,
|
|
309
|
+
draggable: null
|
|
310
|
+
}, f = (T, g, v) => {
|
|
311
|
+
if (g == null) {
|
|
312
|
+
y.dismiss(l);
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
let x = {
|
|
316
|
+
type: T,
|
|
317
|
+
...s,
|
|
318
|
+
...a,
|
|
319
|
+
data: v
|
|
320
|
+
}, C = N(g) ? { render: g } : g;
|
|
321
|
+
return l ? y.update(l, {
|
|
322
|
+
...x,
|
|
323
|
+
...C
|
|
324
|
+
}) : y(C.render, {
|
|
325
|
+
...x,
|
|
326
|
+
...C
|
|
327
|
+
}), v;
|
|
328
|
+
}, c = P(t) ? t() : t;
|
|
329
|
+
return c.then((T) => f("success", r, T)).catch((T) => f("error", e, T)), c;
|
|
330
|
+
}
|
|
331
|
+
y.promise = Kt;
|
|
332
|
+
y.success = W("success");
|
|
333
|
+
y.info = W("info");
|
|
334
|
+
y.error = W("error");
|
|
335
|
+
y.warning = W("warning");
|
|
336
|
+
y.warn = y.warning;
|
|
337
|
+
y.dark = (t, o) => H(t, Q("default", {
|
|
338
|
+
theme: "dark",
|
|
339
|
+
...o
|
|
340
|
+
}));
|
|
341
|
+
function Yt(t) {
|
|
342
|
+
xt(t);
|
|
343
|
+
}
|
|
344
|
+
y.dismiss = Yt;
|
|
345
|
+
y.clearWaitingQueue = Et;
|
|
346
|
+
y.isActive = X;
|
|
347
|
+
y.update = (t, o = {}) => {
|
|
348
|
+
let e = Ct(t, o);
|
|
349
|
+
if (e) {
|
|
350
|
+
let { props: r, content: a } = e, l = {
|
|
351
|
+
delay: 100,
|
|
352
|
+
...r,
|
|
353
|
+
...o,
|
|
354
|
+
toastId: o.toastId || t,
|
|
355
|
+
updateId: st()
|
|
356
|
+
};
|
|
357
|
+
l.toastId !== t && (l.staleId = t);
|
|
358
|
+
let s = l.render || a;
|
|
359
|
+
delete l.render, H(s, l);
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
y.done = (t) => {
|
|
363
|
+
y.update(t, { progress: 1 });
|
|
364
|
+
};
|
|
365
|
+
y.onChange = St;
|
|
366
|
+
y.play = (t) => it(!0, t);
|
|
367
|
+
y.pause = (t) => it(!1, t);
|
|
368
|
+
function kt(t) {
|
|
369
|
+
var s;
|
|
370
|
+
let { subscribe: o, getSnapshot: e, setProps: r } = useRef(It(t)).current;
|
|
371
|
+
r(t);
|
|
372
|
+
let a = (s = useSyncExternalStore(o, e, e)) == null ? void 0 : s.slice();
|
|
373
|
+
function l(f) {
|
|
374
|
+
if (!a) return [];
|
|
375
|
+
let c = /* @__PURE__ */ new Map();
|
|
376
|
+
return t.newestOnTop && a.reverse(), a.forEach((T) => {
|
|
377
|
+
let { position: g } = T.props;
|
|
378
|
+
c.has(g) || c.set(g, []), c.get(g).push(T);
|
|
379
|
+
}), Array.from(c, (T) => f(T[0], T[1]));
|
|
380
|
+
}
|
|
381
|
+
return {
|
|
382
|
+
getToastToRender: l,
|
|
383
|
+
isToastActive: X,
|
|
384
|
+
count: a == null ? void 0 : a.length
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
function Nt(t) {
|
|
388
|
+
let [o, e] = useState(!1), [r, a] = useState(!1), l = useRef(null), s = useRef({
|
|
389
|
+
start: 0,
|
|
390
|
+
delta: 0,
|
|
391
|
+
removalDistance: 0,
|
|
392
|
+
canCloseOnClick: !0,
|
|
393
|
+
canDrag: !1,
|
|
394
|
+
didMove: !1
|
|
395
|
+
}).current, { autoClose: f, pauseOnHover: c, closeToast: T, onClick: g, closeOnClick: v } = t;
|
|
396
|
+
Pt({
|
|
397
|
+
id: t.toastId,
|
|
398
|
+
containerId: t.containerId,
|
|
399
|
+
fn: e
|
|
400
|
+
}), useEffect(() => {
|
|
401
|
+
if (t.pauseOnFocusLoss) return x(), () => {
|
|
402
|
+
C();
|
|
403
|
+
};
|
|
404
|
+
}, [t.pauseOnFocusLoss]);
|
|
405
|
+
function x() {
|
|
406
|
+
document.hasFocus() || p(), window.addEventListener("focus", d), window.addEventListener("blur", p);
|
|
407
|
+
}
|
|
408
|
+
function C() {
|
|
409
|
+
window.removeEventListener("focus", d), window.removeEventListener("blur", p);
|
|
410
|
+
}
|
|
411
|
+
function S(m) {
|
|
412
|
+
if (t.draggable === !0 || t.draggable === m.pointerType) {
|
|
413
|
+
b();
|
|
414
|
+
let _ = l.current;
|
|
415
|
+
s.canCloseOnClick = !0, s.canDrag = !0, _.style.transition = "none", t.draggableDirection === "x" ? (s.start = m.clientX, s.removalDistance = _.offsetWidth * (t.draggablePercent / 100)) : (s.start = m.clientY, s.removalDistance = _.offsetHeight * (t.draggablePercent === 80 ? t.draggablePercent * 1.5 : t.draggablePercent) / 100);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
function E(m) {
|
|
419
|
+
let { top: _, bottom: k, left: D, right: A } = l.current.getBoundingClientRect();
|
|
420
|
+
m.pointerType === "mouse" && t.pauseOnHover && m.clientX >= D && m.clientX <= A && m.clientY >= _ && m.clientY <= k ? p() : d();
|
|
421
|
+
}
|
|
422
|
+
function d() {
|
|
423
|
+
e(!0);
|
|
424
|
+
}
|
|
425
|
+
function p() {
|
|
426
|
+
e(!1);
|
|
427
|
+
}
|
|
428
|
+
function b() {
|
|
429
|
+
s.didMove = !1, document.addEventListener("pointermove", n), document.addEventListener("pointerup", u);
|
|
430
|
+
}
|
|
431
|
+
function i() {
|
|
432
|
+
document.removeEventListener("pointermove", n), document.removeEventListener("pointerup", u);
|
|
433
|
+
}
|
|
434
|
+
function n(m) {
|
|
435
|
+
let _ = l.current;
|
|
436
|
+
if (s.canDrag && _) {
|
|
437
|
+
s.didMove = !0, o && p(), t.draggableDirection === "x" ? s.delta = m.clientX - s.start : s.delta = m.clientY - s.start, s.start !== m.clientX && (s.canCloseOnClick = !1);
|
|
438
|
+
let k = t.draggableDirection === "x" ? `${s.delta}px, var(--y)` : `0, calc(${s.delta}px + var(--y))`;
|
|
439
|
+
_.style.transform = `translate3d(${k},0)`, _.style.opacity = `${1 - Math.abs(s.delta / s.removalDistance)}`;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
function u() {
|
|
443
|
+
i();
|
|
444
|
+
let m = l.current;
|
|
445
|
+
if (s.canDrag && s.didMove && m) {
|
|
446
|
+
if (s.canDrag = !1, Math.abs(s.delta) > s.removalDistance) {
|
|
447
|
+
a(!0), t.closeToast(!0), t.collapseAll();
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
450
|
+
m.style.transition = "transform 0.2s, opacity 0.2s", m.style.removeProperty("transform"), m.style.removeProperty("opacity");
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
let h = {
|
|
454
|
+
onPointerDown: S,
|
|
455
|
+
onPointerUp: E
|
|
456
|
+
};
|
|
457
|
+
return f && c && (h.onMouseEnter = p, t.stacked || (h.onMouseLeave = d)), v && (h.onClick = (m) => {
|
|
458
|
+
g && g(m), s.canCloseOnClick && T(!0);
|
|
459
|
+
}), {
|
|
460
|
+
playToast: d,
|
|
461
|
+
pauseToast: p,
|
|
462
|
+
isRunning: o,
|
|
463
|
+
preventExitTransition: r,
|
|
464
|
+
toastRef: l,
|
|
465
|
+
eventHandlers: h
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
var G = typeof window != "undefined" ? useLayoutEffect : useEffect;
|
|
469
|
+
var K = ({ theme: t, type: o, isLoading: e, ...r }) => React.createElement("svg", {
|
|
470
|
+
viewBox: "0 0 24 24",
|
|
471
|
+
width: "100%",
|
|
472
|
+
height: "100%",
|
|
473
|
+
fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${o})`,
|
|
474
|
+
...r
|
|
475
|
+
});
|
|
476
|
+
function ro(t) {
|
|
477
|
+
return React.createElement(K, { ...t }, React.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
478
|
+
}
|
|
479
|
+
function no(t) {
|
|
480
|
+
return React.createElement(K, { ...t }, React.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
481
|
+
}
|
|
482
|
+
function io(t) {
|
|
483
|
+
return React.createElement(K, { ...t }, React.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
484
|
+
}
|
|
485
|
+
function lo(t) {
|
|
486
|
+
return React.createElement(K, { ...t }, React.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
487
|
+
}
|
|
488
|
+
function fo() {
|
|
489
|
+
return React.createElement("div", { className: "Toastify__spinner" });
|
|
490
|
+
}
|
|
491
|
+
var q = {
|
|
492
|
+
info: no,
|
|
493
|
+
warning: ro,
|
|
494
|
+
success: io,
|
|
495
|
+
error: lo,
|
|
496
|
+
spinner: fo
|
|
497
|
+
}, co = (t) => t in q;
|
|
498
|
+
function wt({ theme: t, type: o, isLoading: e, icon: r }) {
|
|
499
|
+
let a = null, l = {
|
|
500
|
+
theme: t,
|
|
501
|
+
type: o
|
|
502
|
+
};
|
|
503
|
+
return r === !1 || (P(r) ? a = r({
|
|
504
|
+
...l,
|
|
505
|
+
isLoading: e
|
|
506
|
+
}) : isValidElement(r) ? a = cloneElement(r, l) : e ? a = q.spinner() : co(o) && (a = q[o](l))), a;
|
|
507
|
+
}
|
|
508
|
+
var Dt = (t) => {
|
|
509
|
+
let { isRunning: o, preventExitTransition: e, toastRef: r, eventHandlers: a, playToast: l } = Nt(t), { closeButton: s, children: f, autoClose: c, onClick: T, type: g, hideProgressBar: v, closeToast: x, transition: C, position: S, className: E, style: d, progressClassName: p, updateId: b, role: i, progress: n, rtl: u, toastId: h, deleteToast: m, isIn: _, isLoading: k, closeOnClick: D, theme: A, ariaLabel: B } = t, M = clsx("Toastify__toast", `Toastify__toast-theme--${A}`, `Toastify__toast--${g}`, { ["Toastify__toast--rtl"]: u }, { ["Toastify__toast--close-on-click"]: D }), $ = P(E) ? E({
|
|
510
|
+
rtl: u,
|
|
511
|
+
position: S,
|
|
512
|
+
type: g,
|
|
513
|
+
defaultClassName: M
|
|
514
|
+
}) : clsx(M, E), mt = wt(t), pt = !!n || !c, Z = {
|
|
515
|
+
closeToast: x,
|
|
516
|
+
type: g,
|
|
517
|
+
theme: A
|
|
518
|
+
}, V = null;
|
|
519
|
+
return s === !1 || (P(s) ? V = s(Z) : isValidElement(s) ? V = cloneElement(s, Z) : V = gt(Z)), React.createElement(C, {
|
|
520
|
+
isIn: _,
|
|
521
|
+
done: m,
|
|
522
|
+
position: S,
|
|
523
|
+
preventExitTransition: e,
|
|
524
|
+
nodeRef: r,
|
|
525
|
+
playToast: l
|
|
526
|
+
}, React.createElement("div", {
|
|
527
|
+
id: h,
|
|
528
|
+
tabIndex: 0,
|
|
529
|
+
onClick: T,
|
|
530
|
+
"data-in": _,
|
|
531
|
+
className: $,
|
|
532
|
+
...a,
|
|
533
|
+
style: d,
|
|
534
|
+
ref: r,
|
|
535
|
+
..._ && {
|
|
536
|
+
role: i,
|
|
537
|
+
"aria-label": B
|
|
538
|
+
}
|
|
539
|
+
}, mt != null && React.createElement("div", { className: clsx("Toastify__toast-icon", { ["Toastify--animate-icon Toastify__zoom-enter"]: !k }) }, mt), ot(f, t, !o), V, !t.customProgressBar && React.createElement(bt, {
|
|
540
|
+
...b && !pt ? { key: `p-${b}` } : {},
|
|
541
|
+
rtl: u,
|
|
542
|
+
theme: A,
|
|
543
|
+
delay: c,
|
|
544
|
+
isRunning: o,
|
|
545
|
+
isIn: _,
|
|
546
|
+
closeToast: x,
|
|
547
|
+
hide: v,
|
|
548
|
+
type: g,
|
|
549
|
+
className: p,
|
|
550
|
+
controlledProgress: pt,
|
|
551
|
+
progress: n || 0
|
|
552
|
+
})));
|
|
553
|
+
}, j = (t, o = !1) => ({
|
|
554
|
+
enter: `Toastify--animate Toastify__${t}-enter`,
|
|
555
|
+
exit: `Toastify--animate Toastify__${t}-exit`,
|
|
556
|
+
appendPosition: o
|
|
557
|
+
}), ft = R(j("bounce", !0));
|
|
558
|
+
R(j("slide", !0));
|
|
559
|
+
R(j("zoom"));
|
|
560
|
+
R(j("flip"));
|
|
561
|
+
var vo = {
|
|
562
|
+
position: "top-right",
|
|
563
|
+
transition: ft,
|
|
564
|
+
autoClose: 5e3,
|
|
565
|
+
closeButton: !0,
|
|
566
|
+
pauseOnHover: !0,
|
|
567
|
+
pauseOnFocusLoss: !0,
|
|
568
|
+
draggable: "touch",
|
|
569
|
+
draggablePercent: 80,
|
|
570
|
+
draggableDirection: "x",
|
|
571
|
+
role: "alert",
|
|
572
|
+
theme: "light",
|
|
573
|
+
"aria-label": "Notifications Alt+T",
|
|
574
|
+
hotKeys: (t) => t.altKey && t.code === "KeyT"
|
|
575
|
+
};
|
|
576
|
+
function dt(t) {
|
|
577
|
+
let o = {
|
|
578
|
+
...vo,
|
|
579
|
+
...t
|
|
580
|
+
}, e = t.stacked, [r, a] = useState(!0), l = useRef(null), { getToastToRender: s, isToastActive: f, count: c } = kt(o), { className: T, style: g, rtl: v, containerId: x, hotKeys: C } = o;
|
|
581
|
+
function S(d) {
|
|
582
|
+
let p = clsx("Toastify__toast-container", `Toastify__toast-container--${d}`, { ["Toastify__toast-container--rtl"]: v });
|
|
583
|
+
return P(T) ? T({
|
|
584
|
+
position: d,
|
|
585
|
+
rtl: v,
|
|
586
|
+
defaultClassName: p
|
|
587
|
+
}) : clsx(p, z(T));
|
|
588
|
+
}
|
|
589
|
+
function E() {
|
|
590
|
+
e && (a(!0), y.play());
|
|
591
|
+
}
|
|
592
|
+
return G(() => {
|
|
593
|
+
var d;
|
|
594
|
+
if (e) {
|
|
595
|
+
let p = l.current.querySelectorAll("[data-in=\"true\"]"), b = 12, i = (d = o.position) == null ? void 0 : d.includes("top"), n = 0, u = 0;
|
|
596
|
+
Array.from(p).reverse().forEach((h, m) => {
|
|
597
|
+
let _ = h;
|
|
598
|
+
_.classList.add("Toastify__toast--stacked"), m > 0 && (_.dataset.collapsed = `${r}`), _.dataset.pos || (_.dataset.pos = i ? "top" : "bot");
|
|
599
|
+
let k = n * (r ? .2 : 1) + (r ? 0 : b * m), D = Math.max(.5, 1 - (r ? u : 0));
|
|
600
|
+
_.style.setProperty("--y", `${i ? k : k * -1}px`), _.style.setProperty("--g", `${b}`), _.style.setProperty("--s", `${D}`), n += _.offsetHeight, u += .025;
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
}, [
|
|
604
|
+
r,
|
|
605
|
+
c,
|
|
606
|
+
e
|
|
607
|
+
]), useEffect(() => {
|
|
608
|
+
function d(p) {
|
|
609
|
+
var i;
|
|
610
|
+
let b = l.current;
|
|
611
|
+
C(p) && ((i = b == null ? void 0 : b.querySelector("[tabIndex=\"0\"]")) == null || i.focus(), a(!1), y.pause()), p.key === "Escape" && (document.activeElement === b || b != null && b.contains(document.activeElement)) && (a(!0), y.play());
|
|
612
|
+
}
|
|
613
|
+
return document.addEventListener("keydown", d), () => {
|
|
614
|
+
document.removeEventListener("keydown", d);
|
|
615
|
+
};
|
|
616
|
+
}, [C]), React.createElement("section", {
|
|
617
|
+
ref: l,
|
|
618
|
+
className: "Toastify",
|
|
619
|
+
id: x,
|
|
620
|
+
onMouseEnter: () => {
|
|
621
|
+
e && (a(!1), y.pause());
|
|
622
|
+
},
|
|
623
|
+
onMouseLeave: E,
|
|
624
|
+
"aria-live": "polite",
|
|
625
|
+
"aria-atomic": "false",
|
|
626
|
+
"aria-relevant": "additions text",
|
|
627
|
+
"aria-label": o["aria-label"]
|
|
628
|
+
}, s((d, p) => {
|
|
629
|
+
let b = p.length ? { ...g } : {
|
|
630
|
+
...g,
|
|
631
|
+
pointerEvents: "none"
|
|
632
|
+
};
|
|
633
|
+
return React.createElement("div", {
|
|
634
|
+
tabIndex: -1,
|
|
635
|
+
className: S(d),
|
|
636
|
+
"data-stacked": e,
|
|
637
|
+
style: b,
|
|
638
|
+
key: `c-${d}`
|
|
639
|
+
}, p.map(({ content: i, props: n }) => React.createElement(Dt, {
|
|
640
|
+
...n,
|
|
641
|
+
stacked: e,
|
|
642
|
+
collapseAll: E,
|
|
643
|
+
isIn: f(n.toastId, n.containerId),
|
|
644
|
+
key: `t-${n.key}`
|
|
645
|
+
}, i)));
|
|
646
|
+
}));
|
|
647
|
+
}
|
|
648
|
+
var Mt = `:root {
|
|
649
|
+
--toastify-color-light: #fff;
|
|
650
|
+
--toastify-color-dark: #121212;
|
|
651
|
+
--toastify-color-info: #3498db;
|
|
652
|
+
--toastify-color-success: #07bc0c;
|
|
653
|
+
--toastify-color-warning: #f1c40f;
|
|
654
|
+
--toastify-color-error: hsl(6, 78%, 57%);
|
|
655
|
+
--toastify-color-transparent: rgba(255, 255, 255, 0.7);
|
|
656
|
+
|
|
657
|
+
--toastify-icon-color-info: var(--toastify-color-info);
|
|
658
|
+
--toastify-icon-color-success: var(--toastify-color-success);
|
|
659
|
+
--toastify-icon-color-warning: var(--toastify-color-warning);
|
|
660
|
+
--toastify-icon-color-error: var(--toastify-color-error);
|
|
661
|
+
|
|
662
|
+
--toastify-container-width: fit-content;
|
|
663
|
+
--toastify-toast-width: 320px;
|
|
664
|
+
--toastify-toast-offset: 16px;
|
|
665
|
+
--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
|
|
666
|
+
--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
|
|
667
|
+
--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
|
|
668
|
+
--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
|
|
669
|
+
--toastify-toast-background: #fff;
|
|
670
|
+
--toastify-toast-padding: 14px;
|
|
671
|
+
--toastify-toast-min-height: 64px;
|
|
672
|
+
--toastify-toast-max-height: 800px;
|
|
673
|
+
--toastify-toast-bd-radius: 6px;
|
|
674
|
+
--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
|
|
675
|
+
--toastify-font-family: sans-serif;
|
|
676
|
+
--toastify-z-index: 9999;
|
|
677
|
+
--toastify-text-color-light: #757575;
|
|
678
|
+
--toastify-text-color-dark: #fff;
|
|
679
|
+
|
|
680
|
+
/* Used only for colored theme */
|
|
681
|
+
--toastify-text-color-info: #fff;
|
|
682
|
+
--toastify-text-color-success: #fff;
|
|
683
|
+
--toastify-text-color-warning: #fff;
|
|
684
|
+
--toastify-text-color-error: #fff;
|
|
685
|
+
|
|
686
|
+
--toastify-spinner-color: #616161;
|
|
687
|
+
--toastify-spinner-color-empty-area: #e0e0e0;
|
|
688
|
+
--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
|
|
689
|
+
--toastify-color-progress-dark: #bb86fc;
|
|
690
|
+
--toastify-color-progress-info: var(--toastify-color-info);
|
|
691
|
+
--toastify-color-progress-success: var(--toastify-color-success);
|
|
692
|
+
--toastify-color-progress-warning: var(--toastify-color-warning);
|
|
693
|
+
--toastify-color-progress-error: var(--toastify-color-error);
|
|
694
|
+
/* used to control the opacity of the progress trail */
|
|
695
|
+
--toastify-color-progress-bgo: 0.2;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.Toastify__toast-container {
|
|
699
|
+
z-index: var(--toastify-z-index);
|
|
700
|
+
-webkit-transform: translate3d(0, 0, var(--toastify-z-index));
|
|
701
|
+
position: fixed;
|
|
702
|
+
width: var(--toastify-container-width);
|
|
703
|
+
box-sizing: border-box;
|
|
704
|
+
color: #fff;
|
|
705
|
+
display: flex;
|
|
706
|
+
flex-direction: column;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.Toastify__toast-container--top-left {
|
|
710
|
+
top: var(--toastify-toast-top);
|
|
711
|
+
left: var(--toastify-toast-left);
|
|
712
|
+
}
|
|
713
|
+
.Toastify__toast-container--top-center {
|
|
714
|
+
top: var(--toastify-toast-top);
|
|
715
|
+
left: 50%;
|
|
716
|
+
transform: translateX(-50%);
|
|
717
|
+
align-items: center;
|
|
718
|
+
}
|
|
719
|
+
.Toastify__toast-container--top-right {
|
|
720
|
+
top: var(--toastify-toast-top);
|
|
721
|
+
right: var(--toastify-toast-right);
|
|
722
|
+
align-items: end;
|
|
723
|
+
}
|
|
724
|
+
.Toastify__toast-container--bottom-left {
|
|
725
|
+
bottom: var(--toastify-toast-bottom);
|
|
726
|
+
left: var(--toastify-toast-left);
|
|
727
|
+
}
|
|
728
|
+
.Toastify__toast-container--bottom-center {
|
|
729
|
+
bottom: var(--toastify-toast-bottom);
|
|
730
|
+
left: 50%;
|
|
731
|
+
transform: translateX(-50%);
|
|
732
|
+
align-items: center;
|
|
733
|
+
}
|
|
734
|
+
.Toastify__toast-container--bottom-right {
|
|
735
|
+
bottom: var(--toastify-toast-bottom);
|
|
736
|
+
right: var(--toastify-toast-right);
|
|
737
|
+
align-items: end;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.Toastify__toast {
|
|
741
|
+
--y: 0px;
|
|
742
|
+
position: relative;
|
|
743
|
+
touch-action: none;
|
|
744
|
+
width: var(--toastify-toast-width);
|
|
745
|
+
min-height: var(--toastify-toast-min-height);
|
|
746
|
+
box-sizing: border-box;
|
|
747
|
+
margin-bottom: 1rem;
|
|
748
|
+
padding: var(--toastify-toast-padding);
|
|
749
|
+
border-radius: var(--toastify-toast-bd-radius);
|
|
750
|
+
box-shadow: var(--toastify-toast-shadow);
|
|
751
|
+
max-height: var(--toastify-toast-max-height);
|
|
752
|
+
font-family: var(--toastify-font-family);
|
|
753
|
+
/* webkit only issue #791 */
|
|
754
|
+
z-index: 0;
|
|
755
|
+
/* inner swag */
|
|
756
|
+
display: flex;
|
|
757
|
+
flex: 1 auto;
|
|
758
|
+
align-items: center;
|
|
759
|
+
word-break: break-word;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
@media only screen and (max-width: 480px) {
|
|
763
|
+
.Toastify__toast-container {
|
|
764
|
+
width: 100vw;
|
|
765
|
+
left: env(safe-area-inset-left);
|
|
766
|
+
margin: 0;
|
|
767
|
+
}
|
|
768
|
+
.Toastify__toast-container--top-left,
|
|
769
|
+
.Toastify__toast-container--top-center,
|
|
770
|
+
.Toastify__toast-container--top-right {
|
|
771
|
+
top: env(safe-area-inset-top);
|
|
772
|
+
transform: translateX(0);
|
|
773
|
+
}
|
|
774
|
+
.Toastify__toast-container--bottom-left,
|
|
775
|
+
.Toastify__toast-container--bottom-center,
|
|
776
|
+
.Toastify__toast-container--bottom-right {
|
|
777
|
+
bottom: env(safe-area-inset-bottom);
|
|
778
|
+
transform: translateX(0);
|
|
779
|
+
}
|
|
780
|
+
.Toastify__toast-container--rtl {
|
|
781
|
+
right: env(safe-area-inset-right);
|
|
782
|
+
left: initial;
|
|
783
|
+
}
|
|
784
|
+
.Toastify__toast {
|
|
785
|
+
--toastify-toast-width: 100%;
|
|
786
|
+
margin-bottom: 0;
|
|
787
|
+
border-radius: 0;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.Toastify__toast-container[data-stacked='true'] {
|
|
792
|
+
width: var(--toastify-toast-width);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
@media only screen and (max-width: 480px) {
|
|
796
|
+
.Toastify__toast-container[data-stacked='true'] {
|
|
797
|
+
width: 100vw;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.Toastify__toast--stacked {
|
|
802
|
+
position: absolute;
|
|
803
|
+
width: 100%;
|
|
804
|
+
transform: translate3d(0, var(--y), 0) scale(var(--s));
|
|
805
|
+
transition: transform 0.3s;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
|
|
809
|
+
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
|
|
810
|
+
transition: opacity 0.1s;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.Toastify__toast--stacked[data-collapsed='false'] {
|
|
814
|
+
overflow: visible;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
|
|
818
|
+
opacity: 0;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.Toastify__toast--stacked:after {
|
|
822
|
+
content: '';
|
|
823
|
+
position: absolute;
|
|
824
|
+
left: 0;
|
|
825
|
+
right: 0;
|
|
826
|
+
height: calc(var(--g) * 1px);
|
|
827
|
+
bottom: 100%;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.Toastify__toast--stacked[data-pos='top'] {
|
|
831
|
+
top: 0;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.Toastify__toast--stacked[data-pos='bot'] {
|
|
835
|
+
bottom: 0;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
|
|
839
|
+
transform-origin: top;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
|
|
843
|
+
transform-origin: bottom;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.Toastify__toast--stacked:before {
|
|
847
|
+
content: '';
|
|
848
|
+
position: absolute;
|
|
849
|
+
left: 0;
|
|
850
|
+
right: 0;
|
|
851
|
+
bottom: 0;
|
|
852
|
+
height: 100%;
|
|
853
|
+
transform: scaleY(3);
|
|
854
|
+
z-index: -1;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.Toastify__toast--rtl {
|
|
858
|
+
direction: rtl;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.Toastify__toast--close-on-click {
|
|
862
|
+
cursor: pointer;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.Toastify__toast-icon {
|
|
866
|
+
margin-inline-end: 10px;
|
|
867
|
+
width: 22px;
|
|
868
|
+
flex-shrink: 0;
|
|
869
|
+
display: flex;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.Toastify--animate {
|
|
873
|
+
animation-fill-mode: both;
|
|
874
|
+
animation-duration: 0.5s;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.Toastify--animate-icon {
|
|
878
|
+
animation-fill-mode: both;
|
|
879
|
+
animation-duration: 0.3s;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.Toastify__toast-theme--dark {
|
|
883
|
+
background: var(--toastify-color-dark);
|
|
884
|
+
color: var(--toastify-text-color-dark);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.Toastify__toast-theme--light {
|
|
888
|
+
background: var(--toastify-color-light);
|
|
889
|
+
color: var(--toastify-text-color-light);
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.Toastify__toast-theme--colored.Toastify__toast--default {
|
|
893
|
+
background: var(--toastify-color-light);
|
|
894
|
+
color: var(--toastify-text-color-light);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.Toastify__toast-theme--colored.Toastify__toast--info {
|
|
898
|
+
color: var(--toastify-text-color-info);
|
|
899
|
+
background: var(--toastify-color-info);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.Toastify__toast-theme--colored.Toastify__toast--success {
|
|
903
|
+
color: var(--toastify-text-color-success);
|
|
904
|
+
background: var(--toastify-color-success);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.Toastify__toast-theme--colored.Toastify__toast--warning {
|
|
908
|
+
color: var(--toastify-text-color-warning);
|
|
909
|
+
background: var(--toastify-color-warning);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.Toastify__toast-theme--colored.Toastify__toast--error {
|
|
913
|
+
color: var(--toastify-text-color-error);
|
|
914
|
+
background: var(--toastify-color-error);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.Toastify__progress-bar-theme--light {
|
|
918
|
+
background: var(--toastify-color-progress-light);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.Toastify__progress-bar-theme--dark {
|
|
922
|
+
background: var(--toastify-color-progress-dark);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.Toastify__progress-bar--info {
|
|
926
|
+
background: var(--toastify-color-progress-info);
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.Toastify__progress-bar--success {
|
|
930
|
+
background: var(--toastify-color-progress-success);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.Toastify__progress-bar--warning {
|
|
934
|
+
background: var(--toastify-color-progress-warning);
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.Toastify__progress-bar--error {
|
|
938
|
+
background: var(--toastify-color-progress-error);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
|
|
942
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
|
|
943
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
|
|
944
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
|
|
945
|
+
background: var(--toastify-color-transparent);
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.Toastify__close-button {
|
|
949
|
+
color: #fff;
|
|
950
|
+
position: absolute;
|
|
951
|
+
top: 6px;
|
|
952
|
+
right: 6px;
|
|
953
|
+
background: transparent;
|
|
954
|
+
outline: none;
|
|
955
|
+
border: none;
|
|
956
|
+
padding: 0;
|
|
957
|
+
cursor: pointer;
|
|
958
|
+
opacity: 0.7;
|
|
959
|
+
transition: 0.3s ease;
|
|
960
|
+
z-index: 1;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.Toastify__toast--rtl .Toastify__close-button {
|
|
964
|
+
left: 6px;
|
|
965
|
+
right: unset;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.Toastify__close-button--light {
|
|
969
|
+
color: #000;
|
|
970
|
+
opacity: 0.3;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.Toastify__close-button > svg {
|
|
974
|
+
fill: currentColor;
|
|
975
|
+
height: 16px;
|
|
976
|
+
width: 14px;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.Toastify__close-button:hover,
|
|
980
|
+
.Toastify__close-button:focus {
|
|
981
|
+
opacity: 1;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
@keyframes Toastify__trackProgress {
|
|
985
|
+
0% {
|
|
986
|
+
transform: scaleX(1);
|
|
987
|
+
}
|
|
988
|
+
100% {
|
|
989
|
+
transform: scaleX(0);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.Toastify__progress-bar {
|
|
994
|
+
position: absolute;
|
|
995
|
+
bottom: 0;
|
|
996
|
+
left: 0;
|
|
997
|
+
width: 100%;
|
|
998
|
+
height: 100%;
|
|
999
|
+
z-index: 1;
|
|
1000
|
+
opacity: 0.7;
|
|
1001
|
+
transform-origin: left;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.Toastify__progress-bar--animated {
|
|
1005
|
+
animation: Toastify__trackProgress linear 1 forwards;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.Toastify__progress-bar--controlled {
|
|
1009
|
+
transition: transform 0.2s;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.Toastify__progress-bar--rtl {
|
|
1013
|
+
right: 0;
|
|
1014
|
+
left: initial;
|
|
1015
|
+
transform-origin: right;
|
|
1016
|
+
border-bottom-left-radius: initial;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.Toastify__progress-bar--wrp {
|
|
1020
|
+
position: absolute;
|
|
1021
|
+
overflow: hidden;
|
|
1022
|
+
bottom: 0;
|
|
1023
|
+
left: 0;
|
|
1024
|
+
width: 100%;
|
|
1025
|
+
height: 5px;
|
|
1026
|
+
border-bottom-left-radius: var(--toastify-toast-bd-radius);
|
|
1027
|
+
border-bottom-right-radius: var(--toastify-toast-bd-radius);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.Toastify__progress-bar--wrp[data-hidden='true'] {
|
|
1031
|
+
opacity: 0;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.Toastify__progress-bar--bg {
|
|
1035
|
+
opacity: var(--toastify-color-progress-bgo);
|
|
1036
|
+
width: 100%;
|
|
1037
|
+
height: 100%;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.Toastify__spinner {
|
|
1041
|
+
width: 20px;
|
|
1042
|
+
height: 20px;
|
|
1043
|
+
box-sizing: border-box;
|
|
1044
|
+
border: 2px solid;
|
|
1045
|
+
border-radius: 100%;
|
|
1046
|
+
border-color: var(--toastify-spinner-color-empty-area);
|
|
1047
|
+
border-right-color: var(--toastify-spinner-color);
|
|
1048
|
+
animation: Toastify__spin 0.65s linear infinite;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
@keyframes Toastify__bounceInRight {
|
|
1052
|
+
from,
|
|
1053
|
+
60%,
|
|
1054
|
+
75%,
|
|
1055
|
+
90%,
|
|
1056
|
+
to {
|
|
1057
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1058
|
+
}
|
|
1059
|
+
from {
|
|
1060
|
+
opacity: 0;
|
|
1061
|
+
transform: translate3d(3000px, 0, 0);
|
|
1062
|
+
}
|
|
1063
|
+
60% {
|
|
1064
|
+
opacity: 1;
|
|
1065
|
+
transform: translate3d(-25px, 0, 0);
|
|
1066
|
+
}
|
|
1067
|
+
75% {
|
|
1068
|
+
transform: translate3d(10px, 0, 0);
|
|
1069
|
+
}
|
|
1070
|
+
90% {
|
|
1071
|
+
transform: translate3d(-5px, 0, 0);
|
|
1072
|
+
}
|
|
1073
|
+
to {
|
|
1074
|
+
transform: none;
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
@keyframes Toastify__bounceOutRight {
|
|
1079
|
+
20% {
|
|
1080
|
+
opacity: 1;
|
|
1081
|
+
transform: translate3d(-20px, var(--y), 0);
|
|
1082
|
+
}
|
|
1083
|
+
to {
|
|
1084
|
+
opacity: 0;
|
|
1085
|
+
transform: translate3d(2000px, var(--y), 0);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
@keyframes Toastify__bounceInLeft {
|
|
1090
|
+
from,
|
|
1091
|
+
60%,
|
|
1092
|
+
75%,
|
|
1093
|
+
90%,
|
|
1094
|
+
to {
|
|
1095
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1096
|
+
}
|
|
1097
|
+
0% {
|
|
1098
|
+
opacity: 0;
|
|
1099
|
+
transform: translate3d(-3000px, 0, 0);
|
|
1100
|
+
}
|
|
1101
|
+
60% {
|
|
1102
|
+
opacity: 1;
|
|
1103
|
+
transform: translate3d(25px, 0, 0);
|
|
1104
|
+
}
|
|
1105
|
+
75% {
|
|
1106
|
+
transform: translate3d(-10px, 0, 0);
|
|
1107
|
+
}
|
|
1108
|
+
90% {
|
|
1109
|
+
transform: translate3d(5px, 0, 0);
|
|
1110
|
+
}
|
|
1111
|
+
to {
|
|
1112
|
+
transform: none;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
@keyframes Toastify__bounceOutLeft {
|
|
1117
|
+
20% {
|
|
1118
|
+
opacity: 1;
|
|
1119
|
+
transform: translate3d(20px, var(--y), 0);
|
|
1120
|
+
}
|
|
1121
|
+
to {
|
|
1122
|
+
opacity: 0;
|
|
1123
|
+
transform: translate3d(-2000px, var(--y), 0);
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
@keyframes Toastify__bounceInUp {
|
|
1128
|
+
from,
|
|
1129
|
+
60%,
|
|
1130
|
+
75%,
|
|
1131
|
+
90%,
|
|
1132
|
+
to {
|
|
1133
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1134
|
+
}
|
|
1135
|
+
from {
|
|
1136
|
+
opacity: 0;
|
|
1137
|
+
transform: translate3d(0, 3000px, 0);
|
|
1138
|
+
}
|
|
1139
|
+
60% {
|
|
1140
|
+
opacity: 1;
|
|
1141
|
+
transform: translate3d(0, -20px, 0);
|
|
1142
|
+
}
|
|
1143
|
+
75% {
|
|
1144
|
+
transform: translate3d(0, 10px, 0);
|
|
1145
|
+
}
|
|
1146
|
+
90% {
|
|
1147
|
+
transform: translate3d(0, -5px, 0);
|
|
1148
|
+
}
|
|
1149
|
+
to {
|
|
1150
|
+
transform: translate3d(0, 0, 0);
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
@keyframes Toastify__bounceOutUp {
|
|
1155
|
+
20% {
|
|
1156
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
|
1157
|
+
}
|
|
1158
|
+
40%,
|
|
1159
|
+
45% {
|
|
1160
|
+
opacity: 1;
|
|
1161
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
|
1162
|
+
}
|
|
1163
|
+
to {
|
|
1164
|
+
opacity: 0;
|
|
1165
|
+
transform: translate3d(0, -2000px, 0);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
@keyframes Toastify__bounceInDown {
|
|
1170
|
+
from,
|
|
1171
|
+
60%,
|
|
1172
|
+
75%,
|
|
1173
|
+
90%,
|
|
1174
|
+
to {
|
|
1175
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1176
|
+
}
|
|
1177
|
+
0% {
|
|
1178
|
+
opacity: 0;
|
|
1179
|
+
transform: translate3d(0, -3000px, 0);
|
|
1180
|
+
}
|
|
1181
|
+
60% {
|
|
1182
|
+
opacity: 1;
|
|
1183
|
+
transform: translate3d(0, 25px, 0);
|
|
1184
|
+
}
|
|
1185
|
+
75% {
|
|
1186
|
+
transform: translate3d(0, -10px, 0);
|
|
1187
|
+
}
|
|
1188
|
+
90% {
|
|
1189
|
+
transform: translate3d(0, 5px, 0);
|
|
1190
|
+
}
|
|
1191
|
+
to {
|
|
1192
|
+
transform: none;
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
@keyframes Toastify__bounceOutDown {
|
|
1197
|
+
20% {
|
|
1198
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
|
1199
|
+
}
|
|
1200
|
+
40%,
|
|
1201
|
+
45% {
|
|
1202
|
+
opacity: 1;
|
|
1203
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
|
1204
|
+
}
|
|
1205
|
+
to {
|
|
1206
|
+
opacity: 0;
|
|
1207
|
+
transform: translate3d(0, 2000px, 0);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.Toastify__bounce-enter--top-left,
|
|
1212
|
+
.Toastify__bounce-enter--bottom-left {
|
|
1213
|
+
animation-name: Toastify__bounceInLeft;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.Toastify__bounce-enter--top-right,
|
|
1217
|
+
.Toastify__bounce-enter--bottom-right {
|
|
1218
|
+
animation-name: Toastify__bounceInRight;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.Toastify__bounce-enter--top-center {
|
|
1222
|
+
animation-name: Toastify__bounceInDown;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.Toastify__bounce-enter--bottom-center {
|
|
1226
|
+
animation-name: Toastify__bounceInUp;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.Toastify__bounce-exit--top-left,
|
|
1230
|
+
.Toastify__bounce-exit--bottom-left {
|
|
1231
|
+
animation-name: Toastify__bounceOutLeft;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.Toastify__bounce-exit--top-right,
|
|
1235
|
+
.Toastify__bounce-exit--bottom-right {
|
|
1236
|
+
animation-name: Toastify__bounceOutRight;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
.Toastify__bounce-exit--top-center {
|
|
1240
|
+
animation-name: Toastify__bounceOutUp;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.Toastify__bounce-exit--bottom-center {
|
|
1244
|
+
animation-name: Toastify__bounceOutDown;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
@keyframes Toastify__zoomIn {
|
|
1248
|
+
from {
|
|
1249
|
+
opacity: 0;
|
|
1250
|
+
transform: scale3d(0.3, 0.3, 0.3);
|
|
1251
|
+
}
|
|
1252
|
+
50% {
|
|
1253
|
+
opacity: 1;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
@keyframes Toastify__zoomOut {
|
|
1258
|
+
from {
|
|
1259
|
+
opacity: 1;
|
|
1260
|
+
}
|
|
1261
|
+
50% {
|
|
1262
|
+
opacity: 0;
|
|
1263
|
+
transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
|
|
1264
|
+
}
|
|
1265
|
+
to {
|
|
1266
|
+
opacity: 0;
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
.Toastify__zoom-enter {
|
|
1271
|
+
animation-name: Toastify__zoomIn;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.Toastify__zoom-exit {
|
|
1275
|
+
animation-name: Toastify__zoomOut;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
@keyframes Toastify__flipIn {
|
|
1279
|
+
from {
|
|
1280
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
1281
|
+
animation-timing-function: ease-in;
|
|
1282
|
+
opacity: 0;
|
|
1283
|
+
}
|
|
1284
|
+
40% {
|
|
1285
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
1286
|
+
animation-timing-function: ease-in;
|
|
1287
|
+
}
|
|
1288
|
+
60% {
|
|
1289
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
|
1290
|
+
opacity: 1;
|
|
1291
|
+
}
|
|
1292
|
+
80% {
|
|
1293
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
|
1294
|
+
}
|
|
1295
|
+
to {
|
|
1296
|
+
transform: perspective(400px);
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
@keyframes Toastify__flipOut {
|
|
1301
|
+
from {
|
|
1302
|
+
transform: translate3d(0, var(--y), 0) perspective(400px);
|
|
1303
|
+
}
|
|
1304
|
+
30% {
|
|
1305
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
1306
|
+
opacity: 1;
|
|
1307
|
+
}
|
|
1308
|
+
to {
|
|
1309
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
1310
|
+
opacity: 0;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.Toastify__flip-enter {
|
|
1315
|
+
animation-name: Toastify__flipIn;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
.Toastify__flip-exit {
|
|
1319
|
+
animation-name: Toastify__flipOut;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
@keyframes Toastify__slideInRight {
|
|
1323
|
+
from {
|
|
1324
|
+
transform: translate3d(110%, 0, 0);
|
|
1325
|
+
visibility: visible;
|
|
1326
|
+
}
|
|
1327
|
+
to {
|
|
1328
|
+
transform: translate3d(0, var(--y), 0);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
@keyframes Toastify__slideInLeft {
|
|
1333
|
+
from {
|
|
1334
|
+
transform: translate3d(-110%, 0, 0);
|
|
1335
|
+
visibility: visible;
|
|
1336
|
+
}
|
|
1337
|
+
to {
|
|
1338
|
+
transform: translate3d(0, var(--y), 0);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
@keyframes Toastify__slideInUp {
|
|
1343
|
+
from {
|
|
1344
|
+
transform: translate3d(0, 110%, 0);
|
|
1345
|
+
visibility: visible;
|
|
1346
|
+
}
|
|
1347
|
+
to {
|
|
1348
|
+
transform: translate3d(0, var(--y), 0);
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
@keyframes Toastify__slideInDown {
|
|
1353
|
+
from {
|
|
1354
|
+
transform: translate3d(0, -110%, 0);
|
|
1355
|
+
visibility: visible;
|
|
1356
|
+
}
|
|
1357
|
+
to {
|
|
1358
|
+
transform: translate3d(0, var(--y), 0);
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
@keyframes Toastify__slideOutRight {
|
|
1363
|
+
from {
|
|
1364
|
+
transform: translate3d(0, var(--y), 0);
|
|
1365
|
+
}
|
|
1366
|
+
to {
|
|
1367
|
+
visibility: hidden;
|
|
1368
|
+
transform: translate3d(110%, var(--y), 0);
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
@keyframes Toastify__slideOutLeft {
|
|
1373
|
+
from {
|
|
1374
|
+
transform: translate3d(0, var(--y), 0);
|
|
1375
|
+
}
|
|
1376
|
+
to {
|
|
1377
|
+
visibility: hidden;
|
|
1378
|
+
transform: translate3d(-110%, var(--y), 0);
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
@keyframes Toastify__slideOutDown {
|
|
1383
|
+
from {
|
|
1384
|
+
transform: translate3d(0, var(--y), 0);
|
|
1385
|
+
}
|
|
1386
|
+
to {
|
|
1387
|
+
visibility: hidden;
|
|
1388
|
+
transform: translate3d(0, 500px, 0);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
@keyframes Toastify__slideOutUp {
|
|
1393
|
+
from {
|
|
1394
|
+
transform: translate3d(0, var(--y), 0);
|
|
1395
|
+
}
|
|
1396
|
+
to {
|
|
1397
|
+
visibility: hidden;
|
|
1398
|
+
transform: translate3d(0, -500px, 0);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.Toastify__slide-enter--top-left,
|
|
1403
|
+
.Toastify__slide-enter--bottom-left {
|
|
1404
|
+
animation-name: Toastify__slideInLeft;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.Toastify__slide-enter--top-right,
|
|
1408
|
+
.Toastify__slide-enter--bottom-right {
|
|
1409
|
+
animation-name: Toastify__slideInRight;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.Toastify__slide-enter--top-center {
|
|
1413
|
+
animation-name: Toastify__slideInDown;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.Toastify__slide-enter--bottom-center {
|
|
1417
|
+
animation-name: Toastify__slideInUp;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
.Toastify__slide-exit--top-left,
|
|
1421
|
+
.Toastify__slide-exit--bottom-left {
|
|
1422
|
+
animation-name: Toastify__slideOutLeft;
|
|
1423
|
+
animation-timing-function: ease-in;
|
|
1424
|
+
animation-duration: 0.3s;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.Toastify__slide-exit--top-right,
|
|
1428
|
+
.Toastify__slide-exit--bottom-right {
|
|
1429
|
+
animation-name: Toastify__slideOutRight;
|
|
1430
|
+
animation-timing-function: ease-in;
|
|
1431
|
+
animation-duration: 0.3s;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.Toastify__slide-exit--top-center {
|
|
1435
|
+
animation-name: Toastify__slideOutUp;
|
|
1436
|
+
animation-timing-function: ease-in;
|
|
1437
|
+
animation-duration: 0.3s;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.Toastify__slide-exit--bottom-center {
|
|
1441
|
+
animation-name: Toastify__slideOutDown;
|
|
1442
|
+
animation-timing-function: ease-in;
|
|
1443
|
+
animation-duration: 0.3s;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
@keyframes Toastify__spin {
|
|
1447
|
+
from {
|
|
1448
|
+
transform: rotate(0deg);
|
|
1449
|
+
}
|
|
1450
|
+
to {
|
|
1451
|
+
transform: rotate(360deg);
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
`;
|
|
1455
|
+
var $t = /* @__PURE__ */ new Map(), Rt = (t, o) => {
|
|
1456
|
+
G(() => {
|
|
1457
|
+
if (!t || typeof document == "undefined") return;
|
|
1458
|
+
let e = document, r = $t.get(e);
|
|
1459
|
+
if (r) {
|
|
1460
|
+
o && r.setAttribute("nonce", o);
|
|
1461
|
+
return;
|
|
1462
|
+
}
|
|
1463
|
+
let a = e.createElement("style");
|
|
1464
|
+
a.textContent = t, o && a.setAttribute("nonce", o), e.head.appendChild(a), $t.set(e, a);
|
|
1465
|
+
}, [o]);
|
|
1466
|
+
};
|
|
1467
|
+
function xo(t) {
|
|
1468
|
+
return Rt(Mt, t.nonce), React.createElement(dt, { ...t });
|
|
1469
|
+
}
|
|
1470
|
+
//#endregion
|
|
1471
|
+
export { xo, y };
|