reshaped 2.11.11 → 3.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/CHANGELOG.md +60 -0
- package/bin/cli.js +1 -1
- package/dist/bundle.css +1 -0
- package/dist/bundle.js +27 -0
- package/dist/cjs/cli/theming/index.js +38 -0
- package/dist/cjs/cli/theming/reshaped.config.js +26 -0
- package/dist/cjs/themes/_generator/definitions/figma.js +187 -0
- package/dist/cjs/themes/_generator/definitions/reshaped.js +197 -0
- package/dist/cjs/themes/_generator/definitions/slate.js +13 -0
- package/dist/cjs/themes/_generator/tokens/color/color.types.d.ts +7 -0
- package/dist/cjs/themes/_generator/tokens/font/font.transforms.js +37 -0
- package/dist/cjs/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +4 -0
- package/dist/cjs/themes/_generator/tokens/radius/radius.transforms.d.ts +4 -0
- package/dist/cjs/themes/_generator/tokens/radius/radius.transforms.js +11 -0
- package/dist/cjs/themes/_generator/tokens/radius/radius.types.d.ts +4 -0
- package/dist/cjs/themes/_generator/tokens/transforms.d.ts +12 -0
- package/dist/cjs/themes/_generator/tokens/transforms.js +28 -0
- package/dist/cjs/themes/_generator/tokens/types.d.ts +55 -0
- package/dist/cjs/themes/_generator/tokens/unit/unit.types.d.ts +5 -0
- package/dist/cjs/themes/_generator/transform.js +61 -0
- package/dist/cjs/themes/_generator/types.d.ts +19 -0
- package/dist/cjs/themes/_generator/utilities/color.d.ts +89 -0
- package/dist/cjs/themes/_generator/utilities/color.js +359 -0
- package/dist/cjs/themes/_generator/utilities/generateBackgroundColors.js +57 -0
- package/dist/cjs/themes/_generator/utilities/generateColors.d.ts +11 -0
- package/dist/cjs/themes/_generator/utilities/generateColors.js +177 -0
- package/dist/cjs/themes/_generator/utilities/generateUnits.js +16 -0
- package/dist/cjs/themes/_generator/utilities/mergeDefinitions.js +17 -0
- package/dist/cjs/themes/_generator/utilities/tests/color.test.js +49 -0
- package/dist/cjs/themes/figma/theme.css +1 -0
- package/dist/cjs/themes/index.d.ts +12 -0
- package/dist/cjs/themes/reshaped/theme.css +1 -0
- package/dist/cjs/themes/slate/theme.css +1 -0
- package/dist/cjs/types/config.js +2 -0
- package/dist/cli/theming/index.d.ts +4 -0
- package/dist/cli/theming/index.js +30 -0
- package/dist/cli/theming/reshaped.config.d.ts +3 -0
- package/dist/cli/theming/reshaped.config.js +21 -0
- package/dist/components/Accordion/Accordion.js +14 -0
- package/dist/components/Accordion/Accordion.types.d.ts +39 -0
- package/dist/components/Accordion/AccordionControlled.js +23 -0
- package/dist/components/Accordion/AccordionTrigger.js +24 -0
- package/dist/components/Accordion/AccordionUncontrolled.js +14 -0
- package/dist/components/ActionBar/ActionBar.types.d.ts +10 -0
- package/dist/components/Actionable/Actionable.js +54 -0
- package/dist/components/Actionable/Actionable.types.d.ts +18 -0
- package/dist/components/Alert/Alert.js +25 -0
- package/dist/components/Alert/Alert.module.css +1 -0
- package/dist/components/Alert/Alert.types.d.ts +14 -0
- package/dist/components/Alert/tests/Alert.stories.js +99 -0
- package/dist/components/Autocomplete/Autocomplete.js +72 -0
- package/dist/components/Autocomplete/Autocomplete.types.d.ts +17 -0
- package/dist/components/Avatar/Avatar.js +29 -0
- package/dist/components/Avatar/Avatar.types.d.ts +30 -0
- package/dist/components/Badge/Badge.d.ts +3 -0
- package/dist/components/Badge/Badge.js +24 -0
- package/dist/components/Badge/Badge.module.css +1 -0
- package/dist/components/Badge/Badge.types.d.ts +42 -0
- package/dist/components/Badge/BadgeContainer.js +9 -0
- package/dist/components/Badge/tests/Badge.stories.d.ts +19 -0
- package/dist/components/Badge/tests/Badge.stories.js +247 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +42 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +14 -0
- package/dist/components/Button/Button.js +34 -0
- package/dist/components/Button/Button.module.css +1 -0
- package/dist/components/Button/Button.types.d.ts +33 -0
- package/dist/components/Button/ButtonAligner.js +7 -0
- package/dist/components/Button/ButtonGroup.js +9 -0
- package/dist/components/Button/tests/Button.stories.js +614 -0
- package/dist/components/Calendar/Calendar.js +9 -0
- package/dist/components/Calendar/Calendar.module.css +1 -0
- package/dist/components/Calendar/Calendar.utils.js +110 -0
- package/dist/components/Calendar/CalendarControlled.js +68 -0
- package/dist/components/Calendar/CalendarControls.js +46 -0
- package/dist/components/Calendar/CalendarDate.js +57 -0
- package/dist/components/Calendar/CalendarMonth.js +50 -0
- package/dist/components/Calendar/CalendarUncontrolled.js +19 -0
- package/dist/components/Calendar/CalendarYear.js +43 -0
- package/dist/components/Calendar/useCalendarKeyboardNavigation.js +66 -0
- package/dist/components/Card/Card.d.ts +16 -0
- package/dist/components/Card/Card.js +35 -0
- package/dist/components/Card/Card.module.css +1 -0
- package/dist/components/Card/Card.types.d.ts +16 -0
- package/dist/components/Card/tests/Card.stories.d.ts +31 -0
- package/dist/components/Carousel/Carousel.js +67 -0
- package/dist/components/Carousel/Carousel.types.d.ts +28 -0
- package/dist/components/Carousel/CarouselControl.js +42 -0
- package/dist/components/Checkbox/Checkbox.js +41 -0
- package/dist/components/Checkbox/Checkbox.module.css +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +26 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js +10 -0
- package/dist/components/CheckboxGroup/CheckboxGroupUncontrolled.js +17 -0
- package/dist/components/Container/Container.js +10 -0
- package/dist/components/Container/Container.types.d.ts +9 -0
- package/dist/components/Container/tests/Container.stories.d.ts +13 -0
- package/dist/components/Container/tests/Container.stories.js +42 -0
- package/dist/components/Dismissible/Dismissible.js +12 -0
- package/dist/components/Dismissible/Dismissible.types.d.ts +20 -0
- package/dist/components/Divider/Divider.js +14 -0
- package/dist/components/Divider/Divider.types.d.ts +7 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +75 -0
- package/dist/components/FileUpload/FileUpload.js +47 -0
- package/dist/components/FileUpload/FileUpload.types.d.ts +13 -0
- package/dist/components/FormControl/FormControl.context.d.ts +278 -0
- package/dist/components/FormControl/FormControl.d.ts +11 -0
- package/dist/components/FormControl/FormControlLabel.js +18 -0
- package/dist/components/FormControl/tests/FormControl.stories.d.ts +19 -0
- package/dist/components/Hidden/Hidden.js +9 -0
- package/dist/components/Hidden/Hidden.module.css +1 -0
- package/dist/components/Hidden/Hidden.types.d.ts +8 -0
- package/dist/components/Hidden/tests/Hidden.stories.d.ts +11 -0
- package/dist/components/Hidden/tests/Hidden.stories.js +36 -0
- package/dist/components/Hotkey/Hotkey.module.css +1 -0
- package/dist/components/Hotkey/Hotkey.types.d.ts +8 -0
- package/dist/components/Hotkey/tests/Hotkey.stories.js +38 -0
- package/dist/components/Icon/Icon.js +18 -0
- package/dist/components/Icon/Icon.types.d.ts +10 -0
- package/dist/components/Image/Image.js +41 -0
- package/dist/components/Image/Image.types.d.ts +17 -0
- package/dist/components/Link/Link.d.ts +6 -0
- package/dist/components/Link/Link.module.css +1 -0
- package/dist/components/Link/Link.types.d.ts +7 -0
- package/dist/components/Link/tests/Link.stories.d.ts +19 -0
- package/dist/components/Link/tests/Link.stories.js +72 -0
- package/dist/components/Loader/Loader.js +10 -0
- package/dist/components/Loader/Loader.module.css +1 -0
- package/dist/components/Loader/Loader.types.d.ts +7 -0
- package/dist/components/Loader/tests/Loader.stories.js +39 -0
- package/dist/components/MenuItem/MenuItem.js +17 -0
- package/dist/components/MenuItem/MenuItem.module.css +1 -0
- package/dist/components/MenuItem/MenuItem.types.d.ts +23 -0
- package/dist/components/MenuItem/MenuItemAligner.js +7 -0
- package/dist/components/MenuItem/tests/MenuItem.stories.js +130 -0
- package/dist/components/Modal/Modal.js +174 -0
- package/dist/components/Modal/Modal.module.css +1 -0
- package/dist/components/Modal/Modal.types.d.ts +30 -0
- package/dist/components/Modal/tests/Modal.stories.d.ts +23 -0
- package/dist/components/Modal/tests/Modal.stories.js +206 -0
- package/dist/components/Overlay/Overlay.js +106 -0
- package/dist/components/Overlay/Overlay.module.css +1 -0
- package/dist/components/Overlay/Overlay.types.d.ts +13 -0
- package/dist/components/Pagination/Pagination.js +10 -0
- package/dist/components/Pagination/Pagination.types.d.ts +52 -0
- package/dist/components/Pagination/PaginationControlled.js +48 -0
- package/dist/components/Pagination/PaginationUncontrolled.js +14 -0
- package/dist/components/PinField/PinField.js +10 -0
- package/dist/components/PinField/PinField.types.d.ts +23 -0
- package/dist/components/PinField/PinFieldControlled.js +160 -0
- package/dist/components/PinField/PinFieldUncontrolled.js +14 -0
- package/dist/components/Popover/Popover.js +18 -0
- package/dist/components/Popover/Popover.module.css +1 -0
- package/dist/components/Progress/Progress.js +17 -0
- package/dist/components/Progress/Progress.module.css +1 -0
- package/dist/components/Progress/Progress.types.d.ts +11 -0
- package/dist/components/Progress/tests/Progress.stories.js +66 -0
- package/dist/components/Radio/Radio.js +30 -0
- package/dist/components/Radio/Radio.module.css +1 -0
- package/dist/components/Radio/Radio.types.d.ts +25 -0
- package/dist/components/RadioGroup/RadioGroup.js +10 -0
- package/dist/components/RadioGroup/RadioGroupUncontrolled.js +17 -0
- package/dist/components/Reshaped/Reshaped.css +1 -0
- package/dist/components/Reshaped/Reshaped.js +22 -0
- package/dist/components/Scrim/Scrim.js +10 -0
- package/dist/components/Scrim/Scrim.types.d.ts +11 -0
- package/dist/components/ScrollArea/ScrollArea.js +141 -0
- package/dist/components/ScrollArea/ScrollArea.module.css +1 -0
- package/dist/components/ScrollArea/ScrollArea.types.d.ts +23 -0
- package/dist/components/Select/Select.js +52 -0
- package/dist/components/Select/Select.module.css +1 -0
- package/dist/components/Select/Select.types.d.ts +51 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts +6 -0
- package/dist/components/Slider/Slider.js +15 -0
- package/dist/components/Slider/Slider.module.css +1 -0
- package/dist/components/Slider/Slider.types.d.ts +80 -0
- package/dist/components/Slider/Slider.utilities.js +14 -0
- package/dist/components/Slider/SliderControlled.js +203 -0
- package/dist/components/Slider/SliderUncontrolled.js +33 -0
- package/dist/components/Slider/tests/Slider.stories.js +51 -0
- package/dist/components/Stepper/Stepper.js +30 -0
- package/dist/components/Stepper/Stepper.types.d.ts +26 -0
- package/dist/components/Switch/Switch.js +26 -0
- package/dist/components/Switch/Switch.module.css +1 -0
- package/dist/components/Switch/Switch.types.d.ts +26 -0
- package/dist/components/Switch/tests/Switch.stories.js +63 -0
- package/dist/components/Table/Table.js +50 -0
- package/dist/components/Table/Table.module.css +1 -0
- package/dist/components/Tabs/Tabs.js +16 -0
- package/dist/components/Tabs/Tabs.module.css +1 -0
- package/dist/components/Tabs/Tabs.types.d.ts +61 -0
- package/dist/components/Tabs/TabsContext.d.ts +23 -0
- package/dist/components/Tabs/TabsContext.js +12 -0
- package/dist/components/Tabs/TabsItem.js +63 -0
- package/dist/components/Tabs/TabsList.js +156 -0
- package/dist/components/Tabs/TabsUncontrolled.js +19 -0
- package/dist/components/Text/Text.js +27 -0
- package/dist/components/Text/Text.types.d.ts +16 -0
- package/dist/components/Text/tests/Text.stories.js +134 -0
- package/dist/components/TextArea/TextArea.js +34 -0
- package/dist/components/TextArea/TextArea.module.css +1 -0
- package/dist/components/TextArea/TextArea.types.d.ts +29 -0
- package/dist/components/TextField/TextField.js +44 -0
- package/dist/components/TextField/TextField.module.css +1 -0
- package/dist/components/TextField/TextField.types.d.ts +42 -0
- package/dist/components/Theme/Theme.context.js +16 -0
- package/dist/components/Theme/Theme.js +60 -0
- package/dist/components/Theme/Theme.types.d.ts +26 -0
- package/dist/components/Theme/useTheme.d.ts +10 -0
- package/dist/components/Theme/useTheme.js +20 -0
- package/dist/components/Timeline/Timeline.js +20 -0
- package/dist/components/Timeline/Timeline.types.d.ts +13 -0
- package/dist/components/Toast/Toast.constants.js +21 -0
- package/dist/components/Toast/Toast.js +44 -0
- package/dist/components/Toast/Toast.module.css +1 -0
- package/dist/components/Toast/Toast.types.d.ts +80 -0
- package/dist/components/Toast/ToastContainer.js +96 -0
- package/dist/components/Toast/ToastProvider.js +77 -0
- package/dist/components/Toast/ToastRegion.js +64 -0
- package/dist/components/Tooltip/Tooltip.module.css +1 -0
- package/dist/components/Tooltip/tests/Tooltip.stories.js +96 -0
- package/dist/components/View/View.d.ts +6 -0
- package/dist/components/View/View.js +169 -0
- package/dist/components/View/tests/View.stories.d.ts +43 -0
- package/dist/components/View/tests/View.stories.js +1090 -0
- package/dist/components/_private/Aligner/Aligner.js +10 -0
- package/dist/components/_private/Aligner/Aligner.types.d.ts +9 -0
- package/dist/components/_private/Expandable/Expandable.js +44 -0
- package/dist/components/_private/Expandable/Expandable.module.css +1 -0
- package/dist/components/_private/Flyout/Flyout.context.d.ts +9 -0
- package/dist/components/_private/Flyout/Flyout.context.js +10 -0
- package/dist/components/_private/Flyout/Flyout.js +14 -0
- package/dist/components/_private/Flyout/Flyout.types.d.ts +112 -0
- package/dist/components/_private/Flyout/FlyoutContent.js +57 -0
- package/dist/components/_private/Flyout/FlyoutControlled.js +240 -0
- package/dist/components/_private/Flyout/FlyoutTrigger.js +38 -0
- package/dist/components/_private/Flyout/FlyoutUncontrolled.js +20 -0
- package/dist/components/_private/Flyout/tests/Flyout.stories.js +183 -0
- package/dist/components/_private/Flyout/useFlyout.js +198 -0
- package/dist/components/_private/HiddenInput/HiddenInput.js +9 -0
- package/dist/components/_private/Portal/Portal.js +34 -0
- package/dist/config/postcss.d.ts +28 -0
- package/dist/config/postcss.js +26 -0
- package/dist/config/tailwind.d.ts +2 -0
- package/dist/config/tailwind.js +83 -0
- package/dist/hooks/_private/useIsDismissible.js +44 -0
- package/dist/hooks/_private/useSingletonHotkeys.js +179 -0
- package/dist/hooks/tests/useHotkeys.stories.js +30 -0
- package/dist/hooks/useHotkeys.js +25 -0
- package/dist/icons/Mic.js +5 -0
- package/dist/styles/radius/radius.module.css +1 -0
- package/dist/tests/themingWithDefinition.js +5 -0
- package/dist/tests/themingWithoutDefinition.js +5 -0
- package/dist/themes/_generator/constants.d.ts +2 -0
- package/dist/themes/_generator/constants.js +8 -0
- package/dist/themes/_generator/definitions/figma.d.ts +3 -0
- package/dist/themes/_generator/definitions/figma.js +185 -0
- package/dist/themes/_generator/definitions/reshaped.d.ts +3 -0
- package/dist/themes/_generator/definitions/reshaped.js +195 -0
- package/dist/themes/_generator/definitions/slate.d.ts +3 -0
- package/dist/themes/_generator/definitions/slate.js +8 -0
- package/dist/themes/_generator/tests/themes.stories.js +242 -0
- package/dist/themes/_generator/tokens/color/color.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/color/color.transforms.js +18 -0
- package/dist/themes/_generator/tokens/color/color.types.d.ts +7 -0
- package/dist/themes/_generator/tokens/duration/duration.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/duration/duration.transforms.js +9 -0
- package/dist/themes/_generator/tokens/duration/duration.types.d.ts +4 -0
- package/dist/themes/_generator/tokens/duration/duration.types.js +1 -0
- package/dist/themes/_generator/tokens/easing/easing.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/easing/easing.transforms.js +9 -0
- package/dist/themes/_generator/tokens/easing/easing.types.d.ts +7 -0
- package/dist/themes/_generator/tokens/easing/easing.types.js +1 -0
- package/dist/themes/_generator/tokens/font/font.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/font/font.transforms.js +35 -0
- package/dist/themes/_generator/tokens/font/font.types.d.ts +10 -0
- package/dist/themes/_generator/tokens/font/font.types.js +1 -0
- package/dist/themes/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/fontFamily/fontFamily.transforms.js +9 -0
- package/dist/themes/_generator/tokens/fontFamily/fontFamily.types.d.ts +4 -0
- package/dist/themes/_generator/tokens/fontFamily/fontFamily.types.js +1 -0
- package/dist/themes/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/fontWeight/fontWeight.transforms.js +9 -0
- package/dist/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +4 -0
- package/dist/themes/_generator/tokens/fontWeight/fontWeight.types.js +1 -0
- package/dist/themes/_generator/tokens/radius/radius.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/radius/radius.transforms.js +9 -0
- package/dist/themes/_generator/tokens/radius/radius.types.d.ts +4 -0
- package/dist/themes/_generator/tokens/radius/radius.types.js +1 -0
- package/dist/themes/_generator/tokens/shadow/shadow.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/shadow/shadow.transforms.js +20 -0
- package/dist/themes/_generator/tokens/shadow/shadow.types.d.ts +13 -0
- package/dist/themes/_generator/tokens/shadow/shadow.types.js +1 -0
- package/dist/themes/_generator/tokens/transforms.d.ts +12 -0
- package/dist/themes/_generator/tokens/transforms.js +22 -0
- package/dist/themes/_generator/tokens/types.d.ts +55 -0
- package/dist/themes/_generator/tokens/types.js +1 -0
- package/dist/themes/_generator/tokens/unit/unit.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/unit/unit.transforms.js +9 -0
- package/dist/themes/_generator/tokens/unit/unit.types.d.ts +5 -0
- package/dist/themes/_generator/tokens/unit/unit.types.js +1 -0
- package/dist/themes/_generator/tokens/viewport/viewport.transforms.d.ts +4 -0
- package/dist/themes/_generator/tokens/viewport/viewport.transforms.js +16 -0
- package/dist/themes/_generator/tokens/viewport/viewport.types.d.ts +9 -0
- package/dist/themes/_generator/tokens/viewport/viewport.types.js +1 -0
- package/dist/themes/_generator/transform.d.ts +7 -0
- package/dist/themes/_generator/transform.js +33 -0
- package/dist/themes/_generator/types.d.ts +19 -0
- package/dist/themes/_generator/types.js +1 -0
- package/dist/themes/_generator/utilities/color.d.ts +89 -0
- package/dist/themes/_generator/utilities/color.js +329 -0
- package/dist/themes/_generator/utilities/css.d.ts +6 -0
- package/dist/themes/_generator/utilities/css.js +44 -0
- package/dist/themes/_generator/utilities/generateBackgroundColors.d.ts +4 -0
- package/dist/themes/_generator/utilities/generateBackgroundColors.js +55 -0
- package/dist/themes/_generator/utilities/generateColors.d.ts +11 -0
- package/dist/themes/_generator/utilities/generateColors.js +175 -0
- package/dist/themes/_generator/utilities/generateUnits.d.ts +4 -0
- package/dist/themes/_generator/utilities/generateUnits.js +14 -0
- package/dist/themes/_generator/utilities/mergeDeep.d.ts +5 -0
- package/dist/themes/_generator/utilities/mergeDeep.js +22 -0
- package/dist/themes/_generator/utilities/mergeDefinitions.d.ts +5 -0
- package/dist/themes/_generator/utilities/mergeDefinitions.js +15 -0
- package/dist/themes/_generator/utilities/resolveTokenReference.d.ts +3 -0
- package/dist/themes/_generator/utilities/resolveTokenReference.js +14 -0
- package/dist/themes/figma/media.css +1 -0
- package/dist/themes/figma/theme.css +1 -0
- package/dist/themes/fragments/twitter/theme.css +1 -0
- package/dist/themes/index.d.ts +12 -0
- package/dist/themes/index.js +10 -0
- package/dist/themes/reshaped/media.css +1 -0
- package/dist/themes/reshaped/theme.css +1 -0
- package/dist/themes/slate/media.css +1 -0
- package/dist/themes/slate/theme.css +1 -0
- package/dist/types/config.d.ts +14 -0
- package/dist/types/config.js +1 -0
- package/dist/types/global.d.ts +29 -0
- package/dist/types/global.js +1 -0
- package/dist/utilities/Chain.js +60 -0
- package/dist/utilities/a11y/TrapFocus.js +130 -0
- package/dist/utilities/a11y/TrapScreenReader.js +40 -0
- package/dist/utilities/a11y/focus.js +89 -0
- package/dist/utilities/a11y/types.js +1 -0
- package/dist/utilities/dom.js +18 -0
- package/dist/utilities/helpers.js +138 -0
- package/dist/utilities/storybook/Example.js +14 -0
- package/dist/utilities/storybook/Placeholder.js +17 -0
- package/dist/utilities/string.d.ts +2 -0
- package/dist/utilities/string.js +6 -0
- package/package.json +41 -27
- package/bin/clean.sh +0 -3
- package/bin/release-copy.sh +0 -8
- package/bin/release-source.sh +0 -20
- package/bundle.css +0 -1
- package/bundle.js +0 -27
- package/cli/theming/index.js +0 -38
- package/cli/theming/reshaped.config.js +0 -25
- package/components/Accordion/Accordion.js +0 -14
- package/components/Accordion/Accordion.types.d.ts +0 -39
- package/components/Accordion/AccordionControlled.js +0 -23
- package/components/Accordion/AccordionTrigger.js +0 -24
- package/components/Accordion/AccordionUncontrolled.js +0 -25
- package/components/ActionBar/ActionBar.types.d.ts +0 -10
- package/components/Actionable/Actionable.js +0 -55
- package/components/Actionable/Actionable.types.d.ts +0 -18
- package/components/Alert/Alert.js +0 -21
- package/components/Alert/Alert.types.d.ts +0 -14
- package/components/Alert/tests/Alert.stories.js +0 -95
- package/components/Autocomplete/Autocomplete.js +0 -78
- package/components/Autocomplete/Autocomplete.types.d.ts +0 -16
- package/components/Avatar/Avatar.js +0 -29
- package/components/Avatar/Avatar.types.d.ts +0 -30
- package/components/Badge/Badge.d.ts +0 -6
- package/components/Badge/Badge.js +0 -19
- package/components/Badge/Badge.module.css +0 -1
- package/components/Badge/Badge.types.d.ts +0 -39
- package/components/Badge/BadgeContainer.js +0 -9
- package/components/Badge/tests/Badge.stories.d.ts +0 -22
- package/components/Badge/tests/Badge.stories.js +0 -242
- package/components/Breadcrumbs/Breadcrumbs.js +0 -42
- package/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
- package/components/Button/Button.js +0 -34
- package/components/Button/Button.module.css +0 -1
- package/components/Button/Button.types.d.ts +0 -33
- package/components/Button/ButtonAligner.js +0 -7
- package/components/Button/ButtonGroup.js +0 -9
- package/components/Button/tests/Button.stories.js +0 -646
- package/components/Calendar/Calendar.js +0 -9
- package/components/Calendar/Calendar.module.css +0 -1
- package/components/Calendar/Calendar.utils.js +0 -110
- package/components/Calendar/CalendarControlled.js +0 -69
- package/components/Calendar/CalendarControls.js +0 -46
- package/components/Calendar/CalendarDate.js +0 -57
- package/components/Calendar/CalendarMonth.js +0 -51
- package/components/Calendar/CalendarUncontrolled.js +0 -30
- package/components/Calendar/CalendarYear.js +0 -44
- package/components/Calendar/useCalendarKeyboardNavigation.js +0 -66
- package/components/Card/Card.d.ts +0 -17
- package/components/Card/Card.js +0 -30
- package/components/Card/Card.module.css +0 -1
- package/components/Card/Card.types.d.ts +0 -16
- package/components/Card/tests/Card.stories.d.ts +0 -31
- package/components/Carousel/Carousel.js +0 -64
- package/components/Carousel/Carousel.types.d.ts +0 -28
- package/components/Carousel/CarouselControl.js +0 -42
- package/components/Checkbox/Checkbox.js +0 -39
- package/components/Checkbox/Checkbox.module.css +0 -1
- package/components/Checkbox/Checkbox.types.d.ts +0 -26
- package/components/CheckboxGroup/CheckboxGroup.js +0 -10
- package/components/CheckboxGroup/CheckboxGroupUncontrolled.js +0 -17
- package/components/Container/Container.js +0 -10
- package/components/Container/Container.types.d.ts +0 -9
- package/components/Container/tests/Container.stories.d.ts +0 -12
- package/components/Container/tests/Container.stories.js +0 -35
- package/components/Dismissible/Dismissible.js +0 -12
- package/components/Dismissible/Dismissible.types.d.ts +0 -20
- package/components/Divider/Divider.js +0 -14
- package/components/Divider/Divider.types.d.ts +0 -7
- package/components/DropdownMenu/DropdownMenu.js +0 -88
- package/components/FileUpload/FileUpload.js +0 -52
- package/components/FileUpload/FileUpload.types.d.ts +0 -13
- package/components/FormControl/FormControl.context.d.ts +0 -278
- package/components/FormControl/FormControl.d.ts +0 -11
- package/components/FormControl/FormControlLabel.js +0 -18
- package/components/FormControl/tests/FormControl.stories.d.ts +0 -19
- package/components/Hidden/Hidden.js +0 -11
- package/components/Hidden/Hidden.module.css +0 -1
- package/components/Hidden/Hidden.types.d.ts +0 -9
- package/components/Hidden/tests/Hidden.stories.d.ts +0 -12
- package/components/Hidden/tests/Hidden.stories.js +0 -46
- package/components/Hotkey/Hotkey.module.css +0 -1
- package/components/Hotkey/Hotkey.types.d.ts +0 -8
- package/components/Hotkey/tests/Hotkey.stories.js +0 -33
- package/components/Icon/Icon.js +0 -18
- package/components/Icon/Icon.types.d.ts +0 -10
- package/components/Image/Image.js +0 -38
- package/components/Image/Image.types.d.ts +0 -19
- package/components/Link/Link.d.ts +0 -6
- package/components/Link/Link.module.css +0 -1
- package/components/Link/Link.types.d.ts +0 -7
- package/components/Link/tests/Link.stories.d.ts +0 -19
- package/components/Link/tests/Link.stories.js +0 -69
- package/components/Loader/Loader.js +0 -10
- package/components/Loader/Loader.module.css +0 -1
- package/components/Loader/Loader.types.d.ts +0 -7
- package/components/Loader/tests/Loader.stories.js +0 -36
- package/components/MenuItem/MenuItem.js +0 -17
- package/components/MenuItem/MenuItem.module.css +0 -1
- package/components/MenuItem/MenuItem.types.d.ts +0 -23
- package/components/MenuItem/MenuItemAligner.js +0 -7
- package/components/MenuItem/tests/MenuItem.stories.js +0 -129
- package/components/Modal/Modal.js +0 -171
- package/components/Modal/Modal.module.css +0 -1
- package/components/Modal/Modal.types.d.ts +0 -29
- package/components/Modal/tests/Modal.stories.d.ts +0 -22
- package/components/Modal/tests/Modal.stories.js +0 -193
- package/components/Overlay/Overlay.js +0 -105
- package/components/Overlay/Overlay.module.css +0 -1
- package/components/Overlay/Overlay.types.d.ts +0 -12
- package/components/Pagination/Pagination.js +0 -10
- package/components/Pagination/Pagination.types.d.ts +0 -52
- package/components/Pagination/PaginationControlled.js +0 -48
- package/components/Pagination/PaginationUncontrolled.js +0 -25
- package/components/PinField/PinField.js +0 -10
- package/components/PinField/PinField.types.d.ts +0 -23
- package/components/PinField/PinFieldControlled.js +0 -161
- package/components/PinField/PinFieldUncontrolled.js +0 -25
- package/components/Popover/Popover.js +0 -19
- package/components/Popover/Popover.module.css +0 -1
- package/components/Progress/Progress.js +0 -17
- package/components/Progress/Progress.module.css +0 -1
- package/components/Progress/Progress.types.d.ts +0 -11
- package/components/Progress/tests/Progress.stories.js +0 -66
- package/components/Radio/Radio.js +0 -30
- package/components/Radio/Radio.module.css +0 -1
- package/components/Radio/Radio.types.d.ts +0 -25
- package/components/RadioGroup/RadioGroup.js +0 -10
- package/components/RadioGroup/RadioGroupUncontrolled.js +0 -17
- package/components/Reshaped/Reshaped.css +0 -1
- package/components/Reshaped/Reshaped.js +0 -22
- package/components/Scrim/Scrim.js +0 -10
- package/components/Scrim/Scrim.types.d.ts +0 -11
- package/components/ScrollArea/ScrollArea.js +0 -139
- package/components/ScrollArea/ScrollArea.module.css +0 -1
- package/components/ScrollArea/ScrollArea.types.d.ts +0 -23
- package/components/Select/Select.js +0 -49
- package/components/Select/Select.module.css +0 -1
- package/components/Select/Select.types.d.ts +0 -49
- package/components/Skeleton/Skeleton.types.d.ts +0 -6
- package/components/Slider/Slider.js +0 -26
- package/components/Slider/Slider.module.css +0 -1
- package/components/Slider/Slider.types.d.ts +0 -80
- package/components/Slider/Slider.utilities.js +0 -14
- package/components/Slider/SliderControlled.js +0 -209
- package/components/Slider/SliderUncontrolled.js +0 -33
- package/components/Slider/tests/Slider.stories.js +0 -52
- package/components/Stepper/Stepper.js +0 -30
- package/components/Stepper/Stepper.types.d.ts +0 -26
- package/components/Switch/Switch.js +0 -27
- package/components/Switch/Switch.module.css +0 -1
- package/components/Switch/Switch.types.d.ts +0 -26
- package/components/Switch/tests/Switch.stories.js +0 -60
- package/components/Table/Table.js +0 -45
- package/components/Table/Table.module.css +0 -1
- package/components/Tabs/Tabs.js +0 -16
- package/components/Tabs/Tabs.module.css +0 -1
- package/components/Tabs/Tabs.types.d.ts +0 -61
- package/components/Tabs/TabsContext.d.ts +0 -23
- package/components/Tabs/TabsContext.js +0 -19
- package/components/Tabs/TabsItem.js +0 -61
- package/components/Tabs/TabsList.js +0 -153
- package/components/Tabs/TabsUncontrolled.js +0 -19
- package/components/Text/Text.js +0 -24
- package/components/Text/Text.types.d.ts +0 -16
- package/components/Text/tests/Text.stories.js +0 -134
- package/components/TextArea/TextArea.js +0 -35
- package/components/TextArea/TextArea.module.css +0 -1
- package/components/TextArea/TextArea.types.d.ts +0 -29
- package/components/TextField/TextField.js +0 -45
- package/components/TextField/TextField.module.css +0 -1
- package/components/TextField/TextField.types.d.ts +0 -42
- package/components/Theme/Theme.context.js +0 -14
- package/components/Theme/Theme.js +0 -48
- package/components/Theme/Theme.types.d.ts +0 -24
- package/components/Theme/useTheme.d.ts +0 -8
- package/components/Theme/useTheme.js +0 -18
- package/components/Timeline/Timeline.js +0 -20
- package/components/Timeline/Timeline.types.d.ts +0 -13
- package/components/Toast/Toast.constants.js +0 -21
- package/components/Toast/Toast.js +0 -44
- package/components/Toast/Toast.module.css +0 -1
- package/components/Toast/Toast.types.d.ts +0 -80
- package/components/Toast/ToastContainer.js +0 -96
- package/components/Toast/ToastProvider.js +0 -85
- package/components/Toast/ToastRegion.js +0 -64
- package/components/Tooltip/Tooltip.module.css +0 -1
- package/components/Tooltip/tests/Tooltip.stories.js +0 -84
- package/components/View/View.d.ts +0 -6
- package/components/View/View.js +0 -152
- package/components/View/tests/View.stories.d.ts +0 -43
- package/components/View/tests/View.stories.js +0 -1090
- package/components/_private/Aligner/Aligner.js +0 -10
- package/components/_private/Aligner/Aligner.types.d.ts +0 -9
- package/components/_private/Expandable/Expandable.js +0 -27
- package/components/_private/Expandable/Expandable.module.css +0 -1
- package/components/_private/Flyout/Flyout.context.d.ts +0 -6
- package/components/_private/Flyout/Flyout.context.js +0 -6
- package/components/_private/Flyout/Flyout.js +0 -14
- package/components/_private/Flyout/Flyout.types.d.ts +0 -111
- package/components/_private/Flyout/FlyoutContent.js +0 -54
- package/components/_private/Flyout/FlyoutControlled.js +0 -238
- package/components/_private/Flyout/FlyoutTrigger.js +0 -38
- package/components/_private/Flyout/FlyoutUncontrolled.js +0 -20
- package/components/_private/Flyout/tests/Flyout.stories.js +0 -183
- package/components/_private/Flyout/useFlyout.js +0 -186
- package/components/_private/HiddenInput/HiddenInput.js +0 -9
- package/components/_private/Portal/Portal.js +0 -34
- package/hooks/_private/useIsDismissible.js +0 -45
- package/hooks/_private/useSingletonHotkeys.js +0 -183
- package/hooks/tests/useHotkeys.stories.js +0 -24
- package/hooks/useHotkeys.js +0 -25
- package/icons/Mic.js +0 -5
- package/styles/radius/radius.module.css +0 -1
- package/themes/_generator/definitions/figma.js +0 -186
- package/themes/_generator/definitions/reshaped.js +0 -160
- package/themes/_generator/definitions/slate.js +0 -80
- package/themes/_generator/tests/themes.stories.js +0 -180
- package/themes/_generator/tokens/color/color.types.d.ts +0 -7
- package/themes/_generator/tokens/font/font.transforms.js +0 -36
- package/themes/_generator/tokens/fontWeight/fontWeight.types.d.ts +0 -4
- package/themes/_generator/tokens/transforms.d.ts +0 -11
- package/themes/_generator/tokens/transforms.js +0 -26
- package/themes/_generator/tokens/types.d.ts +0 -52
- package/themes/_generator/tokens/unit/unit.types.d.ts +0 -7
- package/themes/_generator/transform.js +0 -62
- package/themes/_generator/types.d.ts +0 -15
- package/themes/_generator/utilities/color.d.ts +0 -90
- package/themes/_generator/utilities/color.js +0 -364
- package/themes/_generator/utilities/generateBackgroundColors.js +0 -53
- package/themes/_generator/utilities/generateColors.d.ts +0 -11
- package/themes/_generator/utilities/generateColors.js +0 -131
- package/themes/_generator/utilities/generateUnits.js +0 -17
- package/themes/_generator/utilities/mergeDefinitions.js +0 -17
- package/themes/_generator/utilities/tests/color.test.js +0 -63
- package/themes/_generator/utilities/tests/generateColors.test.js +0 -20
- package/themes/figma/theme.css +0 -1
- package/themes/index.d.ts +0 -12
- package/themes/reshaped/theme.css +0 -1
- package/themes/slate/theme.css +0 -1
- package/types/global.d.ts +0 -29
- package/utilities/Chain.js +0 -63
- package/utilities/a11y/TrapFocus.js +0 -127
- package/utilities/a11y/TrapScreenReader.js +0 -39
- package/utilities/a11y/focus.js +0 -90
- package/utilities/dom.js +0 -18
- package/utilities/helpers.js +0 -135
- package/utilities/storybook/Example.js +0 -14
- package/utilities/storybook/Placeholder.js +0 -17
- /package/{bundle.d.ts → dist/bundle.d.ts} +0 -0
- /package/{cli → dist/cjs/cli}/theming/index.d.ts +0 -0
- /package/{cli → dist/cjs/cli}/theming/reshaped.config.d.ts +0 -0
- /package/{config → dist/cjs/config}/postcss.d.ts +0 -0
- /package/{config → dist/cjs/config}/postcss.js +0 -0
- /package/{config → dist/cjs/config}/tailwind.d.ts +0 -0
- /package/{config → dist/cjs/config}/tailwind.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/constants.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/constants.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/definitions/figma.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/definitions/reshaped.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/definitions/slate.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/color/color.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.types.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/duration/duration.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.types.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/easing/easing.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.types.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/font/font.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.types.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontFamily/fontFamily.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/fontWeight/fontWeight.types.js +0 -0
- /package/{themes/_generator/tokens/shadow/shadow.types.js → dist/cjs/themes/_generator/tokens/radius/radius.types.js} +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/shadow/shadow.types.d.ts +0 -0
- /package/{themes/_generator/tokens/types.js → dist/cjs/themes/_generator/tokens/shadow/shadow.types.js} +0 -0
- /package/{themes/_generator → dist/cjs/themes/_generator/tokens}/types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/unit/unit.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.transforms.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.transforms.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.types.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/tokens/viewport/viewport.types.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/transform.d.ts +0 -0
- /package/{types/config.js → dist/cjs/themes/_generator/types.js} +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/css.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/css.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/generateBackgroundColors.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/generateUnits.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDeep.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDeep.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/mergeDefinitions.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/resolveTokenReference.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/resolveTokenReference.js +0 -0
- /package/{themes → dist/cjs/themes}/_generator/utilities/tests/color.test.d.ts +0 -0
- /package/{themes → dist/cjs/themes}/figma/media.css +0 -0
- /package/{themes → dist/cjs/themes}/fragments/twitter/theme.css +0 -0
- /package/{themes → dist/cjs/themes}/index.js +0 -0
- /package/{themes → dist/cjs/themes}/reshaped/media.css +0 -0
- /package/{themes → dist/cjs/themes}/slate/media.css +0 -0
- /package/{types → dist/cjs/types}/config.d.ts +0 -0
- /package/{utilities → dist/cjs/utilities}/string.d.ts +0 -0
- /package/{utilities → dist/cjs/utilities}/string.js +0 -0
- /package/{components → dist/components}/Accordion/Accordion.context.d.ts +0 -0
- /package/{components → dist/components}/Accordion/Accordion.context.js +0 -0
- /package/{components → dist/components}/Accordion/Accordion.d.ts +0 -0
- /package/{components → dist/components}/Accordion/Accordion.module.css +0 -0
- /package/{components → dist/components}/Accordion/Accordion.types.js +0 -0
- /package/{components → dist/components}/Accordion/AccordionContent.d.ts +0 -0
- /package/{components → dist/components}/Accordion/AccordionContent.js +0 -0
- /package/{components → dist/components}/Accordion/AccordionControlled.d.ts +0 -0
- /package/{components → dist/components}/Accordion/AccordionTrigger.d.ts +0 -0
- /package/{components → dist/components}/Accordion/AccordionUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/Accordion/index.d.ts +0 -0
- /package/{components → dist/components}/Accordion/index.js +0 -0
- /package/{components → dist/components}/Accordion/tests/Accordion.stories.d.ts +0 -0
- /package/{components → dist/components}/Accordion/tests/Accordion.stories.js +0 -0
- /package/{components → dist/components}/ActionBar/ActionBar.d.ts +0 -0
- /package/{components → dist/components}/ActionBar/ActionBar.js +0 -0
- /package/{components → dist/components}/ActionBar/ActionBar.module.css +0 -0
- /package/{components → dist/components}/ActionBar/ActionBar.types.js +0 -0
- /package/{components → dist/components}/ActionBar/index.d.ts +0 -0
- /package/{components → dist/components}/ActionBar/index.js +0 -0
- /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.d.ts +0 -0
- /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.js +0 -0
- /package/{components → dist/components}/Actionable/Actionable.d.ts +0 -0
- /package/{components → dist/components}/Actionable/Actionable.module.css +0 -0
- /package/{components → dist/components}/Actionable/Actionable.types.js +0 -0
- /package/{components → dist/components}/Actionable/index.d.ts +0 -0
- /package/{components → dist/components}/Actionable/index.js +0 -0
- /package/{components → dist/components}/Actionable/tests/Actionable.stories.d.ts +0 -0
- /package/{components → dist/components}/Actionable/tests/Actionable.stories.js +0 -0
- /package/{components → dist/components}/Alert/Alert.d.ts +0 -0
- /package/{components → dist/components}/Alert/Alert.types.js +0 -0
- /package/{components → dist/components}/Alert/index.d.ts +0 -0
- /package/{components → dist/components}/Alert/index.js +0 -0
- /package/{components → dist/components}/Alert/tests/Alert.stories.d.ts +0 -0
- /package/{components → dist/components}/Autocomplete/Autocomplete.d.ts +0 -0
- /package/{components → dist/components}/Autocomplete/Autocomplete.types.js +0 -0
- /package/{components → dist/components}/Autocomplete/index.d.ts +0 -0
- /package/{components → dist/components}/Autocomplete/index.js +0 -0
- /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.d.ts +0 -0
- /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.js +0 -0
- /package/{components → dist/components}/Avatar/Avatar.d.ts +0 -0
- /package/{components → dist/components}/Avatar/Avatar.module.css +0 -0
- /package/{components → dist/components}/Avatar/Avatar.types.js +0 -0
- /package/{components → dist/components}/Avatar/index.d.ts +0 -0
- /package/{components → dist/components}/Avatar/index.js +0 -0
- /package/{components → dist/components}/Avatar/tests/Avatar.stories.d.ts +0 -0
- /package/{components → dist/components}/Avatar/tests/Avatar.stories.js +0 -0
- /package/{components → dist/components}/Badge/Badge.types.js +0 -0
- /package/{components → dist/components}/Badge/BadgeContainer.d.ts +0 -0
- /package/{components → dist/components}/Badge/index.d.ts +0 -0
- /package/{components → dist/components}/Badge/index.js +0 -0
- /package/{components → dist/components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- /package/{components → dist/components}/Breadcrumbs/Breadcrumbs.types.js +0 -0
- /package/{components → dist/components}/Breadcrumbs/BreadcrumbsItem.d.ts +0 -0
- /package/{components → dist/components}/Breadcrumbs/BreadcrumbsItem.js +0 -0
- /package/{components → dist/components}/Breadcrumbs/index.d.ts +0 -0
- /package/{components → dist/components}/Breadcrumbs/index.js +0 -0
- /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.d.ts +0 -0
- /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.js +0 -0
- /package/{components → dist/components}/Button/Button.d.ts +0 -0
- /package/{components → dist/components}/Button/Button.types.js +0 -0
- /package/{components → dist/components}/Button/ButtonAligner.d.ts +0 -0
- /package/{components → dist/components}/Button/ButtonGroup.d.ts +0 -0
- /package/{components → dist/components}/Button/index.d.ts +0 -0
- /package/{components → dist/components}/Button/index.js +0 -0
- /package/{components → dist/components}/Button/tests/Button.stories.d.ts +0 -0
- /package/{components → dist/components}/Calendar/Calendar.d.ts +0 -0
- /package/{components → dist/components}/Calendar/Calendar.types.d.ts +0 -0
- /package/{components → dist/components}/Calendar/Calendar.types.js +0 -0
- /package/{components → dist/components}/Calendar/Calendar.utils.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarControlled.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarControls.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarDate.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarMonth.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/Calendar/CalendarYear.d.ts +0 -0
- /package/{components → dist/components}/Calendar/index.d.ts +0 -0
- /package/{components → dist/components}/Calendar/index.js +0 -0
- /package/{components → dist/components}/Calendar/tests/Calendar.stories.d.ts +0 -0
- /package/{components → dist/components}/Calendar/tests/Calendar.stories.js +0 -0
- /package/{components → dist/components}/Calendar/useCalendarKeyboardNavigation.d.ts +0 -0
- /package/{components → dist/components}/Card/Card.types.js +0 -0
- /package/{components → dist/components}/Card/index.d.ts +0 -0
- /package/{components → dist/components}/Card/index.js +0 -0
- /package/{components → dist/components}/Card/tests/Card.stories.js +0 -0
- /package/{components → dist/components}/Carousel/Carousel.d.ts +0 -0
- /package/{components → dist/components}/Carousel/Carousel.module.css +0 -0
- /package/{components → dist/components}/Carousel/Carousel.types.js +0 -0
- /package/{components → dist/components}/Carousel/CarouselControl.d.ts +0 -0
- /package/{components → dist/components}/Carousel/index.d.ts +0 -0
- /package/{components → dist/components}/Carousel/index.js +0 -0
- /package/{components → dist/components}/Carousel/tests/Carousel.stories.d.ts +0 -0
- /package/{components → dist/components}/Carousel/tests/Carousel.stories.js +0 -0
- /package/{components → dist/components}/Checkbox/Checkbox.d.ts +0 -0
- /package/{components → dist/components}/Checkbox/Checkbox.types.js +0 -0
- /package/{components → dist/components}/Checkbox/index.d.ts +0 -0
- /package/{components → dist/components}/Checkbox/index.js +0 -0
- /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.d.ts +0 -0
- /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.js +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.js +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.types.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.types.js +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroupControlled.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroupControlled.js +0 -0
- /package/{components → dist/components}/CheckboxGroup/CheckboxGroupUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/index.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/index.js +0 -0
- /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.d.ts +0 -0
- /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.js +0 -0
- /package/{components → dist/components}/Container/Container.d.ts +0 -0
- /package/{components → dist/components}/Container/Container.module.css +0 -0
- /package/{components → dist/components}/Container/Container.types.js +0 -0
- /package/{components → dist/components}/Container/index.d.ts +0 -0
- /package/{components → dist/components}/Container/index.js +0 -0
- /package/{components → dist/components}/Dismissible/Dismissible.d.ts +0 -0
- /package/{components → dist/components}/Dismissible/Dismissible.module.css +0 -0
- /package/{components → dist/components}/Dismissible/Dismissible.types.js +0 -0
- /package/{components → dist/components}/Dismissible/index.d.ts +0 -0
- /package/{components → dist/components}/Dismissible/index.js +0 -0
- /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.d.ts +0 -0
- /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.js +0 -0
- /package/{components → dist/components}/Divider/Divider.d.ts +0 -0
- /package/{components → dist/components}/Divider/Divider.module.css +0 -0
- /package/{components → dist/components}/Divider/Divider.types.js +0 -0
- /package/{components → dist/components}/Divider/index.d.ts +0 -0
- /package/{components → dist/components}/Divider/index.js +0 -0
- /package/{components → dist/components}/Divider/tests/Divider.stories.d.ts +0 -0
- /package/{components → dist/components}/Divider/tests/Divider.stories.js +0 -0
- /package/{components → dist/components}/DropdownMenu/DropdownMenu.d.ts +0 -0
- /package/{components → dist/components}/DropdownMenu/DropdownMenu.module.css +0 -0
- /package/{components → dist/components}/DropdownMenu/DropdownMenu.types.d.ts +0 -0
- /package/{components → dist/components}/DropdownMenu/DropdownMenu.types.js +0 -0
- /package/{components → dist/components}/DropdownMenu/index.d.ts +0 -0
- /package/{components → dist/components}/DropdownMenu/index.js +0 -0
- /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.d.ts +0 -0
- /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.js +0 -0
- /package/{components → dist/components}/FileUpload/FileUpload.d.ts +0 -0
- /package/{components → dist/components}/FileUpload/FileUpload.module.css +0 -0
- /package/{components → dist/components}/FileUpload/FileUpload.types.js +0 -0
- /package/{components → dist/components}/FileUpload/index.d.ts +0 -0
- /package/{components → dist/components}/FileUpload/index.js +0 -0
- /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.d.ts +0 -0
- /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.js +0 -0
- /package/{components → dist/components}/FormControl/FormControl.context.js +0 -0
- /package/{components → dist/components}/FormControl/FormControl.js +0 -0
- /package/{components → dist/components}/FormControl/FormControl.module.css +0 -0
- /package/{components → dist/components}/FormControl/FormControl.types.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControl.types.js +0 -0
- /package/{components → dist/components}/FormControl/FormControl.utilities.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControl.utilities.js +0 -0
- /package/{components → dist/components}/FormControl/FormControlCaption.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControlCaption.js +0 -0
- /package/{components → dist/components}/FormControl/FormControlClient.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControlClient.js +0 -0
- /package/{components → dist/components}/FormControl/FormControlError.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControlError.js +0 -0
- /package/{components → dist/components}/FormControl/FormControlHelper.d.ts +0 -0
- /package/{components → dist/components}/FormControl/FormControlHelper.js +0 -0
- /package/{components → dist/components}/FormControl/FormControlLabel.d.ts +0 -0
- /package/{components → dist/components}/FormControl/index.d.ts +0 -0
- /package/{components → dist/components}/FormControl/index.js +0 -0
- /package/{components → dist/components}/FormControl/tests/FormControl.stories.js +0 -0
- /package/{components → dist/components}/Hidden/Hidden.d.ts +0 -0
- /package/{components → dist/components}/Hidden/Hidden.types.js +0 -0
- /package/{components → dist/components}/Hidden/index.d.ts +0 -0
- /package/{components → dist/components}/Hidden/index.js +0 -0
- /package/{components → dist/components}/HiddenVisually/HiddenVisually.d.ts +0 -0
- /package/{components → dist/components}/HiddenVisually/HiddenVisually.js +0 -0
- /package/{components → dist/components}/HiddenVisually/HiddenVisually.module.css +0 -0
- /package/{components → dist/components}/HiddenVisually/HiddenVisually.types.d.ts +0 -0
- /package/{components → dist/components}/HiddenVisually/HiddenVisually.types.js +0 -0
- /package/{components → dist/components}/HiddenVisually/index.d.ts +0 -0
- /package/{components → dist/components}/HiddenVisually/index.js +0 -0
- /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.d.ts +0 -0
- /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.js +0 -0
- /package/{components → dist/components}/Hotkey/Hotkey.d.ts +0 -0
- /package/{components → dist/components}/Hotkey/Hotkey.js +0 -0
- /package/{components → dist/components}/Hotkey/Hotkey.types.js +0 -0
- /package/{components → dist/components}/Hotkey/index.d.ts +0 -0
- /package/{components → dist/components}/Hotkey/index.js +0 -0
- /package/{components → dist/components}/Hotkey/tests/Hotkey.stories.d.ts +0 -0
- /package/{components → dist/components}/Icon/Icon.d.ts +0 -0
- /package/{components → dist/components}/Icon/Icon.module.css +0 -0
- /package/{components → dist/components}/Icon/Icon.types.js +0 -0
- /package/{components → dist/components}/Icon/index.d.ts +0 -0
- /package/{components → dist/components}/Icon/index.js +0 -0
- /package/{components → dist/components}/Icon/tests/Icon.stories.d.ts +0 -0
- /package/{components → dist/components}/Icon/tests/Icon.stories.js +0 -0
- /package/{components → dist/components}/Image/Image.d.ts +0 -0
- /package/{components → dist/components}/Image/Image.module.css +0 -0
- /package/{components → dist/components}/Image/Image.types.js +0 -0
- /package/{components → dist/components}/Image/index.d.ts +0 -0
- /package/{components → dist/components}/Image/index.js +0 -0
- /package/{components → dist/components}/Image/tests/Image.stories.d.ts +0 -0
- /package/{components → dist/components}/Image/tests/Image.stories.js +0 -0
- /package/{components → dist/components}/Link/Link.js +0 -0
- /package/{components → dist/components}/Link/Link.types.js +0 -0
- /package/{components → dist/components}/Link/index.d.ts +0 -0
- /package/{components → dist/components}/Link/index.js +0 -0
- /package/{components → dist/components}/Loader/Loader.d.ts +0 -0
- /package/{components → dist/components}/Loader/Loader.types.js +0 -0
- /package/{components → dist/components}/Loader/index.d.ts +0 -0
- /package/{components → dist/components}/Loader/index.js +0 -0
- /package/{components → dist/components}/Loader/tests/Loader.stories.d.ts +0 -0
- /package/{components → dist/components}/MenuItem/MenuItem.d.ts +0 -0
- /package/{components → dist/components}/MenuItem/MenuItem.types.js +0 -0
- /package/{components → dist/components}/MenuItem/MenuItemAligner.d.ts +0 -0
- /package/{components → dist/components}/MenuItem/index.d.ts +0 -0
- /package/{components → dist/components}/MenuItem/index.js +0 -0
- /package/{components → dist/components}/MenuItem/tests/MenuItem.stories.d.ts +0 -0
- /package/{components → dist/components}/Modal/Modal.d.ts +0 -0
- /package/{components → dist/components}/Modal/Modal.types.js +0 -0
- /package/{components → dist/components}/Modal/index.d.ts +0 -0
- /package/{components → dist/components}/Modal/index.js +0 -0
- /package/{components → dist/components}/Overlay/Overlay.d.ts +0 -0
- /package/{components → dist/components}/Overlay/Overlay.types.js +0 -0
- /package/{components → dist/components}/Overlay/index.d.ts +0 -0
- /package/{components → dist/components}/Overlay/index.js +0 -0
- /package/{components → dist/components}/Overlay/tests/Overlay.stories.d.ts +0 -0
- /package/{components → dist/components}/Overlay/tests/Overlay.stories.js +0 -0
- /package/{components → dist/components}/Pagination/Pagination.d.ts +0 -0
- /package/{components → dist/components}/Pagination/Pagination.module.css +0 -0
- /package/{components → dist/components}/Pagination/Pagination.types.js +0 -0
- /package/{components → dist/components}/Pagination/PaginationControlled.d.ts +0 -0
- /package/{components → dist/components}/Pagination/PaginationUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/Pagination/index.d.ts +0 -0
- /package/{components → dist/components}/Pagination/index.js +0 -0
- /package/{components → dist/components}/Pagination/tests/Pagination.stories.d.ts +0 -0
- /package/{components → dist/components}/Pagination/tests/Pagination.stories.js +0 -0
- /package/{components → dist/components}/PinField/PinField.constants.d.ts +0 -0
- /package/{components → dist/components}/PinField/PinField.constants.js +0 -0
- /package/{components → dist/components}/PinField/PinField.d.ts +0 -0
- /package/{components → dist/components}/PinField/PinField.module.css +0 -0
- /package/{components → dist/components}/PinField/PinField.types.js +0 -0
- /package/{components → dist/components}/PinField/PinFieldControlled.d.ts +0 -0
- /package/{components → dist/components}/PinField/PinFieldUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/PinField/index.d.ts +0 -0
- /package/{components → dist/components}/PinField/index.js +0 -0
- /package/{components → dist/components}/PinField/tests/PinField.stories.d.ts +0 -0
- /package/{components → dist/components}/PinField/tests/PinField.stories.js +0 -0
- /package/{components → dist/components}/Popover/Popover.d.ts +0 -0
- /package/{components → dist/components}/Popover/Popover.types.d.ts +0 -0
- /package/{components → dist/components}/Popover/Popover.types.js +0 -0
- /package/{components → dist/components}/Popover/index.d.ts +0 -0
- /package/{components → dist/components}/Popover/index.js +0 -0
- /package/{components → dist/components}/Popover/tests/Popover.stories.d.ts +0 -0
- /package/{components → dist/components}/Popover/tests/Popover.stories.js +0 -0
- /package/{components → dist/components}/Progress/Progress.d.ts +0 -0
- /package/{components → dist/components}/Progress/Progress.types.js +0 -0
- /package/{components → dist/components}/Progress/index.d.ts +0 -0
- /package/{components → dist/components}/Progress/index.js +0 -0
- /package/{components → dist/components}/Progress/tests/Progress.stories.d.ts +0 -0
- /package/{components → dist/components}/Radio/Radio.d.ts +0 -0
- /package/{components → dist/components}/Radio/Radio.types.js +0 -0
- /package/{components → dist/components}/Radio/index.d.ts +0 -0
- /package/{components → dist/components}/Radio/index.js +0 -0
- /package/{components → dist/components}/Radio/tests/Radio.stories.d.ts +0 -0
- /package/{components → dist/components}/Radio/tests/Radio.stories.js +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroup.context.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroup.context.js +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroup.types.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroup.types.js +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroupControlled.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroupControlled.js +0 -0
- /package/{components → dist/components}/RadioGroup/RadioGroupUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/index.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/index.js +0 -0
- /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.d.ts +0 -0
- /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.js +0 -0
- /package/{components → dist/components}/Reshaped/Reshaped.d.ts +0 -0
- /package/{components → dist/components}/Reshaped/Reshaped.module.css +0 -0
- /package/{components → dist/components}/Reshaped/Reshaped.types.d.ts +0 -0
- /package/{components → dist/components}/Reshaped/Reshaped.types.js +0 -0
- /package/{components → dist/components}/Reshaped/index.d.ts +0 -0
- /package/{components → dist/components}/Reshaped/index.js +0 -0
- /package/{components → dist/components}/Scrim/Scrim.d.ts +0 -0
- /package/{components → dist/components}/Scrim/Scrim.module.css +0 -0
- /package/{components → dist/components}/Scrim/Scrim.types.js +0 -0
- /package/{components → dist/components}/Scrim/index.d.ts +0 -0
- /package/{components → dist/components}/Scrim/index.js +0 -0
- /package/{components → dist/components}/Scrim/tests/Scrim.stories.d.ts +0 -0
- /package/{components → dist/components}/Scrim/tests/Scrim.stories.js +0 -0
- /package/{components → dist/components}/ScrollArea/ScrollArea.d.ts +0 -0
- /package/{components → dist/components}/ScrollArea/ScrollArea.types.js +0 -0
- /package/{components → dist/components}/ScrollArea/index.d.ts +0 -0
- /package/{components → dist/components}/ScrollArea/index.js +0 -0
- /package/{components → dist/components}/ScrollArea/tests/ScrollArea.stories.d.ts +0 -0
- /package/{components → dist/components}/ScrollArea/tests/ScrollArea.stories.js +0 -0
- /package/{components → dist/components}/Select/Select.d.ts +0 -0
- /package/{components → dist/components}/Select/Select.types.js +0 -0
- /package/{components → dist/components}/Select/index.d.ts +0 -0
- /package/{components → dist/components}/Select/index.js +0 -0
- /package/{components → dist/components}/Select/tests/Select.stories.d.ts +0 -0
- /package/{components → dist/components}/Select/tests/Select.stories.js +0 -0
- /package/{components → dist/components}/Skeleton/Skeleton.d.ts +0 -0
- /package/{components → dist/components}/Skeleton/Skeleton.js +0 -0
- /package/{components → dist/components}/Skeleton/Skeleton.module.css +0 -0
- /package/{components → dist/components}/Skeleton/Skeleton.types.js +0 -0
- /package/{components → dist/components}/Skeleton/index.d.ts +0 -0
- /package/{components → dist/components}/Skeleton/index.js +0 -0
- /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.d.ts +0 -0
- /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.js +0 -0
- /package/{components → dist/components}/Slider/Slider.d.ts +0 -0
- /package/{components → dist/components}/Slider/Slider.types.js +0 -0
- /package/{components → dist/components}/Slider/Slider.utilities.d.ts +0 -0
- /package/{components → dist/components}/Slider/SliderControlled.d.ts +0 -0
- /package/{components → dist/components}/Slider/SliderThumb.d.ts +0 -0
- /package/{components → dist/components}/Slider/SliderThumb.js +0 -0
- /package/{components → dist/components}/Slider/SliderUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/Slider/index.d.ts +0 -0
- /package/{components → dist/components}/Slider/index.js +0 -0
- /package/{components → dist/components}/Slider/tests/Slider.stories.d.ts +0 -0
- /package/{components → dist/components}/Stepper/Stepper.d.ts +0 -0
- /package/{components → dist/components}/Stepper/Stepper.module.css +0 -0
- /package/{components → dist/components}/Stepper/Stepper.types.js +0 -0
- /package/{components → dist/components}/Stepper/index.d.ts +0 -0
- /package/{components → dist/components}/Stepper/index.js +0 -0
- /package/{components → dist/components}/Stepper/tests/Stepper.stories.d.ts +0 -0
- /package/{components → dist/components}/Stepper/tests/Stepper.stories.js +0 -0
- /package/{components → dist/components}/Switch/Switch.d.ts +0 -0
- /package/{components → dist/components}/Switch/Switch.types.js +0 -0
- /package/{components → dist/components}/Switch/index.d.ts +0 -0
- /package/{components → dist/components}/Switch/index.js +0 -0
- /package/{components → dist/components}/Switch/tests/Switch.stories.d.ts +0 -0
- /package/{components → dist/components}/Table/Table.d.ts +0 -0
- /package/{components → dist/components}/Table/Table.types.d.ts +0 -0
- /package/{components → dist/components}/Table/Table.types.js +0 -0
- /package/{components → dist/components}/Table/index.d.ts +0 -0
- /package/{components → dist/components}/Table/index.js +0 -0
- /package/{components → dist/components}/Table/tests/Table.stories.d.ts +0 -0
- /package/{components → dist/components}/Table/tests/Table.stories.js +0 -0
- /package/{components → dist/components}/Tabs/Tabs.d.ts +0 -0
- /package/{components → dist/components}/Tabs/Tabs.types.js +0 -0
- /package/{components → dist/components}/Tabs/TabsControlled.d.ts +0 -0
- /package/{components → dist/components}/Tabs/TabsControlled.js +0 -0
- /package/{components → dist/components}/Tabs/TabsItem.d.ts +0 -0
- /package/{components → dist/components}/Tabs/TabsList.d.ts +0 -0
- /package/{components → dist/components}/Tabs/TabsPanel.d.ts +0 -0
- /package/{components → dist/components}/Tabs/TabsPanel.js +0 -0
- /package/{components → dist/components}/Tabs/TabsUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/Tabs/index.d.ts +0 -0
- /package/{components → dist/components}/Tabs/index.js +0 -0
- /package/{components → dist/components}/Tabs/tests/Tabs.stories.d.ts +0 -0
- /package/{components → dist/components}/Tabs/tests/Tabs.stories.js +0 -0
- /package/{components → dist/components}/Text/Text.d.ts +0 -0
- /package/{components → dist/components}/Text/Text.module.css +0 -0
- /package/{components → dist/components}/Text/Text.types.js +0 -0
- /package/{components → dist/components}/Text/index.d.ts +0 -0
- /package/{components → dist/components}/Text/index.js +0 -0
- /package/{components → dist/components}/Text/tests/Text.stories.d.ts +0 -0
- /package/{components → dist/components}/TextArea/TextArea.d.ts +0 -0
- /package/{components → dist/components}/TextArea/TextArea.types.js +0 -0
- /package/{components → dist/components}/TextArea/index.d.ts +0 -0
- /package/{components → dist/components}/TextArea/index.js +0 -0
- /package/{components → dist/components}/TextArea/tests/TextArea.stories.d.ts +0 -0
- /package/{components → dist/components}/TextArea/tests/TextArea.stories.js +0 -0
- /package/{components → dist/components}/TextField/TextField.d.ts +0 -0
- /package/{components → dist/components}/TextField/TextField.types.js +0 -0
- /package/{components → dist/components}/TextField/index.d.ts +0 -0
- /package/{components → dist/components}/TextField/index.js +0 -0
- /package/{components → dist/components}/TextField/tests/TextField.stories.d.ts +0 -0
- /package/{components → dist/components}/TextField/tests/TextField.stories.js +0 -0
- /package/{components → dist/components}/Theme/GlobalColorMode.d.ts +0 -0
- /package/{components → dist/components}/Theme/GlobalColorMode.js +0 -0
- /package/{components → dist/components}/Theme/Theme.context.d.ts +0 -0
- /package/{components → dist/components}/Theme/Theme.d.ts +0 -0
- /package/{components → dist/components}/Theme/Theme.module.css +0 -0
- /package/{components → dist/components}/Theme/Theme.types.js +0 -0
- /package/{components → dist/components}/Theme/index.d.ts +0 -0
- /package/{components → dist/components}/Theme/index.js +0 -0
- /package/{components → dist/components}/Theme/tests/Theme.stories.d.ts +0 -0
- /package/{components → dist/components}/Theme/tests/Theme.stories.js +0 -0
- /package/{components → dist/components}/Timeline/Timeline.d.ts +0 -0
- /package/{components → dist/components}/Timeline/Timeline.module.css +0 -0
- /package/{components → dist/components}/Timeline/Timeline.types.js +0 -0
- /package/{components → dist/components}/Timeline/index.d.ts +0 -0
- /package/{components → dist/components}/Timeline/index.js +0 -0
- /package/{components → dist/components}/Timeline/tests/Timeline.stories.d.ts +0 -0
- /package/{components → dist/components}/Timeline/tests/Timeline.stories.js +0 -0
- /package/{components → dist/components}/Toast/Toast.constants.d.ts +0 -0
- /package/{components → dist/components}/Toast/Toast.context.d.ts +0 -0
- /package/{components → dist/components}/Toast/Toast.context.js +0 -0
- /package/{components → dist/components}/Toast/Toast.d.ts +0 -0
- /package/{components → dist/components}/Toast/Toast.types.js +0 -0
- /package/{components → dist/components}/Toast/ToastContainer.d.ts +0 -0
- /package/{components → dist/components}/Toast/ToastProvider.d.ts +0 -0
- /package/{components → dist/components}/Toast/ToastRegion.d.ts +0 -0
- /package/{components → dist/components}/Toast/index.d.ts +0 -0
- /package/{components → dist/components}/Toast/index.js +0 -0
- /package/{components → dist/components}/Toast/tests/Toast.stories.d.ts +0 -0
- /package/{components → dist/components}/Toast/tests/Toast.stories.js +0 -0
- /package/{components → dist/components}/Toast/useToast.d.ts +0 -0
- /package/{components → dist/components}/Toast/useToast.js +0 -0
- /package/{components → dist/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/{components → dist/components}/Tooltip/Tooltip.js +0 -0
- /package/{components → dist/components}/Tooltip/Tooltip.types.d.ts +0 -0
- /package/{components → dist/components}/Tooltip/Tooltip.types.js +0 -0
- /package/{components → dist/components}/Tooltip/index.d.ts +0 -0
- /package/{components → dist/components}/Tooltip/index.js +0 -0
- /package/{components → dist/components}/Tooltip/tests/Tooltip.stories.d.ts +0 -0
- /package/{components → dist/components}/View/View.module.css +0 -0
- /package/{components → dist/components}/View/View.types.d.ts +0 -0
- /package/{components → dist/components}/View/View.types.js +0 -0
- /package/{components → dist/components}/View/index.d.ts +0 -0
- /package/{components → dist/components}/View/index.js +0 -0
- /package/{components → dist/components}/_private/Aligner/Aligner.d.ts +0 -0
- /package/{components → dist/components}/_private/Aligner/Aligner.module.css +0 -0
- /package/{components → dist/components}/_private/Aligner/Aligner.types.js +0 -0
- /package/{components → dist/components}/_private/Aligner/index.d.ts +0 -0
- /package/{components → dist/components}/_private/Aligner/index.js +0 -0
- /package/{components → dist/components}/_private/Expandable/Expandable.d.ts +0 -0
- /package/{components → dist/components}/_private/Expandable/Expandable.types.d.ts +0 -0
- /package/{components → dist/components}/_private/Expandable/Expandable.types.js +0 -0
- /package/{components → dist/components}/_private/Expandable/index.d.ts +0 -0
- /package/{components → dist/components}/_private/Expandable/index.js +0 -0
- /package/{components → dist/components}/_private/Flyout/Flyout.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/Flyout.module.css +0 -0
- /package/{components → dist/components}/_private/Flyout/Flyout.types.js +0 -0
- /package/{components → dist/components}/_private/Flyout/FlyoutContent.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/FlyoutControlled.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/FlyoutTrigger.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/FlyoutUncontrolled.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/index.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/index.js +0 -0
- /package/{components → dist/components}/_private/Flyout/tests/Flyout.stories.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/useFlyout.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/utilities/calculatePosition.d.ts +0 -0
- /package/{components → dist/components}/_private/Flyout/utilities/calculatePosition.js +0 -0
- /package/{components → dist/components}/_private/HiddenInput/HiddenInput.d.ts +0 -0
- /package/{components → dist/components}/_private/HiddenInput/HiddenInput.module.css +0 -0
- /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.d.ts +0 -0
- /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.js +0 -0
- /package/{components → dist/components}/_private/HiddenInput/index.d.ts +0 -0
- /package/{components → dist/components}/_private/HiddenInput/index.js +0 -0
- /package/{components → dist/components}/_private/Portal/Portal.d.ts +0 -0
- /package/{components → dist/components}/_private/Portal/Portal.types.d.ts +0 -0
- /package/{components → dist/components}/_private/Portal/Portal.types.js +0 -0
- /package/{components → dist/components}/_private/Portal/index.d.ts +0 -0
- /package/{components → dist/components}/_private/Portal/index.js +0 -0
- /package/{components → dist/components}/_private/Portal/tests/Portal.stories.d.ts +0 -0
- /package/{components → dist/components}/_private/Portal/tests/Portal.stories.js +0 -0
- /package/{constants → dist/constants}/keys.d.ts +0 -0
- /package/{constants → dist/constants}/keys.js +0 -0
- /package/{constants → dist/constants}/timeouts.d.ts +0 -0
- /package/{constants → dist/constants}/timeouts.js +0 -0
- /package/{hooks → dist/hooks}/_private/useIsDismissible.d.ts +0 -0
- /package/{hooks → dist/hooks}/_private/useOnClickOutside.d.ts +0 -0
- /package/{hooks → dist/hooks}/_private/useOnClickOutside.js +0 -0
- /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.d.ts +0 -0
- /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.js +0 -0
- /package/{hooks → dist/hooks}/_private/useSingletonHotkeys.d.ts +0 -0
- /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.d.ts +0 -0
- /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.js +0 -0
- /package/{hooks → dist/hooks}/tests/useHotkeys.stories.d.ts +0 -0
- /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.d.ts +0 -0
- /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.js +0 -0
- /package/{hooks → dist/hooks}/useElementId.d.ts +0 -0
- /package/{hooks → dist/hooks}/useElementId.js +0 -0
- /package/{hooks → dist/hooks}/useHotkeys.d.ts +0 -0
- /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.js +0 -0
- /package/{hooks → dist/hooks}/useRTL.d.ts +0 -0
- /package/{hooks → dist/hooks}/useRTL.js +0 -0
- /package/{hooks → dist/hooks}/useResponsiveClientValue.d.ts +0 -0
- /package/{hooks → dist/hooks}/useResponsiveClientValue.js +0 -0
- /package/{hooks → dist/hooks}/useScrollLock.d.ts +0 -0
- /package/{hooks → dist/hooks}/useScrollLock.js +0 -0
- /package/{hooks → dist/hooks}/useToggle.d.ts +0 -0
- /package/{hooks → dist/hooks}/useToggle.js +0 -0
- /package/{icons → dist/icons}/ArrowUpRight.d.ts +0 -0
- /package/{icons → dist/icons}/ArrowUpRight.js +0 -0
- /package/{icons → dist/icons}/Checkmark.d.ts +0 -0
- /package/{icons → dist/icons}/Checkmark.js +0 -0
- /package/{icons → dist/icons}/ChevronDown.d.ts +0 -0
- /package/{icons → dist/icons}/ChevronDown.js +0 -0
- /package/{icons → dist/icons}/ChevronLeft.d.ts +0 -0
- /package/{icons → dist/icons}/ChevronLeft.js +0 -0
- /package/{icons → dist/icons}/ChevronRight.d.ts +0 -0
- /package/{icons → dist/icons}/ChevronRight.js +0 -0
- /package/{icons → dist/icons}/ChevronVertical.d.ts +0 -0
- /package/{icons → dist/icons}/ChevronVertical.js +0 -0
- /package/{icons → dist/icons}/Close.d.ts +0 -0
- /package/{icons → dist/icons}/Close.js +0 -0
- /package/{icons → dist/icons}/DotsHorizontal.d.ts +0 -0
- /package/{icons → dist/icons}/DotsHorizontal.js +0 -0
- /package/{icons → dist/icons}/Mic.d.ts +0 -0
- /package/{icons → dist/icons}/Zap.d.ts +0 -0
- /package/{icons → dist/icons}/Zap.js +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{styles → dist/styles}/aspectRatio/aspectRatio.module.css +0 -0
- /package/{styles → dist/styles}/aspectRatio/index.d.ts +0 -0
- /package/{styles → dist/styles}/aspectRatio/index.js +0 -0
- /package/{styles → dist/styles}/bleed/bleed.module.css +0 -0
- /package/{styles → dist/styles}/bleed/index.d.ts +0 -0
- /package/{styles → dist/styles}/bleed/index.js +0 -0
- /package/{styles → dist/styles}/height/height.module.css +0 -0
- /package/{styles → dist/styles}/height/index.d.ts +0 -0
- /package/{styles → dist/styles}/height/index.js +0 -0
- /package/{styles → dist/styles}/inset/index.d.ts +0 -0
- /package/{styles → dist/styles}/inset/index.js +0 -0
- /package/{styles → dist/styles}/inset/inset.module.css +0 -0
- /package/{styles → dist/styles}/maxHeight/index.d.ts +0 -0
- /package/{styles → dist/styles}/maxHeight/index.js +0 -0
- /package/{styles → dist/styles}/maxHeight/maxHeight.module.css +0 -0
- /package/{styles → dist/styles}/maxWidth/index.d.ts +0 -0
- /package/{styles → dist/styles}/maxWidth/index.js +0 -0
- /package/{styles → dist/styles}/maxWidth/maxWidth.module.css +0 -0
- /package/{styles → dist/styles}/minHeight/index.d.ts +0 -0
- /package/{styles → dist/styles}/minHeight/index.js +0 -0
- /package/{styles → dist/styles}/minHeight/minHeight.module.css +0 -0
- /package/{styles → dist/styles}/minWidth/index.d.ts +0 -0
- /package/{styles → dist/styles}/minWidth/index.js +0 -0
- /package/{styles → dist/styles}/minWidth/minWidth.module.css +0 -0
- /package/{styles → dist/styles}/padding/index.d.ts +0 -0
- /package/{styles → dist/styles}/padding/index.js +0 -0
- /package/{styles → dist/styles}/padding/padding.module.css +0 -0
- /package/{styles → dist/styles}/position/index.d.ts +0 -0
- /package/{styles → dist/styles}/position/index.js +0 -0
- /package/{styles → dist/styles}/position/position.module.css +0 -0
- /package/{styles → dist/styles}/radius/index.d.ts +0 -0
- /package/{styles → dist/styles}/radius/index.js +0 -0
- /package/{styles → dist/styles}/types.d.ts +0 -0
- /package/{styles → dist/styles}/types.js +0 -0
- /package/{styles → dist/styles}/width/index.d.ts +0 -0
- /package/{styles → dist/styles}/width/index.js +0 -0
- /package/{styles → dist/styles}/width/width.module.css +0 -0
- /package/{themes/_generator/utilities/tests/generateColors.test.d.ts → dist/tests/themingWithDefinition.d.ts} +0 -0
- /package/{types/global.js → dist/tests/themingWithoutDefinition.d.ts} +0 -0
- /package/{themes → dist/themes}/_generator/tests/themes.stories.d.ts +0 -0
- /package/{utilities/a11y/types.js → dist/themes/_generator/tokens/color/color.types.js} +0 -0
- /package/{utilities → dist/utilities}/Chain.d.ts +0 -0
- /package/{utilities → dist/utilities}/a11y/TrapFocus.d.ts +0 -0
- /package/{utilities → dist/utilities}/a11y/TrapScreenReader.d.ts +0 -0
- /package/{utilities → dist/utilities}/a11y/focus.d.ts +0 -0
- /package/{utilities → dist/utilities}/a11y/keyboardMode.d.ts +0 -0
- /package/{utilities → dist/utilities}/a11y/keyboardMode.js +0 -0
- /package/{utilities → dist/utilities}/a11y/types.d.ts +0 -0
- /package/{utilities → dist/utilities}/animation.d.ts +0 -0
- /package/{utilities → dist/utilities}/animation.js +0 -0
- /package/{utilities → dist/utilities}/dom.d.ts +0 -0
- /package/{utilities → dist/utilities}/helpers.d.ts +0 -0
- /package/{utilities → dist/utilities}/storybook/Example.d.ts +0 -0
- /package/{utilities → dist/utilities}/storybook/Example.module.css +0 -0
- /package/{utilities → dist/utilities}/storybook/Placeholder.d.ts +0 -0
- /package/{utilities → dist/utilities}/storybook/index.d.ts +0 -0
- /package/{utilities → dist/utilities}/storybook/index.js +0 -0
package/dist/bundle.js
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
(function(T,c){typeof exports=="object"&&typeof module!="undefined"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(T=typeof globalThis!="undefined"?globalThis:T||self,c(T.Reshaped={},T.React,T.ReactDOM))})(this,function(T,c,je){"use strict";var Ol=Object.defineProperty,ql=Object.defineProperties;var Bl=Object.getOwnPropertyDescriptors;var En=Object.getOwnPropertySymbols;var ps=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable;var vs=(T,c,je)=>c in T?Ol(T,c,{enumerable:!0,configurable:!0,writable:!0,value:je}):T[c]=je,p=(T,c)=>{for(var je in c||(c={}))ps.call(c,je)&&vs(T,je,c[je]);if(En)for(var je of En(c))xs.call(c,je)&&vs(T,je,c[je]);return T},z=(T,c)=>ql(T,Bl(c));var Me=(T,c)=>{var je={};for(var Se in T)ps.call(T,Se)&&c.indexOf(Se)<0&&(je[Se]=T[Se]);if(T!=null&&En)for(var Se of En(T))c.indexOf(Se)<0&&xs.call(T,Se)&&(je[Se]=T[Se]);return je};var Se={exports:{}},St={};/**
|
2
|
+
* @license React
|
3
|
+
* react-jsx-runtime.production.min.js
|
4
|
+
*
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
+
*
|
7
|
+
* This source code is licensed under the MIT license found in the
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
9
|
+
*/var Co;function ws(){if(Co)return St;Co=1;var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,u,_){var d,f={},m=null,g=null;_!==void 0&&(m=""+_),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(g=u.ref);for(d in u)o.call(u,d)&&!s.hasOwnProperty(d)&&(f[d]=u[d]);if(l&&l.defaultProps)for(d in u=l.defaultProps,u)f[d]===void 0&&(f[d]=u[d]);return{$$typeof:t,type:l,key:m,ref:g,props:f,_owner:r.current}}return St.Fragment=n,St.jsx=a,St.jsxs=a,St}var It={};/**
|
10
|
+
* @license React
|
11
|
+
* react-jsx-runtime.development.js
|
12
|
+
*
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
14
|
+
*
|
15
|
+
* This source code is licensed under the MIT license found in the
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
17
|
+
*/var jo;function ys(){return jo||(jo=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,b="@@iterator";function y(h){if(h===null||typeof h!="object")return null;var E=v&&h[v]||h[b];return typeof E=="function"?E:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(h){{for(var E=arguments.length,D=new Array(E>1?E-1:0),B=1;B<E;B++)D[B-1]=arguments[B];j("error",h,D)}}function j(h,E,D){{var B=w.ReactDebugCurrentFrame,Q=B.getStackAddendum();Q!==""&&(E+="%s",D=D.concat([Q]));var ae=D.map(function(X){return String(X)});ae.unshift("Warning: "+E),Function.prototype.apply.call(console[h],console,ae)}}var C=!1,N=!1,I=!1,k=!1,$=!1,F;F=Symbol.for("react.module.reference");function S(h){return!!(typeof h=="string"||typeof h=="function"||h===o||h===s||$||h===r||h===_||h===d||k||h===g||C||N||I||typeof h=="object"&&h!==null&&(h.$$typeof===m||h.$$typeof===f||h.$$typeof===a||h.$$typeof===l||h.$$typeof===u||h.$$typeof===F||h.getModuleId!==void 0))}function M(h,E,D){var B=h.displayName;if(B)return B;var Q=E.displayName||E.name||"";return Q!==""?D+"("+Q+")":D}function P(h){return h.displayName||"Context"}function O(h){if(h==null)return null;if(typeof h.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case o:return"Fragment";case n:return"Portal";case s:return"Profiler";case r:return"StrictMode";case _:return"Suspense";case d:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case l:var E=h;return P(E)+".Consumer";case a:var D=h;return P(D._context)+".Provider";case u:return M(h,h.render,"ForwardRef");case f:var B=h.displayName||null;return B!==null?B:O(h.type)||"Memo";case m:{var Q=h,ae=Q._payload,X=Q._init;try{return O(X(ae))}catch(U){return null}}}return null}var L=Object.assign,V=0,G,de,ne,De,oe,Z,ee;function te(){}te.__reactDisabledLog=!0;function ve(){{if(V===0){G=console.log,de=console.info,ne=console.warn,De=console.error,oe=console.group,Z=console.groupCollapsed,ee=console.groupEnd;var h={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}V++}}function K(){{if(V--,V===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},h,{value:G}),info:L({},h,{value:de}),warn:L({},h,{value:ne}),error:L({},h,{value:De}),group:L({},h,{value:oe}),groupCollapsed:L({},h,{value:Z}),groupEnd:L({},h,{value:ee})})}V<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=w.ReactCurrentDispatcher,H;function W(h,E,D){{if(H===void 0)try{throw Error()}catch(Q){var B=Q.stack.trim().match(/\n( *(at )?)/);H=B&&B[1]||""}return`
|
18
|
+
`+H+h}}var ie=!1,le;{var _e=typeof WeakMap=="function"?WeakMap:Map;le=new _e}function pe(h,E){if(!h||ie)return"";{var D=le.get(h);if(D!==void 0)return D}var B;ie=!0;var Q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=Y.current,Y.current=null,ve();try{if(E){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(it){B=it}Reflect.construct(h,[],X)}else{try{X.call()}catch(it){B=it}h.call(X.prototype)}}else{try{throw Error()}catch(it){B=it}h()}}catch(it){if(it&&B&&typeof it.stack=="string"){for(var U=it.stack.split(`
|
19
|
+
`),ze=B.stack.split(`
|
20
|
+
`),fe=U.length-1,be=ze.length-1;fe>=1&&be>=0&&U[fe]!==ze[be];)be--;for(;fe>=1&&be>=0;fe--,be--)if(U[fe]!==ze[be]){if(fe!==1||be!==1)do if(fe--,be--,be<0||U[fe]!==ze[be]){var Ve=`
|
21
|
+
`+U[fe].replace(" at new "," at ");return h.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",h.displayName)),typeof h=="function"&&le.set(h,Ve),Ve}while(fe>=1&&be>=0);break}}}finally{ie=!1,Y.current=ae,K(),Error.prepareStackTrace=Q}var Mt=h?h.displayName||h.name:"",gs=Mt?W(Mt):"";return typeof h=="function"&&le.set(h,gs),gs}function R(h,E,D){return pe(h,!1)}function Xe(h){var E=h.prototype;return!!(E&&E.isReactComponent)}function xe(h,E,D){if(h==null)return"";if(typeof h=="function")return pe(h,Xe(h));if(typeof h=="string")return W(h);switch(h){case _:return W("Suspense");case d:return W("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case u:return R(h.render);case f:return xe(h.type,E,D);case m:{var B=h,Q=B._payload,ae=B._init;try{return xe(ae(Q),E,D)}catch(X){}}}return""}var ye=Object.prototype.hasOwnProperty,Fe={},Le=w.ReactDebugCurrentFrame;function Te(h){if(h){var E=h._owner,D=xe(h.type,h._source,E?E.type:null);Le.setExtraStackFrame(D)}else Le.setExtraStackFrame(null)}function ut(h,E,D,B,Q){{var ae=Function.call.bind(ye);for(var X in h)if(ae(h,X)){var U=void 0;try{if(typeof h[X]!="function"){var ze=Error((B||"React class")+": "+D+" type `"+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[X]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ze.name="Invariant Violation",ze}U=h[X](E,X,B,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(fe){U=fe}U&&!(U instanceof Error)&&(Te(Q),x("%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).",B||"React class",D,X,typeof U),Te(null)),U instanceof Error&&!(U.message in Fe)&&(Fe[U.message]=!0,Te(Q),x("Failed %s type: %s",D,U.message),Te(null))}}}var Gt=Array.isArray;function dt(h){return Gt(h)}function po(h){{var E=typeof Symbol=="function"&&Symbol.toStringTag,D=E&&h[Symbol.toStringTag]||h.constructor.name||"Object";return D}}function Kt(h){try{return jn(h),!1}catch(E){return!0}}function jn(h){return""+h}function kn(h){if(Kt(h))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",po(h)),jn(h)}var gt=w.ReactCurrentOwner,Ce={key:!0,ref:!0,__self:!0,__source:!0},ge,Re,Ne;Ne={};function rt(h){if(ye.call(h,"ref")){var E=Object.getOwnPropertyDescriptor(h,"ref").get;if(E&&E.isReactWarning)return!1}return h.ref!==void 0}function Ue(h){if(ye.call(h,"key")){var E=Object.getOwnPropertyDescriptor(h,"key").get;if(E&&E.isReactWarning)return!1}return h.key!==void 0}function _t(h,E){if(typeof h.ref=="string"&>.current&&E&>.current.stateNode!==E){var D=O(gt.current.type);Ne[D]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',O(gt.current.type),h.ref),Ne[D]=!0)}}function st(h,E){{var D=function(){ge||(ge=!0,x("%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)",E))};D.isReactWarning=!0,Object.defineProperty(h,"key",{get:D,configurable:!0})}}function $n(h,E){{var D=function(){Re||(Re=!0,x("%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)",E))};D.isReactWarning=!0,Object.defineProperty(h,"ref",{get:D,configurable:!0})}}var Nn=function(h,E,D,B,Q,ae,X){var U={$$typeof:t,type:h,key:E,ref:D,props:X,_owner:ae};return U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(U,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(U,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U};function zn(h,E,D,B,Q){{var ae,X={},U=null,ze=null;D!==void 0&&(kn(D),U=""+D),Ue(E)&&(kn(E.key),U=""+E.key),rt(E)&&(ze=E.ref,_t(E,Q));for(ae in E)ye.call(E,ae)&&!Ce.hasOwnProperty(ae)&&(X[ae]=E[ae]);if(h&&h.defaultProps){var fe=h.defaultProps;for(ae in fe)X[ae]===void 0&&(X[ae]=fe[ae])}if(U||ze){var be=typeof h=="function"?h.displayName||h.name||"Unknown":h;U&&st(X,be),ze&&$n(X,be)}return Nn(h,U,ze,Q,B,gt.current,X)}}var xo=w.ReactCurrentOwner,ds=w.ReactDebugCurrentFrame;function Tt(h){if(h){var E=h._owner,D=xe(h.type,h._source,E?E.type:null);ds.setExtraStackFrame(D)}else ds.setExtraStackFrame(null)}var wo;wo=!1;function yo(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function _s(){{if(xo.current){var h=O(xo.current.type);if(h)return`
|
22
|
+
|
23
|
+
Check the render method of \``+h+"`."}return""}}function Sl(h){{if(h!==void 0){var E=h.fileName.replace(/^.*[\\\/]/,""),D=h.lineNumber;return`
|
24
|
+
|
25
|
+
Check your code at `+E+":"+D+"."}return""}}var ms={};function Il(h){{var E=_s();if(!E){var D=typeof h=="string"?h:h.displayName||h.name;D&&(E=`
|
26
|
+
|
27
|
+
Check the top-level render call using <`+D+">.")}return E}}function fs(h,E){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var D=Il(E);if(ms[D])return;ms[D]=!0;var B="";h&&h._owner&&h._owner!==xo.current&&(B=" It was passed a child from "+O(h._owner.type)+"."),Tt(h),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,B),Tt(null)}}function hs(h,E){{if(typeof h!="object")return;if(dt(h))for(var D=0;D<h.length;D++){var B=h[D];yo(B)&&fs(B,E)}else if(yo(h))h._store&&(h._store.validated=!0);else if(h){var Q=y(h);if(typeof Q=="function"&&Q!==h.entries)for(var ae=Q.call(h),X;!(X=ae.next()).done;)yo(X.value)&&fs(X.value,E)}}}function Dl(h){{var E=h.type;if(E==null||typeof E=="string")return;var D;if(typeof E=="function")D=E.propTypes;else if(typeof E=="object"&&(E.$$typeof===u||E.$$typeof===f))D=E.propTypes;else return;if(D){var B=O(E);ut(D,h.props,"prop",B,h)}else if(E.PropTypes!==void 0&&!wo){wo=!0;var Q=O(E);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Q||"Unknown")}typeof E.getDefaultProps=="function"&&!E.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Al(h){{for(var E=Object.keys(h.props),D=0;D<E.length;D++){var B=E[D];if(B!=="children"&&B!=="key"){Tt(h),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),Tt(null);break}}h.ref!==null&&(Tt(h),x("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function bs(h,E,D,B,Q,ae){{var X=S(h);if(!X){var U="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ze=Sl(Q);ze?U+=ze:U+=_s();var fe;h===null?fe="null":dt(h)?fe="array":h!==void 0&&h.$$typeof===t?(fe="<"+(O(h.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):fe=typeof h,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",fe,U)}var be=zn(h,E,D,Q,ae);if(be==null)return be;if(X){var Ve=E.children;if(Ve!==void 0)if(B)if(dt(Ve)){for(var Mt=0;Mt<Ve.length;Mt++)hs(Ve[Mt],h);Object.freeze&&Object.freeze(Ve)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else hs(Ve,h)}return h===o?Al(be):Dl(be),be}}function Pl(h,E,D){return bs(h,E,D,!0)}function Fl(h,E,D){return bs(h,E,D,!1)}var Ll=Fl,Vl=Pl;It.Fragment=o,It.jsx=Ll,It.jsxs=Vl}()),It}process.env.NODE_ENV==="production"?Se.exports=ws():Se.exports=ys();var i=Se.exports;const Tn=(e,t)=>e>t?[]:Array.from({length:t-e+1},(n,o)=>e+o),ko=(e,t=20)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)}};function Cs(e,t){const n=ko(e,t);return o=>("persist"in o&&o.persist(),n(o))}const js=(e,t)=>{let n=!1;return(...o)=>{n||(e(...o),n=!0,setTimeout(()=>{n=!1,setTimeout(()=>{n||e(...o)},t)},t))}},A=(...e)=>e.reduce((t,n)=>{if(Array.isArray(n)){const o=A(...n);return o?`${t} ${o}`:t}return n?`${t} ${n}`:t},""),$o=(e,t,n)=>{const{base:o,excludeValueFromClassName:r}=n||{},s=typeof e=="string"?e:e(t);return t===!0&&o||r?s:t===!0&&!o?`${s}-true`:t===!1&&!o?`${s}-false`:t!==void 0?`${s}-${t}`:null},J=(e,t,n,o)=>{if(typeof n!="object"){const r=$o(t,n,{base:!0,excludeValueFromClassName:o==null?void 0:o.excludeValueFromClassName});return r?[e[r]]:[]}return Object.keys(n).reduce((r,s)=>{const a=s==="s",l=$o(t,n[s],{base:a,excludeValueFromClassName:o==null?void 0:o.excludeValueFromClassName}),u=a?"":`--${s}`;return[...r,e[`${l}${u}`]]},[])},ce=(e,t)=>t===void 0?{}:typeof t!="object"?{[`${e}-s`]:t}:Object.keys(t).reduce((n,o)=>{const r=t[o];return r===void 0||r===!1?n:z(p({},n),{[`${e}-${o}`]:r})},{}),ks=e=>e===null?!1:typeof e=="object"&&e!==null&&"s"in e,Ee=(e,t)=>ks(e)?Object.keys(e).reduce((o,r)=>{const s=e[r];return s==null?o:z(p({},o),{[r]:t(s,r)})},{}):t(e,"s"),Oe=e=>{const t=c.useId();return e||t},Mn=c.createContext({active:!1,onToggle:()=>{},triggerId:"",contentId:""}),No=e=>{const{children:t,onToggle:n,active:o,iconPosition:r,iconSize:s,className:a,attributes:l}=e,u=A(a),_=Oe(),d=c.useMemo(()=>({triggerId:`${_}-trigger`,contentId:`${_}-content`,active:o,onToggle:n,iconPosition:r,iconSize:s}),[o]);return i.jsx("div",z(p({},l),{className:u,children:i.jsx(Mn.Provider,{value:d,children:t})}))},$s=e=>{const l=e,{defaultActive:t,onToggle:n}=l,o=Me(l,["defaultActive","onToggle"]),[r,s]=c.useState(t||!1),a=u=>{s(u),n==null||n(u)};return i.jsx(No,z(p({},o),{onToggle:a,active:r}))},Ns=" ",zo="Enter",zs="Tab",Xt="ArrowUp",Jt="ArrowDown",Zt="ArrowRight",Qt="ArrowLeft",Dt={root:"_root_15l9m_2","--inset":"_--inset_15l9m_31","--radius-inherit":"_--radius-inherit_15l9m_35","--disabled":"_--disabled_15l9m_56","--full-width":"_--full-width_15l9m_65"},Ae=c.forwardRef((e,t)=>{const{children:n,href:o,onClick:r,type:s,disabled:a,insetFocus:l,borderRadius:u,as:_,fullWidth:d,className:f,attributes:m}=e,g=A(Dt.root,f,a&&Dt["--disabled"],u&&Dt[`--radius-${u}`],l&&Dt["--inset"],d&&Dt["--full-width"]),v=p({},m),b=r||(m==null?void 0:m.onClick),y=(m==null?void 0:m.onFocus)||(m==null?void 0:m.onBlur),w=!!(o||m!=null&&m.href),x=!!(b||y||s),j=!w&&x&&(!_||_==="button");let C;if(w)C="a",v.href=a?void 0:o||(m==null?void 0:m.href);else if(j)C="button",v.type=s||(m==null?void 0:m.type)||"button",v.disabled=a||(m==null?void 0:m.disabled);else if(x){const $=!(_==="label")||b||y;C=_||"span",v.role=$?"button":void 0,v.tabIndex=$?0:void 0}else C=_||"span";const N=k=>{var $;a||(r==null||r(k),($=m==null?void 0:m.onClick)==null||$.call(m,k))},I=k=>{const $=k.key===Ns,F=k.key===zo;!$&&!F||v.role==="button"&&(k.preventDefault(),N(k))};return i.jsx(C,z(p({ref:t},v),{className:g,onClick:N,onKeyDown:I,children:n}))}),Sn={root:"_root_m2bn1_1","--blank":"_--blank_m2bn1_8","--vertical":"_--vertical_m2bn1_15","--vertical-true--m":"_--vertical-true--m_m2bn1_1","--vertical-false--m":"_--vertical-false--m_m2bn1_1","--vertical-true--l":"_--vertical-true--l_m2bn1_1","--vertical-false--l":"_--vertical-false--l_m2bn1_1","--vertical-true--xl":"_--vertical-true--xl_m2bn1_1","--vertical-false--xl":"_--vertical-false--xl_m2bn1_1"},en=e=>{const{vertical:t,blank:n,className:o,attributes:r}=e,s=A(Sn.root,o,n&&Sn["--blank"],...J(Sn,"--vertical",t));let a;return(typeof t=="boolean"||t===void 0)&&(a=t?"vertical":"horizontal"),i.jsx("div",z(p({},r),{role:"separator","aria-orientation":a,className:s}))},In={root:"_root_11ilc_1","--hidden":"_--hidden_11ilc_5","--visibility":"_--visibility_11ilc_9","--hidden-true--m":"_--hidden-true--m_11ilc_1","--hidden-false--m":"_--hidden-false--m_11ilc_1","--hidden-true--l":"_--hidden-true--l_11ilc_1","--hidden-false--l":"_--hidden-false--l_11ilc_1","--hidden-true--xl":"_--hidden-true--xl_11ilc_1","--hidden-false--xl":"_--hidden-false--xl_11ilc_1"},vt=e=>{const{as:t="div",children:n,visibility:o,hide:r}=e,s=A(In.root,...J(In,"--hidden",r),o&&In["--visibility"]);return i.jsx(t,{className:s,children:n})},re={root:"_root_wwxeb_1",item:"_item_wwxeb_11","--padding":"_--padding_wwxeb_19","--padding-top":"_--padding-top_wwxeb_30","--padding-bottom":"_--padding-bottom_wwxeb_34","--padding-start":"_--padding-start_wwxeb_38","--padding-end":"_--padding-end_wwxeb_42","--animated":"_--animated_wwxeb_46","--align-text-start":"_--align-text-start_wwxeb_1","--align-text-center":"_--align-text-center_wwxeb_1","--align-text-end":"_--align-text-end_wwxeb_1","--bg-neutral":"_--bg-neutral_wwxeb_1","--bg-positive":"_--bg-positive_wwxeb_1","--bg-warning":"_--bg-warning_wwxeb_1","--bg-critical":"_--bg-critical_wwxeb_1","--bg-primary":"_--bg-primary_wwxeb_1","--bg-neutral-faded":"_--bg-neutral-faded_wwxeb_1","--bg-positive-faded":"_--bg-positive-faded_wwxeb_1","--bg-warning-faded":"_--bg-warning-faded_wwxeb_1","--bg-critical-faded":"_--bg-critical-faded_wwxeb_1","--bg-primary-faded":"_--bg-primary-faded_wwxeb_1","--bg-page":"_--bg-page_wwxeb_1","--bg-page-faded":"_--bg-page-faded_wwxeb_1","--bg-disabled":"_--bg-disabled_wwxeb_1","--bg-disabled-faded":"_--bg-disabled-faded_wwxeb_1","--bg-elevation-base":"_--bg-elevation-base_wwxeb_1","--bg-elevation-raised":"_--bg-elevation-raised_wwxeb_1","--bg-elevation-overlay":"_--bg-elevation-overlay_wwxeb_1","--bg-brand":"_--bg-brand_wwxeb_72","--bg-white":"_--bg-white_wwxeb_77","--bg-black":"_--bg-black_wwxeb_82","--shadow-raised":"_--shadow-raised_wwxeb_87","--shadow-overlay":"_--shadow-overlay_wwxeb_91","--bd":"_--bd_wwxeb_95","--bd-neutral-faded":"_--bd-neutral-faded_wwxeb_1","--bd-neutral":"_--bd-neutral_wwxeb_1","--bd-positive":"_--bd-positive_wwxeb_1","--bd-positive-faded":"_--bd-positive-faded_wwxeb_1","--bd-warning":"_--bd-warning_wwxeb_1","--bd-warning-faded":"_--bd-warning-faded_wwxeb_1","--bd-critical":"_--bd-critical_wwxeb_1","--bd-critical-faded":"_--bd-critical-faded_wwxeb_1","--bd-primary":"_--bd-primary_wwxeb_1","--bd-primary-faded":"_--bd-primary-faded_wwxeb_1","--bd-disabled":"_--bd-disabled_wwxeb_1","--bd-brand":"_--bd-brand_wwxeb_108","--bd-transparent":"_--bd-transparent_wwxeb_112","--overflow-hidden":"_--overflow-hidden_wwxeb_116","--overflow-auto":"_--overflow-auto_wwxeb_120","--divided":"_--divided_wwxeb_124","--flex":"_--flex_wwxeb_128","--direction-column":"_--direction-column_wwxeb_1","item--gap-before":"_item--gap-before_wwxeb_140","item--gap-auto":"_item--gap-auto_wwxeb_144","--direction-column-reverse":"_--direction-column-reverse_wwxeb_1","--direction-row":"_--direction-row_wwxeb_1","--direction-row-reverse":"_--direction-row-reverse_wwxeb_1","--nowrap":"_--nowrap_wwxeb_199","--wrap":"_--wrap_wwxeb_207","--nowrap-false--m":"_--nowrap-false--m_wwxeb_1","--wrap-true--m":"_--wrap-true--m_wwxeb_1","--nowrap-true--m":"_--nowrap-true--m_wwxeb_1","--wrap-false--m":"_--wrap-false--m_wwxeb_1","--nowrap-false--l":"_--nowrap-false--l_wwxeb_1","--wrap-true--l":"_--wrap-true--l_wwxeb_1","--nowrap-true--l":"_--nowrap-true--l_wwxeb_1","--wrap-false--l":"_--wrap-false--l_wwxeb_1","--nowrap-false--xl":"_--nowrap-false--xl_wwxeb_1","--wrap-true--xl":"_--wrap-true--xl_wwxeb_1","--nowrap-true--xl":"_--nowrap-true--xl_wwxeb_1","--wrap-false--xl":"_--wrap-false--xl_wwxeb_1","--align-start":"_--align-start_wwxeb_1","--align-end":"_--align-end_wwxeb_1","--align-center":"_--align-center_wwxeb_1","--align-stretch":"_--align-stretch_wwxeb_1","--align-baseline":"_--align-baseline_wwxeb_1","--justify-start":"_--justify-start_wwxeb_1","--justify-end":"_--justify-end_wwxeb_1","--justify-center":"_--justify-center_wwxeb_1","--justify-space-between":"_--justify-space-between_wwxeb_1",divider:"_divider_wwxeb_266","item--grow":"_item--grow_wwxeb_270","item--columns":"_item--columns_wwxeb_288","item--columns-1":"_item--columns-1_wwxeb_1","item--columns-2":"_item--columns-2_wwxeb_1","item--columns-3":"_item--columns-3_wwxeb_1","item--columns-4":"_item--columns-4_wwxeb_1","item--columns-5":"_item--columns-5_wwxeb_1","item--columns-6":"_item--columns-6_wwxeb_1","item--columns-7":"_item--columns-7_wwxeb_1","item--columns-8":"_item--columns-8_wwxeb_1","item--columns-9":"_item--columns-9_wwxeb_1","item--columns-10":"_item--columns-10_wwxeb_1","item--columns-11":"_item--columns-11_wwxeb_1","item--columns-12":"_item--columns-12_wwxeb_1","item--columns-auto":"_item--columns-auto_wwxeb_309","item--columns-1--m":"_item--columns-1--m_wwxeb_1","item--columns-auto--m":"_item--columns-auto--m_wwxeb_1","item--columns-2--m":"_item--columns-2--m_wwxeb_1","item--columns-3--m":"_item--columns-3--m_wwxeb_1","item--columns-4--m":"_item--columns-4--m_wwxeb_1","item--columns-5--m":"_item--columns-5--m_wwxeb_1","item--columns-6--m":"_item--columns-6--m_wwxeb_1","item--columns-7--m":"_item--columns-7--m_wwxeb_1","item--columns-8--m":"_item--columns-8--m_wwxeb_1","item--columns-9--m":"_item--columns-9--m_wwxeb_1","item--columns-10--m":"_item--columns-10--m_wwxeb_1","item--columns-11--m":"_item--columns-11--m_wwxeb_1","item--columns-12--m":"_item--columns-12--m_wwxeb_1","item--columns-1--l":"_item--columns-1--l_wwxeb_1","item--columns-auto--l":"_item--columns-auto--l_wwxeb_1","item--columns-2--l":"_item--columns-2--l_wwxeb_1","item--columns-3--l":"_item--columns-3--l_wwxeb_1","item--columns-4--l":"_item--columns-4--l_wwxeb_1","item--columns-5--l":"_item--columns-5--l_wwxeb_1","item--columns-6--l":"_item--columns-6--l_wwxeb_1","item--columns-7--l":"_item--columns-7--l_wwxeb_1","item--columns-8--l":"_item--columns-8--l_wwxeb_1","item--columns-9--l":"_item--columns-9--l_wwxeb_1","item--columns-10--l":"_item--columns-10--l_wwxeb_1","item--columns-11--l":"_item--columns-11--l_wwxeb_1","item--columns-12--l":"_item--columns-12--l_wwxeb_1","item--columns-1--xl":"_item--columns-1--xl_wwxeb_1","item--columns-auto--xl":"_item--columns-auto--xl_wwxeb_1","item--columns-2--xl":"_item--columns-2--xl_wwxeb_1","item--columns-3--xl":"_item--columns-3--xl_wwxeb_1","item--columns-4--xl":"_item--columns-4--xl_wwxeb_1","item--columns-5--xl":"_item--columns-5--xl_wwxeb_1","item--columns-6--xl":"_item--columns-6--xl_wwxeb_1","item--columns-7--xl":"_item--columns-7--xl_wwxeb_1","item--columns-8--xl":"_item--columns-8--xl_wwxeb_1","item--columns-9--xl":"_item--columns-9--xl_wwxeb_1","item--columns-10--xl":"_item--columns-10--xl_wwxeb_1","item--columns-11--xl":"_item--columns-11--xl_wwxeb_1","item--columns-12--xl":"_item--columns-12--xl_wwxeb_1","--direction-column--m":"_--direction-column--m_wwxeb_1","--direction-column-reverse--m":"_--direction-column-reverse--m_wwxeb_1","--direction-row--m":"_--direction-row--m_wwxeb_1","--direction-row-reverse--m":"_--direction-row-reverse--m_wwxeb_1","--align-start--m":"_--align-start--m_wwxeb_1","--align-end--m":"_--align-end--m_wwxeb_1","--align-center--m":"_--align-center--m_wwxeb_1","--align-stretch--m":"_--align-stretch--m_wwxeb_1","--align-baseline--m":"_--align-baseline--m_wwxeb_1","--justify-start--m":"_--justify-start--m_wwxeb_1","--justify-end--m":"_--justify-end--m_wwxeb_1","--justify-center--m":"_--justify-center--m_wwxeb_1","--justify-space-between--m":"_--justify-space-between--m_wwxeb_1","item--grow-true--m":"_item--grow-true--m_wwxeb_1","item--grow-false--m":"_item--grow-false--m_wwxeb_1","--direction-column--l":"_--direction-column--l_wwxeb_1","--direction-column-reverse--l":"_--direction-column-reverse--l_wwxeb_1","--direction-row--l":"_--direction-row--l_wwxeb_1","--direction-row-reverse--l":"_--direction-row-reverse--l_wwxeb_1","--align-start--l":"_--align-start--l_wwxeb_1","--align-end--l":"_--align-end--l_wwxeb_1","--align-center--l":"_--align-center--l_wwxeb_1","--align-stretch--l":"_--align-stretch--l_wwxeb_1","--align-baseline--l":"_--align-baseline--l_wwxeb_1","--justify-start--l":"_--justify-start--l_wwxeb_1","--justify-end--l":"_--justify-end--l_wwxeb_1","--justify-center--l":"_--justify-center--l_wwxeb_1","--justify-space-between--l":"_--justify-space-between--l_wwxeb_1","item--grow-true--l":"_item--grow-true--l_wwxeb_1","item--grow-false--l":"_item--grow-false--l_wwxeb_1","--direction-column--xl":"_--direction-column--xl_wwxeb_1","--direction-column-reverse--xl":"_--direction-column-reverse--xl_wwxeb_1","--direction-row--xl":"_--direction-row--xl_wwxeb_1","--direction-row-reverse--xl":"_--direction-row-reverse--xl_wwxeb_1","--align-start--xl":"_--align-start--xl_wwxeb_1","--align-end--xl":"_--align-end--xl_wwxeb_1","--align-center--xl":"_--align-center--xl_wwxeb_1","--align-stretch--xl":"_--align-stretch--xl_wwxeb_1","--align-baseline--xl":"_--align-baseline--xl_wwxeb_1","--justify-start--xl":"_--justify-start--xl_wwxeb_1","--justify-end--xl":"_--justify-end--xl_wwxeb_1","--justify-center--xl":"_--justify-center--xl_wwxeb_1","--justify-space-between--xl":"_--justify-space-between--xl_wwxeb_1","item--grow-true--xl":"_item--grow-true--xl_wwxeb_1","item--grow-false--xl":"_item--grow-false--xl_wwxeb_1"},Eo={root:"_root_w529z_1","--radius-none":"_--radius-none_w529z_1","--radius-small":"_--radius-small_w529z_1","--radius-medium":"_--radius-medium_w529z_1","--radius-large":"_--radius-large_w529z_1","--radius-circular":"_--radius-circular_w529z_1","--radius-none--m":"_--radius-none--m_w529z_1","--radius-small--m":"_--radius-small--m_w529z_1","--radius-medium--m":"_--radius-medium--m_w529z_1","--radius-large--m":"_--radius-large--m_w529z_1","--radius-circular--m":"_--radius-circular--m_w529z_1","--radius-none--l":"_--radius-none--l_w529z_1","--radius-small--l":"_--radius-small--l_w529z_1","--radius-medium--l":"_--radius-medium--l_w529z_1","--radius-large--l":"_--radius-large--l_w529z_1","--radius-circular--l":"_--radius-circular--l_w529z_1","--radius-none--xl":"_--radius-none--xl_w529z_1","--radius-small--xl":"_--radius-small--xl_w529z_1","--radius-medium--xl":"_--radius-medium--xl_w529z_1","--radius-large--xl":"_--radius-large--xl_w529z_1","--radius-circular--xl":"_--radius-circular--xl_w529z_1"},Dn=e=>e?{classNames:[Eo.root,...J(Eo,"--radius",e)]}:null,To={root:"_root_22l3r_1","--bleed":"_--bleed_22l3r_10","--bleed-true--m":"_--bleed-true--m_22l3r_1","--bleed-false--m":"_--bleed-false--m_22l3r_1","--bleed-true--l":"_--bleed-true--l_22l3r_1","--bleed-false--l":"_--bleed-false--l_22l3r_1","--bleed-true--xl":"_--bleed-true--xl_22l3r_1","--bleed-false--xl":"_--bleed-false--xl_22l3r_1"},Mo=e=>{if(e===void 0)return null;const t=[To.root,...J(To,"--bleed",Ee(e,o=>typeof o=="number"&&o>0))],n=ce("--rs-bleed",e);return{classNames:t,variables:n}},Es={literal:"_literal_1b2qb_1",unit:"_unit_1b2qb_5","literal--m":"_literal--m_1b2qb_1","unit--m":"_unit--m_1b2qb_1","literal--l":"_literal--l_1b2qb_1","unit--l":"_unit--l_1b2qb_1","literal--xl":"_literal--xl_1b2qb_1","unit--xl":"_unit--xl_1b2qb_1"},An=e=>{if(!e)return null;const t=ce("--rs-w",e);return{classNames:J(Es,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ts={literal:"_literal_6dko4_2",unit:"_unit_6dko4_3","literal--m":"_literal--m_6dko4_1","unit--m":"_unit--m_6dko4_1","literal--l":"_literal--l_6dko4_1","unit--l":"_unit--l_6dko4_1","literal--xl":"_literal--xl_6dko4_1","unit--xl":"_unit--xl_6dko4_1"},pt=e=>{if(!e)return null;const t=ce("--rs-h",e);return{classNames:J(Ts,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ms={literal:"_literal_13h2y_1",unit:"_unit_13h2y_5","literal--m":"_literal--m_13h2y_1","unit--m":"_unit--m_13h2y_1","literal--l":"_literal--l_13h2y_1","unit--l":"_unit--l_13h2y_1","literal--xl":"_literal--xl_13h2y_1","unit--xl":"_unit--xl_13h2y_1"},Ss=e=>{if(!e)return null;const t=ce("--rs-max-w",e);return{classNames:J(Ms,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Is={literal:"_literal_1ji3w_1",unit:"_unit_1ji3w_5","literal--m":"_literal--m_1ji3w_1","unit--m":"_unit--m_1ji3w_1","literal--l":"_literal--l_1ji3w_1","unit--l":"_unit--l_1ji3w_1","literal--xl":"_literal--xl_1ji3w_1","unit--xl":"_unit--xl_1ji3w_1"},So=e=>{if(!e)return null;const t=ce("--rs-max-h",e);return{classNames:J(Is,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Ds={literal:"_literal_tfgjf_1",unit:"_unit_tfgjf_5","literal--m":"_literal--m_tfgjf_1","unit--m":"_unit--m_tfgjf_1","literal--l":"_literal--l_tfgjf_1","unit--l":"_unit--l_tfgjf_1","literal--xl":"_literal--xl_tfgjf_1","unit--xl":"_unit--xl_tfgjf_1"},Io=e=>{if(!e)return null;const t=ce("--rs-min-w",e);return{classNames:J(Ds,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},As={literal:"_literal_19ewn_1",unit:"_unit_19ewn_5","literal--m":"_literal--m_19ewn_1","unit--m":"_unit--m_19ewn_1","literal--l":"_literal--l_19ewn_1","unit--l":"_unit--l_19ewn_1","literal--xl":"_literal--xl_19ewn_1","unit--xl":"_unit--xl_19ewn_1"},Ps=e=>{if(!e)return null;const t=ce("--rs-min-h",e);return{classNames:J(As,o=>typeof o=="number"?"unit":"literal",e,{excludeValueFromClassName:!0}),variables:t}},Fs={"--position-static":"_--position-static_1qpz9_1","--position-relative":"_--position-relative_1qpz9_1","--position-absolute":"_--position-absolute_1qpz9_1","--position-fixed":"_--position-fixed_1qpz9_1","--position-sticky":"_--position-sticky_1qpz9_1","--position-static--m":"_--position-static--m_1qpz9_1","--position-relative--m":"_--position-relative--m_1qpz9_1","--position-absolute--m":"_--position-absolute--m_1qpz9_1","--position-fixed--m":"_--position-fixed--m_1qpz9_1","--position-sticky--m":"_--position-sticky--m_1qpz9_1","--position-static--l":"_--position-static--l_1qpz9_1","--position-relative--l":"_--position-relative--l_1qpz9_1","--position-absolute--l":"_--position-absolute--l_1qpz9_1","--position-fixed--l":"_--position-fixed--l_1qpz9_1","--position-sticky--l":"_--position-sticky--l_1qpz9_1","--position-static--xl":"_--position-static--xl_1qpz9_1","--position-relative--xl":"_--position-relative--xl_1qpz9_1","--position-absolute--xl":"_--position-absolute--xl_1qpz9_1","--position-fixed--xl":"_--position-fixed--xl_1qpz9_1","--position-sticky--xl":"_--position-sticky--xl_1qpz9_1"},Ls=e=>e?{classNames:J(Fs,"--position",e)}:null,Vs={"--inset":"_--inset_17xwz_1","--inset-end":"_--inset-end_17xwz_27","--inset-start":"_--inset-start_17xwz_31","--inset-top":"_--inset-top_17xwz_35","--inset-bottom":"_--inset-bottom_17xwz_39","--inset-end--m":"_--inset-end--m_17xwz_1","--inset-start--m":"_--inset-start--m_17xwz_1","--inset-top--m":"_--inset-top--m_17xwz_1","--inset-bottom--m":"_--inset-bottom--m_17xwz_1","--inset-end--l":"_--inset-end--l_17xwz_1","--inset-start--l":"_--inset-start--l_17xwz_1","--inset-top--l":"_--inset-top--l_17xwz_1","--inset-bottom--l":"_--inset-bottom--l_17xwz_1","--inset-end--xl":"_--inset-end--xl_17xwz_1","--inset-start--xl":"_--inset-start--xl_17xwz_1","--inset-top--xl":"_--inset-top--xl_17xwz_1","--inset-bottom--xl":"_--inset-bottom--xl_17xwz_1"},At=(e,t)=>{if(e===void 0)return null;const n=t?`-${t}`:"",o=`--rs-inset${n}`,r=ce(o,e);return{classNames:J(Vs,`--inset${n}`,e,{excludeValueFromClassName:!0}),variables:r}},Os={root:"_root_jdpm8_1"},qs=e=>{if(!e)return null;const t=ce("--rs-ratio",e);return{classNames:Os.root,variables:t}},Do=e=>{const{columns:t,grow:n,gapBefore:o,as:r="div",order:s,children:a,className:l,attributes:u}=e,_=A(re.item,l,o==="auto"&&re["item--gap-auto"],o!==void 0&&re["item--gap-before"],t&&re["item--columns"],...J(re,"item--grow",n),...J(re,"item--columns",t)),d=p(p({},ce("--rs-view-item-order",s)),ce("--rs-view-item-gap-before",o));return i.jsx(r,z(p({},u),{style:p(p({},u==null?void 0:u.style),d),className:_,children:a}))},Pn=e=>{const{align:t,justify:n,wrap:o,gap:r,height:s,width:a,aspectRatio:l,maxHeight:u,maxWidth:_,minHeight:d,minWidth:f,padding:m,paddingInline:g,paddingBlock:v,paddingBottom:b,paddingEnd:y,paddingStart:w,paddingTop:x,bleed:j,animated:C,backgroundColor:N,borderColor:I,borderRadius:k,shadow:$,textAlign:F,overflow:S,position:M="relative",inset:P,insetTop:O,insetBottom:L,insetStart:V,insetEnd:G,zIndex:de,grow:ne,as:De="div",children:oe,divided:Z,className:ee,attributes:te}=e;let ve=!!t||!!n||!!r||!!e.direction;const K=e.direction||(ve?"column":void 0),Y=Dn(k),H=Mo(j),W=An(a),ie=pt(s),le=Ss(_),_e=So(u),pe=Io(f),R=Ps(d),Xe=Ls(M),xe=At(P),ye=At(O,"top"),Fe=At(L,"bottom"),Le=At(V,"start"),Te=At(G,"end"),ut=qs(l);let Gt=0,dt;const po=({className:Ce,key:ge})=>{const Re=A(re.divider,Ce);let Ne=!1;return typeof K=="string"&&K.startsWith("row")?Ne=!0:K&&(Ne=Object.keys(K).reduce((Ue,_t)=>{const st=K[_t];return st?z(p({},Ue),{[_t]:st.startsWith("row")}):Ue},{})),i.jsx("div",{className:Re,children:i.jsx(en,{vertical:Ne,blank:!0})},`${ge}-divider`)},Kt=({className:Ce,child:ge,index:Re})=>{var $n,Nn,zn;const Ne=ge.type===Do,rt=ge.type===Pn,Ue=ge.key||Re,_t=!!Re&&Z&&po({className:Ce,key:Ue});let st;return Ne?st=c.cloneElement(ge,{className:A(Ce,ge.props.className)}):Ce||!c.isValidElement(ge)?st=i.jsx("div",{className:Ce,children:ge},Ue):st=ge,Ne&&(($n=ge.props)!=null&&$n.grow)&&(dt=ge.props.grow),Ne&&((Nn=ge.props)==null?void 0:Nn.gap)==="auto"&&(dt=!0),(Ne||rt)&&((zn=ge.props)!=null&&zn.grow)&&(ve=!0),[_t,st]},jn=c.Children.map(oe,(Ce,ge)=>{if(!Ce)return null;const Re=Gt;if(Gt+=1,Ce.type===vt){const Ne=Ce.props,{children:rt}=Ne,Ue=Me(Ne,["children"]),_t=Ce.key||ge;return c.createElement(vt,z(p({},Ue),{key:_t}),Kt({child:rt,index:Re}))}return Ce.type===c.Fragment&&c.Children.count(Ce.props.children)>1?Ce.props.children.map(rt=>{if(!rt)return null;const Ue=Re;return Gt+=1,Kt({child:rt,index:Ue})}):Kt({child:Ce,index:Re})}),kn=A(re.root,ee,Y==null?void 0:Y.classNames,Xe==null?void 0:Xe.classNames,H==null?void 0:H.classNames,W==null?void 0:W.classNames,ie==null?void 0:ie.classNames,ut==null?void 0:ut.classNames,le==null?void 0:le.classNames,_e==null?void 0:_e.classNames,pe==null?void 0:pe.classNames,R==null?void 0:R.classNames,xe==null?void 0:xe.classNames,ye==null?void 0:ye.classNames,Fe==null?void 0:Fe.classNames,Le==null?void 0:Le.classNames,Te==null?void 0:Te.classNames,F&&re[`--align-text-${F}`],N&&re[`--bg-${N}`],I&&re[`--bd-${I}`],I&&re["--bd"],$&&re[`--shadow-${$}`],S&&re[`--overflow-${S}`],C&&re["--animated"],Z&&re["--divided"],(m!==void 0||g!==void 0||v!==void 0)&&re["--padding"],b!==void 0&&re["--padding-bottom"],y!==void 0&&re["--padding-end"],w!==void 0&&re["--padding-start"],x!==void 0&&re["--padding-top"],(ve||dt)&&re["--flex"],...J(re,"--direction",K),...J(re,"--align",t),...J(re,"--justify",n),...J(re,"--nowrap",dt||o===!1),...J(re,"--wrap",o),...J(re,"item--grow",ne)),gt=p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p(p({},te==null?void 0:te.style),ce("--rs-view-gap",r)),ce("--rs-view-p-vertical",v||m)),ce("--rs-view-p-horizontal",g||m)),ce("--rs-view-p-bottom",b)),ce("--rs-view-p-top",x)),ce("--rs-view-p-start",w)),ce("--rs-view-p-end",y)),H==null?void 0:H.variables),W==null?void 0:W.variables),ie==null?void 0:ie.variables),ut==null?void 0:ut.variables),le==null?void 0:le.variables),_e==null?void 0:_e.variables),pe==null?void 0:pe.variables),R==null?void 0:R.variables),xe==null?void 0:xe.variables),ye==null?void 0:ye.variables),Fe==null?void 0:Fe.variables),Le==null?void 0:Le.variables),Te==null?void 0:Te.variables),de?{"--rs-view-z":de}:{});return i.jsx(De,z(p({},te),{className:kn,style:gt,children:jn}))};Pn.Item=Do;const q=Pn,Fn={root:"_root_1aeuv_1","--auto":"_--auto_1aeuv_8","--color-neutral":"_--color-neutral_1aeuv_1","--color-neutral-faded":"_--color-neutral-faded_1aeuv_1","--color-primary":"_--color-primary_1aeuv_1","--color-positive":"_--color-positive_1aeuv_1","--color-warning":"_--color-warning_1aeuv_1","--color-critical":"_--color-critical_1aeuv_1","--color-disabled":"_--color-disabled_1aeuv_1"},he=e=>{const{svg:t,className:n,color:o,size:r="1em",autoWidth:s,attributes:a}=e,l=pt(r),u=A(Fn.root,n,l==null?void 0:l.classNames,o&&Fn[`--color-${o}`],s&&Fn["--auto"]),_=c.isValidElement(t)?t:i.jsx(t,{}),d=p(p({},a==null?void 0:a.style),l==null?void 0:l.variables);return i.jsx("span",z(p({},a),{"aria-hidden":"true",className:u,style:d,children:c.cloneElement(_,{focusable:!1})}))},Bs=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})}),Ao={icon:"_icon_loavs_1","icon--active":"_icon--active_loavs_5"},Hs=e=>{const{children:t}=e,{active:n,onToggle:o,triggerId:r,contentId:s,iconPosition:a="end",iconSize:l}=c.useContext(Mn),u=A(Ao.icon,n&&Ao["icon--active"]),_=()=>{o==null||o(!n)},d={"aria-expanded":n,"aria-controls":s,id:r};return typeof t=="function"?i.jsx(i.Fragment,{children:t(z(p({},d),{onClick:_}),{active:n})}):i.jsx(Ae,{onClick:_,fullWidth:!0,attributes:d,children:i.jsxs(q,{gap:2,direction:a==="start"?"row-reverse":"row",align:"center",children:[i.jsx(q.Item,{grow:!0,children:t}),i.jsx(he,{size:l||4,svg:Bs,className:u})]})})},Pe=e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})},Ln="data-rs-no-transition",Ws=()=>{document.documentElement.setAttribute(Ln,"true")},Rs=()=>{document.documentElement.removeAttribute(Ln)},Us=()=>!document.documentElement.hasAttribute(Ln),Po={root:"_root_1as3o_1","--animated":"_--animated_1as3o_6"},Fo=e=>{const{children:t,active:n,attributes:o}=e,r=c.useRef(null),s=c.useRef(!1),[a,l]=c.useState(n?"auto":null),u=A(Po.root,s.current&&a!=="auto"&&Po["--animated"]),_=d=>{d.propertyName==="height"&&l(n?"auto":null)};return c.useEffect(()=>{Pe(()=>{s.current=!0})},[]),c.useEffect(()=>{const d=r.current;if(!d||!s.current)return;let f=0;n&&(d.style.height="auto",f=d.clientHeight,d.style.height="0"),n||(d.style.height=`${d.clientHeight}px`),l(f)},[n]),i.jsx("div",z(p({},o),{className:u,ref:r,style:a!==null?{height:a,overflow:a==="auto"?"visible":void 0}:void 0,onTransitionEnd:_,role:"region",hidden:!n&&a===null,children:t}))},Ys=e=>{const{children:t}=e,{active:n,triggerId:o,contentId:r}=c.useContext(Mn);return i.jsx(Fo,{active:n,attributes:{"aria-labelledby":o,id:r},children:t})},Vn=e=>{const{active:t}=e;return t!==void 0?i.jsx(No,p({},e)):i.jsx($s,p({},e))};Vn.Trigger=Hs,Vn.Content=Ys;const Gs=Vn,On={root:"_root_1yj03_1","--position-bottom":"_--position-bottom_1yj03_33","--position-top":"_--position-top_1yj03_1","--elevated":"_--elevated_1yj03_16"},Ks=e=>{const{position:t="bottom",padding:n,paddingBlock:o=3,paddingInline:r=4,children:s,elevated:a,className:l,attributes:u}=e,_=A(On.root,a&&On["--elevated"],t&&On[`--position-${t}`],l);return i.jsx(q,{className:_,attributes:u,paddingBlock:n||o,paddingInline:n||r,children:s})},Je={root:"_root_179zk_1","--clamp":"_--clamp_179zk_6","--break-all":"_--break-all_179zk_13","--wrap-balance":"_--wrap-balance_179zk_17","--align-start":"_--align-start_179zk_1","--align-center":"_--align-center_179zk_1","--align-end":"_--align-end_179zk_1","--variant-title-1":"_--variant-title-1_179zk_1","--variant-title-2":"_--variant-title-2_179zk_1","--variant-title-3":"_--variant-title-3_179zk_1","--variant-title-4":"_--variant-title-4_179zk_1","--variant-title-5":"_--variant-title-5_179zk_1","--variant-title-6":"_--variant-title-6_179zk_1","--variant-featured-1":"_--variant-featured-1_179zk_1","--variant-featured-2":"_--variant-featured-2_179zk_1","--variant-featured-3":"_--variant-featured-3_179zk_1","--variant-body-1":"_--variant-body-1_179zk_1","--variant-body-2":"_--variant-body-2_179zk_1","--variant-body-3":"_--variant-body-3_179zk_1","--variant-caption-1":"_--variant-caption-1_179zk_1","--variant-caption-2":"_--variant-caption-2_179zk_1","--weight-regular":"_--weight-regular_179zk_1","--weight-medium":"_--weight-medium_179zk_1","--weight-bold":"_--weight-bold_179zk_1","--color-neutral":"_--color-neutral_179zk_1","--color-neutral-faded":"_--color-neutral-faded_179zk_1","--color-primary":"_--color-primary_179zk_1","--color-warning":"_--color-warning_179zk_1","--color-positive":"_--color-positive_179zk_1","--color-critical":"_--color-critical_179zk_1","--color-disabled":"_--color-disabled_179zk_1","--decoration-line-through":"_--decoration-line-through_179zk_147","--align-start--m":"_--align-start--m_179zk_1","--align-center--m":"_--align-center--m_179zk_1","--align-end--m":"_--align-end--m_179zk_1","--variant-title-1--m":"_--variant-title-1--m_179zk_1","--variant-title-2--m":"_--variant-title-2--m_179zk_1","--variant-title-3--m":"_--variant-title-3--m_179zk_1","--variant-title-4--m":"_--variant-title-4--m_179zk_1","--variant-title-5--m":"_--variant-title-5--m_179zk_1","--variant-title-6--m":"_--variant-title-6--m_179zk_1","--variant-featured-1--m":"_--variant-featured-1--m_179zk_1","--variant-featured-2--m":"_--variant-featured-2--m_179zk_1","--variant-featured-3--m":"_--variant-featured-3--m_179zk_1","--variant-body-1--m":"_--variant-body-1--m_179zk_1","--variant-body-2--m":"_--variant-body-2--m_179zk_1","--variant-body-3--m":"_--variant-body-3--m_179zk_1","--variant-caption-1--m":"_--variant-caption-1--m_179zk_1","--variant-caption-2--m":"_--variant-caption-2--m_179zk_1","--align-start--l":"_--align-start--l_179zk_1","--align-center--l":"_--align-center--l_179zk_1","--align-end--l":"_--align-end--l_179zk_1","--variant-title-1--l":"_--variant-title-1--l_179zk_1","--variant-title-2--l":"_--variant-title-2--l_179zk_1","--variant-title-3--l":"_--variant-title-3--l_179zk_1","--variant-title-4--l":"_--variant-title-4--l_179zk_1","--variant-title-5--l":"_--variant-title-5--l_179zk_1","--variant-title-6--l":"_--variant-title-6--l_179zk_1","--variant-featured-1--l":"_--variant-featured-1--l_179zk_1","--variant-featured-2--l":"_--variant-featured-2--l_179zk_1","--variant-featured-3--l":"_--variant-featured-3--l_179zk_1","--variant-body-1--l":"_--variant-body-1--l_179zk_1","--variant-body-2--l":"_--variant-body-2--l_179zk_1","--variant-body-3--l":"_--variant-body-3--l_179zk_1","--variant-caption-1--l":"_--variant-caption-1--l_179zk_1","--variant-caption-2--l":"_--variant-caption-2--l_179zk_1","--align-start--xl":"_--align-start--xl_179zk_1","--align-center--xl":"_--align-center--xl_179zk_1","--align-end--xl":"_--align-end--xl_179zk_1","--variant-title-1--xl":"_--variant-title-1--xl_179zk_1","--variant-title-2--xl":"_--variant-title-2--xl_179zk_1","--variant-title-3--xl":"_--variant-title-3--xl_179zk_1","--variant-title-4--xl":"_--variant-title-4--xl_179zk_1","--variant-title-5--xl":"_--variant-title-5--xl_179zk_1","--variant-title-6--xl":"_--variant-title-6--xl_179zk_1","--variant-featured-1--xl":"_--variant-featured-1--xl_179zk_1","--variant-featured-2--xl":"_--variant-featured-2--xl_179zk_1","--variant-featured-3--xl":"_--variant-featured-3--xl_179zk_1","--variant-body-1--xl":"_--variant-body-1--xl_179zk_1","--variant-body-2--xl":"_--variant-body-2--xl_179zk_1","--variant-body-3--xl":"_--variant-body-3--xl_179zk_1","--variant-caption-1--xl":"_--variant-caption-1--xl_179zk_1","--variant-caption-2--xl":"_--variant-caption-2--xl_179zk_1"},Xs={"title-1":"h1","title-2":"h2","title-3":"h3","title-4":"h4","title-5":"h5","title-6":"h6"},se=e=>{const{variant:t,color:n,weight:o,align:r,decoration:s,maxLines:a,wrap:l,children:u,className:_,attributes:d}=e,f=typeof t=="string"?t:(t==null?void 0:t.xl)||(t==null?void 0:t.l)||(t==null?void 0:t.m)||(t==null?void 0:t.s),m=e.as||f&&Xs[f]||"div",g=A(Je.root,n&&Je[`--color-${n}`],...J(Je,"--variant",t),...J(Je,"--align",r),o&&Je[`--weight-${o}`],s&&Je[`--decoration-${s}`],a!==void 0&&Je["--clamp"],a===1&&Je["--break-all"],l&&Je[`--wrap-${l}`],_),v=z(p({},d==null?void 0:d.style),{"--rs-text-lines":a});return i.jsx(m,z(p({},d),{className:g,style:v,children:u}))},Js={icon:"_icon_1elkf_1"},Zs=e=>{const{title:t,children:n,icon:o,actionsSlot:r,color:s="neutral",inline:a,bleed:l,className:u,attributes:_}=e,d=s==="neutral",f=()=>a?i.jsxs(i.Fragment,{children:[t&&i.jsx(se,{variant:"body-3",weight:"medium",as:"span",children:t}),t&&n&&" ",n&&i.jsx(se,{variant:"body-3",as:"span",children:n})]}):i.jsxs(q,{gap:1,children:[t&&i.jsx(se,{variant:"body-3",weight:"medium",children:t}),n&&i.jsx(se,{variant:"body-3",children:n})]}),m=g=>r?i.jsxs(q,{gap:a?4:2,direction:a?"row":"column",children:[a?i.jsx(q.Item,{grow:!0,children:g}):g,r&&i.jsx(se,{variant:"body-3",weight:"medium",children:i.jsx(q,{direction:"row",gap:3,children:r})})]}):g;return i.jsx(q,{direction:"row",gap:3,padding:4,bleed:l,borderRadius:"medium",borderColor:`${s}-faded`,backgroundColor:`${s}-faded`,className:u,attributes:z(p({},_),{role:s==="critical"?"alert":"status"}),children:o?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:Js.icon,children:i.jsx(he,{svg:o,size:5,color:d?"primary":s})}),i.jsx(q.Item,{grow:!0,children:m(f())})]}):m(f())})},Lo=c.createContext({attributes:{}}),Qs=Lo.Provider,Pt=()=>c.useContext(Lo),Ze=()=>{const{attributes:e,required:t,hasError:n,disabled:o}=Pt();return{attributes:e,required:t,hasError:n,disabled:o}},qn=(e,t)=>`${e}-${t||"caption"}`,ei=e=>{const{children:t,id:n,required:o,hasError:r,group:s,disabled:a,size:l}=e,u=Oe(n),_=s?"fieldset":"div",[d,f]=c.useState(!1),[m,g]=c.useState(!1),v=[d&&qn(u),m&&qn(u,"error")].filter(Boolean).join(" "),b={id:u,"aria-describedby":v},y=()=>{g(!0)},w=()=>{f(!0)};return i.jsx(_,{children:i.jsx(Qs,{value:{required:o,hasError:r,errorRef:y,helperRef:w,attributes:b,group:s,disabled:a,size:l},children:t})})},Vo={root:"_root_1ni0x_1",label:"_label_1ni0x_5",caption:"_caption_1ni0x_10"},ti=e=>{const{children:t}=e,{attributes:n,required:o,group:r,disabled:s,size:a}=Pt(),l=`${n.id}-label`,u=r?{as:"legend",attributes:{id:l}}:{as:"label",attributes:{id:l,htmlFor:n.id}};return i.jsxs(se,z(p({},u),{variant:a==="large"?"body-2":"body-3",weight:"medium",className:Vo.label,color:s?"disabled":void 0,children:[t,o&&i.jsx(se,{color:s?"disabled":"critical",as:"span",children:"*"})]}))},Oo=e=>{const{children:t,variant:n,disabled:o}=e,{attributes:r,size:s,helperRef:a,errorRef:l}=Pt(),u=qn(r.id,n),_=n==="error"?"critical":"neutral-faded",d=n==="error"?l:a;return i.jsx(se,{as:"span",variant:s==="large"?"body-3":"caption-1",color:o&&!n?"disabled":_,attributes:{id:u,role:_?"alert":void 0,ref:d},className:Vo.caption,children:t})},ni=e=>{const{children:t}=e,{hasError:n}=Pt();return n?i.jsx(Oo,{variant:"error",children:t}):null},oi=e=>{const{children:t}=e,{disabled:n}=Pt();return i.jsx(Oo,{disabled:n,children:t})},tn=ei;tn.Label=ti,tn.Helper=oi,tn.Error=ni;const ri=tn,qo={root:"_root_1q3jm_1","--side-all":"_--side-all_1q3jm_6","--side-start":"_--side-start_1q3jm_10","--side-inline":"_--side-inline_1q3jm_11","--side-end":"_--side-end_1q3jm_15","--side-top":"_--side-top_1q3jm_20","--side-block":"_--side-block_1q3jm_21","--side-bottom":"_--side-bottom_1q3jm_25"},nn=e=>{const{side:t="all",children:n,className:o,attributes:r}=e,s=typeof t=="string"?[t]:t,a=A(qo.root,s.map(l=>qo[`--side-${l}`]),o);return i.jsx("div",z(p({},r),{className:a,children:n}))},qe={root:"_root_1sewd_1",input:"_input_1sewd_25",slot:"_slot_1sewd_46",icon:"_icon_1sewd_47",affix:"_affix_1sewd_48",attachment:"_attachment_1sewd_64","attachment--position-start":"_attachment--position-start_1sewd_70","attachment--position-end":"_attachment--position-end_1sewd_80","--disabled":"_--disabled_1sewd_96","--size-medium":"_--size-medium_1sewd_1","--size-large":"_--size-large_1sewd_1","--size-xlarge":"_--size-xlarge_1sewd_1","--variant-faded":"_--variant-faded_1sewd_160","--variant-headless":"_--variant-headless_1sewd_169","--status-error":"_--status-error_1sewd_174","--size-medium--m":"_--size-medium--m_1sewd_1","--size-large--m":"_--size-large--m_1sewd_1","--size-xlarge--m":"_--size-xlarge--m_1sewd_1","--size-medium--l":"_--size-medium--l_1sewd_1","--size-large--l":"_--size-large--l_1sewd_1","--size-xlarge--l":"_--size-xlarge--l_1sewd_1","--size-medium--xl":"_--size-medium--xl_1sewd_1","--size-large--xl":"_--size-large--xl_1sewd_1","--size-xlarge--xl":"_--size-xlarge--xl_1sewd_1"},Bo=e=>{const{slot:t,icon:n,size:o,affix:r,position:s}=e;if(!n&&!t&&!r)return null;const a=A(qe.attachment,qe[`attachment--position-${s}`]),l=[t&&i.jsx("div",{className:qe.slot,children:t},"slot"),n&&i.jsx("div",{className:qe.icon,children:i.jsx(he,{size:Ee(o,u=>u==="large"?5:u==="xlarge"?6:4),svg:n})},"icon"),r&&i.jsx("div",{className:qe.affix,children:r},"affix")].filter(Boolean);return i.jsx("span",{className:a,children:s==="end"?l.reverse():l})},Ho=e=>{var S;const{onChange:t,onFocus:n,onBlur:o,name:r,value:s,defaultValue:a,placeholder:l,icon:u,endIcon:_,startSlot:d,endSlot:f,prefix:m,suffix:g,size:v="medium",variant:b="outline",className:y,attributes:w}=e,x=Ze(),j=Oe(e.id),C=(x==null?void 0:x.attributes.id)||((S=e.inputAttributes)==null?void 0:S.id)||j,N=(x==null?void 0:x.disabled)||e.disabled,I=(x==null?void 0:x.hasError)||e.hasError,k=p(p({},e.inputAttributes),x==null?void 0:x.attributes),$=A(qe.root,y,v&&J(qe,"--size",v),I&&qe["--status-error"],N&&qe["--disabled"],b&&qe[`--variant-${b}`]),F=M=>{t&&t({name:r,value:M.target.value,event:M})};return i.jsxs("div",z(p({},w),{"data-rs-aligner-target":!0,className:$,children:[i.jsx(Bo,{position:"start",icon:u,slot:d,size:v,affix:m}),i.jsx("input",z(p({},k),{className:qe.input,disabled:N,name:r,placeholder:l,value:s,defaultValue:a,onChange:F,onFocus:n||(k==null?void 0:k.onFocus),onBlur:o||(k==null?void 0:k.onBlur),id:C})),i.jsx(Bo,{position:"end",icon:_,slot:f,size:v,affix:g})]}))};Ho.Aligner=nn;const Wo=Ho;class si{constructor(){this.chain={},this.tailId=null,this.idCounter=0}generateId(){return this.idCounter+=1,this.idCounter}getAll(){return this.chain}get(t){return this.chain[t]}isLast(t){return this.tailId!==null&&t===this.tailId}isEmpty(){return typeof this.tailId!="number"}add(t){const n=this.tailId,o=n&&this.get(n),r=this.generateId();return this.chain[r]={previousId:n,data:t},o&&(o.nextId=r),this.tailId=r,r}remove(t){var u,_;const n=this.chain[t];if(!n)return;const o=n.previousId,r=o&&this.get(o),s=n.nextId,a=s&&this.get(s);r&&(r.nextId=(u=n.nextId)!=null?u:null),a&&(a.previousId=(_=n.previousId)!=null?_:null),s||(this.tailId=o!=null?o:null);const l=this.get(t).data;return delete this.chain[t],l}removePreviousTill(t,n){const o=this.get(t),r=this.remove(t);return!o||!o.previousId||n(o)?r:this.removePreviousTill(o.previousId,n)}}class ii{constructor(t){this.hiddenElements=[],this.hideSiblingsFromScreenReader=n=>{let o=n.parentNode&&n.parentNode.firstChild;for(;o;){const r=o!==n,s=o.nodeType===1&&!o.hasAttribute("aria-hidden");r&&s&&(o.setAttribute("aria-hidden","true"),this.hiddenElements.push(o)),o=o.nextSibling}},this.release=()=>{this.hiddenElements.forEach(n=>{n.removeAttribute("aria-hidden")}),this.hiddenElements=[]},this.trap=()=>{let n=this.root;for(this.release();n!==document.body;)this.hideSiblingsFromScreenReader(n),n=n.parentElement},this.root=t}}const on="data-rs-focus",Ro='a,button,input:not([type="hidden"]),textarea,select,details,[tabindex]:not([tabindex="-1"])',Ft=()=>document.querySelector(`[${on}]`)||document.activeElement,rn=(e,t)=>{var n;(n=document.querySelector(`[${on}]`))==null||n.removeAttribute(on),t!=null&&t.pseudoFocus?e.setAttribute(on,"true"):e.focus()},Bn=(e,t)=>{const o=Array.from(e.querySelectorAll(Ro)).filter(r=>{if(r.hasAttribute("disabled")||r.clientHeight===0)return!1;if(r.type==="radio"){let s;if(r.form){const a=r.form.elements.namedItem(r.name);if(!a)return!1;"length"in a?s=Array.from(a).filter(u=>"type"in u&&u.type==="radio"):s=[a]}else s=Array.from(e.querySelectorAll(`[type="radio"][name="${r.name}"]`));if(s!=null&&s.length){const a=Array.from(s).find(l=>l.checked);if(a&&r!==a||!a&&r!==s[0])return!1}}return!0});return t!=null&&t.additionalElement&&o.length&&o.unshift(t.additionalElement),o},Uo=e=>{const{root:t,target:n,options:o}=e,r=Bn(t,{additionalElement:o==null?void 0:o.additionalElement}),s=r.length-1,a=Ft(),l=r.indexOf(a),u={next:l+1,prev:l-1,first:0,last:s};let _=u[n];const d=_>s||_<0;return d&&(o!=null&&o.circular?_=n==="prev"?u.last:u.first:_=n==="prev"?u.first:u.last),{overflow:d,el:r[_]}},sn=(e,t)=>{const n=Uo({root:e,target:t});rn(n.el)},ai=e=>sn(e,"next"),li=e=>sn(e,"prev"),ci=e=>sn(e,"first"),ui=e=>sn(e,"last"),Hn="data-rs-keyboard",di=()=>{document.documentElement.setAttribute(Hn,"true")},_i=()=>{document.documentElement.removeAttribute(Hn)},Yo=()=>document.documentElement.hasAttribute(Hn),Ie=class Ie{constructor(t){this.trigger=null,this.options={},this.mutationObserver=null,this.handleKeyDown=n=>{if(Ie.chain.tailId!==this.chainId)return;const{mode:o,onNavigateOutside:r,pseudoFocus:s,includeTrigger:a}=this.options;let l="tabs";(o==="action-menu"||o==="selection-menu")&&(l="arrows");const u=n.key,_=u===zs,d=_&&!n.shiftKey,f=_&&n.shiftKey,m=l==="arrows"&&u===Xt,g=l==="arrows"&&u===Jt,v=f&&l==="tabs"||m,b=d&&l==="tabs"||g,y=Ft()===this.trigger,w=Uo({root:this.root,target:v?"prev":"next",options:{additionalElement:a?this.trigger:void 0,circular:o!=="action-menu"}});if(_&&l==="arrows"||o==="content-menu"&&_&&w.overflow){f&&!y&&n.preventDefault(),this.release(),r==null||r();return}!v&&!b||(n.preventDefault(),w.el&&rn(w.el,{pseudoFocus:s}))},this.addListeners=()=>document.addEventListener("keydown",this.handleKeyDown),this.removeListeners=()=>document.removeEventListener("keydown",this.handleKeyDown),this.trap=(n={})=>{const{mode:o="dialog",includeTrigger:r,initialFocusEl:s}=n,a=Ft(),l=Bn(this.root,{additionalElement:r?a:void 0}),u=o==="selection-menu";if(this.options=z(p({},n),{pseudoFocus:u}),this.trigger=a,this.mutationObserver=new MutationObserver(()=>{const d=Ft();if(this.root.contains(d))return;const f=Bn(this.root,{additionalElement:r?a:void 0});f.length&&rn(f[0],{pseudoFocus:u})}),this.removeListeners(),o==="dialog"&&this.screenReaderTrap.trap(),this.mutationObserver.observe(this.root,{childList:!0,subtree:!0}),!l.length&&!s)return;this.addListeners();const _=Ie.chain.tailId&&Ie.chain.get(Ie.chain.tailId);(!_||this.root!==_.data.root)&&(this.chainId=Ie.chain.add(this),rn(s||l[0],{pseudoFocus:u})),this.trapped=!0},this.release=(n={})=>{var s;const{withoutFocusReturn:o}=n;if(!this.trapped||!this.chainId)return;if(this.trapped=!1,this.trigger){const a=o||!Yo();this.trigger.focus({preventScroll:a})}Ie.chain.removePreviousTill(this.chainId,a=>document.body.contains(a.data.trigger)),(s=this.mutationObserver)==null||s.disconnect(),this.removeListeners(),this.screenReaderTrap.release();const r=Ie.chain.tailId&&Ie.chain.get(Ie.chain.tailId);r&&new Ie(r.data.root).trap(r.data.options)},this.root=t,this.screenReaderTrap=new ii(t)}};Ie.chain=new si;let Lt=Ie;const mi=100,fi=150;let xt={},Ye=null;const Go=e=>{xt[e]&&(e===Ye&&(Ye=xt[e].parentId),delete xt[e],Ye===null&&(xt={}))},hi=(e,t,n)=>{var s;const o=Ye?xt[Ye]:void 0;!((n==null?void 0:n.current)&&o&&((s=o.contentRef.current)==null?void 0:s.contains(n.current)))&&n&&Ye&&Go(Ye),xt[e]={parentId:Ye,triggerRef:n,contentRef:t},Ye=e},Ko=(e=!1,t,n)=>{const o=Oe(),r=c.useCallback(()=>Ye===o,[o]);return c.useEffect(()=>{e?hi(o,t,n):Go(o)},[e,o,t,n]),r},me=typeof window!="undefined"?c.useLayoutEffect:c.useEffect,Vt="+",Be={};let an=[];const Xo=e=>e===" "?e:e.replace(/\s/g,"").toLowerCase(),Jo=e=>Xo(e).split(Vt).sort().join(Vt),Zo=e=>{if(e.key)return e.altKey&&e.key!=="Alt"?e.code.toLowerCase().replace(/key|digit|numpad/,""):e.key.toLowerCase()},Qo=(e,t)=>{Object.keys(e).forEach(n=>{n.split(",").forEach(o=>{const r=e[n];r&&t(Jo(o),r)})})};class bi{constructor(){this.hotkeyMap={},this.getSize=()=>Object.keys(this.hotkeyMap).length,this.bindHotkeys=(t,n,o)=>{Qo(t,(r,s)=>{s&&(this.hotkeyMap[r]||(this.hotkeyMap[r]=new Set),this.hotkeyMap[r].add({callback:s,ref:n,options:o}))})},this.unbindHotkeys=t=>{Qo(t,(n,o)=>{var r,s;o&&((r=this.hotkeyMap[n])==null||r.forEach(a=>{a.callback===o&&this.hotkeyMap[n].delete(a)}),(s=this.hotkeyMap[n])!=null&&s.size||delete this.hotkeyMap[n])})},this.handleKeyDown=(t,n)=>{const o=Object.keys(t);if(!o.length)return;const r=Jo(o.join(Vt)),s=r.split(Vt),a=this.hotkeyMap[r],l=s.includes("control")&&this.hotkeyMap[r.replace("control","mod")],u=s.includes("meta")&&this.hotkeyMap[r.replace("meta","mod")];[a,l,u].forEach(_=>{_&&_!=null&&_.size&&_.forEach(d=>{var m;if((m=d.ref)!=null&&m.current&&!(n.target===d.ref.current||d.ref.current.contains(n.target)))return;const f=t[r];d.options.preventDefault&&(f==null||f.preventDefault()),d.callback(f)})})}}}const Wn=new bi,er=c.createContext({}),gi=e=>{const{children:t}=e,[n,o]=c.useState(0),[r,s]=c.useState(0),a=c.useCallback(m=>{if(m.repeat||r===0)return;const g=Zo(m);g&&(Be[g]=m,o(Object.keys(Be).length),m.metaKey&&an.push(...Object.keys(Be)),Be.Meta&&an.push(g))},[r]),l=c.useCallback(m=>{if(r===0)return;const g=Zo(m);g&&(delete Be[g],(g==="meta"||g==="control")&&delete Be.mod,g==="meta"&&(an.forEach(v=>{Be[v]&&delete Be[v]}),an=[]),o(Object.keys(Be).length))},[r]),u=m=>!Xo(m).split(Vt).some(v=>!Be[v]),_=c.useCallback((m,g,v={})=>(s(b=>b+1),Wn.bindHotkeys(m,g,v),()=>{s(b=>b-1),Wn.unbindHotkeys(m)}),[]),d=c.useCallback(m=>{m.key&&(a(m),Wn.handleKeyDown(Be,m))},[a]),f=c.useCallback(m=>{m.key&&l(m)},[l]);return c.useEffect(()=>(window.addEventListener("keydown",d),window.addEventListener("keyup",f),()=>{window.removeEventListener("keydown",d),window.removeEventListener("keyup",f)}),[d,f]),i.jsx(er.Provider,{value:{addHotkeys:_,isPressed:u},children:t})},vi=()=>c.useContext(er),Qe=(e,t=[],n)=>{const{addHotkeys:o,isPressed:r}=vi(),s=c.useRef(null),a=(n==null?void 0:n.ref)||s;return c.useEffect(()=>{if(n!=null&&n.disabled)return;const l=o(e,a,{preventDefault:n==null?void 0:n.preventDefault});return()=>l==null?void 0:l()},[o,Object.keys(e).join(","),n==null?void 0:n.disabled,n==null?void 0:n.preventDefault,...t]),{ref:a,checkHotkeyState:r}},pi=(e,t)=>{c.useEffect(()=>{if(!t)return;const n=o=>{let r=!1;e.forEach(s=>{(!s.current||s.current===o.target||s.current.contains(o.target))&&(r=!0)}),!r&&t(o)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[t,...e])},Rn=c.createContext({rtl:[!1,()=>{}],defaultViewport:"s"}),xi=e=>{const t=c.useState(e||!1),[n,o]=t;return me(()=>{const r=new MutationObserver(s=>{s.forEach(a=>{if(a.attributeName!=="dir")return;const l=a.target.dir==="rtl";n!==l&&o(l)})});return r.observe(document.documentElement,{attributes:!0}),()=>r.disconnect()},[n]),me(()=>{document.documentElement.setAttribute("dir",n?"rtl":"ltr")},[n]),t},at=()=>c.useContext(Rn).rtl,Un=e=>{const t=e&&window.getComputedStyle(e),n=t==null?void 0:t.overflowY,o=t==null?void 0:t.position,r=n==null?void 0:n.includes("scroll"),s=o==="fixed"||o==="sticky";return e===document.body||!e?document.body:r&&e.scrollHeight>e.clientHeight||s?e:Un(e.parentElement)},Yn=()=>{document.body.style.userSelect="none"},Gn=()=>{document.body.style.userSelect=""},tr=16,wi=e=>e.includes("start")?e.replace("start","end"):e.includes("end")?e.replace("end","start"):e,nr=(e,t)=>Math.floor(e/2-t/2),or=e=>{const{triggerBounds:t,flyoutBounds:n,scopeOffset:o,position:r,rtl:s,width:a}=e;let l=0,u=0,_=r;switch(s&&(_=wi(_)),(a==="full"||a==="trigger")&&(_=_.includes("top")?"top":"bottom"),_){case"bottom":case"top":l=nr(t.width,n.width)+t.left;break;case"start":case"start-top":case"start-bottom":l=t.left-t.width;break;case"end":case"end-top":case"end-bottom":l=t.right;break;case"top-start":case"bottom-start":l=t.left;break;case"top-end":case"bottom-end":l=t.right-n.width;break}switch(_){case"top":case"top-start":case"top-end":u=t.top-n.height;break;case"bottom":case"bottom-start":case"bottom-end":u=t.bottom;break;case"start":case"end":u=nr(t.height,n.height)+t.top;break;case"start-top":case"end-top":u=t.top;break;case"start-bottom":case"end-bottom":u=t.bottom-t.height;break}if(u===void 0||l===void 0)throw Error(`[Reshaped, flyout]: ${_} position is not valid`);u=Math.round(u+(window.scrollY||0)-o.top),l=Math.round(l+(window.scrollX||0)-o.left);let d=Math.ceil(n.width);const f=Math.ceil(n.height);return a==="full"?(l=tr,d=window.innerWidth-tr*2):a==="trigger"&&(d=t.width),{styles:{left:l,top:u,width:d,height:f},position:_}},ln=["top-start","top","top-end"],cn=["bottom-start","bottom","bottom-end"],un=["start","start-bottom","start-top"],dn=["end","end-bottom","end-top"],yi={top:[...ln,...cn,...dn,...un],bottom:[...cn,...ln,...dn,...un],start:[...un,...dn,...ln,...cn],end:[...dn,...un,...ln,...cn]},Ci=e=>{const n=["top","bottom","start","end"].find(o=>e.startsWith(o))||"bottom";return yi[n]},Kn=e=>{const t=document.documentElement,n=t.scrollLeft,o=n+t.clientWidth,r=t.scrollTop,s=r+t.clientHeight;return e.left>=n&&e.left+e.width<=o&&e.top>=r&&e.top+e.height<=s},rr={left:0,top:0,width:"auto",height:"auto",zIndex:"var(--rs-z-index-flyout)"},_n={left:0,top:0,position:"fixed",visibility:"hidden",animation:"none",transition:"none",zIndex:"var(--rs-z-index-tooltip)"},ji=(e,t,n)=>{const{position:o,forcePosition:r,width:s}=n,a=t.cloneNode(!0),l=e.getBoundingClientRect();a.style="",Object.keys(_n).forEach(g=>{const v=_n[g];a.style[g]=v.toString()}),s&&(s==="trigger"?a.style.width=`${l.width}px`:s!=="full"&&(a.style.width=s)),document.body.appendChild(a);const u=a.getBoundingClientRect(),_=Un(e),d=_.getBoundingClientRect(),f={top:d.top+document.documentElement.scrollTop-_.scrollTop,left:d.left+document.documentElement.scrollLeft-_.scrollLeft};let m=or(p({triggerBounds:l,flyoutBounds:u,scopeOffset:f},n));if(!Kn(m.styles)&&!r){const g=Ci(o),v=g.filter(y=>y==="top"||y==="bottom"),b=(y,w={})=>{const{fullWidth:x}=w;y.some(j=>{const C=z(p({},n),{width:x?"full":n.width,position:j}),N=or(p({triggerBounds:l,flyoutBounds:u,scopeOffset:f},C));return Kn(N.styles)?(m=N,!0):!1})};b(g),Kn(m.styles)||b(v,{fullWidth:!0})}return a.parentNode.removeChild(a),m},ki=(e,t)=>{switch(t.type){case"render":return e.status!=="idle"?e:z(p({},e),{status:"rendered",styles:p({pointerEvents:"none"},_n)});case"position":return e.status!=="rendered"?e:z(p({},e),{status:"positioned",position:t.payload.position,styles:p(p({},rr),t.payload.styles)});case"show":return e.status!=="positioned"?e:z(p({},e),{status:"visible"});case"hide":return e.status!=="visible"?e:z(p({},e),{status:"hidden"});case"remove":return e.status!=="hidden"&&e.status!=="visible"?e:z(p({},e),{status:"idle",styles:_n});default:throw new Error("Invalid reducer type")}},$i=(e,t,n)=>{const{position:o="bottom",forcePosition:r,width:s}=n,[a]=at(),[l,u]=c.useReducer(ki,{position:o,styles:rr,status:"idle"}),_=c.useCallback(()=>{u({type:"render"})},[]),d=c.useCallback(()=>{u({type:"show"})},[]),f=c.useCallback(()=>{u({type:"hide"})},[]),m=c.useCallback(()=>{u({type:"remove"})},[]),g=c.useCallback(()=>{if(!e.current||!t.current)return;const v=ji(e.current,t.current,{width:s,position:o,forcePosition:r,rtl:a});u({type:"position",payload:v})},[e,t,o,a,r,s]);return c.useEffect(()=>{l.status==="rendered"&&g()},[l.status,g]),c.useMemo(()=>({position:l.position,styles:l.styles,status:l.status,updatePosition:g,render:_,hide:f,remove:m,show:d}),[_,g,f,m,d,l.position,l.styles,l.status])},sr=c.createContext({}),ir=c.createContext({}),Ot=()=>c.useContext(sr),Ni=()=>c.useContext(ir),zi=sr.Provider,Ei=ir.Provider,ar=e=>{const{triggerType:t="click",onOpen:n,onClose:o,children:r,forcePosition:s,trapFocusMode:a,width:l,disableHideAnimation:u,contentGap:_,contentClassName:d,contentAttributes:f,position:m,active:g,id:v,instanceRef:b}=e,y=Ot(),w=Ni(),[x]=at(),j=c.useRef(null),C=(w==null?void 0:w.triggerElRef)||j,N=c.useRef(null),I=Oe(v),k=c.useRef(),$=c.useRef(null),F=c.useRef(!1),S=c.useRef(!1),M=c.useRef(!1),P=c.useRef(!0),O=$i(C,N,{width:l,position:m,defaultActive:g,forcePosition:s}),{status:L,updatePosition:V,render:G,hide:de,remove:ne,show:De}=O,oe=Ko(t!=="hover"&&L!=="idle",N,C),Z=c.useCallback(()=>{k.current&&clearTimeout(k.current)},[k]),ee=c.useCallback(()=>{!F.current&&L==="idle"&&(n==null||n())},[L]),te=c.useCallback(R=>{var ye;!(t==="click"&&!oe())&&L!=="idle"&&(o==null||o(),R!=null&&R.closeParents&&((ye=y==null?void 0:y.handleClose)==null||ye.call(y)))},[L,oe,t]),ve=c.useCallback(R=>{var xe;(xe=N.current)!=null&&xe.contains(R.relatedTarget)||t==="hover"&&a==="content-menu"||M.current||te()},[te,t,a]),K=c.useCallback(()=>{ee()},[ee]),Y=c.useCallback(()=>{Z(),k.current=setTimeout(ee,mi)},[Z,k,ee]),H=c.useCallback(()=>{Z(),k.current=setTimeout(()=>te(),fi)},[Z,k,te]),W=c.useCallback(()=>{L==="idle"?ee():te()},[L,ee,te]),ie=()=>M.current=!0,le=()=>M.current=!1,_e=c.useCallback(R=>{g&&(N.current!==R.currentTarget||R.propertyName!=="transform"||(S.current=!0))},[g]),pe=c.useCallback(R=>{N.current!==R.currentTarget||R.propertyName!=="transform"||L==="hidden"&&(S.current=!1,ne())},[ne,L]);return me(()=>{if(g){G();return}Us()&&!u&&S.current?de():ne()},[g,G,de,u]),c.useEffect(()=>{L==="positioned"&&Pe(()=>De())},[L,De]),me(()=>{L!=="visible"||!N.current||($.current=new Lt(N.current),$.current.trap({mode:a,includeTrigger:t==="hover"&&a==="content-menu",onNavigateOutside:()=>{te()}}))},[L,t,te,a]),c.useEffect(()=>{var R;!u&&L!=="hidden"||u&&L!=="idle"||(R=$.current)!=null&&R.trapped&&(t==="hover"&&(F.current=!0,setTimeout(()=>{F.current=!1},100)),$.current.release({withoutFocusReturn:!P.current}),P.current=!0)},[L,t,u]),c.useEffect(()=>()=>{var R;return(R=$.current)==null?void 0:R.release()},[]),c.useEffect(()=>{const R=ko(V,10);return window.addEventListener("resize",R),()=>window.removeEventListener("resize",R)},[V]),c.useEffect(()=>{V()},[x,V]),c.useImperativeHandle(b,()=>({open:ee,close:te}),[ee,te]),Qe({Escape:()=>te()},[te]),pi([N,C],()=>{P.current=!1,te()}),i.jsx(zi,{value:{id:I,flyout:O,width:l,triggerElRef:C,flyoutElRef:N,handleClose:te,handleOpen:ee,handleFocus:K,handleBlur:ve,handleMouseEnter:Y,handleMouseLeave:H,handleTransitionStart:_e,handleTransitionEnd:pe,handleClick:W,handleContentMouseDown:ie,handleContentMouseUp:le,triggerType:t,trapFocusMode:a,contentGap:_,contentClassName:d,contentAttributes:f},children:r})},Ti=e=>{const{defaultActive:t,onClose:n,onOpen:o}=e,[r,s]=c.useState(t||!1),a=()=>{s(!1),n&&n()},l=()=>{s(!0),o&&o()};return i.jsx(ar,z(p({},e),{defaultActive:void 0,active:r,onClose:a,onOpen:l}))},Mi=e=>{const{children:t}=e,{id:n,triggerElRef:o,triggerType:r,flyout:s,handleFocus:a,handleBlur:l,handleMouseEnter:u,handleMouseLeave:_,handleClick:d,trapFocusMode:f}=Ot();let m={onBlur:l,ref:o};return(r==="click"||f==="action-menu")&&(m.onClick=d),r==="hover"&&(m.onMouseEnter=u,m.onMouseLeave=_),(r==="hover"&&f!=="action-menu"||r==="focus")&&(m.onFocus=a,m["aria-describedby"]=n),(r==="click"||r==="focus"||f==="action-menu")&&(f==="dialog"?m["aria-haspopup"]="dialog":f==="selection-menu"?(m["aria-haspopup"]="listbox",m["aria-autocomplete"]="list"):m["aria-haspopup"]="menu",m["aria-expanded"]=s.status!=="idle",m["aria-controls"]=s.status!=="idle"?n:void 0),i.jsx(Ei,{value:{triggerElRef:o},children:t(m)})},lr=c.createContext({theme:"",rootTheme:"",colorMode:"light",setTheme:()=>{},setRootTheme:()=>{}}),Xn=c.createContext({mode:"light",setMode:()=>{},invertMode:()=>{}}),Si=()=>{const{mode:e}=c.useContext(Xn);return e},cr=()=>{const{colorMode:e,theme:t,setTheme:n,rootTheme:o,setRootTheme:r}=c.useContext(lr),{mode:s,setMode:a,invertMode:l}=c.useContext(Xn);return c.useMemo(()=>({theme:t,setTheme:n,rootTheme:o,setRootTheme:r,colorMode:e||s,setColorMode:a,invertColorMode:l}),[e,s,a,l,t,n,r,o])},Ii={root:"_root_ve3fz_1"},wt=e=>{const{name:t,defaultName:n,colorMode:o,children:r,className:s}=e,[a,l]=c.useState(!1),[u,_]=c.useState(n),d=Si(),f=cr(),m=!f.theme,g=t||u||f.theme,v=m?g:f.rootTheme,b=m?d:f.colorMode,w=o==="inverted"?b==="light"?"dark":"light":o||b,x=A(Ii.root,s),j=c.useCallback(I=>{m?_(I):f.setRootTheme(I)},[m,f]),C=c.useCallback(I=>{_(I)},[]);me(()=>{l(!0)},[]),me(()=>{if(!document||!m)return;const I=document.documentElement.getAttribute("data-rs-color-mode");return document.documentElement.setAttribute("data-rs-theme",g),I||document.documentElement.setAttribute("data-rs-color-mode",w),()=>{document.documentElement.removeAttribute("data-rs-theme"),I||document.documentElement.removeAttribute("data-rs-color-mode")}},[g,w,m]);const N=c.useMemo(()=>({theme:g,rootTheme:v,colorMode:w,setTheme:C,setRootTheme:j}),[g,w,C,j,v]);return i.jsx(lr.Provider,{value:N,children:i.jsx("div",{className:x,"data-rs-theme":m?void 0:g,"data-rs-color-mode":m||!o&&!a?void 0:w,children:r})})},Di=e=>{const{defaultMode:t,children:n}=e,[o,r]=c.useState(t||"light"),s=c.useCallback(l=>{document.documentElement.setAttribute("data-rs-color-mode",l),r(u=>(u!==l&&Ws(),l))},[]);me(()=>{Pe(()=>{Rs()})},[o]),me(()=>{const l=document.documentElement.getAttribute("data-rs-color-mode");l&&s(l)},[]);const a=c.useMemo(()=>({mode:o,setMode:s,invertMode:()=>{s(o==="light"?"dark":"light")}}),[o,s]);return i.jsx(Xn.Provider,{value:a,children:n})},ur=c.createContext({}),Ai=()=>c.useContext(ur),dr=e=>{const{children:t,targetRef:n}=e,o=Ai(),r=n||o.scopeRef;return je.createPortal(i.jsx(wt,{children:t}),(r==null?void 0:r.current)||document.body)};function Pi(e){const{children:t}=e,n=c.useRef(null);return i.jsx(ur.Provider,{value:{scopeRef:n},children:t(n)})}dr.Scope=Pi;const Jn=dr,yt={content:"_content_12uuh_1",inner:"_inner_12uuh_9","--width-trigger":"_--width-trigger_12uuh_15","--position-top":"_--position-top_12uuh_19","--position-top-end":"_--position-top-end_12uuh_20","--position-top-start":"_--position-top-start_12uuh_21","--position-bottom":"_--position-bottom_12uuh_27","--position-bottom-end":"_--position-bottom-end_12uuh_28","--position-bottom-start":"_--position-bottom-start_12uuh_29","--position-start":"_--position-start_12uuh_45","--position-start-top":"_--position-start-top_12uuh_46","--position-start-bottom":"_--position-start-bottom_12uuh_47","--position-end":"_--position-end_12uuh_53","--position-end-top":"_--position-end-top_12uuh_54","--position-end-bottom":"_--position-end-bottom_12uuh_55","--visible":"_--visible_12uuh_71","--animated":"_--animated_12uuh_76"},Fi=e=>{const{children:t,className:n,attributes:o}=e,{flyout:r,id:s,flyoutElRef:a,triggerElRef:l,handleTransitionEnd:u,handleTransitionStart:_,triggerType:d,handleMouseEnter:f,handleMouseLeave:m,handleContentMouseDown:g,handleContentMouseUp:v,contentGap:b,contentClassName:y,contentAttributes:w,trapFocusMode:x,width:j}=Ot(),{styles:C,status:N,position:I}=r,[k,$]=c.useState(!1);if(me(()=>{$(!0)},[]),c.useEffect(()=>{const L=a.current;if(L)return L.addEventListener("transitionstart",_),()=>L.removeEventListener("transitionstart",_)},[_,a,N]),N==="idle"||!k)return null;const F=A(yt.content,N==="visible"&&yt["--visible"],["visible","hidden"].includes(N)&&yt["--animated"],I&&yt[`--position-${I}`],j==="trigger"&&yt["--width-trigger"]),S=A(yt.inner,n,y);let M;d==="hover"?M="tooltip":x==="dialog"?M="dialog":x==="selection-menu"?M="listbox":x==="action-menu"&&(M="menu");const P=i.jsx("div",{className:F,style:z(p({},C),{"--rs-flyout-gap":b}),ref:a,onTransitionEnd:u,onMouseEnter:d==="hover"?f:void 0,onMouseLeave:d==="hover"?m:void 0,onMouseDown:g,onTouchStart:g,onMouseUp:v,onTouchEnd:v,children:i.jsx("div",z(p({role:M},o),{id:s,"aria-modal":d==="click",style:w==null?void 0:w.style,className:S,children:t}))}),O=Un(l.current);return i.jsx(Jn,{targetRef:O===document.body?void 0:{current:O},children:P})},Zn=e=>{const{active:t}=e;return typeof t=="boolean"?i.jsx(ar,p({},e)):i.jsx(Ti,p({},e))};Zn.Trigger=Mi,Zn.Content=Fi;const Ct=Zn,Qn={content:"_content_tzjua_1","content--variant-elevated":"_content--variant-elevated_tzjua_5","content--has-width":"_content--has-width_tzjua_15"},Li={root:"_root_mmrz1_1"},eo=e=>{if(!e)return null;const t=ce("--rs-p",e);return{classNames:Li.root,variables:t}},to=e=>{var j;const{id:t,forcePosition:n,onOpen:o,onClose:r,active:s,defaultActive:a,children:l,width:u,contentGap:_,variant:d="elevated",triggerType:f="click",position:m="bottom",disableHideAnimation:g,instanceRef:v}=e,b=(j=e.padding)!=null?j:d==="headless"?0:4,y=e.trapFocusMode||(f==="hover"?"content-menu":void 0),w=eo(b),x=A(Qn.content,!!u&&Qn["content--has-width"],d&&Qn[`content--variant-${d}`],w==null?void 0:w.classNames);return i.jsx(Ct,{id:t,instanceRef:v,position:m,forcePosition:n,onOpen:o,onClose:r,trapFocusMode:y,triggerType:f,active:s,defaultActive:a,width:u,disableHideAnimation:g,contentGap:_,contentClassName:x,contentAttributes:{style:p({},w==null?void 0:w.variables)},children:l})};to.Trigger=Ct.Trigger,to.Content=Ct.Content;const mn=to,et={root:"_root_hgjti_1",icon:"_icon_hgjti_14",content:"_content_hgjti_19","--rounded-corners":"_--rounded-corners_hgjti_24","--size-small":"_--size-small_hgjti_1","--size-medium":"_--size-medium_hgjti_1","--size-large":"_--size-large_hgjti_1","--color-neutral":"_--color-neutral_hgjti_63","--selected":"_--selected_hgjti_67","--color-critical":"_--color-critical_hgjti_73","--color-primary":"_--color-primary_hgjti_83","--disabled":"_--disabled_hgjti_104",aligner:"_aligner_hgjti_125","--rounded-corners-true--m":"_--rounded-corners-true--m_hgjti_1","--rounded-corners-false--m":"_--rounded-corners-false--m_hgjti_1","--size-small--m":"_--size-small--m_hgjti_1","--size-medium--m":"_--size-medium--m_hgjti_1","--size-large--m":"_--size-large--m_hgjti_1","--rounded-corners-true--l":"_--rounded-corners-true--l_hgjti_1","--rounded-corners-false--l":"_--rounded-corners-false--l_hgjti_1","--size-small--l":"_--size-small--l_hgjti_1","--size-medium--l":"_--size-medium--l_hgjti_1","--size-large--l":"_--size-large--l_hgjti_1","--rounded-corners-true--xl":"_--rounded-corners-true--xl_hgjti_1","--rounded-corners-false--xl":"_--rounded-corners-false--xl_hgjti_1","--size-small--xl":"_--size-small--xl_hgjti_1","--size-medium--xl":"_--size-medium--xl_hgjti_1","--size-large--xl":"_--size-large--xl_hgjti_1"},Vi=e=>i.jsx(nn,z(p({},e),{side:e.side||"inline",className:[et.aligner,e.className]})),_r=c.forwardRef((e,t)=>{const{icon:n,startSlot:o,endSlot:r,children:s,color:a="primary",selected:l,disabled:u,onClick:_,href:d,size:f="medium",roundedCorners:m,as:g,className:v,attributes:b}=e,y=A(et.root,v,J(et,"--size",f),J(et,"--rounded-corners",m),a&&et[`--color-${a}`],l&&et["--selected"],u&&et["--disabled"]),w=Ee(f,j=>j==="large"?3:2),x=Ee(f,j=>j==="large"?5:4);return i.jsx(Ae,{disabled:u,className:y,attributes:z(p({},b),{"data-rs-aligner-target":!0}),onClick:_,href:d,ref:t,as:g,children:i.jsxs(q,{direction:"row",gap:w,align:"center",children:[n&&i.jsx(he,{svg:n,className:et.icon,size:x}),!n&&o,s&&i.jsx(q.Item,{grow:!0,className:et.content,children:s}),r]})})});_r.Aligner=Vi;const mr=_r,jt=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})}),fn={menu:"_menu_tat3a_1",section:"_section_tat3a_5",item:"_item_tat3a_11",arrow:"_arrow_tat3a_15"},no=c.createContext(null),tt=e=>{const a=e,{children:t,position:n="bottom-start",triggerType:o="click",trapFocusMode:r="action-menu"}=a,s=Me(a,["children","position","triggerType","trapFocusMode"]);return i.jsx(mn,z(p({},s),{position:n,padding:0,trapFocusMode:r,triggerType:o,children:t}))},Oi=e=>{const{children:t,attributes:n,className:o}=e,{flyout:r}=Ot(),s=c.useContext(no),[a]=at(),{ref:l}=Qe({[a?Zt:Qt]:()=>{var _;(_=s==null?void 0:s.current)==null||_.close()}},[s==null?void 0:s.current],{disabled:r.status==="idle"}),u=A(fn.menu,o);return i.jsx(mn.Content,{className:u,attributes:z(p({},n),{ref:l}),children:t})},qi=e=>{const{children:t}=e;return i.jsx("div",{className:fn.section,role:"group",children:t})},fr=e=>{const{onClick:t}=e,{handleClose:n}=Ot(),o=r=>{n&&n({closeParents:!0}),t&&t(r)};return i.jsx(mr,z(p({},e),{roundedCorners:!0,className:fn.item,attributes:p({role:"menuitem"},e.attributes),onClick:o}))},Bi=e=>{const{children:t}=e,n=c.useRef();return i.jsx(no.Provider,{value:n,children:i.jsx(tt,{triggerType:"hover",position:"end-top",contentGap:.5,instanceRef:n,children:t})})},Hi=e=>{const l=e,{children:t,attributes:n}=l,o=Me(l,["children","attributes"]),r=c.useContext(no),[s]=at(),{ref:a}=Qe({[s?Qt:Zt]:()=>{var u;(u=r==null?void 0:r.current)==null||u.open()}},[],{ref:n==null?void 0:n.ref,preventDefault:!0});return i.jsx(fr,z(p({},o),{attributes:z(p({},n),{ref:a}),endSlot:i.jsx(he,{autoWidth:!0,svg:jt,className:fn.arrow}),children:t}))},Wi=e=>{const{children:t}=e;return i.jsx(tt.Trigger,{children:n=>i.jsx(Hi,{attributes:n,children:t})})};tt.Trigger=mn.Trigger,tt.Content=Oi,tt.Section=qi,tt.Item=fr,tt.SubMenu=Bi,tt.SubTrigger=Wi;const qt=tt,hr=c.createContext({}),br=e=>{const j=e,{children:t,onChange:n,onInput:o,onItemSelect:r,name:s}=j,a=Me(j,["children","onChange","onInput","onItemSelect","name"]),l=c.useRef(null),[u,_]=c.useState(!1),[d,f]=c.useState(!1),m=!!c.Children.toArray(t).filter(Boolean).length,g=c.useCallback(()=>_(!0),[]),v=()=>_(!1);Qe({[`${Xt},${Jt}`]:()=>g(),[zo]:()=>{const C=Ft();C==null||C.click()}},[g],{ref:l,preventDefault:!0});const b=C=>{n==null||n(C),f(!1),g()},y=C=>{n==null||n({value:C.value,name:s}),r==null||r({value:C.value}),f(!0)},w=C=>{var N;requestAnimationFrame(()=>{d&&(_(!1),f(!1))}),(N=a.onFocus)==null||N.call(a,C)},x=C=>{var N,I;o==null||o({value:C.currentTarget.value,name:s,event:C}),(I=(N=a.inputAttributes)==null?void 0:N.onInput)==null||I.call(N,C)};return i.jsx(hr.Provider,{value:{onItemClick:y},children:i.jsxs(qt,{position:"bottom",width:"trigger",triggerType:"focus",trapFocusMode:"selection-menu",active:!d&&m&&u,onClose:v,onOpen:g,disableHideAnimation:!0,children:[i.jsx(qt.Trigger,{children:I=>{var k=I,{ref:C}=k,N=Me(k,["ref"]);return i.jsx(Wo,z(p({},a),{name:s,onChange:b,attributes:z(p({},a.attributes),{ref:C}),inputAttributes:z(p({},a.inputAttributes),{onFocus:$=>{var F;(F=N.onFocus)==null||F.call(N),w($)},onInput:x,ref:l,role:"combobox"})}))}}),i.jsx(qt.Content,{children:t})]})})},Ri=e=>{const a=e,{value:t,onClick:n}=a,o=Me(a,["value","onClick"]),{onItemClick:r}=c.useContext(hr),s=l=>{n==null||n(l),r({value:t})};return i.jsx(qt.Item,z(p({},o),{attributes:z(p({},o.attributes),{role:"option"}),onClick:s}))};br.Item=Ri;const Ui=br,hn={root:"_root_12o47_1",img:"_img_12o47_13","--variant-faded":"_--variant-faded_12o47_20","--color-neutral":"_--color-neutral_12o47_21","--color-critical":"_--color-critical_12o47_25","--color-positive":"_--color-positive_12o47_29","--color-warning":"_--color-warning_12o47_33","--color-primary":"_--color-primary_12o47_37"},Yi=e=>{const{color:t="neutral",variant:n,src:o,size:r=12,squared:s,initials:a,icon:l,alt:u,className:_,attributes:d}=e,f=s?Ee(r,b=>b>=24?"large":b>=12?"medium":"small"):"circular",m=pt(r),g=A(hn.root,_,m==null?void 0:m.classNames,t&&hn[`--color-${t}`],n&&hn[`--variant-${n}`]),v=()=>o?i.jsx("img",{role:a?void 0:"presentation",src:o,alt:u,className:hn.img}):l?i.jsx(he,{svg:l,size:Ee(r,b=>Math.ceil(b*.4))}):a;return i.jsx(q,{borderRadius:f,attributes:z(p({},d),{style:p({},m==null?void 0:m.variables)}),backgroundColor:n==="faded"?`${t}-${n}`:t,className:g,children:v()})},gr=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),He={root:"_root_v3yhu_1",dismiss:"_dismiss_v3yhu_21","--actionable":"_--actionable_v3yhu_26","--variant-faded":"_--variant-faded_v3yhu_1","--variant-outline":"_--variant-outline_v3yhu_1","--color-positive":"_--color-positive_v3yhu_44","--color-critical":"_--color-critical_v3yhu_64","--color-warning":"_--color-warning_v3yhu_84","--color-primary":"_--color-primary_v3yhu_104","--size-small":"_--size-small_v3yhu_1","--size-medium":"_--size-medium_v3yhu_1","--size-large":"_--size-large_v3yhu_1","--rounded":"_--rounded_v3yhu_150","--hidden":"_--hidden_v3yhu_162",container:"_container_v3yhu_169","--container-overlap":"_--container-overlap_v3yhu_195","--container-position-top-end":"_--container-position-top-end_v3yhu_199","--container-position-bottom-end":"_--container-position-bottom-end_v3yhu_211"},Gi=e=>{const{children:t,position:n="top-end",overlap:o,className:r,attributes:s}=e,a=A(He.container,r,o&&He["--container-overlap"],n&&He[`--container-position-${n}`]);return i.jsx("div",z(p({},s),{className:a,children:t}))},vr=c.forwardRef((e,t)=>{const{children:n,color:o,rounded:r,size:s="medium",icon:a,endIcon:l,variant:u,hidden:_,href:d,onClick:f,onDismiss:m,dismissAriaLabel:g,className:v,attributes:b}=e,y=!!(f||d),w=s==="large"?4:3.5,x=A(He.root,v,r&&He["--rounded"],_&&He["--hidden"],s&&He[`--size-${s}`],o&&He[`--color-${o}`],u&&He[`--variant-${u}`],y&&He["--actionable"]),j=C=>{C.stopPropagation(),m==null||m()};return i.jsxs(Ae,{onClick:f,href:d,className:x,attributes:b,ref:t,children:[a&&i.jsx(he,{svg:a,autoWidth:!0,size:w}),n&&i.jsx(se,{variant:s==="large"?"body-3":"caption-1",weight:"medium",attributes:{"aria-hidden":_?"true":void 0},children:n}),l&&i.jsx(he,{svg:l,autoWidth:!0,size:w}),m&&i.jsx(Ae,{onClick:j,className:He.dismiss,as:"span",attributes:{"aria-label":g},children:i.jsx(he,{svg:gr,size:w})})]})});vr.Container=Gi;const Ki=vr,bn={root:"_root_19u87_15","rs-reshaped-loader":"_rs-reshaped-loader_19u87_1",inner:"_inner_19u87_44","--color-inherit":"_--color-inherit_19u87_63","--color-primary":"_--color-primary_19u87_67","--color-positive":"_--color-positive_19u87_71","--color-critical":"_--color-critical_19u87_75","--size-small":"_--size-small_19u87_1","--size-medium":"_--size-medium_19u87_1","--size-small--m":"_--size-small--m_19u87_1","--size-medium--m":"_--size-medium--m_19u87_1","--size-small--l":"_--size-small--l_19u87_1","--size-medium--l":"_--size-medium--l_19u87_1","--size-small--xl":"_--size-small--xl_19u87_1","--size-medium--xl":"_--size-medium--xl_19u87_1"},pr=e=>{const{size:t="small",color:n="primary",className:o,attributes:r}=e,s=r==null?void 0:r["aria-label"],a=A(bn.root,o,J(bn,"--size",t),n&&bn[`--color-${n}`]);return i.jsx("span",z(p({},r),{role:"progressbar","aria-live":s?"assertive":void 0,"aria-label":s,className:a,children:i.jsx("span",{className:bn.inner})}))},we={root:"_root_m366f_1",text:"_text_m366f_46",icon:"_icon_m366f_52","--icon-position-end":"_--icon-position-end_m366f_56",loader:"_loader_m366f_73","--icon-only":"_--icon-only_m366f_81","--loading":"_--loading_m366f_87","--rounded":"_--rounded_m366f_104","--size-small":"_--size-small_m366f_1","--size-medium":"_--size-medium_m366f_1","--size-large":"_--size-large_m366f_1","--size-xlarge":"_--size-xlarge_m366f_1","--full-width":"_--full-width_m366f_146","--variant-solid":"_--variant-solid_m366f_158","--color-neutral":"_--color-neutral_m366f_158","--variant-faded":"_--variant-faded_m366f_159","--highlighted":"_--highlighted_m366f_168","--color-primary":"_--color-primary_m366f_354","--color-critical":"_--color-critical_m366f_355","--color-positive":"_--color-positive_m366f_356","--color-media":"_--color-media_m366f_192","--disabled":"_--disabled_m366f_200","--color-inherit":"_--color-inherit_m366f_240","--variant-outline":"_--variant-outline_m366f_255","--variant-ghost":"_--variant-ghost_m366f_303","--elevated":"_--elevated_m366f_349",group:"_group_m366f_409","--color-black":"_--color-black_m366f_442","--color-white":"_--color-white_m366f_454",aligner:"_aligner_m366f_470","--size-small--m":"_--size-small--m_m366f_1","--size-medium--m":"_--size-medium--m_m366f_1","--size-large--m":"_--size-large--m_m366f_1","--size-xlarge--m":"_--size-xlarge--m_m366f_1","--full-width-true--m":"_--full-width-true--m_m366f_1","--full-width-false--m":"_--full-width-false--m_m366f_1","--size-small--l":"_--size-small--l_m366f_1","--size-medium--l":"_--size-medium--l_m366f_1","--size-large--l":"_--size-large--l_m366f_1","--size-xlarge--l":"_--size-xlarge--l_m366f_1","--full-width-true--l":"_--full-width-true--l_m366f_1","--full-width-false--l":"_--full-width-false--l_m366f_1","--size-small--xl":"_--size-small--xl_m366f_1","--size-medium--xl":"_--size-medium--xl_m366f_1","--size-large--xl":"_--size-large--xl_m366f_1","--size-xlarge--xl":"_--size-xlarge--xl_m366f_1","--full-width-true--xl":"_--full-width-true--xl_m366f_1","--full-width-false--xl":"_--full-width-false--xl_m366f_1"},Xi=e=>{const{children:t,className:n,attributes:o}=e,r=A(we.group,n);return i.jsx("div",z(p({},o),{className:r,role:"group",children:t}))},Ji=e=>i.jsx(nn,z(p({},e),{side:e.side||e.position,className:[we.aligner,e.className]})),oo=c.forwardRef((e,t)=>{const{variant:n="solid",color:o="neutral",elevated:r,highlighted:s,fullWidth:a,loading:l,disabled:u,type:_,href:d,size:f="medium",children:m,rounded:g,onClick:v,icon:b,endIcon:y,as:w,className:x,attributes:j}=e,C=(b||y)&&!m,N=A(we.root,x,o&&we[`--color-${o}`],n&&we[`--variant-${n}`],J(we,"--size",f),J(we,"--full-width",a),r&&n!=="ghost"&&we["--elevated"],g&&we["--rounded"],u&&we["--disabled"],l&&we["--loading"],s&&we["--highlighted"],C&&we["--icon-only"]),I=k=>{if(!(k==="start"&&b||k==="end"&&y))return null;const M=A(we.icon,k==="end"&&we["--icon-position-end"]),P=Ee(f,O=>O==="large"?5:O==="xlarge"?6:4);return i.jsx(he,{className:M,svg:k==="start"?b:y,size:P,autoWidth:!0})};return i.jsxs(Ae,{disabled:u||l,className:N,attributes:z(p({},j),{"data-rs-aligner-target":!0}),type:_,onClick:v,href:d,ref:t,as:w,children:[l&&i.jsx("div",{className:we.loader,children:i.jsx(pr,{size:"small",color:"inherit"})}),I("start"),m&&i.jsx("span",{className:we.text,children:m}),I("end")]})});oo.Group=Xi,oo.Aligner=Ji;const ke=oo,xr=()=>i.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),i.jsx("path",{d:"M12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9Z",fill:"currentColor"}),i.jsx("path",{d:"M4 9C4.55228 9 5 8.55228 5 8C5 7.44772 4.55228 7 4 7C3.44772 7 3 7.44772 3 8C3 8.55228 3.44772 9 4 9Z",fill:"currentColor"})]}),Zi=e=>{const{children:t,separator:n,color:o,defaultVisibleItems:r,disableExpand:s,ariaLabel:a,className:l,attributes:u}=e,_=r&&r>=2?r:null,[d,f]=c.useState(!1),m=A(l),g=c.Children.count(t);let v=0;const b=()=>{f(!0)};return i.jsx("nav",z(p({},u),{"aria-label":a||(u==null?void 0:u["aria-label"]),className:m,children:i.jsx(q,{as:"ol",direction:"row",gap:2,align:"center",children:c.Children.map(t,(y,w)=>{if(!y)return null;const x=g-(_||0),j=v===0,C=v>x,N=!_||j||C||d,I=v===x;v+=1;let k=null;return N?k=y:I&&(k=s?i.jsx(he,{svg:xr,size:4}):i.jsx(ke.Aligner,{children:i.jsx(ke,{variant:"ghost",size:"small",icon:xr,onClick:b})})),k===null?null:i.jsxs(q,{as:"li",gap:2,direction:"row",align:"center",children:[w>0&&(N||I)&&i.jsx(se,{color:"neutral-faded",children:n||i.jsx(he,{svg:jt,size:3})}),i.jsx(se,{variant:"body-3",color:o==="primary"?"primary":"neutral-faded",children:k})]},w)})})}))},Bt={root:"_root_1ubuq_1","--color-primary":"_--color-primary_1ubuq_6","--color-critical":"_--color-critical_1ubuq_10","--color-positive":"_--color-positive_1ubuq_14","--color-warning":"_--color-warning_1ubuq_18","--color-inherit":"_--color-inherit_1ubuq_22","--variant-plain":"_--variant-plain_1ubuq_27","--disabled":"_--disabled_1ubuq_31","--variant-underline":"_--variant-underline_1ubuq_37","--with-icon":"_--with-icon_1ubuq_53"},wr=c.forwardRef((e,t)=>{const{icon:n,disabled:o,href:r,color:s="primary",variant:a="underline",className:l,children:u,attributes:_,type:d,onClick:f}=e,m=A(Bt.root,l,o&&Bt["--disabled"],a&&Bt[`--variant-${a}`],s&&Bt[`--color-${s}`],n&&Bt["--with-icon"]);return i.jsxs(Ae,{href:r,disabled:o,className:m,attributes:_,type:d,onClick:f,ref:t,children:[n&&i.jsx(he,{svg:n}),u]})}),Qi=e=>{const{children:t,onClick:n,href:o,icon:r,disabled:s}=e;return!o&&!n&&!s?i.jsx(se,{variant:"body-3",weight:"medium",color:"neutral",children:t}):i.jsx(wr,{onClick:n,href:o,icon:r,disabled:s,variant:"plain",color:"inherit",children:t})},yr=Zi;yr.Item=Qi;const Cr=7,jr=1,mt=e=>{const{date:t}=e;return[t.getFullYear(),(t.getMonth()+1).toString().padStart(2,"0"),t.getDate().toString().padStart(2,"0")].join("-")},ro=e=>{const{date:t,firstWeekDay:n=jr}=e,o=t.getDay();return o<n?Cr-o-n:o-n},ea=e=>{const{firstWeekDay:t=jr,renderWeekDay:n}=e,o=new Date(2021,1,t),r=[];for(let s=t;s<t+Cr;s++){const a=n?n({weekDay:s,date:o}):o.toLocaleDateString("en-US",{weekday:"short"});r.push(a.slice(0,2)),o.setDate(o.getDate()+1)}return r},ta=e=>{const{renderMonthLabel:t}=e;return new Array(12).fill(null).map((n,o)=>{const r=new Date(0,o);return t?t({month:o,date:r}):r.toLocaleString("default",{month:"short"})})},na=e=>{const{date:t,firstWeekDay:n}=e,o=t.getMonth(),r=t.getFullYear(),s=[],a=new Date(r,o,1),l=ro({date:a,firstWeekDay:n});for(l!==0&&s.push(new Array(l).fill(null));o===a.getMonth();)(ro({date:a,firstWeekDay:n})===0||!s.length)&&s.push([]),s[s.length-1].push(new Date(a)),a.setDate(a.getDate()+1);const u=ro({date:a,firstWeekDay:n});return u!==0&&s[s.length-1].push(...new Array(7-u).fill(null)),s},kr=e=>(e==null?void 0:e.querySelectorAll("[data-rs-date]"))||[],so=(e,t)=>{const n=new Date(e);return n.setMonth(t),n},oa=e=>so(e,e.getMonth()-1),$r=e=>so(e,e.getMonth()+1),Nr=(e,t)=>{const n=new Date(e);return n.setFullYear(t),n},ra=e=>Nr(e,e.getFullYear()-1),sa=e=>Nr(e,e.getFullYear()+1),ia=e=>{const{date:t,min:n,max:o}=e,r=t.getMonth(),s=t.getFullYear(),a=new Date(s,r,0),l=$r(t);return l.setDate(0),{isFirstMonth:n&&n>a,isLastMonth:o&&o<l}},aa=e=>{const{rootRef:t,changeToNextMonth:n,changeToPreviousMonth:o,monthDate:r,verticalDelta:s,min:a,max:l}=e,u=c.useRef(0),_=c.useCallback(d=>{const{delta:f,onMonthChange:m}=d,g=document.activeElement;if(!g)return;const v=kr(t.current),b=Array.from(v),w=b.findIndex(F=>F===g)+f,x=b[w],j=g.getAttribute("data-rs-date");if(!j)return;const[C,N,I]=j==null?void 0:j.split("-").map(Number);let k;if(I?k=new Date(C,N-1,I+f):f>0?k=new Date(C,N-1+f,1):k=new Date(C,N-1+f+1,0),!(a&&k<a||l&&k>l)){if(x){x.focus();return}u.current=w<0?w:w-(b.length-1),m()}},[t,a,l]);c.useEffect(()=>{const d=u.current;if(d===0)return;const f=kr(t.current),m=d<0?f.length+d:d-1,g=f[m];g&&g.focus(),u.current=0},[r,t]),Qe({[Qt]:()=>_({delta:-1,onMonthChange:o}),[Zt]:()=>_({delta:1,onMonthChange:n}),[Xt]:()=>_({delta:-s,onMonthChange:o}),[Jt]:()=>_({delta:s,onMonthChange:n})},[n,o,_,s],{ref:t,preventDefault:!0})},$e={selection:"_selection_e1khb_1",weekday:"_weekday_e1khb_6",row:"_row_e1khb_12",control:"_control_e1khb_16","cell-button":"_cell-button_e1khb_20",cell:"_cell_e1khb_20","cell--in-range":"_cell--in-range_e1khb_1","cell--active-start":"_cell--active-start_e1khb_1","cell--active-end":"_cell--active-end_e1khb_1","cell--active-single":"_cell--active-single_e1khb_1"},la=e=>{const{date:t,startValue:n,endValue:o,isActiveStart:r,isActiveEnd:s,disabled:a,focusable:l,onChange:u,range:_,hoveredDate:d,onDateHover:f,onDateHoverEnd:m,renderAriaLabel:g}=e;if(!t)return i.jsx("td",{className:$e.cell,"aria-hidden":"true"});const v=n&&n<t&&(o&&o>t||d&&!o&&d>t),b=A([$e.cell,!_&&r&&$e["cell--active-single"],r&&$e["cell--active-start"],(s||!o&&r&&!(d&&n&&d>n))&&$e["cell--active-end"],v&&$e["cell--in-range"]]),y=()=>{if(!_){u==null||u({value:t});return}const j=n&&o,C=!n&&!o,N=n&&t<n,I=j||C||N,k=I?t:n,$=I?null:t;u==null||u({value:{start:k,end:$}})},w=()=>{f(t)},x=()=>{m(t)};return i.jsx("td",{className:b,role:a?"presentation":"gridcell",children:i.jsx(Ae,{fullWidth:!0,insetFocus:!0,className:$e["cell-button"],disabled:a,onClick:y,attributes:{role:"checkbox",tabIndex:l?0:-1,"aria-hidden":a,"aria-label":g?g({date:t}):t.toLocaleDateString("en-us",{month:"long",day:"numeric",weekday:"long"}),"aria-checked":r||s,"data-rs-date":mt({date:t}),onMouseEnter:w,onMouseLeave:x,onFocus:w,onBlur:x},children:t.getDate()})})},ca=e=>{const{date:t,value:n,onChange:o,min:r,max:s,range:a,firstWeekDay:l,hoveredDate:u,onDateHover:_,onDateHoverEnd:d,renderWeekDay:f,renderDateAriaLabel:m}=e;let g=!1;const v=t.getMonth(),b=na({date:t,firstWeekDay:l}),y=ea({firstWeekDay:l,renderWeekDay:f});return i.jsxs("table",{className:$e.selection,role:"grid",children:[i.jsx("thead",{"aria-hidden":"true",children:i.jsx("tr",{children:y.map(w=>i.jsx("th",{className:$e.weekday,scope:"col",children:w},w))})}),i.jsx("tbody",{children:b.map(w=>{var j;const x=[v,(j=w[0])==null?void 0:j.getDate()].filter(Boolean).join("-");return i.jsx("tr",{className:$e.row,children:w.map((C,N)=>{const I=!!C&&(r&&C<r||s&&C>s),k=C==null?void 0:C.getMonth(),$=new Date,F=mt({date:$}),S=n&&"start"in n?n.start:n,M=n&&"end"in n?n.end:n,P=C&&mt({date:C}),O=S&&mt({date:S}),L=M&&mt({date:M}),V=!!P&&!!O&&P===O,G=!!P&&!!L&&P===L;let de=!1;return!g&&C&&(S&&S.getMonth()===(C==null?void 0:C.getMonth())?de=mt({date:S})===mt({date:C}):P&&k===$.getMonth()?de=P>=F&&!I:de=!I),de&&(g=!0),i.jsx(la,{date:C,disabled:I,range:a,focusable:de,startValue:S,endValue:M,isActiveStart:V,isActiveEnd:G,onChange:o,hoveredDate:u,onDateHover:_,onDateHoverEnd:d,renderAriaLabel:m},N)})},x)})})]})},io=3,ua=e=>{const{renderMonthLabel:t,renderMonthAriaLabel:n,monthDate:o,min:r,max:s,onMonthClick:a}=e,l=c.useRef(null),u=ta({renderMonthLabel:t}),_=[];for(let d=0;d<u.length;d+=io){const f=u.slice(d,d+io);_.push(f)}return c.useEffect(()=>{var f;const d=(f=l.current)==null?void 0:f.querySelector('[tabIndex="0"]');Pe(()=>{d==null||d.focus()})},[]),i.jsx("table",{ref:l,role:"grid",className:$e.selection,children:i.jsx("tbody",{children:_.map((d,f)=>i.jsx("tr",{className:$e.row,children:d.map((m,g)=>{const v=f*io+g,b=new Date(o.getFullYear(),v),y=r&&r.getFullYear()>=b.getFullYear()&&r.getMonth()>b.getMonth(),x=s&&s.getFullYear()<=b.getFullYear()&&s.getMonth()<b.getMonth()||y;return i.jsx("td",{role:x?"presentation":"gridcell",className:$e.cell,children:i.jsx(Ae,{fullWidth:!0,insetFocus:!0,className:$e["cell-button"],disabled:x,onClick:()=>a(v),attributes:{tabIndex:v===o.getMonth()?0:-1,"aria-hidden":x,"aria-label":n?n({month:v}):m,"data-rs-date":`${o.getFullYear()}-${(v+1).toString().padStart(2,"0")}`},children:m})},m)})},f))})})},da={root:"_root_1g94s_1"},ao=e=>{const{children:t}=e;return i.jsx("div",{className:da.root,children:t})},gn=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})}),_a=e=>{const{selectionMode:t,onMonthTitleClick:n,monthTitleRef:o,monthDate:r,renderSelectedMonthLabel:s,isFirstMonth:a,isLastMonth:l,onNextClick:u,onPreviousClick:_,monthSelectionAriaLabel:d="Select a month",previousMonthAriaLabel:f="Previous month",previousYearAriaLabel:m="Previous year",nextMonthAriaLabel:g="Next month",nextYearAriaLabel:v="Next year"}=e,b=c.useRef(null),y=c.useRef(null);return c.useEffect(()=>{if(!a||document.activeElement!==b.current)return;const w=y.current||o.current;Pe(()=>{w==null||w.focus()})},[a,o]),c.useEffect(()=>{if(!l||document.activeElement!==y.current)return;const w=b.current||o.current;Pe(()=>{w==null||w.focus()})},[l,o]),i.jsxs(q,{direction:"row",gap:2,align:"center",children:[i.jsx(vt,{visibility:!0,hide:a,children:i.jsx("div",{className:$e.control,children:i.jsx(ke,{variant:"ghost",icon:gn,onClick:_,attributes:{ref:b,"aria-label":t==="date"?f:m}})})}),i.jsxs(q.Item,{grow:!0,children:[t==="date"&&i.jsxs(ke,{fullWidth:!0,variant:"ghost",onClick:n,attributes:{ref:o},children:[s?s({date:r}):r.toLocaleDateString("en-US",{month:"long",year:"numeric"}),i.jsx(ao,{children:d})]}),t==="month"&&i.jsx(se,{align:"center",weight:"medium",children:r.toLocaleDateString("en-US",{year:"numeric"})})]}),i.jsx(vt,{visibility:!0,hide:l,children:i.jsx("div",{className:$e.control,children:i.jsx(ke,{variant:"ghost",icon:jt,onClick:u,attributes:{ref:y,"aria-label":t==="date"?g:v}})})})]})},lo=e=>{const{value:t,onChange:n,defaultMonth:o,min:r,max:s,range:a,firstWeekDay:l,renderMonthLabel:u,renderSelectedMonthLabel:_,renderWeekDay:d,previousMonthAriaLabel:f,previousYearAriaLabel:m,nextMonthAriaLabel:g,nextYearAriaLabel:v,monthSelectionAriaLabel:b,renderMonthAriaLabel:y,renderDateAriaLabel:w}=e,[x,j]=c.useState("date"),[C,N]=c.useState(o||new Date),[I,k]=c.useState(null),$=c.useRef(null),F=c.useRef(x),S=ia({date:C,min:r,max:s}),M=c.useRef(null),P=()=>{if(x==="month"){N(ne=>ra(ne));return}N(ne=>oa(ne))},O=()=>{if(x==="month"){N(ne=>sa(ne));return}N(ne=>$r(ne))},L=()=>{j("month")},V=ne=>{N(De=>so(De,ne)),j("date")},G=ne=>{k(ne)},de=ne=>{I&&+I==+ne&&k(null)};return c.useEffect(()=>{x==="date"&&x!==F.current&&Pe(()=>{var ne;(ne=$.current)==null||ne.focus()}),F.current=x},[x]),aa({monthDate:C,rootRef:M,changeToNextMonth:O,changeToPreviousMonth:P,verticalDelta:x==="date"?7:3,min:r,max:s}),i.jsxs(q,{gap:2,children:[i.jsx(_a,{renderSelectedMonthLabel:_,monthDate:C,selectionMode:x,isFirstMonth:S.isFirstMonth,isLastMonth:S.isLastMonth,monthTitleRef:$,onMonthTitleClick:L,onNextClick:O,onPreviousClick:P,previousMonthAriaLabel:f,previousYearAriaLabel:m,nextMonthAriaLabel:g,nextYearAriaLabel:v,monthSelectionAriaLabel:b}),i.jsxs(q.Item,{attributes:{ref:M},children:[x==="date"&&i.jsx(ca,{date:C,value:t,onChange:n,min:r,max:s,range:a,firstWeekDay:l,hoveredDate:I,onDateHover:G,onDateHoverEnd:de,renderWeekDay:d,renderDateAriaLabel:w}),x==="month"&&i.jsx(ua,{monthDate:C,onMonthClick:V,renderMonthLabel:u,renderMonthAriaLabel:y,min:r,max:s})]})]})},ma=e=>{const l=e,{onChange:t,defaultValue:n,range:o}=l,r=Me(l,["onChange","defaultValue","range"]),[s,a]=c.useState(n||null);return o?i.jsx(lo,z(p({range:!0},r),{value:s,onChange:u=>{a(u.value),t==null||t(u)}})):i.jsx(lo,z(p({},r),{value:s,onChange:u=>{a(u.value),t==null||t(u)}}))},fa=e=>e.value!==void 0?i.jsx(lo,p({},e)):i.jsx(ma,p({},e)),kt={root:"_root_15qpy_1",content:"_content_15qpy_15","--selected":"_--selected_15qpy_20","--elevated":"_--elevated_15qpy_26","--actionable":"_--actionable_15qpy_31"},ha=c.forwardRef((e,t)=>{const{padding:n=4}=e,{selected:o,elevated:r,bleed:s,height:a,onClick:l,href:u,children:_,className:d,attributes:f,as:m="div"}=e,g=!!u||!!l,v=Dn("medium"),b=Mo(s),y=eo(n),w=pt(a),x=A(kt.root,v==null?void 0:v.classNames,b==null?void 0:b.classNames,y==null?void 0:y.classNames,w==null?void 0:w.classNames,g&&kt["--actionable"],r&&kt["--elevated"],o&&kt["--selected"],d),j=p(p(p(p({},f==null?void 0:f.style),b==null?void 0:b.variables),y==null?void 0:y.variables),w==null?void 0:w.variables);return g?i.jsx(Ae,{className:x,attributes:z(p({},f),{style:j}),href:u,as:m,onClick:l,ref:t,children:i.jsx("span",{className:kt.content,children:_})}):i.jsx(m,z(p({},f),{onClick:l,href:u,ref:t,className:x,style:j,children:i.jsx("span",{className:kt.content,children:_})}))});var $t=(e=>(e.back="back",e.forward="forward",e))($t||{});const nt={root:"_root_xql9y_1",control:"_control_xql9y_5","--control-prev":"_--control-prev_xql9y_17","--control-next":"_--control-next_xql9y_21","--control-visible":"_--control-visible_xql9y_25",scroll:"_scroll_xql9y_30",item:"_item_xql9y_51","--control-rendered":"_--control-rendered_xql9y_63","--bleed":"_--bleed_xql9y_69","--bleed-true--m":"_--bleed-true--m_xql9y_1","--bleed-false--m":"_--bleed-false--m_xql9y_1","--bleed-true--l":"_--bleed-true--l_xql9y_1","--bleed-false--l":"_--bleed-false--l_xql9y_1","--bleed-true--xl":"_--bleed-true--xl_xql9y_1","--bleed-false--xl":"_--bleed-false--xl_xql9y_1"},zr=e=>{const{type:t,scrollElRef:n,scrollPosition:o,onClick:r,isRTL:s,mounted:a}=e,[l,u]=c.useState(!1),[_,d]=c.useState(!1),f=t===$t.forward,m=t===(s?$t.back:$t.forward),g=A(nt.control,m?nt["--control-next"]:nt["--control-prev"],l&&nt["--control-visible"],_&&nt["--control-rendered"]);return me(()=>{const v=n.current;if(!v||!a)return;let b;const y=Math.abs(o),w=y<=0,x=y+v.clientWidth>=v.scrollWidth-1;return(f?x:w)?(u(!1),b=setTimeout(()=>d(!1),1500)):(d(!0),u(!0)),()=>{b&&clearTimeout(b)}},[o,n.current,a]),i.jsx("div",{className:g,"aria-hidden":"true",children:i.jsx(ke,{onClick:r,icon:m?jt:gn,rounded:!0,variant:"outline",elevated:!0,attributes:{"aria-disabled":!l}})})},ba=e=>{const{children:t,gap:n=3,visibleItems:o,bleed:r,navigationDisplay:s,instanceRef:a,className:l,attributes:u}=e,[_,d]=c.useState(!1),[f,m]=c.useState(0),[g]=at(),v=c.useRef(null),b={};typeof r=="object"&&Object.entries(r).forEach(([k,$])=>{b[k]=typeof $=="number"&&$>0});const y=A(nt.root,l,...J(nt,"--bleed",typeof r=="number"?!0:b)),w=Cs(k=>{const $=k.target;m($.scrollLeft)},16),x=()=>{const $=getComputedStyle(v.current).gap.split(" ")[0];return Number($.replace("px",""))},j=()=>{const k=v.current;k.scrollBy({left:k.clientWidth+x(),top:0,behavior:"smooth"})},C=()=>{const k=v.current;k.scrollBy({left:-k.clientWidth-x(),top:0,behavior:"smooth"})},N=g?j:C,I=g?C:j;return c.useImperativeHandle(a,()=>({navigateBack:N,navigateForward:I})),me(()=>{d(!0)},[]),i.jsxs("section",z(p({},u),{className:y,style:p(p({},ce("--rs-carousel-items",o)),ce("--rs-carousel-bleed",r)),children:[s!=="hidden"&&i.jsxs(i.Fragment,{children:[i.jsx(zr,{isRTL:g,type:$t.back,scrollElRef:v,scrollPosition:f,onClick:N,mounted:_}),i.jsx(zr,{isRTL:g,type:$t.forward,scrollElRef:v,scrollPosition:f,onClick:I,mounted:_})]}),i.jsx(q,{as:"ul",direction:"row",wrap:!1,gap:n,className:nt.scroll,attributes:{ref:v,onScroll:w},children:c.Children.map(t,k=>i.jsx(q.Item,{className:nt.item,as:"li",children:k}))})]}))},ga={root:"_root_1feer_1"},co=e=>{const{name:t,value:n,type:o,onChange:r,onFocus:s,onBlur:a,checked:l,defaultChecked:u,disabled:_,className:d,attributes:f}=e,m=A(ga.root,d);return i.jsx("input",z(p({},f),{className:m,type:o,name:t,value:n,checked:l,defaultChecked:u,disabled:_,onChange:r,onFocus:s||(f==null?void 0:f.onFocus),onBlur:a||(f==null?void 0:f.onBlur)}))},Er=c.createContext(null),va=()=>c.useContext(Er),Tr=e=>{const{onChange:t,name:n,disabled:o,value:r,children:s,hasError:a}=e,l=u=>{const{event:_,value:d,checked:f}=u;if(!d)return;let m=[...r];f?m.push(d):m=m.filter(g=>g!==d),t&&t({name:n,value:m,event:_})};return i.jsx(Er.Provider,{value:{onChange:l,disabled:o,value:r,name:n,hasError:a},children:s})},pa=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t||[]),s=a=>{a.value&&(r(a.value),n&&n(a))};return i.jsx(Tr,z(p({},e),{value:o,defaultValue:void 0,onChange:s}))},xa=e=>{const{value:t}=e;return t!==void 0?i.jsx(Tr,p({},e)):i.jsx(pa,p({},e))},Mr=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:i.jsx("polyline",{points:"20 6 9 17 4 12"})}),lt={root:"_root_gdp0b_1",decorator:"_decorator_gdp0b_11",field:"_field_gdp0b_15",icon:"_icon_gdp0b_45",input:"_input_gdp0b_55","--error":"_--error_gdp0b_61","--disabled":"_--disabled_gdp0b_91"},wa=e=>{var C;const{children:t,value:n,onChange:o,onFocus:r,onBlur:s,indeterminate:a,className:l,attributes:u,inputAttributes:_}=e,d=va(),f=Ze(),m=(f==null?void 0:f.hasError)||e.hasError||(d==null?void 0:d.hasError),g=(f==null?void 0:f.disabled)||e.disabled||(d==null?void 0:d.disabled),v=d?(C=d.value)==null?void 0:C.includes(n):e.checked,b=d?void 0:e.defaultChecked,y=d?d.name:e.name,w=c.useRef(null),x=A(lt.root,l,m&<["--error"],g&<["--disabled"]),j=N=>{if(!y)return;const{checked:I}=N.target,k={name:y,value:n,checked:I,event:N};o&&o(k),d!=null&&d.onChange&&d.onChange(k)};return me(()=>{w.current.indeterminate=a||!1},[a,v]),i.jsxs("label",z(p({},u),{className:x,children:[i.jsxs("span",{className:lt.field,children:[i.jsx(co,{className:lt.input,type:"checkbox",checked:v,defaultChecked:b,name:y,disabled:g,value:n,onChange:j,onFocus:r,onBlur:s,attributes:z(p({},_),{ref:w})}),i.jsx("div",{className:lt.decorator,children:i.jsx(he,{svg:Mr,className:lt.icon})})]}),t&&i.jsx("span",{className:lt.text,children:t})]}))},ya={root:"_root_1c40o_1"},Ca=e=>{const{children:t,padding:n=4,width:o,align:r,justify:s,height:a,maxHeight:l,className:u,attributes:_}=e,d=A(ya.root,u);return i.jsx(q,{attributes:_,className:d,paddingInline:n,align:r,justify:s,height:a,maxHeight:l,width:o,maxWidth:"100%",children:t})},Ht={root:"_root_1md53_1",close:"_close_1md53_7","--variant-media":"_--variant-media_1md53_14","--hide-close":"_--hide-close_1md53_15","--align-center":"_--align-center_1md53_24"},ja=e=>{const{children:t,align:n,onClose:o,hideCloseButton:r,variant:s,closeAriaLabel:a,className:l,attributes:u}=e,_=A(Ht.root,l,s&&Ht[`--variant-${s}`],n&&Ht[`--align-${n}`],r&&Ht["--hide-close"]),d=s==="media"?"div":ke.Aligner;return i.jsxs("div",z(p({},u),{className:_,children:[t,!r&&i.jsx(d,{className:Ht.close,children:i.jsx(ke,z(p({size:"small"},s==="media"?{color:"media",variant:"faded"}:{variant:"ghost"}),{onClick:o,attributes:{"aria-label":o?a:void 0},icon:gr}))})]}))},vn=e=>{const[t,n]=c.useState(e||!1),o=c.useCallback(()=>{n(!0)},[]),r=c.useCallback(()=>{n(!1)},[]),s=c.useCallback(()=>{n(a=>!a)},[]);return{active:t,activate:o,deactivate:r,toggle:s}},Wt={root:"_root_1dzzo_1","--highlighted":"_--highlighted_1dzzo_2",triggerLayer:"_triggerLayer_1dzzo_2",trigger:"_trigger_1dzzo_2"},ka=e=>{const{children:t}=e;return i.jsx("span",{className:Wt.trigger,children:t})},Sr=e=>{const{name:t,children:n,className:o,attributes:r,inputAttributes:s,onChange:a}=e,l=vn(),u=A(Wt.root,l.active&&Wt["--highlighted"],o),_=v=>{var b;v.preventDefault(),(b=r==null?void 0:r.onDragOver)==null||b.call(r,v)},d=v=>{var b;l.activate(),(b=r==null?void 0:r.onDragEnter)==null||b.call(r,v)},f=v=>{var b;v.currentTarget.contains(v.relatedTarget)||(l.deactivate(),(b=r==null?void 0:r.onDragLeave)==null||b.call(r,v))},m=v=>{var b;v.preventDefault(),l.deactivate(),a==null||a({name:t,value:Array.from(v.dataTransfer.files),event:v}),(b=r==null?void 0:r.onDrop)==null||b.call(r,v)},g=v=>{var y;const b=v.target.files;b&&(a==null||a({name:t,event:v,value:Array.from(b)}),(y=s==null?void 0:s.onChange)==null||y.call(s,v))};return i.jsx("div",z(p({},r),{className:u,onDragOver:_,onDragEnter:d,onDragLeave:f,onDrop:m,children:i.jsxs(q,{as:"label",className:Wt.triggerLayer,padding:6,borderRadius:"medium",gap:2,align:"center",textAlign:"center",animated:!0,children:[i.jsx(q.Item,{children:n}),i.jsx(ao,{children:i.jsx("input",z(p({},s),{type:"file",className:Wt.field,name:t,onChange:g}))})]})}))};Sr.Trigger=ka;const $a=Sr,Ir={root:"_root_1mjhr_1","--active":"_--active_1mjhr_15"},Na=e=>{const{children:t,active:n,className:o,attributes:r}=e,s=A(Ir.root,n&&Ir["--active"],o);return i.jsx(se,{as:"kbd",variant:"caption-1",weight:"medium",color:"neutral-faded",className:s,attributes:r,children:t})},pn={root:"_root_qqeu9_1",fallback:"_fallback_qqeu9_6","--display-mode-cover":"_--display-mode-cover_qqeu9_15","--display-mode-contain":"_--display-mode-contain_qqeu9_19"},za=e=>{const{src:t,alt:n,width:o,height:r,onLoad:s,onError:a,fallback:l,displayMode:u="cover",borderRadius:_,className:d,attributes:f,imageAttributes:m}=e,[g,v]=c.useState("loading"),b=Dn(_),y=An(o),w=pt(r),x=A(pn.root,b==null?void 0:b.classNames,y==null?void 0:y.classNames,w==null?void 0:w.classNames,u&&pn[`--display-mode-${u}`],d),j=A(pn.image,x),C=A(pn.fallback,x),N=p(p({},y==null?void 0:y.variables),w==null?void 0:w.variables),I=$=>{v("success"),s==null||s($)},k=$=>{v("error"),a==null||a($)};return c.useEffect(()=>{v("loading")},[t]),(g==="error"||!t)&&l?typeof l=="string"?i.jsx("img",z(p({},f),{src:l,alt:n,role:n?void 0:"presentation",className:C,style:N})):i.jsx("div",z(p({},f),{className:C,style:N,children:l})):i.jsx("img",z(p(p({},f),m),{src:t,alt:n,role:n?void 0:"presentation",onLoad:I,onError:k,className:j,style:N}))},Nt={m:660,l:900,xl:1280},Dr={s:`(max-width: ${Nt.m-1}px)`,m:`(min-width: ${Nt.m}px) and (max-width: ${Nt.l-1}px)`,l:`(min-width: ${Nt.l}px) and (max-width: ${Nt.xl-1}px)`,xl:`(min-width: ${Nt.xl}px)`},Ar=e=>{const{defaultViewport:t}=c.useContext(Rn),[n,o]=c.useState(t);return me(()=>{const s=Object.keys(Dr).map(a=>{const l=window.matchMedia(Dr[a]);return{mq:l,handler:()=>l.matches&&o(a)}});return s.forEach(({handler:a,mq:l})=>{a(),l.addEventListener("change",a)}),()=>{s.forEach(({handler:a,mq:l})=>{l.removeEventListener("change",a)})}},[]),typeof e!="object"||e===null||!("s"in e)?e:n==="xl"?e.xl||e.l||e.m||e.s:n==="l"?e.l||e.m||e.s:n==="m"&&e.m||e.s},Ea=(()=>{let e;return()=>{if(e)return e;const t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),e=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),e}})(),Pr=()=>{const[e,t]=c.useState(!1),n=c.useRef(),o=c.useRef(!1),r=c.useCallback(()=>{const{body:a}=document,l=a.getBoundingClientRect();if(o.current=l.left+l.right<window.innerWidth,n.current=a.style.overflow,a.style.overflow="hidden",o.current){const u=Ea();document.body.style.paddingRight=`${u}px`}t(!0)},[t,o,n]),s=c.useCallback(()=>{document.body.style.overflow=n.current||"",o.current&&(document.body.style.paddingRight=""),t(!1)},[t,o,n]);return{scrollLocked:e,lockScroll:r,unlockScroll:s}},ft={root:"_root_u5htj_1",wrapper:"_wrapper_u5htj_23",inner:"_inner_u5htj_29",content:"_content_u5htj_35","--visible":"_--visible_u5htj_43","--click-through":"_--click-through_u5htj_48","--animated":"_--animated_u5htj_61"},Fr=e=>{const{active:t,children:n,transparent:o,onClose:r,onOpen:s,className:a,attributes:l}=e,u=o===!0,_=u?0:(1-(o||0))*.7,[d,f]=c.useState(!1),[m,g]=c.useState(!1),v=c.useRef(null),b=c.useRef(!1),{lockScroll:y,unlockScroll:w}=Pr(),{active:x,activate:j,deactivate:C}=vn(t||!1),{active:N,activate:I,deactivate:k}=vn(t||!1),$=Ko(t,v),F=A(ft.root,N&&ft["--visible"],u&&ft["--click-through"],m&&ft["--animated"],a),S=V=>{if(!v.current)return;const G=v.current.firstChild;if(G)return G.contains(V)},M=c.useCallback(()=>{!N||!$()||r&&r()},[N,$]),P=V=>{b.current=!S(V.target)},O=V=>{const G=!S(V.target);b.current&&G&&!u&&M()},L=V=>{V.propertyName!=="transform"||!V.pseudoElement||(g(!1),!N&&(u||w(),C()))};return Qe({Escape:M},[M]),c.useEffect(()=>{g(!0),t&&!x&&j(),!t&&x&&k()},[t,j,k,x]),c.useEffect(()=>{x&&(u||y(),Pe(()=>{I()}))},[x,I,y,u]),c.useEffect(()=>{if(!x||!v.current)return;const V=new Lt(v.current);return V.trap({initialFocusEl:v.current.querySelector("[role=dialog][tabindex='-1']")}),s==null||s(),()=>V.release()},[x]),c.useEffect(()=>()=>{u||w()},[w,u]),me(()=>{f(!0)},[]),!x||!d?null:i.jsx(Jn,{children:i.jsx(Jn.Scope,{children:V=>i.jsx("div",z(p({},l),{ref:V,style:{"--rs-overlay-opacity":_},role:"button",tabIndex:-1,className:F,onMouseDown:P,onMouseUp:O,onTransitionEnd:L,children:i.jsx("div",{className:ft.wrapper,children:i.jsx("div",{className:ft.inner,children:i.jsx("div",{className:ft.content,ref:v,children:typeof n=="function"?n({active:N}):n})})})}))})})},xn={root:"_root_jbaub_1","--dragging":"_--dragging_jbaub_15","--position-center":"_--position-center_jbaub_1","--active":"_--active_jbaub_39","--position-bottom":"_--position-bottom_jbaub_1","--position-start":"_--position-start_jbaub_1","--position-end":"_--position-end_jbaub_1","--position-full-screen":"_--position-full-screen_jbaub_1","--position-center--m":"_--position-center--m_jbaub_1","--position-bottom--m":"_--position-bottom--m_jbaub_1","--position-start--m":"_--position-start--m_jbaub_1","--position-end--m":"_--position-end--m_jbaub_1","--position-full-screen--m":"_--position-full-screen--m_jbaub_1","--position-center--l":"_--position-center--l_jbaub_1","--position-bottom--l":"_--position-bottom--l_jbaub_1","--position-start--l":"_--position-start--l_jbaub_1","--position-end--l":"_--position-end--l_jbaub_1","--position-full-screen--l":"_--position-full-screen--l_jbaub_1","--position-center--xl":"_--position-center--xl_jbaub_1","--position-bottom--xl":"_--position-bottom--xl_jbaub_1","--position-start--xl":"_--position-start--xl_jbaub_1","--position-end--xl":"_--position-end--xl_jbaub_1","--position-full-screen--xl":"_--position-full-screen--xl_jbaub_1"},uo=32,Ta=100,Ma=32,Lr=c.createContext({id:"",titleMounted:!1,setTitleMounted:()=>{},subtitleMounted:!1,setSubtitleMounted:()=>{}}),Vr=()=>c.useContext(Lr),Sa=e=>{const{children:t}=e,{id:n,setTitleMounted:o}=Vr();return c.useEffect(()=>(o(!0),()=>o(!1)),[o]),i.jsx(se,{variant:"featured-3",weight:"bold",attributes:{id:`${n}-title`},children:t})},Ia=e=>{const{children:t}=e,{id:n,setSubtitleMounted:o}=Vr();return c.useEffect(()=>(o(!0),()=>o(!1)),[o]),i.jsx(se,{variant:"body-3",color:"neutral-faded",attributes:{id:`${n}-subtitle`},children:t})},_o=e=>{const{children:t,onClose:n,onOpen:o,active:r,size:s,padding:a=4,position:l="center",transparentOverlay:u,ariaLabel:_,autoFocus:d=!0,overlayClassName:f,className:m,attributes:g}=e,v=Oe(),b=Ar(l),[y,w]=c.useState(!1),[x,j]=c.useState(!1),[C,N]=c.useState(!1),I=c.useRef(null),k=c.useRef({x:0,y:0}),$=c.useRef(0),F=c.useRef(0),S=c.useRef(0),[M,P]=c.useState(0),[O,L]=c.useState(0),V=eo(a),G=c.useMemo(()=>({titleMounted:y,setTitleMounted:w,subtitleMounted:x,setSubtitleMounted:j,id:v}),[v,x,y]),de=()=>{k.current={x:0,y:0},$.current=0,S.current=0,P(0)},ne=oe=>{let Z=oe.target;const ee=I.current;for(;Z&&(Z===ee||ee!=null&&ee.contains(Z));){if(Z.scrollTop!==0||Z.scrollLeft!==0||Z.matches("input,textarea"))return;Z=Z?Z.parentElement:null}b==="start"&&oe.targetTouches[0].clientX<Ma||(Yn(),N(!0))},De=oe=>{r||oe.propertyName==="transform"&&oe.currentTarget===oe.target&&de()};return c.useEffect(()=>{if(!C)return;const oe=()=>{Gn(),N(!1);const ee=b==="start"?S.current<0:S.current>0;Math.abs(F.current)>uo&&ee?n==null||n():de()},Z=ee=>{if(!C||b==="center")return;const te=ee.targetTouches[0],ve={x:te.clientX,y:te.clientY},K=b==="bottom"?"y":"x",Y=b==="bottom"?"x":"y";k.current[K]||(k.current=ve,$.current=ve[K]);const H=Math.abs(ve[K]-k.current[K]),W=Math.abs(ve[Y]-k.current[Y]);if(l!=="bottom"&&(H<W||W>Ta)){$.current=ve[K];return}S.current=ve[K]-$.current,$.current=ve[K],P(ie=>b==="start"?Math.min(0,ie+S.current):Math.max(0,ie+S.current))};return document.addEventListener("touchmove",Z),document.addEventListener("touchend",oe),()=>{document.removeEventListener("touchmove",Z),document.removeEventListener("touchend",oe)}},[C,b]),c.useEffect(()=>{const oe=I.current;if(!oe||!b)return;const ee=["start","end"].includes(b)?oe.clientWidth:oe.clientHeight,te=Math.abs(M)/ee;L(te/2),F.current=M},[M,b]),i.jsx(Fr,{onClose:n,onOpen:o,active:r,transparent:u||O,className:f,attributes:{onTouchStart:ne},children:({active:oe})=>{const Z=A(xn.root,m,V==null?void 0:V.classNames,oe&&xn["--active"],C&&xn["--dragging"],J(xn,"--position",l));return i.jsx(Lr.Provider,{value:G,children:i.jsx("div",z(p({},g),{style:z(p(p({},V==null?void 0:V.variables),ce("--rs-modal-size",s)),{"--rs-modal-drag":Math.abs(M)<uo?"0px":`${M+uo*(b==="start"?1:-1)}px`}),"aria-labelledby":y?`${v}-title`:void 0,"aria-describedby":x?`${v}-subtitle`:void 0,"aria-label":_||(g==null?void 0:g["aria-label"]),className:Z,"aria-modal":"true",role:"dialog",tabIndex:d?void 0:-1,ref:I,onTransitionEnd:De,children:t}))})}})};_o.Title=Sa,_o.Subtitle=Ia;const Da=_o,Or={page:"_page_j10le_1"},qr=e=>{const{total:t,page:n=1,onChange:o,pageAriaLabel:r,previousAriaLabel:s,nextAriaLabel:a,className:l,attributes:u}=e,_=1,d=1,f=[],m=n-_>d+2,g=n+_<t-d;let v=_*2+1;m||(v+=d+1),g||(v+=d+1);const b=m?Math.min(t-v+1,Math.max(1,n-_)):1,y=g?Math.min(b+v-1,t):t;m&&f.push(...Tn(1,d),null),f.push(...Tn(b,y)),g&&f.push(null,...Tn(t-d+1,t));const w=x=>{const j=Math.min(t,Math.max(1,x));o==null||o({page:j})};return i.jsxs(q,{direction:"row",align:"center",gap:1,className:l,attributes:u,children:[i.jsx(ke,{variant:"ghost",size:"small",icon:gn,onClick:()=>w(n-1),disabled:n===1,attributes:{"aria-label":s}}),f.map((x,j)=>x===null?i.jsx(q,{width:7,align:"center",children:"..."},`dots-${j}`):i.jsx(ke,{size:"small",variant:x===n?"solid":"ghost",color:x===n?"primary":"neutral",onClick:()=>w(x),attributes:{"aria-label":r==null?void 0:r({page:x}),"aria-current":x===n},className:Or.page,children:x},j)),i.jsx(ke,{variant:"ghost",size:"small",className:Or.page,icon:jt,onClick:()=>w(n+1),disabled:n===t,attributes:{"aria-label":a}})]})},Aa=e=>{const l=e,{defaultPage:t=1,onChange:n}=l,o=Me(l,["defaultPage","onChange"]),[r,s]=c.useState(t||1),a=u=>{s(u.page),n==null||n(u)};return i.jsx(qr,z(p({},o),{onChange:a,page:r}))},Pa=e=>{const{page:t}=e;return t!==void 0?i.jsx(qr,p({},e)):i.jsx(Aa,p({},e))},Br="\\d",Hr="[a-zA-Z]",Fa=`(${Br}|${Hr})`,wn={root:"_root_yfexp_1",input:"_input_yfexp_9",item:"_item_yfexp_24","item--focused":"_item--focused_yfexp_28","rs-pin-field-caret":"_rs-pin-field-caret_yfexp_1"},La={medium:9,large:12,xlarge:14},Va={numeric:Br,alphabetic:Hr,alphanumeric:Fa},Wr=e=>{const{valueLength:t=4,value:n,onChange:o,name:r,pattern:s="numeric",size:a="medium",variant:l="outline",className:u,attributes:_,inputAttributes:d}=e,f=Va[s],m=Ee(a,M=>La[M]),g=Ee(a,M=>M==="medium"?"body-3":"body-2"),v=Ee(a,M=>M==="xlarge"?"medium":"small"),[b,y]=c.useState(null),w=Ze(),x=c.useRef(n.length===t?"edit":"type"),j=c.useRef(null),C=[],N=c.useCallback(M=>{var G;const P=j.current;if(!P||P.selectionStart===null)return;const O=x.current,L=(G=M!=null?M:P.selectionStart)!=null?G:0,V=Math.min(O==="type"?P.value.length:P.value.length-1,Math.max(0,L));x.current==="type"?(P.selectionStart=V,P.selectionEnd=V):(P.selectionStart=V,P.selectionEnd=V+1),y(Math.min(P.selectionStart,t-1))},[t]);Qe({[`${Qt},${Xt}`]:()=>{Pe(()=>{const M=j.current;if(!M||M.selectionStart===null)return;const P=x.current,O=n.length?"edit":"type";x.current=O,N(P==="type"&&O==="edit"?M.selectionStart:M.selectionStart-1)})},[`${Zt},${Jt}`]:()=>{Pe(()=>{const M=j.current;if(!M||M.selectionStart===null)return;const P=M.selectionStart===n.length&&M.selectionStart!==t?"type":"edit";x.current=P,N(M.selectionStart)})}},[n,N,t],{ref:j});const I=()=>{N(n.length)},k=()=>{y(null)},$=M=>{if(b===null||!j.current)return;const P=M.clipboardData.getData("text"),O=n.slice(0,b)+n.slice(b+P.length);j.current.value=O,j.current.selectionEnd=b,j.current.selectionStart=j.current.selectionStart},F=M=>{const P=M.target,O=P.value,L=new RegExp(`^${f}+$`);if(O&&!O.match(L)||P.selectionStart===null)return;const V=O.length===t||O.length>P.selectionStart?"edit":"type";x.current=V,o==null||o({event:M,name:r,value:O}),Pe(()=>{N()})},S=(M,P)=>{j.current&&(M.preventDefault(),j.current.focus(),x.current=P>=n.length?"type":"edit",N(P))};for(let M=0;M<t;M++)C.push(i.jsx(q,{height:m,width:m,borderRadius:v,borderColor:l==="faded"?"transparent":"neutral",backgroundColor:l==="faded"?"neutral-faded":"elevation-base",align:"center",justify:"center",className:[wn.item,b===M&&wn["item--focused"]],attributes:{onMouseDown:P=>{S(P,M)},onTouchStart:P=>{S(P,M)}},children:n[M]&&i.jsx(se,{variant:g,children:n[M]})},M));return i.jsxs(q,{gap:2,direction:"row",className:[wn.root,u],attributes:_,children:[C,i.jsx("input",z(p(p({},d),w.attributes),{type:"text",className:wn.input,onFocus:I,onBlur:k,onPaste:$,onInput:F,value:n,name:r,maxLength:t,ref:j,autoComplete:(d==null?void 0:d.autoComplete)||"one-time-code",inputMode:s==="numeric"?"numeric":void 0,pattern:`${f}{${t}}`}))]})},Oa=e=>{const l=e,{defaultValue:t,onChange:n}=l,o=Me(l,["defaultValue","onChange"]),[r,s]=c.useState(t||""),a=u=>{s(u.value),n==null||n(u)};return i.jsx(Wr,z(p({},o),{value:r,onChange:a}))},qa=e=>{const{value:t}=e;return t!==void 0?i.jsx(Wr,p({},e)):i.jsx(Oa,p({},e))},Rt={root:"_root_1n3rz_1",value:"_value_1n3rz_9","--duration":"_--duration_1n3rz_23","--size-small":"_--size-small_1n3rz_27","--size-medium":"_--size-medium_1n3rz_31","--color-primary":"_--color-primary_1n3rz_35","--color-critical":"_--color-critical_1n3rz_39","--color-warning":"_--color-warning_1n3rz_43","--color-positive":"_--color-positive_1n3rz_47","--color-media":"_--color-media_1n3rz_51"},Ba=e=>{const{value:t=0,min:n=0,max:o=100,color:r="primary",size:s="medium",duration:a,className:l,attributes:u}=e,_=A(Rt.root,l,r&&Rt[`--color-${r}`],s&&Rt[`--size-${s}`],!!a&&Rt["--duration"]),d=o-n,f=t-n,v=`${Math.max(n,Math.min(o,f))/d*100-100}%`;return i.jsx("div",z(p({role:"progressbar"},u),{className:_,"aria-valuemax":o,"aria-valuemin":n,"aria-valuenow":t,children:i.jsx("div",{className:Rt.value,style:{"--rs-progress-value":v,"--rs-progress-duration":a?`${a}ms`:void 0}})}))},Rr=c.createContext(null),Ha=()=>c.useContext(Rr),Ur=e=>{const{onChange:t,name:n,disabled:o,value:r,children:s,hasError:a}=e,l=({event:u,value:_})=>{_&&t&&t({name:n,value:_,event:u})};return i.jsx(Rr.Provider,{value:{onChange:l,disabled:o,value:r,name:n,hasError:a},children:s})},Wa=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t||null),s=a=>{a.value&&(r(a.value),n&&n(a))};return i.jsx(Ur,z(p({},e),{value:o,defaultValue:void 0,onChange:s}))},Ra=e=>{const{value:t}=e;return t!==void 0?i.jsx(Ur,p({},e)):i.jsx(Wa,p({},e))},ht={root:"_root_28g56_1",input:"_input_28g56_10",decorator:"_decorator_28g56_10",field:"_field_28g56_14","--error":"_--error_28g56_50",text:"_text_28g56_62","--disabled":"_--disabled_28g56_73"},Ua=e=>{const{children:t,value:n,onChange:o,onFocus:r,onBlur:s,className:a,attributes:l,inputAttributes:u}=e,_=Ze(),d=Ha(),f=(_==null?void 0:_.hasError)||e.hasError||(d==null?void 0:d.hasError),m=(_==null?void 0:_.disabled)||e.disabled||(d==null?void 0:d.disabled),g=d?d.value===n:e.checked,v=d?void 0:e.defaultChecked,b=d?d.name:e.name,y=A(ht.root,a,f&&ht["--error"],m&&ht["--disabled"]),w=x=>{if(!b)return;const{checked:j}=x.target,C={name:b,value:n,checked:j,event:x};o&&o(C),d!=null&&d.onChange&&d.onChange(C)};return i.jsxs("label",z(p({},l),{className:y,children:[i.jsxs("span",{className:ht.field,children:[i.jsx(co,{className:ht.input,type:"radio",checked:g,defaultChecked:v,name:b,disabled:m,value:n,onChange:w,onFocus:r,onBlur:s,attributes:u}),i.jsx("div",{className:ht.decorator})]}),t&&i.jsx("span",{className:ht.text,children:t})]}))},Yr={short:4e3,long:8e3},Ut=["top-start","top","top-end","bottom-start","bottom","bottom-end"],Gr={queues:Ut.reduce((e,t)=>p({[t]:[]},e),{}),id:"",show:()=>{},hide:()=>{},remove:()=>{},add:()=>""},yn=c.createContext(Gr),Kr=()=>{const{add:e,hide:t,id:n}=c.useContext(yn);return c.useMemo(()=>({show:e,hide:t,id:n}),[e,t,n])},We={container:"_container_1kfpq_1","container--visible":"_container--visible_1kfpq_1",wrapper:"_wrapper_1kfpq_12","container--index-0":"_container--index-0_1kfpq_1","container--index-1":"_container--index-1_1kfpq_1","container--index-2":"_container--index-2_1kfpq_109","container--index-overflow":"_container--index-overflow_1kfpq_113",region:"_region_1kfpq_65","region--nested":"_region--nested_1kfpq_1","region--position-top":"_region--position-top_1kfpq_1","region--position-top-start":"_region--position-top-start_1kfpq_1","region--position-top-end":"_region--position-top-end_1kfpq_1","region--position-bottom":"_region--position-bottom_1kfpq_1","region--position-bottom-start":"_region--position-bottom-start_1kfpq_1","region--position-bottom-end":"_region--position-bottom-end_1kfpq_1"},Ya=e=>{const{size:t="small",text:n,children:o,color:r="inverted",icon:s,title:a,actionsSlot:l,startSlot:u,collapsed:_,className:d,attributes:f}=e;let m=r==="inverted"||r==="neutral"?"elevation-overlay":r;r==="neutral"&&(m=_?"neutral":"elevation-overlay");const g=r==="neutral"?"neutral-faded":"transparent",v=t==="small"?"span":"div",b=t==="large";let y=[];l&&(y=Array.isArray(l)?l:[l]);const w=(a||n)&&i.jsxs(i.Fragment,{children:[a&&i.jsxs(se,{variant:"body-3",weight:"bold",as:v,children:[a," "]}),i.jsx(se,{variant:"body-3",as:v,children:n})]}),x=i.jsxs(q,{backgroundColor:m,borderColor:g,padding:4,borderRadius:"medium",animated:!0,direction:"row",gap:3,align:b?"start":"center",className:[We.toast,d],attributes:f,children:[s&&i.jsx(he,{size:5,svg:s,className:We.icon}),u&&!s&&i.jsx(q.Item,{children:u}),i.jsx(q.Item,{grow:!0,children:i.jsxs(q,{direction:b?"column":"row",align:b?"start":"center",gap:3,children:[i.jsx(q.Item,{grow:!0,children:w&&o||t!=="small"?i.jsxs(q,{gap:.5,children:[w,o&&i.jsx(q,{gap:3,children:o})]}):w||o}),y.length&&i.jsx(q,{direction:"row",align:"center",gap:2,children:y.map((j,C)=>{const N=t==="large"?C===0:C===y.length-1,k={variant:N?"solid":"ghost",size:"small",color:N?r==="neutral"||r==="inverted"?"neutral":"media":"inherit",elevated:r!=="neutral"};return j.type===ke?c.createElement(ke,z(p(p({},k),j.props),{key:C})):j})})]})})]});return r==="inverted"?i.jsx(wt,{colorMode:"inverted",children:x}):x},Ga=e=>{const{toastProps:t,id:n,status:o,inspected:r,index:s}=e,{timeout:a="short"}=t,{show:l,hide:u,remove:_}=c.useContext(yn),[d,f]=c.useState(),m=c.useRef(),g=c.useRef(!1),v=c.useRef(null),b=o==="entered",y=A(We.container,b&&We["container--visible"],s===0&&We[`container--index-${s}`],!r&&(s===1||s===2)&&We[`container--index-${s}`],!r&&s>=3&&We["container--index-overflow"]),w=c.useCallback(()=>{m.current&&clearTimeout(m.current)},[]),x=c.useCallback(()=>{w();const C=typeof a=="string"?Yr[a]:a;a!==0&&(m.current=setTimeout(()=>{u(n)},C!=null?C:Yr.short))},[u,n,a,w]),j=C=>{C.propertyName==="height"&&(b||_(n))};return c.useEffect(()=>{b&&(r?w():x())},[r,x,w,b]),c.useEffect(()=>{v.current&&f(v.current.clientHeight),l(n),x()},[l,n,x]),c.useEffect(()=>{if(!v.current)return;const C=new Lt(v.current);b?C.trap({includeTrigger:!0,mode:"content-menu"}):Yo()&&C.release()},[b]),c.useEffect(()=>{if(!b||s>0)return;const C=()=>{g.current=!0,Pe(()=>{g.current=!1}),v.current&&f(v.current.clientHeight)};return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[b,s]),i.jsx("li",{className:y,style:{height:o==="entered"?`calc(${d}px + var(--rs-unit-x2) + 2px)`:0,transitionDuration:g.current?"0s":void 0},onTransitionEnd:j,onFocus:w,onBlur:x,children:i.jsx("span",{className:We.wrapper,children:i.jsx(Ya,z(p({},t),{collapsed:s>0&&!r,attributes:z(p({},t.attributes),{ref:v})}))})})},Ka=e=>{const{position:t,nested:n}=e,{queues:o,options:r}=c.useContext(yn),[s,a]=c.useState(!1),l=c.useRef(!1),u=c.useRef(null),_=o[t],{width:d,expanded:f}=(r==null?void 0:r[t])||{},m=A(We.region,We[`region--position-${t}`],n&&We["region--nested"]),g=_.filter(j=>j.status==="entered").length;let v=0;const b=()=>{l.current=!0},y=j=>{let C=j.target,N=!1;for(;C&&C!==u.current&&!N;)N=C.matches(Ro),C=C.parentElement;N||a(I=>!I),l.current=!1},w=()=>{l.current||a(!0)},x=()=>{l.current||a(!1)};return c.useEffect(()=>{_.length===0&&a(!1)},[_.length]),_.length?i.jsx("ul",{role:"region","aria-live":"polite",className:m,ref:u,onTouchStart:b,onClick:y,onMouseEnter:w,onMouseLeave:x,style:{width:d},children:_.map((j,C)=>{const N=g-C+v-1;return j.status!=="entered"&&(v+=1),i.jsx(Ga,z(p({},j),{index:N,inspected:s||!!f}),j.id)})}):null};let Xa=0;const Ja=()=>`__rs-toast-${Xa++}`,Za=(e,t)=>{let n;switch(t.type){case"add":const o=t.payload.toastProps||{},{position:r="bottom-end"}=o,s=Me(o,["position"]);return z(p({},e),{[r]:[...e[r],{id:t.payload.id,toastProps:s,status:"entering"}]});case"show":const{id:a}=t.payload;return n=p({},e),Ut.forEach(_=>{n[_]=n[_].map(d=>d.status!=="entering"?d:d.id===a?z(p({},d),{status:"entered"}):d)}),n;case"hide":const{id:l}=t.payload;return n=p({},e),Ut.forEach(_=>{n[_]=n[_].map(d=>d.id===l?z(p({},d),{status:"exiting"}):d)}),n;case"remove":const{id:u}=t.payload;return n=p({},e),Ut.forEach(_=>{n[_]=n[_].filter(d=>d.id!==u)}),n}},Xr=e=>{const{children:t,options:n}=e,o=Kr(),r=c.useId(),[s,a]=c.useReducer(Za,Gr.queues),l=c.useCallback(m=>{const g=Ja();return a({type:"add",payload:{toastProps:m,id:g}}),g},[]),u=c.useCallback(m=>{a({type:"show",payload:{id:m}})},[]),_=c.useCallback(m=>{a({type:"hide",payload:{id:m}})},[]),d=c.useCallback(m=>{a({type:"remove",payload:{id:m}})},[]),f=c.useMemo(()=>({queues:s,id:r,add:l,show:u,hide:_,remove:d,inspecting:!1,options:n}),[s,u,_,l,d,r,n]);return i.jsxs(yn.Provider,{value:f,children:[t,Ut.map(m=>i.jsx(Ka,{position:m,nested:!!o.id},m))]})},Qa=()=>{c.useEffect(()=>{const e=n=>{n.metaKey||n.altKey||n.ctrlKey||di()},t=()=>{_i()};return window.addEventListener("keydown",e),window.addEventListener("mousedown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("mousedown",t)}},[])},el={root:"_root_18j53_1"},tl=e=>{const{children:t,defaultRTL:n,defaultViewport:o="s",toastOptions:r}=e,s=xi(n);return Qa(),i.jsx(Rn.Provider,{value:{rtl:s,defaultViewport:o},children:i.jsx(gi,{children:i.jsx(Xr,{options:r,children:t})})})},nl=e=>{const{theme:t,defaultTheme:n="reshaped",defaultColorMode:o,className:r}=e,s=A(el.root,r);return i.jsx(Di,{defaultMode:o,children:i.jsx(wt,{name:t,defaultName:n,className:s,children:i.jsx(tl,z(p({},e),{children:e.children}))})})},Yt={root:"_root_f2om1_1",scrim:"_scrim_f2om1_2",content:"_content_f2om1_31","--position-cover":"_--position-cover_f2om1_37","--position-top":"_--position-top_f2om1_56","--position-bottom":"_--position-bottom_f2om1_57","--position-start":"_--position-start_f2om1_61","--position-end":"_--position-end_f2om1_62","--with-background":"_--with-background_f2om1_100"},ol=e=>{const{children:t,backgroundSlot:n,position:o="cover",attributes:r,className:s,scrimClassName:a}=e,l=A(Yt.root,!!n&&Yt["--with-background"],o&&Yt[`--position-${o}`],s),u=A(Yt.scrim,a);return i.jsxs("div",z(p({},r),{className:l,children:[n,i.jsx("div",{className:u,children:i.jsx("div",{className:Yt.content,children:t})})]}))},ct={root:"_root_1lqm1_1",scrollable:"_scrollable_1lqm1_9",scrollbar:"_scrollbar_1lqm1_26",thumb:"_thumb_1lqm1_32","--scrollbar-y":"_--scrollbar-y_1lqm1_48","--scrollbar-x":"_--scrollbar-x_1lqm1_60","--display-visible":"_--display-visible_1lqm1_80","--display-hover":"_--display-hover_1lqm1_84","--scrollbar-dragging":"_--scrollbar-dragging_1lqm1_88"},Jr=e=>{const{ratio:t,position:n,vertical:o,onThumbMove:r}=e,[s,a]=c.useState(!1),l=c.useRef(0),u=c.useRef(null),_=A(ct.scrollbar,o?ct["--scrollbar-y"]:ct["--scrollbar-x"],s&&ct["--scrollbar-dragging"]),d=v=>{const b=u.current,y=l.current;if(l.current=0,y||!b||v.currentTarget!==b)return;const w=b.getBoundingClientRect(),x=o?v.pageY-w.top:v.pageX-w.left,j=o?b.clientHeight:b.clientWidth;r({value:x/j-t/2,type:"absolute"})},f=c.useCallback(v=>{l.current||(l.current=o?v.pageY:v.pageX);const b=u.current;if(!b||!s)return;const y=o?v.movementY:v.movementX,w=o?b.scrollHeight:b.scrollWidth;r({value:y/w,type:"relative"})},[t,o,s]),m=c.useCallback(()=>{a(!1),Gn()},[]),g=()=>{a(!0),Yn()};return c.useEffect(()=>{if(s)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",m),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",m)}},[f,m,s]),i.jsx("div",{className:_,style:{"--rs-scroll-area-ratio":t,"--rs-scroll-area-position":n},ref:u,onClick:d,onMouseDown:g,"aria-hidden":"true",children:i.jsx("div",{className:ct.thumb})})},rl=c.forwardRef((e,t)=>{const{children:n,height:o,maxHeight:r,scrollbarDisplay:s="hover",onScroll:a,className:l,attributes:u}=e,[_,d]=c.useState({x:1,y:1}),[f,m]=c.useState({x:0,y:0}),g=c.useRef(null),v=c.useRef(),b=pt(o),y=So(r),w=A(ct.root,s&&ct[`--display-${s}`],b==null?void 0:b.classNames,y==null?void 0:y.classNames,l),x=p(p({},b==null?void 0:b.variables),y==null?void 0:y.variables),j=c.useCallback(()=>{const k=g.current;k&&d({x:k.clientWidth/k.scrollWidth,y:k.clientHeight/k.scrollHeight})},[]),C=k=>{const $=g.current;if(!$)return;const F={x:k.currentTarget.scrollLeft/$.scrollWidth,y:k.currentTarget.scrollTop/$.scrollHeight};m(F),a==null||a(F)},N=k=>{const $=g.current;if(!$)return;const F=$.scrollHeight*k.value;k.type==="absolute"?$.scrollTop=F:$.scrollTop+=F},I=k=>{const $=g.current;if(!$)return;const F=$.clientWidth*k.value;k.type==="absolute"?$.scrollLeft=F:$.scrollLeft+=F};return c.useImperativeHandle(t,()=>g.current),me(()=>{j()},[j]),me(()=>{const k=g.current;if(k)return v.current=new ResizeObserver(j),v.current.observe(k),()=>{var $;($=v.current)==null||$.disconnect()}},[j]),i.jsxs("div",z(p({},u),{className:w,style:x,children:[i.jsx("div",{className:ct.scrollable,ref:g,onScroll:C,children:n}),_.y<1&&s!=="hidden"&&i.jsx(Jr,{vertical:!0,onThumbMove:N,ratio:_.y,position:f.y}),_.x<1&&s!=="hidden"&&i.jsx(Jr,{onThumbMove:I,ratio:_.x,position:f.x})]}))}),sl=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("path",{d:"M7 16L12 21L17 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M17 8L12 3L7 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ge={root:"_root_19ko1_1",input:"_input_19ko1_18",slot:"_slot_19ko1_45",arrow:"_arrow_19ko1_60","--size-medium":"_--size-medium_19ko1_1","--size-large":"_--size-large_19ko1_1","--size-xlarge":"_--size-xlarge_19ko1_1","--variant-faded":"_--variant-faded_19ko1_115","--variant-headless":"_--variant-headless_19ko1_124","--status-error":"_--status-error_19ko1_129","--placeholder":"_--placeholder_19ko1_144","--disabled":"_--disabled_19ko1_148","--size-medium--m":"_--size-medium--m_19ko1_1","--size-large--m":"_--size-large--m_19ko1_1","--size-xlarge--m":"_--size-xlarge--m_19ko1_1","--size-medium--l":"_--size-medium--l_19ko1_1","--size-large--l":"_--size-large--l_19ko1_1","--size-xlarge--l":"_--size-xlarge--l_19ko1_1","--size-medium--xl":"_--size-medium--xl_19ko1_1","--size-large--xl":"_--size-large--xl_19ko1_1","--size-xlarge--xl":"_--size-xlarge--xl_19ko1_1"},il=e=>{var P,O;const{onChange:t,onClick:n,onFocus:o,onBlur:r,name:s,value:a,defaultValue:l,placeholder:u,options:_,children:d,icon:f,startSlot:m,size:g="medium",variant:v="outline",className:b,attributes:y}=e,[w,x]=c.useState(a===void 0?!l:!a),j=Ze(),C=Oe(e.id),N=((P=j==null?void 0:j.attributes)==null?void 0:P.id)||((O=e.inputAttributes)==null?void 0:O.id)||C,I=(j==null?void 0:j.disabled)||e.disabled,k=(j==null?void 0:j.hasError)||e.hasError,$=p(p({},e.inputAttributes),j==null?void 0:j.attributes),F=A(Ge.root,b,g&&J(Ge,"--size",g),k&&Ge["--status-error"],I&&Ge["--disabled"],w&&_&&Ge["--placeholder"],v&&Ge[`--variant-${v}`]),S=L=>{const V=L.target.value;a===void 0&&x(!V),t&&t({name:s,value:V,event:L})};c.useEffect(()=>{a!==void 0&&x(!a)},[a]);const M=(m||f)&&i.jsx("div",{className:Ge.slot,children:f?i.jsx(he,{size:Ee(g,L=>L==="large"?5:L==="xlarge"?6:4),svg:f}):m});return i.jsxs("div",z(p({},y),{className:F,children:[_?i.jsxs(i.Fragment,{children:[M,i.jsxs("select",z(p({},$),{onFocus:o||($==null?void 0:$.onFocus),onBlur:r||($==null?void 0:$.onBlur),className:Ge.input,disabled:I,name:s,value:a,defaultValue:l,onChange:S,id:N,children:[u&&i.jsx("option",{value:"",children:u}),_.map(L=>i.jsx("option",{value:L.value,disabled:L.disabled,children:L.label},L.value))]}))]}):i.jsxs(i.Fragment,{children:[i.jsxs(Ae,{className:Ge.input,disabled:I,onClick:n,attributes:z(p({},$),{onFocus:o||($==null?void 0:$.onFocus),onBlur:r||($==null?void 0:$.onBlur)}),children:[M,d||(u?i.jsx(se,{color:"neutral-faded",children:u}):null)]}),i.jsx("input",{type:"hidden",value:a,name:s})]}),i.jsx("div",{className:Ge.arrow,children:i.jsx(he,{svg:sl,color:I?"disabled":"neutral-faded",size:Ee(g,L=>L==="large"||L==="xlarge"?5:4)})})]}))},al={root:"_root_xavah_1","rs-skeleton-pulse":"_rs-skeleton-pulse_xavah_1"},ll=e=>{const{borderRadius:t="small",width:n,height:o,className:r,attributes:s}=e,a=A(al.root,r);return i.jsx(q,{backgroundColor:"disabled",width:n,height:o,borderRadius:t,className:a,attributes:s})},Zr=e=>{const t=e.toString().split(".")[1];return(t==null?void 0:t.length)||0},mo=(e,t)=>{const n=t%1!==0,o=Math.round(e/t)*t;if(n){const r=Zr(t);return Number(o.toFixed(r))}return o},ot={root:"_root_1tefw_1",thumb:"_thumb_1tefw_17","thumb--active":"_thumb--active_1tefw_17",input:"_input_1tefw_17",bar:"_bar_1tefw_22",selection:"_selection_1tefw_40",tooltip:"_tooltip_1tefw_46",thumbs:"_thumbs_1tefw_71","--disabled":"_--disabled_1tefw_138"},cl=(e,t)=>{const{name:n,value:o,disabled:r,active:s,position:a,max:l,min:u,step:_,onChange:d,onDragStart:f,renderValue:m,tooltipRef:g}=e,v=c.useId(),b=A(ot.thumb,s&&ot["thumb--active"]),y=Zr(_),w=m?m({value:o}):o.toFixed(y),x=j=>{d(+j.target.value)};return i.jsxs(i.Fragment,{children:[i.jsx("input",{className:ot.input,type:"range",name:n,value:o,onChange:x,disabled:r,max:l,min:u,step:_,"aria-labelledby":v}),i.jsx("div",{ref:t,className:b,onMouseDown:f,onTouchStart:f,style:{insetInlineStart:`${a}%`},id:v,"aria-hidden":"true",children:i.jsx(wt,{colorMode:"inverted",children:i.jsx(se,{variant:"caption-1",weight:"medium",className:ot.tooltip,attributes:{ref:g},children:w})})})]})},Qr=c.forwardRef(cl),es=16,ts=e=>e instanceof MouseEvent?e.pageX||e.screenX:e.changedTouches[0].pageX,fo=e=>{var ve;const{name:t,range:n,max:o,min:r,step:s=1,onChange:a,onChangeCommit:l,renderValue:u,className:_,attributes:d}=e,f=n&&e.minValue!==void 0?mo(e.minValue,s):void 0,m=mo(n?e.maxValue:e.value,s),g=c.useRef(null),v=c.useRef(null),b=c.useRef(null),y=c.useRef(null),w=c.useRef(null),[x,j]=c.useState(null),[C]=at(),N=Ze(),I=Oe(),k=((ve=N==null?void 0:N.attributes)==null?void 0:ve.id)||I,$=`${k}-min`,F=`${k}-max`,S=(N==null?void 0:N.disabled)||e.disabled,M=A(ot.root,S&&ot["--disabled"],_),P=c.useCallback(K=>{if(!g.current)return;const Y=g.current.clientWidth,H=g.current.getBoundingClientRect().left+es/2,W=K-H,ie=Y-es;let le=W/ie;C&&(le=1-le);let _e=(o-r)*le+r;return _e=Math.max(r,Math.min(o,_e)),mo(_e,s)},[o,r,C,s]),O=K=>(K-r)/(o-r)*100,L=c.useCallback(K=>{var Fe,Le,Te;const Y=K===$?y:w,H=K===$?v:b;let W=0;const ie=(Fe=g.current)==null?void 0:Fe.getBoundingClientRect(),le=(Le=Y.current)==null?void 0:Le.getBoundingClientRect(),_e=(Te=H.current)==null?void 0:Te.getBoundingClientRect(),pe=ie==null?void 0:ie.left,R=pe&&pe+(ie==null?void 0:ie.width),Xe=_e&&le&&_e.left-le.width/2,xe=_e&&le&&_e.left+le.width/2;Xe&&pe&&Xe<pe-8&&(W=le.width/2-8),xe&&R&&xe>R&&(W=-(le.width/2-8));const ye=Y.current;ye&&ye.style.setProperty("--rs-slider-tooltip-offset",`${W||0}px`)},[$]),V=c.useCallback((K,Y)=>{if(!n)return;const H=Y!=null&&Y.commit?l:a;H==null||H({minValue:K,maxValue:m,name:t})},[m,t,n]),G=c.useCallback((K,Y)=>{if(n){const W=Y!=null&&Y.commit?l:a;W==null||W({minValue:f,maxValue:K,name:t});return}const H=Y!=null&&Y.commit?l:a;H==null||H({value:K,name:t})},[f,t,n]),de=({nativeEvent:K})=>{if(S)return;let Y,H;const W=ts(K),ie=P(W);[{ref:v,id:$},{ref:b,id:F}].forEach(_e=>{if(!_e.ref.current)return;const pe=_e.ref.current,R=Math.abs(pe.getBoundingClientRect().left-W);(Y===void 0||R<=Y)&&(Y=R,H=_e.id)}),!(!H||ie===void 0)&&(H===$&&V(ie),H===F&&G(ie),Yn(),j(H))},ne=()=>{S||j($)},De=()=>{S||j(F)},oe=c.useCallback(()=>{x===$&&f!==void 0&&V(f,{commit:!0}),x===F&&G(m,{commit:!0}),Gn(),j(null)},[f,m,V,G,x,$,F]),Z=c.useCallback(K=>{if(!x)return;const Y=ts(K),H=P(Y);if(H===void 0)return;let W=x;x===$&&H>m&&(W=F),x===F&&f&&H<f&&(W=$),W===$&&V(H),W===F&&G(H),x!==W&&j(W)},[x,f,m,P,G,V,F,$]);c.useEffect(()=>{L($),L(F)},[$,F,f,m,L]),c.useEffect(()=>(window.addEventListener("mouseup",oe),window.addEventListener("touchend",oe),window.addEventListener("mousemove",Z),window.addEventListener("touchmove",Z),()=>{window.removeEventListener("mouseup",oe),window.removeEventListener("touchend",oe),window.removeEventListener("mousemove",Z),window.removeEventListener("touchmove",Z)}),[oe,Z]);const ee=f&&O(f),te=O(m);return i.jsxs("div",z(p({},d),{className:M,onMouseDown:de,onTouchStart:de,children:[i.jsx("div",{className:ot.bar,ref:g,children:i.jsx("div",{className:ot.selection,style:{insetInlineStart:`${ee||0}%`,width:`${te-(ee||0)}%`}})}),i.jsxs("div",{className:ot.thumbs,children:[f!==void 0&&ee!==void 0&&i.jsx(Qr,{id:$,active:$===x,name:t,disabled:S,onChange:V,value:f,onDragStart:ne,position:ee,max:o,min:r,ref:v,tooltipRef:y,renderValue:u,step:s}),i.jsx(Qr,{id:F,active:F===x,name:t,disabled:S,onChange:G,value:m,onDragStart:De,position:te,max:o,min:r,ref:b,tooltipRef:w,renderValue:u,step:s})]})]}))},ul=e=>{const{min:t,max:n,onChange:o,range:r}=e,s="defaultMinValue"in e&&e.defaultMinValue!==void 0&&e.defaultMinValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||t,a="defaultMaxValue"in e&&e.defaultMaxValue!==void 0&&e.defaultMaxValue||"defaultValue"in e&&e.defaultValue!==void 0&&e.defaultValue||(r?n:t),[l,u]=c.useState(s),[_,d]=c.useState(a),f=g=>{r||(d(g.value),o==null||o(g))},m=g=>{r&&(u(g.minValue),d(g.maxValue),o==null||o(g))};return r?i.jsx(fo,z(p({},e),{min:t,max:n,minValue:l,maxValue:_,defaultMinValue:void 0,defaultMaxValue:void 0,onChange:m})):i.jsx(fo,z(p({},e),{min:t,max:n,value:_,defaultValue:void 0,onChange:f}))},dl=e=>{const r=e,{min:t=0,max:n=100}=r,o=Me(r,["min","max"]);return"value"in e&&e.value!==void 0||"minValue"in e&&"maxValue"in e&&e.minValue!==void 0&&e.maxValue!==void 0?i.jsx(fo,z(p({},o),{min:t,max:n})):i.jsx(ul,z(p({},o),{min:t,max:n}))},_l={verticalDivider:"_verticalDivider_oa23g_1"},ml=e=>{const{title:t,subtitle:n,children:o,direction:r,className:s,attributes:a,labelDisplay:l,step:u,completed:_,active:d,last:f}=e,m=l&&Ee(l,v=>v==="hidden"),g=i.jsx(q,{gap:3,grow:!0,children:i.jsxs(q.Item,{children:[i.jsx(se,{variant:"body-3",weight:"medium",children:t}),i.jsx(se,{variant:"caption-1",color:"neutral-faded",children:n})]})});return i.jsxs(q,{children:[i.jsxs(q,{attributes:a,className:s,direction:"row",gap:2,align:"center",position:"static",children:[i.jsxs(q.Item,{children:[i.jsx(q,{align:"center",justify:"center",backgroundColor:d||_?"primary":"neutral-faded",borderColor:d||_?void 0:"neutral-faded",borderRadius:"circular",as:"span",width:8,height:8,zIndex:5,children:i.jsx(se,{variant:"body-3",weight:d?"bold":"medium",children:_?i.jsx(he,{svg:Mr,size:4}):u})}),r==="column"&&!f&&i.jsx(en,{vertical:!0,className:_l.verticalDivider})]}),l?i.jsx(vt,{hide:m,children:g}):g]}),r==="column"&&o&&i.jsx(Fo,{active:d,children:i.jsx(q,{paddingStart:10,paddingTop:2,children:o})})]})},fl=e=>null,ns=e=>{const{children:t,direction:n="row",activeId:o,labelDisplay:r,className:s,attributes:a}=e,l=n==="column",u=c.Children.count(t);return i.jsx(q,{attributes:a,direction:n,align:l?"stretch":"center",className:s,gap:3,wrap:!1,children:c.Children.map(t,(_,d)=>{const f=_.props.id||`${d}`;return i.jsxs(c.Fragment,{children:[i.jsx(ml,z(p({},_.props),{id:_.props.id||`${d}`,active:(o==null?void 0:o.toString())===f,step:d+1,last:d===u-1,direction:n,labelDisplay:r})),!l&&d<u-1&&i.jsx(q,{grow:!0,children:i.jsx(en,{})})]},d)})})};ns.Item=fl;const hl=ns,zt={root:"_root_apclb_1",input:"_input_apclb_10",area:"_area_apclb_22",thumb:"_thumb_apclb_26","root--size-small":"_root--size-small_apclb_82","root--size-large":"_root--size-large_apclb_102","root--reversed":"_root--reversed_apclb_122"},bl=e=>{var x;const{children:t,name:n,checked:o,size:r,reversed:s,defaultChecked:a,onChange:l,onFocus:u,onBlur:_,className:d,attributes:f}=e,m=A(zt.root,r&&zt[`root--size-${r}`],s&&zt["root--reversed"],d),g=Ze(),v=Oe((g==null?void 0:g.attributes.id)||e.id||((x=e.inputAttributes)==null?void 0:x.id)),b=p(p({},e.inputAttributes),g==null?void 0:g.attributes),y=(g==null?void 0:g.disabled)||e.disabled,w=j=>{l&&l({name:n,event:j,checked:j.target.checked})};return i.jsxs("label",z(p({},f),{className:m,children:[i.jsx("input",z(p({type:"checkbox"},b),{className:zt.input,name:n,checked:o,defaultChecked:a,disabled:y,onChange:w,onFocus:u||(b==null?void 0:b.onFocus),onBlur:_||(b==null?void 0:b.onBlur),id:v})),i.jsx("span",{className:zt.area,"aria-hidden":"true",children:i.jsx("span",{className:zt.thumb})}),t&&i.jsx(se,{variant:r==="small"?"caption-1":"body-3",weight:"medium",children:t})]}))},Ke={root:"_root_1e0kn_1",table:"_table_1e0kn_14",row:"_row_1e0kn_20",cell:"_cell_1e0kn_24","cell--align-start":"_cell--align-start_1e0kn_1","cell--align-center":"_cell--align-center_1e0kn_1","cell--align-end":"_cell--align-end_1e0kn_1","cell--valign-start":"_cell--valign-start_1e0kn_1","cell--valign-center":"_cell--valign-center_1e0kn_1","cell--valign-end":"_cell--valign-end_1e0kn_1","cell--width-auto":"_cell--width-auto_1e0kn_54","--row-highlighted":"_--row-highlighted_1e0kn_58","--border-outer":"_--border-outer_1e0kn_62","--border-column":"_--border-column_1e0kn_67"},os=e=>{const{minWidth:t,rowSpan:n,colSpan:o,align:r,verticalAlign:s,tagName:a,padding:l,paddingInline:u,paddingBlock:_,children:d,attributes:f}=e,m=e.width==="auto"?"0px":e.width,g=An(m),v=Io(t||m),b=A(Ke.cell,g==null?void 0:g.classNames,v==null?void 0:v.classNames,(m===0||m==="0px")&&Ke["cell--width-auto"],r&&Ke[`cell--align-${r}`],s&&Ke[`cell--valign-${s}`]),y=p(p(p(p({},g==null?void 0:g.variables),v==null?void 0:v.variables),ce("--rs-table-p-vertical",_!=null?_:l)),ce("--rs-table-p-horizontal",u!=null?u:l));return i.jsx(a,z(p({},f),{className:b,rowSpan:n,colSpan:o,style:y,children:d}))},gl=e=>i.jsx(os,z(p({},e),{tagName:"td"})),vl=e=>i.jsx(os,z(p({},e),{tagName:"th"})),pl=e=>{const{highlighted:t,children:n,attributes:o}=e,r=A(Ke.row,t&&Ke["--row-highlighted"]);return i.jsx("tr",z(p({},o),{className:r,children:n}))},ho=e=>i.jsx("tbody",{children:e.children}),rs=e=>i.jsx("thead",{children:e.children}),Et=e=>{const{children:t,border:n,columnBorder:o,className:r,attributes:s}=e,a=A(Ke.root,r,n&&Ke["--border-outer"],o&&Ke["--border-column"]),[l]=c.Children.toArray(t);return i.jsx("div",z(p({},s),{className:a,children:i.jsx("table",{className:Ke.table,children:c.isValidElement(l)&&(l.type===ho||l.type===rs)?t:i.jsx(ho,{children:t})})}))};Et.Cell=gl,Et.Heading=vl,Et.Row=pl,Et.Body=ho,Et.Head=rs;const xl=Et,ss=c.createContext({}),wl=ss.Provider,bo=e=>{const o=c.useContext(ss),{id:t}=o,n=Me(o,["id"]);return z(p({},n),{panelId:e!==void 0?`${t}-tabs-panel-${e}`:void 0,buttonId:e!==void 0?`${t}-tabs-button-${e}`:void 0})},is=e=>{const{children:t,value:n,onChange:o,onSilentChange:r,itemWidth:s,variant:a,name:l,direction:u="row",size:_="medium"}=e,d=Oe(),f=c.useRef(null),m=c.useRef(f.current),g=c.useRef(null),[v,b]=c.useState({scaleX:0,scaleY:0,left:0,top:0,status:"idle"}),y=w=>{w!==void 0&&r&&r({value:w,name:l})};return i.jsx(wl,{value:{value:n,name:l,size:_,direction:u,itemWidth:s,variant:a,onChange:o,id:d,setDefaultValue:y,elActiveRef:f,elPrevActiveRef:m,elScrollableRef:g,selection:v,setSelection:b},children:t})},yl=e=>{const{defaultValue:t,onChange:n}=e,[o,r]=c.useState(t),s=({value:l})=>{r(l),n&&n({value:l})},a=({value:l})=>{r(l)};return i.jsx(is,z(p({},e),{onChange:s,onSilentChange:a,value:o,defaultValue:void 0}))},ue={root:"_root_5uht9_15",list:"_list_5uht9_26",inner:"_inner_5uht9_30",listItem:"_listItem_5uht9_49",button:"_button_5uht9_56",buttonContent:"_buttonContent_5uht9_72",icon:"_icon_5uht9_84",radio:"_radio_5uht9_89","--item-active":"_--item-active_5uht9_97",selector:"_selector_5uht9_102","--selector-hidden":"_--selector-hidden_5uht9_120","--selector-animated":"_--selector-animated_5uht9_124",next:"_next_5uht9_130",prev:"_prev_5uht9_131",panel:"_panel_5uht9_151","--panel-hidden":"_--panel-hidden_5uht9_159","--direction-row":"_--direction-row_5uht9_163","--direction-column":"_--direction-column_5uht9_231",item:"_item_5uht9_249","--variant-borderless":"_--variant-borderless_5uht9_284","--variant-pills":"_--variant-pills_5uht9_285","--variant-pills-elevated":"_--variant-pills-elevated_5uht9_286","--size-medium":"_--size-medium_5uht9_357","--size-large":"_--size-large_5uht9_362","--item-width-equal":"_--item-width-equal_5uht9_367","--fade-start":"_--fade-start_5uht9_386","--fade-end":"_--fade-end_5uht9_387"},Cl=(e,t)=>{const{value:n,children:o,icon:r,href:s,attributes:a}=e,{onChange:l,panelId:u,name:_,size:d,value:f,selection:m,elActiveRef:g,elPrevActiveRef:v,elScrollableRef:b}=bo(n),y=c.useRef(null),w=f===n,x=w&&m.status==="idle",j=A(ue.item,x&&ue["--item-active"]),C=!!_,N={role:"tab",tabIndex:w?0:-1,"aria-selected":w},I=c.useCallback(()=>{if(!("current"in y))throw new Error("Reshaped, Tabs: TabItem is expecting an object ref format but received a function ref");v.current=g.current,g.current=y.current},[g,v]),k=()=>{var L,V,G;if(s&&!l)return;const $=b.current,F=(L=y.current)==null?void 0:L.parentElement,S=(V=g.current)==null?void 0:V.parentElement;if(I(),l&&l({value:n,name:_}),!$||!F||!S||$.scrollWidth===$.clientWidth)return;const M=F.offsetLeft<S.offsetLeft,P=(F.offsetLeft-$.scrollLeft)/$.clientWidth;(M?P<.3:P>.5)&&((G=y.current)==null||G.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))};return c.useEffect(()=>{w&&I()},[w,I]),i.jsx("div",z(p({},a),{className:j,ref:y,role:"presentation",children:i.jsxs(Ae,{ref:t,href:s,insetFocus:!0,onClick:_?void 0:k,className:ue.button,as:_?"label":void 0,attributes:z(p({},!C&&N),{"aria-controls":u}),children:[_&&i.jsx(co,{type:"radio",name:_,value:n,checked:x,onChange:k,className:ue.radio}),i.jsxs("span",{className:ue.buttonContent,children:[r&&i.jsx(he,{svg:r,className:ue.icon,size:4}),o&&i.jsx(se,{variant:d==="large"?"body-2":"body-3",weight:"medium",children:o})]})]})}))},as=c.forwardRef(Cl),ls=(e,t)=>e===t||!e?null:e.classList.contains(ue.listItem)?e:ls(e.parentElement,t),jl=e=>{const{children:t,className:n,attributes:o}=e,{value:r,setDefaultValue:s,itemWidth:a,variant:l,name:u,direction:_,size:d,selection:f,setSelection:m,elActiveRef:g,elPrevActiveRef:v,elScrollableRef:b}=bo(),[y]=at(),[w,x]=c.useState(null),j=A(ue.root,d&&ue[`--size-${d}`],_&&ue[`--direction-${_}`],a&&ue[`--item-width-${a}`],l&&ue[`--variant-${l}`],(w==="start"||w==="both")&&ue["--fade-start"],(w==="end"||w==="both")&&ue["--fade-end"],n),C=A(ue.selector,f.status==="idle"&&ue["--selector-hidden"],f.status==="animated"&&ue["--selector-animated"]),N=()=>{b.current.scrollBy({left:Math.ceil(b.current.clientWidth/2)*(y?-1:1),behavior:"smooth"})},I=()=>{b.current.scrollBy({left:Math.ceil(b.current.clientWidth/2)*(y?1:-1),behavior:"smooth"})},k=()=>{m(S=>z(p({},S),{status:"idle"}))},$=c.useCallback(S=>{if(!b.current)return null;const M=ls(S,b.current);return M?{scaleX:M.clientWidth,scaleY:M.clientHeight,top:M.offsetTop,left:M.offsetLeft}:null},[b]),{ref:F}=Qe({"ArrowLeft, ArrowUp":S=>{u||(S.preventDefault(),li(b.current))},"ArrowRight, ArrowDown":S=>{u||(S.preventDefault(),ai(b.current))},Home:S=>{u||(S.preventDefault(),ci(b.current))},End:S=>{u||(S.preventDefault(),ui(b.current))}});return me(()=>{if(r)return;const S=c.Children.toArray(t)[0];!S||S.type!==as||s(S.props.value)},[r]),me(()=>{if(!v.current||v.current===g.current)return;const S=$(v.current);S&&m(z(p({},S),{status:"prepared"}))},[r,$]),me(()=>{if(f.status!=="prepared"||!g.current)return;const S=$(g.current);S&&m(z(p({},S),{status:"animated"}))},[f]),me(()=>{const S=b.current;if(!S||_==="column")return;const M=()=>{S.clientWidth<S.scrollWidth||x(null);const L=S.scrollLeft*(y?-1:1),V=L>1,G=L+S.clientWidth<S.scrollWidth-1;if(G&&V)return x("both");if(V)return x("start");if(G)return x("end")},P=js(M,16);return requestAnimationFrame(()=>{M()}),window.addEventListener("resize",P),S.addEventListener("scroll",P),()=>{window.removeEventListener("resize",P),S.removeEventListener("scroll",P)}},[y]),i.jsxs("div",z(p({},o),{className:j,children:[i.jsx("div",{className:ue.inner,ref:b,children:i.jsxs("div",{className:ue.list,role:"tablist",ref:F,children:[c.Children.map(t,(S,M)=>S?i.jsx("div",{className:ue.listItem,children:S},S.props.value||S.key||M):null),i.jsx("div",{onTransitionEnd:k,className:C,style:{"--rs-tab-selection-x":f.left,"--rs-tab-selection-y":f.top,"--rs-tab-selection-scale-x":f.scaleX,"--rs-tab-selection-scale-y":f.scaleY}})]})}),(w==="start"||w==="both")&&i.jsx("span",{className:ue.prev,children:i.jsx(ke,{onClick:I,size:"small",icon:gn,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})}),(w==="end"||w==="both")&&i.jsx("span",{className:ue.next,children:i.jsx(ke,{onClick:N,size:"small",icon:jt,rounded:!0,attributes:{"aria-hidden":!0,tabIndex:-1}})})]}))},kl=e=>{const{value:t,children:n}=e,{value:o,panelId:r,buttonId:s}=bo(t),a=t===o,l=A(ue.panel,!a&&ue["--panel-hidden"]);return i.jsx("div",{className:l,tabIndex:0,role:"tabpanel",id:r,"aria-labelledby":s,children:a&&n})},Cn=e=>{const{value:t}=e;return t!==void 0?i.jsx(is,p({},e)):i.jsx(yl,p({},e))};Cn.Item=as,Cn.List=jl,Cn.Panel=kl;const $l=Cn,bt={root:"_root_1lno8_1",input:"_input_1lno8_13","--size-medium":"_--size-medium_1lno8_1","--size-large":"_--size-large_1lno8_1","--size-xlarge":"_--size-xlarge_1lno8_1","--variant-faded":"_--variant-faded_1lno8_81","--variant-headless":"_--variant-headless_1lno8_92","--status-error":"_--status-error_1lno8_99","--resize-none":"_--resize-none_1lno8_118","--resize-auto":"_--resize-auto_1lno8_119","--size-medium--m":"_--size-medium--m_1lno8_1","--size-large--m":"_--size-large--m_1lno8_1","--size-xlarge--m":"_--size-xlarge--m_1lno8_1","--size-medium--l":"_--size-medium--l_1lno8_1","--size-large--l":"_--size-large--l_1lno8_1","--size-xlarge--l":"_--size-xlarge--l_1lno8_1","--size-medium--xl":"_--size-medium--xl_1lno8_1","--size-large--xl":"_--size-large--xl_1lno8_1","--size-xlarge--xl":"_--size-xlarge--xl_1lno8_1"},cs=e=>{var k,$;const{onChange:t,onFocus:n,onBlur:o,name:r,value:s,defaultValue:a,placeholder:l,size:u="medium",variant:_="outline",resize:d,className:f,attributes:m}=e,[g,v]=c.useState(s||a||""),b=Ze(),y=Oe(e.id),w=((k=b==null?void 0:b.attributes)==null?void 0:k.id)||(($=e.inputAttributes)==null?void 0:$.id)||y,x=(b==null?void 0:b.disabled)||e.disabled,j=(b==null?void 0:b.hasError)||e.hasError,C=p(p({},e.inputAttributes),b==null?void 0:b.attributes),N=A(bt.root,u&&J(bt,"--size",u),j&&bt["--status-error"],x&&bt["--disabled"],_&&bt[`--variant-${_}`],d!==void 0&&bt[`--resize-${d}`],f),I=F=>{const S=F.target.value;t==null||t({name:r,value:S,event:F}),d==="auto"&&typeof s!="string"&&v(S)};return c.useEffect(()=>{typeof s!="string"||d!=="auto"||v(s)},[s,d]),i.jsx("div",z(p({},m),{"data-rs-aligner-target":!0,className:N,"data-rs-textarea-value":g,children:i.jsx("textarea",z(p({rows:3},C),{className:bt.input,disabled:x,name:r,placeholder:l,value:s,defaultValue:a,onChange:I,onFocus:n||(C==null?void 0:C.onFocus),onBlur:o||(C==null?void 0:C.onBlur),id:w}))}))};cs.Aligner=nn;const Nl=cs,go={item:"_item_gwbgg_1","item--full-width":"_item--full-width_gwbgg_1",marker:"_marker_gwbgg_36"},vo=e=>{const{children:t,markerSlot:n,className:o,attributes:r}=e,s=n!==null,a=A(go.item,!s&&go["item--full-width"],o);return i.jsxs(q,{as:"li",direction:"row",align:"stretch",gap:3,attributes:r,className:a,children:[s&&i.jsx("span",{className:go.marker,children:n}),i.jsx(q.Item,{grow:!0,children:t})]})},us=e=>{const{children:t,className:n,attributes:o}=e,r=A(n);return i.jsx("ul",z(p({},o),{className:r,children:c.Children.map(t,(s,a)=>(s==null?void 0:s.type)===vo?s:i.jsx(vo,{children:s},a))}))};us.Item=vo;const zl=us,El={root:"_root_1ca7d_1"},Tl=e=>{const{id:t,text:n,children:o,onOpen:r,onClose:s,position:a="bottom",active:l}=e;return n?i.jsxs(Ct,{id:t,active:l,position:a,onOpen:r,onClose:s,triggerType:"hover",children:[i.jsx(Ct.Trigger,{children:o}),i.jsx(Ct.Content,{children:i.jsx(wt,{colorMode:"inverted",children:i.jsx(se,{variant:"caption-1",className:El.root,children:n})})})]}):i.jsx(i.Fragment,{children:o({})})},Ml=e=>{const{w:t="auto",h:n=50,children:o}=e;return i.jsx("div",{style:{width:t,height:n,minWidth:n,padding:"var(--rs-unit-x2)",background:"rgba(var(--rs-color-rgb-background-neutral), 0.32)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--rs-radius-small)"},children:o})};T.Accordion=Gs,T.ActionBar=Ks,T.Actionable=Ae,T.Alert=Zs,T.Autocomplete=Ui,T.Avatar=Yi,T.Badge=Ki,T.Breadcrumbs=yr,T.Button=ke,T.Calendar=fa,T.Card=ha,T.Carousel=ba,T.Checkbox=wa,T.CheckboxGroup=xa,T.Container=Ca,T.Dismissible=ja,T.Divider=en,T.DropdownMenu=qt,T.FileUpload=$a,T.FormControl=ri,T.Hidden=vt,T.HiddenVisually=ao,T.Hotkey=Na,T.Icon=he,T.Image=za,T.Link=wr,T.Loader=pr,T.MenuItem=mr,T.Modal=Da,T.Overlay=Fr,T.Pagination=Pa,T.PinField=qa,T.Placeholder=Ml,T.Popover=mn,T.Progress=Ba,T.Radio=Ua,T.RadioGroup=Ra,T.Reshaped=nl,T.Scrim=ol,T.ScrollArea=rl,T.Select=il,T.Skeleton=ll,T.Slider=dl,T.Stepper=hl,T.Switch=bl,T.Table=xl,T.Tabs=$l,T.Text=se,T.TextArea=Nl,T.TextField=Wo,T.Theme=wt,T.Timeline=zl,T.ToastProvider=Xr,T.Tooltip=Tl,T.View=q,T.classNames=A,T.responsiveClassNames=J,T.responsivePropDependency=Ee,T.useFormControl=Ze,T.useHotkeys=Qe,T.useIsomorphicLayoutEffect=me,T.useRTL=at,T.useResponsiveClientValue=Ar,T.useScrollLock=Pr,T.useTheme=cr,T.useToast=Kr,T.useToggle=vn,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.addTheme = exports.addThemeFragment = void 0;
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
8
|
+
const path_1 = __importDefault(require("path"));
|
9
|
+
const chalk_1 = __importDefault(require("chalk"));
|
10
|
+
const mergeDefinitions_1 = __importDefault(require("../../themes/_generator/utilities/mergeDefinitions"));
|
11
|
+
const transform_1 = __importDefault(require("../../themes/_generator/transform"));
|
12
|
+
const reshaped_1 = __importDefault(require("../../themes/_generator/definitions/reshaped"));
|
13
|
+
const transformDefinition = (name, definition, options) => {
|
14
|
+
const { isFragment, outputPath } = options;
|
15
|
+
const code = (0, transform_1.default)(name, definition, options);
|
16
|
+
const themeFolderPath = isFragment
|
17
|
+
? path_1.default.resolve(outputPath, "fragments", name)
|
18
|
+
: path_1.default.resolve(outputPath, name);
|
19
|
+
const themePath = path_1.default.resolve(themeFolderPath, "theme.css");
|
20
|
+
const themeMediaPath = path_1.default.resolve(themeFolderPath, "media.css");
|
21
|
+
const themeJsonPath = path_1.default.resolve(themeFolderPath, "theme.json");
|
22
|
+
fs_1.default.mkdirSync(themeFolderPath, { recursive: true });
|
23
|
+
fs_1.default.writeFileSync(themePath, code.variables);
|
24
|
+
fs_1.default.writeFileSync(themeJsonPath, JSON.stringify(definition));
|
25
|
+
if (code.media)
|
26
|
+
fs_1.default.writeFileSync(themeMediaPath, code.media);
|
27
|
+
const logOutput = `Compiled ${chalk_1.default.bold(name)} theme${isFragment ? " fragment" : ""}`;
|
28
|
+
// eslint-disable-next-line no-console
|
29
|
+
console.log(chalk_1.default.green(logOutput));
|
30
|
+
};
|
31
|
+
const addThemeFragment = (name, definition, options) => {
|
32
|
+
transformDefinition(name, definition, { ...options, isFragment: true });
|
33
|
+
};
|
34
|
+
exports.addThemeFragment = addThemeFragment;
|
35
|
+
const addTheme = (name, definition, options) => {
|
36
|
+
transformDefinition(name, (0, mergeDefinitions_1.default)(reshaped_1.default, definition), options);
|
37
|
+
};
|
38
|
+
exports.addTheme = addTheme;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const reshaped_1 = __importDefault(require("../../themes/_generator/definitions/reshaped"));
|
7
|
+
const figma_1 = __importDefault(require("../../themes/_generator/definitions/figma"));
|
8
|
+
const slate_1 = __importDefault(require("../../themes/_generator/definitions/slate"));
|
9
|
+
const config = {
|
10
|
+
themes: {
|
11
|
+
reshaped: reshaped_1.default,
|
12
|
+
figma: figma_1.default,
|
13
|
+
slate: slate_1.default,
|
14
|
+
},
|
15
|
+
themeFragments: {
|
16
|
+
twitter: {
|
17
|
+
color: {
|
18
|
+
backgroundPrimary: { hex: "#1da1f2" },
|
19
|
+
backgroundPrimaryHighlighted: { hex: "#1a90da" },
|
20
|
+
onBackgroundPrimary: { hex: "#ffffff" },
|
21
|
+
},
|
22
|
+
},
|
23
|
+
},
|
24
|
+
themeOptions: {},
|
25
|
+
};
|
26
|
+
exports.default = config;
|