@medway-ui/core 1.24.0 → 1.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/js/tokens.d.mts +695 -0
- package/dist/assets/js/tokens.d.mts.map +1 -0
- package/dist/assets/js/tokens.d.ts +695 -0
- package/dist/assets/js/tokens.d.ts.map +1 -0
- package/dist/assets/js/tokens.js +3 -0
- package/dist/assets/js/tokens.js.map +1 -0
- package/dist/assets/js/tokens.mjs +3 -0
- package/dist/assets/js/tokens.mjs.map +1 -0
- package/dist/assets/js/tokens.ts +1 -1
- package/dist/components/Alert.d.mts +28 -0
- package/dist/components/Alert.d.mts.map +1 -0
- package/dist/components/Alert.d.ts +28 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Alert.js +4 -0
- package/dist/components/Alert.js.map +1 -0
- package/dist/components/Alert.mjs +4 -0
- package/dist/components/Alert.mjs.map +1 -0
- package/dist/components/AlertDialog.d.mts +38 -0
- package/dist/components/AlertDialog.d.mts.map +1 -0
- package/dist/components/AlertDialog.d.ts +38 -0
- package/dist/components/AlertDialog.d.ts.map +1 -0
- package/dist/components/AlertDialog.js +4 -0
- package/dist/components/AlertDialog.js.map +1 -0
- package/dist/components/AlertDialog.mjs +4 -0
- package/dist/components/AlertDialog.mjs.map +1 -0
- package/dist/components/Autocomplete.d.mts +57 -0
- package/dist/components/Autocomplete.d.mts.map +1 -0
- package/dist/components/Autocomplete.d.ts +57 -0
- package/dist/components/Autocomplete.d.ts.map +1 -0
- package/dist/components/Autocomplete.js +4 -0
- package/dist/components/Autocomplete.js.map +1 -0
- package/dist/components/Autocomplete.mjs +4 -0
- package/dist/components/Autocomplete.mjs.map +1 -0
- package/dist/components/Avatar.d.mts +18 -0
- package/dist/components/Avatar.d.mts.map +1 -0
- package/dist/components/Avatar.d.ts +18 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar.js +4 -0
- package/dist/components/Avatar.js.map +1 -0
- package/dist/components/Avatar.mjs +4 -0
- package/dist/components/Avatar.mjs.map +1 -0
- package/dist/components/Badge.d.mts +16 -0
- package/dist/components/Badge.d.mts.map +1 -0
- package/dist/components/Badge.d.ts +16 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Badge.js +4 -0
- package/dist/components/Badge.js.map +1 -0
- package/dist/components/Badge.mjs +4 -0
- package/dist/components/Badge.mjs.map +1 -0
- package/dist/components/Breadcrumb.d.mts +17 -0
- package/dist/components/Breadcrumb.d.mts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +17 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb.js +3 -0
- package/dist/components/Breadcrumb.js.map +1 -0
- package/dist/components/Breadcrumb.mjs +3 -0
- package/dist/components/Breadcrumb.mjs.map +1 -0
- package/dist/components/Button.d.mts +19 -0
- package/dist/components/Button.d.mts.map +1 -0
- package/dist/components/Button.d.ts +19 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +4 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Button.mjs +4 -0
- package/dist/components/Button.mjs.map +1 -0
- package/dist/components/CardContinue.d.mts +20 -0
- package/dist/components/CardContinue.d.mts.map +1 -0
- package/dist/components/CardContinue.d.ts +20 -0
- package/dist/components/CardContinue.d.ts.map +1 -0
- package/dist/components/CardContinue.js +4 -0
- package/dist/components/CardContinue.js.map +1 -0
- package/dist/components/CardContinue.mjs +4 -0
- package/dist/components/CardContinue.mjs.map +1 -0
- package/dist/components/CardLesson.d.mts +45 -0
- package/dist/components/CardLesson.d.mts.map +1 -0
- package/dist/components/CardLesson.d.ts +45 -0
- package/dist/components/CardLesson.d.ts.map +1 -0
- package/dist/components/CardLesson.js +4 -0
- package/dist/components/CardLesson.js.map +1 -0
- package/dist/components/CardLesson.mjs +4 -0
- package/dist/components/CardLesson.mjs.map +1 -0
- package/dist/components/CardModule.d.mts +33 -0
- package/dist/components/CardModule.d.mts.map +1 -0
- package/dist/components/CardModule.d.ts +33 -0
- package/dist/components/CardModule.d.ts.map +1 -0
- package/dist/components/CardModule.js +4 -0
- package/dist/components/CardModule.js.map +1 -0
- package/dist/components/CardModule.mjs +4 -0
- package/dist/components/CardModule.mjs.map +1 -0
- package/dist/components/CardNews.d.mts +42 -0
- package/dist/components/CardNews.d.mts.map +1 -0
- package/dist/components/CardNews.d.ts +42 -0
- package/dist/components/CardNews.d.ts.map +1 -0
- package/dist/components/CardNews.js +4 -0
- package/dist/components/CardNews.js.map +1 -0
- package/dist/components/CardNews.mjs +4 -0
- package/dist/components/CardNews.mjs.map +1 -0
- package/dist/components/CardTopic.d.mts +27 -0
- package/dist/components/CardTopic.d.mts.map +1 -0
- package/dist/components/CardTopic.d.ts +27 -0
- package/dist/components/CardTopic.d.ts.map +1 -0
- package/dist/components/CardTopic.js +4 -0
- package/dist/components/CardTopic.js.map +1 -0
- package/dist/components/CardTopic.mjs +4 -0
- package/dist/components/CardTopic.mjs.map +1 -0
- package/dist/components/CardWeek.d.mts +32 -0
- package/dist/components/CardWeek.d.mts.map +1 -0
- package/dist/components/CardWeek.d.ts +32 -0
- package/dist/components/CardWeek.d.ts.map +1 -0
- package/dist/components/CardWeek.js +4 -0
- package/dist/components/CardWeek.js.map +1 -0
- package/dist/components/CardWeek.mjs +4 -0
- package/dist/components/CardWeek.mjs.map +1 -0
- package/dist/components/Checkbox.d.mts +14 -0
- package/dist/components/Checkbox.d.mts.map +1 -0
- package/dist/components/Checkbox.d.ts +14 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox.js +4 -0
- package/dist/components/Checkbox.js.map +1 -0
- package/dist/components/Checkbox.mjs +4 -0
- package/dist/components/Checkbox.mjs.map +1 -0
- package/dist/components/Collapsible.d.mts +15 -0
- package/dist/components/Collapsible.d.mts.map +1 -0
- package/dist/components/Collapsible.d.ts +15 -0
- package/dist/components/Collapsible.d.ts.map +1 -0
- package/dist/components/Collapsible.js +4 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/Collapsible.mjs +4 -0
- package/dist/components/Collapsible.mjs.map +1 -0
- package/dist/components/Command.d.mts +17 -0
- package/dist/components/Command.d.mts.map +1 -0
- package/dist/components/Command.d.ts +17 -0
- package/dist/components/Command.d.ts.map +1 -0
- package/dist/components/Command.js +4 -0
- package/dist/components/Command.js.map +1 -0
- package/dist/components/Command.mjs +4 -0
- package/dist/components/Command.mjs.map +1 -0
- package/dist/components/DatePicker.d.mts +57 -0
- package/dist/components/DatePicker.d.mts.map +1 -0
- package/dist/components/DatePicker.d.ts +57 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker.js +4 -0
- package/dist/components/DatePicker.js.map +1 -0
- package/dist/components/DatePicker.mjs +4 -0
- package/dist/components/DatePicker.mjs.map +1 -0
- package/dist/components/Dialog.d.mts +34 -0
- package/dist/components/Dialog.d.mts.map +1 -0
- package/dist/components/Dialog.d.ts +34 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog.js +4 -0
- package/dist/components/Dialog.js.map +1 -0
- package/dist/components/Dialog.mjs +4 -0
- package/dist/components/Dialog.mjs.map +1 -0
- package/dist/components/DropdownMenu.d.mts +28 -0
- package/dist/components/DropdownMenu.d.mts.map +1 -0
- package/dist/components/DropdownMenu.d.ts +28 -0
- package/dist/components/DropdownMenu.d.ts.map +1 -0
- package/dist/components/DropdownMenu.js +4 -0
- package/dist/components/DropdownMenu.js.map +1 -0
- package/dist/components/DropdownMenu.mjs +4 -0
- package/dist/components/DropdownMenu.mjs.map +1 -0
- package/dist/components/FallbackImage.d.mts +8 -0
- package/dist/components/FallbackImage.d.mts.map +1 -0
- package/dist/components/FallbackImage.d.ts +8 -0
- package/dist/components/FallbackImage.d.ts.map +1 -0
- package/dist/components/FallbackImage.js +4 -0
- package/dist/components/FallbackImage.js.map +1 -0
- package/dist/components/FallbackImage.mjs +4 -0
- package/dist/components/FallbackImage.mjs.map +1 -0
- package/dist/components/IndexLevel.d.mts +47 -0
- package/dist/components/IndexLevel.d.mts.map +1 -0
- package/dist/components/IndexLevel.d.ts +47 -0
- package/dist/components/IndexLevel.d.ts.map +1 -0
- package/dist/components/IndexLevel.js +4 -0
- package/dist/components/IndexLevel.js.map +1 -0
- package/dist/components/IndexLevel.mjs +4 -0
- package/dist/components/IndexLevel.mjs.map +1 -0
- package/dist/components/IndexLevelAnimated.d.mts +34 -0
- package/dist/components/IndexLevelAnimated.d.mts.map +1 -0
- package/dist/components/IndexLevelAnimated.d.ts +34 -0
- package/dist/components/IndexLevelAnimated.d.ts.map +1 -0
- package/dist/components/IndexLevelAnimated.js +4 -0
- package/dist/components/IndexLevelAnimated.js.map +1 -0
- package/dist/components/IndexLevelAnimated.mjs +4 -0
- package/dist/components/IndexLevelAnimated.mjs.map +1 -0
- package/dist/components/Input.d.mts +39 -0
- package/dist/components/Input.d.mts.map +1 -0
- package/dist/components/Input.d.ts +39 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/Input.js +4 -0
- package/dist/components/Input.js.map +1 -0
- package/dist/components/Input.mjs +4 -0
- package/dist/components/Input.mjs.map +1 -0
- package/dist/components/Label.d.mts +14 -0
- package/dist/components/Label.d.mts.map +1 -0
- package/dist/components/Label.d.ts +14 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/Label.js +4 -0
- package/dist/components/Label.js.map +1 -0
- package/dist/components/Label.mjs +4 -0
- package/dist/components/Label.mjs.map +1 -0
- package/dist/components/Loading.d.mts +8 -0
- package/dist/components/Loading.d.mts.map +1 -0
- package/dist/components/Loading.d.ts +8 -0
- package/dist/components/Loading.d.ts.map +1 -0
- package/dist/components/Loading.js +4 -0
- package/dist/components/Loading.js.map +1 -0
- package/dist/components/Loading.mjs +4 -0
- package/dist/components/Loading.mjs.map +1 -0
- package/dist/components/Logo.d.mts +11 -0
- package/dist/components/Logo.d.mts.map +1 -0
- package/dist/components/Logo.d.ts +11 -0
- package/dist/components/Logo.d.ts.map +1 -0
- package/dist/components/Logo.js +4 -0
- package/dist/components/Logo.js.map +1 -0
- package/dist/components/Logo.mjs +4 -0
- package/dist/components/Logo.mjs.map +1 -0
- package/dist/components/NoteEditor.d.mts +119 -0
- package/dist/components/NoteEditor.d.mts.map +1 -0
- package/dist/components/NoteEditor.d.ts +119 -0
- package/dist/components/NoteEditor.d.ts.map +1 -0
- package/dist/components/NoteEditor.js +4 -0
- package/dist/components/NoteEditor.js.map +1 -0
- package/dist/components/NoteEditor.mjs +4 -0
- package/dist/components/NoteEditor.mjs.map +1 -0
- package/dist/components/Pagination.d.mts +43 -0
- package/dist/components/Pagination.d.mts.map +1 -0
- package/dist/components/Pagination.d.ts +43 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination.js +4 -0
- package/dist/components/Pagination.js.map +1 -0
- package/dist/components/Pagination.mjs +4 -0
- package/dist/components/Pagination.mjs.map +1 -0
- package/dist/components/Popover.d.mts +10 -0
- package/dist/components/Popover.d.mts.map +1 -0
- package/dist/components/Popover.d.ts +10 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/components/Popover.js +4 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/Popover.mjs +4 -0
- package/dist/components/Popover.mjs.map +1 -0
- package/dist/components/Progress.d.mts +9 -0
- package/dist/components/Progress.d.mts.map +1 -0
- package/dist/components/Progress.d.ts +9 -0
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/components/Progress.js +4 -0
- package/dist/components/Progress.js.map +1 -0
- package/dist/components/Progress.mjs +4 -0
- package/dist/components/Progress.mjs.map +1 -0
- package/dist/components/ProgressCircle.d.mts +14 -0
- package/dist/components/ProgressCircle.d.mts.map +1 -0
- package/dist/components/ProgressCircle.d.ts +14 -0
- package/dist/components/ProgressCircle.d.ts.map +1 -0
- package/dist/components/ProgressCircle.js +4 -0
- package/dist/components/ProgressCircle.js.map +1 -0
- package/dist/components/ProgressCircle.mjs +4 -0
- package/dist/components/ProgressCircle.mjs.map +1 -0
- package/dist/components/RadioGroup.d.mts +14 -0
- package/dist/components/RadioGroup.d.mts.map +1 -0
- package/dist/components/RadioGroup.d.ts +14 -0
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/components/RadioGroup.js +4 -0
- package/dist/components/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup.mjs +4 -0
- package/dist/components/RadioGroup.mjs.map +1 -0
- package/dist/components/Ranking.d.mts +95 -0
- package/dist/components/Ranking.d.mts.map +1 -0
- package/dist/components/Ranking.d.ts +95 -0
- package/dist/components/Ranking.d.ts.map +1 -0
- package/dist/components/Ranking.js +4 -0
- package/dist/components/Ranking.js.map +1 -0
- package/dist/components/Ranking.mjs +4 -0
- package/dist/components/Ranking.mjs.map +1 -0
- package/dist/components/Rating.d.mts +27 -0
- package/dist/components/Rating.d.mts.map +1 -0
- package/dist/components/Rating.d.ts +27 -0
- package/dist/components/Rating.d.ts.map +1 -0
- package/dist/components/Rating.js +4 -0
- package/dist/components/Rating.js.map +1 -0
- package/dist/components/Rating.mjs +4 -0
- package/dist/components/Rating.mjs.map +1 -0
- package/dist/components/ScrollArea.d.mts +6 -0
- package/dist/components/ScrollArea.d.mts.map +1 -0
- package/dist/components/ScrollArea.d.ts +6 -0
- package/dist/components/ScrollArea.d.ts.map +1 -0
- package/dist/components/ScrollArea.js +4 -0
- package/dist/components/ScrollArea.js.map +1 -0
- package/dist/components/ScrollArea.mjs +4 -0
- package/dist/components/ScrollArea.mjs.map +1 -0
- package/dist/components/SegmentControl.d.mts +27 -0
- package/dist/components/SegmentControl.d.mts.map +1 -0
- package/dist/components/SegmentControl.d.ts +27 -0
- package/dist/components/SegmentControl.d.ts.map +1 -0
- package/dist/components/SegmentControl.js +4 -0
- package/dist/components/SegmentControl.js.map +1 -0
- package/dist/components/SegmentControl.mjs +4 -0
- package/dist/components/SegmentControl.mjs.map +1 -0
- package/dist/components/Select.d.mts +32 -0
- package/dist/components/Select.d.mts.map +1 -0
- package/dist/components/Select.d.ts +32 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Select.js +4 -0
- package/dist/components/Select.js.map +1 -0
- package/dist/components/Select.mjs +4 -0
- package/dist/components/Select.mjs.map +1 -0
- package/dist/components/Separator.d.mts +5 -0
- package/dist/components/Separator.d.mts.map +1 -0
- package/dist/components/Separator.d.ts +5 -0
- package/dist/components/Separator.d.ts.map +1 -0
- package/dist/components/Separator.js +4 -0
- package/dist/components/Separator.js.map +1 -0
- package/dist/components/Separator.mjs +4 -0
- package/dist/components/Separator.mjs.map +1 -0
- package/dist/components/Sheet.d.mts +16 -0
- package/dist/components/Sheet.d.mts.map +1 -0
- package/dist/components/Sheet.d.ts +16 -0
- package/dist/components/Sheet.d.ts.map +1 -0
- package/dist/components/Sheet.js +4 -0
- package/dist/components/Sheet.js.map +1 -0
- package/dist/components/Sheet.mjs +4 -0
- package/dist/components/Sheet.mjs.map +1 -0
- package/dist/components/Sidebar.d.mts +87 -0
- package/dist/components/Sidebar.d.mts.map +1 -0
- package/dist/components/Sidebar.d.ts +87 -0
- package/dist/components/Sidebar.d.ts.map +1 -0
- package/dist/components/Sidebar.js +4 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/Sidebar.mjs +4 -0
- package/dist/components/Sidebar.mjs.map +1 -0
- package/dist/components/Skeleton.d.mts +4 -0
- package/dist/components/Skeleton.d.mts.map +1 -0
- package/dist/components/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton.js +4 -0
- package/dist/components/Skeleton.js.map +1 -0
- package/dist/components/Skeleton.mjs +4 -0
- package/dist/components/Skeleton.mjs.map +1 -0
- package/dist/components/Switch.d.mts +15 -0
- package/dist/components/Switch.d.mts.map +1 -0
- package/dist/components/Switch.d.ts +15 -0
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/components/Switch.js +4 -0
- package/dist/components/Switch.js.map +1 -0
- package/dist/components/Switch.mjs +4 -0
- package/dist/components/Switch.mjs.map +1 -0
- package/dist/components/Switcher.d.mts +55 -0
- package/dist/components/Switcher.d.mts.map +1 -0
- package/dist/components/Switcher.d.ts +55 -0
- package/dist/components/Switcher.d.ts.map +1 -0
- package/dist/components/Switcher.js +4 -0
- package/dist/components/Switcher.js.map +1 -0
- package/dist/components/Switcher.mjs +4 -0
- package/dist/components/Switcher.mjs.map +1 -0
- package/dist/components/Tabs.d.mts +39 -0
- package/dist/components/Tabs.d.mts.map +1 -0
- package/dist/components/Tabs.d.ts +39 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs.js +4 -0
- package/dist/components/Tabs.js.map +1 -0
- package/dist/components/Tabs.mjs +4 -0
- package/dist/components/Tabs.mjs.map +1 -0
- package/dist/components/Tag.d.mts +13 -0
- package/dist/components/Tag.d.mts.map +1 -0
- package/dist/components/Tag.d.ts +13 -0
- package/dist/components/Tag.d.ts.map +1 -0
- package/dist/components/Tag.js +4 -0
- package/dist/components/Tag.js.map +1 -0
- package/dist/components/Tag.mjs +4 -0
- package/dist/components/Tag.mjs.map +1 -0
- package/dist/components/Tile.d.mts +19 -0
- package/dist/components/Tile.d.mts.map +1 -0
- package/dist/components/Tile.d.ts +19 -0
- package/dist/components/Tile.d.ts.map +1 -0
- package/dist/components/Tile.js +4 -0
- package/dist/components/Tile.js.map +1 -0
- package/dist/components/Tile.mjs +4 -0
- package/dist/components/Tile.mjs.map +1 -0
- package/dist/components/Toast.d.mts +29 -0
- package/dist/components/Toast.d.mts.map +1 -0
- package/dist/components/Toast.d.ts +29 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Toast.js +4 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/Toast.mjs +4 -0
- package/dist/components/Toast.mjs.map +1 -0
- package/dist/components/Tooltip.d.mts +8 -0
- package/dist/components/Tooltip.d.mts.map +1 -0
- package/dist/components/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip.js +4 -0
- package/dist/components/Tooltip.js.map +1 -0
- package/dist/components/Tooltip.mjs +4 -0
- package/dist/components/Tooltip.mjs.map +1 -0
- package/dist/hooks/use-id.d.mts +2 -0
- package/dist/hooks/use-id.d.mts.map +1 -0
- package/dist/hooks/use-id.d.ts +2 -0
- package/dist/hooks/use-id.d.ts.map +1 -0
- package/dist/hooks/use-id.js +3 -0
- package/dist/hooks/use-id.js.map +1 -0
- package/dist/hooks/use-id.mjs +3 -0
- package/dist/hooks/use-id.mjs.map +1 -0
- package/dist/hooks/use-mobile.d.mts +2 -0
- package/dist/hooks/use-mobile.d.mts.map +1 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +3 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-mobile.mjs +3 -0
- package/dist/hooks/use-mobile.mjs.map +1 -0
- package/dist/hooks/use-toast.d.mts +45 -0
- package/dist/hooks/use-toast.d.mts.map +1 -0
- package/dist/hooks/use-toast.d.ts +45 -0
- package/dist/hooks/use-toast.d.ts.map +1 -0
- package/dist/hooks/use-toast.js +4 -0
- package/dist/hooks/use-toast.js.map +1 -0
- package/dist/hooks/use-toast.mjs +4 -0
- package/dist/hooks/use-toast.mjs.map +1 -0
- package/dist/index.d.mts +88 -1153
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +88 -1153
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -16
- package/dist/index.mjs.map +1 -1
- package/dist/lib/cmdk.d.mts +124 -0
- package/dist/lib/cmdk.d.mts.map +1 -0
- package/dist/lib/cmdk.d.ts +124 -0
- package/dist/lib/cmdk.d.ts.map +1 -0
- package/dist/lib/cmdk.js +4 -0
- package/dist/lib/cmdk.js.map +1 -0
- package/dist/lib/cmdk.mjs +4 -0
- package/dist/lib/cmdk.mjs.map +1 -0
- package/dist/lib/command-score.d.mts +2 -0
- package/dist/lib/command-score.d.mts.map +1 -0
- package/dist/lib/command-score.d.ts +2 -0
- package/dist/lib/command-score.d.ts.map +1 -0
- package/dist/lib/command-score.js +3 -0
- package/dist/lib/command-score.js.map +1 -0
- package/dist/lib/command-score.mjs +3 -0
- package/dist/lib/command-score.mjs.map +1 -0
- package/dist/lib/utils.d.mts +3 -0
- package/dist/lib/utils.d.mts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +3 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/utils.mjs +3 -0
- package/dist/lib/utils.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.mjs +7 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +7 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +7 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.mjs +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.mjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +7 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +1 -0
- package/dist/note-editor.d.mts +10 -118
- package/dist/note-editor.d.mts.map +1 -0
- package/dist/note-editor.d.ts +10 -118
- package/dist/note-editor.d.ts.map +1 -0
- package/dist/note-editor.js +3 -3
- package/dist/note-editor.js.map +1 -1
- package/dist/note-editor.mjs +3 -3
- package/dist/note-editor.mjs.map +1 -1
- package/package.json +10 -5
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
import*as M from'react';import {createContext,forwardRef,createElement,Children,isValidElement,useMemo,useContext,useState,useCallback,useId,Fragment as Fragment$1,useEffect,useRef,cloneElement}from'react';import {cva}from'class-variance-authority';import {Mail,IndexBarLow,IndexBarMedium,IndexBarHigh,IndexBarPriority,CloseMd,ChevronDown,Check,User,ChevronRightMd,MoreHorizontal,TimeRemaining,Lock,ArrowRightMd,ChevronRight,ArrowRightSm,Calendar,RemoveMinus,ChevronLeftMd,Hide,Show,TriangleWarning,ChevronLeftDuo,ChevronRightDuo,Circle,Info,CheckboxFill,Warning,ChevronUp,HamburgerMd,EditPencil,OctagonWarning,CircleCheck,SearchMagnifyingGlass}from'@medway-ui/icons';import {clsx}from'clsx';import {extendTailwindMerge}from'tailwind-merge';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {Toast,Slot,AlertDialog,Separator,Dialog,Avatar,Progress,Collapsible,Checkbox,DropdownMenu,Label,RadioGroup,Tooltip,ScrollArea,Select,Tabs,Switch,Popover}from'radix-ui';import {createPortal}from'react-dom';var Tl=Object.defineProperty,Al=Object.defineProperties;var Dl=Object.getOwnPropertyDescriptors;var Ya=Object.getOwnPropertySymbols;var _o=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable;var zo=(e,a,o)=>a in e?Tl(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,l=(e,a)=>{for(var o in a||(a={}))_o.call(a,o)&&zo(e,o,a[o]);if(Ya)for(var o of Ya(a))Uo.call(a,o)&&zo(e,o,a[o]);return e},f=(e,a)=>Al(e,Dl(a));var d=(e,a)=>{var o={};for(var t in e)_o.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&Ya)for(var t of Ya(e))a.indexOf(t)<0&&Uo.call(e,t)&&(o[t]=e[t]);return o};var Nl=extendTailwindMerge({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-sm","text-base","text-md","text-lg","text-xl","text-title-xs","text-title-sm","text-title-md","text-title-lg","text-title-xl","text-title-xxl","text-display-sm","text-display-md","text-display-lg"],leading:["leading-xxs","leading-xs","leading-sm","leading-md","leading-lg","leading-title-xs","leading-title-sm","leading-title-md","leading-title-lg","leading-title-xl","leading-title-xxl","leading-display-sm","leading-display-md","leading-display-lg"],"font-weight":["font-regular","font-medium","font-semibold","font-bold","font-extrabold"],rounded:["rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-pill","rounded-circular","rounded-full"]}}});function s(...e){return Nl(clsx(e))}var _t=createContext(null),Ko=cva("relative flex flex-col items-center justify-between gap-5 w-full rounded-md px-4 py-3 text-sm has-[>svg]:gap-x-9 gap-y-1 items-center [&>svg]:translate-y-0 [&>svg]:text-current lg:flex-row",{variants:{variant:{regular:"[background:linear-gradient(0deg,_var(--color-primary-background-soft)_0%,_var(--color-primary-background-soft)_100%),_var(--color-surface-card)] text-primary-foreground [&>svg]:text-primary-foreground",emphasis:"[background:linear-gradient(0deg,_var(--color-secondary-background-soft)_0%,_var(--color-secondary-background-soft)_100%),_var(--color-surface-card)] text-secondary-foreground [&>svg]:text-secondary-foreground",success:"[background:linear-gradient(0deg,_var(--color-green-background-soft)_0%,_var(--color-green-background-soft)_100%),_var(--color-surface-card)] text-green-foreground [&>svg]:text-green-foreground",warning:"[background:linear-gradient(0deg,_var(--color-yellow-background-soft)_0%,_var(--color-yellow-background-soft)_100%),_var(--color-surface-card)] text-yellow-foreground [&>svg]:text-yellow-foreground",error:"[background:linear-gradient(0deg,_var(--color-red-background-soft)_0%,_var(--color-red-background-soft)_100%),_var(--color-surface-card)] text-red-foreground [&>svg]:text-red-foreground"}},defaultVariants:{variant:"regular"}});function Vl(n){var i=n,{className:e,variant:a="regular",onClose:o,children:t}=i,r=d(i,["className","variant","onClose","children"]);let u=Children.toArray(t),c=u.some(g=>isValidElement(g)&&g.type===jo),p=u.some(g=>isValidElement(g)&&g.type===Zo),m=useMemo(()=>({variant:a,hasDescription:c,hasTitle:p,onClose:o}),[a,c,p,o]);return jsx(_t.Provider,{value:m,children:jsxs("div",f(l({"data-slot":"alert",role:"alert",className:s(Ko({variant:a}),e)},r),{children:[t,o&&jsx(CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function Ol(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-container",className:s("flex gap-3",e)},a))}function ql(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-content",className:s("flex flex-col gap-1",e)},a))}function zl(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",f(l({"data-slot":"alert-icon",className:s("size-6",e)},o),{children:a}))}function Zo(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-title",className:s("line-clamp-1 min-h-4 text-md font-medium",e)},a))}function jo(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-description",className:s("!line-clamp-3 grid justify-items-start gap-1 text-sm leading-5",e)},a))}function _l(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=useContext(_t),n=(r==null?void 0:r.hasDescription)||false,i=(r==null?void 0:r.hasTitle)||false,u=r==null?void 0:r.onClose;return jsx("div",l({"data-slot":"alert-actions",className:s("relative mt-2 flex flex-wrap items-center gap-x-2 lg:mt-0 lg:flex-nowrap",(!n||!i)&&u&&"lg:right-5",e)},a))}var Qo=cva("inline-flex items-center justify-center rounded-pill px-3 py-2 min-h-10 text-sm font-semibold transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:brightness-90",{variants:{variant:{regular:"text-current",basic:"text-current"},alertVariant:{regular:"",emphasis:"",success:"",warning:"",error:""}},compoundVariants:[{variant:"regular",alertVariant:"regular",class:"bg-primary-background-soft"},{variant:"regular",alertVariant:"emphasis",class:"bg-secondary-background-soft"},{variant:"regular",alertVariant:"success",class:"bg-green-background-soft"},{variant:"regular",alertVariant:"warning",class:"bg-yellow-background-soft"},{variant:"regular",alertVariant:"error",class:"bg-red-background-soft"}],defaultVariants:{variant:"regular",alertVariant:"regular"}});function Ul(t){var r=t,{className:e,variant:a}=r,o=d(r,["className","variant"]);let n=useContext(_t),i=(n==null?void 0:n.variant)||"regular";return jsx("button",l({className:s(Qo({variant:a,alertVariant:i}),e)},o))}function Ut({size:e=24,className:a}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:s("animate-spin",a),children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var Zl={sm:"size-4 p-0 leading-none",md:"size-5 p-0 leading-none",lg:"size-6 p-0 leading-none",xl:"size-7 p-0 leading-none"},jl={sm:"px-1",md:"px-1",lg:"px-1",xl:"px-1.5"},Yo=cva("inline-flex items-center justify-center rounded-pill border font-semibold w-fit whitespace-nowrap shrink-0 gap-1 [&>svg]:pointer-events-none overflow-hidden border-transparent px-2",{variants:{variant:{regular:"bg-secondary-background-fill text-secondary-foreground-onfill",error:"bg-red-background-soft text-red-stroke-emphasis",warning:"bg-yellow-background-soft text-yellow-foreground",freemium:"[background:radial-gradient(135.09%_111.8%_at_0%_50%,rgba(24,98,188,0.02)_0%,rgba(0,32,91,0)_100%),linear-gradient(46deg,rgba(62,218,199,0.56)_6.54%,rgba(24,98,188,0.17)_85.21%),var(--color-primary)] text-white",neutral:"bg-gray-background-soft text-primary-foreground"},size:{sm:"min-w-4 text-xxs [&>svg]:size-2.5",md:"min-w-5 text-xs [&>svg]:size-3",lg:"min-w-6 text-xs [&>svg]:size-3.5",xl:"min-w-7 text-sm [&>svg]:size-4"}},defaultVariants:{variant:"regular",size:"md"}});function Re(u){var c=u,{className:e,variant:a,size:o,icon:t,animation:r,asChild:n=false}=c,i=d(c,["className","variant","size","icon","animation","asChild"]);let p=n?Slot.Slot:"span",m=Children.count(i.children)>0,g=!!t&&!m,x=typeof i.children=="string"||typeof i.children=="number"?String(i.children).trim():"",v=/^[A-Za-z0-9]$/.test(x),C=/^[A-Za-z0-9]{2,3}$/.test(x),y=/^\d{1,2}\S$/.test(x),T=C||y;return jsxs(p,f(l({"data-slot":"badge",className:s(Yo({variant:a,size:o}),(g||v)&&Zl[o||"md"],!g&&T&&jl[o||"md"],r==="shine"&&"animate-shine bg-[linear-gradient(135deg,transparent_25%,var(--color-white-24)_50%,transparent_75%,transparent_100%)] bg-[length:250%_250%,100%_100%] bg-no-repeat",e)},i),{children:[t,i.children]}))}var Jl={sm:"!h-8 !min-h-8 !w-8 !px-3 !py-2",md:"!h-10 !min-h-10 !w-10 !px-[14px] !py-[10px]",lg:"!h-12 !min-h-12 !w-12 !p-3",xl:"!h-14 !min-h-14 !w-14 !p-3"},Jo={sm:"size-2",md:"size-2.5",lg:"size-2.5",xl:"size-3"},en={sm:"sm",md:"md",lg:"md",xl:"lg"},La=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill text-sm font-semibold whitespace-nowrap transition-all disabled:pointer-events-none min-w-0 max-w-full overflow-hidden [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","regular-basic":"bg-transparent text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill hover:bg-secondary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","emphasis-basic":"bg-transparent text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",error:"bg-red-background-fill text-red-foreground-onfill hover:bg-red-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","error-basic":"bg-transparent text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",warning:"bg-yellow-background-fill text-yellow-foreground-onfill hover:bg-yellow-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","warning-basic":"bg-transparent text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",success:"bg-green-background-fill text-green-foreground-onfill hover:bg-green-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","success-basic":"bg-transparent text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",outlined:"border border-gray-stroke-muted bg-transparent text-primary-foreground hover:border-transparent hover:bg-gray-50 disabled:border-transparent dark:bg-transparent hover:dark:border-gray-400 disabled:border-gray-stroke-muted disabled:text-gray-foreground-muted",gradient:"text-white [background:linear-gradient(284deg,var(--color-primary)_2.11%,var(--color-secondary)_128.06%)] hover:[background:linear-gradient(284deg,var(--color-primary)2.11%,var(--color-secondary)102.63%)] disabled:[background:var(--color-gray-50)] disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill",medbrain:"border-2 border-transparent bg-clip-text [background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-secondary),var(--color-cm-lighten-3))_border-box] [box-shadow:-8px_0_8px_0_var(--color-prev-16)_inset,8px_0_8px_0_var(--color-secondary-24)_inset,0_0_8px_0_var(--color-cm-16)_inset] hover:[background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-cm-lighten-3),var(--color-secondary))_border-box] [&_span]:bg-clip-text [&_span]:text-transparent [&_span]:bg-gradient-to-r [&_span]:from-cm [&_span]:to-primary [&_span]:hover:to-secondary disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill [&_svg]:text-cm-darken-1"},size:{sm:"min-h-8 min-w-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-[13px] text-xs",md:"min-h-10 min-w-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-4 text-sm",lg:"min-h-12 min-w-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-md",xl:"min-h-14 min-w-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function J(g){var x=g,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:n,iconLeft:i,badge:u,loading:c=false,alert:p}=x,m=d(x,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let v=r?Slot.Slot:"button",C=P=>P!=null&&P!==0&&P!==""&&P!=="0",y=P=>P,T=!m.children&&(i||n||p),_=()=>p?jsxs("span",{className:s("relative mr-1 flex size-2.5",Jo[t||"md"]),children:[jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:p}}),jsx("span",{className:s("relative inline-flex size-2.5 rounded-full",Jo[t||"md"]),style:{backgroundColor:p}})]}):null,N=()=>c?jsxs(Fragment,{children:[jsx(Ut,{className:"[grid-area:stack]"}),jsx("span",{className:s("[grid-area:stack]",c&&"invisible"),children:m.children})]}):jsxs(Fragment,{children:[p?_():i&&y(i),m.children&&jsx("span",{className:"truncate",children:m.children}),n&&y(n)]});return jsxs("div",{className:s("relative min-w-0",a),children:[C(u)&&jsx(Re,{size:en[t||"md"],variant:"regular",className:s("absolute -right-2 -top-1 z-10"),role:"status","aria-label":`${u}-notifications`,children:String(u)}),jsx(v,f(l({disabled:c,"aria-busy":c,"aria-live":c?"polite":void 0,"data-slot":"button",className:s(T&&Jl[t||"md"],c&&"!inline-grid",La({variant:o,size:t,className:e}))},m),{children:N()}))]})}var ar=cva("inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-semibold w-fit whitespace-nowrap shrink-0 gap-1.5 transition-colors overflow-hidden max-h-6",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill fill-primary-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground fill-primary-foreground","regular-basic":"bg-transparent text-primary-foreground fill-primary-foreground",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill fill-secondary-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground fill-secondary-foreground","emphasis-basic":"bg-transparent text-secondary-foreground fill-secondary-foreground",gray:"bg-gray-background-fill text-gray-foreground-onfill fill-gray-foreground-onfill","gray-soft":"bg-gray-background-soft text-gray-foreground fill-gray-foreground","gray-basic":"bg-transparent text-gray-foreground fill-gray-foreground",success:"bg-green-background-fill text-green-foreground-onfill fill-green-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground fill-green-foreground","success-basic":"bg-transparent text-green-foreground fill-green-foreground",error:"bg-red-background-fill text-red-foreground-onfill fill-red-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground fill-red-foreground","error-basic":"bg-transparent text-red-foreground fill-red-foreground",warning:"bg-yellow-background-fill text-yellow-foreground-onfill fill-yellow-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground fill-yellow-foreground","warning-basic":"bg-transparent text-yellow-foreground fill-yellow-foreground",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill","cm-soft":"bg-cm-background-soft text-cm-foreground fill-cm-foreground","cm-basic":"bg-transparent text-cm-foreground fill-cm-foreground",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill","go-soft":"bg-go-background-soft text-go-foreground fill-go-foreground","go-basic":"bg-transparent text-go-foreground fill-go-foreground",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill","cir-soft":"bg-cir-background-soft text-cir-foreground fill-cir-foreground","cir-basic":"bg-transparent text-cir-foreground fill-cir-foreground",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill","ped-soft":"bg-ped-background-soft text-ped-foreground fill-ped-foreground","ped-basic":"bg-transparent text-ped-foreground fill-ped-foreground",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill","prev-soft":"bg-prev-background-soft text-prev-foreground fill-prev-foreground","prev-basic":"bg-transparent text-prev-foreground fill-prev-foreground",ia:"[background:linear-gradient(90deg,var(--color-secondary-darken-1)_0%,var(--color-cm)_100%)] text-primary-foreground-onfill fill-primary-foreground-onfill","ia-soft":"[background:linear-gradient(90deg,color-mix(in_srgb,var(--color-secondary-darken-1)_15%,transparent)_0%,color-mix(in_srgb,var(--color-cm)_15%,transparent)_100%)] text-secondary-foreground fill-secondary-foreground","ia-basic":"bg-transparent text-secondary-foreground [&_[data-slot=tag-text]]:bg-clip-text [&_[data-slot=tag-text]]:text-transparent [&_[data-slot=tag-text]]:[-webkit-background-clip:text] [&_[data-slot=tag-text]]:[background-image:linear-gradient(90deg,var(--color-secondary-darken-1)_0%,var(--color-cm)_100%)]"}},defaultVariants:{variant:"regular"}});function on(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",f(l({"data-slot":"tag-icon",className:s("[&>svg]:size-3.5",e)},o),{children:a}))}function de(i){var u=i,{className:e,variant:a,asChild:o=false,icon:t,children:r}=u,n=d(u,["className","variant","asChild","icon","children"]);let c=o?Slot.Slot:"span";return jsxs(c,f(l({"data-slot":"tag",className:s(ar({variant:a}),e)},n),{children:[t&&jsx(on,{icon:t}),jsx("span",{"data-slot":"tag-text",children:r})]}))}var ra="regular",et=createContext(null),dn=cva("flex w-full items-center justify-center px-8 py-8",{variants:{variant:{regular:"[background-image:radial-gradient(50%_100%_at_50%_0%,var(--color-primary-background-soft)_0%,transparent_100%)]",emphasis:"[background-image:radial-gradient(50%_100%_at_50%_0%,var(--color-secondary-background-soft)_0%,transparent_100%)]",warning:"[background-image:radial-gradient(50%_100%_at_50%_0%,var(--color-feedback-warning-background-soft)_0%,transparent_100%)]",error:"[background-image:radial-gradient(50%_100%_at_50%_0%,var(--color-feedback-error-background-soft)_0%,transparent_100%)]",success:"[background-image:radial-gradient(50%_100%_at_50%_0%,var(--color-feedback-success-background-soft)_0%,transparent_100%)]"}},defaultVariants:{variant:ra}}),un=cva("flex items-center justify-center rounded-full p-4 [&_svg]:size-8",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill",warning:"bg-yellow-background-fill text-yellow-foreground-onfill",error:"bg-red-background-fill text-red-foreground-onfill",success:"bg-green-background-fill text-green-foreground-onfill"}},defaultVariants:{variant:ra}}),fn={regular:"regular-soft",emphasis:"emphasis-soft",warning:"warning-soft",error:"error-soft",success:"success-soft"},cn={regular:"regular",emphasis:"emphasis",warning:"warning",error:"error",success:"success"};function pn(o){var t=o,{variant:e=ra}=t,a=d(t,["variant"]);let r=useMemo(()=>({variant:e}),[e]);return jsx(et.Provider,{value:r,children:jsx(AlertDialog.Root,l({"data-slot":"alert-dialog"},a))})}function mn(a){var e=d(a,[]);return jsx(AlertDialog.Trigger,l({"data-slot":"alert-dialog-trigger"},e))}function or(a){var e=d(a,[]);return jsx(AlertDialog.Portal,l({"data-slot":"alert-dialog-portal"},e))}function rr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Overlay,l({"data-slot":"alert-dialog-overlay",className:s("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function gn(n){var i=n,{className:e,overlayClassName:a,showCloseButton:o=false,children:t}=i,r=d(i,["className","overlayClassName","showCloseButton","children"]);return jsxs(or,{children:[jsx(rr,{className:a}),jsxs(AlertDialog.Content,f(l({"data-slot":"alert-dialog-content",className:s("fixed left-1/2 top-1/2 z-50 flex w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl border bg-surface-elevated shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-w-lg",e)},r),{children:[t,o&&jsxs(AlertDialog.Cancel,{"data-slot":"alert-dialog-close",className:"focus:outline-hidden absolute right-3 top-3 rounded-pill p-1.5 hover:bg-gray-background-soft disabled:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[jsx(CloseMd,{}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function xn(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-dialog-header",className:s("flex flex-col items-center gap-3 px-8 pt-8 text-center","[[data-slot=alert-dialog-content]:has([data-slot=alert-dialog-icon])_&]:pt-0",e)},a))}function hn(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);var u;let n=useContext(et),i=(u=n==null?void 0:n.variant)!=null?u:ra;return jsx("div",f(l({"data-slot":"alert-dialog-icon",className:s(dn({variant:i}),e)},o),{children:jsx("div",{className:un({variant:i}),children:a})}))}function bn({className:e,variant:a,children:o}){var n;let t=useContext(et),r=(n=a!=null?a:t==null?void 0:t.variant)!=null?n:ra;return jsx("div",{"data-slot":"alert-dialog-tag",className:"flex justify-center",children:jsx(de,{variant:fn[r],className:e,children:o})})}function Cn(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Title,l({"data-slot":"alert-dialog-title",className:s("text-title-sm font-semibold leading-title-sm text-content-title",e)},a))}function Ln(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Description,l({"data-slot":"alert-dialog-description",className:s("text-md leading-md text-content-paragraph",e)},a))}function vn(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"alert-dialog-footer",className:s("flex flex-row items-center justify-center gap-4 px-8 pb-8 pt-6",e)},a))}function In(r){var n=r,{className:e,variant:a,size:o="lg"}=n,t=d(n,["className","variant","size"]);var c;let i=useContext(et),u=a!=null?a:cn[(c=i==null?void 0:i.variant)!=null?c:ra];return jsx(AlertDialog.Action,l({className:s(La({variant:u,size:o}),e)},t))}function kn(r){var n=r,{className:e,variant:a="regular-soft",size:o="lg"}=n,t=d(n,["className","variant","size"]);return jsx(AlertDialog.Cancel,l({className:s(La({variant:a,size:o}),e)},t))}var yn=0;function Pn(){return `medway-id-${++yn}`}var Sn=M.useId||(()=>{});function ve(){let e=Sn(),[a]=M.useState(()=>e!=null?e:Pn());return a}var wn=/[\\\/_+.#"@\[\(\{&]/,Tn=/[\\\/_+.#"@\[\(\{&]/g,An=/[\s-]/,lr=/[\s-]/g;function Kt(e,a,o,t,r,n,i){if(n===a.length)return r===e.length?1:.99;let u=`${r},${n}`;if(i[u]!==void 0)return i[u];let c=t.charAt(n),p=o.indexOf(c,r),m=0,g,x,v,C;for(;p>=0;)g=Kt(e,a,o,t,p+1,n+1,i),g>m&&(p===r?g*=1:wn.test(e.charAt(p-1))?(g*=.8,v=e.slice(r,p-1).match(Tn),v&&r>0&&(g*=Math.pow(.999,v.length))):An.test(e.charAt(p-1))?(g*=.9,C=e.slice(r,p-1).match(lr),C&&r>0&&(g*=Math.pow(.999,C.length))):(g*=.17,r>0&&(g*=Math.pow(.999,p-r))),e.charAt(p)!==a.charAt(n)&&(g*=.9999)),(g<.1&&o.charAt(p-1)===t.charAt(n+1)||t.charAt(n+1)===t.charAt(n)&&o.charAt(p-1)!==t.charAt(n))&&(x=Kt(e,a,o,t,p+1,n+2,i),x*.1>g&&(g=x*.1)),g>m&&(m=g),p=o.indexOf(c,p+1);return i[u]=m,m}function sr(e){return e.toLowerCase().replace(lr," ")}function nr(e,a,o){return e=o&&o.length>0?`${e+" "+o.join(" ")}`:e,Kt(e,a,sr(e),sr(a),0,0,{})}var va='[cmdk-group=""]',Zt='[cmdk-group-items=""]',Dn='[cmdk-group-heading=""]',ir='[cmdk-item=""]',dr=`${ir}:not([aria-disabled="true"])`,jt="cmdk-item-select",sa="data-value",Rn=(e,a,o)=>nr(e,a,o),ur=M.createContext(void 0),ka=()=>M.useContext(ur),fr=M.createContext(void 0),Qt=()=>M.useContext(fr),cr=M.createContext(void 0),pr=M.forwardRef((e,a)=>{let o=la(()=>{var h,F;return {search:"",value:(F=(h=e.value)!=null?h:e.defaultValue)!=null?F:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),t=la(()=>new Set),r=la(()=>new Map),n=la(()=>new Map),i=la(()=>new Set),u=vr(e),oa=e,{label:c,children:p,value:m,onValueChange:g,filter:x,shouldFilter:v,loop:C,disablePointerSelection:y=false,vimBindings:T=true}=oa,_=d(oa,["label","children","value","onValueChange","filter","shouldFilter","loop","disablePointerSelection","vimBindings"]),N=ve(),P=ve(),K=ve(),z=M.useRef(null),b=Bn();qe(()=>{if(m!==void 0){let h=m.trim();o.current.value=h,L.emit();}},[m]),qe(()=>{b(6,we);},[]);let L=M.useMemo(()=>({subscribe:h=>(i.current.add(h),()=>i.current.delete(h)),snapshot:()=>o.current,setState:(h,F,w)=>{var D,q,$,Y,R,I;if(!Object.is(o.current[h],F)){if(o.current[h]=F,h==="search")ae(),B(),b(1,O);else if(h==="value"){if((D=document.activeElement)!=null&&D.hasAttribute("cmdk-input")||(q=document.activeElement)!=null&&q.hasAttribute("cmdk-root")){let V=document.getElementById(K);V?V.focus():($=document.getElementById(N))==null||$.focus();}if(b(7,()=>{var V;o.current.selectedItemId=(V=Le())==null?void 0:V.id,L.emit();}),w||b(5,we),((Y=u.current)==null?void 0:Y.value)!==void 0){let V=F!=null?F:"";(I=(R=u.current).onValueChange)==null||I.call(R,V);return}}L.emit();}},emit:()=>{i.current.forEach(h=>h());}}),[]),k=M.useMemo(()=>({value:(h,F,w)=>{var D;F!==((D=n.current.get(h))==null?void 0:D.value)&&(n.current.set(h,{value:F,keywords:w}),o.current.filtered.items.set(h,E(F,w)),b(2,()=>{B(),L.emit();}));},item:(h,F)=>(t.current.add(h),F&&(r.current.has(F)?r.current.get(F).add(h):r.current.set(F,new Set([h]))),b(3,()=>{ae(),B(),o.current.value||O(),L.emit();}),()=>{n.current.delete(h),t.current.delete(h),o.current.filtered.items.delete(h);let w=Le();b(4,()=>{ae(),(w==null?void 0:w.getAttribute("id"))===h&&O(),L.emit();});}),group:h=>(r.current.has(h)||r.current.set(h,new Set),()=>{n.current.delete(h),r.current.delete(h);}),filter:()=>u.current.shouldFilter!==false,label:c||e["aria-label"]||"",getDisablePointerSelection:()=>!!u.current.disablePointerSelection,listId:N,inputId:K,labelId:P,listInnerRef:z}),[]);function E(h,F){var D,q;let w=(q=(D=u.current)==null?void 0:D.filter)!=null?q:Rn;return h?w(h,o.current.search,F):0}function B(){if(!o.current.search||u.current.shouldFilter===false)return;let h=o.current.filtered.items,F=[];o.current.filtered.groups.forEach(D=>{let q=r.current.get(D),$=0;q==null||q.forEach(Y=>{let R=h.get(Y);$=Math.max(R!=null?R:0,$);}),F.push([D,$]);});let w=z.current;ge().sort((D,q)=>{var R,I;let $=D.getAttribute("id"),Y=q.getAttribute("id");return ((R=h.get(Y))!=null?R:0)-((I=h.get($))!=null?I:0)}).forEach(D=>{let q=D.closest(Zt);q?q.appendChild(D.parentElement===q?D:D.closest(`${Zt} > *`)):w==null||w.appendChild(D.parentElement===w?D:D.closest(`${Zt} > *`));}),F.sort((D,q)=>q[1]-D[1]).forEach(D=>{var $,Y;let q=($=z.current)==null?void 0:$.querySelector(`${va}[${sa}="${encodeURIComponent(D[0])}"]`);(Y=q==null?void 0:q.parentElement)==null||Y.appendChild(q);});}function O(){let h=ge().find(w=>w.getAttribute("aria-disabled")!=="true"),F=h==null?void 0:h.getAttribute(sa);L.setState("value",F||void 0);}function ae(){var F,w,D,q,$;if(!o.current.search||u.current.shouldFilter===false){o.current.filtered.count=t.current.size;return}o.current.filtered.groups=new Set;let h=0;for(let Y of t.current){let R=(w=(F=n.current.get(Y))==null?void 0:F.value)!=null?w:"",I=(q=(D=n.current.get(Y))==null?void 0:D.keywords)!=null?q:[],V=E(R,I);o.current.filtered.items.set(Y,V),V>0&&h++;}for(let[Y,R]of r.current)for(let I of R)if((($=o.current.filtered.items.get(I))!=null?$:0)>0){o.current.filtered.groups.add(Y);break}o.current.filtered.count=h;}function we(){var F,w,D;let h=Le();h&&(((F=h.parentElement)==null?void 0:F.firstChild)===h&&((D=(w=h.closest(va))==null?void 0:w.querySelector(Dn))==null||D.scrollIntoView({block:"nearest"})),h.scrollIntoView({block:"nearest"}));}function Le(){var h;return (h=z.current)==null?void 0:h.querySelector(`${ir}[aria-selected="true"]`)}function ge(){var h;return Array.from(((h=z.current)==null?void 0:h.querySelectorAll(dr))||[])}function Ge(h){let w=ge()[h];w&&L.setState("value",w.getAttribute(sa));}function xe(h){var $;let F=Le(),w=ge(),D=w.findIndex(Y=>Y===F),q=w[D+h];($=u.current)!=null&&$.loop&&(q=D+h<0?w[w.length-1]:D+h===w.length?w[0]:w[D+h]),q&&L.setState("value",q.getAttribute(sa));}function ta(h){let F=Le(),w=F==null?void 0:F.closest(va),D;for(;w&&!D;)w=h>0?Mn(w,va):Nn(w,va),D=w==null?void 0:w.querySelector(dr);D?L.setState("value",D.getAttribute(sa)):xe(h);}let ye=()=>Ge(ge().length-1),le=h=>{h.preventDefault(),h.metaKey?ye():h.altKey?ta(1):xe(1);},ce=h=>{h.preventDefault(),h.metaKey?Ge(0):h.altKey?ta(-1):xe(-1);};return jsxs("div",f(l({ref:a,tabIndex:-1},_),{"cmdk-root":"",onKeyDown:h=>{var w;(w=_.onKeyDown)==null||w.call(_,h);let F=h.nativeEvent.isComposing||h.keyCode===229;if(!(h.defaultPrevented||F))switch(h.key){case "n":case "j":{T&&h.ctrlKey&&le(h);break}case "ArrowDown":{le(h);break}case "p":case "k":{T&&h.ctrlKey&&ce(h);break}case "ArrowUp":{ce(h);break}case "Home":{h.preventDefault(),Ge(0);break}case "End":{h.preventDefault(),ye();break}case "Enter":{h.preventDefault();let D=Le();if(D){let q=new Event(jt);D.dispatchEvent(q);}}}},children:[jsx("label",{"cmdk-label":"",htmlFor:k.inputId,id:k.labelId,style:En,children:c}),tt(e,h=>jsx(fr.Provider,{value:L,children:jsx(ur.Provider,{value:k,children:h})}))]}))});pr.displayName="Command";var mr=M.forwardRef((e,a)=>{var K,z;let o=ve(),t=M.useRef(null),r=M.useContext(cr),n=ka(),i=vr(e),u=(z=(K=i.current)==null?void 0:K.forceMount)!=null?z:r==null?void 0:r.forceMount;qe(()=>{if(!u)return n.item(o,r==null?void 0:r.id)},[u]);let c=Ir(o,t,[e.value,e.children,t],e.keywords),p=Qt(),m=ze(L=>L.value&&L.value===c.current),g=ze(L=>{var k;return u||n.filter()===false?true:L.search?((k=L.filtered.items.get(o))!=null?k:0)>0:true});M.useEffect(()=>{let L=t.current;if(!(!L||e.disabled))return L.addEventListener(jt,x),()=>L.removeEventListener(jt,x)},[g,e.onSelect,e.disabled]);function x(){var L,k,E;v(),(E=(k=i.current).onSelect)==null||E.call(k,(L=c.current)!=null?L:"");}function v(){var L;p.setState("value",(L=c.current)!=null?L:"",true);}if(!g)return null;let b=e,{disabled:C,value:y,onSelect:T,forceMount:_,keywords:N}=b,P=d(b,["disabled","value","onSelect","forceMount","keywords"]);return jsx("div",f(l({ref:Ia(t,a)},P),{id:o,"cmdk-item":"",role:"option","aria-disabled":!!C,"aria-selected":!!m,"data-disabled":!!C,"data-selected":!!m,onPointerMove:C||n.getDisablePointerSelection()?void 0:v,onClick:C?void 0:x,children:e.children}))});mr.displayName="Item";var gr=M.forwardRef((e,a)=>{let v=e,{heading:o,children:t,forceMount:r}=v,n=d(v,["heading","children","forceMount"]),i=ve(),u=M.useRef(null),c=M.useRef(null),p=ve(),m=ka(),g=ze(C=>r||m.filter()===false?true:C.search?C.filtered.groups.has(i):true);qe(()=>m.group(i),[]),Ir(i,u,[e.value,e.heading,c]);let x=M.useMemo(()=>({id:i,forceMount:r}),[r]);return jsxs("div",f(l({ref:Ia(u,a)},n),{"cmdk-group":"",role:"presentation",hidden:g?void 0:true,children:[o&&jsx("div",{ref:c,"cmdk-group-heading":"","aria-hidden":true,id:p,children:o}),tt(e,C=>jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":o?p:void 0,children:jsx(cr.Provider,{value:x,children:C})}))]}))});gr.displayName="Group";var xr=M.forwardRef((e,a)=>{let i=e,{alwaysRender:o}=i,t=d(i,["alwaysRender"]),r=M.useRef(null),n=ze(u=>!u.search);return !o&&!n?null:jsx("div",f(l({ref:Ia(r,a)},t),{"cmdk-separator":"",role:"separator"}))});xr.displayName="Separator";var hr=M.forwardRef((e,a)=>{let p=e,{onValueChange:o}=p,t=d(p,["onValueChange"]),r=e.value!=null,n=Qt(),i=ze(m=>m.search),u=ze(m=>m.selectedItemId),c=ka();return M.useEffect(()=>{e.value!=null&&n.setState("search",e.value);},[e.value]),jsx("input",f(l({ref:a},t),{"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:false,"aria-autocomplete":"list",role:"combobox","aria-expanded":true,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":u,id:c.inputId,type:"text",value:r?e.value:i,onChange:m=>{r||n.setState("search",m.target.value),o==null||o(m.target.value);}}))});hr.displayName="Input";var br=M.forwardRef((e,a)=>{let p=e,{children:o,label:t="Suggestions"}=p,r=d(p,["children","label"]),n=M.useRef(null),i=M.useRef(null),u=ze(m=>m.selectedItemId),c=ka();return M.useEffect(()=>{if(i.current&&n.current){let m=i.current,g=n.current,x,v=new ResizeObserver(()=>{x=requestAnimationFrame(()=>{let C=m.offsetHeight;g.style.setProperty("--cmdk-list-height",C.toFixed(1)+"px");});});return v.observe(m),()=>{cancelAnimationFrame(x),v.unobserve(m);}}},[]),M.useEffect(()=>{let m=n.current;if(!m)return;let g=x=>{m.contains(x.target)&&x.stopPropagation();};return document.addEventListener("wheel",g,{capture:true}),()=>{document.removeEventListener("wheel",g,{capture:true});}},[]),jsx("div",f(l({ref:Ia(n,a)},r),{"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":u,"aria-label":t,id:c.listId,children:tt(e,m=>jsx("div",{ref:Ia(i,c.listInnerRef),"cmdk-list-sizer":"",children:m}))}))});br.displayName="List";var Cr=M.forwardRef((e,a)=>ze(t=>t.filtered.count===0)?jsx("div",f(l({ref:a},e),{"cmdk-empty":"",role:"presentation"})):null);Cr.displayName="Empty";var Lr=M.forwardRef((e,a)=>{let i=e,{progress:o,children:t,label:r="Loading..."}=i,n=d(i,["progress","children","label"]);return jsx("div",f(l({ref:a},n),{"cmdk-loading":"",role:"progressbar","aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,"aria-label":r,children:tt(e,u=>jsx("div",{"aria-hidden":true,children:u}))}))});Lr.displayName="Loading";var Xe=Object.assign(pr,{List:br,Item:mr,Input:hr,Group:gr,Separator:xr,Empty:Cr,Loading:Lr});function Mn(e,a){let o=e.nextElementSibling;for(;o;){if(o.matches(a))return o;o=o.nextElementSibling;}}function Nn(e,a){let o=e.previousElementSibling;for(;o;){if(o.matches(a))return o;o=o.previousElementSibling;}}function vr(e){let a=M.useRef(e);return qe(()=>{a.current=e;}),a}var qe=typeof window=="undefined"?M.useEffect:M.useLayoutEffect;function la(e){let a=M.useRef(void 0);return a.current===void 0&&(a.current=e()),a}function ze(e){let a=Qt(),[,o]=M.useState({}),t=M.useRef(e(a.snapshot()));return t.current=e(a.snapshot()),qe(()=>a.subscribe(()=>{let r=e(a.snapshot());Object.is(r,t.current)||(t.current=r,o({}));}),[a,e]),t.current}function Ir(e,a,o,t=[]){let r=M.useRef(void 0),n=ka();return qe(()=>{var c;let i=(()=>{var p;for(let m of o){if(typeof m=="string")return m.trim();if(typeof m=="object"&&m!==null&&"current"in m)return m.current?(p=m.current.textContent)==null?void 0:p.trim():r.current}})(),u=t.map(p=>p.trim());n.value(e,i!=null?i:"",u),(c=a.current)==null||c.setAttribute(sa,i!=null?i:""),r.current=i;}),r}var Bn=()=>{let[e,a]=M.useState(),o=la(()=>new Map);return qe(()=>{o.current.forEach(t=>t()),o.current=new Map;},[e]),(t,r)=>{o.current.set(t,r),a({});}};function Fn(e){let a=e.type;return typeof a=="function"?a(e.props):"render"in a?a.render(e.props):e}function tt({asChild:e,children:a},o){return e&&M.isValidElement(a)?M.cloneElement(Fn(a),{ref:a.ref},o(a.props.children)):o(a)}function Ia(...e){return a=>{e.forEach(o=>{typeof o=="function"?o(a):o!=null&&typeof o=="object"&&(o.current=a);});}}var En={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function na(r){var n=r,{className:e,orientation:a="horizontal",decorative:o=true}=n,t=d(n,["className","orientation","decorative"]);return jsx(Separator.Root,l({"data-slot":"separator-root",decorative:o,orientation:a,className:s("shrink-0 bg-gray-stroke-muted data-[orientation=horizontal]:h-px data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px",e)},t))}function _n(a){var e=d(a,[]);return jsx(Dialog.Root,l({"data-slot":"dialog"},e))}function Un(a){var e=d(a,[]);return jsx(Dialog.Trigger,l({"data-slot":"dialog-trigger"},e))}function yr(a){var e=d(a,[]);return jsx(Dialog.Portal,l({"data-slot":"dialog-portal"},e))}function Gn(a){var e=d(a,[]);return jsx(Dialog.Close,l({"data-slot":"dialog-close"},e))}function Pr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Overlay,l({"data-slot":"dialog-overlay",className:s("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function Wn(n){var i=n,{className:e,overlayClassName:a,children:o,showCloseButton:t=true}=i,r=d(i,["className","overlayClassName","children","showCloseButton"]);return jsxs(yr,{"data-slot":"dialog-portal",children:[jsx(Pr,{className:s("modal-overlay",a)}),jsxs(Dialog.Content,f(l({"data-slot":"dialog-container",className:s("modal-overlay fixed left-1/2 top-1/2 z-50 flex max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col gap-0 overflow-y-auto rounded-xl border bg-background p-0 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-h-[85vh] sm:max-w-lg",e)},r),{children:[o,t&&jsxs(Dialog.Close,{"data-slot":"dialog-close",className:"focus:outline-hidden absolute right-3 top-3 rounded-pill p-1.5 hover:bg-gray-background-soft disabled:pointer-events-none data-[state=open]:text-gray-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[jsx(CloseMd,{}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Xn({containerClassName:e,className:a,children:o}){return jsx("div",{className:s("mb-auto overflow-y-auto",e),children:jsx("div",{"data-slot":"dialog-content",className:s("px-8 py-6 text-md leading-md text-primary-foreground",a),children:o})})}function Kn(t){var r=t,{className:e,separator:a=false}=r,o=d(r,["className","separator"]);return jsxs(Fragment,{children:[jsx("div",l({"data-slot":"dialog-header",className:s("flex flex-col gap-2 px-8 py-6 text-center sm:text-left",e)},o)),a&&jsx(na,{})]})}function Zn(t){var r=t,{className:e,separator:a=false}=r,o=d(r,["className","separator"]);return jsxs(Fragment,{children:[a&&jsx(na,{}),jsx("div",l({"data-slot":"dialog-footer",className:s("flex flex-col-reverse gap-2 px-8 py-6 sm:flex-row sm:justify-end",e)},o))]})}function jn(n){var i=n,{className:e,iconLeft:a,iconRight:o,children:t}=i,r=d(i,["className","iconLeft","iconRight","children"]);let u=c=>isValidElement(c)?cloneElement(c,{size:32,strokeWidth:2.2,className:"flex-shrink-0"}):c;return jsxs(Dialog.Title,f(l({"data-slot":"dialog-title",className:s("flex items-center gap-3 text-title-md font-semibold leading-title-md !text-content-title",e)},r),{children:[a&&u(a),t,o&&u(o)]}))}function Qn(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Description,l({"data-slot":"dialog-description",className:s("text-md leading-md text-content-paragraph",e)},a))}function wr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Xe,l({className:s("flex size-full flex-col overflow-hidden rounded-md bg-surface-card text-gray-foreground",e),"data-slot":"command"},a))}function Tr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsxs("div",{className:"flex items-center border-b border-gray-stroke-muted px-4","cmdk-input-wrapper":"",children:[jsx(Xe.Input,l({className:s("flex h-12 w-full bg-transparent py-3 text-md font-medium outline-none placeholder:text-gray-foreground-muted disabled:cursor-not-allowed disabled:opacity-50",e),"data-slot":"command-input-wrapper"},a)),jsx(SearchMagnifyingGlass,{className:"text-gray-foreground-muted",size:24})]})}function Ar(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Xe.List,l({className:s("max-h-80 flex-1 overflow-y-auto overflow-x-hidden",e),"data-slot":"command-list","data-radix-scroll-area":""},a))}function Dr(a){var e=d(a,[]);return jsx(Xe.Empty,l({className:"py-6 text-center text-sm","data-slot":"command-empty"},e))}function Rr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Xe.Group,l({className:s("overflow-hidden p-2 text-gray-foreground [&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-2 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-gray-foreground-muted",e),"data-slot":"command-group"},a))}function Mr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Xe.Item,l({className:s("outline-hidden relative flex cursor-default select-none items-center gap-3 rounded-md px-2 py-1.5 text-sm data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),"data-slot":"command-item"},a))}function Nr(a){var e=d(a,[]);return jsx(Popover.Root,l({"data-slot":"popover"},e))}function Br(a){var e=d(a,[]);return jsx(Popover.Trigger,l({"data-slot":"popover-trigger"},e))}function Fr(n){var i=n,{className:e,align:a="center",sideOffset:o=4,showArrow:t=false}=i,r=d(i,["className","align","sideOffset","showArrow"]);return jsx(Popover.Portal,{children:jsxs(Popover.Content,f(l({align:a,className:s("outline-hidden z-50 w-72 rounded-md border bg-surface-card p-4 text-gray-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),"data-slot":"popover-content",sideOffset:o},r),{children:[r.children,t&&jsx(Popover.Arrow,{className:"-my-px fill-gray-foreground drop-shadow-[0_1px_0_var(--border)]"})]}))})}var ua=createContext({invalid:false,disabled:false,open:false,setOpen:()=>{},values:[],toggleValue:()=>{},onCancelSelection:()=>{},listId:""});function rd({children:e,invalid:a=false,disabled:o=false,values:t,onValuesChange:r,open:n,onOpenChange:i,defaultValues:u=[]}){let[c,p]=useState(u),[m,g]=useState(false),[x,v]=useState([]),C=t!==void 0,y=n!==void 0,T=C?t:c,_=y?n:m,N=useCallback(L=>{let k=T.includes(L)?T.filter(E=>E!==L):[...T,L];C||p(k),r==null||r(k);},[T,C,r]),P=useCallback(L=>{o||(L&&v(T),y||g(L),i==null||i(L));},[o,T,y,i]),K=useCallback(()=>{C||p(x),r==null||r(x);},[C,x,r]),z=ve(),b=useMemo(()=>({invalid:a,disabled:o,open:_,setOpen:P,values:T,toggleValue:N,onCancelSelection:K,listId:z}),[a,o,_,P,T,N,K,z]);return jsx(ua.Provider,{value:b,children:jsx(Nr,{open:_,onOpenChange:P,children:e})})}function sd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("group relative flex flex-col gap-2",e),"data-slot":"autocomplete-wrapper"},a))}function ld(r){var n=r,{className:e,placeholder:a="Selecione uma op\xE7\xE3o",children:o}=n,t=d(n,["className","placeholder","children"]);let{invalid:i,disabled:u,open:c,values:p,listId:m}=useContext(ua),g=ve(),x=p.length>0;return jsx(Br,{asChild:true,children:jsxs("button",f(l({"aria-controls":m,"aria-expanded":c,"aria-invalid":i||void 0,className:s("shadow-xs flex h-12 max-h-12 w-full items-center justify-between gap-2 rounded-md border-2 border-gray-stroke-muted bg-surface-card px-4 py-3 text-left text-md text-gray-foreground outline-none transition-[color,box-shadow] hover:border-gray-stroke-emphasis hover:ring-[3px] hover:ring-state-focus disabled:cursor-default disabled:bg-gray-background-soft-muted disabled:hover:border-gray-stroke-muted disabled:hover:ring-0 aria-[invalid]:border-feedback-error-stroke aria-[invalid]:hover:ring-[3px] aria-[invalid]:hover:ring-state-error [&>span]:line-clamp-1 [&_svg]:pointer-events-none [&_svg]:shrink-0",x&&!i&&"border-gray-stroke-emphasis",e),"data-slot":"autocomplete-trigger","data-placeholder":"",disabled:u,id:g,role:"combobox",type:"button"},t),{children:[jsx("span",{className:"truncate text-gray-foreground-emphasis",children:o!=null?o:a}),jsx(ChevronDown,{"aria-hidden":"true",className:"shrink-0 text-gray-foreground",size:24,strokeWidth:1.6})]}))})}function Jt({className:e,cancelLabel:a="Cancelar",confirmLabel:o="Concluir",onCancel:t,onConfirm:r}){let{setOpen:n,onCancelSelection:i,values:u}=useContext(ua);return jsxs("div",{className:s("flex items-center justify-between border-t border-gray-stroke-muted px-4 py-3",e),"data-slot":"autocomplete-content-footer",children:[jsx(J,{size:"sm",variant:"regular-soft",onClick:()=>{i(),t==null||t(),n(false);},children:a}),jsx(J,{size:"sm",variant:"emphasis",iconLeft:jsx(Check,{strokeWidth:2.6}),onClick:()=>{r==null||r(u),n(false);},children:o})]})}function nd({children:e,className:a,searchPlaceholder:o="Buscar...",emptyMessage:t="Nenhum resultado encontrado"}){let r=Children.toArray(e),n=r.filter(u=>isValidElement(u)&&u.type===Jt),i=r.filter(u=>!(isValidElement(u)&&u.type===Jt));return jsxs(Fr,{align:"start",className:s("w-full min-w-[var(--radix-popper-anchor-width)] border-gray-stroke-muted p-0",a),children:[jsxs(wr,{children:[jsx(Tr,{placeholder:o}),jsxs(Ar,{id:useContext(ua).listId,children:[jsx(Dr,{children:t}),i]})]}),n]})}function dd({children:e,value:a,name:o,className:t,disabled:r=false}){let{values:n,toggleValue:i}=useContext(ua),u=n.includes(a);return jsxs(Mr,{className:s("relative flex w-full cursor-default select-none items-center gap-3 rounded px-2 py-2.5 text-base font-medium text-gray-foreground outline-none hover:cursor-pointer hover:bg-secondary-background-soft-emphasis data-[selected=true]:bg-secondary-background-soft-emphasis",t),disabled:r,onSelect:()=>{i(a);},value:a,keywords:o?[o]:void 0,children:[jsx("span",{className:s("inline-flex size-[18px] shrink-0 items-center justify-center rounded-sm border-2 transition-all",u?"border-primary-background-fill bg-primary-background-fill":"border-gray-stroke-muted bg-surface-card"),children:u&&jsx(Check,{size:12,strokeWidth:2.6,className:"text-primary-foreground-onfill"})}),e]})}function id(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Rr,l({className:e},a))}function ud(o){var t=o,{className:e}=t,a=d(t,["className"]);let{invalid:r}=useContext(ua);return jsx("span",l({className:s("-mt-1 text-xs",r?"text-feedback-error-foreground":"text-gray-foreground",e),"data-slot":"autocomplete-text"},a))}var pd={sm:"sm",md:"md",lg:"md",xl:"lg"},Vr=cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",md:"size-10",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}});function wa(n){var i=n,{className:e,size:a,badge:o,children:t}=i,r=d(i,["className","size","badge","children"]);return jsxs("div",{className:"relative",children:[o&&jsx(Re,{size:pd[a||"md"],className:s("absolute -right-2 -top-1 z-10"),children:String(o)}),jsx(Avatar.Root,f(l({"data-slot":"avatar",className:s(Vr({size:a,className:e}))},r),{children:t}))]})}function Ta(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Avatar.Image,l({"data-slot":"avatar-image",className:s("size-full object-cover",e)},a))}function Aa(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Avatar.Fallback,f(l({"data-slot":"avatar-fallback",className:s("flex size-full items-center justify-center rounded-full bg-gray-background-soft text-sm font-semibold text-primary-foreground",e)},a),{children:a.children?a.children:jsx(User,{className:"size-1/2"})}))}function Da(a){var e=d(a,[]);return jsx("nav",l({"aria-label":"breadcrumb","data-slot":"breadcrumb"},e))}function Ra(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ol",l({className:s("line-clamp-1 flex flex-wrap items-center gap-1.5 text-sm font-medium text-gray-foreground [&_svg]:shrink-0",e),"data-slot":"breadcrumb-list"},a))}function rt(r){var n=r,{className:e,icon:a,children:o}=n,t=d(n,["className","icon","children"]);return jsx("li",f(l({className:s("inline-flex items-center gap-1.5 [&_svg]:text-primary-foreground",e),"data-slot":"breadcrumb-item"},t),{children:jsxs("span",{className:"inline-flex items-center gap-2",children:[a&&a,o]})}))}function bd(t){var r=t,{asChild:e,className:a}=r,o=d(r,["asChild","className"]);let n=e?Slot.Root:"a";return jsx(n,l({className:s("transition-colors hover:underline",a),"data-slot":"breadcrumb-link"},o))}function ao(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",l({"aria-current":"page","aria-disabled":"true",className:s("font-semibold text-primary-foreground",e),"data-slot":"breadcrumb-page",role:"link"},a))}function to(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("li",f(l({"aria-hidden":"true",className:a,"data-slot":"breadcrumb-separator",role:"presentation"},o),{children:e!=null?e:jsx(ChevronRightMd,{className:"text-gray-foreground",strokeWidth:1.33,size:20})}))}function Cd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsxs("span",f(l({"aria-hidden":"true",className:s("flex size-5 items-center justify-center",e),"data-slot":"breadcrumb-ellipsis",role:"presentation"},a),{children:[jsx(MoreHorizontal,{className:"text-gray-foreground",size:18}),jsx("span",{className:"sr-only",children:"More"})]}))}function Ze(n){var i=n,{className:e,indicatorClassName:a,label:o,value:t}=i,r=d(i,["className","indicatorClassName","label","value"]);let u=Math.round(t||0);return jsxs("div",{className:"flex w-full flex-col gap-2",children:[o&&jsxs("div",{"data-slot":"progress-label",className:"text-xs font-medium text-gray-foreground-muted",children:[jsxs("span",{className:"font-semibold text-gray-foreground",children:[u,"%"]})," ",jsx("span",{children:o})]}),jsx(Progress.Root,f(l({"data-slot":"progress",className:s("relative flex h-px w-full overflow-x-clip rounded-pill bg-gray-stroke-muted",e)},r),{children:jsx(Progress.Indicator,{"data-slot":"progress-indicator",className:s("relative -top-[0.5px] flex h-0.5 w-full flex-1 bg-primary-stroke transition-all",a),style:{transform:`translateX(-${100-(t||0)}%)`}})}))]})}function so(m){var g=m,{className:e,indicatorClassName:a,trackClassName:o,valueClassName:t,label:r,labelClassName:n,value:i=0,size:u=96,strokeWidth:c=2}=g,p=d(g,["className","indicatorClassName","trackClassName","valueClassName","label","labelClassName","value","size","strokeWidth"]);let x=typeof i=="string",v=x?0:Math.round(i),C=(u-c)/2,y=C*2*Math.PI,T=y-v/100*y,_=Math.max(18,Math.min(u/5)),N=Math.max(10,Math.min(u/9,16));return jsxs("div",f(l({"data-slot":"progress-circle",className:s("relative inline-flex items-center justify-center",e),style:{width:u,height:u}},p),{children:[jsxs("svg",{className:"absolute inset-0 -rotate-90",width:u,height:u,viewBox:`0 0 ${u} ${u}`,children:[jsx("circle",{"data-slot":"progress-circle-track",cx:u/2,cy:u/2,r:C,stroke:"currentColor",strokeWidth:c,fill:"none",className:s("text-gray-stroke-muted",o)}),jsx("circle",{"data-slot":"progress-circle-indicator",cx:u/2,cy:u/2,r:C,stroke:"currentColor",strokeWidth:c,fill:"none",strokeDasharray:y,strokeDashoffset:T,strokeLinecap:"round",className:s("text-primary-stroke transition-all duration-300 ease-in-out",a)})]}),jsxs("div",{"data-slot":"progress-circle-content",className:"relative z-10 flex flex-col items-center justify-center px-2 text-sm font-medium text-gray-foreground-muted",children:[jsxs("div",{children:[jsx("span",{className:s("mr-px font-semibold",t),style:{fontSize:`${_}px`},children:x?i:v}),!x&&"%"]}),r&&jsx("div",{"data-slot":"progress-circle-label",className:s("text-center font-medium leading-tight text-gray-foreground-muted",n),style:{fontSize:`${N}px`},children:r})]})]}))}var Ma=createContext(null);function kd(n){var i=n,{className:e,done:a,postponed:o,skipped:t}=i,r=d(i,["className","done","postponed","skipped"]);let u=useMemo(()=>({done:a,postponed:o,skipped:t}),[a,o,t]);return jsx(Ma.Provider,{value:u,children:jsx("div",l({"data-slot":"card-week",className:s("flex flex-col overflow-hidden rounded-xl border border-gray-stroke-muted text-gray-foreground-muted",e)},r))})}function yd(n){var i=n,{className:e,children:a,tag:o,tagIcon:t}=i,r=d(i,["className","children","tag","tagIcon"]);return jsxs("div",f(l({"data-slot":"card-week-breadcrumb",className:s("flex min-h-12 items-center gap-4 bg-primary-background-soft-muted px-6 py-3",e)},r),{children:[jsx(Da,{className:"flex-1 overflow-hidden",children:jsx(Ra,{className:"flex-nowrap gap-1.5 text-xs [&>[data-slot=breadcrumb-item]:last-of-type>span]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type>span]:overflow-hidden [&>[data-slot=breadcrumb-item]:last-of-type]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type]:flex-1 [&>[data-slot=breadcrumb-item]:last-of-type_[data-slot=breadcrumb-page]]:truncate [&_[data-slot=breadcrumb-page]]:block",children:a})}),o&&jsx(de,{variant:"regular-soft",icon:t,children:o})]}))}function Pd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-week-container",className:s("flex flex-1 flex-col gap-5 bg-surface-card px-6 py-5",e)},a))}function Sd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-week-header",className:s("flex justify-between [&.border-b]:pb-6",e)},a))}function wd(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=useContext(Ma),n=r==null?void 0:r.done,i=r==null?void 0:r.postponed,u=r==null?void 0:r.skipped;return jsx("div",l({"data-slot":"card-week-title",className:s("text-lg font-semibold leading-lg text-primary-foreground",(n||i||u)&&"text-primary-foreground-muted line-through",e)},a))}function Td(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=useContext(Ma),n=r==null?void 0:r.done,i=r==null?void 0:r.postponed,u=r==null?void 0:r.skipped;return jsx("div",l({"data-slot":"card-week-description",className:s("text-xs font-semibold leading-xs text-gray-foreground",(n||i||u)&&"text-gray-foreground-muted",e)},a))}function Ad(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-week-tags",className:s("flex flex-wrap items-center gap-2 [[data-slot=card-week-header]:not(:has([data-slot=card-week-progress]))+&]:mt-6",e)},a))}function Dd(t){var r=t,{className:e,value:a}=r,o=d(r,["className","value"]);return jsx("div",{"data-slot":"card-week-progress-circle",className:s("flex flex-1 justify-end",e),children:jsx(so,l({size:104,value:a},o))})}function Rd(r){var n=r,{className:e,value:a,indicatorClassName:o}=n,t=d(n,["className","value","indicatorClassName"]);let i=useContext(Ma),u=i==null?void 0:i.done;return jsx("div",{"data-slot":"card-week-progress",className:s("flex flex-1",e),children:jsx(Ze,f(l({},t),{value:u?100:a,indicatorClassName:s(u&&"bg-secondary-stroke-emphasis",o)}))})}function Md(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-week-footer",className:s("mt-auto flex flex-col gap-2",e)},a))}function Nd(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("div",f(l({"data-slot":"card-week-content",className:s("flex flex-col text-xs font-medium",e)},o),{children:a}))}function Bd(r){var n=r,{className:e,children:a,isTime:o}=n,t=d(n,["className","children","isTime"]);return jsxs("div",f(l({"data-slot":"card-week-text",className:s("flex items-center gap-1.5",o?"text-secondary-foreground":"text-gray-foreground-muted",e)},t),{children:[o&&jsx(TimeRemaining,{size:16}),jsx("span",{children:a})]}))}function Fd(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=useContext(Ma),n=r==null?void 0:r.done,i=r==null?void 0:r.postponed,u=r==null?void 0:r.skipped;return !n&&!i&&!u?null:i||u?jsxs("div",f(l({"data-slot":"card-week-status",className:s("ml-auto flex items-center gap-1.5",e)},a),{children:[jsx("div",{className:"flex size-4 items-center justify-center rounded-full bg-yellow-24 text-feedback-warning-foreground",children:jsx(Check,{size:12,strokeWidth:1.67})}),jsx("div",{className:"font-semibold text-feedback-warning-foreground",children:i?"Adiado":"Pulado"})]})):jsxs("div",f(l({"data-slot":"card-week-status",className:s("ml-auto flex items-center gap-1.5",e)},a),{children:[jsx("div",{className:"flex size-4 items-center justify-center rounded-full bg-secondary-background-soft text-secondary-foreground",children:jsx(Check,{size:12,strokeWidth:1.67})}),jsx("div",{className:"font-semibold text-secondary-foreground",children:"Conclu\xEDdo"})]}))}function Ed(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-week-actions",className:s("flex flex-wrap items-center justify-end gap-2 pt-4",e)},a))}var Ur=cva("relative z-0 flex flex-col gap-4 overflow-hidden rounded-2xl border border-gray-stroke-muted p-6",{variants:{variant:{default:"bg-surface-card",blocked:"bg-gray-background-soft"}},defaultVariants:{variant:"default"}}),it=cva("text-xs font-medium leading-xs text-gray-foreground-muted"),Gr=createContext(null);function ut(){var e;return (e=useContext(Gr))!=null?e:{}}function _d(i){var u=i,{className:e,variant:a,availableDate:o,showStack:t=true,children:r}=u,n=d(u,["className","variant","availableDate","showStack","children"]);let c=useMemo(()=>({variant:a,availableDate:o}),[a,o]),p=s("pointer-events-none absolute bottom-0 z-0 max-h-[20%] rounded-2xl border border-gray-stroke-muted",a==="blocked"?"bg-gray-background-soft":"bg-surface-card"),m=jsx("div",f(l({"data-slot":"card-module",className:s(Ur({variant:a}),e)},n),{children:r}));return jsx(Gr.Provider,{value:c,children:t?jsxs("div",{"data-slot":"card-module-stack",className:"relative pt-[17px]",children:[jsx("div",{"aria-hidden":true,className:s(p,"inset-x-[34px] top-0")}),jsx("div",{"aria-hidden":true,className:s(p,"inset-x-4 top-2")}),m]}):m})}function Ud(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-module-header",className:s("flex flex-col",e)},a))}function Gd(r){var n=r,{className:e,children:a,count:o}=n,t=d(n,["className","children","count"]);let{variant:i}=ut();return jsxs("div",f(l({"data-slot":"card-module-label",className:s("flex items-center justify-between gap-2 text-xs font-medium leading-xs",i==="blocked"?"text-gray-foreground-muted":"text-content-paragraph",e)},t),{children:[jsx("span",{children:a}),o&&jsx("span",{className:"text-sm leading-sm text-gray-foreground-muted",children:o})]}))}function Wd(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r}=ut();return jsx("div",l({"data-slot":"card-module-title",className:s("line-clamp-2 min-h-14 max-w-[70%] text-lg font-semibold",r==="blocked"?"text-primary-foreground-muted":"text-primary-foreground",e)},a))}function Xd(t){var r=t,{className:e,progress:a}=r,o=d(r,["className","progress"]);let{variant:n}=ut(),i=Number.isFinite(a)?Math.min(100,Math.max(0,a)):0,u=Math.round(i),c=n==="blocked"?jsx("div",{"data-slot":"card-module-status",className:it(),children:"N\xE3o iniciado"}):i>=100?jsx("div",{"data-slot":"card-module-status",className:it(),children:"Conclu\xEDdo"}):jsxs("div",{"data-slot":"card-module-status",className:it(),children:[jsxs("span",{className:"font-semibold text-gray-foreground",children:[u,"%"]})," ","de progresso"]});return jsxs("div",f(l({"data-slot":"card-module-progress",className:s("flex flex-col gap-2",e)},o),{children:[c,n!=="blocked"&&jsx(Ze,{value:i,indicatorClassName:i===100?"bg-secondary-stroke-emphasis":"bg-primary-stroke"})]}))}function Kd(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:n,availableDate:i}=ut();return n!=="blocked"||!i?null:jsxs("div",f(l({"data-slot":"card-module-footer",className:s("flex flex-col gap-3",e)},o),{children:[jsx("div",{className:"border-t border-gray-stroke-muted"}),jsxs("div",{className:"flex items-center justify-between",children:[jsxs(de,{variant:"gray-soft",icon:jsx(Lock,{}),children:["Dispon\xEDvel em ",i]}),a]})]}))}function Zd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(J,l({"data-slot":"card-module-button",size:"sm",iconLeft:jsx(ArrowRightMd,{}),className:s(e)},a))}function jd(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("div",f(l({"data-slot":"card-module-action",className:s("flex items-center justify-end",e)},o),{children:a}))}var Wr=createContext({animation:void 0});function no(o){var t=o,{animation:e}=t,a=d(t,["animation"]);return jsx(Wr.Provider,{value:useMemo(()=>({animation:e}),[e]),children:jsx(Collapsible.Root,l({"data-slot":"collapsible"},a))})}function io(a){var e=d(a,[]);return jsx(Collapsible.Trigger,l({"data-slot":"collapsible-trigger"},e))}function uo(o){var t=o,{className:e}=t,a=d(t,["className"]);let{animation:r}=useContext(Wr),n={accordion:"overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",fade:"data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in"};return jsx(Collapsible.Content,l({"data-slot":"collapsible-content",className:s(r&&n[r],e)},a))}var si=cva("flex flex-col overflow-hidden rounded-2xl border border-gray-stroke-muted",{variants:{variant:{default:"bg-surface-card",blocked:"bg-gray-background-soft"}},defaultVariants:{variant:"default"}}),Xr=createContext(null);function Ba(){var e;return (e=useContext(Xr))!=null?e:{}}function li(n){var i=n,{className:e,variant:a,availableDate:o,children:t}=i,r=d(i,["className","variant","availableDate","children"]);let u=useMemo(()=>({variant:a,availableDate:o}),[a,o]);return jsx(Xr.Provider,{value:u,children:jsx(no,f(l({"data-slot":"card-topic",animation:"accordion",className:s(si({variant:a}),e)},r),{children:t}))})}function ni(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:n}=Ba(),i=n==="blocked";return jsx(io,f(l({"data-slot":"card-topic-trigger",disabled:i,className:s("group flex min-h-16 w-full select-none flex-wrap items-center gap-4 p-4 text-left","[&>*:first-child]:flex-1","disabled:pointer-events-none disabled:cursor-default",!i&&"cursor-pointer",e)},o),{children:a}))}function di(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-topic-column",className:s("flex flex-wrap items-center gap-4",e)},a))}function ii(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:n}=Ba();return jsx("div",f(l({"data-slot":"card-topic-number",className:s("flex size-[30px] shrink-0 items-center justify-center rounded-full text-md font-medium text-primary-foreground-onfill",n==="blocked"?"bg-primary-foreground-muted":"bg-primary-foreground",e)},o),{children:a}))}function ui(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r}=Ba();return jsx("div",l({"data-slot":"card-topic-title",className:s("min-w-0 flex-1 text-md font-semibold leading-md",r==="blocked"?"text-primary-foreground-muted":"text-primary-foreground",e)},a))}function fi(t){var r=t,{className:e,progress:a}=r,o=d(r,["className","progress"]);let{variant:n,availableDate:i}=Ba();if(n==="blocked")return i?jsx("div",f(l({"data-slot":"card-topic-progress",className:s("flex",e)},o),{children:jsxs(de,{variant:"gray-soft",icon:jsx(Lock,{"aria-hidden":true}),children:["Dispon\xEDvel em ",i]})})):null;if(a===void 0)return null;let u=Math.min(100,Math.max(0,a)),c=Math.round(u),p=u>=100;return jsxs("div",f(l({"data-slot":"card-topic-progress",className:s("flex min-w-[180px] flex-col gap-2",e)},o),{children:[jsx("div",{className:"text-xs font-medium leading-xs text-gray-foreground-muted",children:p?"Conclu\xEDdo":jsxs(Fragment,{children:[jsxs("span",{className:"font-semibold text-gray-foreground",children:[c,"%"]})," de progresso"]})}),jsx(Ze,{value:u,indicatorClassName:p?"bg-secondary-stroke-emphasis":"bg-primary-stroke"})]}))}function ci(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:n}=Ba();return jsxs("div",f(l({"data-slot":"card-topic-count",className:s("flex shrink-0 items-center gap-2",e)},o),{children:[jsx("span",{className:"text-sm font-medium leading-sm text-gray-foreground-muted",children:a}),jsx(ChevronDown,{"aria-hidden":true,size:18,strokeWidth:2.4,className:s("shrink-0 text-gray-foreground",n!=="blocked"&&"transition-transform duration-200 group-data-[state=open]:rotate-180")})]}))}function pi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(uo,l({"data-slot":"card-topic-content",className:s("px-4 pb-4",e)},a))}function Qe(t){var r=t,{className:e,label:a="Medway"}=r,o=d(r,["className","label"]);let n=useId();return jsxs("svg",f(l({"data-slot":"fallback-image",viewBox:"0 0 320 167",preserveAspectRatio:"xMidYMid slice",role:"img","aria-label":a,className:s("size-full",e)},o),{children:[jsx("defs",{children:jsxs("radialGradient",{id:n,cx:"50%",cy:"42%",r:"78%",children:[jsx("stop",{offset:"0%",stopColor:"#15397A"}),jsx("stop",{offset:"55%",stopColor:"#06245E"}),jsx("stop",{offset:"100%",stopColor:"#021536"})]})}),jsx("rect",{width:"320",height:"167",fill:`url(#${n})`}),jsx("g",{transform:"translate(85.5 62.7) scale(1.38)",fill:"#FFFFFF",children:jsx("path",{d:"M104.229 3.90299H107.408C107.836 3.90299 108.122 4.34302 107.948 4.73464L100.413 21.6491C100.318 21.8625 100.106 22 99.8724 22H96.6935C96.2653 22 95.9791 21.56 96.153 21.1684L97.89 17.2687L92.3798 4.90074C92.1706 4.43102 92.5141 3.90189 93.0281 3.90189H95.8779C96.1585 3.90189 96.4128 4.0669 96.5262 4.32322L100.09 12.325L103.686 4.25391C103.781 4.0405 103.993 3.90299 104.227 3.90299H104.229ZM91.9043 11.0005V17.3875C91.9043 17.7791 91.5862 18.097 91.1943 18.097H88.9455C88.5537 18.097 88.2356 17.7791 88.2356 17.3875V17.2841C87.1547 17.8957 85.8999 18.2367 84.5647 18.2147C80.7496 18.152 77.6159 15.0928 77.4706 11.2822C77.3132 7.16906 80.6043 3.78419 84.6847 3.78419C88.765 3.78419 91.9043 7.01505 91.9043 10.9994V11.0005ZM88.0573 11.0005C88.0573 9.13926 86.5471 7.62888 84.6836 7.62888C82.8201 7.62888 81.3099 9.13816 81.3099 11.0005C81.3099 12.8629 82.8201 14.3722 84.6836 14.3722C86.5471 14.3722 88.0573 12.8629 88.0573 11.0005ZM75.4519 12.1578V4.61363C75.4519 4.22201 75.1338 3.9041 74.7419 3.9041H72.3159C71.9241 3.9041 71.606 4.22201 71.606 4.61363V12.2282C71.606 13.4273 70.6153 14.3997 69.4089 14.3711C68.2378 14.3436 67.3154 13.358 67.3154 12.1875V4.61363C67.3154 4.22201 66.9973 3.9041 66.6054 3.9041H64.1794C63.7876 3.9041 63.4695 4.22201 63.4695 4.61363V12.2282C63.4695 13.4273 62.4788 14.3997 61.2724 14.3711C60.1013 14.3436 59.1789 13.358 59.1789 12.1875V4.61363C59.1789 4.22201 58.8608 3.9041 58.4689 3.9041H56.0429C55.6511 3.9041 55.333 4.22201 55.333 4.61363V12.1578C55.333 15.4778 58.0507 18.2422 61.3726 18.2158C62.9235 18.2037 64.3346 17.5998 65.3935 16.6196C66.4524 17.5998 67.8635 18.2037 69.4144 18.2158C72.7364 18.2422 75.4541 15.4767 75.4541 12.1578H75.4519ZM49.7094 0H51.9582C52.35 0 52.6682 0.317916 52.6682 0.709535V17.3875C52.6682 17.7791 52.35 18.097 51.9582 18.097H49.7094C49.3176 18.097 48.9995 17.7791 48.9995 17.3875V17.2841C47.9505 17.877 46.7397 18.2158 45.4486 18.2158C41.3671 18.2158 38.0771 14.832 38.2345 10.7178C38.3798 6.90834 41.5135 3.84799 45.3286 3.78529C46.6648 3.76329 47.9186 4.1043 48.9995 4.71594V0.709535C48.9995 0.317916 49.3176 0 49.7094 0ZM48.8223 11.0005C48.8223 9.13926 47.3121 7.62888 45.4486 7.62888C43.585 7.62888 42.0749 9.13816 42.0749 11.0005C42.0749 12.8629 43.585 14.3722 45.4486 14.3722C47.3121 14.3722 48.8223 12.8629 48.8223 11.0005ZM26.4139 12.2425C26.1508 12.2425 25.9769 12.5186 26.0947 12.7529C26.6979 13.9608 27.9031 14.7847 29.2945 14.7847C30.2576 14.7847 31.1326 14.3887 31.7799 13.7452C31.9109 13.6143 32.0903 13.5428 32.2752 13.5428H34.8806C35.4265 13.5428 35.7689 14.1324 35.497 14.6054C34.2587 16.7626 31.945 18.2147 29.2945 18.2147C25.3396 18.2147 22.1343 14.9838 22.1343 10.9994C22.1343 7.01505 25.3407 3.78419 29.2945 3.78419C33.2482 3.78419 36.4546 7.01505 36.4546 10.9994C36.4546 11.1997 36.4469 11.3966 36.4304 11.5924C36.4007 11.9598 36.0914 12.2414 35.7226 12.2414H26.4139V12.2425ZM26.2356 8.98855C26.0947 9.22286 26.2686 9.52208 26.5427 9.52208H32.0451C32.3192 9.52208 32.4931 9.22396 32.3522 8.98855C31.7138 7.9237 30.5823 7.21526 29.2945 7.21526C28.0066 7.21526 26.8751 7.9237 26.2367 8.98855H26.2356ZM14.0815 3.78529C12.5306 3.79739 11.1194 4.40132 10.0605 5.38147C9.00165 4.40132 7.59054 3.79739 6.03963 3.78529C2.71767 3.75889 0 6.52443 0 9.84329V17.3875C0 17.7791 0.318107 18.097 0.709962 18.097H3.13594C3.52779 18.097 3.8459 17.7791 3.8459 17.3875V9.81359C3.8459 8.64313 4.7683 7.65748 5.93946 7.62998C7.14585 7.60138 8.13649 8.57383 8.13649 9.77289V17.3875C8.13649 17.7791 8.4546 18.097 8.84645 18.097H11.2724C11.6643 18.097 11.9824 17.7791 11.9824 17.3875V9.81359C11.9824 8.64313 12.9048 7.65748 14.076 7.62998C15.2823 7.60138 16.273 8.57383 16.273 9.77289V17.3875C16.273 17.7791 16.5911 18.097 16.9829 18.097H19.4089C19.8008 18.097 20.1189 17.7791 20.1189 17.3875V9.84329C20.1189 6.52333 17.4012 3.75889 14.0793 3.78529H14.0815Z"})})]}))}function Ci(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-continue",className:s("flex gap-3 bg-transparent",e)},a))}function Li(n){var i=n,{className:e,src:a,alt:o="",children:t}=i,r=d(i,["className","src","alt","children"]);return jsx("div",f(l({"data-slot":"card-continue-image",className:s("relative h-[122px] w-[200px] shrink-0 overflow-hidden rounded-md bg-gray-background-soft",e)},r),{children:a?jsx("img",{src:a,alt:o,loading:"lazy",className:"absolute inset-0 size-full object-cover"}):t!=null?t:jsx(Qe,{className:"absolute inset-0"})}))}function vi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-continue-content",className:s("flex min-w-0 flex-1 flex-col justify-between gap-2",e)},a))}function Ii(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-continue-header",className:s("flex min-w-0 flex-col gap-1",e)},a))}function ki({items:e,className:a}){return jsx(Da,{"data-slot":"card-continue-breadcrumb",className:"overflow-hidden",children:jsx(Ra,{className:s("flex-nowrap gap-1 text-xs font-medium leading-xs [&>[data-slot=breadcrumb-item]:last-of-type>span]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type>span]:overflow-hidden [&>[data-slot=breadcrumb-item]:last-of-type]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type]:flex-1 [&>[data-slot=breadcrumb-item]:last-of-type_[data-slot=breadcrumb-page]]:truncate [&_[data-slot=breadcrumb-page]]:block",a),children:e.map((o,t)=>jsx(Fragment$1,{children:t<e.length-1?jsxs(Fragment,{children:[jsx(rt,{className:"text-content-paragraph",children:o}),jsx(to,{children:jsx(ChevronRight,{size:12,className:"text-gray-foreground"})})]}):jsx(rt,{children:jsx(ao,{className:"font-medium text-content-paragraph",children:o})})},`${o}-${t}`))})})}function yi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-continue-title",className:s("line-clamp-2 text-lg font-semibold leading-lg text-primary-foreground",e)},a))}function Pi(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx(J,f(l({"data-slot":"card-continue-button",variant:"emphasis-soft",size:"sm",iconRight:jsx(ArrowRightSm,{}),className:s("self-start",e)},o),{children:a}))}var Zr=cva("flex flex-col overflow-hidden rounded-2xl border border-gray-stroke-muted",{variants:{variant:{default:"bg-surface-card",blocked:"bg-gray-background-soft"},orientation:{vertical:"",horizontal:"lg:flex-row lg:flex-wrap lg:items-center lg:gap-x-6 lg:gap-y-3 lg:p-3 lg:pr-6"}},defaultVariants:{variant:"default",orientation:"vertical"}}),jr=createContext(null);function $e(){var e;return (e=useContext(jr))!=null?e:{}}function Bi(i){var u=i,{className:e,variant:a,orientation:o="vertical",availableDate:t,children:r}=u,n=d(u,["className","variant","orientation","availableDate","children"]);let c=useMemo(()=>({variant:a,orientation:o,availableDate:t}),[a,o,t]);return jsx(jr.Provider,{value:c,children:jsx("div",f(l({"data-slot":"card-lesson",className:s(Zr({variant:a,orientation:o}),e)},n),{children:r}))})}function Fi(n){var i=n,{className:e,src:a,alt:o="",children:t}=i,r=d(i,["className","src","alt","children"]);let{variant:u,orientation:c}=$e(),p=c==="horizontal",m=s("h-[153px] w-full overflow-hidden rounded-md",p&&"lg:h-[120px] lg:w-[200px]",u==="blocked"&&"opacity-20"),g;return t?g=jsx("div",{className:s(m,"bg-gray-background-soft"),children:t}):a?g=jsx("img",{src:a,alt:o,loading:"lazy",className:s(m,"object-cover")}):g=jsx(Qe,{className:m}),jsx("div",f(l({"data-slot":"card-lesson-image",className:s("px-3 pt-3",p&&"lg:shrink-0 lg:p-0",e)},r),{children:g}))}function Ei(o){var t=o,{className:e}=t,a=d(t,["className"]);let{orientation:r}=$e();return jsx("div",l({"data-slot":"card-lesson-content",className:s("flex flex-col gap-4 px-6 pt-4",r==="horizontal"&&"lg:min-w-[12rem] lg:flex-1 lg:justify-center lg:p-0",e)},a))}function Hi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-lesson-header",className:s("flex flex-col",e)},a))}function Vi(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r}=$e();return jsx("div",l({"data-slot":"card-lesson-label",className:s("text-xs font-medium leading-xs",r==="blocked"?"text-gray-foreground-muted":"text-content-paragraph",e)},a))}function Oi(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r}=$e();return jsx("div",l({"data-slot":"card-lesson-title",className:s("line-clamp-2 text-lg font-semibold leading-lg",r==="blocked"?"text-primary-foreground-muted":"text-primary-foreground",e)},a))}function qi(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("div",f(l({"data-slot":"card-lesson-duration",className:s("flex items-center gap-1 text-sm font-medium leading-sm text-gray-foreground-muted",e)},o),{children:a}))}function zi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-lesson-icons",className:s("flex items-center gap-2.5",e)},a))}function _i(r){var n=r,{className:e,icon:a,badge:o}=n,t=d(n,["className","icon","badge"]);let{variant:i}=$e(),u=o!=null&&o!==""&&Number(o)>=2;return jsxs("div",f(l({"data-slot":"card-lesson-icon",className:s("relative flex size-10 shrink-0 items-center justify-center rounded-pill text-gray-foreground-muted [&_svg]:size-5",i==="blocked"?"bg-gray-background-soft-muted":"bg-gray-background-soft",e)},t),{children:[a,u?jsx(Re,{size:"sm",className:"absolute -right-1 -top-1 bg-gray-stroke text-primary-foreground",children:String(o)}):null]}))}function Ui(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:n,availableDate:i,orientation:u}=$e();return jsxs("div",f(l({"data-slot":"card-lesson-footer",className:s("mt-auto flex flex-wrap items-center justify-between gap-4 px-6 pb-6 pt-4",u==="horizontal"&&"lg:ml-auto lg:mt-0 lg:shrink-0 lg:justify-start lg:p-0",e)},o),{children:[n==="blocked"&&i?jsxs(de,{variant:"gray-soft",icon:jsx(Lock,{}),children:["Dispon\xEDvel em ",i]}):null,a]}))}function Gi(t){var r=t,{className:e,status:a}=r,o=d(r,["className","status"]);let n=a==="completed";return jsx(de,f(l({"data-slot":"card-lesson-status",variant:n?"success-soft":"warning-soft",icon:n?jsx(Check,{}):void 0,className:e},o),{children:n?"Conclu\xEDdo":"Iniciado"}))}function Wi(r){var n=r,{className:e,children:a,containerClassName:o}=n,t=d(n,["className","children","containerClassName"]);let{variant:i}=$e();return jsx(J,f(l({"data-slot":"card-lesson-button",variant:"regular",size:"sm",disabled:i==="blocked",containerClassName:s("ml-auto",o),className:s("rounded-full disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted",e)},t),{children:a}))}var Qr=createContext({orientation:"vertical"}),Qi=cva("flex border",{variants:{variant:{default:"rounded-lg border-secondary-stroke bg-secondary-background-soft-muted p-6",read:"rounded-lg border-gray-stroke-muted bg-surface-card p-6",compact:"rounded-xl border-gray-stroke-muted bg-surface-card p-4"},orientation:{vertical:"flex-col gap-6",horizontal:"flex-row gap-10"}},defaultVariants:{variant:"default",orientation:"vertical"}});function $i(n){var i=n,{className:e,isRead:a,variant:o,orientation:t="vertical"}=i,r=d(i,["className","isRead","variant","orientation"]);let u=a?"read":o!=null?o:"default";return jsx(Qr.Provider,{value:{orientation:t!=null?t:"vertical"},children:jsx("div",l({"data-slot":"card-news",className:s(Qi({variant:u,orientation:t}),e)},r))})}function Yi(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-body",className:s("flex flex-1 flex-col gap-6 min-[1280px]:flex-auto",e)},a))}function Ji(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-header",className:s("flex w-full flex-col items-start justify-between gap-4 md:flex-row md:items-center",e)},a))}function eu(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-tags",className:s("flex flex-wrap items-center gap-x-4 gap-y-3",e)},a))}function au(r){var n=r,{className:e,icon:a=jsx(Calendar,{}),children:o}=n,t=d(n,["className","icon","children"]);return jsxs("div",f(l({"data-slot":"card-news-date",className:s("flex shrink-0 items-center gap-1.5 text-xs font-semibold leading-xs text-primary-foreground [&>svg]:size-4",e)},t),{children:[a,o&&jsx("span",{children:o})]}))}function tu(n){var i=n,{className:e,src:a,alt:o="",children:t}=i,r=d(i,["className","src","alt","children"]);let{orientation:u}=useContext(Qr);return jsx("div",f(l({"data-slot":"card-news-image",className:s("relative overflow-hidden bg-gray-background-soft",u==="vertical"?"h-[300px] w-full rounded-lg":"hidden w-[482px] rounded-xl min-[1280px]:block",e)},r),{children:a?jsx("img",{src:a,alt:o,loading:"lazy",className:"absolute inset-0 size-full object-cover"}):t!=null?t:jsx(Qe,{className:"absolute inset-0"})}))}function ou(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-content",className:s("flex w-full flex-col gap-6",e)},a))}function ru(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-title",className:s("-mb-2 line-clamp-2 text-title-xs font-semibold leading-title-xs text-primary-foreground",e)},a))}function su(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-description",className:s("line-clamp-3 text-md leading-md text-primary-foreground",e)},a))}function lu(r){var n=r,{className:e,label:a,children:o}=n,t=d(n,["className","label","children"]);return jsxs("div",f(l({"data-slot":"card-news-resources",className:s("flex flex-col gap-2",e)},t),{children:[jsx("span",{className:"text-sm font-semibold leading-sm text-primary-foreground-muted",children:a}),jsx("div",{className:"flex flex-wrap gap-2",children:o})]}))}function nu(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx(J,f(l({"data-slot":"card-news-resource-item",variant:"outlined",size:"sm",className:s("bg-surface-card pointer-events-none",e)},o),{children:a}))}function du(e){return e.trim().split(/\s+/).slice(0,2).map(a=>{var o;return (o=a[0])!=null?o:""}).join("").toUpperCase()}function iu(u){var c=u,{className:e,src:a,alt:o,name:t,role:r,children:n}=c,i=d(c,["className","src","alt","name","role","children"]);var p;return jsx("div",f(l({"data-slot":"card-news-author",className:s("flex items-center gap-2",e)},i),{children:n!=null?n:jsxs(Fragment,{children:[jsxs(wa,{size:"md",children:[a&&jsx(Ta,{src:a,alt:(p=o!=null?o:t)!=null?p:""}),jsx(Aa,{children:t?du(t):void 0})]}),jsxs("div",{className:"flex flex-col gap-0.5",children:[r&&jsx("span",{className:"text-xs font-medium leading-xs text-secondary-foreground",children:r}),t&&jsx("span",{className:"text-sm font-semibold leading-sm text-primary-foreground",children:t})]})]})}))}function uu(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"card-news-footer",className:s("flex w-full flex-wrap items-center gap-6 gap-y-3",e)},a))}var Yr=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-sm whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-surface-card border-2 border-gray-stroke-muted enabled:hover:ring-4 data-[state=unchecked]:enabled:hover:ring-state-hover data-[state=unchecked]:enabled:hover:border-gray-stroke disabled:bg-gray-background-soft-muted data-[state=checked]:bg-primary-background-fill data-[state=checked]:border-primary-background-fill data-[state=checked]:enabled:hover:bg-primary-background-fill-emphasis data-[state=checked]:enabled:hover:border-primary-background-fill-emphasis data-[state=checked]:enabled:hover:ring-state-active disabled:data-[state=checked]:bg-gray-background-soft-muted disabled:data-[state=checked]:border-gray-stroke-muted data-[state=unchecked]:enabled:hover:border-gray-stroke data-[state=checked]:enabled:hover:bg-primary-background-fill-emphasis [&:disabled_svg]:text-gray-background-fill-muted"},size:{sm:"size-4 [&_svg]:size-3",md:"size-5 [&_svg]:size-4",lg:"size-6 [&_svg]:size-5"}},defaultVariants:{variant:"regular",size:"md"}});function gu(n){var i=n,{className:e,size:a,variant:o,uncheckIcon:t}=i,r=d(i,["className","size","variant","uncheckIcon"]);return jsx(Checkbox.Root,f(l({"data-slot":"checkbox",className:s("group peer",Yr({size:a,variant:o}),e)},r),{children:jsx(Checkbox.Indicator,{"data-slot":"checkbox-indicator",className:"relative flex items-center justify-center",children:t?jsx(RemoveMinus,{className:s("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-primary-foreground-onfill"),strokeWidth:2.6}):jsx(Check,{className:s("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-primary-foreground-onfill"),strokeWidth:2.6})})}))}var co=768;function Ea(){let[e,a]=useState(void 0);return useEffect(()=>{let o=window.matchMedia(`(max-width: ${co-1}px)`),t=()=>{a(window.innerWidth<co);};return o.addEventListener("change",t),a(window.innerWidth<co),()=>o.removeEventListener("change",t)},[]),!!e}function po(a){var e=d(a,[]);return jsx(DropdownMenu.Root,l({"data-slot":"dropdown-menu"},e))}function Cu(a){var e=d(a,[]);return jsx(DropdownMenu.Portal,l({"data-slot":"dropdown-menu-portal"},e))}function mo(a){var e=d(a,[]);return jsx(DropdownMenu.Trigger,l({className:s("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function go(r){var n=r,{className:e,sideOffset:a=4,side:o}=n,t=d(n,["className","sideOffset","side"]);let i=Ea();return jsx(DropdownMenu.Portal,{children:jsx(DropdownMenu.Content,l({"data-slot":"dropdown-menu-content",sideOffset:a,side:i?"bottom":o,className:s("max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 max-h-screen min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-surface-elevated p-3 pb-2 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t))})}function Lu(a){var e=d(a,[]);return jsx(DropdownMenu.Group,l({"data-slot":"dropdown-menu-group"},e))}function pt(r){var n=r,{className:e,inset:a,variant:o="default"}=n,t=d(n,["className","inset","variant"]);return jsx(DropdownMenu.Item,l({"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:s("data-[variant=destructive]:*:[svg]:!text-destructive outline-hidden relative flex cursor-pointer select-none items-center gap-2.5 rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-red-foreground data-[disabled]:opacity-50 data-[variant=destructive]:hover:bg-red-background-soft-emphasis dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e)},t))}function vu(r){var n=r,{className:e,children:a,checked:o}=n,t=d(n,["className","children","checked"]);return jsxs(DropdownMenu.CheckboxItem,f(l({"data-slot":"dropdown-menu-checkbox-item",className:s("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-secondary-foreground",e),checked:o},t),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function mt(a){var e=d(a,[]);return jsx(DropdownMenu.RadioGroup,l({"data-slot":"dropdown-menu-radio-group"},e))}function xo(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsxs(DropdownMenu.RadioItem,f(l({"data-slot":"dropdown-menu-radio-item",className:s("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-3 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 aria-checked:text-secondary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:text-secondary-foreground",e)},o),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function ho(t){var r=t,{className:e,inset:a}=r,o=d(r,["className","inset"]);return jsx(DropdownMenu.Label,l({"data-slot":"dropdown-menu-label","data-inset":a,className:s("px-2 py-3 text-xs font-medium text-gray-foreground-muted data-[inset]:pl-8 [&:not(:first-child)]:mt-2.5",e)},o))}function bo(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(DropdownMenu.Separator,l({"data-slot":"dropdown-menu-separator",className:s("-mx-3 my-2 h-px bg-gray-stroke-muted",e)},a))}function Iu(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",l({"data-slot":"dropdown-menu-shortcut",className:s("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function ku(a){var e=d(a,[]);return jsx(DropdownMenu.Sub,l({"data-slot":"dropdown-menu-sub"},e))}function yu(r){var n=r,{className:e,inset:a,children:o}=n,t=d(n,["className","inset","children"]);return jsxs(DropdownMenu.SubTrigger,f(l({"data-slot":"dropdown-menu-sub-trigger","data-inset":a,className:s("flex cursor-pointer select-none items-center rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground outline-0 focus:outline-0 data-[inset]:pl-8",e)},t),{children:[o,jsx(ChevronRight,{className:"ml-auto size-3"})]}))}function Pu(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(DropdownMenu.SubContent,l({"data-slot":"dropdown-menu-sub-content",className:s("origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border bg-surface-elevated p-1 text-gray-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},a))}var vo=createContext({invalid:false}),ds={start:1950,end:new Date().getFullYear()};function ht(e,a){let o=e.getFullYear();return o<a.start?new Date(a.start,0,1):o>a.end?new Date(a.end,11,31):e}var Io=cva(["shadow-xs flex w-full items-center justify-between gap-2 rounded-md border-2 border-gray-stroke-muted bg-surface-card px-4 py-3 text-left text-gray-foreground outline-none transition-[color,box-shadow] enabled:hover:border-gray-stroke-emphasis enabled:hover:ring-[3px] enabled:hover:ring-state-focus disabled:pointer-events-none disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted data-[invalid]:border-feedback-error-stroke data-[invalid]:enabled:hover:border-feedback-error-stroke data-[invalid]:enabled:hover:ring-[3px] data-[invalid]:enabled:hover:ring-state-error","group-has-[[data-slot=date-picker-label]]:data-[placeholder]:text-transparent"],{variants:{size:{lg:["h-12 max-h-12 text-md","max-sm:h-14 max-sm:text-base"],md:["h-10 max-h-10 text-sm","max-sm:h-11"]}},defaultVariants:{size:"lg"}});function Au(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("group relative flex flex-col gap-2",e),"data-slot":"date-picker-wrapper"},a))}function Du(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("label",f(l({className:s("pointer-events-none absolute start-3 top-0 z-10 origin-left -translate-y-1/2 bg-surface-card px-1 text-xs font-medium text-gray-foreground transition-all duration-200 ease-out","group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:start-4 group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:top-6 group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:bg-transparent group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:px-0 group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:text-md group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:font-normal group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:text-gray-foreground max-sm:group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:top-7","group-has-[[data-slot=date-picker-trigger][data-size=md]]:group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:top-5 group-has-[[data-slot=date-picker-trigger][data-size=md]]:group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:!text-sm max-sm:group-has-[[data-slot=date-picker-trigger][data-size=md]]:group-has-[[data-slot=date-picker-trigger][data-placeholder]:not([data-state=open])]:top-[22px]",e),"data-slot":"date-picker-label"},o),{children:a}))}function Ru(o){var t=o,{className:e}=t,a=d(t,["className"]);let{invalid:r}=useContext(vo);return jsx("span",l({className:s("-mt-1 text-xs",r?"text-feedback-error-foreground":"text-gray-foreground",e),"data-slot":"date-picker-text"},a))}function fa(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Ha(e,a){return e.getFullYear()===a.getFullYear()&&e.getMonth()===a.getMonth()&&e.getDate()===a.getDate()}function bt(e,a){return new Date(e.getFullYear(),e.getMonth()+a,1)}function Ct(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Lo(e,a){return fa(e).getTime()<fa(a).getTime()}function is(e,a){return fa(e).getTime()>fa(a).getTime()}function Va(e,a,o){return !!(a&&Lo(e,a)||o&&is(e,o))}function us(e){return new Intl.DateTimeFormat("pt-BR",{year:"numeric",month:"2-digit",day:"2-digit"}).format(e)}var fs=20,cs=18,es=8,as=8,Mu=290,Nu=330;function Bu(e,a){let t=window.innerHeight-e.bottom<a,r=window.innerWidth,i=window.matchMedia("(max-width: 639px)").matches?Math.min(512,r-16):Math.min(320,r),u=as,c=r-i-as,p=e.left;return p<u?p=u:p>c&&(p=c),f(l({position:"fixed"},t?{bottom:window.innerHeight-e.top+es}:{top:e.bottom+es}),{left:p,width:i,maxWidth:360})}function ps({open:e,estimatedHeight:a,triggerRef:o,rootRef:t}){let[r,n]=useState(null),i=useRef(null),u=useCallback(()=>{var m,g,x;let p=(x=(m=o.current)==null?void 0:m.getBoundingClientRect())!=null?x:(g=t.current)==null?void 0:g.getBoundingClientRect();p&&n(Bu(p,a));},[a,t,o]),c=useCallback(()=>{i.current===null&&(i.current=window.requestAnimationFrame(()=>{i.current=null,u();}));},[u]);return useEffect(()=>{if(!e){n(null);return}return window.addEventListener("scroll",c,{passive:true,capture:true}),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",c,{capture:true}),window.removeEventListener("resize",c),i.current!==null&&(window.cancelAnimationFrame(i.current),i.current=null);}},[e,c]),{style:r,updatePosition:u}}function Fu(_){var N=_,{value:e,defaultValue:a=null,onValueChange:o,placeholder:t="Pick a date",disabled:r,min:n,max:i,format:u=us,className:c,inputClassName:p,contentClassName:m,size:g="lg",yearRange:x=ds,showYearSelector:v=true,invalid:C=false,children:y}=N,T=d(N,["value","defaultValue","onValueChange","placeholder","disabled","min","max","format","className","inputClassName","contentClassName","size","yearRange","showYearSelector","invalid","children"]);let P=e!==void 0,[K,z]=useState(a),b=P?e:K,[L,k]=useState(false),[E,B]=useState(()=>Ct(ht(b!=null?b:new Date,x))),O=useRef(null),ae=useRef(null),we=useRef(null),Le=useId(),{style:ge,updatePosition:Ge}=ps({open:L,estimatedHeight:Mu,triggerRef:ae,rootRef:O}),xe=useCallback(R=>{P||z(R),o==null||o(R);},[P,o]);useEffect(()=>{L&&B(Ct(ht(b!=null?b:new Date,x)));},[L,b,x]),useEffect(()=>{if(!L)return;let R=V=>{let ee=O.current,Pe=we.current;ee&&V.target instanceof Node&&!ee.contains(V.target)&&!(Pe!=null&&Pe.contains(V.target))&&k(false);},I=V=>{V.key==="Escape"&&k(false);};return window.addEventListener("pointerdown",R,{capture:true}),window.addEventListener("keydown",I),()=>{window.removeEventListener("pointerdown",R,{capture:true}),window.removeEventListener("keydown",I);}},[L]);let ta=()=>{if(L){k(false);return}Ge(),k(true);},ye=fa(new Date),le=E.getFullYear(),ce=E.getMonth(),oa=new Date(le,ce,1),h=new Date(le,ce+1,0).getDate(),F=oa.getDay(),w=b?u(b):"",D=Array.from({length:12},(R,I)=>({value:I,label:new Intl.DateTimeFormat("pt-BR",{month:"long"}).format(new Date(2e3,I,1))})),q=Array.from({length:x.end-x.start+1},(R,I)=>x.start+I),$=R=>{B(new Date(le,R,1));},Y=R=>{B(new Date(R,ce,1));};return jsxs(vo.Provider,{value:useMemo(()=>({invalid:C}),[C]),children:[jsxs("div",{ref:O,className:s("relative inline-flex w-full",c),children:[jsxs("button",f(l(f(l({ref:ae,type:"button",disabled:r,"aria-haspopup":"dialog","aria-expanded":L,"aria-controls":L?Le:void 0,"data-invalid":C||void 0,"data-slot":"date-picker-trigger","data-size":g,"data-state":L?"open":"closed"},!w&&{"data-placeholder":""}),{className:s(Io({size:g}),L&&"border-gray-stroke-emphasis ring-[3px] ring-state-focus",w&&!C&&"border-gray-stroke-emphasis ring-[3px] ring-state-focus",w&&C&&"border-feedback-error-stroke ring-[3px] ring-state-error",p),onClick:ta}),T),{children:[jsx("span",{className:"truncate",children:w||t}),jsx(Calendar,{size:g==="md"?cs:fs,strokeWidth:1.6,className:"shrink-0 !text-gray-foreground","aria-hidden":"true"})]})),L&&createPortal(jsxs("div",{ref:we,id:Le,role:"dialog","aria-label":"Calend\xE1rio","data-slot":"date-picker-content",style:ge!=null?ge:void 0,className:s("z-50 overflow-hidden rounded-md border border-gray-stroke-muted bg-surface-elevated p-3 shadow-md",m),children:[jsxs("div",{className:"mb-3 flex items-center justify-center gap-2",children:[jsx("button",{type:"button",className:"inline-flex size-8 items-center justify-center rounded-md hover:bg-secondary-background-soft-emphasis max-sm:size-10",onClick:()=>B(R=>bt(R,-1)),"aria-label":"M\xEAs anterior",children:jsx(ChevronLeftMd,{size:18,strokeWidth:1.8})}),jsxs("div",{className:"flex items-center gap-2",children:[jsxs("div",{className:"relative",children:[jsx("select",{value:ce,onChange:R=>$(Number(R.target.value)),className:"min-w-[7rem] appearance-none rounded-md border border-gray-stroke-muted bg-surface-card py-1 pl-2 pr-7 text-sm font-medium capitalize text-gray-foreground outline-none hover:border-gray-stroke-emphasis focus:border-gray-stroke-emphasis focus:ring-2 focus:ring-state-focus max-sm:min-w-[8rem] max-sm:py-2 max-sm:text-base","aria-label":"Selecionar m\xEAs",children:D.map(R=>jsx("option",{value:R.value,className:"capitalize",children:R.label},R.value))}),jsx(ChevronDown,{size:14,strokeWidth:1.8,className:"pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-gray-foreground","aria-hidden":true})]}),v?jsxs("div",{className:"relative",children:[jsx("select",{value:le,onChange:R=>Y(Number(R.target.value)),className:"min-w-[5rem] appearance-none rounded-md border border-gray-stroke-muted bg-surface-card py-1 pl-2 pr-7 text-sm font-medium text-gray-foreground outline-none hover:border-gray-stroke-emphasis focus:border-gray-stroke-emphasis focus:ring-2 focus:ring-state-focus max-sm:min-w-[5.5rem] max-sm:py-2 max-sm:text-base","aria-label":"Selecionar ano",children:q.map(R=>jsx("option",{value:R,children:R},R))}),jsx(ChevronDown,{size:14,strokeWidth:1.8,className:"pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-gray-foreground","aria-hidden":true})]}):jsx("div",{className:"text-sm font-semibold text-gray-foreground",children:le})]}),jsx("button",{type:"button",className:"inline-flex size-8 items-center justify-center rounded-md hover:bg-secondary-background-soft-emphasis max-sm:size-10",onClick:()=>B(R=>bt(R,1)),"aria-label":"Pr\xF3ximo m\xEAs",children:jsx(ChevronRightMd,{size:18,strokeWidth:1.8})})]}),jsxs("div",{className:"grid grid-cols-7 gap-1 text-center text-xs font-medium text-gray-foreground-muted max-sm:text-sm",children:[jsx("div",{children:"Dom"}),jsx("div",{children:"Seg"}),jsx("div",{children:"Ter"}),jsx("div",{children:"Qua"}),jsx("div",{children:"Qui"}),jsx("div",{children:"Sex"}),jsx("div",{children:"S\xE1b"})]}),jsxs("div",{className:"mt-2 grid grid-cols-7 gap-1",children:[Array.from({length:F}).map((R,I)=>jsx("div",{},`empty-${I}`)),Array.from({length:h}).map((R,I)=>{let V=new Date(le,ce,I+1),ee=b?Ha(V,b):false,Pe=Ha(V,ye),Oe=r||Va(V,n,i);return jsx("button",{type:"button",disabled:Oe,onClick:()=>{xe(V),k(false);},className:s("inline-flex h-9 w-full items-center justify-center rounded-md text-sm font-medium outline-none transition-colors hover:bg-secondary-background-soft-emphasis disabled:pointer-events-none disabled:opacity-50 max-sm:h-11 max-sm:text-base",Pe&&"ring-1 ring-gray-stroke-emphasis",ee&&"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis"),"aria-pressed":ee,children:I+1},V.toISOString())})]}),jsxs("div",{className:"mt-3 flex items-center justify-between gap-2",children:[jsx("button",{type:"button",className:"rounded-md px-2 py-1 text-xs font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis max-sm:px-3 max-sm:py-2 max-sm:text-sm",onClick:()=>{xe(ye),k(false);},disabled:r||Va(ye,n,i),children:"Hoje"}),jsx("button",{type:"button",className:"rounded-md px-2 py-1 text-xs font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis max-sm:px-3 max-sm:py-2 max-sm:text-sm",onClick:()=>xe(null),disabled:r||!b,children:"Limpar"})]})]}),document.body)]}),y]})}function Eu(_){var N=_,{value:e,defaultValue:a=null,onValueChange:o,placeholder:t="Selecionar per\xEDodo",disabled:r,min:n,max:i,format:u=us,className:c,inputClassName:p,contentClassName:m,size:g="lg",yearRange:x=ds,showYearSelector:v=true,invalid:C=false,children:y}=N,T=d(N,["value","defaultValue","onValueChange","placeholder","disabled","min","max","format","className","inputClassName","contentClassName","size","yearRange","showYearSelector","invalid","children"]);let P=e!==void 0,[K,z]=useState(a),b=P?e:K,[L,k]=useState(false),[E,B]=useState(()=>{var I,V;return Ct(ht((V=(I=b==null?void 0:b.start)!=null?I:b==null?void 0:b.end)!=null?V:new Date,x))}),O=useRef(null),ae=useRef(null),we=useRef(null),Le=useId(),{style:ge,updatePosition:Ge}=ps({open:L,estimatedHeight:Nu,triggerRef:ae,rootRef:O}),xe=useCallback(I=>{P||z(I),o==null||o(I);},[P,o]);useEffect(()=>{var I,V;L&&B(Ct(ht((V=(I=b==null?void 0:b.start)!=null?I:b==null?void 0:b.end)!=null?V:new Date,x)));},[L,b,x]),useEffect(()=>{if(!L)return;let I=ee=>{let Pe=O.current,Oe=we.current;Pe&&ee.target instanceof Node&&!Pe.contains(ee.target)&&!(Oe!=null&&Oe.contains(ee.target))&&k(false);},V=ee=>{ee.key==="Escape"&&k(false);};return window.addEventListener("pointerdown",I,{capture:true}),window.addEventListener("keydown",V),()=>{window.removeEventListener("pointerdown",I,{capture:true}),window.removeEventListener("keydown",V);}},[L]);let ta=()=>{if(L){k(false);return}Ge(),k(true);},ye=fa(new Date),le=E.getFullYear(),ce=E.getMonth(),oa=new Date(le,ce,1),h=new Date(le,ce+1,0).getDate(),F=oa.getDay(),w=Array.from({length:12},(I,V)=>({value:V,label:new Intl.DateTimeFormat("pt-BR",{month:"long"}).format(new Date(2e3,V,1))})),D=Array.from({length:x.end-x.start+1},(I,V)=>x.start+V),q=I=>{B(new Date(le,I,1));},$=I=>{B(new Date(I,ce,1));},Y=I=>{r||Va(I,n,i)||(!b||!b.start||b.end?xe({start:I,end:null}):(Lo(I,b.start)?xe({start:I,end:b.start}):xe({start:b.start,end:I}),k(false)));},R=b!=null&&b.start&&(b!=null&&b.end)?`${u(b.start)} - ${u(b.end)}`:b!=null&&b.start?u(b.start):"";return jsxs(vo.Provider,{value:useMemo(()=>({invalid:C}),[C]),children:[jsxs("div",{ref:O,className:s("relative inline-flex w-full",c),children:[jsxs("button",f(l(f(l({ref:ae,type:"button",disabled:r,"aria-haspopup":"dialog","aria-expanded":L,"aria-controls":L?Le:void 0,"data-invalid":C||void 0,"data-slot":"date-picker-trigger","data-size":g,"data-state":L?"open":"closed"},!R&&{"data-placeholder":""}),{className:s(Io({size:g}),L&&"border-gray-stroke-emphasis ring-[3px] ring-state-focus",R&&!C&&"border-gray-stroke-emphasis ring-[3px] ring-state-focus",R&&C&&"border-feedback-error-stroke ring-[3px] ring-state-error",p),onClick:ta}),T),{children:[jsx("span",{className:"truncate",children:R||t}),jsx(Calendar,{size:g==="md"?cs:fs,strokeWidth:1.6,className:"shrink-0 !text-gray-foreground","aria-hidden":"true"})]})),L&&createPortal(jsxs("div",{ref:we,id:Le,role:"dialog","aria-label":"Calend\xE1rio","data-slot":"date-picker-content",style:ge!=null?ge:void 0,className:s("z-50 overflow-hidden rounded-md border border-gray-stroke-muted bg-surface-elevated p-3 shadow-md",m),children:[jsxs("div",{className:"mb-3 flex items-center justify-center gap-2",children:[jsx("button",{type:"button",className:"inline-flex size-8 items-center justify-center rounded-md hover:bg-secondary-background-soft-emphasis max-sm:size-10",onClick:()=>B(I=>bt(I,-1)),"aria-label":"M\xEAs anterior",children:jsx(ChevronLeftMd,{size:18,strokeWidth:1.8})}),jsxs("div",{className:"flex items-center gap-2",children:[jsxs("div",{className:"relative",children:[jsx("select",{value:ce,onChange:I=>q(Number(I.target.value)),className:"min-w-[7rem] appearance-none rounded-md border border-gray-stroke-muted bg-surface-card py-1 pl-2 pr-7 text-sm font-medium capitalize text-gray-foreground outline-none hover:border-gray-stroke-emphasis focus:border-gray-stroke-emphasis focus:ring-2 focus:ring-state-focus max-sm:min-w-[8rem] max-sm:py-2 max-sm:text-base","aria-label":"Selecionar m\xEAs",children:w.map(I=>jsx("option",{value:I.value,className:"capitalize",children:I.label},I.value))}),jsx(ChevronDown,{size:14,strokeWidth:1.8,className:"pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-gray-foreground","aria-hidden":true})]}),v?jsxs("div",{className:"relative",children:[jsx("select",{value:le,onChange:I=>$(Number(I.target.value)),className:"min-w-[5rem] appearance-none rounded-md border border-gray-stroke-muted bg-surface-card py-1 pl-2 pr-7 text-sm font-medium text-gray-foreground outline-none hover:border-gray-stroke-emphasis focus:border-gray-stroke-emphasis focus:ring-2 focus:ring-state-focus max-sm:min-w-[5.5rem] max-sm:py-2 max-sm:text-base","aria-label":"Selecionar ano",children:D.map(I=>jsx("option",{value:I,children:I},I))}),jsx(ChevronDown,{size:14,strokeWidth:1.8,className:"pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-gray-foreground","aria-hidden":true})]}):jsx("div",{className:"text-sm font-semibold text-gray-foreground",children:le})]}),jsx("button",{type:"button",className:"inline-flex size-8 items-center justify-center rounded-md hover:bg-secondary-background-soft-emphasis max-sm:size-10",onClick:()=>B(I=>bt(I,1)),"aria-label":"Pr\xF3ximo m\xEAs",children:jsx(ChevronRightMd,{size:18,strokeWidth:1.8})})]}),jsxs("div",{className:"grid grid-cols-7 gap-1 text-center text-xs font-medium text-gray-foreground-muted max-sm:text-sm",children:[jsx("div",{children:"Dom"}),jsx("div",{children:"Seg"}),jsx("div",{children:"Ter"}),jsx("div",{children:"Qua"}),jsx("div",{children:"Qui"}),jsx("div",{children:"Sex"}),jsx("div",{children:"S\xE1b"})]}),jsxs("div",{className:"mt-2 grid grid-cols-7 gap-1",children:[Array.from({length:F}).map((I,V)=>jsx("div",{},`empty-${V}`)),Array.from({length:h}).map((I,V)=>{let ee=new Date(le,ce,V+1),Pe=(b==null?void 0:b.start)&&Ha(ee,b.start),Oe=(b==null?void 0:b.end)&&Ha(ee,b.end),Pl=(b==null?void 0:b.start)&&(b==null?void 0:b.end)&&is(ee,b.start)&&Lo(ee,b.end),Sl=Ha(ee,ye),wl=r||Va(ee,n,i);return jsx("button",{type:"button",disabled:wl,onClick:()=>Y(ee),className:s("inline-flex h-9 w-full items-center justify-center rounded-md text-sm font-medium outline-none transition-colors hover:bg-secondary-background-soft-emphasis disabled:pointer-events-none disabled:opacity-50",Sl&&"ring-1 ring-gray-stroke-emphasis",Pl&&"bg-primary-background-soft",(Pe||Oe)&&"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis"),"aria-pressed":Pe||Oe||void 0,children:V+1},ee.toISOString())})]}),jsxs("div",{className:"mt-3 flex items-center justify-between gap-2",children:[jsx("button",{type:"button",className:"rounded-md px-2 py-1 text-xs font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis",onClick:()=>{xe({start:ye,end:ye}),k(false);},disabled:r||Va(ye,n,i),children:"Hoje"}),jsx("button",{type:"button",className:"rounded-md px-2 py-1 text-xs font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis",onClick:()=>xe(null),disabled:r||!b,children:"Limpar"})]})]}),document.body)]}),y]})}var za={p:{full:"Priorit\xE1rio",short:"Priorit\xE1rio",icon:IndexBarPriority},h:{full:"Alta preval\xEAncia",short:"Alta",icon:IndexBarHigh},m:{full:"M\xE9dia preval\xEAncia",short:"M\xE9dia",icon:IndexBarMedium},l:{full:"Baixa preval\xEAncia",short:"Baixa",icon:IndexBarLow}},xs=cva("inline-flex w-fit shrink-0 items-center justify-center overflow-hidden whitespace-nowrap font-semibold transition-colors",{variants:{variant:{regular:"rounded-md bg-primary-background-fill text-primary-foreground-onfill",soft:"rounded-md bg-primary-background-soft-muted text-primary-foreground",basic:"bg-transparent text-primary-foreground"},size:{sm:"gap-1.5 text-xs leading-xs",md:"gap-2 text-sm leading-sm"}},compoundVariants:[{variant:["regular","soft"],size:"sm",class:"px-2 py-1"},{variant:["regular","soft"],size:"md",class:"px-2.5 py-1.5"}],defaultVariants:{variant:"regular",size:"md"}}),hs=cva("relative shrink-0",{variants:{size:{sm:"size-4",md:"size-5"}},defaultVariants:{size:"md"}});function Lt(n){var i=n,{className:e,level:a,size:o,baseOpacity:t="40"}=i,r=d(i,["className","level","size","baseOpacity"]);let u=za[a];if(!u)return null;let c=u.icon,p=a!=="p";return jsxs("span",f(l({"data-slot":"index-level-icon",className:s(hs({size:o}),e)},r),{children:[p&&jsx(IndexBarPriority,{"aria-hidden":true,size:"100%",className:s("absolute inset-0",t==="40"?"opacity-40":"opacity-20")}),jsx(c,{"aria-hidden":true,size:"100%",className:"absolute inset-0"})]}))}function zu(x){var v=x,{className:e,variant:a,size:o,level:t,shortName:r=false,label:n,hideLabel:i=false,iconClassName:u,labelClassName:c,asChild:p=false,children:m}=v,g=d(v,["className","variant","size","level","shortName","label","hideLabel","iconClassName","labelClassName","asChild","children"]);var N;let C=za[t];if(!C)return null;let y=p?Slot.Slot:"span",T=n!=null?n:r?C.short:C.full,_=(N=g["aria-label"])!=null?N:i&&!m?typeof T=="string"?T:C.full:void 0;return jsxs(y,f(l({"data-slot":"index-level","data-level":t,className:s(xs({variant:a,size:o}),e)},g),{"aria-label":_,children:[jsx(Lt,{level:t,size:o,baseOpacity:a==="regular"||!a?"40":"20",className:u}),!i&&jsx("span",{"data-slot":"index-level-label",className:s("text-center",c),children:T}),m&&jsx("span",{"data-slot":"index-level-extra",children:m})]}))}var Gu=["p","h"],Cs={default:{text:"text-primary-foreground",ring:"text-primary-background-fill",soft:{sm:"bg-gray-background-soft-muted",md:"bg-gray-background-soft-muted"}},cm:{text:"text-cm-foreground",ring:"text-cm-background-fill",soft:{sm:"bg-cm-background-soft",md:"bg-cm-background-soft-emphasis"}},go:{text:"text-go-foreground",ring:"text-go-background-fill",soft:{sm:"bg-go-background-soft",md:"bg-go-background-soft-emphasis"}},cir:{text:"text-cir-foreground",ring:"text-cir-background-fill",soft:{sm:"bg-cir-background-soft",md:"bg-cir-background-soft-emphasis"}},ped:{text:"text-ped-foreground",ring:"text-ped-background-fill",soft:{sm:"bg-ped-background-soft",md:"bg-ped-background-soft-emphasis"}},prev:{text:"text-prev-foreground",ring:"text-prev-background-fill",soft:{sm:"bg-prev-background-soft",md:"bg-prev-background-soft-emphasis"}}},Ls=cva("relative inline-flex w-fit shrink-0 items-center justify-center whitespace-nowrap rounded-md font-semibold",{variants:{size:{sm:"gap-1.5 px-2 py-1 text-xs leading-xs",md:"gap-2 px-2.5 py-1.5 text-sm leading-sm"}},defaultVariants:{size:"md"}}),Wu=["[-webkit-mask-image:linear-gradient(#fff_0_0),linear-gradient(#fff_0_0)]","[-webkit-mask-clip:content-box,border-box]","[-webkit-mask-composite:xor]","[mask-image:linear-gradient(#fff_0_0),linear-gradient(#fff_0_0)]","[mask-clip:content-box,border-box]","[mask-composite:exclude]"];function Xu(C){var y=C,{className:e,size:a,level:o,specialty:t="default",shortName:r=false,label:n,hideLabel:i=false,animated:u=true,iconClassName:c,labelClassName:p,ringClassName:m,asChild:g=false,children:x}=y,v=d(y,["className","size","level","specialty","shortName","label","hideLabel","animated","iconClassName","labelClassName","ringClassName","asChild","children"]);var k,E;let T=za[o];if(!T)return null;let _=g?Slot.Slot:"span",N=a!=null?a:"md",P=t.toLowerCase(),K=(k=Cs[P])!=null?k:Cs.default,z=Gu.includes(o),b=n!=null?n:r?T.short:T.full,L=(E=v["aria-label"])!=null?E:i&&!x?typeof b=="string"?b:T.full:void 0;return jsxs(_,f(l({"data-slot":"index-level-animated","data-level":o,"data-specialty":P,className:s(Ls({size:a}),K.text,z?"bg-surface-card":K.soft[N],e)},v),{"aria-label":L,children:[z&&jsx("span",{"aria-hidden":true,"data-slot":"index-level-animated-ring",className:s("pointer-events-none absolute inset-[-4px] rounded-[12px] p-[2px]",Wu,K.ring,u?"animate-index-level-ring-settle motion-reduce:animate-none motion-reduce:opacity-10":"opacity-10",m),children:jsx("span",{className:"absolute left-1/2 top-1/2 aspect-square w-[200%] -translate-x-1/2 -translate-y-1/2",children:jsx("span",{className:s("block size-full [background:linear-gradient(to_bottom,currentColor_0%,transparent_100%)]",u&&"animate-index-level-ring-spin motion-reduce:animate-none")})})}),jsx(Lt,{level:o,size:a,baseOpacity:"20",className:c}),!i&&jsx("span",{"data-slot":"index-level-animated-label",className:s("text-center",p),children:b}),x&&jsx("span",{"data-slot":"index-level-animated-extra",children:x})]}))}var tf=24,of=20,rf=1.6,Is=10,ks=8;function sf(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("group relative flex flex-col gap-2",e),"data-slot":"input-wrapper"},a))}function lf(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("relative",e),"data-slot":"input-field"},a))}function nf(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("label",f(l({className:s("pointer-events-none absolute start-3 top-0 z-10 origin-left -translate-y-1/2 bg-surface-card px-1 text-xs font-medium text-gray-foreground transition-all duration-200 ease-out","group-has-[[data-slot=input][disabled]]:bg-transparent","group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:start-4 group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:top-6 group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:bg-transparent group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:px-0 group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:text-md group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:font-normal","group-has-[[data-slot=input][data-empty]:not(:focus)]:start-4 group-has-[[data-slot=input][data-empty]:not(:focus)]:top-6 group-has-[[data-slot=input][data-empty]:not(:focus)]:bg-transparent group-has-[[data-slot=input][data-empty]:not(:focus)]:px-0 group-has-[[data-slot=input][data-empty]:not(:focus)]:text-md group-has-[[data-slot=input][data-empty]:not(:focus)]:font-normal","group-has-[[data-slot=input][data-size=md]]:group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:top-5 group-has-[[data-slot=input][data-size=md]]:group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:!text-sm","group-has-[[data-slot=input][data-size=md]]:group-has-[[data-slot=input][data-empty]:not(:focus)]:top-5 group-has-[[data-slot=input][data-empty]:not(:focus)]:!text-sm","group-has-[[data-slot=input][aria-invalid=true]]:text-feedback-error-foreground","group-has-[[data-slot=input-start-icon]]:group-has-[[data-slot=input]:placeholder-shown:not(:focus)]:start-12","group-has-[[data-slot=input-start-icon]]:group-has-[[data-slot=input][data-empty]:not(:focus)]:start-12",e),"data-slot":"input-label"},o),{children:a}))}function df(t){var r=t,{className:e,invalid:a=false}=r,o=d(r,["className","invalid"]);return jsx("span",l({className:s("-mt-1 text-xs",a?"text-feedback-error-foreground":"text-gray-foreground",e),"data-slot":"input-text"},o))}function ko(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("group/adornment relative flex w-full",e),"data-slot":"input-adornment"},a))}function yt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",l({className:s("pointer-events-none absolute start-4 top-1/2 z-10 flex -translate-y-1/2 items-center pr-3 text-gray-foreground",e),"data-slot":"input-start-icon"},a))}function yo(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",l({className:s("absolute end-4 top-1/2 z-10 flex -translate-y-1/2 items-center text-gray-foreground",e),"data-slot":"input-end-icon"},a))}var It=cva(["shadow-xs w-full min-w-0 rounded-md border-2 border-gray-stroke-muted bg-surface-card px-4 py-3 text-gray-foreground outline-none transition-[color,box-shadow] selection:bg-secondary-background-soft-emphasis selection:text-gray-foreground placeholder:text-gray-foreground-emphasis hover:border-gray-stroke-emphasis hover:ring-[3px] hover:ring-state-focus disabled:cursor-default disabled:bg-gray-background-soft-muted disabled:placeholder:text-gray-foreground-muted disabled:hover:border-gray-stroke-muted disabled:hover:ring-0","focus-visible:border-gray-stroke-emphasis focus-visible:ring-[3px] focus-visible:ring-state-focus","aria-[invalid]:border-feedback-error-stroke aria-[invalid]:hover:ring-state-error aria-[invalid]:focus-visible:ring-state-error","aria-[invalid]:[&:not(:placeholder-shown):not(:disabled)]:border-feedback-error-stroke aria-[invalid]:[&:not(:placeholder-shown):not(:disabled)]:ring-[3px] aria-[invalid]:[&:not(:placeholder-shown):not(:disabled)]:ring-state-error","group-has-[[data-slot=input-label]]:py-3 group-has-[[data-slot=input-label]]:placeholder:text-transparent","[&:not(:placeholder-shown):not(:disabled)]:border-gray-stroke-emphasis [&:not(:placeholder-shown):not(:disabled)]:ring-[3px] [&:not(:placeholder-shown):not(:disabled)]:ring-state-focus","group-has-[[data-slot=input-end-icon]]/adornment:pr-10"],{variants:{size:{lg:["h-12 max-h-12 text-md","group-has-[[data-slot=input-label]]:h-14","group-has-[[data-slot=input-start-icon]]/adornment:pl-[48px]"],md:["h-10 max-h-10 text-sm","group-has-[[data-slot=input-label]]:h-11","group-has-[[data-slot=input-start-icon]]/adornment:pl-[44px]"]}},defaultVariants:{size:"lg"}}),uf={email:jsx(Mail,{})},ff={};function pa(e,a="lg"){return cloneElement(e,{size:a==="md"?of:tf,strokeWidth:rf})}function Ps(n){var i=n,{className:e,invalid:a=false,size:o="lg",disabled:t}=i,r=d(i,["className","invalid","size","disabled"]);let[u,c]=useState(false);return jsxs(ko,{children:[jsx(yt,{children:pa(jsx(Lock,{}),o)}),jsx("input",l({type:u?"text":"password","data-slot":"input","data-size":o,disabled:t,className:s(It({size:o,className:e})),"aria-invalid":a||r["aria-invalid"]?true:void 0},r)),jsx(yo,{children:jsx("button",{type:"button",tabIndex:-1,disabled:t,onClick:()=>c(p=>!p),className:s("text-gray-foreground transition-colors hover:text-gray-foreground-emphasis disabled:cursor-default disabled:opacity-50"),"data-invalid":a,"aria-label":u?"Hide password":"Show password",children:pa(u?jsx(Hide,{}):jsx(Show,{}),o)})})]})}function Ss(m){var g=m,{className:e,invalid:a=false,size:o="lg",iconLeft:t,min:r,value:n,defaultValue:i,onChange:u,disabled:c}=g,p=d(g,["className","invalid","size","iconLeft","min","value","defaultValue","onChange","disabled"]);let x=n!==void 0,[v,C]=useState(()=>i!=null?i:""),y=useRef(null),T=x?n===""?"":String(n):v,_=T===""?NaN:Number(T),N=r!==void 0&&Number(r)<0,P=useCallback(k=>{let E=r!==void 0&&Number(r)<0,B=k.replace(/[^\d.-]/g,"");E?B=(B.startsWith("-")?"-":"")+B.replace(/-/g,""):B=B.replace(/-/g,"");let O=B.indexOf(".");return O===-1?B:B.slice(0,O+1)+B.slice(O+1).replace(/\./g,"")},[r]),K=useCallback(k=>{let E=P(k.target.value);if(E===k.target.value)x?u==null||u(k):(C(E),u==null||u(f(l({},k),{target:f(l({},k.target),{value:E})})));else {let B=f(l({},k),{target:f(l({},k.target),{value:E})});x||C(E),u==null||u(B);}},[x,u,P]),z=r!==void 0?Number(r):void 0,b=useCallback(k=>{let B=(Number.isNaN(_)?z!=null?z:0:_)+k;return z!==void 0&&B<z?z:B},[_,z]),L=useCallback(k=>{let E=b(k),B=String(E),O=y.current,we={type:"change",target:O?{value:B,name:O.name,id:O.id,form:O.form,type:O.type}:{value:B},currentTarget:O,bubbles:true,cancelable:false,nativeEvent:{}};x||C(B),u==null||u(we);},[b,x,u]);return jsxs(ko,{children:[t!=null&&jsx(yt,{children:pa(t,o)}),jsx("input",l({ref:y,type:"text",inputMode:"decimal",pattern:N?"-?[0-9]*":"[0-9]*","data-slot":"input","data-size":o,"data-empty":T===""?"":void 0,min:r,value:T,onChange:K,disabled:c,className:s(It({size:o}),"pr-12","[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",e),"aria-invalid":a||p["aria-invalid"]?true:void 0},p)),jsxs("div",{className:"absolute end-0 top-0 flex h-full flex-col items-center justify-center gap-0.5 px-4",children:[jsx("button",{type:"button",tabIndex:-1,disabled:c,onClick:()=>L(1),className:"flex items-center justify-center rounded-full !p-0.5 px-2 text-gray-foreground transition-colors disabled:cursor-default disabled:opacity-50 disabled:hover:bg-transparent","aria-label":"Increase value",children:jsx(ChevronDown,{className:"rotate-180",size:o==="md"?ks:Is,strokeWidth:3})}),jsx("button",{type:"button",tabIndex:-1,disabled:c,onClick:()=>L(-1),className:"flex items-center justify-center rounded-full !p-0.5 px-2 text-gray-foreground transition-colors disabled:cursor-default disabled:opacity-50 disabled:hover:bg-transparent","aria-label":"Decrease value",children:jsx(ChevronDown,{size:o==="md"?ks:Is,strokeWidth:3})})]})]})}function Po(u){var c=u,{className:e,type:a="text",size:o="lg",invalid:t=false,iconLeft:r,iconRight:n}=c,i=d(c,["className","type","size","invalid","iconLeft","iconRight"]);if(a==="numeric")return jsx(Ss,l({className:e,size:o,invalid:t,iconLeft:r},i));if(a==="password")return jsx(Ps,l({className:e,size:o,invalid:t},i));let p=r!=null?r:uf[a],m=(a==="text"||a==="email")&&t,g=m?jsx(TriangleWarning,{}):n!=null?n:ff[a];return p!=null||g!=null?jsxs("div",{className:"group/adornment relative flex w-full","data-slot":"input-adornment",children:[p!=null&&jsx(yt,{children:pa(p,o)}),jsx("input",l({type:"text","data-slot":"input","data-size":o,className:s(It({size:o,className:e})),"aria-invalid":t||i["aria-invalid"]?true:void 0},i)),g!=null&&jsx(yo,{className:m?"text-feedback-error-foreground":void 0,children:pa(g,o)})]}):jsx("input",l({type:"text","data-slot":"input","data-size":o,className:s(It({size:o,className:e})),"aria-invalid":t||i["aria-invalid"]?true:void 0},i))}var ws=cva("inline-flex select-none items-center gap-3 text-sm font-medium leading-none disabled:cursor-default disabled:text-gray-foreground-muted peer-disabled:cursor-default peer-disabled:text-gray-foreground-muted group-data-[disabled]:pointer-events-none group-data-[disabled]:text-gray-foreground-muted whitespace-nowrap transition-all shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0",{variants:{variant:{regular:"text-gray-foreground hover:text-gray-foreground-emphasis"},size:{sm:"text-xs",md:"text-sm",lg:"text-md"}},defaultVariants:{variant:"regular",size:"md"}});function mf(n){var i=n,{className:e,variant:a,size:o,block:t}=i,r=d(i,["className","variant","size","block"]);return jsx(Label.Root,l({"data-slot":"label",className:s(ws({size:o,variant:a}),e,t&&"flex flex-col items-start justify-center gap-4 whitespace-normal rounded-lg border border-gray-stroke-muted p-4 font-normal")},r))}function xf({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxs("svg",{className:s("dark:brightness-0 dark:invert",o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 171 36",width:e,height:a,children:[jsx("path",{fill:"#01CFB5",d:"M170.246 8.366 158.874 34.77c-.317.744-1.131 1.23-2.038 1.23h-3.47c-1.552 0-2.606-1.377-2.011-2.628l2.875-6.066-8.476-18.918c-.563-1.246.492-2.59 2.027-2.59h3.541c.929 0 1.755.513 2.061 1.278l4.688 11.864h.093l4.464-11.836c.295-.782 1.126-1.306 2.066-1.306h3.514c1.524 0 2.573 1.322 2.038 2.568Zm-24.869 8.623v10.42a.823.823 0 0 1-.82.826h-3.956a.818.818 0 0 1-.82-.825v-.667a11.207 11.207 0 0 1-5.699 1.541c-6.235 0-11.295-5.054-11.295-11.295 0-6.24 5.06-11.295 11.295-11.295 2.076 0 4.027.557 5.694 1.541v-.006a11.295 11.295 0 0 1 5.601 9.76Zm-5.984.005c0-2.94-2.377-5.327-5.306-5.327-2.929 0-5.306 2.388-5.306 5.327 0 2.94 2.377 5.323 5.306 5.323 2.929 0 5.306-2.383 5.306-5.323Zm5.793.4c.005-.099.005-.192.005-.29 0-.098-.005-.191-.005-.284v.573Zm-26.17-11.722h-4.355a.977.977 0 0 0-.978.978v11.902a3.416 3.416 0 0 1-6.831 0V6.65a.977.977 0 0 0-.978-.978h-4.355a.977.977 0 0 0-.978.978v11.902a3.417 3.417 0 0 1-5.83 2.415c-.618-.617-1-1.47-1-2.415V6.65a.977.977 0 0 0-.979-.978h-4.355a.977.977 0 0 0-.978.978v13.088h-.006c0 .781.115 1.535.334 2.256 1.098 3.623 4.765 6.29 9.13 6.29 2.739 0 5.209-1.054 6.935-2.732 1.689 1.83 4.197 2.994 7 2.994 4.53 0 8.295-3.043 9.06-7.043.093-.487.143-.99.143-1.497V6.65a.978.978 0 0 0-.979-.978Z"}),jsx("path",{fill:"#00205B",className:t,d:"M65.557 7.694c-.639.399-1.235.863-1.781 1.388.54-.536 1.137-1 1.781-1.388ZM82.727.831v26.617a.82.82 0 0 1-.82.825h-3.956a.77.77 0 0 1-.415-.12.81.81 0 0 1-.405-.71v-.755a11.018 11.018 0 0 1-5.689 1.574c-5.47 0-10.01-3.967-10.923-9.191-.016-.098-.038-.197-.054-.3-.011-.088-.028-.18-.039-.268 0-.028-.005-.055-.01-.088-.006-.06-.012-.12-.023-.18-.005-.076-.01-.159-.021-.24v-.028c-.006-.093-.017-.18-.017-.273a9.516 9.516 0 0 1 0-1.11l.017-.273v-.027l.032-.311c0-.033.006-.066.006-.099a.665.665 0 0 0 .01-.104c.012-.087.023-.18.039-.267.016-.11.033-.213.055-.323a11.09 11.09 0 0 1 3.17-6.005 11.548 11.548 0 0 1 1.88-1.48 9.127 9.127 0 0 1 1.31-.646c1.039-.42 2.186-.65 3.405-.683-.071 0-.142.011-.213.011a9.587 9.587 0 0 0-3.203.672c-.453.18-.896.4-1.311.65.393-.245.809-.459 1.23-.655-.006 0-.011.005-.017.005l.033-.016c-.011.005-.022.005-.038.01a8.79 8.79 0 0 1 .519-.229c-.039.017-.071.033-.104.05.038-.017.07-.033.11-.05.087-.033.174-.065.267-.098.087-.038.175-.066.268-.099.033-.016.065-.021.098-.032.055-.017.104-.039.158-.055.11-.033.214-.066.323-.098a9.584 9.584 0 0 1 .607-.153c.092-.022.196-.044.295-.066.098-.016.196-.033.295-.055l.295-.049h.005a2.82 2.82 0 0 0 .197-.027c.07-.005.131-.022.202-.022.087-.01.18-.016.268-.022.082-.01.164-.01.246-.016.07 0 .142-.011.213-.011.136-.006.273-.006.415-.006.093 0 .191.006.284.006h.12c.083 0 .159.005.236.01.098.006.196.012.295.023.087.005.174.01.256.022.05.005.099.01.142.016.088.01.175.022.257.038l.312.05c1.06.185 2.07.519 3.005.983v.115c-.038-.022-.076-.038-.12-.06.038.022.077.038.12.065v-.12c.268.131.525.273.77.426V.825a.827.827 0 0 1 .82-.825h3.957a.838.838 0 0 1 .836.83Zm-5.694 16.213a5.32 5.32 0 0 0-5.312-5.323c-2.929 0-5.306 2.388-5.306 5.323 0 2.94 2.377 5.322 5.306 5.322a5.316 5.316 0 0 0 5.312-5.322Zm-19.59.431c0 .41-.017.765-.066 1.132a.597.597 0 0 1-.596.524H42.284a.598.598 0 0 0-.574.77c.623 1.94 2.46 3.192 4.749 3.192 1.607 0 2.678-.574 3.656-1.749a.614.614 0 0 1 .47-.213h5.191c.448 0 .738.47.53.869-2.093 4.033-5.705 6.372-9.847 6.372-6.06 0-11.137-5.055-11.137-11.088 0-6.033 4.847-11.235 11.022-11.235h.006c6.284 0 11.093 4.94 11.093 11.426Zm-6.563-3.393c-.738-1.683-2.437-2.754-4.541-2.754-1.973 0-3.721 1.027-4.47 2.754a.594.594 0 0 0 .552.825h7.907a.593.593 0 0 0 .552-.825ZM23.13 5.803c-2.738 0-5.207 1.055-6.934 2.733-1.689-1.831-4.197-2.995-7-2.995-4.53 0-8.295 3.044-9.06 7.044-.088.486-.137.989-.137 1.497v13.35c0 .54.437.978.978.978h4.355a.977.977 0 0 0 .978-.978V15.618c0-1.65 1.328-3.263 2.962-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V15.618c0-1.65 1.327-3.263 2.961-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V14.344a7.75 7.75 0 0 0-.334-2.257c-1.098-3.623-4.77-6.284-9.13-6.284Z"})]})}function hf({width:e=60,height:a=67,className:o,svgClassName:t}){return jsx("svg",{className:s("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 60 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M42.33 10.8959C37.32 10.8959 32.8 12.8259 29.64 15.8959C26.55 12.5459 21.96 10.4159 16.83 10.4159C8.54 10.4159 1.65 15.9859 0.25 23.3059C0.09 24.1959 0 25.1159 0 26.0459V50.4759C0 51.4659 0.8 52.2659 1.79 52.2659H9.76C10.75 52.2659 11.55 51.4659 11.55 50.4759V28.8559C11.55 25.8359 13.98 22.8859 16.97 22.4959C19.03 22.2259 20.91 22.9659 22.22 24.2759C23.35 25.4059 24.05 26.9659 24.05 28.6959V50.4759C24.05 51.4659 24.85 52.2659 25.84 52.2659H33.81C34.8 52.2659 35.6 51.4659 35.6 50.4759V28.8559C35.6 25.8359 38.03 22.8859 41.02 22.4959C43.08 22.2259 44.96 22.9659 46.27 24.2759C47.4 25.4059 48.1 26.9659 48.1 28.6959V50.4759C48.1 51.4659 48.9 52.2659 49.89 52.2659H57.86C58.85 52.2659 59.65 51.4659 59.65 50.4759V26.5259C59.65 25.0959 59.44 23.7159 59.04 22.3959C57.03 15.7659 50.31 10.8959 42.33 10.8959Z"})})}function bf({width:e=136,height:a=136,className:o,svgClassName:t}){return jsx("svg",{className:s("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 136 136",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M118.365 46.7255C115.612 40.2179 111.671 34.3713 106.65 29.3502C101.629 24.329 95.7834 20.3878 89.2745 17.6351C82.5384 14.7859 75.3807 13.3416 68 13.3416C60.6193 13.3416 53.4616 14.7859 46.7255 17.6351C40.2179 20.3878 34.3713 24.329 29.3502 29.3502C24.329 34.3713 20.3878 40.2166 17.6351 46.7255C14.7859 53.4616 13.3416 60.6193 13.3416 68C13.3416 75.3807 14.7859 82.5384 17.6351 89.2745C20.3878 95.7821 24.329 101.629 29.3502 106.65C34.3713 111.671 40.2166 115.612 46.7255 118.365C53.4616 121.214 60.6193 122.658 68 122.658C75.3807 122.658 82.5384 121.214 89.2745 118.365C95.7821 115.612 101.629 111.671 106.65 106.65C111.671 101.629 115.612 95.7834 118.365 89.2745C121.214 82.5384 122.658 75.3807 122.658 68C122.658 60.6193 121.214 53.4616 118.365 46.7255ZM102.136 88.706C102.136 90.0374 101.058 91.1159 99.7261 91.1159H91.4926C90.1612 91.1159 89.0827 90.0374 89.0827 88.706V62.8524C89.0827 58.7806 85.7222 55.4785 81.6286 55.575C77.6546 55.6689 74.5253 59.0131 74.5253 62.9884V88.7046C74.5253 90.0361 73.4468 91.1146 72.1154 91.1146H63.8819C62.5505 91.1146 61.472 90.0361 61.472 88.7046V62.851C61.472 58.7792 58.1114 55.4771 54.0178 55.5737C50.0439 55.6675 46.9146 59.0118 46.9146 62.987V88.7033C46.9146 90.0347 45.8361 91.1132 44.5046 91.1132H36.2712C34.9398 91.1132 33.8613 90.0347 33.8613 88.7033V63.089C33.8613 51.8187 43.0834 42.432 54.3538 42.5204C59.6156 42.5612 64.4055 44.6121 67.9973 47.94C71.589 44.6121 76.3803 42.5612 81.6408 42.5204C92.9111 42.432 102.133 51.8187 102.133 63.0904V88.7046L102.136 88.706ZM68 0C30.445 0 0 30.445 0 68C0 105.555 30.445 136 68 136C105.555 136 136 105.555 136 68C136 30.445 105.555 0 68 0ZM68 126.698C35.5817 126.698 9.3024 100.418 9.3024 68C9.3024 35.5817 35.5817 9.3024 68 9.3024C100.418 9.3024 126.698 35.5817 126.698 68C126.698 100.418 100.418 126.698 68 126.698Z"})})}var ga={tablet:"600px",mobile:"320px"};function As(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("nav",l({role:"navigation","aria-label":"pagination",className:s("flex w-full items-center justify-between",e)},a))}function Ds(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",l({className:s("flex flex-row items-center gap-2",e)},a))}function So(r){var n=r,{count:e,label:a="itens",className:o}=n,t=d(n,["count","label","className"]);return jsx("p",f(l({className:s("text-xs font-medium text-gray-foreground-muted",o)},t),{children:a==="itens"?jsxs(Fragment,{children:["Mostrando"," ",jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]}):jsxs(Fragment,{children:[jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]})}))}function Pt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("li",l({className:s("",e)},a))}function Rs(p){var m=p,{className:e,isActive:a,iconLeft:o,iconRight:t,size:r="md",variant:n="regular",activeVariant:i,inactiveVariant:u}=m,c=d(m,["className","isActive","iconLeft","iconRight","size","variant","activeVariant","inactiveVariant"]);return jsx(J,f(l({"aria-current":a?"page":void 0,variant:a&&i?i:!a&&u?u:a?n:`${n}-soft`,className:s("",e),size:r,iconLeft:o,iconRight:t},c),{children:c.children}))}function Ms(r){var n=r,{className:e,size:a="md",variant:o="regular-basic"}=n,t=d(n,["className","size","variant"]);return jsx(J,f(l({"aria-label":"Go to previous page",className:s("",e),iconLeft:jsx(ChevronLeftDuo,{}),variant:o,size:a},t),{children:t.children||"Anterior"}))}function Ns(r){var n=r,{className:e,size:a="md",variant:o="regular-basic"}=n,t=d(n,["className","size","variant"]);return jsx(J,f(l({"aria-label":"Go to next page",className:s("",e),variant:o,iconRight:jsx(ChevronRightDuo,{}),size:a},t),{children:t.children||"Pr\xF3ximo"}))}function Bs(t){var r=t,{className:e,size:a="md"}=r,o=d(r,["className","size"]);return jsx("span",f(l({"aria-hidden":true,className:s("flex items-center justify-center",{sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"}[a],e)},o),{children:jsx(MoreHorizontal,{className:"h-4 w-4"})}))}function Fs(e,a,o=2){let t=[];if(a<=o+2)for(let r=1;r<=a;r++)t.push(r);else {let r=Math.floor(o/2);if(e<=r+1){for(let n=1;n<=o+1;n++)t.push(n);o+1<a&&t.push(-1,a);}else if(e>=a-r){t.push(1),a-o>1&&t.push(-1);for(let n=a-o;n<=a;n++)t.push(n);}else {t.push(1,-1);for(let n=e-r;n<=e+r;n++)t.push(n);t.push(-1,a);}}return t}function Pf({currentPage:e,totalPages:a,maxVisibleItems:o,onPageChange:t,itemsPerPage:r,totalItems:n,className:i,responsive:u=true,size:c="md"}){let[p,m]=useState(()=>typeof window=="undefined"?false:window.innerWidth<=parseInt(ga.tablet));useEffect(()=>{if(typeof window=="undefined"||!u)return;let C=parseInt(ga.tablet),y=()=>{m(window.innerWidth<=C);};return window.addEventListener("resize",y),y(),()=>window.removeEventListener("resize",y)},[u]);let g=typeof o=="number"?o:u&&p?0:2,x=u&&p,v=()=>Fs(e,a,g);return jsxs(As,{className:s("",i),children:[r!==void 0&&!x?jsx(So,{count:r,label:"itens"}):jsx("div",{}),jsxs(Ds,{children:[jsx(Pt,{children:jsx(Ms,{onClick:()=>t(Math.max(1,e-1)),disabled:e===1,size:c})}),v().map((C,y)=>jsx(Pt,{children:C===-1?jsx(Bs,{size:c}):jsx(Rs,{onClick:()=>t(C),isActive:C===e,size:c,children:C})},y)),jsx(Pt,{children:jsx(Ns,{onClick:()=>t(Math.min(a,e+1)),disabled:e===a,size:c})})]}),n!==void 0&&!x?jsx(So,{count:n,label:"total"}):jsx("div",{})]})}var Tf={sm:"size-2 group-data-[disabled]:group-data-[state=checked]:size-1.5",md:"size-2.5 group-data-[disabled]:group-data-[state=checked]:size-1.5",lg:"size-3.5 group-data-[disabled]:group-data-[state=checked]:size-2"},Es=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-surface-card border-2 border-gray-stroke-muted enabled:hover:ring-4 data-[state=unchecked]:enabled:hover:ring-state-hover data-[state=unchecked]:enabled:hover:border-gray-stroke disabled:bg-gray-background-soft-muted data-[state=checked]:bg-primary-background-fill data-[state=checked]:border-primary-background-fill data-[state=checked]:enabled:hover:bg-primary-background-fill-emphasis data-[state=checked]:enabled:hover:border-primary-background-fill-emphasis data-[state=checked]:enabled:hover:ring-state-active disabled:data-[state=checked]:bg-gray-background-soft-muted disabled:data-[state=checked]:border-gray-stroke-muted data-[state=unchecked]:enabled:hover:border-gray-stroke data-[state=checked]:enabled:hover:bg-primary-background-fill-emphasis [&:disabled_svg]:fill-gray-background-fill-muted"},size:{sm:"size-4",md:"size-5",lg:"size-6"}},defaultVariants:{variant:"regular",size:"md"}});function Af(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(RadioGroup.Root,l({"data-slot":"radio-group",className:s("grid gap-3",e)},a))}function Df(r){var n=r,{className:e,size:a,variant:o}=n,t=d(n,["className","size","variant"]);return jsx(RadioGroup.Item,f(l({"data-slot":"radio-group-item",className:s("shadow-xs group peer aspect-square size-4 shrink-0 rounded-full outline-none transition-[color,box-shadow] disabled:cursor-not-allowed",Es({size:a,variant:o}),e)},t),{children:jsx(RadioGroup.Indicator,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:jsx(Circle,{className:s("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 fill-surface-card",Tf[a||"md"])})})}))}function Ue(o){var t=o,{delayDuration:e=0}=t,a=d(t,["delayDuration"]);return jsx(Tooltip.Provider,l({"data-slot":"tooltip-provider",delayDuration:e},a))}function Be(a){var e=d(a,[]);return jsx(Tooltip.Root,l({"data-slot":"tooltip"},e))}function Fe(a){var e=d(a,[]);return jsx(Tooltip.Trigger,l({"data-slot":"tooltip-trigger"},e))}function Ee(r){var n=r,{className:e,sideOffset:a=0,children:o}=n,t=d(n,["className","sideOffset","children"]);return jsx(Tooltip.Portal,{children:jsxs(Tooltip.Content,f(l({"data-slot":"tooltip-content",sideOffset:a,className:s("origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md bg-surface-elevated px-3 py-2 text-sm font-medium text-gray-foreground-emphasis animate-in fade-in-0 zoom-in-95 [filter:drop-shadow(0_0_1px_var(--color-drop-shadow-layer-a))_drop-shadow(0_2px_2px_var(--color-drop-shadow-layer-b))] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t),{children:[o,jsx(Tooltip.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}function Vf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("div",{className:"w-full overflow-x-auto rounded-lg border border-gray-stroke-muted",children:jsx("table",f(l({className:s("w-full border-collapse text-left",a)},o),{children:e}))})}function Of(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("thead",f(l({className:s("h-11 border-b border-gray-stroke-muted bg-surface-card",a)},o),{children:jsx("tr",{children:e})}))}function qf(n){var i=n,{children:e,className:a,tooltip:o,highlight:t}=i,r=d(i,["children","className","tooltip","highlight"]);return jsx("th",f(l({className:s("text-ellipsis whitespace-nowrap px-5 text-sm font-semibold text-gray-foreground first:pr-0",a)},r),{children:jsxs("div",{className:"flex items-center gap-1.5",children:[jsx("span",{className:s(t&&"flex size-7 shrink-0 items-center justify-center rounded-full bg-primary-foreground-onfill"),children:e}),o&&jsx(Ue,{children:jsxs(Be,{children:[jsx(Fe,{asChild:true,children:jsx(Info,{className:"size-4"})}),jsx(Ee,{children:o})]})})]})}))}function zf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("tbody",f(l({className:s("bg-surface-card",a)},o),{children:e}))}function _f(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("tr",f(l({className:s("w-full border-t border-solid border-gray-stroke-muted first:border-t-0",a)},o),{children:e}))}function Uf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",{className:"py-4 pl-5 align-middle",children:jsx("div",f(l({className:s("flex size-7 shrink-0 items-center justify-center overflow-hidden whitespace-nowrap rounded-full bg-primary-foreground text-sm font-semibold text-primary-foreground-onfill",a)},o),{children:e}))})}function Gf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",f(l({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:s("flex items-center gap-5",a),children:jsx("div",{className:"flex shrink-0 items-center gap-5 pr-8",children:e})})}))}function Wf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("div",f(l({className:s("flex shrink-0 flex-col items-start whitespace-nowrap text-gray-foreground",a)},o),{children:e}))}function Xf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("span",f(l({className:s("shrink-0 overflow-hidden text-ellipsis font-sans text-xxs font-medium leading-xxs",a)},o),{children:e}))}function Kf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("span",f(l({className:s("shrink-0 overflow-hidden text-ellipsis font-sans text-sm font-semibold leading-5",a)},o),{children:e}))}function Zf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx(de,f(l({className:s("bg-gradient-to-r from-cm-24 to-secondary-24 text-primary-foreground",a)},o),{icon:jsx(CheckboxFill,{className:"text-primary-foreground"}),children:e}))}function jf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",f(l({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:s("flex flex-col items-start gap-2",a),children:e})}))}function Qf(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("p",f(l({className:s("relative shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-[10px] font-medium leading-[12px] text-gray-foreground",a)},o),{children:e}))}function $f(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("div",f(l({className:s("avatar-group flex shrink-0 items-center gap-2",a)},o),{children:e}))}function Yf(i){var u=i,{src:e,alt:a,fallback:o="?",className:t,tooltip:r}=u,n=d(u,["src","alt","fallback","className","tooltip"]);let c=jsxs(wa,f(l({size:"sm",className:s("ring-2 ring-background",t)},n),{children:[jsx(Ta,{src:e,alt:a}),jsx(Aa,{children:o})]}));return r?jsx(Ue,{children:jsxs(Be,{children:[jsx(Fe,{asChild:true,children:c}),jsx(Ee,{children:r})]})}):c}function Jf(r){var n=r,{children:e,className:a,icon:o}=n,t=d(n,["children","className","icon"]);return jsx("td",f(l({className:"px-5 py-4 align-middle"},t),{children:jsx(de,{variant:"regular-soft",className:a,icon:o,children:e})}))}function ec({className:e,percentage:a}){let o=t=>t>=0&&t<=49||t>=50&&t<=80||t>=81&&t<=100?"bg-primary-stroke":"bg-gray-100";return jsx("div",{className:s("relative h-0.5 w-full overflow-hidden rounded-pill bg-gray-100",e),children:jsx("div",{className:s("absolute inset-y-0 left-0 rounded-pill transition-all duration-300",o(a)),style:{width:`${a}%`}})})}function ac(r){var n=r,{questions:e,answered:a,className:o}=n,t=d(n,["questions","answered","className"]);let i=a>0?a/e*100:0;return a===0?jsx("td",f(l({className:"px-5 py-4 align-middle"},t),{children:jsx("div",{className:s("flex min-w-[140px] flex-col items-start justify-center gap-2",o),children:jsxs("div",{className:"flex shrink-0 items-center justify-center gap-2 text-xs font-medium text-gray-foreground-muted",children:[jsx("div",{className:"flex size-4 items-center justify-center rounded-full bg-gray-background-soft",children:jsx(RemoveMinus,{className:"size-3 text-gray-foreground",strokeWidth:2.6})}),jsx("span",{className:"whitespace-nowrap font-medium text-gray-foreground-muted",children:"N\xE3o iniciado"})]})})})):jsx("td",f(l({className:"px-5 py-4 align-middle"},t),{children:jsxs("div",{className:s("flex min-w-[140px] flex-col items-start justify-center gap-2",o),children:[jsx("div",{className:"flex shrink-0 items-center gap-0.5 text-xs leading-4",children:jsxs("span",{className:"relative shrink-0 whitespace-nowrap font-medium text-gray-foreground-muted",children:[jsx("span",{className:"font-semibold text-gray-foreground",children:a})," ",a>1?"respondidas":"respondida"]})}),jsx(ec,{percentage:i})]})}))}var tc={notStarted:{icon:RemoveMinus,bgColor:"bg-gray-background-soft",iconColor:"text-gray-foreground",titleClassName:"font-medium text-gray-foreground-muted",title:()=>"N\xE3o iniciado",subtitle:()=>""},minNotReached:{icon:Warning,bgColor:"bg-feedback-warning-background-soft",iconColor:"text-feedback-warning-foreground",titleClassName:"font-medium text-gray-foreground-muted",title:()=>"M\xEDnimo n\xE3o atingido",subtitle:({remainingQuestions:e})=>e>1?`Faltam ${e} quest\xF5es`:`Falta ${e} quest\xE3o`},dominated:{icon:Check,bgColor:"bg-feedback-success-background-soft",iconColor:"text-feedback-success-foreground",titleClassName:"font-medium text-gray-foreground-muted",title:({progress:e})=>jsxs(Fragment,{children:[jsxs("span",{className:"font-semibold text-gray-foreground",children:[Math.round(e),"%"]})," ","de ",e>1?"acertos":"acerto"]}),subtitle:({correct:e,answered:a})=>`${e} de ${a} acertos`},notDominated:{icon:CloseMd,bgColor:"bg-feedback-error-background-soft",iconColor:"text-feedback-error-foreground",titleClassName:"font-medium text-gray-foreground-muted",title:({progress:e})=>jsxs(Fragment,{children:[jsxs("span",{className:"font-semibold text-gray-foreground",children:[Math.round(e),"%"]})," ","de ",e>1?"acertos":"acerto"]}),subtitle:({correct:e,answered:a})=>`${e} de ${a} acertos`}};function oc(e,a,o){return [[e,"notStarted"],[a,"minNotReached"],[o>=80,"dominated"],[true,"notDominated"]].find(([r])=>r)[1]}function rc(n){var i=n,{answered:e,correct:a,minQuestions:o,className:t}=i,r=d(i,["answered","correct","minQuestions","className"]);let u=e>0?a/e*100:0,c=e===0,p=a<o,m=o-a,g=oc(c,p,u),{icon:x,bgColor:v,iconColor:C,titleClassName:y,title:T,subtitle:_}=tc[g],N={progress:u,correct:a,answered:e,remainingQuestions:m};return jsx("td",f(l({className:"px-5 py-4 align-middle"},r),{children:jsx("div",{className:s("flex min-w-[140px] flex-col items-start justify-center gap-2",t),children:jsxs("div",{className:"flex shrink-0 items-center justify-center gap-2 text-xs font-medium text-gray-foreground-muted",children:[jsx("div",{className:s("flex size-4 items-center justify-center rounded-full",v),children:jsx(x,{className:s("size-3",C),strokeWidth:2.6})}),jsxs("div",{className:"flex flex-col items-start justify-center",children:[jsx("span",{className:s("whitespace-nowrap",y),children:T(N)}),jsx("span",{className:"whitespace-nowrap text-xxs font-semibold text-gray-foreground-muted",children:_(N)})]})]})})}))}function sc(r){var n=r,{children:e,className:a,onClick:o}=n,t=d(n,["children","className","onClick"]);return jsx("td",f(l({className:"px-5 py-4 align-middle"},t),{children:jsx(J,{variant:"regular-soft",size:"sm",iconRight:jsx(ArrowRightMd,{className:"size-4"}),onClick:o,className:a,children:e})}))}var qs=cva("transition-all duration-150",{variants:{size:{sm:"size-6",md:"size-7",lg:"size-8"}},defaultVariants:{size:"md"}}),nc=cva("",{variants:{size:{sm:"size-7",md:"size-8",lg:"size-9"}},defaultVariants:{size:"md"}}),zs=cva("inline-flex items-center justify-center",{variants:{size:{sm:"size-7",md:"size-8",lg:"size-9"},readOnly:{true:"cursor-default",false:"cursor-pointer"}},defaultVariants:{size:"md",readOnly:false}}),_s=cva("flex w-full min-w-0 justify-between text-gray-foreground font-medium gap-2",{variants:{size:{sm:"text-xs",md:"text-xs",lg:"text-sm"}},defaultVariants:{size:"md"}});function dc({state:e,className:a}){let o=ve(),t=useRef(`rating-${Math.random().toString(36).slice(2)}`),r=o||t.current;return e==="full"?jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",fill:"none",className:a,children:jsx("path",{d:"M0.888855 9.61676C0.523397 9.27879 0.721914 8.66782 1.21623 8.60921L8.2204 7.77843C8.42186 7.75455 8.59685 7.62803 8.68182 7.44381L11.6361 1.03906C11.8446 0.587053 12.4872 0.586967 12.6957 1.03898L15.6499 7.44368C15.7349 7.6279 15.9087 7.75475 16.1102 7.77864L23.1148 8.60921C23.6091 8.66782 23.807 9.27897 23.4416 9.61694L18.2638 14.4061C18.1148 14.5438 18.0485 14.7488 18.0881 14.9478L19.4622 21.8658C19.5593 22.354 19.0396 22.7323 18.6053 22.4892L12.4507 19.0432C12.2737 18.9441 12.0586 18.9446 11.8816 19.0437L5.72641 22.4883C5.29205 22.7314 4.7715 22.354 4.86851 21.8658L6.2429 14.9483C6.28244 14.7493 6.21629 14.5438 6.06735 14.406L0.888855 9.61676Z",className:"fill-feedback-warning-background-soft stroke-feedback-warning-stroke hover:stroke-feedback-warning-stroke-emphasis",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}):e==="half"?jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",fill:"none",className:a,children:[jsx("defs",{children:jsxs("linearGradient",{id:r,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsx("stop",{offset:"50%",className:"[stop-color:var(--color-feedback-warning-background-soft)]",stopOpacity:"1"}),jsx("stop",{offset:"50%",stopColor:"transparent",stopOpacity:"0"})]})}),jsx("path",{d:"M0.888855 9.61676C0.523397 9.27879 0.721914 8.66782 1.21623 8.60921L8.2204 7.77843C8.42186 7.75455 8.59685 7.62803 8.68182 7.44381L11.6361 1.03906C11.8446 0.587053 12.4872 0.586967 12.6957 1.03898L15.6499 7.44368C15.7349 7.6279 15.9087 7.75475 16.1102 7.77864L23.1148 8.60921C23.6091 8.66782 23.807 9.27897 23.4416 9.61694L18.2638 14.4061C18.1148 14.5438 18.0485 14.7488 18.0881 14.9478L19.4622 21.8658C19.5593 22.354 19.0396 22.7323 18.6053 22.4892L12.4507 19.0432C12.2737 18.9441 12.0586 18.9446 11.8816 19.0437L5.72641 22.4883C5.29205 22.7314 4.7715 22.354 4.86851 21.8658L6.2429 14.9483C6.28244 14.7493 6.21629 14.5438 6.06735 14.406L0.888855 9.61676Z",fill:`url(#${r})`,className:"stroke-feedback-warning-stroke hover:stroke-feedback-warning-stroke-emphasis",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}):jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",fill:"none",className:a,children:jsx("path",{d:"M0.888855 9.61676C0.523397 9.27879 0.721914 8.66782 1.21623 8.60921L8.2204 7.77843C8.42186 7.75455 8.59685 7.62803 8.68182 7.44381L11.6361 1.03906C11.8446 0.587053 12.4872 0.586967 12.6957 1.03898L15.6499 7.44368C15.7349 7.6279 15.9087 7.75475 16.1102 7.77864L23.1148 8.60921C23.6091 8.66782 23.807 9.27897 23.4416 9.61694L18.2638 14.4061C18.1148 14.5438 18.0485 14.7488 18.0881 14.9478L19.4622 21.8658C19.5593 22.354 19.0396 22.7323 18.6053 22.4892L12.4507 19.0432C12.2737 18.9441 12.0586 18.9446 11.8816 19.0437L5.72641 22.4883C5.29205 22.7314 4.7715 22.354 4.86851 21.8658L6.2429 14.9483C6.28244 14.7493 6.21629 14.5438 6.06735 14.406L0.888855 9.61676Z",fill:"transparent",className:"stroke-gray-stroke-emphasis",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function ic(e,a){let o=e+1;return a>=o?"full":a>=o-.5?"half":"empty"}function uc({value:e,onChange:a,maxStars:o=5,readOnly:t=false,labels:r,size:n="md",className:i,classNameContainer:u,classNameLabels:c}){let[p,m]=useState(e!=null?e:0),[g,x]=useState(null),v=e!==void 0,C=v?e:p,y=N=>{if(t)return;let P=N+1;v||m(P),a==null||a(P);},T=N=>{t||x(N);},_=()=>{t||x(null);};return jsxs("div",{"data-slot":"rating",className:s("inline-flex w-fit flex-col gap-2",i),children:[jsx("div",{className:s("inline-flex flex-row gap-1",u),onMouseLeave:_,children:Array.from({length:o},(N,P)=>{let K=g!==null,z=K&&P<=g,b=g===P,L=K?z?"full":"empty":ic(P,C);return jsx("button",{type:"button",disabled:t,onClick:()=>y(P),onMouseEnter:()=>T(P),className:zs({size:n,readOnly:t}),"aria-label":`Rate ${P+1} out of ${o}`,children:jsx(dc,{state:L,className:b&&!t?nc({size:n}):qs({size:n})})},P)})}),r&&r.length===2&&jsxs("div",{className:s(_s({size:n}),c),children:[jsx("span",{className:"truncate",children:r[0]}),jsx("span",{className:"truncate text-right",children:r[1]})]})]})}function To(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsxs(ScrollArea.Root,f(l({"data-slot":"scroll-area",className:s("relative",e)},o),{children:[jsx(ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit]",children:a}),jsx(Ga,{}),jsx(Ga,{orientation:"horizontal"}),jsx(ScrollArea.Corner,{})]}))}function Ga(t){var r=t,{className:e,orientation:a="vertical"}=r,o=d(r,["className","orientation"]);return jsx(ScrollArea.ScrollAreaScrollbar,f(l({"data-slot":"scroll-area-scrollbar",orientation:a,className:s("flex touch-none select-none",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e)},o),{children:jsx(ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-gray-stroke-muted"})}))}var Dt=createContext({invalid:false,size:"lg"});function bc(t){var r=t,{invalid:e=false,size:a="lg"}=r,o=d(r,["invalid","size"]);return jsx(Dt.Provider,{value:useMemo(()=>({invalid:e,size:a}),[e,a]),children:jsx(Select.Root,l({"data-slot":"select"},o))})}function Cc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({className:s("group relative flex flex-col gap-2",e),"data-slot":"select-wrapper"},a))}function Lc(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsx("label",f(l({className:s("pointer-events-none absolute start-3 top-0 origin-left -translate-y-1/2 bg-surface-card px-1 text-xs font-medium text-gray-foreground transition-all duration-200 ease-out","group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:start-4 group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:top-6 group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:bg-transparent group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:px-0 group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:text-md group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:font-normal group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:text-gray-foreground","group-has-[[data-slot=select-trigger][data-size=md]]:group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:top-5 group-has-[[data-slot=select-trigger][data-size=md]]:group-has-[[data-slot=select-trigger][data-placeholder]:not([data-state=open])]:!text-sm",e),"data-slot":"select-label"},o),{children:a}))}function vc(a){var e=d(a,[]);return jsx(Select.Group,l({"data-slot":"select-group"},e))}function Ic(a){var e=d(a,[]);return jsx(Select.Value,l({"data-slot":"select-value"},e))}var kc=cva(["shadow-xs flex w-full items-center justify-between gap-2 rounded-md border-2 border-gray-stroke-muted bg-surface-card px-4 py-3 text-left text-gray-foreground outline-none transition-[color,box-shadow] hover:border-gray-stroke-emphasis hover:ring-[3px] hover:ring-state-focus disabled:cursor-default disabled:bg-gray-background-soft-muted disabled:hover:border-gray-stroke-muted disabled:hover:ring-0 aria-[invalid]:border-feedback-error-stroke aria-[invalid]:hover:ring-[3px] aria-[invalid]:hover:ring-state-error data-[placeholder]:text-gray-foreground-emphasis *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 disabled:data-[placeholder]:text-gray-foreground-muted [&>span]:line-clamp-1 [&_svg]:pointer-events-none [&_svg]:shrink-0"],{variants:{size:{lg:["h-12 max-h-12 text-md [&_svg]:size-6","group-has-[[data-slot=select-label]]:h-14"],md:["h-10 max-h-10 text-sm [&_svg]:size-5","group-has-[[data-slot=select-label]]:h-11"]}},defaultVariants:{size:"lg"}}),yc=cva("data-disabled:pointer-events-none relative flex w-full cursor-default select-none items-center rounded px-2 font-medium text-gray-foreground outline-none hover:cursor-pointer hover:bg-secondary-background-soft-emphasis gap-3",{variants:{size:{lg:"py-2 text-sm [&_svg]:size-5",md:"py-2 text-sm [&_svg]:size-5"}},defaultVariants:{size:"lg"}});function Pc(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{invalid:n,size:i}=useContext(Dt);return jsxs(Select.Trigger,f(l({className:s(kc({size:i}),!n&&"[&:not([data-placeholder]):not(:disabled)]:border-gray-stroke-emphasis","group-has-[[data-slot=select-label]]:py-3 group-has-[[data-slot=select-label]]:data-[placeholder]:text-transparent",e),"data-slot":"select-trigger","data-size":i,"aria-invalid":n?"true":void 0},o),{children:[a,jsx(Select.Icon,{asChild:true,children:jsx(ChevronDown,{className:s("flex-shrink-0 text-gray-foreground"),strokeWidth:1.6})})]}))}function Sc(r){var n=r,{className:e,children:a,position:o="popper"}=n,t=d(n,["className","children","position"]);return jsx(Select.Portal,{children:jsxs(Select.Content,f(l({className:s("relative z-50 max-h-[min(24rem,var(--radix-select-content-available-height))] min-w-32 overflow-hidden rounded-md border border-gray-stroke-muted bg-surface-elevated text-gray-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 [&_[role=group]]:py-1",o==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)] data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),"data-slot":"select-content",position:o},t),{children:[jsx(Ws,{}),jsx(Select.Viewport,{className:s("p-2",o==="popper"&&"h-[var(--radix-select-trigger-height)]"),children:a}),jsx(Xs,{})]}))})}function wc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Select.Label,l({className:s("px-2 py-2 text-xs font-medium text-gray-foreground-muted",e),"data-slot":"select-header"},a))}function Tc(r){var n=r,{className:e,children:a,icon:o}=n,t=d(n,["className","children","icon"]);let{size:i}=useContext(Dt);return jsxs(Select.Item,f(l({className:s(yc({size:i}),e),"data-slot":"select-item"},t),{children:[o&&jsx("span",{className:"flex shrink-0 items-center justify-center text-gray-foreground",children:isValidElement(o)?cloneElement(o,{strokeWidth:1.6}):o}),jsx(Select.ItemText,{children:a}),jsx("span",{className:"absolute end-2 flex size-3.5 items-center justify-center",children:jsx(Select.ItemIndicator,{children:jsx(Check,{strokeWidth:1.6,className:"text-secondary-foreground"})})})]}))}function Ac(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Select.Separator,l({className:s("-mx-1 my-1 h-px bg-gray-stroke-muted",e),"data-slot":"select-separator"},a))}function Ws(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Select.ScrollUpButton,f(l({className:s("flex cursor-default items-center justify-center py-1",e),"data-slot":"select-scroll-up-button"},a),{children:jsx(ChevronUp,{size:16,strokeWidth:1.6,className:"text-gray-foreground"})}))}function Xs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Select.ScrollDownButton,f(l({className:s("flex cursor-default items-center justify-center py-1",e),"data-slot":"select-scroll-down-button"},a),{children:jsx(ChevronDown,{size:24,strokeWidth:1.6,className:"text-gray-foreground"})}))}function Dc(o){var t=o,{className:e}=t,a=d(t,["className"]);let{invalid:r}=useContext(Dt);return jsx("span",l({className:s("-mt-1 text-xs",r?"text-feedback-error-foreground":"text-gray-foreground",e),"data-slot":"select-text"},a))}var Ks=createContext(null);function Fc(r){var n=r,{className:e,size:a="md",children:o}=n,t=d(n,["className","size","children"]);return jsx(Ks.Provider,{value:useMemo(()=>({size:a}),[a]),children:jsx(Tabs.Root,f(l({"data-slot":"tabs",className:s("flex flex-col gap-2",e)},t),{children:o}))})}function Ec(t){var r=t,{className:e,containerClassName:a}=r,o=d(r,["className","containerClassName"]);return jsxs(To,{className:s("[&_[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]:h-1",a),children:[jsx(Tabs.List,l({"data-slot":"tabs-list",className:s("inline-flex w-fit items-center justify-center rounded-md bg-gray-background-soft p-0.5",e)},o)),jsx(Ga,{orientation:"horizontal"})]})}var Zs=cva("shadow-transparent data-[state=active]:shadow-level-1 group inline-flex items-center justify-center gap-2.5 whitespace-nowrap rounded-[6px] font-medium text-gray-foreground outline-none data-[state=active]:bg-surface-card data-[state=active]:text-primary-foreground [&_svg]:shrink-0 [&_svg]:text-inherit disabled:text-gray-foreground-muted disabled:pointer-events-none",{variants:{size:{sm:"max-h-7 px-3 py-1.5 text-xs [&_svg]:size-4",md:"max-h-9 px-4 py-2 text-sm [&_svg]:size-5",lg:"max-h-11 px-4 py-2.5 text-md [&_svg]:size-6"}},defaultVariants:{size:"md"}});function Hc(c){var p=c,{className:e,icon:a,tooltip:o,tooltipSide:t="top",badge:r,badgeVariant:n,children:i}=p,u=d(p,["className","icon","tooltip","tooltipSide","badge","badgeVariant","children"]);var C;let m=y=>y!=null&&y!==0&&y!==""&&y!=="0"&&!u.disabled,g=useContext(Ks),x=(C=g==null?void 0:g.size)!=null?C:"md",v=jsxs(Tabs.Trigger,f(l({"data-slot":"tabs-trigger",className:s(Zs({size:x,className:e}))},u),{children:[a,i&&jsxs("span",{className:"inline-grid [grid-template-areas:'stack']",children:[jsx("span",{"aria-hidden":"true",className:"invisible font-semibold [grid-area:stack]",children:i}),jsx("span",{className:"font-medium [grid-area:stack] group-data-[state=active]:font-semibold",children:i})]}),m(r)&&jsx(Re,{size:x,variant:n,children:String(r)})]}));return o?jsx(Ue,{children:jsxs(Be,{children:[jsx(Fe,{asChild:true,children:jsx("span",{className:"inline-flex",children:v})}),jsx(Ee,{side:t,children:o})]})}):v}function Vc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Tabs.Content,l({"data-slot":"tabs-content",className:s("flex-1 outline-none",e)},a))}var js=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Oc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),Ro=e=>{let a=Oc(e);return a.charAt(0).toUpperCase()+a.slice(1)},Nt=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),Qs=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var $s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Js=forwardRef((p,c)=>{var m=p,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:n,iconNode:i}=m,u=d(m,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return createElement("svg",l(l(f(l({ref:c},$s),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Nt("lucide",r)}),!n&&!Qs(u)&&{"aria-hidden":"true"}),u),[...i.map(([g,x])=>createElement(g,x)),...Array.isArray(n)?n:[n]])});var el=(e,a)=>{let o=forwardRef((i,n)=>{var u=i,{className:t}=u,r=d(u,["className"]);return createElement(Js,l({ref:n,iconNode:a,className:Nt(`lucide-${js(Ro(e))}`,`lucide-${e}`,t)},r))});return o.displayName=Ro(e),o};var Uc=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Wa=el("x",Uc);function No(a){var e=d(a,[]);return jsx(Dialog.Root,l({"data-slot":"sheet"},e))}function Gc(a){var e=d(a,[]);return jsx(Dialog.Trigger,l({"data-slot":"sheet-trigger"},e))}function Wc(a){var e=d(a,[]);return jsx(Dialog.Close,l({"data-slot":"sheet-close"},e))}function Xc(a){var e=d(a,[]);return jsx(Dialog.Portal,l({"data-slot":"sheet-portal"},e))}function Kc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Overlay,l({"data-slot":"sheet-overlay",className:s("bg-black/50 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function Bo(r){var n=r,{className:e,children:a,side:o="right"}=n,t=d(n,["className","children","side"]);return jsxs(Xc,{children:[jsx(Kc,{}),jsxs(Dialog.Content,f(l({"data-slot":"sheet-content",className:s("fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",o==="right"&&"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",o==="left"&&"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",o==="top"&&"inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",o==="bottom"&&"inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",e)},t),{children:[a,jsxs(Dialog.Close,{className:"rounded-xs focus:outline-hidden absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[jsx(Wa,{className:"size-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Zc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sheet-header",className:s("flex flex-col gap-1.5 p-4",e)},a))}function jc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sheet-footer",className:s("mt-auto flex flex-col gap-2 p-4",e)},a))}function Qc(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Title,l({"data-slot":"sheet-title",className:s("font-semibold text-foreground",e)},a))}function $c(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Description,l({"data-slot":"sheet-description",className:s("text-muted-foreground text-sm",e)},a))}function Bt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"skeleton",className:s("animate-pulse rounded-md bg-gray-150",e)},a))}var sp="sidebar_state",lp=3600*24*7,np="b",rl=createContext(null);function ba(){let e=useContext(rl);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function dp(i){var u=i,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=u,n=d(u,["defaultOpen","open","onOpenChange","className","children"]);let c=Ea(),[p,m]=useState(false),[g,x]=useState(e),v=a!=null?a:g,C=useCallback(N=>{let P=typeof N=="function"?N(v):N;o?o(P):x(P),document.cookie=`${sp}=${P}; path=/; max-age=${lp}`;},[o,v]),y=useCallback(()=>c?m(N=>!N):C(N=>!N),[c,C,m]);useEffect(()=>{let N=P=>{P.key===np&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),y());};return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[y]);let T=v?"expanded":"collapsed",_=useMemo(()=>({state:T,open:v,setOpen:C,isMobile:c,openMobile:p,setOpenMobile:m,toggleSidebar:y}),[T,v,C,c,p,m,y]);return jsx(rl.Provider,{value:_,children:jsx(Ue,{delayDuration:0,children:jsx("div",f(l({"data-slot":"sidebar-wrapper",className:s("group/sidebar-wrapper has-data-[variant=inset]:bg-surface-navigation flex min-h-svh w-full",t)},n),{children:r}))})})}function ip(u){var c=u,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:n}=c,i=d(c,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:p,state:m,openMobile:g,setOpenMobile:x}=ba();return o==="none"?jsx("div",f(l({"data-slot":"sidebar",className:s("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},i),{children:n})):p?jsx(No,f(l({open:g,onOpenChange:x},i),{children:jsx(Bo,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:s("w-[var(--sidebar-width-mobile)] bg-surface-navigation p-0 text-gray-foreground [&>button]:hidden",t),side:e,children:jsx("div",{className:"flex h-full w-full flex-col",children:n})})})):jsxs("div",{className:s("group peer hidden text-gray-foreground md:block",t),"data-state":m,"data-collapsible":m==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsx("div",{"data-slot":"sidebar-gap",className:s("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),jsx("div",f(l({"data-slot":"sidebar-container",className:s("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] border-gray-stroke-muted transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},i),{children:jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex h-full w-full flex-col bg-surface-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-gray-stroke-muted group-data-[variant=floating]:shadow-sm",children:n})}))]})}function up(c){var p=c,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsx(HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:n,enableHover:i=false}=p,u=d(p,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:m,open:g,isMobile:x}=ba(),[v,C]=useState(false),T=n||{open:"Esconder",closed:"Mostrar"},_=()=>i&&v?g?jsx(ChevronLeftMd,{className:o}):jsx(ChevronRightMd,{className:o}):t,N=jsxs("button",f(l({"data-sidebar":"trigger","data-slot":"sidebar-trigger",className:s("flex min-h-8 min-w-8 items-center justify-center rounded-full bg-surface-elevated text-gray-foreground transition-all duration-200 hover:shadow-[0px_0px_2px_0px_rgba(24,26,30,0.16),0px_2px_4px_0px_rgba(24,26,30,0.08)] [&>svg]:text-gray-foreground",e),onClick:P=>{a==null||a(P),m();},onMouseEnter:!x&&i?()=>C(true):void 0,onMouseLeave:!x&&i?()=>C(false):void 0},u),{children:[_(),jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||x?N:jsxs(Be,{children:[jsx(Fe,{asChild:true,children:N}),jsx(Ee,{side:"right",align:"center",children:g?T.open:T.closed})]})}function fp(o){var t=o,{className:e}=t,a=d(t,["className"]);let{toggleSidebar:r}=ba();return jsx("button",l({"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:s("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-gray-stroke-muted group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface-navigation","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e)},a))}function cp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("main",l({"data-slot":"sidebar-inset",className:s("relative flex w-full flex-1 flex-col bg-surface-navigation","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",e)},a))}function pp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Po,l({"data-slot":"sidebar-input","data-sidebar":"input",className:s("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function mp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-header","data-sidebar":"header",className:s("flex flex-col gap-0.5 px-4 pt-3",e)},a))}function gp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-footer","data-sidebar":"footer",className:s("flex flex-col gap-0.5 px-4 pb-3 [[data-state=collapsed]_&]:px-2",e)},a))}function xp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(na,l({"data-slot":"sidebar-separator","data-sidebar":"separator",className:s("mx-2 w-auto bg-gray-stroke-muted",e)},a))}function hp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-content","data-sidebar":"content",className:s("flex min-h-0 flex-1 flex-col gap-0.5 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e)},a))}function bp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-group","data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2 px-4",e)},a))}function Cp(t){var r=t,{className:e,asChild:a=false}=r,o=d(r,["className","asChild"]);let n=a?Slot.Slot:"div";return jsx(n,l({"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:s("outline-hidden flex h-12 shrink-0 items-center whitespace-nowrap rounded-md px-2 text-xs font-semibold uppercase text-gray-foreground-muted ring-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:mt-0 group-data-[collapsible=icon]:hidden",e)},o))}function Lp(t){var r=t,{className:e,asChild:a=false}=r,o=d(r,["className","asChild"]);let n=a?Slot.Slot:"button";return jsx(n,l({"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:s("outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e)},o))}function vp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:s("w-full text-sm",e)},a))}function Ip(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",l({"data-slot":"sidebar-menu","data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e)},a))}function kp(r){var n=r,{className:e,isActive:a,children:o}=n,t=d(n,["className","isActive","children"]);return jsxs("li",f(l({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:s("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var yp=cva("peer/menu-button font-medium flex w-full items-center gap-2.5 overflow-hidden rounded-md p-[.55rem] text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:text-secondary-foreground active:font-semibold disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:text-secondary-foreground data-[active=true]:font-semibold data-[active=true]:hover:bg-secondary-background-soft-emphasis data-[active=true]:hover:text-secondary-foreground group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-2.5! [&>span:last-child]:truncate [&>svg] [&>svg]:size-5 [&>svg]:shrink-0 mx-auto",{variants:{variant:{default:"hover:bg-secondary-background-soft-emphasis",section:"[[data-state=collapsed]_&]:p-[5px]",outline:"bg-surface-navigation shadow-[0_0_0_1px_hsl(var(--color-border))] hover:bg-secondary-background-soft-emphasis hover:shadow-[0_0_0_1px_hsl(var(--secondary))]"},size:{sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-md group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"md"}});function Pp(u){var c=u,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:n}=c,i=d(c,["asChild","isActive","variant","size","tooltip","className"]);let p=e?Slot.Slot:"button",{isMobile:m,state:g}=ba(),x=jsx(p,l({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:s(yp({variant:o,size:t}),n)},i));return r?(typeof r=="string"&&(r={children:r}),jsxs(Be,{children:[jsx(Fe,{asChild:true,children:x}),jsx(Ee,l({side:"right",align:"center",hidden:g!=="collapsed"||m},r))]})):x}function Sp(r){var n=r,{className:e,asChild:a=false,showOnHover:o=false}=n,t=d(n,["className","asChild","showOnHover"]);let i=a?Slot.Slot:"button";return jsx(i,l({"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:s("outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 peer-hover/menu-button:text-secondary-stroke-emphasis [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-secondary md:opacity-0",e)},t))}function wp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:s("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-gray-foreground","peer-hover/menu-button:text-secondary peer-data-[active=true]/menu-button:text-secondary","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e)},a))}function Tp(t){var r=t,{className:e,showIcon:a=false}=r,o=d(r,["className","showIcon"]);let n=useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxs("div",f(l({"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:s("flex h-8 items-center gap-0.5 rounded-md px-2",e)},o),{children:[a&&jsx(Bt,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsx(Bt,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]}))}function Ap(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",l({"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-gray-stroke-muted px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e)},a))}function Dp(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("li",l({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:s("group/menu-sub-item relative",e)},a))}function Rp({icon:e,title:a}){let{state:o,isMobile:t}=ba();return jsxs(Fragment,{children:[e,jsx("span",{className:s("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function Mp(){return jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsx(ChevronRightMd,{size:20})})}function Np(n){var i=n,{asChild:e=false,size:a="md",isActive:o=false,className:t}=i,r=d(i,["asChild","size","isActive","className"]);let u=e?Slot.Slot:"a";return jsx(u,l({"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":o,className:s("outline-hidden flex h-9 min-w-0 -translate-x-px items-center gap-0.5 overflow-hidden rounded-md px-2 font-medium text-gray-foreground ring-ring hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:font-semibold active:text-secondary-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-foreground","data-[active=true]:font-semibold data-[active=true]:text-secondary-foreground",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",t)},r))}var Hp={sm:"size-2",md:"size-3",lg:"size-4"},ll={sm:"[&_svg]:size-2",md:"[&_svg]:size-3",lg:"[&_svg]:size-3.5"},Vp={sm:"data-[state=checked]:translate-x-[11px] data-[state=checked]:rtl:-translate-x-[11px] data-[state=checked]:data-[disabled]:translate-x-[10px] data-[state=checked]:data-[disabled]:rtl:-translate-x-[10px]",md:"data-[state=checked]:translate-x-[15px] data-[state=checked]:rtl:-translate-x-[15px] data-[state=checked]:data-[disabled]:translate-x-[14px] data-[state=checked]:data-[disabled]:rtl:-translate-x-[14px]",lg:"data-[state=checked]:translate-x-[19px] data-[state=checked]:rtl:-translate-x-[19px] data-[state=checked]:data-[disabled]:translate-x-[18px] data-[state=checked]:data-[disabled]:rtl:-translate-x-[18px]"},nl=cva("peer inline-flex shrink-0 items-center rounded-pill outline-none transition-all disabled:pointer-events-none focus:outline-0",{variants:{variant:{regular:"border-2 border-gray-stroke-muted data-[disabled]:cursor-default data-[disabled]:!bg-gray-background-soft-muted data-[state=checked]:bg-primary-background-fill data-[state=unchecked]:bg-surface-card data-[state=checked]:border-transparent data-[disabled]:data-[state=checked]:bg-gray-background-soft-muted data-[disabled]:data-[state=checked]:border-gray-stroke-muted enabled:hover:ring-4 data-[state=unchecked]:enabled:hover:ring-state-hover data-[state=checked]:enabled:hover:ring-state-active data-[state=unchecked]:enabled:hover:border-gray-stroke data-[state=checked]:enabled:hover:bg-primary-background-fill-emphasis"},size:{sm:"h-4 w-6",md:"h-5 w-8",lg:"h-6 w-10"}},defaultVariants:{variant:"regular",size:"md"}});function Op(c){var p=c,{className:e,size:a,variant:o,checkedIcon:t,uncheckedIcon:r,checked:n,defaultChecked:i}=p,u=d(p,["className","size","variant","checkedIcon","uncheckedIcon","checked","defaultChecked"]);let[m,g]=useState(i||false),x=n!==void 0,v=x?n:m,C=t||r;return jsx(Switch.Root,f(l({"data-slot":"switch",className:s("group",nl({size:a,variant:o}),e),checked:n,defaultChecked:i,onCheckedChange:y=>{var T;x||g(y),(T=u.onCheckedChange)==null||T.call(u,y);}},u),{children:jsx(Switch.Thumb,{"data-slot":"switch-thumb",className:s("pointer-events-none flex items-center justify-center rounded-full ring-0 transition-transform data-[state=unchecked]:translate-x-0.5 data-[disabled]:!bg-gray-background-fill-muted data-[state=checked]:bg-primary-foreground-onfill data-[state=unchecked]:bg-gray-foreground-muted data-[state=unchecked]:group-hover:bg-gray-foreground data-[state=unchecked]:group-data-[disabled]:group-hover:bg-gray-foreground-muted",C&&"!bg-transparent data-[disabled]:!bg-transparent",Hp[a||"md"],Vp[a||"md"]),children:C&&jsxs(Fragment,{children:[v&&t&&jsx("span",{className:s("flex items-center justify-center text-primary-foreground-onfill group-data-[disabled]:text-gray-300",ll[a||"md"]),children:t}),!v&&r&&jsx("span",{className:s("flex items-center justify-center text-gray-foreground group-data-[disabled]:text-gray-300",ll[a||"md"]),children:r})]})})}))}var dl=createContext({});function Wp({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:n}){let[i,u]=useState(a||""),c={value:a||i,onValueChange:o||u};return jsx(dl.Provider,{value:c,children:jsx(po,{open:t,defaultOpen:r,onOpenChange:n,children:e})})}function Xp({children:e,asChild:a=true,className:o}){return jsx(mo,{className:o,asChild:a,children:e})}function Kp({children:e,align:a="center",side:o="right",className:t}){return jsx(go,{className:t,align:a,side:o,children:e})}function Zp({children:e,label:a}){let{value:o,onValueChange:t}=useContext(dl);return a?jsxs(Fragment,{children:[jsx(ho,{children:a}),jsx(mt,{value:o,onValueChange:t,children:e})]}):jsx(mt,{value:o,onValueChange:t,children:e})}function jp({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxs(xo,{value:a,onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxs(pt,{onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function Qp({children:e,onClick:a,icon:o}){return jsxs(pt,{onClick:a,children:[o,e]})}function $p(){return jsx(bo,{})}var fl=createContext(null),rm=150,il=16,sm="w-8";function Ho(){let e=useContext(fl);if(!e)throw new Error("useTabsContext must be used within a Tabs component.");return e}function lm(e,a){let o=useRef(null);return useEffect(()=>()=>{o.current&&clearTimeout(o.current);},[]),useCallback(((...t)=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>e(...t),a);}),[e,a])}var cl=cva("relative inline-flex min-w-full items-center justify-between gap-0 bg-surface-section",{variants:{variant:{standalone:"rounded-lg border border-gray-stroke-muted px-6",header:"border-b border-gray-stroke-muted px-3.5 sm:px-6 lg:px-8 bg-transparent"}},defaultVariants:{variant:"standalone"}}),pl=cva(["inline-flex min-w-fit flex-1 items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:text-gray-foreground-muted","[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:transition-all","relative font-medium text-gray-foreground hover:text-gray-foreground data-[state=active]:text-primary-foreground data-[state=active]:font-semibold"],{variants:{variant:{standalone:"px-3.5 md:px-10 lg:px-16",header:"px-4"},size:{md:"h-[46px] text-sm",lg:"h-[54px] text-base"}},defaultVariants:{variant:"standalone",size:"md"}}),nm=cva("relative min-w-0 max-w-full",{variants:{variant:{standalone:"",header:"px-3.5 sm:px-6 lg:px-8"}},defaultVariants:{variant:"standalone"}}),ul=cva(["pointer-events-none absolute top-0 z-10 h-full transition-opacity duration-200",sm],{variants:{side:{left:"left-0 bg-gradient-to-r from-background to-transparent",right:"right-0 bg-gradient-to-l from-background to-transparent"},variant:{standalone:"",header:""}},compoundVariants:[{side:"left",variant:"header",class:"left-3.5 sm:left-6 lg:left-8"},{side:"right",variant:"header",class:"right-3.5 sm:right-6 lg:right-8"}],defaultVariants:{side:"left",variant:"standalone"}}),ml=cva("ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{standalone:"",header:""},size:{md:"",lg:""}},compoundVariants:[{variant:"standalone",size:"md",class:"m-4"},{variant:"standalone",size:"lg",class:"m-6"},{variant:"header",size:"md",class:"my-4"},{variant:"header",size:"lg",class:"my-6"}],defaultVariants:{variant:"standalone",size:"md"}});function dm(i){var u=i,{className:e,variant:a="standalone",size:o="md",responsive:t=true,children:r}=u,n=d(u,["className","variant","size","responsive","children"]);let[c,p]=useState(o),m=useCallback(()=>{if(typeof window=="undefined")return;let x=parseInt(ga.tablet),v=parseInt(ga.mobile),C=window.innerWidth;C<=v||C<=x?p("md"):p(o);},[o]),g=lm(m,rm);return useEffect(()=>{if(typeof window=="undefined"||!t){p(o);return}return m(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[t,o,m,g]),jsx(fl.Provider,{value:useMemo(()=>({variant:a,size:o,responsiveSize:c}),[a,o,c]),children:jsx(Tabs.Root,f(l({"data-slot":"tabs","data-variant":a,"data-size":c,className:s("flex w-full max-w-full flex-col overflow-hidden",e)},n),{children:r}))})}function im(p){var m=p,{className:e,wrapperClassName:a,scrollContainerClassName:o,innerClassName:t,indicatorClassName:r,leftFadeClassName:n,rightFadeClassName:i,children:u}=m,c=d(m,["className","wrapperClassName","scrollContainerClassName","innerClassName","indicatorClassName","leftFadeClassName","rightFadeClassName","children"]);let{variant:g,responsiveSize:x}=Ho(),v=useRef(null),C=useRef(null),[y,T]=useState(false),[_,N]=useState(false),[P,K]=useState(null),z=useCallback(()=>{let k=v.current;if(!k)return;let{scrollLeft:E,scrollWidth:B,clientWidth:O}=k,ae=B>O;T(ae&&E>0),N(ae&&E<B-O-1);},[]),b=useCallback(()=>{let k=C.current;if(!k)return;let E=k.querySelector('[data-state="active"]');if(E){let B=k.getBoundingClientRect(),O=E.getBoundingClientRect();K({left:O.left-B.left,width:O.width});}},[]),L=useCallback(()=>{let k=v.current,E=C.current;if(!k||!E)return;let B=E.querySelector('[data-state="active"]');if(B){let O=k.getBoundingClientRect(),ae=B.getBoundingClientRect();ae.left<O.left?k.scrollBy({left:ae.left-O.left-il,behavior:"smooth"}):ae.right>O.right&&k.scrollBy({left:ae.right-O.right+il,behavior:"smooth"});}},[]);return useEffect(()=>{let k=v.current;if(!k)return;z();let E=new ResizeObserver(()=>{z(),b();});return E.observe(k),k.addEventListener("scroll",z,{passive:true}),()=>{E.disconnect(),k.removeEventListener("scroll",z);}},[z,b]),useEffect(()=>{b();},[b,u]),useEffect(()=>{let k=C.current;if(!k)return;let E=new MutationObserver(B=>{for(let O of B)if(O.type==="attributes"&&O.attributeName==="data-state"){b(),L();break}});return E.observe(k,{attributes:true,subtree:true,attributeFilter:["data-state"]}),()=>E.disconnect()},[b,L]),jsxs("div",{"data-slot":"tabs-list-wrapper",className:s(nm({variant:g}),a),children:[jsx("div",{"data-slot":"tabs-fade-left",className:s(ul({side:"left",variant:g}),y?"opacity-100":"opacity-0",n),"aria-hidden":"true"}),jsx("div",{"data-slot":"tabs-fade-right",className:s(ul({side:"right",variant:g}),_?"opacity-100":"opacity-0",i),"aria-hidden":"true"}),jsx("div",{ref:v,"data-slot":"tabs-scroll-container",className:s("overflow-x-auto overflow-y-hidden [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",o),children:jsxs("div",{ref:C,"data-slot":"tabs-list-inner",className:s("relative",t),children:[jsx(Tabs.List,f(l({"data-slot":"tabs-list","data-variant":g,"data-size":x,className:s(cl({variant:g}),e)},c),{children:u})),P&&jsx("div",{"data-slot":"tabs-indicator",className:s("pointer-events-none absolute bottom-0 h-0.5 bg-secondary-stroke-emphasis transition-all duration-300 ease-out",r),style:{left:P.left,width:P.width},"aria-hidden":"true"})]})})]})}function um(n){var i=n,{className:e,children:a,icon:o,badge:t}=i,r=d(i,["className","children","icon","badge"]);let{variant:u,responsiveSize:c}=Ho(),p=useRef(null),[m,g]=useState(false);useEffect(()=>{let v=p.current;if(!v)return;let C=()=>{g(v.getAttribute("data-state")==="active");};C();let y=new MutationObserver(C);return y.observe(v,{attributes:true,attributeFilter:["data-state"]}),()=>y.disconnect()},[]);let x=()=>o?isValidElement(o)?cloneElement(o,{strokeWidth:m?2:1.6}):o:null;return jsxs(Tabs.Trigger,f(l({ref:p,"data-slot":"tabs-trigger","data-variant":u,"data-size":c,className:s(pl({variant:u,size:c}),e)},r),{children:[o&&jsx("span",{"data-slot":"tabs-icon",className:"flex shrink-0 items-center","aria-hidden":"true",children:x()}),jsx("span",{children:a}),t&&jsx("span",{"data-slot":"tabs-badge",className:"flex shrink-0 items-center",role:"status",children:t})]}))}function fm(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r,responsiveSize:n}=Ho();return jsx(Tabs.Content,l({"data-slot":"tabs-content","data-variant":r,"data-size":n,className:s(ml({variant:r,size:n}),e)},a))}var gl=cva("group/tile relative flex flex-col justify-center rounded-lg gap-0.5 px-5 py-4 cursor-default data-[disabled=true]:pointer-events-none",{variants:{variant:{regular:"bg-surface-settings-on text-primary-foreground fill-primary-foreground data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-on)_100%)] data-[disabled=true]:bg-surface-disable data-[inactive=true]:bg-surface-settings-off data-[inactive=true]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-off)_100%)]",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cm-background-fill-emphasis)_0%,_var(--color-cm-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-go-background-fill-emphasis)_0%,_var(--color-go-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cir-background-fill-emphasis)_0%,_var(--color-cir-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-ped-background-fill-emphasis)_0%,_var(--color-ped-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-prev-background-fill-emphasis)_0%,_var(--color-prev-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]"}},defaultVariants:{variant:"regular"}});function gm(i){var u=i,{className:e,variant:a="regular",asChild:o=false,disabled:t=false,inactive:r=false}=u,n=d(u,["className","variant","asChild","disabled","inactive"]);let c=o?Slot.Slot:"div";return jsxs(c,f(l({"data-slot":"tile","data-variant":a,"data-inactive":r,"data-disabled":t,"aria-disabled":t||r,className:s(gl({variant:a,className:e}),n.onClick&&!t&&"cursor-pointer")},n),{children:[n.children,n.onClick&&!t&&jsx(EditPencil,{className:"absolute right-5 top-4 size-5 opacity-0 transition-opacity group-hover/tile:opacity-100"})]}))}function xm(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",f(l({"data-slot":"tile-icon",className:s("mb-2.5 last:mb-0 [&>svg]:size-5",e)},o),{children:a}))}function hm(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",l({"data-slot":"tile-title",className:s("line-clamp-1 flex w-fit text-xs font-medium",e)},a))}function bm(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",l({"data-slot":"tile-description",className:s("line-clamp-1 flex w-fit text-sm font-semibold",e)},a))}var Im=3,km=5e3,Ve={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"},Vo=0;function ym(){return Vo=(Vo+1)%Number.MAX_SAFE_INTEGER,Vo.toString()}var Oo=new Map,xl=e=>{if(Oo.has(e))return;let a=setTimeout(()=>{Oo.delete(e),Qa({type:Ve.REMOVE_TOAST,toastId:e});},km);Oo.set(e,a);},Pm=(e,a)=>{switch(a.type){case Ve.ADD_TOAST:return f(l({},e),{toasts:[a.toast,...e.toasts].slice(0,Im)});case Ve.UPDATE_TOAST:return f(l({},e),{toasts:e.toasts.map(o=>o.id===a.toast.id?l(l({},o),a.toast):o)});case Ve.DISMISS_TOAST:{let{toastId:o}=a;return o?xl(o):e.toasts.forEach(t=>{xl(t.id);}),f(l({},e),{toasts:e.toasts.map(t=>t.id===o||a.toastId===void 0?f(l({},t),{open:false}):t)})}case Ve.REMOVE_TOAST:return a.toastId===void 0?f(l({},e),{toasts:[]}):f(l({},e),{toasts:e.toasts.filter(o=>o.id!==a.toastId)})}},qt=[],zt={toasts:[]};function Qa(e){zt=Pm(zt,e),[...qt].forEach(a=>{a(zt);});}function Sm(a){var e=d(a,[]);let o=ym(),t=n=>Qa({type:Ve.UPDATE_TOAST,toast:f(l({},n),{id:o})}),r=()=>Qa({type:Ve.DISMISS_TOAST,toastId:o});return Qa({type:Ve.ADD_TOAST,toast:f(l({},e),{id:o,open:true,onOpenChange:n=>{n||r();}})}),{id:o,dismiss:r,update:t}}function qo(){let[e,a]=useState(zt);return useEffect(()=>(qt.push(a),()=>{let o=qt.indexOf(a);o>-1&&qt.splice(o,1);}),[]),f(l({},e),{toast:Sm,dismiss:o=>Qa({type:Ve.DISMISS_TOAST,toastId:o})})}var Cl=cva("group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-md bg-surface-elevated p-2 pl-4 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:slide-in-from-top-full data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-4 data-[state=open]:duration-300 data-[state=closed]:duration-400 data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=cancel]:transition-transform data-[swipe=end]:animate-out transition-[transform,opacity]",{variants:{variant:{primary:"text-primary-foreground",secondary:"text-secondary-foreground",success:"text-feedback-success-foreground",warning:"text-feedback-warning-foreground",error:"text-feedback-error-foreground"}},defaultVariants:{variant:"primary"}}),Rm=cva("size-6 shrink-0",{variants:{variant:{primary:"text-primary-foreground fill-primary-background-soft",secondary:"text-secondary-foreground fill-secondary-background-soft",success:"text-feedback-success-foreground fill-feedback-success-background-soft",warning:"text-feedback-warning-foreground fill-feedback-warning-background-soft",error:"text-feedback-error-foreground fill-feedback-error-background-soft"}},defaultVariants:{variant:"primary"}}),Mm={primary:"regular-soft",secondary:"emphasis-soft",success:"success-soft",warning:"warning-soft",error:"error-soft"},Nm={primary:Info,secondary:Info,success:CircleCheck,warning:TriangleWarning,error:OctagonWarning},Bm=Toast.Provider;function Ll(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Toast.Viewport,l({"data-slot":"toast-viewport",className:s("fixed right-0 top-0 z-[100] flex max-h-screen w-full min-w-0 max-w-[500px] flex-col gap-2 p-4 md:w-[500px]",e)},a))}function vl(i){var u=i,{className:e,variant:a="primary",showIcon:o=true,duration:t=5e3,children:r}=u,n=d(u,["className","variant","showIcon","duration","children"]);let c=Nm[a||"primary"];return jsxs(Toast.Root,f(l({duration:t,className:s(Cl({variant:a}),e)},n),{children:[o&&jsx(c,{className:s(Rm({variant:a}))}),jsx("div",{className:"flex flex-1 items-center justify-between gap-4",children:r})]}))}function Fm(c){var p=c,{className:e,variant:a="primary",size:o="sm",iconLeft:t,iconRight:r,children:n,altText:i="Toast action"}=p,u=d(p,["className","variant","size","iconLeft","iconRight","children","altText"]);return jsx(Toast.Action,f(l({asChild:true,altText:i,className:s("inline-flex items-center justify-center",e)},u),{children:jsx(J,{iconLeft:t,iconRight:r,size:o,variant:Mm[a],children:n})}))}function Il(t){var r=t,{className:e,label:a="Fechar"}=r,o=d(r,["className","label"]);return jsx(Toast.Close,f(l({className:s("shrink-0",e)},o),{asChild:true,children:jsx(J,{iconLeft:jsx(CloseMd,{className:"size-4"}),size:"sm","aria-label":a,variant:"regular-basic"})}))}function kl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Toast.Title,l({className:s("flex-1 text-md font-medium",e)},a))}function yl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Toast.Description,l({className:s("text-xs",e)},a))}function Em(){let{toasts:e}=qo();return jsxs(Bm,{children:[e.map(function(i){var u=i,{id:a,title:o,description:t,action:r}=u,n=d(u,["id","title","description","action"]);return jsxs(vl,f(l({},n),{children:[jsxs("div",{className:"grid",children:[o&&jsx(kl,{children:o}),t&&jsx(yl,{children:t})]}),jsxs("div",{className:"flex items-center gap-2",children:[r,jsx(Il,{})]})]}),a)}),jsx(Ll,{})]})}/*! Bundled license information:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
lucide-react/dist/esm/defaultAttributes.js:
|
|
5
|
-
lucide-react/dist/esm/Icon.js:
|
|
6
|
-
lucide-react/dist/esm/createLucideIcon.js:
|
|
7
|
-
lucide-react/dist/esm/icons/x.js:
|
|
8
|
-
lucide-react/dist/esm/lucide-react.js:
|
|
9
|
-
(**
|
|
10
|
-
* @license lucide-react v0.540.0 - ISC
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the ISC license.
|
|
13
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
-
*)
|
|
15
|
-
*/export{Vl as Alert,_l as AlertActions,Ul as AlertButton,Ol as AlertContainer,ql as AlertContent,jo as AlertDescription,pn as AlertDialog,In as AlertDialogAction,kn as AlertDialogCancel,gn as AlertDialogContent,Ln as AlertDialogDescription,vn as AlertDialogFooter,xn as AlertDialogHeader,hn as AlertDialogIcon,rr as AlertDialogOverlay,or as AlertDialogPortal,bn as AlertDialogTag,Cn as AlertDialogTitle,mn as AlertDialogTrigger,zl as AlertIcon,Zo as AlertTitle,rd as Autocomplete,nd as AutocompleteContent,Jt as AutocompleteContentFooter,id as AutocompleteGroup,dd as AutocompleteItem,ud as AutocompleteText,ld as AutocompleteTrigger,sd as AutocompleteWrapper,wa as Avatar,Aa as AvatarFallback,Ta as AvatarImage,Re as Badge,Da as Breadcrumb,Cd as BreadcrumbEllipsis,rt as BreadcrumbItem,bd as BreadcrumbLink,Ra as BreadcrumbList,ao as BreadcrumbPage,to as BreadcrumbSeparator,J as Button,Ci as CardContinue,ki as CardContinueBreadcrumb,Pi as CardContinueButton,vi as CardContinueContent,Ii as CardContinueHeader,Li as CardContinueImage,yi as CardContinueTitle,Bi as CardLesson,Wi as CardLessonButton,Ei as CardLessonContent,qi as CardLessonDuration,Ui as CardLessonFooter,Hi as CardLessonHeader,_i as CardLessonIcon,zi as CardLessonIcons,Fi as CardLessonImage,Vi as CardLessonLabel,Gi as CardLessonStatus,Oi as CardLessonTitle,_d as CardModule,jd as CardModuleAction,Zd as CardModuleButton,Kd as CardModuleFooter,Ud as CardModuleHeader,Gd as CardModuleLabel,Xd as CardModuleProgress,Wd as CardModuleTitle,$i as CardNews,iu as CardNewsAuthor,Yi as CardNewsBody,ou as CardNewsContent,au as CardNewsDate,su as CardNewsDescription,uu as CardNewsFooter,Ji as CardNewsHeader,tu as CardNewsImage,nu as CardNewsResourceItem,lu as CardNewsResources,eu as CardNewsTags,ru as CardNewsTitle,li as CardTopic,di as CardTopicColumn,pi as CardTopicContent,ci as CardTopicCount,ii as CardTopicNumber,fi as CardTopicProgress,ui as CardTopicTitle,ni as CardTopicTrigger,kd as CardWeek,Ed as CardWeekActions,yd as CardWeekBreadcrumb,Pd as CardWeekContainer,Nd as CardWeekContent,Td as CardWeekDescription,Md as CardWeekFooter,Sd as CardWeekHeader,Rd as CardWeekProgress,Dd as CardWeekProgressCircle,Fd as CardWeekStatus,Ad as CardWeekTags,Bd as CardWeekText,wd as CardWeekTitle,gu as Checkbox,no as Collapsible,uo as CollapsibleContent,io as CollapsibleTrigger,Fu as DatePicker,Du as DatePickerLabel,Ru as DatePickerText,Au as DatePickerWrapper,Eu as DateRangePicker,_n as Dialog,Gn as DialogClose,Wn as DialogContainer,Xn as DialogContent,Qn as DialogDescription,Zn as DialogFooter,Kn as DialogHeader,Pr as DialogOverlay,yr as DialogPortal,jn as DialogTitle,Un as DialogTrigger,po as DropdownMenu,vu as DropdownMenuCheckboxItem,go as DropdownMenuContent,Lu as DropdownMenuGroup,pt as DropdownMenuItem,ho as DropdownMenuLabel,Cu as DropdownMenuPortal,mt as DropdownMenuRadioGroup,xo as DropdownMenuRadioItem,bo as DropdownMenuSeparator,Iu as DropdownMenuShortcut,ku as DropdownMenuSub,Pu as DropdownMenuSubContent,yu as DropdownMenuSubTrigger,mo as DropdownMenuTrigger,Qe as FallbackImage,za as INDEX_LEVEL_LABELS,zu as IndexLevel,Xu as IndexLevelAnimated,Lt as IndexLevelIcon,Po as Input,ko as InputAdornment,yo as InputEndIcon,lf as InputField,nf as InputLabel,Ss as InputNumeric,Ps as InputPassword,yt as InputStartIcon,df as InputText,sf as InputWrapper,mf as Label,Ut as Loading,xf as Logo,bf as LogoCircular,hf as LogoShort,Pf as Pagination,Ds as PaginationContent,Bs as PaginationEllipsis,So as PaginationInfo,Pt as PaginationItem,Rs as PaginationLink,Ns as PaginationNext,Ms as PaginationPrevious,As as PaginationRoot,Ze as Progress,so as ProgressCircle,Af as RadioGroup,Df as RadioGroupItem,Vf as Ranking,$f as RankingAssigneeGroup,Yf as RankingAssigneeItem,Qf as RankingAssigneeLabel,jf as RankingAssigneesColumn,zf as RankingBody,sc as RankingButton,Of as RankingHeader,qf as RankingHeaderCell,_f as RankingItem,Uf as RankingNumber,rc as RankingPerformance,Jf as RankingPriority,ac as RankingQuestions,Xf as RankingSpecialty,Zf as RankingSuperFocus,Kf as RankingTopic,Gf as RankingTopicColumn,Wf as RankingTopicContent,uc as Rating,zs as RatingButtonVariants,_s as RatingLabelVariants,qs as RatingStarVariants,To as ScrollArea,Ga as ScrollBar,Fc as SegmentControl,Vc as SegmentControlContent,Ec as SegmentControlList,Hc as SegmentControlTrigger,bc as Select,Sc as SelectContent,vc as SelectGroup,wc as SelectHeader,Tc as SelectItem,Lc as SelectLabel,Xs as SelectScrollDownButton,Ws as SelectScrollUpButton,Ac as SelectSeparator,Dc as SelectText,Pc as SelectTrigger,Ic as SelectValue,Cc as SelectWrapper,na as Separator,No as Sheet,Wc as SheetClose,Bo as SheetContent,$c as SheetDescription,jc as SheetFooter,Zc as SheetHeader,Qc as SheetTitle,Gc as SheetTrigger,ip as Sidebar,hp as SidebarContent,gp as SidebarFooter,bp as SidebarGroup,Lp as SidebarGroupAction,vp as SidebarGroupContent,Cp as SidebarGroupLabel,mp as SidebarHeader,pp as SidebarInput,cp as SidebarInset,Ip as SidebarMenu,Sp as SidebarMenuAction,wp as SidebarMenuBadge,Pp as SidebarMenuButton,kp as SidebarMenuItem,Mp as SidebarMenuItemCollapse,Rp as SidebarMenuItemTitle,Tp as SidebarMenuSkeleton,Ap as SidebarMenuSub,Np as SidebarMenuSubButton,Dp as SidebarMenuSubItem,dp as SidebarProvider,fp as SidebarRail,xp as SidebarSeparator,up as SidebarTrigger,Bt as Skeleton,Op as Switch,Wp as Switcher,Kp as SwitcherContent,Qp as SwitcherFooter,Zp as SwitcherGroup,jp as SwitcherItem,$p as SwitcherSeparator,Xp as SwitcherTrigger,dm as Tabs,fm as TabsContent,im as TabsList,um as TabsTrigger,de as Tag,gm as Tile,bm as TileDescription,xm as TileIcon,hm as TileTitle,vl as Toast,Fm as ToastAction,Il as ToastClose,yl as ToastDescription,Em as ToastProvider,kl as ToastTitle,Ll as ToastViewport,Be as Tooltip,Ee as TooltipContent,Ue as TooltipProvider,Fe as TooltipTrigger,Qo as alertButtonVariants,Ko as alertVariants,pa as applyInputIconSize,Vr as avatarVariants,Yo as badgeVariants,La as buttonVariants,Fs as calculatePageNumbers,Zr as cardLessonVariants,it as cardModuleStatusVariants,Ur as cardModuleVariants,Yr as checkboxVariants,Io as datePickerTriggerVariants,Ls as indexLevelAnimatedVariants,hs as indexLevelIconVariants,xs as indexLevelVariants,ws as labelVariants,Es as radioGroupVariants,Zs as segmentControlTriggerVariants,nl as switchVariants,ml as tabsContentVariants,cl as tabsListVariants,pl as tabsTriggerVariants,ar as tagVariants,gl as tileVariants,Cl as toastVariants,Ea as useIsMobile,ba as useSidebar,qo as useToast};//# sourceMappingURL=index.mjs.map
|
|
16
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
"use strict";
|
|
2
|
+
import{Alert as o,AlertActions as t,AlertButton as a,AlertContainer as n,AlertContent as i,AlertDescription as l,AlertIcon as d,AlertTitle as s,alertButtonVariants as p,alertVariants as u}from"./components/Alert.mjs";import{AlertDialog as C,AlertDialogAction as c,AlertDialogCancel as m,AlertDialogContent as S,AlertDialogDescription as b,AlertDialogFooter as T,AlertDialogHeader as x,AlertDialogIcon as D,AlertDialogOverlay as I,AlertDialogPortal as f,AlertDialogTag as A,AlertDialogTitle as k,AlertDialogTrigger as L}from"./components/AlertDialog.mjs";import{Autocomplete as M,AutocompleteContent as P,AutocompleteContentFooter as R,AutocompleteGroup as V,AutocompleteItem as B,AutocompleteText as h,AutocompleteTrigger as N,AutocompleteWrapper as W}from"./components/Autocomplete.mjs";import{Avatar as F,AvatarFallback as G,AvatarImage as H,avatarVariants as y}from"./components/Avatar.mjs";import{Badge as O,badgeVariants as _}from"./components/Badge.mjs";import{Breadcrumb as Q,BreadcrumbEllipsis as U,BreadcrumbItem as X,BreadcrumbLink as j,BreadcrumbList as q,BreadcrumbPage as J,BreadcrumbSeparator as K}from"./components/Breadcrumb.mjs";import{Button as Z,buttonVariants as $}from"./components/Button.mjs";import{CardWeek as re,CardWeekActions as oe,CardWeekBreadcrumb as te,CardWeekContainer as ae,CardWeekContent as ne,CardWeekDescription as ie,CardWeekFooter as le,CardWeekHeader as de,CardWeekProgress as se,CardWeekProgressCircle as pe,CardWeekStatus as ue,CardWeekTags as ge,CardWeekText as Ce,CardWeekTitle as ce}from"./components/CardWeek.mjs";import{CardModule as Se,CardModuleAction as be,CardModuleButton as Te,CardModuleFooter as xe,CardModuleHeader as De,CardModuleLabel as Ie,CardModuleProgress as fe,CardModuleTitle as Ae,cardModuleStatusVariants as ke,cardModuleVariants as Le}from"./components/CardModule.mjs";import{CardTopic as Me,CardTopicColumn as Pe,CardTopicContent as Re,CardTopicCount as Ve,CardTopicNumber as Be,CardTopicProgress as he,CardTopicTitle as Ne,CardTopicTrigger as We}from"./components/CardTopic.mjs";import{CardContinue as Fe,CardContinueBreadcrumb as Ge,CardContinueButton as He,CardContinueContent as ye,CardContinueHeader as Ee,CardContinueImage as Oe,CardContinueTitle as _e}from"./components/CardContinue.mjs";import{CardLesson as Qe,CardLessonButton as Ue,CardLessonContent as Xe,CardLessonDuration as je,CardLessonFooter as qe,CardLessonHeader as Je,CardLessonIcon as Ke,CardLessonIcons as Ye,CardLessonImage as Ze,CardLessonLabel as $e,CardLessonStatus as er,CardLessonTitle as rr,cardLessonVariants as or}from"./components/CardLesson.mjs";import{CardNews as ar,CardNewsAuthor as nr,CardNewsBody as ir,CardNewsContent as lr,CardNewsDate as dr,CardNewsDescription as sr,CardNewsFooter as pr,CardNewsHeader as ur,CardNewsImage as gr,CardNewsResourceItem as Cr,CardNewsResources as cr,CardNewsTags as mr,CardNewsTitle as Sr}from"./components/CardNews.mjs";import{Checkbox as Tr,checkboxVariants as xr}from"./components/Checkbox.mjs";import{Collapsible as Ir,CollapsibleContent as fr,CollapsibleTrigger as Ar}from"./components/Collapsible.mjs";import{Dialog as Lr,DialogClose as wr,DialogContainer as Mr,DialogContent as Pr,DialogDescription as Rr,DialogFooter as Vr,DialogHeader as Br,DialogOverlay as hr,DialogPortal as Nr,DialogTitle as Wr,DialogTrigger as vr}from"./components/Dialog.mjs";import{DropdownMenu as Gr,DropdownMenuCheckboxItem as Hr,DropdownMenuContent as yr,DropdownMenuGroup as Er,DropdownMenuItem as Or,DropdownMenuLabel as _r,DropdownMenuPortal as zr,DropdownMenuRadioGroup as Qr,DropdownMenuRadioItem as Ur,DropdownMenuSeparator as Xr,DropdownMenuShortcut as jr,DropdownMenuSub as qr,DropdownMenuSubContent as Jr,DropdownMenuSubTrigger as Kr,DropdownMenuTrigger as Yr}from"./components/DropdownMenu.mjs";import{DatePicker as $r,DatePickerLabel as eo,DatePickerText as ro,DatePickerWrapper as oo,DateRangePicker as to,datePickerTriggerVariants as ao}from"./components/DatePicker.mjs";import{INDEX_LEVEL_LABELS as io,IndexLevel as lo,IndexLevelIcon as so,indexLevelIconVariants as po,indexLevelVariants as uo}from"./components/IndexLevel.mjs";import{IndexLevelAnimated as Co,indexLevelAnimatedVariants as co}from"./components/IndexLevelAnimated.mjs";import{Input as So,InputAdornment as bo,InputEndIcon as To,InputField as xo,InputLabel as Do,InputNumeric as Io,InputPassword as fo,InputStartIcon as Ao,InputText as ko,InputWrapper as Lo,applyInputIconSize as wo}from"./components/Input.mjs";import{Label as Po,labelVariants as Ro}from"./components/Label.mjs";import{FallbackImage as Bo}from"./components/FallbackImage.mjs";import{Loading as No}from"./components/Loading.mjs";import{Logo as vo,LogoCircular as Fo,LogoShort as Go}from"./components/Logo.mjs";import{Pagination as yo,PaginationContent as Eo,PaginationEllipsis as Oo,PaginationInfo as _o,PaginationItem as zo,PaginationLink as Qo,PaginationNext as Uo,PaginationPrevious as Xo,PaginationRoot as jo,calculatePageNumbers as qo}from"./components/Pagination.mjs";import{Progress as Ko}from"./components/Progress.mjs";import{ProgressCircle as Zo}from"./components/ProgressCircle.mjs";import{RadioGroup as et,RadioGroupItem as rt,radioGroupVariants as ot}from"./components/RadioGroup.mjs";import{Ranking as at,RankingAssigneeGroup as nt,RankingAssigneeItem as it,RankingAssigneeLabel as lt,RankingAssigneesColumn as dt,RankingBody as st,RankingButton as pt,RankingHeader as ut,RankingHeaderCell as gt,RankingItem as Ct,RankingNumber as ct,RankingPerformance as mt,RankingPriority as St,RankingQuestions as bt,RankingSpecialty as Tt,RankingSuperFocus as xt,RankingTopic as Dt,RankingTopicColumn as It,RankingTopicContent as ft}from"./components/Ranking.mjs";import{Rating as kt,RatingButtonVariants as Lt,RatingLabelVariants as wt,RatingStarVariants as Mt}from"./components/Rating.mjs";import{ScrollArea as Rt,ScrollBar as Vt}from"./components/ScrollArea.mjs";import{Select as ht,SelectContent as Nt,SelectGroup as Wt,SelectHeader as vt,SelectItem as Ft,SelectLabel as Gt,SelectScrollDownButton as Ht,SelectScrollUpButton as yt,SelectSeparator as Et,SelectText as Ot,SelectTrigger as _t,SelectValue as zt,SelectWrapper as Qt}from"./components/Select.mjs";import{SegmentControl as Xt,SegmentControlContent as jt,SegmentControlList as qt,SegmentControlTrigger as Jt,segmentControlTriggerVariants as Kt}from"./components/SegmentControl.mjs";import{Separator as Zt}from"./components/Separator.mjs";import{Sheet as ea,SheetClose as ra,SheetContent as oa,SheetDescription as ta,SheetFooter as aa,SheetHeader as na,SheetTitle as ia,SheetTrigger as la}from"./components/Sheet.mjs";import{Sidebar as sa,SidebarContent as pa,SidebarFooter as ua,SidebarGroup as ga,SidebarGroupAction as Ca,SidebarGroupContent as ca,SidebarGroupLabel as ma,SidebarHeader as Sa,SidebarInput as ba,SidebarInset as Ta,SidebarMenu as xa,SidebarMenuAction as Da,SidebarMenuBadge as Ia,SidebarMenuButton as fa,SidebarMenuItem as Aa,SidebarMenuItemCollapse as ka,SidebarMenuItemTitle as La,SidebarMenuSkeleton as wa,SidebarMenuSub as Ma,SidebarMenuSubButton as Pa,SidebarMenuSubItem as Ra,SidebarProvider as Va,SidebarRail as Ba,SidebarSeparator as ha,SidebarTrigger as Na,useSidebar as Wa}from"./components/Sidebar.mjs";import{Skeleton as Fa}from"./components/Skeleton.mjs";import{Switch as Ha,switchVariants as ya}from"./components/Switch.mjs";import{Switcher as Oa,SwitcherContent as _a,SwitcherFooter as za,SwitcherGroup as Qa,SwitcherItem as Ua,SwitcherSeparator as Xa,SwitcherTrigger as ja}from"./components/Switcher.mjs";import{Tabs as Ja,TabsContent as Ka,TabsList as Ya,TabsTrigger as Za,tabsContentVariants as $a,tabsListVariants as en,tabsTriggerVariants as rn}from"./components/Tabs.mjs";import{Tag as tn,tagVariants as an}from"./components/Tag.mjs";import{Tile as ln,TileDescription as dn,TileIcon as sn,TileTitle as pn,tileVariants as un}from"./components/Tile.mjs";import{Toast as Cn,ToastAction as cn,ToastClose as mn,ToastDescription as Sn,ToastProvider as bn,ToastTitle as Tn,ToastViewport as xn,toastVariants as Dn}from"./components/Toast.mjs";import{useToast as fn}from"./hooks/use-toast.mjs";import{Tooltip as kn,TooltipContent as Ln,TooltipProvider as wn,TooltipTrigger as Mn}from"./components/Tooltip.mjs";import{useIsMobile as Rn}from"./hooks/use-mobile.mjs";export{o as Alert,t as AlertActions,a as AlertButton,n as AlertContainer,i as AlertContent,l as AlertDescription,C as AlertDialog,c as AlertDialogAction,m as AlertDialogCancel,S as AlertDialogContent,b as AlertDialogDescription,T as AlertDialogFooter,x as AlertDialogHeader,D as AlertDialogIcon,I as AlertDialogOverlay,f as AlertDialogPortal,A as AlertDialogTag,k as AlertDialogTitle,L as AlertDialogTrigger,d as AlertIcon,s as AlertTitle,M as Autocomplete,P as AutocompleteContent,R as AutocompleteContentFooter,V as AutocompleteGroup,B as AutocompleteItem,h as AutocompleteText,N as AutocompleteTrigger,W as AutocompleteWrapper,F as Avatar,G as AvatarFallback,H as AvatarImage,O as Badge,Q as Breadcrumb,U as BreadcrumbEllipsis,X as BreadcrumbItem,j as BreadcrumbLink,q as BreadcrumbList,J as BreadcrumbPage,K as BreadcrumbSeparator,Z as Button,Fe as CardContinue,Ge as CardContinueBreadcrumb,He as CardContinueButton,ye as CardContinueContent,Ee as CardContinueHeader,Oe as CardContinueImage,_e as CardContinueTitle,Qe as CardLesson,Ue as CardLessonButton,Xe as CardLessonContent,je as CardLessonDuration,qe as CardLessonFooter,Je as CardLessonHeader,Ke as CardLessonIcon,Ye as CardLessonIcons,Ze as CardLessonImage,$e as CardLessonLabel,er as CardLessonStatus,rr as CardLessonTitle,Se as CardModule,be as CardModuleAction,Te as CardModuleButton,xe as CardModuleFooter,De as CardModuleHeader,Ie as CardModuleLabel,fe as CardModuleProgress,Ae as CardModuleTitle,ar as CardNews,nr as CardNewsAuthor,ir as CardNewsBody,lr as CardNewsContent,dr as CardNewsDate,sr as CardNewsDescription,pr as CardNewsFooter,ur as CardNewsHeader,gr as CardNewsImage,Cr as CardNewsResourceItem,cr as CardNewsResources,mr as CardNewsTags,Sr as CardNewsTitle,Me as CardTopic,Pe as CardTopicColumn,Re as CardTopicContent,Ve as CardTopicCount,Be as CardTopicNumber,he as CardTopicProgress,Ne as CardTopicTitle,We as CardTopicTrigger,re as CardWeek,oe as CardWeekActions,te as CardWeekBreadcrumb,ae as CardWeekContainer,ne as CardWeekContent,ie as CardWeekDescription,le as CardWeekFooter,de as CardWeekHeader,se as CardWeekProgress,pe as CardWeekProgressCircle,ue as CardWeekStatus,ge as CardWeekTags,Ce as CardWeekText,ce as CardWeekTitle,Tr as Checkbox,Ir as Collapsible,fr as CollapsibleContent,Ar as CollapsibleTrigger,$r as DatePicker,eo as DatePickerLabel,ro as DatePickerText,oo as DatePickerWrapper,to as DateRangePicker,Lr as Dialog,wr as DialogClose,Mr as DialogContainer,Pr as DialogContent,Rr as DialogDescription,Vr as DialogFooter,Br as DialogHeader,hr as DialogOverlay,Nr as DialogPortal,Wr as DialogTitle,vr as DialogTrigger,Gr as DropdownMenu,Hr as DropdownMenuCheckboxItem,yr as DropdownMenuContent,Er as DropdownMenuGroup,Or as DropdownMenuItem,_r as DropdownMenuLabel,zr as DropdownMenuPortal,Qr as DropdownMenuRadioGroup,Ur as DropdownMenuRadioItem,Xr as DropdownMenuSeparator,jr as DropdownMenuShortcut,qr as DropdownMenuSub,Jr as DropdownMenuSubContent,Kr as DropdownMenuSubTrigger,Yr as DropdownMenuTrigger,Bo as FallbackImage,io as INDEX_LEVEL_LABELS,lo as IndexLevel,Co as IndexLevelAnimated,so as IndexLevelIcon,So as Input,bo as InputAdornment,To as InputEndIcon,xo as InputField,Do as InputLabel,Io as InputNumeric,fo as InputPassword,Ao as InputStartIcon,ko as InputText,Lo as InputWrapper,Po as Label,No as Loading,vo as Logo,Fo as LogoCircular,Go as LogoShort,yo as Pagination,Eo as PaginationContent,Oo as PaginationEllipsis,_o as PaginationInfo,zo as PaginationItem,Qo as PaginationLink,Uo as PaginationNext,Xo as PaginationPrevious,jo as PaginationRoot,Ko as Progress,Zo as ProgressCircle,et as RadioGroup,rt as RadioGroupItem,at as Ranking,nt as RankingAssigneeGroup,it as RankingAssigneeItem,lt as RankingAssigneeLabel,dt as RankingAssigneesColumn,st as RankingBody,pt as RankingButton,ut as RankingHeader,gt as RankingHeaderCell,Ct as RankingItem,ct as RankingNumber,mt as RankingPerformance,St as RankingPriority,bt as RankingQuestions,Tt as RankingSpecialty,xt as RankingSuperFocus,Dt as RankingTopic,It as RankingTopicColumn,ft as RankingTopicContent,kt as Rating,Lt as RatingButtonVariants,wt as RatingLabelVariants,Mt as RatingStarVariants,Rt as ScrollArea,Vt as ScrollBar,Xt as SegmentControl,jt as SegmentControlContent,qt as SegmentControlList,Jt as SegmentControlTrigger,ht as Select,Nt as SelectContent,Wt as SelectGroup,vt as SelectHeader,Ft as SelectItem,Gt as SelectLabel,Ht as SelectScrollDownButton,yt as SelectScrollUpButton,Et as SelectSeparator,Ot as SelectText,_t as SelectTrigger,zt as SelectValue,Qt as SelectWrapper,Zt as Separator,ea as Sheet,ra as SheetClose,oa as SheetContent,ta as SheetDescription,aa as SheetFooter,na as SheetHeader,ia as SheetTitle,la as SheetTrigger,sa as Sidebar,pa as SidebarContent,ua as SidebarFooter,ga as SidebarGroup,Ca as SidebarGroupAction,ca as SidebarGroupContent,ma as SidebarGroupLabel,Sa as SidebarHeader,ba as SidebarInput,Ta as SidebarInset,xa as SidebarMenu,Da as SidebarMenuAction,Ia as SidebarMenuBadge,fa as SidebarMenuButton,Aa as SidebarMenuItem,ka as SidebarMenuItemCollapse,La as SidebarMenuItemTitle,wa as SidebarMenuSkeleton,Ma as SidebarMenuSub,Pa as SidebarMenuSubButton,Ra as SidebarMenuSubItem,Va as SidebarProvider,Ba as SidebarRail,ha as SidebarSeparator,Na as SidebarTrigger,Fa as Skeleton,Ha as Switch,Oa as Switcher,_a as SwitcherContent,za as SwitcherFooter,Qa as SwitcherGroup,Ua as SwitcherItem,Xa as SwitcherSeparator,ja as SwitcherTrigger,Ja as Tabs,Ka as TabsContent,Ya as TabsList,Za as TabsTrigger,tn as Tag,ln as Tile,dn as TileDescription,sn as TileIcon,pn as TileTitle,Cn as Toast,cn as ToastAction,mn as ToastClose,Sn as ToastDescription,bn as ToastProvider,Tn as ToastTitle,xn as ToastViewport,kn as Tooltip,Ln as TooltipContent,wn as TooltipProvider,Mn as TooltipTrigger,p as alertButtonVariants,u as alertVariants,wo as applyInputIconSize,y as avatarVariants,_ as badgeVariants,$ as buttonVariants,qo as calculatePageNumbers,or as cardLessonVariants,ke as cardModuleStatusVariants,Le as cardModuleVariants,xr as checkboxVariants,ao as datePickerTriggerVariants,co as indexLevelAnimatedVariants,po as indexLevelIconVariants,uo as indexLevelVariants,Ro as labelVariants,ot as radioGroupVariants,Kt as segmentControlTriggerVariants,ya as switchVariants,$a as tabsContentVariants,en as tabsListVariants,rn as tabsTriggerVariants,an as tagVariants,un as tileVariants,Dn as toastVariants,Rn as useIsMobile,Wa as useSidebar,fn as useToast};
|
|
3
|
+
//# sourceMappingURL=index.mjs.map
|