@televet/kibble-ui 4.0.0-beta.69 → 4.0.0-beta.7
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/README.md +0 -40
- package/dist/chunks/alert.types-BgmtNKXK.js +2 -0
- package/dist/chunks/alert.types-BgmtNKXK.js.map +1 -0
- package/dist/chunks/alert.types-Bxdx-xbS.js +172 -0
- package/dist/chunks/alert.types-Bxdx-xbS.js.map +1 -0
- package/dist/chunks/avatar.component-BdxN6QYq.js +307 -0
- package/dist/chunks/avatar.component-BdxN6QYq.js.map +1 -0
- package/dist/chunks/avatar.component-BzPaBLJu.js +2 -0
- package/dist/chunks/avatar.component-BzPaBLJu.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-Bcb1Fxwv.js → avatarGroup.component-CceV-fW0.js} +28 -27
- package/dist/chunks/{avatarGroup.component-Bcb1Fxwv.js.map → avatarGroup.component-CceV-fW0.js.map} +1 -1
- package/dist/chunks/avatarGroup.component-Q43nemix.js +2 -0
- package/dist/chunks/{avatarGroup.component-D4lmT752.js.map → avatarGroup.component-Q43nemix.js.map} +1 -1
- package/dist/chunks/button.component-B0GkYzVz.js +2 -0
- package/dist/chunks/button.component-B0GkYzVz.js.map +1 -0
- package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-BtkAjIWe.js} +10 -10
- package/dist/chunks/button.component-BtkAjIWe.js.map +1 -0
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js +2 -0
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +1 -0
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +67 -0
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js.map +1 -0
- package/dist/chunks/card.component-HX-4Y0j7.js +51 -0
- package/dist/chunks/card.component-HX-4Y0j7.js.map +1 -0
- package/dist/chunks/card.component-ZIoJIWVV.js +2 -0
- package/dist/chunks/card.component-ZIoJIWVV.js.map +1 -0
- package/dist/chunks/{theme.provider-Dez6uepg.js → chakra-BqBkjpvZ.js} +4468 -5308
- package/dist/chunks/chakra-BqBkjpvZ.js.map +1 -0
- package/dist/chunks/chakra-DmF8Cxqs.js +5 -0
- package/dist/chunks/chakra-DmF8Cxqs.js.map +1 -0
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +2 -0
- package/dist/chunks/{characterCounter.component-WGffeYNG.js.map → characterCounter.component-BXxyn_IB.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-UgnBVIt2.js → characterCounter.component-DhiMcztY.js} +12 -14
- package/dist/chunks/{characterCounter.component-UgnBVIt2.js.map → characterCounter.component-DhiMcztY.js.map} +1 -1
- package/dist/chunks/checkbox.component-DCdt-YxF.js +90 -0
- package/dist/chunks/checkbox.component-DCdt-YxF.js.map +1 -0
- package/dist/chunks/checkbox.component-jiWqSWP0.js +2 -0
- package/dist/chunks/checkbox.component-jiWqSWP0.js.map +1 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-BYKUQW4y.js +2 -0
- package/dist/chunks/{checkboxGroup.component-Dc_r6mYN.js.map → checkboxGroup.component-BYKUQW4y.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +51 -0
- package/dist/chunks/{checkboxGroup.component-DhXdSILq.js.map → checkboxGroup.component-DcIdfbbl.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-Eb3E-4jY.js → conversationCard.component-BSfDNuuw.js} +49 -51
- package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +1 -0
- package/dist/chunks/conversationCard.component-BcHNpQ76.js +2 -0
- package/dist/chunks/conversationCard.component-BcHNpQ76.js.map +1 -0
- package/dist/chunks/date-1NFv48Qu.js +3598 -0
- package/dist/chunks/date-1NFv48Qu.js.map +1 -0
- package/dist/chunks/date-Du64Exix.js +15 -0
- package/dist/chunks/date-Du64Exix.js.map +1 -0
- package/dist/chunks/datePicker.component-CnRDt24V.js +2 -0
- package/dist/chunks/datePicker.component-CnRDt24V.js.map +1 -0
- package/dist/chunks/datePicker.component-DubnEnlU.js +750 -0
- package/dist/chunks/datePicker.component-DubnEnlU.js.map +1 -0
- package/dist/chunks/dnd-4IMP_kRN.js +6 -0
- package/dist/chunks/dnd-4IMP_kRN.js.map +1 -0
- package/dist/chunks/{sortableList.component-DI2da4B_.js → dnd-DDR6viHX.js} +887 -1015
- package/dist/chunks/dnd-DDR6viHX.js.map +1 -0
- package/dist/chunks/heading.component-B8niLTxz.js +10 -0
- package/dist/chunks/heading.component-B8niLTxz.js.map +1 -0
- package/dist/chunks/heading.component-CExbjSBi.js +2 -0
- package/dist/chunks/heading.component-CExbjSBi.js.map +1 -0
- package/dist/chunks/heading.records-BaWnrbgl.js +14 -0
- package/dist/chunks/heading.records-BaWnrbgl.js.map +1 -0
- package/dist/chunks/heading.records-CbR05iL_.js +2 -0
- package/dist/chunks/heading.records-CbR05iL_.js.map +1 -0
- package/dist/chunks/{icon.component-DGNCL1Yc.js → icon.component-DjNY589M.js} +16 -14
- package/dist/chunks/icon.component-DjNY589M.js.map +1 -0
- package/dist/chunks/icon.component-DtX9HDyk.js +2 -0
- package/dist/chunks/icon.component-DtX9HDyk.js.map +1 -0
- package/dist/chunks/link.component-DjkiASIu.js +58 -0
- package/dist/chunks/link.component-DjkiASIu.js.map +1 -0
- package/dist/chunks/link.component-XWINESZ0.js +2 -0
- package/dist/chunks/link.component-XWINESZ0.js.map +1 -0
- package/dist/chunks/menu.component-CT28-CuT.js +2 -0
- package/dist/chunks/menu.component-CT28-CuT.js.map +1 -0
- package/dist/chunks/menu.component-gxhQh-pU.js +390 -0
- package/dist/chunks/menu.component-gxhQh-pU.js.map +1 -0
- package/dist/chunks/modal.types-CcUqszK6.js +2 -0
- package/dist/chunks/modal.types-CcUqszK6.js.map +1 -0
- package/dist/chunks/modal.types-pXkUwszR.js +146 -0
- package/dist/chunks/modal.types-pXkUwszR.js.map +1 -0
- package/dist/chunks/notificationCounter.component-D6v39lna.js +2 -0
- package/dist/chunks/{notificationCounter.component-BhZcuBmr.js.map → notificationCounter.component-D6v39lna.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-Bei8mHSZ.js → notificationCounter.component-DU5P6Ilh.js} +8 -10
- package/dist/chunks/{notificationCounter.component-Bei8mHSZ.js.map → notificationCounter.component-DU5P6Ilh.js.map} +1 -1
- package/dist/chunks/popover.component-CnJmg9qf.js +221 -0
- package/dist/chunks/popover.component-CnJmg9qf.js.map +1 -0
- package/dist/chunks/popover.component-DdC0CY7-.js +2 -0
- package/dist/chunks/popover.component-DdC0CY7-.js.map +1 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js +123 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +1 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js +2 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +1 -0
- package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
- package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js +2 -0
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +1 -0
- package/dist/chunks/radioGroup.component-D96ItNYx.js +151 -0
- package/dist/chunks/radioGroup.component-D96ItNYx.js.map +1 -0
- package/dist/chunks/{ratingDots.component-DNeSgGRt.js → ratingDots.component-B4OK_lXC.js} +28 -31
- package/dist/chunks/{ratingDots.component-DNeSgGRt.js.map → ratingDots.component-B4OK_lXC.js.map} +1 -1
- package/dist/chunks/ratingDots.component-DOZX6EE0.js +2 -0
- package/dist/chunks/{ratingDots.component-DvlGbBPz.js.map → ratingDots.component-DOZX6EE0.js.map} +1 -1
- package/dist/chunks/select.component-CqhmG4oz.js +2 -0
- package/dist/chunks/select.component-CqhmG4oz.js.map +1 -0
- package/dist/chunks/select.component-_JVxRL_-.js +129 -0
- package/dist/chunks/select.component-_JVxRL_-.js.map +1 -0
- package/dist/chunks/sortableList.component-BH9-C_Pe.js +2 -0
- package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +1 -0
- package/dist/chunks/sortableList.component-CdDArkRq.js +145 -0
- package/dist/chunks/sortableList.component-CdDArkRq.js.map +1 -0
- package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
- package/dist/chunks/{spinner.component-DUIpnXU8.js.map → spinner.component-CUuidnSK.js.map} +1 -1
- package/dist/chunks/{spinner.component-DER6c5R6.js → spinner.component-D5tkelNc.js} +19 -21
- package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js +2 -0
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-EGc1-I1N.js → styledAvatar.types-CoxQchLt.js} +3 -3
- package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +1 -0
- package/dist/chunks/switch.component-6jkW8-JB.js +2 -0
- package/dist/chunks/switch.component-6jkW8-JB.js.map +1 -0
- package/dist/chunks/switch.component-BopLXT0i.js +53 -0
- package/dist/chunks/switch.component-BopLXT0i.js.map +1 -0
- package/dist/chunks/tabs.component-BJv145kf.js +2 -0
- package/dist/chunks/tabs.component-BJv145kf.js.map +1 -0
- package/dist/chunks/tabs.component-DTvdLvkX.js +87 -0
- package/dist/chunks/tabs.component-DTvdLvkX.js.map +1 -0
- package/dist/chunks/tag.component-DK64cZSr.js +67 -0
- package/dist/chunks/tag.component-DK64cZSr.js.map +1 -0
- package/dist/chunks/tag.component-D_hbxu6m.js +2 -0
- package/dist/chunks/tag.component-D_hbxu6m.js.map +1 -0
- package/dist/chunks/{tagBlock.component-C-CNF4In.js → tagBlock.component-LX4_ve_f.js} +17 -18
- package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +1 -0
- package/dist/chunks/tagBlock.component-a2gERgrx.js +2 -0
- package/dist/chunks/tagBlock.component-a2gERgrx.js.map +1 -0
- package/dist/chunks/text.component-CBa_saMP.js +2 -0
- package/dist/chunks/text.component-CBa_saMP.js.map +1 -0
- package/dist/chunks/text.component-XYjOAc2s.js +10 -0
- package/dist/chunks/text.component-XYjOAc2s.js.map +1 -0
- package/dist/chunks/text.records-BK_JBYsT.js +16 -0
- package/dist/chunks/text.records-BK_JBYsT.js.map +1 -0
- package/dist/chunks/text.records-CIL3bbY0.js +2 -0
- package/dist/chunks/text.records-CIL3bbY0.js.map +1 -0
- package/dist/chunks/textInput.component-Bk7D4sbG.js +99 -0
- package/dist/chunks/textInput.component-Bk7D4sbG.js.map +1 -0
- package/dist/chunks/textInput.component-GSpfSqUc.js +2 -0
- package/dist/chunks/textInput.component-GSpfSqUc.js.map +1 -0
- package/dist/chunks/textarea.component-B8U8KcND.js +2 -0
- package/dist/chunks/textarea.component-B8U8KcND.js.map +1 -0
- package/dist/chunks/textarea.component-CT8iVuNX.js +51 -0
- package/dist/chunks/textarea.component-CT8iVuNX.js.map +1 -0
- package/dist/chunks/{timePicker.component-DsQUV8fR.js → timePicker.component--ABdI3GF.js} +43 -46
- package/dist/chunks/{timePicker.component-DsQUV8fR.js.map → timePicker.component--ABdI3GF.js.map} +1 -1
- package/dist/chunks/timePicker.component-Dw_FjiQX.js +2 -0
- package/dist/chunks/{timePicker.component-av1t2G-i.js.map → timePicker.component-Dw_FjiQX.js.map} +1 -1
- package/dist/chunks/timeRange.component-B3OvVyo_.js +17 -0
- package/dist/chunks/{timeRange.component-bIQZJ4MP.js.map → timeRange.component-B3OvVyo_.js.map} +1 -1
- package/dist/chunks/timeRange.component-RLisXhuw.js +2 -0
- package/dist/chunks/{timeRange.component-B7syLsrU.js.map → timeRange.component-RLisXhuw.js.map} +1 -1
- package/dist/chunks/timestamp.component-CuqY4euh.js +2 -0
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +1 -0
- package/dist/chunks/timestamp.component-D764INLm.js +37 -0
- package/dist/chunks/timestamp.component-D764INLm.js.map +1 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js +70 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +1 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js +2 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +1 -0
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/vendor-BBfll6i3.js +11757 -0
- package/dist/chunks/vendor-BBfll6i3.js.map +1 -0
- package/dist/chunks/vendor-D-x6W6ez.js +57 -0
- package/dist/chunks/vendor-D-x6W6ez.js.map +1 -0
- package/dist/chunks/withFormControl-B269FujS.js +149 -0
- package/dist/chunks/withFormControl-B269FujS.js.map +1 -0
- package/dist/chunks/withFormControl-Cy6Bwv0i.js +2 -0
- package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +1 -0
- package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
- package/dist/chunks/{withTruncation-CVhXtaaF.js.map → withTruncation-BskZBBVs.js.map} +1 -1
- package/dist/chunks/{withTruncation-CVhXtaaF.js → withTruncation-C2xFKhgB.js} +28 -21
- package/dist/chunks/{withTruncation-CYH02HoE.js.map → withTruncation-C2xFKhgB.js.map} +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/ConversationCard/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/TagBlock/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/Timestamp/index.cjs +1 -1
- package/dist/cjs/patterns/index.cjs +2 -0
- package/dist/cjs/theme/index.cjs +23 -1
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
- package/dist/esm/components/Alert/index.js +5 -3
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +5 -4
- package/dist/esm/components/Card/index.js.map +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +4 -3
- package/dist/esm/components/Heading/index.js +4 -2
- package/dist/esm/components/Heading/index.js.map +1 -1
- package/dist/esm/components/Icon/generated/index.js +338 -373
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +6 -4
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +11 -5
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +16 -1
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +62 -3
- package/dist/esm/components/Swatch/index.js.map +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/Tag/index.js +6 -5
- package/dist/esm/components/Text/index.js +4 -2
- package/dist/esm/components/Text/index.js.map +1 -1
- package/dist/esm/components/TextInput/index.js +3 -2
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +111 -122
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +35 -3
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +17 -7
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/index.js +116 -141
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
- package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
- package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
- package/dist/esm/patterns/Timestamp/index.js +5 -0
- package/dist/esm/patterns/index.js +13 -0
- package/dist/esm/patterns/index.js.map +1 -0
- package/dist/esm/theme/index.js +2477 -3
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/tokens/blurs/index.js +13 -1
- package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
- package/dist/esm/theme/tokens/borders/index.js +22 -1
- package/dist/esm/theme/tokens/borders/index.js.map +1 -1
- package/dist/esm/theme/tokens/index.js +26 -2
- package/dist/esm/theme/tokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/shadows/index.js +55 -1
- package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
- package/dist/esm/theme/tokens/sizes/index.js +28 -1
- package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
- package/dist/esm/theme/tokens/spacing/index.js +38 -1
- package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
- package/dist/esm/theme/tokens/transitions/index.js +17 -1
- package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
- package/dist/esm/theme/tokens/typography/index.js +53 -1
- package/dist/esm/theme/tokens/typography/index.js.map +1 -1
- package/dist/esm/theme/tokens/zIndices/index.js +19 -1
- package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
- package/dist/types/components/Alert/alert.component.d.ts +13 -5
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/alert.records.d.ts +5 -0
- package/dist/types/components/Alert/docs/alert.argTypes.d.ts +5 -0
- package/dist/types/components/Alert/index.d.ts +1 -0
- package/dist/types/components/Alert.d.ts +2 -0
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +3 -0
- package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +3 -0
- package/dist/types/components/Avatar.d.ts +2 -0
- package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +3 -0
- package/dist/types/components/AvatarGroup.d.ts +2 -0
- package/dist/types/components/Button/button.component.d.ts +3 -2
- package/dist/types/components/Button/button.recipe.d.ts +2 -2
- package/dist/types/components/Button/docs/button.argTypes.d.ts +3 -0
- package/dist/types/components/Button.d.ts +2 -0
- package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +3 -0
- package/dist/types/components/ButtonGroup.d.ts +2 -0
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/Card/docs/card.argTypes.d.ts +3 -0
- package/dist/types/components/Card/index.d.ts +1 -0
- package/dist/types/components/Card.d.ts +2 -0
- package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +3 -0
- package/dist/types/components/CharacterCounter.d.ts +2 -0
- package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +3 -0
- package/dist/types/components/Checkbox.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +3 -0
- package/dist/types/components/CheckboxGroup.d.ts +2 -0
- package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +3 -0
- package/dist/types/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/DatePicker.d.ts +2 -0
- package/dist/types/components/Heading/docs/heading.argTypes.d.ts +3 -0
- package/dist/types/components/Heading/heading.component.d.ts +2 -1
- package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading/index.d.ts +1 -0
- package/dist/types/components/Heading.d.ts +2 -0
- package/dist/types/components/Icon/docs/icon.argTypes.d.ts +3 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/generated.d.ts +2 -0
- package/dist/types/components/Icon/icon.component.d.ts +3 -2
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Icon.d.ts +2 -0
- package/dist/types/components/Link/docs/link.argTypes.d.ts +5 -0
- package/dist/types/components/Link/link.recipe.d.ts +1 -1
- package/dist/types/components/Link.d.ts +2 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +2 -3
- package/dist/types/components/Menu/docs/menu.argTypes.d.ts +4 -0
- package/dist/types/components/Menu/menu.component.d.ts +1 -1
- package/dist/types/components/Menu.d.ts +2 -0
- package/dist/types/components/Modal/docs/modal.argTypes.d.ts +3 -0
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/Modal.d.ts +2 -0
- package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +3 -0
- package/dist/types/components/NotificationCounter/index.d.ts +1 -0
- package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
- package/dist/types/components/NotificationCounter.d.ts +2 -0
- package/dist/types/components/Picture/docs/picture.argTypes.d.ts +3 -0
- package/dist/types/components/Picture.d.ts +2 -0
- package/dist/types/components/Popover/docs/popover.argTypes.d.ts +3 -0
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/Popover.d.ts +2 -0
- package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +3 -0
- package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +3 -0
- package/dist/types/components/RadioGroup/index.d.ts +0 -1
- package/dist/types/components/RadioGroup.d.ts +2 -0
- package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +3 -0
- package/dist/types/components/RatingDots.d.ts +2 -0
- package/dist/types/components/Select/docs/select.argTypes.d.ts +3 -0
- package/dist/types/components/Select/select.component.d.ts +0 -3
- package/dist/types/components/Select.d.ts +2 -0
- package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +3 -0
- package/dist/types/components/SortableList/index.d.ts +0 -1
- package/dist/types/components/SortableList.d.ts +2 -0
- package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +3 -0
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +2 -2
- package/dist/types/components/Spinner.d.ts +2 -0
- package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +3 -0
- package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
- package/dist/types/components/Swatch.d.ts +2 -0
- package/dist/types/components/Switch/docs/switch.argTypes.d.ts +3 -0
- package/dist/types/components/Switch.d.ts +2 -0
- package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +3 -0
- package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +3 -0
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tabs.d.ts +2 -0
- package/dist/types/components/Tag/docs/tag.argTypes.d.ts +3 -0
- package/dist/types/components/Tag/index.d.ts +1 -0
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/components/Tag.d.ts +2 -0
- package/dist/types/components/Text/docs/text.argTypes.d.ts +3 -0
- package/dist/types/components/Text/index.d.ts +1 -0
- package/dist/types/components/Text/text.component.d.ts +2 -1
- package/dist/types/components/Text/text.recipe.d.ts +2 -1
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/Text.d.ts +2 -0
- package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +3 -0
- package/dist/types/components/TextInput/index.d.ts +1 -0
- package/dist/types/components/TextInput.d.ts +2 -0
- package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +3 -0
- package/dist/types/components/Textarea.d.ts +2 -0
- package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +3 -0
- package/dist/types/components/TimePicker.d.ts +2 -0
- package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +3 -0
- package/dist/types/components/TimeRange.d.ts +2 -0
- package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +3 -0
- package/dist/types/components/Tooltip.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -9
- package/dist/types/components.d.ts +2 -0
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
- package/dist/types/hocs.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks.d.ts +2 -0
- package/dist/types/index.d.ts +0 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +12 -0
- package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +22 -0
- package/dist/types/patterns/ConversationCard.d.ts +2 -0
- package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +3 -0
- package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/patterns/StyledAvatar.d.ts +2 -0
- package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +3 -0
- package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/patterns/TagBlock.d.ts +2 -0
- package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +3 -0
- package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +1 -1
- package/dist/types/patterns/Timestamp.d.ts +2 -0
- package/dist/types/patterns/index.d.ts +4 -0
- package/dist/types/patterns.d.ts +2 -0
- package/dist/types/shared/records/typography.d.ts +1 -1
- package/dist/types/shared/types.d.ts +2 -0
- package/dist/types/theme/index.d.ts +1 -2
- package/dist/types/theme/providers/theme.provider.d.ts +1 -2
- package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +7 -0
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +0 -4
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +0 -8
- package/dist/types/theme/semanticTokens.d.ts +2 -0
- package/dist/types/theme/theme.config.d.ts +0 -1
- package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
- package/dist/types/theme/tokens/blurs/index.d.ts +1 -0
- package/dist/types/theme/tokens/blurs.d.ts +2 -0
- package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
- package/dist/types/theme/tokens/borders/docs/borders.d.ts +5 -0
- package/dist/types/theme/tokens/borders/index.d.ts +1 -0
- package/dist/types/theme/tokens/borders.d.ts +2 -0
- package/dist/types/theme/tokens/colors.d.ts +2 -0
- package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +6 -0
- package/dist/types/theme/tokens/shadows/index.d.ts +1 -0
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +11 -11
- package/dist/types/theme/tokens/shadows.d.ts +2 -0
- package/dist/types/theme/tokens/sizes/index.d.ts +1 -0
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +10 -24
- package/dist/types/theme/tokens/sizes.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/index.d.ts +1 -0
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
- package/dist/types/theme/tokens/spacing.d.ts +2 -0
- package/dist/types/theme/tokens/transitions/index.d.ts +1 -0
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
- package/dist/types/theme/tokens/transitions.d.ts +2 -0
- package/dist/types/theme/tokens/typography/docs/typography.d.ts +2 -0
- package/dist/types/theme/tokens/typography/index.d.ts +1 -0
- package/dist/types/theme/tokens/typography/typography.config.d.ts +74 -29
- package/dist/types/theme/tokens/typography.d.ts +2 -0
- package/dist/types/theme/tokens/zIndices/index.d.ts +1 -0
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
- package/dist/types/theme/tokens/zIndices.d.ts +2 -0
- package/dist/types/theme/tokens.d.ts +2 -0
- package/dist/types/theme.d.ts +2 -0
- package/package.json +43 -73
- package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
- package/dist/chunks/IconLogo-D8EHZ4Is.js +0 -62
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +0 -1
- package/dist/chunks/alert.types-BTwB1SOp.js +0 -219
- package/dist/chunks/alert.types-BTwB1SOp.js.map +0 -1
- package/dist/chunks/alert.types-Cjh2MIRP.js +0 -2
- package/dist/chunks/alert.types-Cjh2MIRP.js.map +0 -1
- package/dist/chunks/attr-BMs6szZx.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js.map +0 -1
- package/dist/chunks/attr-sm10PXOd.js +0 -5
- package/dist/chunks/attr-sm10PXOd.js.map +0 -1
- package/dist/chunks/avatar.component-BnOmYhL2.js +0 -420
- package/dist/chunks/avatar.component-BnOmYhL2.js.map +0 -1
- package/dist/chunks/avatar.component-CbtJE4RJ.js +0 -2
- package/dist/chunks/avatar.component-CbtJE4RJ.js.map +0 -1
- package/dist/chunks/avatarGroup.component-D4lmT752.js +0 -2
- package/dist/chunks/box-Baq7UBls.js +0 -2
- package/dist/chunks/box-Baq7UBls.js.map +0 -1
- package/dist/chunks/box-Ck9I7FYv.js +0 -7
- package/dist/chunks/box-Ck9I7FYv.js.map +0 -1
- package/dist/chunks/button.component-BpF3MzbZ.js.map +0 -1
- package/dist/chunks/button.component-Dd9AfGox.js +0 -2
- package/dist/chunks/button.component-Dd9AfGox.js.map +0 -1
- package/dist/chunks/buttonGroup.component-DzQFhbS7.js +0 -77
- package/dist/chunks/buttonGroup.component-DzQFhbS7.js.map +0 -1
- package/dist/chunks/buttonGroup.component-aes3EERQ.js +0 -2
- package/dist/chunks/buttonGroup.component-aes3EERQ.js.map +0 -1
- package/dist/chunks/card.component-DNX41NGG.js +0 -59
- package/dist/chunks/card.component-DNX41NGG.js.map +0 -1
- package/dist/chunks/card.component-KNc4HKSh.js +0 -2
- package/dist/chunks/card.component-KNc4HKSh.js.map +0 -1
- package/dist/chunks/card.types-Cixp7ouC.js +0 -5
- package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
- package/dist/chunks/card.types-MvkQTTZF.js +0 -2
- package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
- package/dist/chunks/characterCounter.component-WGffeYNG.js +0 -2
- package/dist/chunks/checkbox.component-BEP-GPhs.js +0 -2
- package/dist/chunks/checkbox.component-BEP-GPhs.js.map +0 -1
- package/dist/chunks/checkbox.component-C6lXKzXZ.js +0 -310
- package/dist/chunks/checkbox.component-C6lXKzXZ.js.map +0 -1
- package/dist/chunks/checkbox.records-CXszv_gF.js +0 -2
- package/dist/chunks/checkbox.records-CXszv_gF.js.map +0 -1
- package/dist/chunks/checkbox.records-Gz6DOO_0.js +0 -266
- package/dist/chunks/checkbox.records-Gz6DOO_0.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-Dc_r6mYN.js +0 -2
- package/dist/chunks/checkboxGroup.component-DhXdSILq.js +0 -52
- package/dist/chunks/config-BFcXpdZo.js +0 -2
- package/dist/chunks/config-BFcXpdZo.js.map +0 -1
- package/dist/chunks/config-DlTdf-Yt.js +0 -57
- package/dist/chunks/config-DlTdf-Yt.js.map +0 -1
- package/dist/chunks/conversationCard.component-1OCCeSNc.js +0 -2
- package/dist/chunks/conversationCard.component-1OCCeSNc.js.map +0 -1
- package/dist/chunks/conversationCard.component-Eb3E-4jY.js.map +0 -1
- package/dist/chunks/create-recipe-context-D7FewUR4.js +0 -62
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +0 -1
- package/dist/chunks/create-recipe-context-sESms8Eo.js +0 -2
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +0 -97
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +0 -2
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +0 -1
- package/dist/chunks/datePicker.component-CTbeLdvH.js +0 -3165
- package/dist/chunks/datePicker.component-CTbeLdvH.js.map +0 -1
- package/dist/chunks/datePicker.component-DvAwsX_7.js +0 -15
- package/dist/chunks/datePicker.component-DvAwsX_7.js.map +0 -1
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +0 -2
- package/dist/chunks/dialog-trigger-B5NK0lr-.js.map +0 -1
- package/dist/chunks/dialog-trigger-BPlPzPU-.js +0 -78
- package/dist/chunks/dialog-trigger-BPlPzPU-.js.map +0 -1
- package/dist/chunks/divider.types-0j5qRXed.js +0 -47
- package/dist/chunks/divider.types-0j5qRXed.js.map +0 -1
- package/dist/chunks/divider.types-CK5oFy-i.js +0 -2
- package/dist/chunks/divider.types-CK5oFy-i.js.map +0 -1
- package/dist/chunks/empty-B5_AO6Pg.js +0 -2
- package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
- package/dist/chunks/empty-BU2EAux9.js +0 -8
- package/dist/chunks/empty-BU2EAux9.js.map +0 -1
- package/dist/chunks/factory-Ctbv0Ozn.js +0 -500
- package/dist/chunks/factory-Ctbv0Ozn.js.map +0 -1
- package/dist/chunks/factory-D6tdBUPG.js +0 -3
- package/dist/chunks/factory-D6tdBUPG.js.map +0 -1
- package/dist/chunks/flex-D14H6HbP.js +0 -2
- package/dist/chunks/flex-D14H6HbP.js.map +0 -1
- package/dist/chunks/flex-smlF8uQG.js +0 -40
- package/dist/chunks/flex-smlF8uQG.js.map +0 -1
- package/dist/chunks/float-DYLtz2A6.js +0 -64
- package/dist/chunks/float-DYLtz2A6.js.map +0 -1
- package/dist/chunks/float-OQXnYWBw.js +0 -2
- package/dist/chunks/float-OQXnYWBw.js.map +0 -1
- package/dist/chunks/format-BRt-TIiQ.js +0 -2
- package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
- package/dist/chunks/format-DgHM6wFr.js +0 -1275
- package/dist/chunks/format-DgHM6wFr.js.map +0 -1
- package/dist/chunks/grid-item-BV4dwEBP.js +0 -90
- package/dist/chunks/grid-item-BV4dwEBP.js.map +0 -1
- package/dist/chunks/grid-item-CR-sXrjU.js +0 -2
- package/dist/chunks/grid-item-CR-sXrjU.js.map +0 -1
- package/dist/chunks/group-Cv7AQw1b.js +0 -2
- package/dist/chunks/group-Cv7AQw1b.js.map +0 -1
- package/dist/chunks/group-DPCVolOl.js +0 -139
- package/dist/chunks/group-DPCVolOl.js.map +0 -1
- package/dist/chunks/h-stack-Bjx9hlJo.js +0 -2
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +0 -1
- package/dist/chunks/h-stack-Ce6JSBK2.js +0 -12
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +0 -1
- package/dist/chunks/heading.component-DJaIpxi0.js +0 -12
- package/dist/chunks/heading.component-DJaIpxi0.js.map +0 -1
- package/dist/chunks/heading.component-lFK21HJl.js +0 -2
- package/dist/chunks/heading.component-lFK21HJl.js.map +0 -1
- package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
- package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
- package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
- package/dist/chunks/icon.component-C0e0UGBw.js +0 -2
- package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
- package/dist/chunks/icons-BXxdrBrf.js +0 -216
- package/dist/chunks/icons-BXxdrBrf.js.map +0 -1
- package/dist/chunks/icons-CTpAjbC-.js +0 -2
- package/dist/chunks/icons-CTpAjbC-.js.map +0 -1
- package/dist/chunks/index-BBZxmcrY.js +0 -2
- package/dist/chunks/index-BBZxmcrY.js.map +0 -1
- package/dist/chunks/index-BDnnTdaJ.js +0 -2
- package/dist/chunks/index-BDnnTdaJ.js.map +0 -1
- package/dist/chunks/index-BGwwyukg.js +0 -2
- package/dist/chunks/index-BGwwyukg.js.map +0 -1
- package/dist/chunks/index-BNYygzo-.js +0 -376
- package/dist/chunks/index-BNYygzo-.js.map +0 -1
- package/dist/chunks/index-BYf7SZUC.js +0 -2
- package/dist/chunks/index-BYf7SZUC.js.map +0 -1
- package/dist/chunks/index-BknUKotT.js +0 -38
- package/dist/chunks/index-BknUKotT.js.map +0 -1
- package/dist/chunks/index-C2kxTsiE.js +0 -291
- package/dist/chunks/index-C2kxTsiE.js.map +0 -1
- package/dist/chunks/index-COoMV9Mh.js +0 -2
- package/dist/chunks/index-COoMV9Mh.js.map +0 -1
- package/dist/chunks/index-CYk-7wwG.js +0 -1018
- package/dist/chunks/index-CYk-7wwG.js.map +0 -1
- package/dist/chunks/index-CZ42b9rT.js +0 -3
- package/dist/chunks/index-CZ42b9rT.js.map +0 -1
- package/dist/chunks/index-CZz7hHWb.js +0 -2
- package/dist/chunks/index-CZz7hHWb.js.map +0 -1
- package/dist/chunks/index-CgivotaP.js +0 -20
- package/dist/chunks/index-CgivotaP.js.map +0 -1
- package/dist/chunks/index-CjNAJEk5.js +0 -6313
- package/dist/chunks/index-CjNAJEk5.js.map +0 -1
- package/dist/chunks/index-CkYZf9Pm.js +0 -2
- package/dist/chunks/index-CkYZf9Pm.js.map +0 -1
- package/dist/chunks/index-Co91SHhW.js +0 -141
- package/dist/chunks/index-Co91SHhW.js.map +0 -1
- package/dist/chunks/index-D-rN7ETu.js +0 -2
- package/dist/chunks/index-D-rN7ETu.js.map +0 -1
- package/dist/chunks/index-D9DU-5GF.js +0 -1196
- package/dist/chunks/index-D9DU-5GF.js.map +0 -1
- package/dist/chunks/index-DAWHN3cH.js +0 -86
- package/dist/chunks/index-DAWHN3cH.js.map +0 -1
- package/dist/chunks/index-DD49WSSW.js +0 -2
- package/dist/chunks/index-DD49WSSW.js.map +0 -1
- package/dist/chunks/index-DUHFrLMI.js +0 -389
- package/dist/chunks/index-DUHFrLMI.js.map +0 -1
- package/dist/chunks/index-DcJZ8q0f.js +0 -1190
- package/dist/chunks/index-DcJZ8q0f.js.map +0 -1
- package/dist/chunks/index-MlhL0PDC.js +0 -2
- package/dist/chunks/index-MlhL0PDC.js.map +0 -1
- package/dist/chunks/index-S1uNQPZj.js +0 -444
- package/dist/chunks/index-S1uNQPZj.js.map +0 -1
- package/dist/chunks/index-UWtj4ULm.js +0 -8
- package/dist/chunks/index-UWtj4ULm.js.map +0 -1
- package/dist/chunks/index-ZaGEDS_0.js +0 -2
- package/dist/chunks/index-ZaGEDS_0.js.map +0 -1
- package/dist/chunks/index-iyefwwxw.js +0 -2
- package/dist/chunks/index-iyefwwxw.js.map +0 -1
- package/dist/chunks/index-j7W9Hyzx.js +0 -322
- package/dist/chunks/index-j7W9Hyzx.js.map +0 -1
- package/dist/chunks/index-ryFIinh4.js +0 -257
- package/dist/chunks/index-ryFIinh4.js.map +0 -1
- package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
- package/dist/chunks/link.component-CCFg-LIe.js +0 -2
- package/dist/chunks/link.component-CCFg-LIe.js.map +0 -1
- package/dist/chunks/link.component-DprieyUG.js +0 -60
- package/dist/chunks/link.component-DprieyUG.js.map +0 -1
- package/dist/chunks/list-C_LmDoyW.js +0 -2
- package/dist/chunks/list-C_LmDoyW.js.map +0 -1
- package/dist/chunks/list-DqH5ttQG.js +0 -20
- package/dist/chunks/list-DqH5ttQG.js.map +0 -1
- package/dist/chunks/logo.types-By8TqyNf.js +0 -76
- package/dist/chunks/logo.types-By8TqyNf.js.map +0 -1
- package/dist/chunks/logo.types-CA_5hGAi.js +0 -2
- package/dist/chunks/logo.types-CA_5hGAi.js.map +0 -1
- package/dist/chunks/menu.component-CrRs7bHi.js +0 -678
- package/dist/chunks/menu.component-CrRs7bHi.js.map +0 -1
- package/dist/chunks/menu.component-Ob_ob-5Z.js +0 -2
- package/dist/chunks/menu.component-Ob_ob-5Z.js.map +0 -1
- package/dist/chunks/modal.types-Bq8QqBuR.js +0 -2
- package/dist/chunks/modal.types-Bq8QqBuR.js.map +0 -1
- package/dist/chunks/modal.types-DCe2G-mT.js +0 -206
- package/dist/chunks/modal.types-DCe2G-mT.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +0 -11
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +0 -1
- package/dist/chunks/omit-C-j4TrF5.js +0 -10
- package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
- package/dist/chunks/omit-DqNeoZ8h.js +0 -2
- package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
- package/dist/chunks/picture.component-C2C2r_BU.js +0 -2
- package/dist/chunks/picture.component-C2C2r_BU.js.map +0 -1
- package/dist/chunks/picture.component-DKbaaL64.js +0 -35
- package/dist/chunks/picture.component-DKbaaL64.js.map +0 -1
- package/dist/chunks/pinInput.types-ChHs2RV-.js +0 -161
- package/dist/chunks/pinInput.types-ChHs2RV-.js.map +0 -1
- package/dist/chunks/pinInput.types-hI4GxH_1.js +0 -2
- package/dist/chunks/pinInput.types-hI4GxH_1.js.map +0 -1
- package/dist/chunks/popover-80QH8HEJ.js +0 -2
- package/dist/chunks/popover-80QH8HEJ.js.map +0 -1
- package/dist/chunks/popover-B9rNOU0g.js +0 -110
- package/dist/chunks/popover-B9rNOU0g.js.map +0 -1
- package/dist/chunks/popover-root-provider-CeLLpesI.js +0 -43
- package/dist/chunks/popover-root-provider-CeLLpesI.js.map +0 -1
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +0 -2
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +0 -1
- package/dist/chunks/popover.component-BIpq3zkh.js +0 -322
- package/dist/chunks/popover.component-BIpq3zkh.js.map +0 -1
- package/dist/chunks/popover.component-Dz0_vSF2.js +0 -2
- package/dist/chunks/popover.component-Dz0_vSF2.js.map +0 -1
- package/dist/chunks/popover.recipe--gMRcQTS.js +0 -479
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +0 -1
- package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
- package/dist/chunks/provider-ClCAdPxy.js +0 -47
- package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
- package/dist/chunks/provider-NDo8kOkE.js +0 -2
- package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
- package/dist/chunks/radio.records-CAWibIHJ.js +0 -2
- package/dist/chunks/radio.records-CAWibIHJ.js.map +0 -1
- package/dist/chunks/radio.records-gz4RRw4x.js +0 -382
- package/dist/chunks/radio.records-gz4RRw4x.js.map +0 -1
- package/dist/chunks/radioGroup.component-wTDMlFMI.js +0 -275
- package/dist/chunks/radioGroup.component-wTDMlFMI.js.map +0 -1
- package/dist/chunks/radioGroup.component-xCr6p4DS.js +0 -2
- package/dist/chunks/radioGroup.component-xCr6p4DS.js.map +0 -1
- package/dist/chunks/ratingDots.component-DvlGbBPz.js +0 -2
- package/dist/chunks/render-strategy-BmWbSgqh.js +0 -2
- package/dist/chunks/render-strategy-BmWbSgqh.js.map +0 -1
- package/dist/chunks/render-strategy-C8hwN3bm.js +0 -12
- package/dist/chunks/render-strategy-C8hwN3bm.js.map +0 -1
- package/dist/chunks/select.component-1__YvaFF.js +0 -2
- package/dist/chunks/select.component-1__YvaFF.js.map +0 -1
- package/dist/chunks/select.component-DN5g4aQG.js +0 -391
- package/dist/chunks/select.component-DN5g4aQG.js.map +0 -1
- package/dist/chunks/sortableList.component-DI2da4B_.js.map +0 -1
- package/dist/chunks/sortableList.component-U3Kci1Jk.js +0 -6
- package/dist/chunks/sortableList.component-U3Kci1Jk.js.map +0 -1
- package/dist/chunks/spinner-BWqSIW6m.js +0 -8
- package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
- package/dist/chunks/spinner-BnpL14kK.js +0 -2
- package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
- package/dist/chunks/spinner.component-DER6c5R6.js.map +0 -1
- package/dist/chunks/spinner.component-DUIpnXU8.js +0 -2
- package/dist/chunks/stack-BKu3hWEQ.js +0 -2
- package/dist/chunks/stack-BKu3hWEQ.js.map +0 -1
- package/dist/chunks/stack-Dnuh5Zgf.js +0 -85
- package/dist/chunks/stack-Dnuh5Zgf.js.map +0 -1
- package/dist/chunks/styledAvatar.types-EGc1-I1N.js.map +0 -1
- package/dist/chunks/styledAvatar.types-HA5wRy7y.js +0 -2
- package/dist/chunks/styledAvatar.types-HA5wRy7y.js.map +0 -1
- package/dist/chunks/swatch.types-DbgA3RWc.js +0 -67
- package/dist/chunks/swatch.types-DbgA3RWc.js.map +0 -1
- package/dist/chunks/swatch.types-DiX-4lpJ.js +0 -2
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +0 -1
- package/dist/chunks/switch.component-6TiuST9H.js +0 -166
- package/dist/chunks/switch.component-6TiuST9H.js.map +0 -1
- package/dist/chunks/switch.component-BPS2pQZx.js +0 -2
- package/dist/chunks/switch.component-BPS2pQZx.js.map +0 -1
- package/dist/chunks/tabs.component-DnbHYXT-.js +0 -2
- package/dist/chunks/tabs.component-DnbHYXT-.js.map +0 -1
- package/dist/chunks/tabs.component-RpmipiEe.js +0 -639
- package/dist/chunks/tabs.component-RpmipiEe.js.map +0 -1
- package/dist/chunks/tag.component-C6a6EzZB.js +0 -2
- package/dist/chunks/tag.component-C6a6EzZB.js.map +0 -1
- package/dist/chunks/tag.component-pexJ0TAT.js +0 -82
- package/dist/chunks/tag.component-pexJ0TAT.js.map +0 -1
- package/dist/chunks/tagBlock.component-C-CNF4In.js.map +0 -1
- package/dist/chunks/tagBlock.component-DgmTLlRz.js +0 -2
- package/dist/chunks/tagBlock.component-DgmTLlRz.js.map +0 -1
- package/dist/chunks/text.component-BGUHMpKP.js +0 -12
- package/dist/chunks/text.component-BGUHMpKP.js.map +0 -1
- package/dist/chunks/text.component-BJ5u8GVO.js +0 -2
- package/dist/chunks/text.component-BJ5u8GVO.js.map +0 -1
- package/dist/chunks/textInput.component-B2S0GcHU.js +0 -180
- package/dist/chunks/textInput.component-B2S0GcHU.js.map +0 -1
- package/dist/chunks/textInput.component-D1L2qv1M.js +0 -2
- package/dist/chunks/textInput.component-D1L2qv1M.js.map +0 -1
- package/dist/chunks/textarea.component-BEgF2Yny.js +0 -2
- package/dist/chunks/textarea.component-BEgF2Yny.js.map +0 -1
- package/dist/chunks/textarea.component-DB51bevU.js +0 -98
- package/dist/chunks/textarea.component-DB51bevU.js.map +0 -1
- package/dist/chunks/theme.provider-Dez6uepg.js.map +0 -1
- package/dist/chunks/theme.provider-u0ofgWRM.js +0 -26
- package/dist/chunks/theme.provider-u0ofgWRM.js.map +0 -1
- package/dist/chunks/timePicker.component-av1t2G-i.js +0 -2
- package/dist/chunks/timeRange.component-B7syLsrU.js +0 -2
- package/dist/chunks/timeRange.component-bIQZJ4MP.js +0 -18
- package/dist/chunks/timestamp.component-CNlZ6Jw2.js +0 -2
- package/dist/chunks/timestamp.component-CNlZ6Jw2.js.map +0 -1
- package/dist/chunks/timestamp.component-ZcL8FlD-.js +0 -54
- package/dist/chunks/timestamp.component-ZcL8FlD-.js.map +0 -1
- package/dist/chunks/toaster.records-BGfpUOVt.js +0 -824
- package/dist/chunks/toaster.records-BGfpUOVt.js.map +0 -1
- package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
- package/dist/chunks/toaster.records-BJo0j1IZ.js.map +0 -1
- package/dist/chunks/tooltip.component-B4S3qwsH.js +0 -2
- package/dist/chunks/tooltip.component-B4S3qwsH.js.map +0 -1
- package/dist/chunks/tooltip.component-OLohVRIH.js +0 -755
- package/dist/chunks/tooltip.component-OLohVRIH.js.map +0 -1
- package/dist/chunks/typography.records-C6G_65b4.js +0 -2
- package/dist/chunks/typography.records-C6G_65b4.js.map +0 -1
- package/dist/chunks/typography.records-jnjWfTLS.js +0 -66
- package/dist/chunks/typography.records-jnjWfTLS.js.map +0 -1
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
- package/dist/chunks/use-field-context--wBJQY1R.js +0 -2
- package/dist/chunks/use-field-context--wBJQY1R.js.map +0 -1
- package/dist/chunks/use-field-context-B_G7Yziz.js +0 -12
- package/dist/chunks/use-field-context-B_G7Yziz.js.map +0 -1
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +0 -22
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +0 -1
- package/dist/chunks/use-locale-context-D-agiW5E.js +0 -2301
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +0 -1
- package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
- package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
- package/dist/chunks/use-recipe-d63ABaZ3.js.map +0 -1
- package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
- package/dist/chunks/v-stack-BZT7R_9f.js +0 -12
- package/dist/chunks/v-stack-BZT7R_9f.js.map +0 -1
- package/dist/chunks/v-stack-DxjgpeJ0.js +0 -2
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +0 -1
- package/dist/chunks/walk-object-BrTExCqQ.js +0 -2
- package/dist/chunks/walk-object-BrTExCqQ.js.map +0 -1
- package/dist/chunks/walk-object-_CL3Bkm9.js +0 -28
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +0 -1
- package/dist/chunks/withFormControl-DIT4DbIl.js +0 -376
- package/dist/chunks/withFormControl-DIT4DbIl.js.map +0 -1
- package/dist/chunks/withFormControl-DzgoWpP6.js +0 -2
- package/dist/chunks/withFormControl-DzgoWpP6.js.map +0 -1
- package/dist/chunks/withTruncation-CYH02HoE.js +0 -2
- package/dist/chunks/wrap-B8tBNeBY.js +0 -45
- package/dist/chunks/wrap-B8tBNeBY.js.map +0 -1
- package/dist/chunks/wrap-CNn1kyJX.js +0 -2
- package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
- package/dist/cjs/chakra/index.cjs +0 -2
- package/dist/cjs/chakra/index.cjs.map +0 -1
- package/dist/cjs/cli/generate-theme-types.cjs +0 -6
- package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
- package/dist/cjs/cli/postinstall.cjs +0 -3
- package/dist/cjs/cli/postinstall.cjs.map +0 -1
- package/dist/cjs/components/Divider/index.cjs +0 -2
- package/dist/cjs/components/Logo/generated/index.cjs +0 -2
- package/dist/cjs/components/Logo/index.cjs +0 -2
- package/dist/cjs/components/PinInput/index.cjs +0 -2
- package/dist/cjs/components/StyledAvatar/index.cjs.map +0 -1
- package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
- package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
- package/dist/cjs/components/Toast/index.cjs +0 -2
- package/dist/cjs/components/Toast/index.cjs.map +0 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
- package/dist/cjs/shared/index.cjs +0 -2
- package/dist/cjs/shared/index.cjs.map +0 -1
- package/dist/cjs/shared/records/index.cjs +0 -2
- package/dist/cjs/shared/records/index.cjs.map +0 -1
- package/dist/esm/chakra/index.js +0 -3227
- package/dist/esm/chakra/index.js.map +0 -1
- package/dist/esm/cli/generate-theme-types.js +0 -22
- package/dist/esm/cli/generate-theme-types.js.map +0 -1
- package/dist/esm/cli/postinstall.js +0 -21
- package/dist/esm/cli/postinstall.js.map +0 -1
- package/dist/esm/components/Divider/index.js +0 -8
- package/dist/esm/components/Logo/generated/index.js +0 -6
- package/dist/esm/components/Logo/index.js +0 -7
- package/dist/esm/components/PinInput/index.js +0 -6
- package/dist/esm/components/PinInput/index.js.map +0 -1
- package/dist/esm/components/StyledAvatar/index.js.map +0 -1
- package/dist/esm/components/TagBlock/index.js.map +0 -1
- package/dist/esm/components/Timestamp/index.js +0 -5
- package/dist/esm/components/Timestamp/index.js.map +0 -1
- package/dist/esm/components/Toast/index.js +0 -59
- package/dist/esm/components/Toast/index.js.map +0 -1
- package/dist/esm/hooks/useBreakpoint/index.js +0 -12
- package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
- package/dist/esm/hooks/useDeviceType/index.js +0 -12
- package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
- package/dist/esm/shared/index.js +0 -9
- package/dist/esm/shared/index.js.map +0 -1
- package/dist/esm/shared/records/index.js +0 -18
- package/dist/esm/shared/records/index.js.map +0 -1
- package/dist/types/chakra/index.d.ts +0 -52
- package/dist/types/cli/generate-theme-types.d.ts +0 -2
- package/dist/types/cli/postinstall.d.ts +0 -2
- package/dist/types/components/Divider/divider.component.d.ts +0 -4
- package/dist/types/components/Divider/divider.types.d.ts +0 -6
- package/dist/types/components/Divider/index.d.ts +0 -2
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
- package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/index.d.ts +0 -4
- package/dist/types/components/Logo/index.d.ts +0 -2
- package/dist/types/components/Logo/logo.component.d.ts +0 -10
- package/dist/types/components/Logo/logo.recipe.d.ts +0 -9
- package/dist/types/components/Logo/logo.types.d.ts +0 -4
- package/dist/types/components/Modal/context/modal.context.d.ts +0 -6
- package/dist/types/components/PinInput/index.d.ts +0 -2
- package/dist/types/components/PinInput/pinInput.component.d.ts +0 -10
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
- package/dist/types/components/PinInput/pinInput.records.d.ts +0 -1
- package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
- package/dist/types/components/Toast/index.d.ts +0 -2
- package/dist/types/components/Toast/toast.component.d.ts +0 -14
- package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
- package/dist/types/components/Toast/toast.types.d.ts +0 -19
- package/dist/types/components/Toast/useToast.d.ts +0 -3
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
- package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
- package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
- package/dist/types/shared/index.d.ts +0 -1
- package/dist/types/shared/records/index.d.ts +0 -1
- package/dist/types/shared/records/status.d.ts +0 -5
- /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
- /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
- /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
- /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
- /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";const y=require("react");function fu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Q=fu(y);function gu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pr={exports:{}},Mt={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Xo;function pu(){if(Xo)return Mt;Xo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var a in o)a!=="key"&&(i[a]=o[a])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:s,ref:o!==void 0?o:null,props:i}}return Mt.Fragment=t,Mt.jsx=r,Mt.jsxs=r,Mt}var _t={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Jo;function mu(){return Jo||(Jo=1,process.env.NODE_ENV!=="production"&&function(){function e(k){if(k==null)return null;if(typeof k=="function")return k.$$typeof===A?null:k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case m:return"Fragment";case E:return"Profiler";case T:return"StrictMode";case v:return"Suspense";case S:return"SuspenseList";case x:return"Activity"}if(typeof k=="object")switch(typeof k.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),k.$$typeof){case p:return"Portal";case P:return(k.displayName||"Context")+".Provider";case C:return(k._context.displayName||"Context")+".Consumer";case h:var $=k.render;return k=k.displayName,k||(k=$.displayName||$.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case I:return $=k.displayName||null,$!==null?$:e(k.type)||"Memo";case O:$=k._payload,k=k._init;try{return e(k($))}catch{}}return null}function t(k){return""+k}function r(k){try{t(k);var $=!1}catch{$=!0}if($){$=console;var q=$.error,te=typeof Symbol=="function"&&Symbol.toStringTag&&k[Symbol.toStringTag]||k.constructor.name||"Object";return q.call($,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",te),t(k)}}function n(k){if(k===m)return"<>";if(typeof k=="object"&&k!==null&&k.$$typeof===O)return"<...>";try{var $=e(k);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function o(){var k=w.A;return k===null?null:k.getOwner()}function i(){return Error("react-stack-top-frame")}function s(k){if(D.call(k,"key")){var $=Object.getOwnPropertyDescriptor(k,"key").get;if($&&$.isReactWarning)return!1}return k.key!==void 0}function a(k,$){function q(){K||(K=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",$))}q.isReactWarning=!0,Object.defineProperty(k,"key",{get:q,configurable:!0})}function d(){var k=e(this.type);return z[k]||(z[k]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),k=this.props.ref,k!==void 0?k:null}function l(k,$,q,te,Me,Ee,Lt,Dt){return q=Ee.ref,k={$$typeof:u,type:k,key:$,props:Ee,_owner:Me},(q!==void 0?q:null)!==null?Object.defineProperty(k,"ref",{enumerable:!1,get:d}):Object.defineProperty(k,"ref",{enumerable:!1,value:null}),k._store={},Object.defineProperty(k._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(k,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(k,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Lt}),Object.defineProperty(k,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Dt}),Object.freeze&&(Object.freeze(k.props),Object.freeze(k)),k}function g(k,$,q,te,Me,Ee,Lt,Dt){var re=$.children;if(re!==void 0)if(te)if(V(re)){for(te=0;te<re.length;te++)f(re[te]);Object.freeze&&Object.freeze(re)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(re);if(D.call($,"key")){re=e(k);var Ye=Object.keys($).filter(function(Rn){return Rn!=="key"});te=0<Ye.length?"{key: someKey, "+Ye.join(": ..., ")+": ...}":"{key: someKey}",he[re+te]||(Ye=0<Ye.length?"{"+Ye.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,te,re,Ye,re),he[re+te]=!0)}if(re=null,q!==void 0&&(r(q),re=""+q),s($)&&(r($.key),re=""+$.key),"key"in $){q={};for(var Ft in $)Ft!=="key"&&(q[Ft]=$[Ft])}else q=$;return re&&a(q,typeof k=="function"?k.displayName||k.name||"Unknown":k),l(k,re,Ee,Me,o(),q,Lt,Dt)}function f(k){typeof k=="object"&&k!==null&&k.$$typeof===u&&k._store&&(k._store.validated=1)}var c=y,u=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),P=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),w=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,V=Array.isArray,M=console.createTask?console.createTask:function(){return null};c={"react-stack-bottom-frame":function(k){return k()}};var K,z={},ce=c["react-stack-bottom-frame"].bind(c,i)(),ge=M(n(i)),he={};_t.Fragment=m,_t.jsx=function(k,$,q,te,Me){var Ee=1e4>w.recentlyCreatedOwnerStacks++;return g(k,$,q,!1,te,Me,Ee?Error("react-stack-top-frame"):ce,Ee?M(n(k)):ge)},_t.jsxs=function(k,$,q,te,Me){var Ee=1e4>w.recentlyCreatedOwnerStacks++;return g(k,$,q,!0,te,Me,Ee?Error("react-stack-top-frame"):ce,Ee?M(n(k)):ge)}}()),_t}var Zo;function hu(){return Zo||(Zo=1,process.env.NODE_ENV==="production"?Pr.exports=pu():Pr.exports=mu()),Pr.exports}var b=hu(),vu="-ms-",yu="-moz-",bu="-webkit-",is="comm",bo="rule",Eo="decl",Eu="@import",ss="@keyframes",Pu="@layer",Ou=Math.abs,nn=String.fromCharCode,Tu=Object.assign;function Cu(e,t){return ke(e,0)^45?(((t<<2^ke(e,0))<<2^ke(e,1))<<2^ke(e,2))<<2^ke(e,3):0}function as(e){return e.trim()}function Iu(e,t){return(e=t.exec(e))?e[0]:e}function Zt(e,t,r){return e.replace(t,r)}function cs(e,t){return e.indexOf(t)}function ke(e,t){return e.charCodeAt(t)|0}function nr(e,t,r){return e.slice(t,r)}function We(e){return e.length}function Po(e){return e.length}function Or(e,t){return t.push(e),e}function Ru(e,t){return e.map(t).join("")}var on=1,Rt=1,ls=0;exports.position=0;var Z=0,kt="";function sn(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:on,column:Rt,length:s,return:""}}function Su(e,t){return Tu(sn("",null,null,"",null,null,0),e,{length:-e.length},t)}function wu(){return Z}function xu(){return Z=exports.position>0?ke(kt,--exports.position):0,Rt--,Z===10&&(Rt=1,on--),Z}function Te(){return Z=exports.position<ls?ke(kt,exports.position++):0,Rt++,Z===10&&(Rt=1,on++),Z}function Je(){return ke(kt,exports.position)}function Mr(){return exports.position}function lr(e,t){return nr(kt,e,t)}function Hr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function us(e){return on=Rt=1,ls=We(kt=e),exports.position=0,[]}function ds(e){return kt="",e}function _r(e){return as(lr(exports.position-1,Un(e===91?e+2:e===40?e+1:e)))}function ku(e){for(;(Z=Je())&&Z<33;)Te();return Hr(e)>2||Hr(Z)>3?"":" "}function Nu(e,t){for(;--t&&Te()&&!(Z<48||Z>102||Z>57&&Z<65||Z>70&&Z<97););return lr(e,Mr()+(t<6&&Je()==32&&Te()==32))}function Un(e){for(;Te();)switch(Z){case e:return exports.position;case 34:case 39:e!==34&&e!==39&&Un(Z);break;case 40:e===41&&Un(e);break;case 92:Te();break}return exports.position}function Au(e,t){for(;Te()&&e+Z!==57;)if(e+Z===84&&Je()===47)break;return"/*"+lr(t,exports.position-1)+"*"+nn(e===47?e:Te())}function Lu(e){for(;!Hr(Je());)Te();return lr(e,exports.position)}function Du(e){return ds(Vr("",null,null,null,[""],e=us(e),0,[0],e))}function Vr(e,t,r,n,o,i,s,a,d){for(var l=0,g=0,f=s,c=0,u=0,p=0,m=1,T=1,E=1,C=0,P="",h=o,v=i,S=n,I=P;T;)switch(p=C,C=Te()){case 40:if(p!=108&&ke(I,f-1)==58){cs(I+=Zt(_r(C),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:I+=_r(C);break;case 9:case 10:case 13:case 32:I+=ku(p);break;case 92:I+=Nu(Mr()-1,7);continue;case 47:switch(Je()){case 42:case 47:Or(Fu(Au(Te(),Mr()),t,r),d);break;default:I+="/"}break;case 123*m:a[l++]=We(I)*E;case 125*m:case 59:case 0:switch(C){case 0:case 125:T=0;case 59+g:E==-1&&(I=Zt(I,/\f/g,"")),u>0&&We(I)-f&&Or(u>32?ei(I+";",n,r,f-1):ei(Zt(I," ","")+";",n,r,f-2),d);break;case 59:I+=";";default:if(Or(S=Qo(I,t,r,l,g,o,a,P,h=[],v=[],f),i),C===123)if(g===0)Vr(I,t,S,S,h,i,f,a,v);else switch(c===99&&ke(I,3)===110?100:c){case 100:case 108:case 109:case 115:Vr(e,S,S,n&&Or(Qo(e,S,S,0,0,o,a,P,o,h=[],f),v),o,v,f,a,n?h:v);break;default:Vr(I,S,S,S,[""],v,0,a,v)}}l=g=u=0,m=E=1,P=I="",f=s;break;case 58:f=1+We(I),u=p;default:if(m<1){if(C==123)--m;else if(C==125&&m++==0&&xu()==125)continue}switch(I+=nn(C),C*m){case 38:E=g>0?1:(I+="\f",-1);break;case 44:a[l++]=(We(I)-1)*E,E=1;break;case 64:Je()===45&&(I+=_r(Te())),c=Je(),g=f=We(P=I+=Lu(Mr())),C++;break;case 45:p===45&&We(I)==2&&(m=0)}}return i}function Qo(e,t,r,n,o,i,s,a,d,l,g){for(var f=o-1,c=o===0?i:[""],u=Po(c),p=0,m=0,T=0;p<n;++p)for(var E=0,C=nr(e,f+1,f=Ou(m=s[p])),P=e;E<u;++E)(P=as(m>0?c[E]+" "+C:Zt(C,/&\f/g,c[E])))&&(d[T++]=P);return sn(e,t,r,o===0?bo:a,d,l,g)}function Fu(e,t,r){return sn(e,t,r,is,nn(wu()),nr(e,2,-2),0)}function ei(e,t,r,n){return sn(e,t,r,Eo,nr(e,0,n),nr(e,n+1,-1),n)}function Kn(e,t){for(var r="",n=Po(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Mu(e,t,r,n){switch(e.type){case Pu:if(e.children.length)break;case Eu:case Eo:return e.return=e.return||e.value;case is:return"";case ss:return e.return=e.value+"{"+Kn(e.children,n)+"}";case bo:e.value=e.props.join(",")}return We(r=Kn(e.children,n))?e.return=e.value+"{"+r+"}":""}function _u(e){var t=Po(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function Vu(e){return function(t){t.root||(t=t.return)&&e(t)}}var Tr={exports:{}},j={};/** @license React v16.13.1
|
|
23
|
+
* react-is.production.min.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/var ti;function $u(){if(ti)return j;ti=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,c=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function P(v){if(typeof v=="object"&&v!==null){var S=v.$$typeof;switch(S){case t:switch(v=v.type,v){case d:case l:case n:case i:case o:case f:return v;default:switch(v=v&&v.$$typeof,v){case a:case g:case p:case u:case s:return v;default:return S}}case r:return S}}}function h(v){return P(v)===l}return j.AsyncMode=d,j.ConcurrentMode=l,j.ContextConsumer=a,j.ContextProvider=s,j.Element=t,j.ForwardRef=g,j.Fragment=n,j.Lazy=p,j.Memo=u,j.Portal=r,j.Profiler=i,j.StrictMode=o,j.Suspense=f,j.isAsyncMode=function(v){return h(v)||P(v)===d},j.isConcurrentMode=h,j.isContextConsumer=function(v){return P(v)===a},j.isContextProvider=function(v){return P(v)===s},j.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},j.isForwardRef=function(v){return P(v)===g},j.isFragment=function(v){return P(v)===n},j.isLazy=function(v){return P(v)===p},j.isMemo=function(v){return P(v)===u},j.isPortal=function(v){return P(v)===r},j.isProfiler=function(v){return P(v)===i},j.isStrictMode=function(v){return P(v)===o},j.isSuspense=function(v){return P(v)===f},j.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===l||v===i||v===o||v===f||v===c||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===u||v.$$typeof===s||v.$$typeof===a||v.$$typeof===g||v.$$typeof===T||v.$$typeof===E||v.$$typeof===C||v.$$typeof===m)},j.typeOf=P,j}var B={};/** @license React v16.13.1
|
|
30
|
+
* react-is.development.js
|
|
31
|
+
*
|
|
32
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the MIT license found in the
|
|
35
|
+
* LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/var ri;function Gu(){return ri||(ri=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,c=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function P(F){return typeof F=="string"||typeof F=="function"||F===n||F===l||F===i||F===o||F===f||F===c||typeof F=="object"&&F!==null&&(F.$$typeof===p||F.$$typeof===u||F.$$typeof===s||F.$$typeof===a||F.$$typeof===g||F.$$typeof===T||F.$$typeof===E||F.$$typeof===C||F.$$typeof===m)}function h(F){if(typeof F=="object"&&F!==null){var Sn=F.$$typeof;switch(Sn){case t:var Er=F.type;switch(Er){case d:case l:case n:case i:case o:case f:return Er;default:var zo=Er&&Er.$$typeof;switch(zo){case a:case g:case p:case u:case s:return zo;default:return Sn}}case r:return Sn}}}var v=d,S=l,I=a,O=s,x=t,A=g,w=n,D=p,V=u,M=r,K=i,z=o,ce=f,ge=!1;function he(F){return ge||(ge=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(F)||h(F)===d}function k(F){return h(F)===l}function $(F){return h(F)===a}function q(F){return h(F)===s}function te(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function Me(F){return h(F)===g}function Ee(F){return h(F)===n}function Lt(F){return h(F)===p}function Dt(F){return h(F)===u}function re(F){return h(F)===r}function Ye(F){return h(F)===i}function Ft(F){return h(F)===o}function Rn(F){return h(F)===f}B.AsyncMode=v,B.ConcurrentMode=S,B.ContextConsumer=I,B.ContextProvider=O,B.Element=x,B.ForwardRef=A,B.Fragment=w,B.Lazy=D,B.Memo=V,B.Portal=M,B.Profiler=K,B.StrictMode=z,B.Suspense=ce,B.isAsyncMode=he,B.isConcurrentMode=k,B.isContextConsumer=$,B.isContextProvider=q,B.isElement=te,B.isForwardRef=Me,B.isFragment=Ee,B.isLazy=Lt,B.isMemo=Dt,B.isPortal=re,B.isProfiler=Ye,B.isStrictMode=Ft,B.isSuspense=Rn,B.isValidElementType=P,B.typeOf=h}()),B}var ni;function ju(){return ni||(ni=1,process.env.NODE_ENV==="production"?Tr.exports=$u():Tr.exports=Gu()),Tr.exports}var wn,oi;function Bu(){if(oi)return wn;oi=1;var e=ju(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function s(p){return e.isMemo(p)?o:i[p.$$typeof]||t}var a=Object.defineProperty,d=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,c=Object.prototype;function u(p,m,T){if(typeof m!="string"){if(c){var E=f(m);E&&E!==c&&u(p,E,T)}var C=d(m);l&&(C=C.concat(l(m)));for(var P=s(p),h=s(m),v=0;v<C.length;++v){var S=C[v];if(!r[S]&&!(T&&T[S])&&!(h&&h[S])&&!(P&&P[S])){var I=g(m,S);try{a(p,S,I)}catch{}}}}return p}return wn=u,wn}Bu();var Hu=(e,t)=>e.map((r,n)=>e[(Math.max(t,0)+n)%e.length]),xn=(...e)=>t=>e.reduce((r,n)=>n(r),t),Ot=()=>{},an=e=>typeof e=="object"&&e!==null,L=e=>e?"":void 0,Oo=e=>e?"true":void 0,Wu=1,Uu=9,Ku=11,oe=e=>an(e)&&e.nodeType===Wu&&typeof e.nodeName=="string",To=e=>an(e)&&e.nodeType===Uu,Yu=e=>an(e)&&e===e.window,fs=e=>oe(e)?e.localName||"":"#document";function qu(e){return["html","body","#document"].includes(fs(e))}var zu=e=>an(e)&&e.nodeType!==void 0,St=e=>zu(e)&&e.nodeType===Ku&&"host"in e,Xu=e=>oe(e)&&e.localName==="input",gs=e=>!!e?.matches("a[href]"),Ju=e=>oe(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1,Zu=/(textarea|select)/;function cn(e){if(e==null||!oe(e))return!1;try{return Xu(e)&&e.selectionStart!=null||Zu.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function Qe(e,t){if(!e||!t||!oe(e)||!oe(t))return!1;const r=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(r&&St(r)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function pe(e){return To(e)?e:Yu(e)?e.document:e?.ownerDocument??document}function Qu(e){return pe(e).documentElement}function ee(e){return St(e)?ee(e.host):To(e)?e.defaultView??window:oe(e)?e.ownerDocument?.defaultView??window:window}function ps(e){let t=e.activeElement;for(;t?.shadowRoot;){const r=t.shadowRoot.activeElement;if(r===t)break;t=r}return t}function ed(e){if(fs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||St(e)&&e.host||Qu(e);return St(t)?t.host:t}var kn=new WeakMap;function ln(e){return kn.has(e)||kn.set(e,ee(e).getComputedStyle(e)),kn.get(e)}var un=()=>typeof document<"u";function td(){return navigator.userAgentData?.platform??navigator.platform}function rd(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:r})=>`${t}/${r}`).join(" "):navigator.userAgent}var Co=e=>un()&&e.test(td()),ms=e=>un()&&e.test(rd()),nd=e=>un()&&e.test(navigator.vendor),ii=()=>un()&&!!navigator.maxTouchPoints,od=()=>Co(/^iPhone/i),id=()=>Co(/^iPad/i)||dn()&&navigator.maxTouchPoints>1,hs=()=>od()||id(),vs=()=>dn()||hs(),dn=()=>Co(/^Mac/i),fn=()=>vs()&&nd(/apple/i),sd=()=>ms(/Firefox/i),ad=()=>ms(/Android/i);function cd(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function ne(e){return cd(e)?.[0]??e.target}var Io=e=>Qe(e.currentTarget,ne(e));function si(e){const t=e.currentTarget;if(!t)return!1;const r=vs();if(r&&!e.metaKey||!r&&!e.ctrlKey)return!1;const n=t.localName;return n==="a"||n==="button"&&t.type==="submit"||n==="input"&&t.type==="submit"}function ai(e){const t=e.currentTarget;if(!t)return!1;const r=t.localName;return e.altKey?r==="a"||r==="button"&&t.type==="submit"||r==="input"&&t.type==="submit":!1}function ys(e){return pd(e).isComposing||e.keyCode===229}function ld(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function ud(e){return e.mozInputSource===0&&e.isTrusted?!0:ad()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var bs=e=>e.button===2||dn()&&e.ctrlKey&&e.button===0,dd=e=>e.ctrlKey||e.altKey||e.metaKey,fd=e=>"touches"in e&&e.touches.length>0,gd={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},ci={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function or(e,t={}){const{dir:r="ltr",orientation:n="horizontal"}=t;let o=e.key;return o=gd[o]??o,r==="rtl"&&n==="horizontal"&&o in ci&&(o=ci[o]),o}function pd(e){return e.nativeEvent??e}function zt(e,t="client"){const r=fd(e)?e.touches[0]||e.changedTouches[0]:e;return{x:r[`${t}X`],y:r[`${t}Y`]}}var J=(e,t,r,n)=>{const o=typeof e=="function"?e():e;return o?.addEventListener(t,r,n),()=>{o?.removeEventListener(t,r,n)}};function md(e,t){const{type:r="HTMLInputElement",property:n="value"}=t,o=ee(e)[r].prototype;return Object.getOwnPropertyDescriptor(o,n)??{}}function Ro(e,t){if(!e)return;md(e,{type:"HTMLInputElement",property:"checked"}).set?.call(e,t),t?e.setAttribute("checked",""):e.removeAttribute("checked")}function So(e,t){const{checked:r,bubbles:n=!0}=t;if(!e)return;const o=ee(e);e instanceof o.HTMLInputElement&&(Ro(e,r),e.dispatchEvent(new o.Event("click",{bubbles:n})))}function hd(e){return vd(e)?e.form:e.closest("form")}function vd(e){return e.matches("textarea, input, select, button")}function yd(e,t){if(!e)return;const r=hd(e),n=o=>{o.defaultPrevented||t()};return r?.addEventListener("reset",n,{passive:!0}),()=>r?.removeEventListener("reset",n)}function bd(e,t){const r=e?.closest("fieldset");if(!r)return;t(r.disabled);const n=ee(r),o=new n.MutationObserver(()=>t(r.disabled));return o.observe(r,{attributes:!0,attributeFilter:["disabled"]}),()=>o.disconnect()}function gn(e,t){if(!e)return;const{onFieldsetDisabledChange:r,onFormReset:n}=t,o=[yd(e,n),bd(e,r)];return()=>o.forEach(i=>i?.())}var Es=e=>oe(e)&&e.tagName==="IFRAME",Ed=e=>!Number.isNaN(parseInt(e.getAttribute("tabindex")||"0",10)),Pd=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,wo="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",xo=(e,t=!1)=>{if(!e)return[];const r=Array.from(e.querySelectorAll(wo));(t==!0||t=="if-empty"&&r.length===0)&&oe(e)&&Ze(e)&&r.unshift(e);const o=r.filter(Ze);return o.forEach((i,s)=>{if(Es(i)&&i.contentDocument){const a=i.contentDocument.body;o.splice(s,1,...xo(a))}}),o};function Ze(e){return!e||e.closest("[inert]")?!1:e.matches(wo)&&Ju(e)}function ur(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll(wo)),n=r.filter(Xe);return t&&Xe(e)&&n.unshift(e),n.forEach((o,i)=>{if(Es(o)&&o.contentDocument){const s=o.contentDocument.body,a=ur(s);n.splice(i,1,...a)}}),!n.length&&t?r:n}function Xe(e){return e!=null&&e.tabIndex>0?!0:Ze(e)&&!Pd(e)}function Ps(e,t){const r=ur(e,t),n=r[0]||null,o=r[r.length-1]||null;return[n,o]}function Od(e,t){const r=ur(e),n=e?.ownerDocument||document,o=t??n.activeElement;if(!o)return null;const i=r.indexOf(o);return r[i+1]||null}function Vt(e){return e.tabIndex<0&&(/^(audio|video|details)$/.test(e.localName)||cn(e))&&!Ed(e)?0:e.tabIndex}function Wr(e){const{root:t,getInitialEl:r,filter:n,enabled:o=!0}=e;if(!o)return;let i=null;if(i||(i=typeof r=="function"?r():r),i||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){const s=ur(t);i=n?s.filter(n)[0]:s[0]}return i||t||void 0}function Os(e){const t=e.currentTarget;if(!t)return!1;const[r,n]=Ps(t),o=t.ownerDocument||document;return!(o.activeElement===r&&e.shiftKey||o.activeElement===n&&!e.shiftKey||!r&&!n)}function Ts(e){const t=new Set;function r(n){const o=globalThis.requestAnimationFrame(n);t.add(()=>globalThis.cancelAnimationFrame(o))}return r(()=>r(e)),function(){t.forEach(o=>o())}}function H(e){let t;const r=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(r),t?.()}}function Td(e,t,r){const n=H(()=>{e.removeEventListener(t,o,!0),r()}),o=()=>{n(),r()};return e.addEventListener(t,o,{once:!0,capture:!0}),n}function Cd(e,t){if(!e)return;const{attributes:r,callback:n}=t,o=e.ownerDocument.defaultView||window,i=new o.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&r.includes(a.attributeName)&&n(a)});return i.observe(e,{attributes:!0,attributeFilter:r}),()=>i.disconnect()}function ko(e,t){const{defer:r}=t,n=r?H:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(Cd(i,t))})),()=>{o.forEach(i=>i?.())}}function Id(e,t){const{callback:r}=t;if(!e)return;const n=e.ownerDocument.defaultView||window,o=new n.MutationObserver(r);return o.observe(e,{childList:!0,subtree:!0}),()=>o.disconnect()}function Rd(e,t){const{defer:r}=t,n=r?H:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(Id(i,t))})),()=>{o.forEach(i=>i?.())}}function Cs(e){const t=()=>e.click();sd()?Td(e,"keyup",t):queueMicrotask(t)}function Ur(e){const t=ed(e);return qu(t)?pe(t).body:oe(t)&&No(t)?t:Ur(t)}function Is(e,t=[]){const r=Ur(e),n=r===e.ownerDocument.body,o=ee(r);return n?t.concat(o,o.visualViewport||[],No(r)?r:[]):t.concat(r,Is(r,[]))}var Sd=/auto|scroll|overlay|hidden|clip/;function No(e){const t=ee(e),{overflow:r,overflowX:n,overflowY:o,display:i}=t.getComputedStyle(e);return Sd.test(r+o+n)&&!["inline","contents"].includes(i)}function wd(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function Rs(e,t){const{rootEl:r,...n}=t||{};!e||!r||!No(r)||!wd(r)||e.scrollIntoView(n)}function Ss(e){const{pointerNode:t,keyboardNode:r=t,onPress:n,onPressStart:o,onPressEnd:i,isValidKey:s=P=>P.key==="Enter"}=e;if(!t)return Ot;const a=ee(t),d=pe(t);let l=Ot,g=Ot,f=Ot;const c=P=>({point:zt(P),event:P});function u(P){o?.(c(P))}function p(P){i?.(c(P))}const T=J(t,"pointerdown",P=>{g();const v=J(a,"pointerup",I=>{const O=ne(I);Qe(t,O)?n?.(c(I)):i?.(c(I))},{passive:!n,once:!0}),S=J(a,"pointercancel",p,{passive:!i,once:!0});g=xn(v,S),d.activeElement===r&&P.pointerType==="mouse"&&P.preventDefault(),u(P)},{passive:!o}),E=J(r,"focus",C);l=xn(T,E);function C(){const P=I=>{if(!s(I))return;const O=A=>{if(!s(A))return;const w=new a.PointerEvent("pointerup"),D=c(w);n?.(D),i?.(D)};g(),g=J(r,"keyup",O);const x=new a.PointerEvent("pointerdown");u(x)},h=()=>{const I=new a.PointerEvent("pointercancel");p(I)},v=J(r,"keydown",P),S=J(r,"blur",h);f=xn(v,S)}return()=>{l(),g(),f()}}function xd(e,t={}){const{triggerElement:r,onFocus:n,onFocusEnter:o}=t,i=e?.ownerDocument||document,s=i.body;function a(d){if(d.key!=="Tab")return;let l=null;const[g,f]=Ps(e,!0),c=Od(s,r),u=!g&&!f;d.shiftKey&&c===i.activeElement?(o?.(),l=f):d.shiftKey&&(i.activeElement===g||u)?l=r:!d.shiftKey&&i.activeElement===r?(o?.(),l=g):!d.shiftKey&&(i.activeElement===f||u)&&(l=c),l&&(d.preventDefault(),typeof n=="function"?n(l):l.focus())}return J(i,"keydown",a,!0)}function kd(e,t){const{defer:r,triggerElement:n,...o}=t,i=r?H:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,d=typeof n=="function"?n():n;s.push(xd(a,{triggerElement:d,...o}))})),()=>{s.forEach(a=>a?.())}}function Ao(e,t){return Array.from(e?.querySelectorAll(t)??[])}var Lo=e=>e.id;function ws(e,t,r=Lo){return e.find(n=>r(n)===t)}function Do(e,t,r=Lo){const n=ws(e,t,r);return n?e.indexOf(n):-1}function Nd(e,t,r=!0){let n=Do(e,t);return n=r?(n+1)%e.length:Math.min(n+1,e.length-1),e[n]}function Ad(e,t,r=!0){let n=Do(e,t);return n===-1?r?e[e.length-1]:null:(n=r?(n-1+e.length)%e.length:Math.max(0,n-1),e[n])}function xs(e,t){const{onEntry:r,measure:n,box:o="border-box"}=t,i=(Array.isArray(e)?e:[e]).filter(oe),s=ee(i[0]),a=l=>{const g=i.map(f=>n(f));r({rects:g,entries:l})};a([]);const d=new s.ResizeObserver(a);return i.forEach(l=>d.observe(l,{box:o})),()=>d.disconnect()}var Ld=e=>e.split("").map(t=>{const r=t.charCodeAt(0);return r>0&&r<128?t:r>=128&&r<=255?`/x${r.toString(16)}`.replace("/","\\"):""}).join("").trim(),Dd=e=>Ld(e.dataset?.valuetext??e.textContent??""),Fd=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase());function Md(e,t,r,n=Lo){const o=r?Do(e,r,n):-1;let i=r?Hu(e,o):e;return t.length===1&&(i=i.filter(a=>n(a)!==r)),i.find(a=>Fd(Dd(a),t))}function Kr(e,t){if(!e)return Ot;const r=Object.keys(t).reduce((n,o)=>(n[o]=e.style.getPropertyValue(o),n),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,r),e.style.length===0&&e.removeAttribute("style")}}function _d(e,t,r){if(!e)return Ot;const n=e.style.getPropertyValue(t);return e.style.setProperty(t,r),()=>{e.style.setProperty(t,n),e.style.length===0&&e.removeAttribute("style")}}function Vd(e,t){const{state:r,activeId:n,key:o,timeout:i=350,itemToId:s}=t,a=r.keysSoFar+o,l=a.length>1&&Array.from(a).every(p=>p===a[0])?a[0]:a;let g=e.slice();const f=Md(g,l,n,s);function c(){clearTimeout(r.timer),r.timer=-1}function u(p){r.keysSoFar=p,c(),p!==""&&(r.timer=+setTimeout(()=>{u(""),c()},i))}return u(a),f}var ir=Object.assign(Vd,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:$d});function $d(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}var pn={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},Gd=1e3/60;function jd(e,t){const r=e();if(oe(r)&&r.isConnected)return t(r),()=>{};{const n=setInterval(()=>{const o=e();oe(o)&&o.isConnected&&(t(o),clearInterval(n))},Gd);return()=>clearInterval(n)}}function Bd(e,t){const r=[];return e?.forEach(n=>{const o=jd(n,t);r.push(o)}),()=>{r.forEach(n=>n())}}var Cr={exports:{}},se={};/**
|
|
37
|
+
* @license React
|
|
38
|
+
* react-dom.production.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/var li;function Hd(){if(li)return se;li=1;var e=y;function t(d){var l="https://react.dev/errors/"+d;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)l+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+d+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(d,l,g){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:f==null?null:""+f,children:d,containerInfo:l,implementation:g}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function a(d,l){if(d==="font")return"";if(typeof l=="string")return l==="use-credentials"?l:""}return se.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,se.createPortal=function(d,l){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)throw Error(t(299));return i(d,l,null,g)},se.flushSync=function(d){var l=s.T,g=n.p;try{if(s.T=null,n.p=2,d)return d()}finally{s.T=l,n.p=g,n.d.f()}},se.preconnect=function(d,l){typeof d=="string"&&(l?(l=l.crossOrigin,l=typeof l=="string"?l==="use-credentials"?l:"":void 0):l=null,n.d.C(d,l))},se.prefetchDNS=function(d){typeof d=="string"&&n.d.D(d)},se.preinit=function(d,l){if(typeof d=="string"&&l&&typeof l.as=="string"){var g=l.as,f=a(g,l.crossOrigin),c=typeof l.integrity=="string"?l.integrity:void 0,u=typeof l.fetchPriority=="string"?l.fetchPriority:void 0;g==="style"?n.d.S(d,typeof l.precedence=="string"?l.precedence:void 0,{crossOrigin:f,integrity:c,fetchPriority:u}):g==="script"&&n.d.X(d,{crossOrigin:f,integrity:c,fetchPriority:u,nonce:typeof l.nonce=="string"?l.nonce:void 0})}},se.preinitModule=function(d,l){if(typeof d=="string")if(typeof l=="object"&&l!==null){if(l.as==null||l.as==="script"){var g=a(l.as,l.crossOrigin);n.d.M(d,{crossOrigin:g,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0})}}else l==null&&n.d.M(d)},se.preload=function(d,l){if(typeof d=="string"&&typeof l=="object"&&l!==null&&typeof l.as=="string"){var g=l.as,f=a(g,l.crossOrigin);n.d.L(d,g,{crossOrigin:f,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0,type:typeof l.type=="string"?l.type:void 0,fetchPriority:typeof l.fetchPriority=="string"?l.fetchPriority:void 0,referrerPolicy:typeof l.referrerPolicy=="string"?l.referrerPolicy:void 0,imageSrcSet:typeof l.imageSrcSet=="string"?l.imageSrcSet:void 0,imageSizes:typeof l.imageSizes=="string"?l.imageSizes:void 0,media:typeof l.media=="string"?l.media:void 0})}},se.preloadModule=function(d,l){if(typeof d=="string")if(l){var g=a(l.as,l.crossOrigin);n.d.m(d,{as:typeof l.as=="string"&&l.as!=="script"?l.as:void 0,crossOrigin:g,integrity:typeof l.integrity=="string"?l.integrity:void 0})}else n.d.m(d)},se.requestFormReset=function(d){n.d.r(d)},se.unstable_batchedUpdates=function(d,l){return d(l)},se.useFormState=function(d,l,g){return s.H.useFormState(d,l,g)},se.useFormStatus=function(){return s.H.useHostTransitionStatus()},se.version="19.1.0",se}var ae={};/**
|
|
45
|
+
* @license React
|
|
46
|
+
* react-dom.development.js
|
|
47
|
+
*
|
|
48
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
49
|
+
*
|
|
50
|
+
* This source code is licensed under the MIT license found in the
|
|
51
|
+
* LICENSE file in the root directory of this source tree.
|
|
52
|
+
*/var ui;function Wd(){return ui||(ui=1,process.env.NODE_ENV!=="production"&&function(){function e(){}function t(f){return""+f}function r(f,c,u){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(p);var m=!1}catch{m=!0}return m&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object"),t(p)),{$$typeof:l,key:p==null?null:""+p,children:f,containerInfo:c,implementation:u}}function n(f,c){if(f==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}function o(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":'something with type "'+typeof f+'"'}function i(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":typeof f=="string"?JSON.stringify(f):typeof f=="number"?"`"+f+"`":'something with type "'+typeof f+'"'}function s(){var f=g.H;return f===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
53
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
54
|
+
2. You might be breaking the Rules of Hooks
|
|
55
|
+
3. You might have more than one copy of React in the same app
|
|
56
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a=y,d={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},l=Symbol.for("react.portal"),g=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ae.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,ae.createPortal=function(f,c){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error("Target container is not a DOM element.");return r(f,c,null,u)},ae.flushSync=function(f){var c=g.T,u=d.p;try{if(g.T=null,d.p=2,f)return f()}finally{g.T=c,d.p=u,d.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ae.preconnect=function(f,c){typeof f=="string"&&f?c!=null&&typeof c!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",i(c)):c!=null&&typeof c.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(c.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(f)),typeof f=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,d.d.C(f,c))},ae.prefetchDNS=function(f){if(typeof f!="string"||!f)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(f));else if(1<arguments.length){var c=arguments[1];typeof c=="object"&&c.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",i(c)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",i(c))}typeof f=="string"&&d.d.D(f)},ae.preinit=function(f,c){if(typeof f=="string"&&f?c==null||typeof c!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",i(c)):c.as!=="style"&&c.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',i(c.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(f)),typeof f=="string"&&c&&typeof c.as=="string"){var u=c.as,p=n(u,c.crossOrigin),m=typeof c.integrity=="string"?c.integrity:void 0,T=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;u==="style"?d.d.S(f,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:p,integrity:m,fetchPriority:T}):u==="script"&&d.d.X(f,{crossOrigin:p,integrity:m,fetchPriority:T,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},ae.preinitModule=function(f,c){var u="";if(typeof f=="string"&&f||(u+=" The `href` argument encountered was "+o(f)+"."),c!==void 0&&typeof c!="object"?u+=" The `options` argument encountered was "+o(c)+".":c&&"as"in c&&c.as!=="script"&&(u+=" The `as` option encountered was "+i(c.as)+"."),u)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",u);else switch(u=c&&typeof c.as=="string"?c.as:"script",u){case"script":break;default:u=i(u),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',u,f)}typeof f=="string"&&(typeof c=="object"&&c!==null?(c.as==null||c.as==="script")&&(u=n(c.as,c.crossOrigin),d.d.M(f,{crossOrigin:u,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})):c==null&&d.d.M(f))},ae.preload=function(f,c){var u="";if(typeof f=="string"&&f||(u+=" The `href` argument encountered was "+o(f)+"."),c==null||typeof c!="object"?u+=" The `options` argument encountered was "+o(c)+".":typeof c.as=="string"&&c.as||(u+=" The `as` option encountered was "+o(c.as)+"."),u&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',u),typeof f=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){u=c.as;var p=n(u,c.crossOrigin);d.d.L(f,u,{crossOrigin:p,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},ae.preloadModule=function(f,c){var u="";typeof f=="string"&&f||(u+=" The `href` argument encountered was "+o(f)+"."),c!==void 0&&typeof c!="object"?u+=" The `options` argument encountered was "+o(c)+".":c&&"as"in c&&typeof c.as!="string"&&(u+=" The `as` option encountered was "+o(c.as)+"."),u&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',u),typeof f=="string"&&(c?(u=n(c.as,c.crossOrigin),d.d.m(f,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:u,integrity:typeof c.integrity=="string"?c.integrity:void 0})):d.d.m(f))},ae.requestFormReset=function(f){d.d.r(f)},ae.unstable_batchedUpdates=function(f,c){return f(c)},ae.useFormState=function(f,c,u){return s().useFormState(f,c,u)},ae.useFormStatus=function(){return s().useHostTransitionStatus()},ae.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ae}var di;function Ud(){if(di)return Cr.exports;di=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),Cr.exports=Hd()):Cr.exports=Wd(),Cr.exports}var dr=Ud();function Kd(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function U(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=y.createContext(s);a.displayName=t;function d(){const l=y.useContext(a);if(!l&&r){const g=new Error(i??Kd(n,o));throw g.name="ContextError",Error.captureStackTrace?.(g,d),g}return l}return[a.Provider,d,a]}const[ly,Ce]=U({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),Yd=e=>{const{children:t,disabled:r}=e,[n,o]=y.useState(e.container?.current),i=y.useSyncExternalStore(zd,()=>!1,()=>!0),{getRootNode:s}=Ce();if(y.useEffect(()=>{o(()=>e.container?.current)},[e.container]),i||r)return b.jsx(b.Fragment,{children:t});const a=n??qd(s);return b.jsx(b.Fragment,{children:y.Children.map(t,d=>dr.createPortal(d,a))})},qd=e=>{const t=e?.(),r=t.getRootNode();return St(r)?r:pe(t).body},zd=()=>()=>{};function Xd(e){return e?Array.isArray(e)?e:[e]:[]}var ks=e=>e[0],Ns=e=>e[e.length-1],Jd=(e,t)=>e.indexOf(t)!==-1,Zd=(e,...t)=>e.concat(t),Qd=(e,...t)=>e.filter(r=>!t.includes(r)),fi=(e,t)=>Jd(e,t)?Qd(e,t):Zd(e,t);function As(e,t,r={}){const{step:n=1,loop:o=!0}=r,i=t+n,s=e.length,a=s-1;return t===-1?n>0?0:a:i<0?o?a:0:i>=s?o?0:t>s?s:t:i}function ef(e,t,r={}){return e[As(e,t,r)]}function tf(e,t,r={}){const{step:n=1,loop:o=!0}=r;return As(e,t,{step:-n,loop:o})}function rf(e,t,r={}){return e[tf(e,t,r)]}var gi=e=>e?.constructor.name==="Array",nf=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!mn(e[r],t[r]))return!1;return!0},mn=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(gi(e)&&gi(t))return nf(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const r=Object.keys(t??Object.create(null)),n=r.length;for(let o=0;o<n;o++)if(!Reflect.has(e,r[o]))return!1;for(let o=0;o<n;o++){const i=r[o];if(!mn(e[i],t[i]))return!1}return!0},of=e=>Array.isArray(e),sf=e=>e!=null&&typeof e=="object",Nn=e=>sf(e)&&!of(e),Qt=e=>typeof e=="string",Tt=e=>typeof e=="function",af=e=>e==null,An=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),cf=Function.prototype.toString;cf.call(Object);var lf=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,uf=e=>e(),df=()=>{},Yn=(...e)=>(...t)=>{e.forEach(function(r){r?.(...t)})};function Fo(e){if(!ff(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(n=>typeof n=="string"),r={};for(const n of t){const o=e[n];o!==void 0&&(r[n]=Fo(o))}return r}var ff=e=>e&&typeof e=="object"&&e.constructor===Object;function qn(...e){const t=e.length===1?e[0]:e[1];(e.length===2?e[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(t)}function Ls(e,t){if(e==null)throw new Error(t())}var gf=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),pf=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,pi=e=>{const t={};let r;for(;r=pf.exec(e);)t[r[1]]=r[2];return t},mf=(e,t)=>{if(Qt(e)){if(Qt(t))return`${e};${t}`;e=pi(e)}else Qt(t)&&(t=pi(t));return Object.assign({},e??{},t??{})};function R(...e){let t={};for(let r of e){for(let n in t){if(n.startsWith("on")&&typeof t[n]=="function"&&typeof r[n]=="function"){t[n]=Yn(r[n],t[n]);continue}if(n==="className"||n==="class"){t[n]=gf(t[n],r[n]);continue}if(n==="style"){t[n]=mf(t[n],r[n]);continue}t[n]=r[n]!==void 0?r[n]:t[n]}for(let n in r)t[n]===void 0&&(t[n]=r[n])}return t}function nt(){return{and:(...e)=>function(r){return e.every(n=>r.guard(n))},or:(...e)=>function(r){return e.some(n=>r.guard(n))},not:e=>function(r){return!r.guard(e)}}}var Pt=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(Pt||{}),Ln="__init__";function hf(e){const t=()=>e.getRootNode?.()??document,r=()=>pe(t()),n=()=>r().defaultView??window,o=()=>ps(t());return{...e,getRootNode:t,getDoc:r,getWin:n,getActiveElement:o,isActiveElement:a=>a===o(),getById:a=>t().getElementById(a)}}function vf(e){return new Proxy({},{get(t,r){return r==="style"?n=>e({style:n}).style:e}})}var _=()=>e=>Array.from(new Set(e)),Ds=typeof globalThis.document<"u"?y.useLayoutEffect:y.useEffect;function Yr(e){const t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=y.useState(t),[o,i]=y.useState(n),s=e().value!==void 0,a=y.useRef(o);a.current=s?e().value:o;const d=y.useRef(a.current);Ds(()=>{d.current=a.current},[o,e().value]);const l=f=>{const c=d.current,u=Tt(f)?f(c):f;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:u,prev:c}),s||i(u),r(u,c)||e().onChange?.(u,c)};function g(){return s?e().value:o}return{initial:n,ref:a,get:g,set(f){(e().sync?dr.flushSync:uf)(()=>l(f))},invoke(f,c){e().onChange?.(f,c)},hash(f){return e().hash?.(f)??String(f)}}}Yr.cleanup=e=>{y.useEffect(()=>e,[])};Yr.ref=e=>{const t=y.useRef(e);return{get:()=>t.current,set:r=>{t.current=r}}};function yf(e){const t=y.useRef(e);return{get(r){return t.current[r]},set(r,n){t.current[r]=n}}}var bf=(e,t)=>{const r=y.useRef(!1),n=y.useRef(!1);y.useEffect(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),y.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function Ie(e,t={}){const r=y.useMemo(()=>{const{id:w,ids:D,getRootNode:V}=t;return hf({id:w,ids:D,getRootNode:V})},[t]),n=(...w)=>{e.debug&&console.log(...w)},o=e.props?.({props:Fo(t),scope:r})??t,i=Ef(o),s=e.context?.({prop:i,bindable:Yr,scope:r,flush:mi,getContext(){return d},getComputed(){return v},getRefs(){return m}}),a=Fs(s),d={get(w){return a.current?.[w].ref.current},set(w,D){a.current?.[w].set(D)},initial(w){return a.current?.[w].initial},hash(w){const D=a.current?.[w].get();return a.current?.[w].hash(D)}},l=y.useRef(new Map),g=y.useRef(null),f=y.useRef(null),c=y.useRef({type:""}),u=()=>({...c.current,current(){return c.current},previous(){return f.current}}),p=()=>({...S,matches(...w){return w.includes(S.ref.current)},hasTag(w){return!!e.states[S.ref.current]?.tags?.includes(w)}}),m=yf(e.refs?.({prop:i,context:d})??{}),T=()=>({state:p(),context:d,event:u(),prop:i,send:A,action:E,guard:C,track:bf,refs:m,computed:v,flush:mi,scope:r,choose:h}),E=w=>{const D=Tt(w)?w(T()):w;if(!D)return;const V=D.map(M=>{const K=e.implementations?.actions?.[M];return K||qn(`[zag-js] No implementation found for action "${JSON.stringify(M)}"`),K});for(const M of V)M?.(T())},C=w=>Tt(w)?w(T()):e.implementations?.guards?.[w](T()),P=w=>{const D=Tt(w)?w(T()):w;if(!D)return;const V=D.map(K=>{const z=e.implementations?.effects?.[K];return z||qn(`[zag-js] No implementation found for effect "${JSON.stringify(K)}"`),z}),M=[];for(const K of V){const z=K?.(T());z&&M.push(z)}return()=>M.forEach(K=>K?.())},h=w=>Xd(w).find(D=>{let V=!D.guard;return Qt(D.guard)?V=!!C(D.guard):Tt(D.guard)&&(V=D.guard(T())),V}),v=w=>{Ls(e.computed,()=>"[zag-js] No computed object found on machine");const D=e.computed[w];return D({context:d,event:u(),prop:i,refs:m,scope:r,computed:v})},S=Yr(()=>({defaultValue:e.initialState({prop:i}),onChange(w,D){D&&(l.current.get(D)?.(),l.current.delete(D)),D&&E(e.states[D]?.exit),E(g.current?.actions);const V=P(e.states[w]?.effects);if(V&&l.current.set(w,V),D===Ln){E(e.entry);const M=P(e.effects);M&&l.current.set(Ln,M)}E(e.states[w]?.entry)}})),I=y.useRef(void 0),O=y.useRef(Pt.NotStarted);Ds(()=>{queueMicrotask(()=>{const V=O.current===Pt.Started;O.current=Pt.Started,n(V?"rehydrating...":"initializing...");const M=I.current??S.initial;S.invoke(M,V?S.get():Ln)});const w=l.current,D=S.ref.current;return()=>{n("unmounting..."),I.current=D,O.current=Pt.Stopped,w.forEach(V=>V?.()),l.current=new Map,g.current=null,queueMicrotask(()=>{E(e.exit)})}},[]);const x=()=>"ref"in S?S.ref.current:S.get(),A=w=>{queueMicrotask(()=>{if(O.current!==Pt.Started)return;f.current=c.current,c.current=w,n("send",w);let D=x();const V=e.states[D].on?.[w.type]??e.on?.[w.type],M=h(V);if(!M)return;g.current=M;const K=M.target??D;n("transition",M);const z=K!==D;z?dr.flushSync(()=>S.set(K)):M.reenter&&!z?S.invoke(D,D):E(M.actions??[])})};return e.watch?.(T()),{state:p(),send:A,context:d,prop:i,scope:r,refs:m,computed:v,event:u(),getStatus:()=>O.current}}function Fs(e){const t=y.useRef(e);return t.current=e,t}function Ef(e){const t=Fs(e);return function(n){return t.current[n]}}function mi(e){queueMicrotask(()=>{dr.flushSync(()=>e())})}var Le=vf(e=>e);function De(...e){return t=>{const r=[];for(const n of e)if(typeof n=="function"){const o=n(t);typeof o=="function"&&r.push(o)}else n&&(n.current=t);if(r.length)return()=>{for(const n of r)n()}}}function Pf(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Dn=e=>{const t=y.memo(y.forwardRef((r,n)=>{const{asChild:o,children:i,...s}=r;if(!o)return y.createElement(e,{...s,ref:n},i);const a=y.Children.only(i);if(!y.isValidElement(a))return null;const d=Pf(a);return y.cloneElement(a,{...R(s,a.props),ref:n?De(n,d):d})}));return t.displayName=e.displayName||e.name,t},Of=()=>{const e=new Map;return new Proxy(Dn,{apply(t,r,n){return Dn(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,Dn(n)),e.get(n)}})},N=Of(),[Ms,fr]=U({name:"TooltipContext",hookName:"useTooltipContext",providerName:"<TooltipProvider />"}),_s=y.forwardRef((e,t)=>{const r=fr(),n=R(r.getArrowProps(),e);return b.jsx(N.div,{...n,ref:t})});_s.displayName="TooltipArrow";const Vs=y.forwardRef((e,t)=>{const r=fr(),n=R(r.getArrowTipProps(),e);return b.jsx(N.div,{...n,ref:t})});Vs.displayName="TooltipArrowTip";const[be,de]=U({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),$s=y.forwardRef((e,t)=>{const r=fr(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});$s.displayName="TooltipContent";const Gs=y.forwardRef((e,t)=>{const r=fr(),n=R(r.getPositionerProps(),e);return de().unmounted?null:b.jsx(N.div,{...n,ref:t})});Gs.displayName="TooltipPositioner";const Y=()=>(e,t)=>t.reduce((r,n)=>{const[o,i]=r,s=n;return i[s]!==void 0&&(o[s]=i[s]),delete i[s],[o,i]},[{},{...e}]),Re=e=>Y()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function Tf(e,t){const{state:r,send:n,context:o}=e,i=r.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:i,setNode(s){s&&n({type:"NODE.SET",node:s})},unmount(){n({type:"UNMOUNT"})}}}var Cf={props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,action:t,prop:r}){e([()=>r("present")],()=>{t(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:t})=>{e.set("node",t.node)},setStyles:({refs:e,event:t})=>{e.set("styles",ln(t.node))},syncPresence:({context:e,refs:t,send:r,prop:n})=>{const o=n("present");if(o)return r({type:"MOUNT",src:"presence.changed"});const i=t.get("node");if(!o&&i?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});H(()=>{const s=Ir(t.get("styles"));e.set("unmountAnimationName",s),s==="none"||s===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?r({type:"UNMOUNT",src:"presence.changed"}):r({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{H(()=>{e.set("prevAnimationName",Ir(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r})=>{const n=t.get("node");if(!n)return;const o=a=>{(a.composedPath?.()?.[0]??a.target)===n&&e.set("prevAnimationName",Ir(t.get("styles")))},i=a=>{const d=Ir(t.get("styles"));ne(a)===n&&d===e.get("unmountAnimationName")&&r({type:"UNMOUNT",src:"animationend"})};n.addEventListener("animationstart",o),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i);const s=Kr(n,{animationFillMode:"forwards"});return()=>{n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i),Ts(()=>s())}}}}};function Ir(e){return e?.animationName||"none"}_()(["onExitComplete","present","immediate"]);function js(e,t={}){const{sync:r=!1}=t,n=If(e);return y.useCallback((...o)=>r?queueMicrotask(()=>n.current?.(...o)):n.current?.(...o),[r,n])}function If(e){const t=y.useRef(e);return t.current=e,t}const me=(e={})=>{const{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:o=!1,...i}=e,s=y.useRef(!1),a={...i,present:n,onExitComplete:js(e.onExitComplete)},d=Ie(Cf,a),l=Tf(d);l.present&&(s.current=!0);const g=!l.present&&!s.current&&t||r&&!l.present&&s.current,f=()=>({"data-state":l.skip&&o?void 0:n?"open":"closed",hidden:!l.present});return{ref:l.setNode,getPresenceProps:f,present:l.present,unmounted:g}};var W=(e,t=[])=>({parts:(...r)=>{if(Rf(t))return W(e,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>W(e,[...t,...r]),rename:r=>W(r,t),keys:()=>t,build:()=>[...new Set(t)].reduce((r,n)=>Object.assign(r,{[n]:{selector:[`&[data-scope="${mt(e)}"][data-part="${mt(n)}"]`,`& [data-scope="${mt(e)}"][data-part="${mt(n)}"]`].join(", "),attrs:{"data-scope":mt(e),"data-part":mt(n)}}}),{})}),mt=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Rf=e=>e.length===0;function Sf(e){return!(e.metaKey||!dn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var wf=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function xf(e,t,r){const n=r?ne(r):null,o=ee(n);return e=e||n instanceof o.HTMLInputElement&&!wf.has(n?.type)||n instanceof o.HTMLTextAreaElement||n instanceof o.HTMLElement&&n.isContentEditable,!(e&&t==="keyboard"&&r instanceof o.KeyboardEvent&&!Reflect.has(kf,r.key))}var gt=null,zn=new Set,er=new Map,dt=!1,Xn=!1,kf={Tab:!0,Escape:!0};function hn(e,t){for(let r of zn)r(e,t)}function qr(e){dt=!0,Sf(e)&&(gt="keyboard",hn("keyboard",e))}function Oe(e){gt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(dt=!0,hn("pointer",e))}function Bs(e){ud(e)&&(dt=!0,gt="virtual")}function Hs(e){const t=ne(e);t===ee(t)||t===pe(t)||(!dt&&!Xn&&(gt="virtual",hn("virtual",e)),dt=!1,Xn=!1)}function Ws(){dt=!1,Xn=!0}function Nf(e){if(typeof window>"u"||er.get(ee(e)))return;const t=ee(e),r=pe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){gt="virtual",hn("virtual",null),dt=!0,n.apply(this,arguments)},r.addEventListener("keydown",qr,!0),r.addEventListener("keyup",qr,!0),r.addEventListener("click",Bs,!0),t.addEventListener("focus",Hs,!0),t.addEventListener("blur",Ws,!1),typeof t.PointerEvent<"u"?(r.addEventListener("pointerdown",Oe,!0),r.addEventListener("pointermove",Oe,!0),r.addEventListener("pointerup",Oe,!0)):(r.addEventListener("mousedown",Oe,!0),r.addEventListener("mousemove",Oe,!0),r.addEventListener("mouseup",Oe,!0)),t.addEventListener("beforeunload",()=>{Af(e)},{once:!0}),er.set(t,{focus:n})}var Af=(e,t)=>{const r=ee(e),n=pe(e);er.has(r)&&(r.HTMLElement.prototype.focus=er.get(r).focus,n.removeEventListener("keydown",qr,!0),n.removeEventListener("keyup",qr,!0),n.removeEventListener("click",Bs,!0),r.removeEventListener("focus",Hs,!0),r.removeEventListener("blur",Ws,!1),typeof r.PointerEvent<"u"?(n.removeEventListener("pointerdown",Oe,!0),n.removeEventListener("pointermove",Oe,!0),n.removeEventListener("pointerup",Oe,!0)):(n.removeEventListener("mousedown",Oe,!0),n.removeEventListener("mousemove",Oe,!0),n.removeEventListener("mouseup",Oe,!0)),er.delete(r))};function wt(){return gt==="keyboard"}function vn(e={}){const{isTextInput:t,autoFocus:r,onChange:n,root:o}=e;Nf(o),n?.({isFocusVisible:r||wt(),modality:gt});const i=(s,a)=>{xf(!!t,s,a)&&n?.({isFocusVisible:wt(),modality:s})};return zn.add(i),()=>{zn.delete(i)}}const Lf=["top","right","bottom","left"],et=Math.min,ve=Math.max,zr=Math.round,Rr=Math.floor,Ve=e=>({x:e,y:e}),Df={left:"right",right:"left",bottom:"top",top:"bottom"},Ff={start:"end",end:"start"};function Jn(e,t,r){return ve(e,et(t,r))}function Ue(e,t){return typeof e=="function"?e(t):e}function Ke(e){return e.split("-")[0]}function Nt(e){return e.split("-")[1]}function Mo(e){return e==="x"?"y":"x"}function _o(e){return e==="y"?"height":"width"}function tt(e){return["top","bottom"].includes(Ke(e))?"y":"x"}function Vo(e){return Mo(tt(e))}function Mf(e,t,r){r===void 0&&(r=!1);const n=Nt(e),o=Vo(e),i=_o(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xr(s)),[s,Xr(s)]}function _f(e){const t=Xr(e);return[Zn(e),t,Zn(t)]}function Zn(e){return e.replace(/start|end/g,t=>Ff[t])}function Vf(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function $f(e,t,r,n){const o=Nt(e);let i=Vf(Ke(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Zn)))),i}function Xr(e){return e.replace(/left|right|bottom|top/g,t=>Df[t])}function Gf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Us(e){return typeof e!="number"?Gf(e):{top:e,right:e,bottom:e,left:e}}function Jr(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function hi(e,t,r){let{reference:n,floating:o}=e;const i=tt(t),s=Vo(t),a=_o(s),d=Ke(t),l=i==="y",g=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,c=n[a]/2-o[a]/2;let u;switch(d){case"top":u={x:g,y:n.y-o.height};break;case"bottom":u={x:g,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-o.width,y:f};break;default:u={x:n.x,y:n.y}}switch(Nt(t)){case"start":u[s]-=c*(r&&l?-1:1);break;case"end":u[s]+=c*(r&&l?-1:1);break}return u}const jf=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,a=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:f}=hi(l,n,d),c=n,u={},p=0;for(let m=0;m<a.length;m++){const{name:T,fn:E}=a[m],{x:C,y:P,data:h,reset:v}=await E({x:g,y:f,initialPlacement:n,placement:c,strategy:o,middlewareData:u,rects:l,platform:s,elements:{reference:e,floating:t}});g=C??g,f=P??f,u={...u,[T]:{...u[T],...h}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(c=v.placement),v.rects&&(l=v.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:g,y:f}=hi(l,c,d)),m=-1)}return{x:g,y:f,placement:c,strategy:o,middlewareData:u}};async function sr(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:a,strategy:d}=e,{boundary:l="clippingAncestors",rootBoundary:g="viewport",elementContext:f="floating",altBoundary:c=!1,padding:u=0}=Ue(t,e),p=Us(u),T=a[c?f==="floating"?"reference":"floating":f],E=Jr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:g,strategy:d})),C=f==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),h=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},v=Jr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:P,strategy:d}):C);return{top:(E.top-v.top+p.top)/h.y,bottom:(v.bottom-E.bottom+p.bottom)/h.y,left:(E.left-v.left+p.left)/h.x,right:(v.right-E.right+p.right)/h.x}}const Bf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:a,middlewareData:d}=t,{element:l,padding:g=0}=Ue(e,t)||{};if(l==null)return{};const f=Us(g),c={x:r,y:n},u=Vo(o),p=_o(u),m=await s.getDimensions(l),T=u==="y",E=T?"top":"left",C=T?"bottom":"right",P=T?"clientHeight":"clientWidth",h=i.reference[p]+i.reference[u]-c[u]-i.floating[p],v=c[u]-i.reference[u],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let I=S?S[P]:0;(!I||!await(s.isElement==null?void 0:s.isElement(S)))&&(I=a.floating[P]||i.floating[p]);const O=h/2-v/2,x=I/2-m[p]/2-1,A=et(f[E],x),w=et(f[C],x),D=A,V=I-m[p]-w,M=I/2-m[p]/2+O,K=Jn(D,M,V),z=!d.arrow&&Nt(o)!=null&&M!==K&&i.reference[p]/2-(M<D?A:w)-m[p]/2<0,ce=z?M<D?M-D:M-V:0;return{[u]:c[u]+ce,data:{[u]:K,centerOffset:M-K-ce,...z&&{alignmentOffset:ce}},reset:z}}}),Hf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:d,elements:l}=t,{mainAxis:g=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...T}=Ue(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const E=Ke(o),C=tt(a),P=Ke(a)===a,h=await(d.isRTL==null?void 0:d.isRTL(l.floating)),v=c||(P||!m?[Xr(a)]:_f(a)),S=p!=="none";!c&&S&&v.push(...$f(a,m,p,h));const I=[a,...v],O=await sr(t,T),x=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(g&&x.push(O[E]),f){const M=Mf(o,s,h);x.push(O[M[0]],O[M[1]])}if(A=[...A,{placement:o,overflows:x}],!x.every(M=>M<=0)){var w,D;const M=(((w=i.flip)==null?void 0:w.index)||0)+1,K=I[M];if(K)return{data:{index:M,overflows:A},reset:{placement:K}};let z=(D=A.filter(ce=>ce.overflows[0]<=0).sort((ce,ge)=>ce.overflows[1]-ge.overflows[1])[0])==null?void 0:D.placement;if(!z)switch(u){case"bestFit":{var V;const ce=(V=A.filter(ge=>{if(S){const he=tt(ge.placement);return he===C||he==="y"}return!0}).map(ge=>[ge.placement,ge.overflows.filter(he=>he>0).reduce((he,k)=>he+k,0)]).sort((ge,he)=>ge[1]-he[1])[0])==null?void 0:V[0];ce&&(z=ce);break}case"initialPlacement":z=a;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function vi(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yi(e){return Lf.some(t=>e[t]>=0)}const Wf=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Ue(e,t);switch(n){case"referenceHidden":{const i=await sr(t,{...o,elementContext:"reference"}),s=vi(i,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:yi(s)}}}case"escaped":{const i=await sr(t,{...o,altBoundary:!0}),s=vi(i,r.floating);return{data:{escapedOffsets:s,escaped:yi(s)}}}default:return{}}}}};async function Uf(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Ke(r),a=Nt(r),d=tt(r)==="y",l=["left","top"].includes(s)?-1:1,g=i&&d?-1:1,f=Ue(t,e);let{mainAxis:c,crossAxis:u,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(u=a==="end"?p*-1:p),d?{x:u*g,y:c*l}:{x:c*l,y:u*g}}const Kf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:a}=t,d=await Uf(t,e);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:s}}}}},Yf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:T=>{let{x:E,y:C}=T;return{x:E,y:C}}},...d}=Ue(e,t),l={x:r,y:n},g=await sr(t,d),f=tt(Ke(o)),c=Mo(f);let u=l[c],p=l[f];if(i){const T=c==="y"?"top":"left",E=c==="y"?"bottom":"right",C=u+g[T],P=u-g[E];u=Jn(C,u,P)}if(s){const T=f==="y"?"top":"left",E=f==="y"?"bottom":"right",C=p+g[T],P=p-g[E];p=Jn(C,p,P)}const m=a.fn({...t,[c]:u,[f]:p});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[c]:i,[f]:s}}}}}},qf=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:d=!0,crossAxis:l=!0}=Ue(e,t),g={x:r,y:n},f=tt(o),c=Mo(f);let u=g[c],p=g[f];const m=Ue(a,t),T=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const P=c==="y"?"height":"width",h=i.reference[c]-i.floating[P]+T.mainAxis,v=i.reference[c]+i.reference[P]-T.mainAxis;u<h?u=h:u>v&&(u=v)}if(l){var E,C;const P=c==="y"?"width":"height",h=["top","left"].includes(Ke(o)),v=i.reference[f]-i.floating[P]+(h&&((E=s.offset)==null?void 0:E[f])||0)+(h?0:T.crossAxis),S=i.reference[f]+i.reference[P]+(h?0:((C=s.offset)==null?void 0:C[f])||0)-(h?T.crossAxis:0);p<v?p=v:p>S&&(p=S)}return{[c]:u,[f]:p}}}},zf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:d=()=>{},...l}=Ue(e,t),g=await sr(t,l),f=Ke(o),c=Nt(o),u=tt(o)==="y",{width:p,height:m}=i.floating;let T,E;f==="top"||f==="bottom"?(T=f,E=c===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(E=f,T=c==="end"?"top":"bottom");const C=m-g.top-g.bottom,P=p-g.left-g.right,h=et(m-g[T],C),v=et(p-g[E],P),S=!t.middlewareData.shift;let I=h,O=v;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(O=P),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(I=C),S&&!c){const A=ve(g.left,0),w=ve(g.right,0),D=ve(g.top,0),V=ve(g.bottom,0);u?O=p-2*(A!==0||w!==0?A+w:ve(g.left,g.right)):I=m-2*(D!==0||V!==0?D+V:ve(g.top,g.bottom))}await d({...t,availableWidth:O,availableHeight:I});const x=await s.getDimensions(a.floating);return p!==x.width||m!==x.height?{reset:{rects:!0}}:{}}}};function yn(){return typeof window<"u"}function At(e){return Ks(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function je(e){var t;return(t=(Ks(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ks(e){return yn()?e instanceof Node||e instanceof ye(e).Node:!1}function Ne(e){return yn()?e instanceof Element||e instanceof ye(e).Element:!1}function $e(e){return yn()?e instanceof HTMLElement||e instanceof ye(e).HTMLElement:!1}function bi(e){return!yn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function gr(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Xf(e){return["table","td","th"].includes(At(e))}function bn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function $o(e){const t=Go(),r=Ne(e)?Ae(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Jf(e){let t=rt(e);for(;$e(t)&&!xt(t);){if($o(t))return t;if(bn(t))return null;t=rt(t)}return null}function Go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xt(e){return["html","body","#document"].includes(At(e))}function Ae(e){return ye(e).getComputedStyle(e)}function En(e){return Ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rt(e){if(At(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bi(e)&&e.host||je(e);return bi(t)?t.host:t}function Ys(e){const t=rt(e);return xt(t)?e.ownerDocument?e.ownerDocument.body:e.body:$e(t)&&gr(t)?t:Ys(t)}function ar(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ys(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=ye(o);if(i){const a=Qn(s);return t.concat(s,s.visualViewport||[],gr(o)?o:[],a&&r?ar(a):[])}return t.concat(o,ar(o,[],r))}function Qn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qs(e){const t=Ae(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=$e(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,a=zr(r)!==i||zr(n)!==s;return a&&(r=i,n=s),{width:r,height:n,$:a}}function jo(e){return Ne(e)?e:e.contextElement}function It(e){const t=jo(e);if(!$e(t))return Ve(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=qs(t);let s=(i?zr(r.width):r.width)/n,a=(i?zr(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Zf=Ve(0);function zs(e){const t=ye(e);return!Go()||!t.visualViewport?Zf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ye(e)?!1:t}function ft(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=jo(e);let s=Ve(1);t&&(n?Ne(n)&&(s=It(n)):s=It(e));const a=Qf(i,r,n)?zs(i):Ve(0);let d=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,g=o.width/s.x,f=o.height/s.y;if(i){const c=ye(i),u=n&&Ne(n)?ye(n):n;let p=c,m=Qn(p);for(;m&&n&&u!==p;){const T=It(m),E=m.getBoundingClientRect(),C=Ae(m),P=E.left+(m.clientLeft+parseFloat(C.paddingLeft))*T.x,h=E.top+(m.clientTop+parseFloat(C.paddingTop))*T.y;d*=T.x,l*=T.y,g*=T.x,f*=T.y,d+=P,l+=h,p=ye(m),m=Qn(p)}}return Jr({width:g,height:f,x:d,y:l})}function Bo(e,t){const r=En(e).scrollLeft;return t?t.left+r:ft(je(e)).left+r}function Xs(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:Bo(e,n)),i=n.top+t.scrollTop;return{x:o,y:i}}function eg(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=je(n),a=t?bn(t.floating):!1;if(n===s||a&&i)return r;let d={scrollLeft:0,scrollTop:0},l=Ve(1);const g=Ve(0),f=$e(n);if((f||!f&&!i)&&((At(n)!=="body"||gr(s))&&(d=En(n)),$e(n))){const u=ft(n);l=It(n),g.x=u.x+n.clientLeft,g.y=u.y+n.clientTop}const c=s&&!f&&!i?Xs(s,d,!0):Ve(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-d.scrollLeft*l.x+g.x+c.x,y:r.y*l.y-d.scrollTop*l.y+g.y+c.y}}function tg(e){return Array.from(e.getClientRects())}function rg(e){const t=je(e),r=En(e),n=e.ownerDocument.body,o=ve(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ve(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Bo(e);const a=-r.scrollTop;return Ae(n).direction==="rtl"&&(s+=ve(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:a}}function ng(e,t){const r=ye(e),n=je(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,a=0,d=0;if(o){i=o.width,s=o.height;const l=Go();(!l||l&&t==="fixed")&&(a=o.offsetLeft,d=o.offsetTop)}return{width:i,height:s,x:a,y:d}}function og(e,t){const r=ft(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=$e(e)?It(e):Ve(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,d=o*i.x,l=n*i.y;return{width:s,height:a,x:d,y:l}}function Ei(e,t,r){let n;if(t==="viewport")n=ng(e,r);else if(t==="document")n=rg(je(e));else if(Ne(t))n=og(t,r);else{const o=zs(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Jr(n)}function Js(e,t){const r=rt(e);return r===t||!Ne(r)||xt(r)?!1:Ae(r).position==="fixed"||Js(r,t)}function ig(e,t){const r=t.get(e);if(r)return r;let n=ar(e,[],!1).filter(a=>Ne(a)&&At(a)!=="body"),o=null;const i=Ae(e).position==="fixed";let s=i?rt(e):e;for(;Ne(s)&&!xt(s);){const a=Ae(s),d=$o(s);!d&&a.position==="fixed"&&(o=null),(i?!d&&!o:!d&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||gr(s)&&!d&&Js(e,s))?n=n.filter(g=>g!==s):o=a,s=rt(s)}return t.set(e,n),n}function sg(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?bn(t)?[]:ig(t,this._c):[].concat(r),n],a=s[0],d=s.reduce((l,g)=>{const f=Ei(t,g,o);return l.top=ve(f.top,l.top),l.right=et(f.right,l.right),l.bottom=et(f.bottom,l.bottom),l.left=ve(f.left,l.left),l},Ei(t,a,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ag(e){const{width:t,height:r}=qs(e);return{width:t,height:r}}function cg(e,t,r){const n=$e(t),o=je(t),i=r==="fixed",s=ft(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const d=Ve(0);if(n||!n&&!i)if((At(t)!=="body"||gr(o))&&(a=En(t)),n){const c=ft(t,!0,i,t);d.x=c.x+t.clientLeft,d.y=c.y+t.clientTop}else o&&(d.x=Bo(o));const l=o&&!n&&!i?Xs(o,a):Ve(0),g=s.left+a.scrollLeft-d.x-l.x,f=s.top+a.scrollTop-d.y-l.y;return{x:g,y:f,width:s.width,height:s.height}}function Fn(e){return Ae(e).position==="static"}function Pi(e,t){if(!$e(e)||Ae(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return je(e)===r&&(r=r.ownerDocument.body),r}function Zs(e,t){const r=ye(e);if(bn(e))return r;if(!$e(e)){let o=rt(e);for(;o&&!xt(o);){if(Ne(o)&&!Fn(o))return o;o=rt(o)}return r}let n=Pi(e,t);for(;n&&Xf(n)&&Fn(n);)n=Pi(n,t);return n&&xt(n)&&Fn(n)&&!$o(n)?r:n||Jf(e)||r}const lg=async function(e){const t=this.getOffsetParent||Zs,r=this.getDimensions,n=await r(e.floating);return{reference:cg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ug(e){return Ae(e).direction==="rtl"}const dg={convertOffsetParentRelativeRectToViewportRelativeRect:eg,getDocumentElement:je,getClippingRect:sg,getOffsetParent:Zs,getElementRects:lg,getClientRects:tg,getDimensions:ag,getScale:It,isElement:Ne,isRTL:ug};function Qs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fg(e,t){let r=null,n;const o=je(e);function i(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,d){a===void 0&&(a=!1),d===void 0&&(d=1),i();const l=e.getBoundingClientRect(),{left:g,top:f,width:c,height:u}=l;if(a||t(),!c||!u)return;const p=Rr(f),m=Rr(o.clientWidth-(g+c)),T=Rr(o.clientHeight-(f+u)),E=Rr(g),P={rootMargin:-p+"px "+-m+"px "+-T+"px "+-E+"px",threshold:ve(0,et(1,d))||1};let h=!0;function v(S){const I=S[0].intersectionRatio;if(I!==d){if(!h)return s();I?s(!1,I):n=setTimeout(()=>{s(!1,1e-7)},1e3)}I===1&&!Qs(l,e.getBoundingClientRect())&&s(),h=!1}try{r=new IntersectionObserver(v,{...P,root:o.ownerDocument})}catch{r=new IntersectionObserver(v,P)}r.observe(e)}return s(!0),i}function gg(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,l=jo(e),g=o||i?[...l?ar(l):[],...ar(t)]:[];g.forEach(E=>{o&&E.addEventListener("scroll",r,{passive:!0}),i&&E.addEventListener("resize",r)});const f=l&&a?fg(l,r):null;let c=-1,u=null;s&&(u=new ResizeObserver(E=>{let[C]=E;C&&C.target===l&&u&&(u.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var P;(P=u)==null||P.observe(t)})),r()}),l&&!d&&u.observe(l),u.observe(t));let p,m=d?ft(e):null;d&&T();function T(){const E=ft(e);m&&!Qs(m,E)&&r(),m=E,p=requestAnimationFrame(T)}return r(),()=>{var E;g.forEach(C=>{o&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),f?.(),(E=u)==null||E.disconnect(),u=null,d&&cancelAnimationFrame(p)}}const pg=Kf,mg=Yf,hg=Hf,vg=zf,yg=Wf,bg=Bf,Eg=qf,Pg=(e,t,r)=>{const n=new Map,o={platform:dg,...r},i={...o.platform,_c:n};return jf(e,t,{...o,platform:i})};function Oi(e=0,t=0,r=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,r,n);const o={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...o,toJSON:()=>o}}function Og(e){if(!e)return Oi();const{x:t,y:r,width:n,height:o}=e;return Oi(t,r,n,o)}function Tg(e,t){return{contextElement:oe(e)?e:void 0,getBoundingClientRect:()=>{const r=e,n=t?.(r);return n||!r?Og(n):r.getBoundingClientRect()}}}var $t=e=>({variable:e,reference:`var(${e})`}),Be={arrowSize:$t("--arrow-size"),arrowSizeHalf:$t("--arrow-size-half"),arrowBg:$t("--arrow-background"),transformOrigin:$t("--transform-origin"),arrowOffset:$t("--arrow-offset")},Cg=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),Ig={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:r}){const{arrow:n}=r,o=Cg(n)[e],{floating:i}=t;return i.style.setProperty(Be.transformOrigin.variable,o),{data:{transformOrigin:o}}}},Rg={name:"rects",fn({rects:e}){return{data:e}}},Sg=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};const{x:n,y:o}=r.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:n!=null?`${n}px`:"",top:o!=null?`${o}px`:"",[i]:`calc(100% + ${Be.arrowOffset.reference})`}),{}}}};function wg(e){const[t,r]=e.split("-");return{side:t,align:r,hasAlign:r!=null}}function xg(e){return e.split("-")[0]}var kg={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function Ti(e,t){const r=e.devicePixelRatio||1;return Math.round(t*r)/r}function ea(e){return lf(e.boundary)}function Ng(e,t){if(e)return bg({element:e,padding:t.arrowPadding})}function Ag(e,t){if(!af(t.offset??t.gutter))return pg(({placement:r})=>{const n=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,i=typeof o=="number"?o+n:o??n,{hasAlign:s}=wg(r),a=s?void 0:t.shift,d=t.offset?.crossAxis??a;return Fo({crossAxis:d,mainAxis:i,alignmentAxis:t.shift})})}function Lg(e){if(e.flip)return hg({boundary:ea(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function Dg(e){if(!(!e.slide&&!e.overlap))return mg({boundary:ea(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Eg()})}function Fg(e){return vg({padding:e.overflowPadding,apply({elements:t,rects:r,availableHeight:n,availableWidth:o}){const i=t.floating,s=Math.round(r.reference.width);o=Math.floor(o),n=Math.floor(n),i.style.setProperty("--reference-width",`${s}px`),i.style.setProperty("--available-width",`${o}px`),i.style.setProperty("--available-height",`${n}px`)}})}function Mg(e){if(e.hideWhenDetached)return yg({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function _g(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function Vg(e,t,r={}){const n=Tg(e,r.getAnchorRect);if(!t||!n)return;const o=Object.assign({},kg,r),i=t.querySelector("[data-part=arrow]"),s=[Ag(i,o),Lg(o),Dg(o),Ng(i,o),Sg(i),Ig,Fg(o),Mg(o),Rg],{placement:a,strategy:d,onComplete:l,onPositioned:g}=o,f=async()=>{if(!n||!t)return;const m=await Pg(n,t,{placement:a,middleware:s,strategy:d});l?.(m),g?.({placed:!0});const T=ee(t),E=Ti(T,m.x),C=Ti(T,m.y);t.style.setProperty("--x",`${E}px`),t.style.setProperty("--y",`${C}px`),o.hideWhenDetached&&(m.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const P=t.firstElementChild;if(P){const h=ln(P);t.style.setProperty("--z-index",h.zIndex)}},c=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:f}),g?.({placed:!0})):await f()},u=_g(o.listeners),p=o.listeners?gg(n,t,c,u):df;return c(),()=>{p?.(),g?.({placed:!1})}}function Ge(e,t,r={}){const{defer:n,...o}=r,i=n?H:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,d=typeof t=="function"?t():t;s.push(Vg(a,d,o))})),()=>{s.forEach(a=>a?.())}}var $g={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function pr(e={}){const{placement:t,sameWidth:r,fitViewport:n,strategy:o="absolute"}=e;return{arrow:{position:"absolute",width:Be.arrowSize.reference,height:Be.arrowSize.reference,[Be.arrowSizeHalf.variable]:`calc(${Be.arrowSize.reference} / 2)`,[Be.arrowOffset.variable]:`calc(${Be.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?$g[t.split("-")[0]]:void 0,background:Be.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:o,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}const Gg=Symbol(),Ci=Object.getPrototypeOf,eo=new WeakMap,jg=e=>e&&(eo.has(e)?eo.get(e):Ci(e)===Object.prototype||Ci(e)===Array.prototype),Bg=e=>jg(e)&&e[Gg]||null,Ii=(e,t=!0)=>{eo.set(e,t)};function Hg(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function ta(e,t){const r=Hg();return r?(r[e]||(r[e]=t()),r[e]):t()}var $r=ta("__zag__refSet",()=>new WeakSet),Wg=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Ug=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Kg=e=>typeof e=="object"&&e!==null&&"nodeType"in e&&typeof e.nodeName=="string",Yg=e=>Wg(e)||Ug(e)||Kg(e),to=e=>e!==null&&typeof e=="object",Ri=e=>to(e)&&!$r.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!Yg(e)&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer)&&!(e instanceof Promise),Zr=()=>process.env.NODE_ENV!=="production",ct=ta("__zag__proxyStateMap",()=>new WeakMap),qg=(e=Object.is,t=(a,d)=>new Proxy(a,d),r=new WeakMap,n=(a,d)=>{const l=r.get(a);if(l?.[0]===d)return l[1];const g=Array.isArray(a)?[]:Object.create(Object.getPrototypeOf(a));return Ii(g,!0),r.set(a,[d,g]),Reflect.ownKeys(a).forEach(f=>{const c=Reflect.get(a,f);$r.has(c)?(Ii(c,!1),g[f]=c):ct.has(c)?g[f]=Jg(c):g[f]=c}),Object.freeze(g)},o=new WeakMap,i=[1,1],s=a=>{if(!to(a))throw new Error("object required");const d=o.get(a);if(d)return d;let l=i[0];const g=new Set,f=(I,O=++i[0])=>{l!==O&&(l=O,g.forEach(x=>x(I,O)))};let c=i[1];const u=(I=++i[1])=>(c!==I&&!g.size&&(c=I,m.forEach(([O])=>{const x=O[1](I);x>l&&(l=x)})),l),p=I=>(O,x)=>{const A=[...O];A[1]=[I,...A[1]],f(A,x)},m=new Map,T=(I,O)=>{if(Zr()&&m.has(I))throw new Error("prop listener already exists");if(g.size){const x=O[3](p(I));m.set(I,[O,x])}else m.set(I,[O])},E=I=>{const O=m.get(I);O&&(m.delete(I),O[1]?.())},C=I=>(g.add(I),g.size===1&&m.forEach(([x,A],w)=>{if(Zr()&&A)throw new Error("remove already exists");const D=x[3](p(w));m.set(w,[x,D])}),()=>{g.delete(I),g.size===0&&m.forEach(([x,A],w)=>{A&&(A(),m.set(w,[x]))})}),P=Array.isArray(a)?[]:Object.create(Object.getPrototypeOf(a)),v=t(P,{deleteProperty(I,O){const x=Reflect.get(I,O);E(O);const A=Reflect.deleteProperty(I,O);return A&&f(["delete",[O],x]),A},set(I,O,x,A){const w=Reflect.has(I,O),D=Reflect.get(I,O,A);if(w&&(e(D,x)||o.has(x)&&e(D,o.get(x))))return!0;E(O),to(x)&&(x=Bg(x)||x);let V=x;if(!Object.getOwnPropertyDescriptor(I,O)?.set){!ct.has(x)&&Ri(x)&&(V=ra(x));const M=!$r.has(V)&&ct.get(V);M&&T(O,M)}return Reflect.set(I,O,V,A),f(["set",[O],x,D]),!0}});o.set(a,v);const S=[P,u,n,C];return ct.set(v,S),Reflect.ownKeys(a).forEach(I=>{const O=Object.getOwnPropertyDescriptor(a,I);O.get||O.set?Object.defineProperty(P,I,O):v[I]=a[I]}),v})=>[s,ct,$r,e,t,Ri,r,n,o,i],[zg]=qg();function ra(e={}){return zg(e)}function Xg(e,t,r){const n=ct.get(e);Zr()&&!n&&console.warn("Please use proxy object");let o;const i=[],s=n[3];let a=!1;const l=s(g=>{i.push(g),o||(o=Promise.resolve().then(()=>{o=void 0,a&&t(i.splice(0))}))});return a=!0,()=>{a=!1,l()}}function Jg(e){const t=ct.get(e);Zr()&&!t&&console.warn("Please use proxy object");const[r,n,o]=t;return o(r,n())}var na=W("tooltip").parts("trigger","arrow","arrowTip","positioner","content"),Gt=na.build(),oa=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,Zg=e=>e.ids?.content??`tooltip:${e.id}:content`,Qg=e=>e.ids?.arrow??`tooltip:${e.id}:arrow`,ia=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,Mn=e=>e.getById(oa(e)),Si=e=>e.getById(ia(e)),He=ra({id:null});function ep(e,t){const{state:r,context:n,send:o,scope:i,prop:s,event:a}=e,d=s("id"),l=!!s("aria-label"),g=r.matches("open","closing"),f=oa(i),c=Zg(i),u=s("disabled"),p=pr({...s("positioning"),placement:n.get("currentPlacement")});return{open:g,setOpen(m){r.matches("open","closing")!==m&&o({type:m?"open":"close"})},reposition(m={}){o({type:"positioning.set",options:m})},getTriggerProps(){return t.button({...Gt.trigger.attrs,id:f,dir:s("dir"),"data-expanded":L(g),"data-state":g?"open":"closed","aria-describedby":g?c:void 0,onClick(m){m.defaultPrevented||u||s("closeOnClick")&&o({type:"close",src:"trigger.click"})},onFocus(m){queueMicrotask(()=>{m.defaultPrevented||u||a.src!=="trigger.pointerdown"&&wt()&&o({type:"open",src:"trigger.focus"})})},onBlur(m){m.defaultPrevented||u||d===He.id&&o({type:"close",src:"trigger.blur"})},onPointerDown(m){m.defaultPrevented||u||s("closeOnPointerDown")&&d===He.id&&o({type:"close",src:"trigger.pointerdown"})},onPointerMove(m){m.defaultPrevented||u||m.pointerType!=="touch"&&o({type:"pointer.move"})},onPointerLeave(){u||o({type:"pointer.leave"})},onPointerCancel(){u||o({type:"pointer.leave"})}})},getArrowProps(){return t.element({id:Qg(i),...Gt.arrow.attrs,dir:s("dir"),style:p.arrow})},getArrowTipProps(){return t.element({...Gt.arrowTip.attrs,dir:s("dir"),style:p.arrowTip})},getPositionerProps(){return t.element({id:ia(i),...Gt.positioner.attrs,dir:s("dir"),style:p.floating})},getContentProps(){return t.element({...Gt.content.attrs,dir:s("dir"),hidden:!g,"data-state":g?"open":"closed",role:l?void 0:"tooltip",id:l?void 0:c,"data-placement":n.get("currentPlacement"),onPointerEnter(){o({type:"content.pointer.move"})},onPointerLeave(){o({type:"content.pointer.leave"})},style:{pointerEvents:s("interactive")?"auto":"none"}})}}}var{and:tp,not:wi}=nt(),rp={initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"closed",props({props:e}){return{id:"x",openDelay:1e3,closeDelay:500,closeOnPointerDown:!0,closeOnEscape:!0,interactive:!1,closeOnScroll:!0,closeOnClick:!0,disabled:!1,...e,positioning:{placement:"bottom",...e.positioning}}},effects:["trackFocusVisible","trackStore"],context:({bindable:e})=>({currentPlacement:e(()=>({defaultValue:void 0})),hasPointerMoveOpened:e(()=>({defaultValue:!1}))}),watch({track:e,action:t,prop:r}){e([()=>r("disabled")],()=>{t(["closeIfDisabled"])}),e([()=>r("open")],()=>{t(["toggleVisibility"])})},states:{closed:{entry:["clearGlobalId"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"pointer.leave":{actions:["clearPointerMoveOpened"]},"pointer.move":[{guard:tp("noVisibleTooltip",wi("hasPointerMoveOpened")),target:"opening"},{guard:wi("hasPointerMoveOpened"),target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}]}},opening:{effects:["trackScroll","trackPointerlockChange","waitForOpenDelay"],on:{"after.openDelay":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"controlled.open":{target:"open"},"controlled.close":{target:"closed"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"pointer.leave":[{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose","toggleVisibility"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],close:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{effects:["trackEscapeKey","trackScroll","trackPointerlockChange","trackPositioning"],entry:["setGlobalId"],on:{"controlled.close":{target:"closed"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.leave":[{guard:"isVisible",target:"closing",actions:["clearPointerMoveOpened"]},{guard:"isOpenControlled",actions:["clearPointerMoveOpened","invokeOnClose"]},{target:"closed",actions:["clearPointerMoveOpened","invokeOnClose"]}],"content.pointer.leave":{guard:"isInteractive",target:"closing"},"positioning.set":{actions:["reposition"]}}},closing:{effects:["trackPositioning","waitForCloseDelay"],on:{"after.closeDelay":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"controlled.close":{target:"closed"},"controlled.open":{target:"open"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"pointer.move":[{guard:"isOpenControlled",actions:["setPointerMoveOpened","invokeOnOpen","toggleVisibility"]},{target:"open",actions:["setPointerMoveOpened","invokeOnOpen"]}],"content.pointer.move":{guard:"isInteractive",target:"open"},"positioning.set":{actions:["reposition"]}}}},implementations:{guards:{noVisibleTooltip:()=>He.id===null,isVisible:({prop:e})=>e("id")===He.id,isInteractive:({prop:e})=>!!e("interactive"),hasPointerMoveOpened:({context:e})=>e.get("hasPointerMoveOpened"),isOpenControlled:({prop:e})=>e("open")!==void 0},actions:{setGlobalId:({prop:e})=>{He.id=e("id")},clearGlobalId:({prop:e})=>{e("id")===He.id&&(He.id=null)},invokeOnOpen:({prop:e})=>{e("onOpenChange")?.({open:!0})},invokeOnClose:({prop:e})=>{e("onOpenChange")?.({open:!1})},closeIfDisabled:({prop:e,send:t})=>{e("disabled")&&t({type:"close",src:"disabled.change"})},reposition:({context:e,event:t,prop:r,scope:n})=>{if(t.type!=="positioning.set")return;const o=()=>Si(n);return Ge(Mn(n),o,{...r("positioning"),...t.options,defer:!0,listeners:!1,onComplete(i){e.set("currentPlacement",i.placement)}})},toggleVisibility:({prop:e,event:t,send:r})=>{queueMicrotask(()=>{r({type:e("open")?"controlled.open":"controlled.close",previousEvent:t})})},setPointerMoveOpened:({context:e})=>{e.set("hasPointerMoveOpened",!0)},clearPointerMoveOpened:({context:e})=>{e.set("hasPointerMoveOpened",!1)}},effects:{trackFocusVisible:({scope:e})=>vn({root:e.getRootNode?.()}),trackPositioning:({context:e,prop:t,scope:r})=>{e.get("currentPlacement")||e.set("currentPlacement",t("positioning").placement);const n=()=>Si(r);return Ge(Mn(r),n,{...t("positioning"),defer:!0,onComplete(o){e.set("currentPlacement",o.placement)}})},trackPointerlockChange:({send:e,scope:t})=>{const r=t.getDoc();return J(r,"pointerlockchange",()=>e({type:"close",src:"pointerlock:change"}),!1)},trackScroll:({send:e,prop:t,scope:r})=>{if(!t("closeOnScroll"))return;const n=Mn(r);if(!n)return;const i=Is(n).map(s=>J(s,"scroll",()=>{e({type:"close",src:"scroll"})},{passive:!0,capture:!0}));return()=>{i.forEach(s=>s?.())}},trackStore:({prop:e,send:t})=>{let r;return queueMicrotask(()=>{r=Xg(He,()=>{He.id!==e("id")&&t({type:"close",src:"id.change"})})}),()=>r?.()},trackEscapeKey:({send:e,prop:t})=>t("closeOnEscape")?J(document,"keydown",n=>{ys(n)||n.key==="Escape"&&(n.stopPropagation(),e({type:"close",src:"keydown.escape"}))},!0):void 0,waitForOpenDelay:({send:e,prop:t})=>{const r=setTimeout(()=>{e({type:"after.openDelay"})},t("openDelay"));return()=>clearTimeout(r)},waitForCloseDelay:({send:e,prop:t})=>{const r=setTimeout(()=>{e({type:"after.closeDelay"})},t("closeDelay"));return()=>clearTimeout(r)}}}};_()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);const[uy,Fe]=U({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),np=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(rp,o);return ep(i,Le)},op=e=>{const[t,{children:r,...n}]=Re(e),o=np(n),i=me(R({present:o.open},t));return b.jsx(Ms,{value:o,children:b.jsx(be,{value:i,children:r})})},ip=e=>{const[t,{value:r,children:n}]=Re(e),o=me(R({present:r.open},t));return b.jsx(Ms,{value:r,children:b.jsx(be,{value:o,children:n})})},sa=y.forwardRef((e,t)=>{const r=fr(),n=R(r.getTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});sa.displayName="TooltipTrigger";const[aa,ca]=U({name:"AvatarContext",hookName:"useAvatarContext",providerName:"<AvatarProvider />"}),la=y.forwardRef((e,t)=>{const r=ca(),n=R(r.getFallbackProps(),e);return b.jsx(N.span,{...n,ref:t})});la.displayName="AvatarFallback";const ua=y.forwardRef((e,t)=>{const r=ca(),n=R(r.getImageProps(),e);return b.jsx(N.img,{...n,ref:t})});ua.displayName="AvatarImage";var da=W("avatar").parts("root","image","fallback"),_n=da.build(),fa=e=>e.ids?.root??`avatar:${e.id}`,ga=e=>e.ids?.image??`avatar:${e.id}:image`,sp=e=>e.ids?.fallback??`avatar:${e.id}:fallback`,ap=e=>e.getById(fa(e)),ro=e=>e.getById(ga(e));function cp(e,t){const{state:r,send:n,prop:o,scope:i}=e,s=r.matches("loaded");return{loaded:s,setSrc(a){ro(i)?.setAttribute("src",a)},setLoaded(){n({type:"img.loaded",src:"api"})},setError(){n({type:"img.error",src:"api"})},getRootProps(){return t.element({..._n.root.attrs,dir:o("dir"),id:fa(i)})},getImageProps(){return t.img({..._n.image.attrs,hidden:!s,dir:o("dir"),id:ga(i),"data-state":s?"visible":"hidden",onLoad(){n({type:"img.loaded",src:"element"})},onError(){n({type:"img.error",src:"element"})}})},getFallbackProps(){return t.element({..._n.fallback.attrs,dir:o("dir"),id:sp(i),hidden:s,"data-state":s?"hidden":"visible"})}}}var lp={initialState(){return"loading"},effects:["trackImageRemoval","trackSrcChange"],on:{"src.change":{target:"loading"},"img.unmount":{target:"error"}},states:{loading:{entry:["checkImageStatus"],on:{"img.loaded":{target:"loaded",actions:["invokeOnLoad"]},"img.error":{target:"error",actions:["invokeOnError"]}}},error:{on:{"img.loaded":{target:"loaded",actions:["invokeOnLoad"]}}},loaded:{on:{"img.error":{target:"error",actions:["invokeOnError"]}}}},implementations:{actions:{invokeOnLoad({prop:e}){e("onStatusChange")?.({status:"loaded"})},invokeOnError({prop:e}){e("onStatusChange")?.({status:"error"})},checkImageStatus({send:e,scope:t}){const r=ro(t);if(!r?.complete)return;const n=up(r)?"img.loaded":"img.error";e({type:n,src:"ssr"})}},effects:{trackImageRemoval({send:e,scope:t}){const r=ap(t);return Rd(r,{callback(n){Array.from(n[0].removedNodes).find(s=>s.nodeType===Node.ELEMENT_NODE&&s.matches("[data-scope=avatar][data-part=image]"))&&e({type:"img.unmount"})}})},trackSrcChange({send:e,scope:t}){const r=ro(t);return ko(r,{attributes:["src","srcset"],callback(){e({type:"src.change"})}})}}}};function up(e){return e.complete&&e.naturalWidth!==0&&e.naturalHeight!==0}_()(["dir","id","ids","onStatusChange","getRootNode"]);const dp=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(lp,o);return cp(i,Le)},pa=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["id","ids","onStatusChange"]),o=dp(r),i=R(o.getRootProps(),n);return b.jsx(aa,{value:o,children:b.jsx(N.div,{...i,ref:t})})});pa.displayName="AvatarRoot";const ma=y.forwardRef((e,t)=>{const[{value:r},n]=Y()(e,["value"]),o=R(r.getRootProps(),n);return b.jsx(aa,{value:r,children:b.jsx(N.div,{...o,ref:t})})});ma.displayName="AvatarRootProvider";var fp="",gp=fp.split(","),pp="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect",mp=pp.split(",").concat(gp),hp=new Map(mp.map(e=>[e,!0]));function vp(e){const t=Object.create(null);return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var yp=/&|@/,bp=vp(e=>hp.has(e)||e.startsWith("--")||yp.test(e)),Vn,xi;function Ep(){if(xi)return Vn;xi=1,Vn=i,i.default=i,i.stable=l,i.stableStringify=l;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(c,u,p,m){typeof m>"u"&&(m=o()),a(c,"",0,[],void 0,0,m);var T;try{n.length===0?T=JSON.stringify(c,u,p):T=JSON.stringify(c,f(u),p)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var E=r.pop();E.length===4?Object.defineProperty(E[0],E[1],E[3]):E[0][E[1]]=E[2]}}return T}function s(c,u,p,m){var T=Object.getOwnPropertyDescriptor(m,p);T.get!==void 0?T.configurable?(Object.defineProperty(m,p,{value:c}),r.push([m,p,u,T])):n.push([u,p,c]):(m[p]=c,r.push([m,p,u]))}function a(c,u,p,m,T,E,C){E+=1;var P;if(typeof c=="object"&&c!==null){for(P=0;P<m.length;P++)if(m[P]===c){s(t,c,u,T);return}if(typeof C.depthLimit<"u"&&E>C.depthLimit){s(e,c,u,T);return}if(typeof C.edgesLimit<"u"&&p+1>C.edgesLimit){s(e,c,u,T);return}if(m.push(c),Array.isArray(c))for(P=0;P<c.length;P++)a(c[P],P,P,m,c,E,C);else{var h=Object.keys(c);for(P=0;P<h.length;P++){var v=h[P];a(c[v],v,P,m,c,E,C)}}m.pop()}}function d(c,u){return c<u?-1:c>u?1:0}function l(c,u,p,m){typeof m>"u"&&(m=o());var T=g(c,"",0,[],void 0,0,m)||c,E;try{n.length===0?E=JSON.stringify(T,u,p):E=JSON.stringify(T,f(u),p)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var C=r.pop();C.length===4?Object.defineProperty(C[0],C[1],C[3]):C[0][C[1]]=C[2]}}return E}function g(c,u,p,m,T,E,C){E+=1;var P;if(typeof c=="object"&&c!==null){for(P=0;P<m.length;P++)if(m[P]===c){s(t,c,u,T);return}try{if(typeof c.toJSON=="function")return}catch{return}if(typeof C.depthLimit<"u"&&E>C.depthLimit){s(e,c,u,T);return}if(typeof C.edgesLimit<"u"&&p+1>C.edgesLimit){s(e,c,u,T);return}if(m.push(c),Array.isArray(c))for(P=0;P<c.length;P++)g(c[P],P,P,m,c,E,C);else{var h={},v=Object.keys(c).sort(d);for(P=0;P<v.length;P++){var S=v[P];g(c[S],S,P,m,c,E,C),h[S]=c[S]}if(typeof T<"u")r.push([T,u,c]),T[u]=h;else return h}m.pop()}}function f(c){return c=typeof c<"u"?c:function(u,p){return p},function(u,p){if(n.length>0)for(var m=0;m<n.length;m++){var T=n[m];if(T[1]===u&&T[0]===p){p=T[2],n.splice(m,1);break}}return c.call(this,u,p)}}return Vn}var Pp=Ep();const Op=gu(Pp),[ha,ie]=U({name:"MenuContext",hookName:"useMenuContext",providerName:"<MenuProvider />",strict:!1}),va=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getArrowProps(),e);return b.jsx(N.div,{...n,ref:t})});va.displayName="MenuArrow";const ya=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getArrowTipProps(),e);return b.jsx(N.div,{...n,ref:t})});ya.displayName="MenuArrowTip";const[Ho,dy]=U({name:"MenuItemContext",hookName:"useMenuItemContext",providerName:"<MenuItemProvider />"}),[ba,Ea]=U({name:"MenuOptionItemPropsContext",hookName:"useMenuOptionItemPropsContext",providerName:"<MenuOptionItemPropsProvider />"}),Pa=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["checked","closeOnSelect","disabled","onCheckedChange","value","valueText"]),o={...r,type:"checkbox"},i=ie(),s=R(i.getOptionItemProps(o),n),a=i.getOptionItemState(o);return b.jsx(ba,{value:o,children:b.jsx(Ho,{value:a,children:b.jsx(N.div,{...s,ref:t})})})});Pa.displayName="MenuCheckboxItem";const Oa=y.forwardRef((e,t)=>{const r=ie(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});Oa.displayName="MenuContent";const Ta=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getContextTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});Ta.displayName="MenuContextTrigger";const Ca=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getIndicatorProps(),e);return b.jsx(N.div,{...n,ref:t})});Ca.displayName="MenuIndicator";const Ia=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["closeOnSelect","disabled","value","valueText","onSelect"]),o=ie(),i=R(o.getItemProps(r),n),s=o.getItemState(r);return y.useEffect(()=>o.addItemListener({id:s.id,onSelect:r.onSelect}),[s.id,r.onSelect]),b.jsx(Ho,{value:s,children:b.jsx(N.div,{...i,ref:t})})});Ia.displayName="MenuItem";const[Ra,Sa]=U({name:"MenuItemGroupContext",hookName:"useMenuItemGroupContext",providerName:"<MenuItemGroupProvider />"}),wa=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["id"]),o=ie(),s={id:y.useId(),...r},a=R(o.getItemGroupProps(s),n);return b.jsx(Ra,{value:s,children:b.jsx(N.div,{...a,ref:t})})});wa.displayName="MenuItemGroup";const xa=y.forwardRef((e,t)=>{const r=ie(),n=Sa(),o=R(r.getItemGroupLabelProps({htmlFor:n.id}),e);return b.jsx(N.div,{...o,ref:t})});xa.displayName="MenuItemGroupLabel";const ka=y.forwardRef((e,t)=>{const r=ie(),n=Ea(),o=R(r.getItemIndicatorProps(n),e);return b.jsx(N.div,{...o,ref:t})});ka.displayName="MenuItemIndicator";const Na=y.forwardRef((e,t)=>{const r=ie(),n=Ea(),o=R(r.getItemTextProps(n),e);return b.jsx(N.div,{...o,ref:t})});Na.displayName="MenuItemText";const Aa=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getPositionerProps(),e);return de().unmounted?null:b.jsx(N.div,{...n,ref:t})});Aa.displayName="MenuPositioner";const La=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["closeOnSelect","disabled","value","valueText"]),o=ie(),i=Sa(),s={...r,checked:i.value===r.value,type:"radio",onCheckedChange:()=>i.onValueChange?.({value:r.value})},a=R(o.getOptionItemProps(s),n),d=o.getOptionItemState(s);return b.jsx(ba,{value:s,children:b.jsx(Ho,{value:d,children:b.jsx(N.div,{...a,ref:t})})})});La.displayName="MenuRadioItem";const Da=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["id","onValueChange","value"]),o=ie(),s={id:y.useId(),...r},a=R(o.getItemGroupProps({id:s.id}),n);return b.jsx(Ra,{value:s,children:b.jsx(N.div,{...a,ref:t})})});Da.displayName="MenuRadioItemGroup";const Fa=e=>{const t=y.useRef(e),r=y.useRef(!1);y.useEffect(()=>{t.current=e}),y.useEffect(()=>{r.current!==!0&&(r.current=!0,t.current())},[])};function Tp(e){const t={each(r){for(let n=0;n<e.frames?.length;n+=1){const o=e.frames[n];o&&r(o)}},addEventListener(r,n,o){return t.each(i=>{try{i.document.addEventListener(r,n,o)}catch{}}),()=>{try{t.removeEventListener(r,n,o)}catch{}}},removeEventListener(r,n,o){t.each(i=>{try{i.document.removeEventListener(r,n,o)}catch{}})}};return t}function Cp(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(r,n,o)=>{try{t?.addEventListener(r,n,o)}catch{}return()=>{try{t?.removeEventListener(r,n,o)}catch{}}},removeEventListener:(r,n,o)=>{try{t?.removeEventListener(r,n,o)}catch{}}}}var ki="pointerdown.outside",Ni="focus.outside";function Ip(e){for(const t of e)if(oe(t)&&Ze(t))return!0;return!1}var Ma=e=>"clientY"in e;function Rp(e,t){if(!Ma(t)||!e)return!1;const r=e.getBoundingClientRect();return r.width===0||r.height===0?!1:r.top<=t.clientY&&t.clientY<=r.top+r.height&&r.left<=t.clientX&&t.clientX<=r.left+r.width}function Sp(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function Ai(e,t){if(!t||!Ma(e))return!1;const r=t.scrollHeight>t.clientHeight,n=r&&e.clientX>t.offsetLeft+t.clientWidth,o=t.scrollWidth>t.clientWidth,i=o&&e.clientY>t.offsetTop+t.clientHeight,s={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(r?16:0),height:t.clientHeight+(o?16:0)},a={x:e.clientX,y:e.clientY};return Sp(s,a)?n||i:!1}function wp(e,t){const{exclude:r,onFocusOutside:n,onPointerDownOutside:o,onInteractOutside:i,defer:s}=t;if(!e)return;const a=pe(e),d=ee(e),l=Tp(d),g=Cp(d);function f(C,P){if(!oe(P)||!P.isConnected||Qe(e,P)||Rp(e,C))return!1;const h=a.querySelector(`[aria-controls="${e.id}"]`);if(h){const S=Ur(h);if(Ai(C,S))return!1}const v=Ur(e);return Ai(C,v)?!1:!r?.(P)}const c=new Set,u=St(e?.getRootNode());function p(C){function P(h){const v=s&&!ii()?H:O=>O(),S=h??C,I=S?.composedPath?.()??[S?.target];v(()=>{const O=u?I[0]:ne(C);if(!(!e||!f(C,O))){if(o||i){const x=Yn(o,i);e.addEventListener(ki,x,{once:!0})}Li(e,ki,{bubbles:!1,cancelable:!0,detail:{originalEvent:S,contextmenu:bs(S),focusable:Ip(I),target:O}})}})}C.pointerType==="touch"?(c.forEach(h=>h()),c.add(J(a,"click",P,{once:!0})),c.add(g.addEventListener("click",P,{once:!0})),c.add(l.addEventListener("click",P,{once:!0}))):P()}const m=new Set,T=setTimeout(()=>{m.add(J(a,"pointerdown",p,!0)),m.add(g.addEventListener("pointerdown",p,!0)),m.add(l.addEventListener("pointerdown",p,!0))},0);function E(C){(s?H:h=>h())(()=>{const h=ne(C);if(!(!e||!f(C,h))){if(n||i){const v=Yn(n,i);e.addEventListener(Ni,v,{once:!0})}Li(e,Ni,{bubbles:!1,cancelable:!0,detail:{originalEvent:C,contextmenu:!1,focusable:Ze(h),target:h}})}})}return ii()||(m.add(J(a,"focusin",E,!0)),m.add(g.addEventListener("focusin",E,!0)),m.add(l.addEventListener("focusin",E,!0))),()=>{clearTimeout(T),c.forEach(C=>C()),m.forEach(C=>C())}}function xp(e,t){const{defer:r}=t,n=r?H:i=>i(),o=[];return o.push(n(()=>{const i=typeof e=="function"?e():e;o.push(wp(i,t))})),()=>{o.forEach(i=>i?.())}}function Li(e,t,r){const n=e.ownerDocument.defaultView||window,o=new n.CustomEvent(t,r);return e.dispatchEvent(o)}function kp(e,t){const r=n=>{n.key==="Escape"&&(n.isComposing||t?.(n))};return J(pe(e),"keydown",r,{capture:!0})}var xe={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),r=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<r},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},isInNestedLayer(e,t){return this.getNestedLayers(e).some(r=>Qe(r.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>Qe(t,e))},add(e){const t=this.layers.push(e);e.node.style.setProperty("--layer-index",`${t}`)},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(n=>n.dismiss()),this.layers.splice(t,1),e.style.removeProperty("--layer-index"))},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e){this.layers[this.indexOf(e)]?.dismiss()},clear(){this.remove(this.layers[0].node)}},Di;function Fi(){xe.layers.forEach(({node:e})=>{e.style.pointerEvents=xe.isBelowPointerBlockingLayer(e)?"none":"auto"})}function Np(e){e.style.pointerEvents=""}function Ap(e,t){const r=pe(e),n=[];if(xe.hasPointerBlockingLayer()&&!r.body.hasAttribute("data-inert")&&(Di=document.body.style.pointerEvents,queueMicrotask(()=>{r.body.style.pointerEvents="none",r.body.setAttribute("data-inert","")})),t){const o=Bd(t,i=>{n.push(Kr(i,{pointerEvents:"auto"}))});n.push(o)}return()=>{xe.hasPointerBlockingLayer()||(queueMicrotask(()=>{r.body.style.pointerEvents=Di,r.body.removeAttribute("data-inert"),r.body.style.length===0&&r.body.removeAttribute("style")}),n.forEach(o=>o()))}}function Lp(e,t){const{warnOnMissingNode:r=!0}=t;if(r&&!e){qn("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:n,pointerBlocking:o,exclude:i,debug:s}=t,a={dismiss:n,node:e,pointerBlocking:o};xe.add(a),Fi();function d(u){const p=ne(u.detail.originalEvent);xe.isBelowPointerBlockingLayer(e)||xe.isInBranch(p)||(t.onPointerDownOutside?.(u),t.onInteractOutside?.(u),!u.defaultPrevented&&(s&&console.log("onPointerDownOutside:",u.detail.originalEvent),n?.()))}function l(u){const p=ne(u.detail.originalEvent);xe.isInBranch(p)||(t.onFocusOutside?.(u),t.onInteractOutside?.(u),!u.defaultPrevented&&(s&&console.log("onFocusOutside:",u.detail.originalEvent),n?.()))}function g(u){xe.isTopMost(e)&&(t.onEscapeKeyDown?.(u),!u.defaultPrevented&&n&&(u.preventDefault(),n()))}function f(u){if(!e)return!1;const p=typeof i=="function"?i():i,m=Array.isArray(p)?p:[p],T=t.persistentElements?.map(E=>E()).filter(oe);return T&&m.push(...T),m.some(E=>Qe(E,u))||xe.isInNestedLayer(e,u)}const c=[o?Ap(e,t.persistentElements):void 0,kp(e,g),xp(e,{exclude:f,onFocusOutside:l,onPointerDownOutside:d,defer:t.defer})];return()=>{xe.remove(e),Fi(),Np(e),c.forEach(u=>u?.())}}function mr(e,t){const{defer:r}=t,n=r?H:i=>i(),o=[];return o.push(n(()=>{const i=Tt(e)?e():e;o.push(Lp(i,t))})),()=>{o.forEach(i=>i?.())}}var Xt=(e,t)=>({x:e,y:t});function Dp(e){const{x:t,y:r,width:n,height:o}=e,i=t+n/2,s=r+o/2;return{x:t,y:r,width:n,height:o,minX:t,minY:r,maxX:t+n,maxY:r+o,midX:i,midY:s,center:Xt(i,s)}}function Fp(e){const t=Xt(e.minX,e.minY),r=Xt(e.maxX,e.minY),n=Xt(e.maxX,e.maxY),o=Xt(e.minX,e.maxY);return{top:t,right:r,bottom:n,left:o}}function Mp(e,t){const r=Dp(e),{top:n,right:o,left:i,bottom:s}=Fp(r),[a]=t.split("-");return{top:[i,n,o,s],right:[n,o,s,i],bottom:[n,i,s,o],left:[o,n,i,s]}[a]}function _p(e,t){const{x:r,y:n}=t;let o=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const a=e[i].x,d=e[i].y,l=e[s].x,g=e[s].y;d>n!=g>n&&r<(l-a)*(n-d)/(g-d)+a&&(o=!o)}return o}var _a=W("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),le=_a.build(),Qr=e=>e.ids?.trigger??`menu:${e.id}:trigger`,Va=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,tr=e=>e.ids?.content??`menu:${e.id}:content`,Vp=e=>e.ids?.arrow??`menu:${e.id}:arrow`,$a=e=>e.ids?.positioner??`menu:${e.id}:popper`,$p=(e,t)=>e.ids?.group?.(t)??`menu:${e.id}:group:${t}`,cr=(e,t)=>`${e.id}/${t}`,it=e=>e?.dataset.value??null,Mi=(e,t)=>e.ids?.groupLabel?.(t)??`menu:${e.id}:group-label:${t}`,ze=e=>e.getById(tr(e)),_i=e=>e.getById($a(e)),Sr=e=>e.getById(Qr(e)),Ga=(e,t)=>t?e.getById(cr(e,t)):null,Vi=e=>e.getById(Va(e)),hr=e=>{const r=`[role^="menuitem"][data-ownedby=${CSS.escape(tr(e))}]:not([data-disabled])`;return Ao(ze(e),r)},Gp=e=>ks(hr(e)),jp=e=>Ns(hr(e)),Wo=(e,t)=>t?e.id===t||e.dataset.value===t:!1,Bp=(e,t)=>{const r=hr(e),n=r.findIndex(o=>Wo(o,t.value));return ef(r,n,{loop:t.loop??t.loopFocus})},Hp=(e,t)=>{const r=hr(e),n=r.findIndex(o=>Wo(o,t.value));return rf(r,n,{loop:t.loop??t.loopFocus})},Wp=(e,t)=>{const r=hr(e),n=r.find(o=>Wo(o,t.value));return ir(r,{state:t.typeaheadState,key:t.key,activeId:n?.id??null})},wr=e=>oe(e)&&(e.dataset.disabled===""||e.hasAttribute("disabled")),Up=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),no="menu:select";function Kp(e,t){if(!e)return;const r=ee(e),n=new r.CustomEvent(no,{detail:{value:t}});e.dispatchEvent(n)}function Yp(e,t){const{context:r,send:n,state:o,computed:i,prop:s,scope:a}=e,d=o.hasTag("open"),l=i("isSubmenu"),g=i("isTypingAhead"),f=s("composite"),c=r.get("currentPlacement"),u=r.get("anchorPoint"),p=r.get("highlightedValue"),m=pr({...s("positioning"),placement:u?"bottom":c});function T(h){return{id:cr(a,h.value),disabled:!!h.disabled,highlighted:p===h.value}}function E(h){const v=h.valueText??h.value;return{...h,id:h.value,valueText:v}}function C(h){return{...T(E(h)),checked:!!h.checked}}function P(h){const{closeOnSelect:v,valueText:S,value:I}=h,O=T(h),x=cr(a,I);return t.element({...le.item.attrs,id:x,role:"menuitem","aria-disabled":Oo(O.disabled),"data-disabled":L(O.disabled),"data-ownedby":tr(a),"data-highlighted":L(O.highlighted),"data-value":I,"data-valuetext":S,onDragStart(A){A.currentTarget.matches("a[href]")&&A.preventDefault()},onPointerMove(A){if(O.disabled||A.pointerType!=="mouse")return;const w=A.currentTarget;O.highlighted||n({type:"ITEM_POINTERMOVE",id:x,target:w,closeOnSelect:v})},onPointerLeave(A){if(O.disabled||A.pointerType!=="mouse"||!e.event.previous()?.type.includes("POINTER"))return;const D=A.currentTarget;n({type:"ITEM_POINTERLEAVE",id:x,target:D,closeOnSelect:v})},onPointerDown(A){if(O.disabled)return;const w=A.currentTarget;n({type:"ITEM_POINTERDOWN",target:w,id:x,closeOnSelect:v})},onClick(A){if(ai(A)||si(A)||O.disabled)return;const w=A.currentTarget;n({type:"ITEM_CLICK",target:w,id:x,closeOnSelect:v})}})}return{highlightedValue:p,open:d,setOpen(h){o.hasTag("open")!==h&&n({type:h?"OPEN":"CLOSE"})},setHighlightedValue(h){n({type:"HIGHLIGHTED.SET",value:h})},setParent(h){n({type:"PARENT.SET",value:h,id:h.prop("id")})},setChild(h){n({type:"CHILD.SET",value:h,id:h.prop("id")})},reposition(h={}){n({type:"POSITIONING.SET",options:h})},addItemListener(h){const v=a.getById(h.id);if(!v)return;const S=()=>h.onSelect?.();return v.addEventListener(no,S),()=>v.removeEventListener(no,S)},getContextTriggerProps(){return t.element({...le.contextTrigger.attrs,dir:s("dir"),id:Va(a),onPointerDown(h){if(h.pointerType==="mouse")return;const v=zt(h);n({type:"CONTEXT_MENU_START",point:v})},onPointerCancel(h){h.pointerType!=="mouse"&&n({type:"CONTEXT_MENU_CANCEL"})},onPointerMove(h){h.pointerType!=="mouse"&&n({type:"CONTEXT_MENU_CANCEL"})},onPointerUp(h){h.pointerType!=="mouse"&&n({type:"CONTEXT_MENU_CANCEL"})},onContextMenu(h){const v=zt(h);n({type:"CONTEXT_MENU",point:v}),h.preventDefault()},style:{WebkitTouchCallout:"none",WebkitUserSelect:"none",userSelect:"none"}})},getTriggerItemProps(h){const v=h.getTriggerProps();return R(P({value:v.id}),v)},getTriggerProps(){return t.button({...l?le.triggerItem.attrs:le.trigger.attrs,"data-placement":r.get("currentPlacement"),type:"button",dir:s("dir"),id:Qr(a),"data-uid":s("id"),"aria-haspopup":f?"menu":"dialog","aria-controls":tr(a),"aria-expanded":d||void 0,"data-state":d?"open":"closed",onPointerMove(h){if(h.pointerType!=="mouse"||wr(h.currentTarget)||!l)return;const S=zt(h);n({type:"TRIGGER_POINTERMOVE",target:h.currentTarget,point:S})},onPointerLeave(h){if(wr(h.currentTarget)||h.pointerType!=="mouse"||!l)return;const v=zt(h);n({type:"TRIGGER_POINTERLEAVE",target:h.currentTarget,point:v})},onPointerDown(h){wr(h.currentTarget)||bs(h)||h.preventDefault()},onClick(h){h.defaultPrevented||wr(h.currentTarget)||n({type:"TRIGGER_CLICK",target:h.currentTarget})},onBlur(){n({type:"TRIGGER_BLUR"})},onFocus(){n({type:"TRIGGER_FOCUS"})},onKeyDown(h){if(h.defaultPrevented)return;const v={ArrowDown(){n({type:"ARROW_DOWN"})},ArrowUp(){n({type:"ARROW_UP"})},Enter(){n({type:"ARROW_DOWN",src:"enter"})},Space(){n({type:"ARROW_DOWN",src:"space"})}},S=or(h,{orientation:"vertical",dir:s("dir")}),I=v[S];I&&(h.preventDefault(),I(h))}})},getIndicatorProps(){return t.element({...le.indicator.attrs,dir:s("dir"),"data-state":d?"open":"closed"})},getPositionerProps(){return t.element({...le.positioner.attrs,dir:s("dir"),id:$a(a),style:m.floating})},getArrowProps(){return t.element({id:Vp(a),...le.arrow.attrs,dir:s("dir"),style:m.arrow})},getArrowTipProps(){return t.element({...le.arrowTip.attrs,dir:s("dir"),style:m.arrowTip})},getContentProps(){return t.element({...le.content.attrs,id:tr(a),"aria-label":s("aria-label"),hidden:!d,"data-state":d?"open":"closed",role:f?"menu":"dialog",tabIndex:0,dir:s("dir"),"aria-activedescendant":i("highlightedId")||void 0,"aria-labelledby":Qr(a),"data-placement":c,onPointerEnter(h){h.pointerType==="mouse"&&n({type:"MENU_POINTERENTER"})},onKeyDown(h){if(h.defaultPrevented||!Io(h))return;const v=ne(h);if(!(v?.closest("[role=menu]")===h.currentTarget||v===h.currentTarget))return;if(h.key==="Tab"&&!Os(h)){h.preventDefault();return}const I=Ga(a,p),O={ArrowDown(){n({type:"ARROW_DOWN"})},ArrowUp(){n({type:"ARROW_UP"})},ArrowLeft(){n({type:"ARROW_LEFT"})},ArrowRight(){n({type:"ARROW_RIGHT"})},Enter(){n({type:"ENTER"}),gs(I)&&s("navigate")?.({value:p,node:I})},Space(w){g?n({type:"TYPEAHEAD",key:w.key}):O.Enter?.(w)},Home(){n({type:"HOME"})},End(){n({type:"END"})}},x=or(h,{dir:s("dir")}),A=O[x];if(A){A(h),h.stopPropagation(),h.preventDefault();return}s("typeahead")&&ld(h)&&(dd(h)||cn(v)||(n({type:"TYPEAHEAD",key:h.key}),h.preventDefault()))}})},getSeparatorProps(){return t.element({...le.separator.attrs,role:"separator",dir:s("dir"),"aria-orientation":"horizontal"})},getItemState:T,getItemProps:P,getOptionItemState:C,getOptionItemProps(h){const{type:v,disabled:S,onCheckedChange:I,closeOnSelect:O}=h,x=E(h),A=C(h);return{...P(x),...t.element({"data-type":v,...le.item.attrs,dir:s("dir"),"data-value":x.value,role:`menuitem${v}`,"aria-checked":!!A.checked,"data-state":A.checked?"checked":"unchecked",onClick(w){if(S||ai(w)||si(w))return;const D=w.currentTarget;n({type:"ITEM_CLICK",target:D,option:x,closeOnSelect:O}),I?.(!A.checked)}})}},getItemIndicatorProps(h){const v=C(h);return t.element({...le.itemIndicator.attrs,dir:s("dir"),"data-disabled":L(v.disabled),"data-highlighted":L(v.highlighted),"data-state":v.checked?"checked":"unchecked",hidden:!v.checked})},getItemTextProps(h){const v=C(h);return t.element({...le.itemText.attrs,dir:s("dir"),"data-disabled":L(v.disabled),"data-highlighted":L(v.highlighted),"data-state":v.checked?"checked":"unchecked"})},getItemGroupLabelProps(h){return t.element({...le.itemGroupLabel.attrs,id:Mi(a,h.htmlFor),dir:s("dir")})},getItemGroupProps(h){return t.element({id:$p(a,h.id),...le.itemGroup.attrs,dir:s("dir"),"aria-labelledby":Mi(a,h.id),role:"group"})}}}var{not:Pe,and:ht,or:qp}=nt(),zp={props({props:e}){return{closeOnSelect:!0,typeahead:!0,composite:!0,loopFocus:!1,navigate(t){Cs(t.node)},...e,positioning:{placement:"bottom-start",gutter:8,...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"idle"},context({bindable:e,prop:t}){return{suspendPointer:e(()=>({defaultValue:!1})),highlightedValue:e(()=>({defaultValue:t("defaultHighlightedValue")||null,value:t("highlightedValue"),onChange(r){t("onHighlightChange")?.({highlightedValue:r})}})),lastHighlightedValue:e(()=>({defaultValue:null})),currentPlacement:e(()=>({defaultValue:void 0})),intentPolygon:e(()=>({defaultValue:null})),anchorPoint:e(()=>({defaultValue:null,hash(r){return`x: ${r?.x}, y: ${r?.y}`}}))}},refs(){return{parent:null,children:{},typeaheadState:{...ir.defaultOptions},positioningOverride:{}}},computed:{isSubmenu:({refs:e})=>e.get("parent")!=null,isRtl:({prop:e})=>e("dir")==="rtl",isTypingAhead:({refs:e})=>e.get("typeaheadState").keysSoFar!=="",highlightedId:({context:e,scope:t,refs:r})=>Jp(r.get("children"),e.get("highlightedValue"),t)},watch({track:e,action:t,context:r,computed:n,prop:o}){e([()=>n("isSubmenu")],()=>{t(["setSubmenuPlacement"])}),e([()=>r.hash("anchorPoint")],()=>{t(["reposition"])}),e([()=>o("open")],()=>{t(["toggleVisibility"])})},on:{"PARENT.SET":{actions:["setParentMenu"]},"CHILD.SET":{actions:["setChildMenu"]},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],OPEN_AUTOFOCUS:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"HIGHLIGHTED.RESTORE":{actions:["restoreHighlightedItem"]},"HIGHLIGHTED.SET":{actions:["setHighlightedItem"]}},states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed"},CONTEXT_MENU_START:{target:"opening:contextmenu",actions:["setAnchorPoint"]},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TRIGGER_FOCUS:{guard:Pe("isSubmenu"),target:"closed"},TRIGGER_POINTERMOVE:{guard:"isSubmenu",target:"opening"}}},"opening:contextmenu":{tags:["closed"],effects:["waitForLongPress"],on:{"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed"},CONTEXT_MENU_CANCEL:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"LONG_PRESS.OPEN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}},opening:{tags:["closed"],effects:["waitForOpenDelay"],on:{"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed"},BLUR:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TRIGGER_POINTERLEAVE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"DELAY.OPEN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}},closing:{tags:["open"],effects:["trackPointerMove","trackInteractOutside","waitForCloseDelay"],on:{"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed",actions:["focusParentMenu","restoreParentHighlightedItem"]},MENU_POINTERENTER:{target:"open",actions:["clearIntentPolygon"]},POINTER_MOVED_AWAY_FROM_SUBMENU:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["focusParentMenu","restoreParentHighlightedItem"]}],"DELAY.CLOSE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["focusParentMenu","restoreParentHighlightedItem","invokeOnClose"]}]}},closed:{tags:["closed"],entry:["clearHighlightedItem","focusTrigger","resumePointer"],on:{"CONTROLLED.OPEN":[{guard:qp("isOpenAutoFocusEvent","isArrowDownEvent"),target:"open",actions:["highlightFirstItem"]},{guard:"isArrowUpEvent",target:"open",actions:["highlightLastItem"]},{target:"open"}],CONTEXT_MENU_START:{target:"opening:contextmenu",actions:["setAnchorPoint"]},CONTEXT_MENU:[{guard:"isOpenControlled",actions:["setAnchorPoint","invokeOnOpen"]},{target:"open",actions:["setAnchorPoint","invokeOnOpen"]}],TRIGGER_CLICK:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TRIGGER_POINTERMOVE:{guard:"isTriggerItem",target:"opening"},TRIGGER_BLUR:{target:"idle"},ARROW_DOWN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["highlightFirstItem","invokeOnOpen"]}],ARROW_UP:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["highlightLastItem","invokeOnOpen"]}]}},open:{tags:["open"],effects:["trackInteractOutside","trackPositioning","scrollToHighlightedItem"],entry:["focusMenu","resumePointer"],on:{"CONTROLLED.CLOSE":[{target:"closed",guard:"isArrowLeftEvent",actions:["focusParentMenu"]},{target:"closed"}],TRIGGER_CLICK:[{guard:ht(Pe("isTriggerItem"),"isOpenControlled"),actions:["invokeOnClose"]},{guard:Pe("isTriggerItem"),target:"closed",actions:["invokeOnClose"]}],CONTEXT_MENU:{actions:["setAnchorPoint","focusMenu"]},ARROW_UP:{actions:["highlightPrevItem","focusMenu"]},ARROW_DOWN:{actions:["highlightNextItem","focusMenu"]},ARROW_LEFT:[{guard:ht("isSubmenu","isOpenControlled"),actions:["invokeOnClose"]},{guard:"isSubmenu",target:"closed",actions:["focusParentMenu","invokeOnClose"]}],HOME:{actions:["highlightFirstItem","focusMenu"]},END:{actions:["highlightLastItem","focusMenu"]},ARROW_RIGHT:{guard:"isTriggerItemHighlighted",actions:["openSubmenu"]},ENTER:[{guard:"isTriggerItemHighlighted",actions:["openSubmenu"]},{actions:["clickHighlightedItem"]}],ITEM_POINTERMOVE:[{guard:Pe("isPointerSuspended"),actions:["setHighlightedItem","focusMenu"]},{actions:["setLastHighlightedItem"]}],ITEM_POINTERLEAVE:{guard:ht(Pe("isPointerSuspended"),Pe("isTriggerItem")),actions:["clearHighlightedItem"]},ITEM_CLICK:[{guard:ht(Pe("isTriggerItemHighlighted"),Pe("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:ht(Pe("isTriggerItemHighlighted"),Pe("isHighlightedItemEditable"),"closeOnSelect"),target:"closed",actions:["invokeOnSelect","setOptionState","closeRootMenu","invokeOnClose"]},{guard:ht(Pe("isTriggerItemHighlighted"),Pe("isHighlightedItemEditable")),actions:["invokeOnSelect","setOptionState"]},{actions:["setHighlightedItem"]}],TRIGGER_POINTERMOVE:{guard:"isTriggerItem",actions:["setIntentPolygon"]},TRIGGER_POINTERLEAVE:{target:"closing"},ITEM_POINTERDOWN:{actions:["setHighlightedItem"]},TYPEAHEAD:{actions:["highlightMatchedItem"]},FOCUS_MENU:{actions:["focusMenu"]},"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{closeOnSelect:({prop:e,event:t})=>!!(t?.closeOnSelect??e("closeOnSelect")),isTriggerItem:({event:e})=>Up(e.target),isTriggerItemHighlighted:({event:e,scope:t,computed:r})=>!!(e.target??t.getById(r("highlightedId")))?.hasAttribute("aria-controls"),isSubmenu:({computed:e})=>e("isSubmenu"),isPointerSuspended:({context:e})=>e.get("suspendPointer"),isHighlightedItemEditable:({scope:e,computed:t})=>cn(e.getById(t("highlightedId"))),isOpenControlled:({prop:e})=>e("open")!==void 0,isArrowLeftEvent:({event:e})=>e.previousEvent?.type==="ARROW_LEFT",isArrowUpEvent:({event:e})=>e.previousEvent?.type==="ARROW_UP",isArrowDownEvent:({event:e})=>e.previousEvent?.type==="ARROW_DOWN",isOpenAutoFocusEvent:({event:e})=>e.previousEvent?.type==="OPEN_AUTOFOCUS"},effects:{waitForOpenDelay({send:e}){const t=setTimeout(()=>{e({type:"DELAY.OPEN"})},100);return()=>clearTimeout(t)},waitForCloseDelay({send:e}){const t=setTimeout(()=>{e({type:"DELAY.CLOSE"})},300);return()=>clearTimeout(t)},waitForLongPress({send:e}){const t=setTimeout(()=>{e({type:"LONG_PRESS.OPEN"})},700);return()=>clearTimeout(t)},trackPositioning({context:e,prop:t,scope:r,refs:n}){if(Vi(r))return;const o={...t("positioning"),...n.get("positioningOverride")};e.set("currentPlacement",o.placement);const i=()=>_i(r);return Ge(Sr(r),i,{...o,defer:!0,onComplete(s){e.set("currentPlacement",s.placement)}})},trackInteractOutside({refs:e,scope:t,prop:r,computed:n,send:o}){const i=()=>ze(t);let s=!0;return mr(i,{defer:!0,exclude:[Sr(t)],onInteractOutside:r("onInteractOutside"),onFocusOutside:r("onFocusOutside"),onEscapeKeyDown(a){r("onEscapeKeyDown")?.(a),n("isSubmenu")&&a.preventDefault(),$i({parent:e.get("parent")})},onPointerDownOutside(a){const d=ne(a.detail.originalEvent);if(Qe(Vi(t),d)&&a.detail.contextmenu){a.preventDefault();return}s=!a.detail.focusable,r("onPointerDownOutside")?.(a)},onDismiss(){o({type:"CLOSE",src:"interact-outside",restoreFocus:s})}})},trackPointerMove({context:e,scope:t,send:r,refs:n,flush:o}){const i=n.get("parent");o(()=>{i.context.set("suspendPointer",!0)});const s=t.getDoc();return J(s,"pointermove",a=>{Xp(e.get("intentPolygon"),{x:a.clientX,y:a.clientY})||(r({type:"POINTER_MOVED_AWAY_FROM_SUBMENU"}),i.context.set("suspendPointer",!1))})},scrollToHighlightedItem({event:e,scope:t,computed:r}){const n=()=>{if(e.type.startsWith("ITEM_POINTER"))return;const i=t.getById(r("highlightedId")),s=ze(t);Rs(i,{rootEl:s,block:"nearest"})};return H(()=>n()),ko(()=>ze(t),{defer:!0,attributes:["aria-activedescendant"],callback:n})}},actions:{setAnchorPoint({context:e,event:t}){e.set("anchorPoint",t.point)},setSubmenuPlacement({computed:e,refs:t}){if(!e("isSubmenu"))return;const r=e("isRtl")?"left-start":"right-start";t.set("positioningOverride",{placement:r,gutter:0})},reposition({context:e,scope:t,prop:r,event:n,refs:o}){const i=()=>_i(t),s=e.get("anchorPoint"),a=s?()=>({width:0,height:0,...s}):void 0,d={...r("positioning"),...o.get("positioningOverride")};Ge(Sr(t),i,{...d,defer:!0,getAnchorRect:a,...n.options??{},listeners:!1,onComplete(l){e.set("currentPlacement",l.placement)}})},setOptionState({event:e}){if(!e.option)return;const{checked:t,onCheckedChange:r,type:n}=e.option;n==="radio"?r?.(!0):n==="checkbox"&&r?.(!t)},clickHighlightedItem({scope:e,computed:t}){const r=e.getById(t("highlightedId"));!r||r.dataset.disabled||queueMicrotask(()=>r.click())},setIntentPolygon({context:e,scope:t,event:r}){const n=ze(t),o=e.get("currentPlacement");if(!n||!o)return;const i=n.getBoundingClientRect(),s=Mp(i,o);if(!s)return;const d=xg(o)==="right"?-5:5;e.set("intentPolygon",[{...r.point,x:r.point.x+d},...s])},clearIntentPolygon({context:e}){e.set("intentPolygon",null)},resumePointer({refs:e,flush:t}){const r=e.get("parent");r&&t(()=>{r.context.set("suspendPointer",!1)})},setHighlightedItem({context:e,event:t}){const r=t.value||it(t.target);e.set("highlightedValue",r)},clearHighlightedItem({context:e}){e.set("highlightedValue",null)},focusMenu({scope:e}){H(()=>{const t=ze(e);Wr({root:t,enabled:!Qe(t,e.getActiveElement()),filter(n){return!n.role?.startsWith("menuitem")}})?.focus({preventScroll:!0})})},highlightFirstItem({context:e,scope:t}){(ze(t)?queueMicrotask:H)(()=>{const n=Gp(t);n&&e.set("highlightedValue",it(n))})},highlightLastItem({context:e,scope:t}){(ze(t)?queueMicrotask:H)(()=>{const n=jp(t);n&&e.set("highlightedValue",it(n))})},highlightNextItem({context:e,scope:t,event:r,prop:n}){const o=Bp(t,{loop:r.loop,value:e.get("highlightedValue"),loopFocus:n("loopFocus")});e.set("highlightedValue",it(o))},highlightPrevItem({context:e,scope:t,event:r,prop:n}){const o=Hp(t,{loop:r.loop,value:e.get("highlightedValue"),loopFocus:n("loopFocus")});e.set("highlightedValue",it(o))},invokeOnSelect({context:e,prop:t,scope:r}){const n=e.get("highlightedValue");if(n==null)return;const o=Ga(r,n);Kp(o,n),t("onSelect")?.({value:n})},focusTrigger({scope:e,context:t,event:r,computed:n}){n("isSubmenu")||t.get("anchorPoint")||r.restoreFocus===!1||queueMicrotask(()=>Sr(e)?.focus({preventScroll:!0}))},highlightMatchedItem({scope:e,context:t,event:r,refs:n}){const o=Wp(e,{key:r.key,value:t.get("highlightedValue"),typeaheadState:n.get("typeaheadState")});o&&t.set("highlightedValue",it(o))},setParentMenu({refs:e,event:t}){e.set("parent",t.value)},setChildMenu({refs:e,event:t}){const r=e.get("children");r[t.id]=t.value,e.set("children",r)},closeRootMenu({refs:e}){$i({parent:e.get("parent")})},openSubmenu({refs:e,scope:t,computed:r}){const o=t.getById(r("highlightedId"))?.getAttribute("data-uid"),i=e.get("children");(o?i[o]:null)?.send({type:"OPEN_AUTOFOCUS"})},focusParentMenu({refs:e}){e.get("parent")?.send({type:"FOCUS_MENU"})},setLastHighlightedItem({context:e,event:t}){e.set("lastHighlightedValue",it(t.target))},restoreHighlightedItem({context:e}){e.get("lastHighlightedValue")&&(e.set("highlightedValue",e.get("lastHighlightedValue")),e.set("lastHighlightedValue",null))},restoreParentHighlightedItem({refs:e}){e.get("parent")?.send({type:"HIGHLIGHTED.RESTORE"})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},toggleVisibility({prop:e,event:t,send:r}){r({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:t})}}}};function $i(e){let t=e.parent;for(;t&&t.computed("isSubmenu");)t=t.refs.get("parent");t?.send({type:"CLOSE"})}function Xp(e,t){return e?_p(e,t):!1}function Jp(e,t,r){const n=Object.keys(e).length>0;if(!t)return null;if(!n)return cr(r,t);for(const o in e){const i=e[o],s=Qr(i.scope);if(s===t)return s}return cr(r,t)}_()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","open","positioning","typeahead"]);_()(["closeOnSelect","disabled","value","valueText"]);_()(["htmlFor"]);_()(["id"]);_()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);const Zp=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(zp,o);return{api:Yp(i,Le),service:i}},[ja,Ba]=U({name:"MenuMachineContext",hookName:"useMenuMachineContext",providerName:"<MenuMachineProvider />",strict:!1}),[Ha,Qp]=U({name:"MenuMachineContext",hookName:"useMenuMachineContext",providerName:"<MenuMachineProvider />",strict:!1}),em=e=>{const[t,r]=Re(e),[n,o]=Y()(r,["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","open","positioning","typeahead"]),i=ie(),s=Ba(),{api:a,service:d}=Zp(n),l=me(R({present:a.open},t));Fa(()=>{s&&i&&(i.setChild(d),a.setParent(s))});const g=y.useCallback(()=>i?.getTriggerItemProps(a),[a,i]);return b.jsx(Ha,{value:g,children:b.jsx(ja,{value:d,children:b.jsx(ha,{value:a,children:b.jsx(be,{value:l,...o})})})})},tm=e=>{const t=ie(),r=Ba(),[n,{value:o,children:i}]=Re(e),{api:s,service:a}=o,d=me(R({present:s.open},n));Fa(()=>{r&&t&&(t.setChild(a),s.setParent(r))});const l=y.useCallback(()=>t?.getTriggerItemProps(s),[s,t]);return b.jsx(Ha,{value:l,children:b.jsx(ja,{value:a,children:b.jsx(ha,{value:s,children:b.jsx(be,{value:d,children:i})})})})},Wa=y.forwardRef((e,t)=>{const r=ie(),n=R(r.getSeparatorProps(),e);return b.jsx(N.hr,{...n,ref:t})});Wa.displayName="MenuSeparator";const Ua=y.forwardRef((e,t)=>{const r=ie(),n=de(),o=R({...r.getTriggerProps(),"aria-controls":n.unmounted?void 0:r.getTriggerProps()["aria-controls"]},e);return b.jsx(N.button,{...o,ref:t})});Ua.displayName="MenuTrigger";const Ka=y.forwardRef((e,t)=>{const r=Qp(),n=R(r?.()??{},e);return b.jsx(N.div,{...n,ref:t})});Ka.displayName="MenuTriggerItem";const[Ya,Pn]=U({name:"CheckboxContext",hookName:"useCheckboxContext",providerName:"<CheckboxProvider />"}),qa=y.forwardRef((e,t)=>{const r=Pn(),n=R(r.getControlProps(),e);return b.jsx(N.div,{...n,ref:t})});qa.displayName="CheckboxControl";var za=W("checkbox").parts("root","label","control","indicator"),xr=za.build(),Xa=e=>e.ids?.root??`checkbox:${e.id}`,Gi=e=>e.ids?.label??`checkbox:${e.id}:label`,rm=e=>e.ids?.control??`checkbox:${e.id}:control`,oo=e=>e.ids?.hiddenInput??`checkbox:${e.id}:input`,nm=e=>e.getById(Xa(e)),Jt=e=>e.getById(oo(e));function om(e,t){const{send:r,context:n,prop:o,computed:i,scope:s}=e,a=o("disabled"),d=o("readOnly"),l=o("invalid"),g=!a&&n.get("focused"),f=!a&&n.get("focusVisible"),c=i("checked"),u=i("indeterminate"),p={"data-active":L(n.get("active")),"data-focus":L(g),"data-focus-visible":L(f),"data-readonly":L(d),"data-hover":L(n.get("hovered")),"data-disabled":L(a),"data-state":u?"indeterminate":c?"checked":"unchecked","data-invalid":L(l)};return{checked:c,disabled:a,indeterminate:u,focused:g,checkedState:c,setChecked(m){r({type:"CHECKED.SET",checked:m,isTrusted:!1})},toggleChecked(){r({type:"CHECKED.TOGGLE",checked:c,isTrusted:!1})},getRootProps(){return t.label({...xr.root.attrs,...p,dir:o("dir"),id:Xa(s),htmlFor:oo(s),onPointerMove(){a||r({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){a||r({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(m){ne(m)===Jt(s)&&m.stopPropagation()}})},getLabelProps(){return t.element({...xr.label.attrs,...p,dir:o("dir"),id:Gi(s)})},getControlProps(){return t.element({...xr.control.attrs,...p,dir:o("dir"),id:rm(s),"aria-hidden":!0})},getIndicatorProps(){return t.element({...xr.indicator.attrs,...p,dir:o("dir"),hidden:!u&&!c})},getHiddenInputProps(){return t.input({id:oo(s),type:"checkbox",required:o("required"),defaultChecked:c,disabled:a,"aria-labelledby":Gi(s),"aria-invalid":l,name:o("name"),form:o("form"),value:o("value"),style:pn,onFocus(){const m=wt();r({type:"CONTEXT.SET",context:{focused:!0,focusVisible:m}})},onBlur(){r({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(m){if(d){m.preventDefault();return}const T=m.currentTarget.checked;r({type:"CHECKED.SET",checked:T,isTrusted:!0})}})}}}var{not:ji}=nt(),im={props({props:e}){return{value:"on",...e,defaultChecked:!!e.defaultChecked}},initialState(){return"ready"},context({prop:e,bindable:t}){return{checked:t(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(r){e("onCheckedChange")?.({checked:r})}})),fieldsetDisabled:t(()=>({defaultValue:!1})),focusVisible:t(()=>({defaultValue:!1})),active:t(()=>({defaultValue:!1})),focused:t(()=>({defaultValue:!1})),hovered:t(()=>({defaultValue:!1}))}},watch({track:e,context:t,prop:r,action:n}){e([()=>r("disabled")],()=>{n(["removeFocusIfNeeded"])}),e([()=>t.get("checked")],()=>{n(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:ji("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:ji("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{indeterminate:({context:e})=>Gr(e.get("checked")),checked:({context:e})=>sm(e.get("checked")),disabled:({context:e,prop:t})=>!!t("disabled")||e.get("fieldsetDisabled")},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({context:e,computed:t,scope:r}){if(!t("disabled"))return Ss({pointerNode:nm(r),keyboardNode:Jt(r),isValidKey:n=>n.key===" ",onPress:()=>e.set("active",!1),onPressStart:()=>e.set("active",!0),onPressEnd:()=>e.set("active",!1)})},trackFocusVisible({computed:e,scope:t}){if(!e("disabled"))return vn({root:t.getRootNode?.()})},trackFormControlState({context:e,scope:t}){return gn(Jt(t),{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("checked",e.initial("checked"))}})}},actions:{setContext({context:e,event:t}){for(const r in t.context)e.set(r,t.context[r])},syncInputElement({context:e,computed:t,scope:r}){const n=Jt(r);n&&(Ro(n,t("checked")),n.indeterminate=Gr(e.get("checked")))},removeFocusIfNeeded({context:e,prop:t}){t("disabled")&&e.get("focused")&&(e.set("focused",!1),e.set("focusVisible",!1))},setChecked({context:e,event:t}){e.set("checked",t.checked)},toggleChecked({context:e,computed:t}){const r=Gr(t("checked"))?!0:!t("checked");e.set("checked",r)},dispatchChangeEvent({computed:e,scope:t}){queueMicrotask(()=>{const r=Jt(t);So(r,{checked:e("checked")})})}}}};function Gr(e){return e==="indeterminate"}function sm(e){return Gr(e)?!1:!!e}_()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const Ja=za.extendWith("group");function am(e){const{value:t,onChange:r,defaultValue:n}=e,[o,i]=y.useState(n),s=t!==void 0,a=s?t:o,d=y.useCallback(l=>(s||i(l),r?.(l)),[s,r]);return[a,d]}function Za(e={}){const{defaultValue:t,value:r,onValueChange:n,disabled:o,readOnly:i,name:s,invalid:a}=e,d=!(o||i),l=js(n,{sync:!0}),[g,f]=am({value:r,defaultValue:t||[],onChange:l}),c=E=>g.some(C=>String(C)===String(E)),u=E=>{c(E)?m(E):p(E)},p=E=>{d&&(c(E)||f(g.concat(E)))},m=E=>{d&&f(g.filter(C=>String(C)!==String(E)))};return{isChecked:c,value:g,name:s,disabled:!!o,readOnly:!!i,invalid:!!a,setValue:f,addValue:p,toggleValue:u,getItemProps:E=>({checked:E.value!=null?c(E.value):void 0,onCheckedChange(){E.value!=null&&u(E.value)},name:s,disabled:o,readOnly:i,invalid:a})}}const[cm,lm]=U({name:"CheckboxGroupContext",hookName:"useCheckboxGroupContext",providerName:"<CheckboxGroupProvider />",strict:!1}),Qa=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["defaultValue","value","onValueChange","disabled","invalid","readOnly","name"]),o=Za(r);return b.jsx(cm,{value:o,children:b.jsx(N.div,{ref:t,role:"group",...n,...Ja.build().group.attrs})})});Qa.displayName="CheckboxGroup";const[um,Se]=U({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1}),ec=y.forwardRef((e,t)=>{const r=Pn(),n=R(r.getHiddenInputProps(),e),o=Se();return b.jsx(N.input,{"aria-describedby":o?.ariaDescribedby,...n,ref:t})});ec.displayName="CheckboxHiddenInput";const tc=y.forwardRef((e,t)=>{const r=Pn(),n=R(r.getLabelProps(),e);return b.jsx(N.span,{...n,ref:t})});tc.displayName="CheckboxLabel";const dm=(e={})=>{const t=lm(),r=Se(),n=y.useMemo(()=>R(e,t?.getItemProps({value:e.value})??{}),[e,t]),o=y.useId(),{getRootNode:i}=Ce(),{dir:s}=Fe(),a={id:o,ids:{label:r?.ids.label,hiddenInput:r?.ids.control},dir:s,disabled:r?.disabled,readOnly:r?.readOnly,invalid:r?.invalid,required:r?.required,getRootNode:i,...n},d=Ie(im,a);return om(d,Le)},rc=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["checked","defaultChecked","disabled","form","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]),o=dm(r),i=R(o.getRootProps(),n);return b.jsx(Ya,{value:o,children:b.jsx(N.label,{...i,ref:t})})});rc.displayName="CheckboxRoot";const nc=y.forwardRef((e,t)=>{const[{value:r},n]=Y()(e,["value"]),o=R(r.getRootProps(),n);return b.jsx(Ya,{value:r,children:b.jsx(N.label,{...o,ref:t})})});nc.displayName="CheckboxRootProvider";const oc=y.forwardRef((e,t)=>{const r=Se(),n=R(r.getErrorTextProps(),e);return r?.invalid?b.jsx(N.span,{...n,ref:t}):null});oc.displayName="FieldErrorText";const ic=y.forwardRef((e,t)=>{const r=Se(),n=R(r?.getHelperTextProps(),e);return b.jsx(N.span,{...n,ref:t})});ic.displayName="FieldHelperText";const sc=y.forwardRef((e,t)=>{const r=Se(),n=R(r?.getInputProps(),e);return b.jsx(N.input,{...n,ref:t})});sc.displayName="FieldInput";const ac=y.forwardRef((e,t)=>{const r=Se(),n=R(r?.getLabelProps(),e);return b.jsx(N.label,{...n,ref:t})});ac.displayName="FieldLabel";const fm=typeof window<"u"?y.useLayoutEffect:y.useEffect,[fy,gm]=U({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1}),cc=W("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),qe=cc.build(),pm=(e={})=>{const t=gm(),{ids:r,disabled:n=!!t?.disabled,invalid:o=!1,readOnly:i=!1,required:s=!1}=e,[a,d]=y.useState(!1),[l,g]=y.useState(!1),f=e.id??y.useId(),c=y.useRef(null),u=r?.control??`field::${f}`,p=r?.errorText??`field::${f}::error-text`,m=r?.helperText??`field::${f}::helper-text`,T=r?.label??`field::${f}::label`;fm(()=>{const w=c.current;if(!w)return;const D=ee(w),V=D.document,M=()=>{d(!!V.getElementById(p)),g(!!V.getElementById(m))};M();const K=new D.MutationObserver(M);return K.observe(w,{childList:!0,subtree:!0}),()=>K.disconnect()},[p,m]);const E=y.useMemo(()=>{const w=[];return a&&o&&w.push(p),l&&w.push(m),w.join(" ")||void 0},[o,p,m,a,l]),C=y.useMemo(()=>()=>({...qe.root.attrs,id:u,ref:c,role:"group","data-disabled":L(n),"data-invalid":L(o),"data-readonly":L(i)}),[n,o,i,u]),P=y.useMemo(()=>()=>({...qe.label.attrs,id:T,"data-disabled":L(n),"data-invalid":L(o),"data-readonly":L(i),htmlFor:f}),[n,o,i,f,T]),h=y.useMemo(()=>()=>({"aria-describedby":E,"aria-invalid":Oo(o),"data-invalid":L(o),"data-required":L(s),"data-readonly":L(i),id:f,required:s,disabled:n,readOnly:i}),[E,o,s,i,f,n]),v=y.useMemo(()=>()=>({...h(),...qe.input.attrs}),[h]),S=y.useMemo(()=>()=>({...h(),...qe.textarea.attrs}),[h]),I=y.useMemo(()=>()=>({...h(),...qe.select.attrs}),[h]),O=y.useMemo(()=>()=>({id:m,...qe.helperText.attrs,"data-disabled":L(n)}),[n,m]),x=y.useMemo(()=>()=>({id:p,...qe.errorText.attrs,"aria-live":"polite"}),[p]),A=y.useMemo(()=>()=>({"aria-hidden":!0,...qe.requiredIndicator.attrs}),[]);return{ariaDescribedby:E,ids:{root:u,control:f,label:T,errorText:p,helperText:m},refs:{rootRef:c},disabled:n,invalid:o,readOnly:i,required:s,getLabelProps:P,getRootProps:C,getInputProps:v,getTextareaProps:S,getSelectProps:I,getHelperTextProps:O,getErrorTextProps:x,getRequiredIndicatorProps:A}},lc=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["id","ids","disabled","invalid","readOnly","required"]),o=pm(r),i=R(o.getRootProps(),n);return b.jsx(um,{value:o,children:b.jsx(N.div,{...i,ref:De(t,o.refs.rootRef)})})});lc.displayName="FieldRoot";var mm=e=>{if(!e)return;const t=ln(e),r=ee(e),n=pe(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let l;t.boxSizing==="content-box"?l=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):l=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&l>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),l=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${l}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const i=Object.getPrototypeOf(e),s=Object.getOwnPropertyDescriptor(i,"value");Object.defineProperty(e,"value",{...s,set(){s?.set?.apply(this,arguments),o()}});const a=new r.ResizeObserver(()=>{requestAnimationFrame(()=>o())});a.observe(e);const d=new r.MutationObserver(()=>o());return d.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),n.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),n.fonts?.removeEventListener("loadingdone",o),a.disconnect(),d.disconnect()}};const uc=y.forwardRef((e,t)=>{const{autoresize:r,...n}=e,o=y.useRef(null),i=Se(),s=R(i?.getTextareaProps(),{style:{resize:r?"none":void 0}},n);return y.useEffect(()=>{if(r)return mm(o.current)},[r]),b.jsx(N.textarea,{...s,ref:De(t,o)})});uc.displayName="FieldTextarea";var dc=W("collapsible").parts("root","trigger","content","indicator");dc.build();_()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var fc=W("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);fc.build();_()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]);_()(["xChannel","yChannel"]);_()(["channel","orientation"]);_()(["value","disabled"]);_()(["value","respectAlpha"]);_()(["size"]);const[On,gc]=U({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),Tn=e=>Y()(e,["lazyMount","unmountOnExit"]);var pc=W("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");pc.build();_()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]);_()(["value","disabled"]);const hm=fc.extendWith("view");var vm=Object.defineProperty,ym=(e,t,r)=>t in e?vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,G=(e,t,r)=>ym(e,typeof t!="symbol"?t+"":t,r),jr={itemToValue(e){return typeof e=="string"?e:Nn(e)&&An(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Nn(e)&&An(e,"label")?e.label:jr.itemToValue(e)},isItemDisabled(e){return Nn(e)&&An(e,"disabled")?!!e.disabled:!1}},Uo=class mc{constructor(t){this.options=t,G(this,"items"),G(this,"copy",r=>new mc({...this.options,items:r??[...this.items]})),G(this,"isEqual",r=>mn(this.items,r.items)),G(this,"setItems",r=>this.copy(r)),G(this,"getValues",(r=this.items)=>Array.from(r).map(n=>this.getItemValue(n)).filter(Boolean)),G(this,"find",r=>{if(r==null)return null;const n=this.items.findIndex(o=>this.getItemValue(o)===r);return n!=null?this.items[n]:null}),G(this,"findMany",r=>Array.from(r).map(n=>this.find(n)).filter(n=>n!=null)),G(this,"at",r=>this.items[r]??null),G(this,"sortFn",(r,n)=>{const o=this.indexOf(r),i=this.indexOf(n);return(o??0)-(i??0)}),G(this,"sort",r=>[...r].sort(this.sortFn.bind(this))),G(this,"getItemValue",r=>r==null?null:this.options.itemToValue?.(r)??jr.itemToValue(r)),G(this,"getItemDisabled",r=>r==null?!1:this.options.isItemDisabled?.(r)??jr.isItemDisabled(r)),G(this,"stringifyItem",r=>r==null?null:this.options.itemToString?.(r)??jr.itemToString(r)),G(this,"stringify",r=>r==null?null:this.stringifyItem(this.find(r))),G(this,"stringifyItems",(r,n=", ")=>Array.from(r).map(o=>this.stringifyItem(o)).filter(Boolean).join(n)),G(this,"stringifyMany",(r,n)=>this.stringifyItems(this.findMany(r),n)),G(this,"has",r=>this.indexOf(r)!==-1),G(this,"hasItem",r=>r==null?!1:this.has(this.getItemValue(r))),G(this,"getNextValue",(r,n=1,o=!1)=>{let i=this.indexOf(r);if(i===-1)return null;for(i=o?Math.min(i+n,this.size-1):i+n;i<=this.size&&this.getItemDisabled(this.at(i));)i++;return this.getItemValue(this.at(i))}),G(this,"getPreviousValue",(r,n=1,o=!1)=>{let i=this.indexOf(r);if(i===-1)return null;for(i=o?Math.max(i-n,0):i-n;i>=0&&this.getItemDisabled(this.at(i));)i--;return this.getItemValue(this.at(i))}),G(this,"indexOf",r=>r==null?-1:this.items.findIndex(n=>this.getItemValue(n)===r)),G(this,"getByText",(r,n)=>{let o=n!=null?Em(this.items,this.indexOf(n)):this.items;return r.length===1&&(o=o.filter(s=>this.getItemValue(s)!==n)),o.find(s=>bm(this.stringifyItem(s),r))}),G(this,"search",(r,n)=>{const{state:o,currentValue:i,timeout:s=350}=n,a=o.keysSoFar+r,l=a.length>1&&Array.from(a).every(p=>p===a[0])?a[0]:a,g=this.getByText(l,i),f=this.getItemValue(g);function c(){clearTimeout(o.timer),o.timer=-1}function u(p){o.keysSoFar=p,c(),p!==""&&(o.timer=+setTimeout(()=>{u(""),c()},s))}return u(a),f}),G(this,"update",(r,n)=>{let o=this.items.findIndex(i=>this.getItemValue(i)===r);return o===-1?this:this.copy([...this.items.slice(0,o),n,...this.items.slice(o+1)])}),G(this,"insert",(r,...n)=>this.copy(jt(this.items,r,...n))),G(this,"insertBefore",(r,...n)=>{let o=this.indexOf(r);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(jt(this.items,o,...n))}),G(this,"insertAfter",(r,...n)=>{let o=this.indexOf(r);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(jt(this.items,o+1,...n))}),G(this,"prepend",(...r)=>this.copy(jt(this.items,0,...r))),G(this,"append",(...r)=>this.copy(jt(this.items,this.items.length,...r))),G(this,"remove",(...r)=>{const n=r.map(o=>typeof o=="string"?o:this.getItemValue(o));return this.copy(this.items.filter(o=>{const i=this.getItemValue(o);return i==null?!1:!n.includes(i)}))}),G(this,"move",(r,n)=>{const o=this.indexOf(r);return o===-1?this:this.copy(Bi(this.items,[o],n))}),G(this,"reorder",(r,n)=>this.copy(Bi(this.items,[r],n))),G(this,"compareValue",(r,n)=>{const o=this.indexOf(r),i=this.indexOf(n);return o<i?-1:o>i?1:0}),G(this,"range",(r,n)=>{let o=[],i=r;for(;i!=null;){if(this.find(i)&&o.push(i),i===n)return o;i=this.getNextValue(i)}return[]}),G(this,"getValueRange",(r,n)=>r&&n?this.compareValue(r,n)<=0?this.range(r,n):this.range(n,r):[]),G(this,"toString",()=>{let r="";for(const n of this.items){const o=this.getItemValue(n),i=this.stringifyItem(n),s=this.getItemDisabled(n),a=[o,i,s].filter(Boolean).join(":");r+=a+","}return r}),G(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let t=0;for(;this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}get lastValue(){let t=this.size-1;for(;this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}*[Symbol.iterator](){yield*this.items}},bm=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase()),Em=(e,t)=>e.map((r,n)=>e[(Math.max(t,0)+n)%e.length]);function jt(e,t,...r){return[...e.slice(0,t),...r,...e.slice(t)]}function Bi(e,t,r){t=[...t].sort((o,i)=>o-i);const n=t.map(o=>e[o]);for(let o=t.length-1;o>=0;o--)e=[...e.slice(0,t[o]),...e.slice(t[o]+1)];return r=Math.max(0,r-t.filter(o=>o<r).length),[...e.slice(0,r),...n,...e.slice(r)]}const Pm=e=>new Uo(e);var vt=new WeakMap,kr=new WeakMap,Nr={},$n=0,hc=e=>e&&(e.host||hc(e.parentNode)),Om=(e,t)=>t.map(r=>{if(e.contains(r))return r;const n=hc(r);return n&&e.contains(n)?n:(console.error("[zag-js > ariaHidden] target",r,"in not contained inside",e,". Doing nothing"),null)}).filter(r=>!!r),Tm=e=>e.localName==="next-route-announcer"||e.localName==="script"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),Cm=(e,t)=>{const{parentNode:r,markerName:n,controlAttribute:o}=t,i=Om(r,Array.isArray(e)?e:[e]);Nr[n]||(Nr[n]=new WeakMap);const s=Nr[n],a=[],d=new Set,l=new Set(i),g=c=>{!c||d.has(c)||(d.add(c),g(c.parentNode))};i.forEach(g);const f=c=>{!c||l.has(c)||Array.prototype.forEach.call(c.children,u=>{if(d.has(u))f(u);else try{if(Tm(u))return;const m=u.getAttribute(o)==="true",T=(vt.get(u)||0)+1,E=(s.get(u)||0)+1;vt.set(u,T),s.set(u,E),a.push(u),T===1&&m&&kr.set(u,!0),E===1&&u.setAttribute(n,""),m||u.setAttribute(o,"true")}catch(p){console.error("[zag-js > ariaHidden] cannot operate on ",u,p)}})};return f(r),d.clear(),$n++,()=>{a.forEach(c=>{const u=vt.get(c)-1,p=s.get(c)-1;vt.set(c,u),s.set(c,p),u||(kr.has(c)||c.removeAttribute(o),kr.delete(c)),p||c.removeAttribute(n)}),$n--,$n||(vt=new WeakMap,vt=new WeakMap,kr=new WeakMap,Nr={})}},Im=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,Rm=(e,t=Im(e),r="data-aria-hidden")=>{if(t)return Cm(e,{parentNode:t,markerName:r,controlAttribute:"aria-hidden"})},Sm=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function vc(e,t={}){const{defer:r=!0}=t,n=r?Sm:i=>i(),o=[];return o.push(n(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(Rm(s))})),()=>{o.forEach(i=>i?.())}}const[yc,ot]=U({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),bc=y.forwardRef((e,t)=>{const r=ot(),n=gc(),o=me({...n,present:r.open}),i=R(r.getBackdropProps(),o.getPresenceProps(),e);return o.unmounted?null:b.jsx(N.div,{...i,ref:De(o.ref,t)})});bc.displayName="DialogBackdrop";const Ec=y.forwardRef((e,t)=>{const r=ot(),n=R(r.getCloseTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});Ec.displayName="DialogCloseTrigger";const Pc=y.forwardRef((e,t)=>{const r=ot(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});Pc.displayName="DialogContent";const Oc=y.forwardRef((e,t)=>{const r=ot(),n=R(r.getDescriptionProps(),e);return b.jsx(N.div,{...n,ref:t})});Oc.displayName="DialogDescription";const Tc=y.forwardRef((e,t)=>{const r=ot(),n=R(r.getPositionerProps(),e);return de().unmounted?null:b.jsx(N.div,{...n,ref:t})});Tc.displayName="DialogPositioner";var wm=Object.defineProperty,xm=(e,t,r)=>t in e?wm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,X=(e,t,r)=>xm(e,typeof t!="symbol"?t+"":t,r),Hi={activateTrap(e,t){if(e.length>0){const n=e[e.length-1];n!==t&&n.pause()}const r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},km=[],Nm=class{constructor(e,t){X(this,"trapStack"),X(this,"config"),X(this,"doc"),X(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),X(this,"listenerCleanups",[]),X(this,"handleFocus",n=>{const o=ne(n),i=this.findContainerIndex(o,n)>=0;if(i||To(o))i&&(this.state.mostRecentlyFocusedNode=o);else{n.stopImmediatePropagation();let s,a=!0;if(this.state.mostRecentlyFocusedNode)if(Vt(this.state.mostRecentlyFocusedNode)>0){const d=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:l}=this.state.containerGroups[d];if(l.length>0){const g=l.findIndex(f=>f===this.state.mostRecentlyFocusedNode);g>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?g+1<l.length&&(s=l[g+1],a=!1):g-1>=0&&(s=l[g-1],a=!1))}}else this.state.containerGroups.some(d=>d.tabbableNodes.some(l=>Vt(l)>0))||(a=!1);else a=!1;a&&(s=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),s?this.tryFocus(s):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),X(this,"handlePointerDown",n=>{const o=ne(n);if(!(this.findContainerIndex(o,n)>=0)){if(Ht(this.config.clickOutsideDeactivates,n)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}Ht(this.config.allowOutsideClick,n)||n.preventDefault()}}),X(this,"handleClick",n=>{const o=ne(n);this.findContainerIndex(o,n)>=0||Ht(this.config.clickOutsideDeactivates,n)||Ht(this.config.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())}),X(this,"handleTabKey",n=>{if(this.config.isKeyForward(n)||this.config.isKeyBackward(n)){this.state.recentNavEvent=n;const o=this.config.isKeyBackward(n),i=this.findNextNavNode({event:n,isBackward:o});if(!i)return;Bt(n)&&n.preventDefault(),this.tryFocus(i)}}),X(this,"handleEscapeKey",n=>{Am(n)&&Ht(this.config.escapeDeactivates,n)!==!1&&(n.preventDefault(),this.deactivate())}),X(this,"_mutationObserver"),X(this,"setupMutationObserver",()=>{const n=this.doc.defaultView||window;this._mutationObserver=new n.MutationObserver(o=>{o.some(s=>Array.from(s.removedNodes).some(d=>d===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),X(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(n=>{this._mutationObserver?.observe(n,{subtree:!0,childList:!0})})}),X(this,"getInitialFocusNode",()=>{let n=this.getNodeForOption("initialFocus",{hasFallback:!0});if(n===!1)return!1;if(n===void 0||n&&!Ze(n))if(this.findContainerIndex(this.doc.activeElement)>=0)n=this.doc.activeElement;else{const o=this.state.tabbableGroups[0];n=o&&o.firstTabbableNode||this.getNodeForOption("fallbackFocus")}else n===null&&(n=this.getNodeForOption("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n.isConnected||(n=this.getNodeForOption("fallbackFocus")),n}),X(this,"tryFocus",n=>{if(n!==!1&&n!==ps(this.doc)){if(!n||!n.focus){this.tryFocus(this.getInitialFocusNode());return}n.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=n,Lm(n)&&n.select()}}),X(this,"deactivate",n=>{if(!this.state.active)return this;const o={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...n};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),Hi.deactivateTrap(this.trapStack,this);const i=this.getOption(o,"onDeactivate"),s=this.getOption(o,"onPostDeactivate"),a=this.getOption(o,"checkCanReturnFocus"),d=this.getOption(o,"returnFocus","returnFocusOnDeactivate");i?.();const l=()=>{Wi(()=>{if(d){const g=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(g)}s?.()})};if(d&&a){const g=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return a(g).then(l,l),this}return l(),this}),X(this,"pause",n=>{if(this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onPause"),i=this.getOption(n,"onPostPause");return this.state.paused=!0,o?.(),this.removeListeners(),this.updateObservedNodes(),i?.(),this}),X(this,"unpause",n=>{if(!this.state.paused||!this.state.active)return this;const o=this.getOption(n,"onUnpause"),i=this.getOption(n,"onPostUnpause");return this.state.paused=!1,o?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),i?.(),this}),X(this,"updateContainerElements",n=>(this.state.containers=Array.isArray(n)?n.filter(Boolean):[n].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),X(this,"getReturnFocusNode",n=>{const o=this.getNodeForOption("setReturnFocus",{params:[n]});return o||(o===!1?!1:n)}),X(this,"getOption",(n,o,i)=>n&&n[o]!==void 0?n[o]:this.config[i||o]),X(this,"getNodeForOption",(n,{hasFallback:o=!1,params:i=[]}={})=>{let s=this.config[n];if(typeof s=="function"&&(s=s(...i)),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error(`\`${n}\` was specified but was not a node, or did not return a node`)}let a=s;if(typeof s=="string"){try{a=this.doc.querySelector(s)}catch(d){throw new Error(`\`${n}\` appears to be an invalid selector; error="${d.message}"`)}if(!a&&!o)throw new Error(`\`${n}\` as selector refers to no known node`)}return a}),X(this,"findNextNavNode",n=>{const{event:o,isBackward:i=!1}=n,s=n.target||ne(o);this.updateTabbableNodes();let a=null;if(this.state.tabbableGroups.length>0){const d=this.findContainerIndex(s,o),l=d>=0?this.state.containerGroups[d]:void 0;if(d<0)i?a=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:a=this.state.tabbableGroups[0].firstTabbableNode;else if(i){let g=this.state.tabbableGroups.findIndex(({firstTabbableNode:f})=>s===f);if(g<0&&(l?.container===s||Ze(s)&&!Xe(s)&&!l?.nextTabbableNode(s,!1))&&(g=d),g>=0){const f=g===0?this.state.tabbableGroups.length-1:g-1,c=this.state.tabbableGroups[f];a=Vt(s)>=0?c.lastTabbableNode:c.lastDomTabbableNode}else Bt(o)||(a=l?.nextTabbableNode(s,!1))}else{let g=this.state.tabbableGroups.findIndex(({lastTabbableNode:f})=>s===f);if(g<0&&(l?.container===s||Ze(s)&&!Xe(s)&&!l?.nextTabbableNode(s))&&(g=d),g>=0){const f=g===this.state.tabbableGroups.length-1?0:g+1,c=this.state.tabbableGroups[f];a=Vt(s)>=0?c.firstTabbableNode:c.firstDomTabbableNode}else Bt(o)||(a=l?.nextTabbableNode(s))}}else a=this.getNodeForOption("fallbackFocus");return a}),this.trapStack=t.trapStack||km;const r={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward(n){return Bt(n)&&!n.shiftKey},isKeyBackward(n){return Bt(n)&&n.shiftKey},...t};this.doc=r.document||pe(Array.isArray(e)?e[0]:e),this.config=r,this.updateContainerElements(e),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){const r=typeof t?.composedPath=="function"?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:n,tabbableNodes:o})=>n.contains(e)||r?.includes(n)||o.find(i=>i===e))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const t=ur(e),r=xo(e),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,i=r.find(l=>Xe(l)),s=r.slice().reverse().find(l=>Xe(l)),a=!!t.find(l=>Vt(l)>0);function d(l,g=!0){const f=t.indexOf(l);return f<0?g?r.slice(r.indexOf(l)+1).find(c=>Xe(c)):r.slice(0,r.indexOf(l)).reverse().find(c=>Xe(c)):t[f+(g?1:-1)]}return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:a,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:d}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return Hi.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?Wi(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(J(this.doc,"focusin",this.handleFocus,!0),J(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),J(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),J(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),J(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),J(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const t=this.getOption(e,"onActivate"),r=this.getOption(e,"onPostActivate"),n=this.getOption(e,"checkCanFocusTrap");n||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=this.doc.activeElement||null,t?.();const o=()=>{n&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),r?.()};return n?(n(this.state.containers.concat()).then(o,o),this):(o(),this)}},Bt=e=>e.key==="Tab",Ht=(e,...t)=>typeof e=="function"?e(...t):e,Am=e=>!e.isComposing&&e.key==="Escape",Wi=e=>setTimeout(e,0),Lm=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function Cc(e,t={}){let r;const n=H(()=>{const o=typeof e=="function"?e():e;if(o){r=new Nm(o,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:o,...t,document:pe(o)});try{r.activate()}catch{}}});return function(){r?.deactivate(),n()}}var Gn="data-scroll-lock";function Dm(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function Ic(e){const t=e??document,r=t.defaultView??window,{documentElement:n,body:o}=t;if(o.hasAttribute(Gn))return;o.setAttribute(Gn,"");const s=r.innerWidth-n.clientWidth,a=()=>_d(n,"--scrollbar-width",`${s}px`),d=Dm(n),l=()=>Kr(o,{overflow:"hidden",[d]:`${s}px`}),g=()=>{const{scrollX:c,scrollY:u,visualViewport:p}=r,m=p?.offsetLeft??0,T=p?.offsetTop??0,E=Kr(o,{position:"fixed",overflow:"hidden",top:`${-(u-Math.floor(T))}px`,left:`${-(c-Math.floor(m))}px`,right:"0",[d]:`${s}px`});return()=>{E?.(),r.scrollTo({left:c,top:u,behavior:"instant"})}},f=[a(),hs()?g():l()];return()=>{f.forEach(c=>c?.()),o.removeAttribute(Gn)}}var Rc=W("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),st=Rc.build(),Sc=e=>e.ids?.positioner??`dialog:${e.id}:positioner`,wc=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,io=e=>e.ids?.content??`dialog:${e.id}:content`,xc=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,so=e=>e.ids?.title??`dialog:${e.id}:title`,ao=e=>e.ids?.description??`dialog:${e.id}:description`,kc=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,Ar=e=>e.getById(io(e)),Fm=e=>e.getById(Sc(e)),Mm=e=>e.getById(wc(e)),_m=e=>e.getById(xc(e)),Vm=e=>e.getById(so(e)),$m=e=>e.getById(ao(e)),Gm=e=>e.getById(kc(e));function jm(e,t){const{state:r,send:n,context:o,prop:i,scope:s}=e,a=i("aria-label"),d=r.matches("open");return{open:d,setOpen(l){r.matches("open")!==l&&n({type:l?"OPEN":"CLOSE"})},getTriggerProps(){return t.button({...st.trigger.attrs,dir:i("dir"),id:xc(s),"aria-haspopup":"dialog",type:"button","aria-expanded":d,"data-state":d?"open":"closed","aria-controls":io(s),onClick(l){l.defaultPrevented||n({type:"TOGGLE"})}})},getBackdropProps(){return t.element({...st.backdrop.attrs,dir:i("dir"),hidden:!d,id:wc(s),"data-state":d?"open":"closed"})},getPositionerProps(){return t.element({...st.positioner.attrs,dir:i("dir"),id:Sc(s),style:{pointerEvents:d?void 0:"none"}})},getContentProps(){const l=o.get("rendered");return t.element({...st.content.attrs,dir:i("dir"),role:i("role"),hidden:!d,id:io(s),tabIndex:-1,"data-state":d?"open":"closed","aria-modal":!0,"aria-label":a||void 0,"aria-labelledby":a||!l.title?void 0:so(s),"aria-describedby":l.description?ao(s):void 0})},getTitleProps(){return t.element({...st.title.attrs,dir:i("dir"),id:so(s)})},getDescriptionProps(){return t.element({...st.description.attrs,dir:i("dir"),id:ao(s)})},getCloseTriggerProps(){return t.button({...st.closeTrigger.attrs,dir:i("dir"),id:kc(s),type:"button",onClick(l){l.defaultPrevented||(l.stopPropagation(),n({type:"CLOSE"}))}})}}}var Bm={props({props:e,scope:t}){const r=e.role==="alertdialog";return{role:"dialog",modal:!0,trapFocus:!0,preventScroll:!0,closeOnInteractOutside:!r,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:r?()=>Gm(t):void 0,...e}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}},watch({track:e,action:t,prop:r}){e([()=>r("open")],()=>{t(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackDismissableElement({scope:e,send:t,prop:r}){return mr(()=>Ar(e),{defer:!0,pointerBlocking:r("modal"),exclude:[_m(e)],onInteractOutside(o){r("onInteractOutside")?.(o),r("closeOnInteractOutside")||o.preventDefault()},persistentElements:r("persistentElements"),onFocusOutside:r("onFocusOutside"),onPointerDownOutside:r("onPointerDownOutside"),onEscapeKeyDown(o){r("onEscapeKeyDown")?.(o),r("closeOnEscape")||o.preventDefault()},onDismiss(){t({type:"CLOSE",src:"interact-outside"})}})},preventScroll({scope:e,prop:t}){if(t("preventScroll"))return Ic(e.getDoc())},trapFocus({scope:e,prop:t}){return!t("trapFocus")||!t("modal")?void 0:Cc(()=>Ar(e),{preventScroll:!0,returnFocusOnDeactivate:!!t("restoreFocus"),initialFocus:t("initialFocusEl"),setReturnFocus:n=>t("finalFocusEl")?.()??n})},hideContentBelow({scope:e,prop:t}){return t("modal")?vc(()=>[Ar(e)],{defer:!0}):void 0}},actions:{checkRenderedElements({context:e,scope:t}){H(()=>{e.set("rendered",{title:!!Vm(t),description:!!$m(t)})})},syncZIndex({scope:e}){H(()=>{const t=Ar(e);if(!t)return;const r=ln(t);[Fm(e),Mm(e)].forEach(o=>{o?.style.setProperty("--z-index",r.zIndex)})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:t,event:r}){t({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})}}}};_()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);const Hm=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,getRootNode:r,dir:n,...e},i=Ie(Bm,o);return jm(i,Le)},Wm=e=>{const[t,{children:r,...n}]=Re(e),[o]=Tn(t),i=Hm(n),s=me(R({present:i.open},t));return b.jsx(yc,{value:i,children:b.jsx(On,{value:o,children:b.jsx(be,{value:s,children:r})})})},Um=e=>{const[t,{value:r,children:n}]=Re(e),[o]=Tn(t),i=me(R({present:r.open},t));return b.jsx(yc,{value:r,children:b.jsx(On,{value:o,children:b.jsx(be,{value:i,children:n})})})},Nc=y.forwardRef((e,t)=>{const r=ot(),n=R(r.getTitleProps(),e);return b.jsx(N.h2,{...n,ref:t})});Nc.displayName="DialogTitle";const Ac=y.forwardRef((e,t)=>{const r=ot(),n=de(),o=R({...r.getTriggerProps(),"aria-controls":n.unmounted?void 0:r.getTriggerProps()["aria-controls"]},e);return b.jsx(N.button,{...o,ref:t})});Ac.displayName="DialogTrigger";var Lc=W("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Lc.build();_()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Dc=W("fieldset").parts("root","errorText","helperText","legend");Dc.build();var Fc=W("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Fc.build();_()(["accept","allowDrop","capture","dir","directory","disabled","getRootNode","id","ids","locale","maxFiles","maxFileSize","minFileSize","name","invalid","onFileAccept","onFileReject","onFileChange","preventDocumentDrop","required","translations","validate"]);_()(["file"]);const[Mc,pt]=U({name:"HoverCardContext",hookName:"useHoverCardContext",providerName:"<HoverCardProvider />"}),_c=y.forwardRef((e,t)=>{const r=pt(),n=R(r.getArrowProps(),e);return b.jsx(N.div,{...n,ref:t})});_c.displayName="HoverCardArrow";const Vc=y.forwardRef((e,t)=>{const r=pt(),n=R(r.getArrowTipProps(),e);return b.jsx(N.div,{...n,ref:t})});Vc.displayName="HoverCardArrowTip";const $c=y.forwardRef((e,t)=>{const r=pt(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});$c.displayName="HoverCardContent";const Km=e=>e.children(pt()),Gc=y.forwardRef((e,t)=>{const r=pt(),n=R(r.getPositionerProps(),e);return de().unmounted?null:b.jsx(N.div,{...n,ref:t})});Gc.displayName="HoverCardPositioner";var jc=W("hoverCard").parts("arrow","arrowTip","trigger","positioner","content"),Wt=jc.build(),Bc=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,Hc=e=>e.ids?.content??`hover-card:${e.id}:content`,Wc=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,Ym=e=>e.ids?.arrow??`hover-card:${e.id}:arrow`,jn=e=>e.getById(Bc(e)),qm=e=>e.getById(Hc(e)),Ui=e=>e.getById(Wc(e));function zm(e,t){const{state:r,send:n,prop:o,context:i,scope:s}=e,a=r.hasTag("open"),d=pr({...o("positioning"),placement:i.get("currentPlacement")});return{open:a,setOpen(l){r.hasTag("open")!==l&&n({type:l?"OPEN":"CLOSE"})},reposition(l={}){n({type:"POSITIONING.SET",options:l})},getArrowProps(){return t.element({id:Ym(s),...Wt.arrow.attrs,dir:o("dir"),style:d.arrow})},getArrowTipProps(){return t.element({...Wt.arrowTip.attrs,dir:o("dir"),style:d.arrowTip})},getTriggerProps(){return t.element({...Wt.trigger.attrs,dir:o("dir"),"data-placement":i.get("currentPlacement"),id:Bc(s),"data-state":a?"open":"closed",onPointerEnter(l){l.pointerType!=="touch"&&n({type:"POINTER_ENTER",src:"trigger"})},onPointerLeave(l){l.pointerType!=="touch"&&n({type:"POINTER_LEAVE",src:"trigger"})},onFocus(){n({type:"TRIGGER_FOCUS"})},onBlur(){n({type:"TRIGGER_BLUR"})}})},getPositionerProps(){return t.element({id:Wc(s),...Wt.positioner.attrs,dir:o("dir"),style:d.floating})},getContentProps(){return t.element({...Wt.content.attrs,dir:o("dir"),id:Hc(s),hidden:!a,tabIndex:-1,"data-state":a?"open":"closed","data-placement":i.get("currentPlacement"),onPointerEnter(l){l.pointerType!=="touch"&&n({type:"POINTER_ENTER",src:"content"})},onPointerLeave(l){l.pointerType!=="touch"&&n({type:"POINTER_LEAVE",src:"content"})}})}}}var{not:Lr,and:Ki}=nt(),Xm={props({props:e}){return{openDelay:700,closeDelay:300,...e,positioning:{placement:"bottom",...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({prop:e,bindable:t}){return{open:t(()=>({defaultValue:e("defaultOpen"),value:e("open"),onChange(r){e("onOpenChange")?.({open:r})}})),currentPlacement:t(()=>({defaultValue:void 0})),isPointer:t(()=>({defaultValue:!1}))}},watch({track:e,context:t,action:r}){e([()=>t.get("open")],()=>{r(["toggleVisibility"])})},states:{closed:{tags:["closed"],entry:["clearIsPointer"],on:{"CONTROLLED.OPEN":{target:"open"},POINTER_ENTER:{target:"opening",actions:["setIsPointer"]},TRIGGER_FOCUS:{target:"opening"},OPEN:{target:"opening"}}},opening:{tags:["closed"],effects:["waitForOpenDelay"],on:{OPEN_DELAY:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed"},POINTER_LEAVE:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}],TRIGGER_BLUR:[{guard:Ki("isOpenControlled",Lr("isPointer")),actions:["invokeOnClose","toggleVisibility"]},{guard:Lr("isPointer"),target:"closed",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{tags:["open"],effects:["trackDismissableElement","trackPositioning"],on:{"CONTROLLED.CLOSE":{target:"closed"},POINTER_ENTER:{actions:["setIsPointer"]},POINTER_LEAVE:{target:"closing"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TRIGGER_BLUR:[{guard:Ki("isOpenControlled",Lr("isPointer")),actions:["invokeOnClose"]},{guard:Lr("isPointer"),target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:["reposition"]}}},closing:{tags:["open"],effects:["trackPositioning","waitForCloseDelay"],on:{CLOSE_DELAY:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"CONTROLLED.CLOSE":{target:"closed"},"CONTROLLED.OPEN":{target:"open"},POINTER_ENTER:{target:"open",actions:["setIsPointer"]}}}},implementations:{guards:{isPointer:({context:e})=>!!e.get("isPointer"),isOpenControlled:({prop:e})=>e("open")!=null},effects:{waitForOpenDelay({send:e,prop:t}){const r=setTimeout(()=>{e({type:"OPEN_DELAY"})},t("openDelay"));return()=>clearTimeout(r)},waitForCloseDelay({send:e,prop:t}){const r=setTimeout(()=>{e({type:"CLOSE_DELAY"})},t("closeDelay"));return()=>clearTimeout(r)},trackPositioning({context:e,prop:t,scope:r}){e.get("currentPlacement")||e.set("currentPlacement",t("positioning").placement);const n=()=>Ui(r);return Ge(jn(r),n,{...t("positioning"),defer:!0,onComplete(o){e.set("currentPlacement",o.placement)}})},trackDismissableElement({send:e,scope:t,prop:r}){return mr(()=>qm(t),{defer:!0,exclude:[jn(t)],onDismiss(){e({type:"CLOSE",src:"interact-outside"})},onInteractOutside:r("onInteractOutside"),onPointerDownOutside:r("onPointerDownOutside"),onFocusOutside(o){o.preventDefault(),r("onFocusOutside")?.(o)}})}},actions:{invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},setIsPointer({context:e}){e.set("isPointer",!0)},clearIsPointer({context:e}){e.set("isPointer",!1)},reposition({context:e,prop:t,scope:r,event:n}){const o=()=>Ui(r);Ge(jn(r),o,{...t("positioning"),...n.options,defer:!0,listeners:!1,onComplete(i){e.set("currentPlacement",i.placement)}})},toggleVisibility({prop:e,event:t,send:r}){queueMicrotask(()=>{r({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:t})})}}}};_()(["closeDelay","dir","getRootNode","id","ids","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);const Jm=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(Xm,o);return zm(i,Le)},Zm=e=>{const[t,{children:r,...n}]=Re(e),o=Jm(n),i=me(R({present:o.open},t));return b.jsx(Mc,{value:o,children:b.jsx(be,{value:i,children:r})})},Qm=e=>{const[t,{value:r,children:n}]=Re(e),o=me(R({present:r.open},t));return b.jsx(Mc,{value:r,children:b.jsx(be,{value:o,children:n})})},Uc=y.forwardRef((e,t)=>{const r=pt(),n=R(r.getTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});Uc.displayName="HoverCardTrigger";var Kc=W("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Kc.build();_()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var Yc=W("pinInput").parts("root","label","input","control");Yc.build();_()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);const[qc,we]=U({name:"PopoverContext",hookName:"usePopoverContext",providerName:"<PopoverProvider />"}),zc=y.forwardRef((e,t)=>{const r=we(),n=R(r.getAnchorProps(),e);return b.jsx(N.div,{...n,ref:t})});zc.displayName="PopoverAnchor";const Xc=y.forwardRef((e,t)=>{const r=we(),n=R(r.getArrowProps(),e);return b.jsx(N.div,{...n,ref:t})});Xc.displayName="PopoverArrow";const Jc=y.forwardRef((e,t)=>{const r=we(),n=R(r.getArrowTipProps(),e);return b.jsx(N.div,{...n,ref:t})});Jc.displayName="PopoverArrowTip";const Zc=y.forwardRef((e,t)=>{const r=we(),n=R(r.getCloseTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});Zc.displayName="PopoverCloseTrigger";const Qc=y.forwardRef((e,t)=>{const r=we(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});Qc.displayName="PopoverContent";const eh=e=>e.children(we()),el=y.forwardRef((e,t)=>{const r=we(),n=R(r.getDescriptionProps(),e);return b.jsx(N.div,{...n,ref:t})});el.displayName="PopoverDescription";const tl=y.forwardRef((e,t)=>{const r=we(),n=R(r.getIndicatorProps(),e);return b.jsx(N.div,{...n,ref:t})});tl.displayName="PopoverIndicator";const rl=y.forwardRef((e,t)=>{const r=we(),n=de(),o=R(r.getPositionerProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:t})});rl.displayName="PopoverPositioner";var nl=W("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),_e=nl.build(),ol=e=>e.ids?.anchor??`popover:${e.id}:anchor`,il=e=>e.ids?.trigger??`popover:${e.id}:trigger`,co=e=>e.ids?.content??`popover:${e.id}:content`,sl=e=>e.ids?.positioner??`popover:${e.id}:popper`,th=e=>e.ids?.arrow??`popover:${e.id}:arrow`,lo=e=>e.ids?.title??`popover:${e.id}:title`,uo=e=>e.ids?.description??`popover:${e.id}:desc`,rh=e=>e.ids?.closeTrigger??`popover:${e.id}:close`,Yi=e=>e.getById(ol(e)),yt=e=>e.getById(il(e)),bt=e=>e.getById(co(e)),qi=e=>e.getById(sl(e)),nh=e=>e.getById(lo(e)),oh=e=>e.getById(uo(e));function ih(e,t){const{state:r,context:n,send:o,computed:i,prop:s,scope:a}=e,d=r.matches("open"),l=n.get("currentPlacement"),g=i("currentPortalled"),f=n.get("renderedElements"),c=pr({...s("positioning"),placement:l});return{portalled:g,open:d,setOpen(u){r.matches("open")!==u&&o({type:u?"OPEN":"CLOSE"})},reposition(u={}){o({type:"POSITIONING.SET",options:u})},getArrowProps(){return t.element({id:th(a),..._e.arrow.attrs,dir:s("dir"),style:c.arrow})},getArrowTipProps(){return t.element({..._e.arrowTip.attrs,dir:s("dir"),style:c.arrowTip})},getAnchorProps(){return t.element({..._e.anchor.attrs,dir:s("dir"),id:ol(a)})},getTriggerProps(){return t.button({..._e.trigger.attrs,dir:s("dir"),type:"button","data-placement":l,id:il(a),"aria-haspopup":"dialog","aria-expanded":d,"data-state":d?"open":"closed","aria-controls":co(a),onPointerDown(u){fn()&&u.currentTarget.focus()},onClick(u){u.defaultPrevented||o({type:"TOGGLE"})},onBlur(u){o({type:"TRIGGER_BLUR",target:u.relatedTarget})}})},getIndicatorProps(){return t.element({..._e.indicator.attrs,dir:s("dir"),"data-state":d?"open":"closed"})},getPositionerProps(){return t.element({id:sl(a),..._e.positioner.attrs,dir:s("dir"),style:c.floating})},getContentProps(){return t.element({..._e.content.attrs,dir:s("dir"),id:co(a),tabIndex:-1,role:"dialog",hidden:!d,"data-state":d?"open":"closed","data-expanded":L(d),"aria-labelledby":f.title?lo(a):void 0,"aria-describedby":f.description?uo(a):void 0,"data-placement":l})},getTitleProps(){return t.element({..._e.title.attrs,id:lo(a),dir:s("dir")})},getDescriptionProps(){return t.element({..._e.description.attrs,id:uo(a),dir:s("dir")})},getCloseTriggerProps(){return t.button({..._e.closeTrigger.attrs,dir:s("dir"),id:rh(a),type:"button","aria-label":"close",onClick(u){u.defaultPrevented||(u.stopPropagation(),o({type:"CLOSE"}))}})}}}var sh={props({props:e}){return{closeOnInteractOutside:!0,closeOnEscape:!0,autoFocus:!0,modal:!1,portalled:!0,...e,positioning:{placement:"bottom",...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{currentPlacement:e(()=>({defaultValue:void 0})),renderedElements:e(()=>({defaultValue:{title:!0,description:!0}}))}},computed:{currentPortalled:({prop:e})=>!!e("modal")||!!e("portalled")},watch({track:e,prop:t,action:r}){e([()=>t("open")],()=>{r(["toggleVisibility"])})},entry:["checkRenderedElements"],states:{closed:{on:{"CONTROLLED.OPEN":{target:"open",actions:["setInitialFocus"]},TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}]}},open:{effects:["trapFocus","preventScroll","hideContentBelow","trackPositioning","trackDismissableElement","proxyTabFocus"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackPositioning({context:e,prop:t,scope:r}){e.set("currentPlacement",t("positioning").placement);const n=Yi(r)??yt(r);return Ge(n,()=>qi(r),{...t("positioning"),defer:!0,onComplete(i){e.set("currentPlacement",i.placement)}})},trackDismissableElement({send:e,prop:t,scope:r}){const n=()=>bt(r);let o=!0;return mr(n,{pointerBlocking:t("modal"),exclude:yt(r),defer:!0,onEscapeKeyDown(i){t("onEscapeKeyDown")?.(i),!t("closeOnEscape")&&i.preventDefault()},onInteractOutside(i){t("onInteractOutside")?.(i),!i.defaultPrevented&&(o=!(i.detail.focusable||i.detail.contextmenu),t("closeOnInteractOutside")||i.preventDefault())},onPointerDownOutside:t("onPointerDownOutside"),onFocusOutside:t("onFocusOutside"),persistentElements:t("persistentElements"),onDismiss(){e({type:"CLOSE",src:"interact-outside",restoreFocus:o})}})},proxyTabFocus({prop:e,scope:t}){return e("modal")||!e("portalled")?void 0:kd(()=>bt(t),{triggerElement:yt(t),defer:!0,onFocus(n){n.focus({preventScroll:!0})}})},hideContentBelow({prop:e,scope:t}){return e("modal")?vc(()=>[bt(t),yt(t)],{defer:!0}):void 0},preventScroll({prop:e,scope:t}){if(e("modal"))return Ic(t.getDoc())},trapFocus({prop:e,scope:t}){return e("modal")?Cc(()=>bt(t),{initialFocus:()=>Wr({root:bt(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")})}):void 0}},actions:{reposition({event:e,prop:t,scope:r,context:n}){const o=Yi(r)??yt(r);Ge(o,()=>qi(r),{...t("positioning"),...e.options,defer:!0,listeners:!1,onComplete(s){n.set("currentPlacement",s.placement)}})},checkRenderedElements({context:e,scope:t}){H(()=>{Object.assign(e.get("renderedElements"),{title:!!nh(t),description:!!oh(t)})})},setInitialFocus({prop:e,scope:t}){e("modal")||H(()=>{Wr({root:bt(t),getInitialEl:e("initialFocusEl"),enabled:e("autoFocus")})?.focus({preventScroll:!0})})},setFinalFocus({event:e,scope:t}){const r=e.restoreFocus??e.previousEvent?.restoreFocus;r!=null&&!r||H(()=>{yt(t)?.focus({preventScroll:!0})})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},toggleVisibility({event:e,send:t,prop:r}){t({type:r("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}};_()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","defaultOpen","open","persistentElements","portalled","positioning"]);const ah=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(sh,o);return ih(i,Le)},ch=e=>{const[t,{children:r,...n}]=Re(e),o=ah(n),i=me(R({present:o.open},t));return b.jsx(qc,{value:o,children:b.jsx(be,{value:i,children:r})})},lh=e=>{const[t,{value:r,children:n}]=Re(e),o=me(R({present:r.open},t));return b.jsx(qc,{value:r,children:b.jsx(be,{value:o,children:n})})},al=y.forwardRef((e,t)=>{const r=we(),n=R(r.getTitleProps(),e);return b.jsx(N.div,{...n,ref:t})});al.displayName="PopoverTitle";const cl=y.forwardRef((e,t)=>{const r=we(),n=de(),o=R({...r.getTriggerProps(),"aria-controls":n.unmounted?void 0:r.getTriggerProps()["aria-controls"]},e);return b.jsx(N.button,{...o,ref:t})});cl.displayName="PopoverTrigger";var ll=W("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");ll.build();_()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var ul=W("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");ul.build();_()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);const[dl,vr]=U({name:"RadioGroupContext",hookName:"useRadioGroupContext",providerName:"<RadioGroupProvider />"}),[uh,dh]=U({name:"RadioGroupItemContext",hookName:"useRadioGroupItemContext",providerName:"<RadioGroupItemProvider />"}),[fh,Ko]=U({name:"RadioGroupItemPropsContext",hookName:"useRadioGroupItemPropsContext",providerName:"<RadioGroupItemPropsProvider />"}),fl=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["value","disabled","invalid"]),o=vr(),i=R(o.getItemProps(r),n),s=o.getItemState(r);return b.jsx(uh,{value:s,children:b.jsx(fh,{value:r,children:b.jsx(N.label,{...i,ref:t})})})});fl.displayName="RadioGroupItem";const gh=e=>e.children(dh()),gl=y.forwardRef((e,t)=>{const r=vr(),n=Ko(),o=R(r.getItemControlProps(n),e);return b.jsx(N.div,{...o,ref:t})});gl.displayName="RadioGroupItemControl";const pl=y.forwardRef((e,t)=>{const r=vr(),n=Ko(),o=R(r.getItemHiddenInputProps(n),e);return b.jsx(N.input,{...o,ref:t})});pl.displayName="RadioGroupItemHiddenInput";const ml=y.forwardRef((e,t)=>{const r=vr(),n=Ko(),o=R(r.getItemTextProps(n),e);return b.jsx(N.span,{...o,ref:t})});ml.displayName="RadioGroupItemText";const hl=y.forwardRef((e,t)=>{const r=vr(),n=R(r.getLabelProps(),e);return b.jsx(N.label,{...n,ref:t})});hl.displayName="RadioGroupLabel";var Yo=W("radio-group").parts("root","label","item","itemText","itemControl","indicator"),Et=Yo.build(),en=e=>e.ids?.root??`radio-group:${e.id}`,zi=e=>e.ids?.label??`radio-group:${e.id}:label`,vl=(e,t)=>e.ids?.item?.(t)??`radio-group:${e.id}:radio:${t}`,fo=(e,t)=>e.ids?.itemHiddenInput?.(t)??`radio-group:${e.id}:radio:input:${t}`,ph=(e,t)=>e.ids?.itemControl?.(t)??`radio-group:${e.id}:radio:control:${t}`,mh=(e,t)=>e.ids?.itemLabel?.(t)??`radio-group:${e.id}:radio:label:${t}`,yl=e=>e.ids?.indicator??`radio-group:${e.id}:indicator`,Cn=e=>e.getById(en(e)),hh=(e,t)=>e.getById(fo(e,t)),vh=e=>e.getById(yl(e)),yh=e=>Cn(e)?.querySelector("input:not(:disabled)"),bh=e=>Cn(e)?.querySelector("input:not(:disabled):checked"),Xi=e=>{const r=`input[type=radio][data-ownedby='${CSS.escape(en(e))}']:not([disabled])`;return Ao(Cn(e),r)},Eh=(e,t)=>{if(t)return e.getById(vl(e,t))},Ph=e=>({left:e?.offsetLeft??0,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}),Oh=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`});function Th(e,t){const{context:r,send:n,computed:o,prop:i,scope:s}=e,a=o("isDisabled"),d=i("readOnly");function l(c){const u=r.get("focusedValue")===c.value,p=u&&wt();return{value:c.value,invalid:!!c.invalid,disabled:!!c.disabled||a,checked:r.get("value")===c.value,focused:u,focusVisible:p,hovered:r.get("hoveredValue")===c.value,active:r.get("activeValue")===c.value}}function g(c){const u=l(c);return{"data-focus":L(u.focused),"data-focus-visible":L(u.focusVisible),"data-disabled":L(u.disabled),"data-readonly":L(d),"data-state":u.checked?"checked":"unchecked","data-hover":L(u.hovered),"data-invalid":L(u.invalid),"data-orientation":i("orientation"),"data-ssr":L(r.get("ssr"))}}const f=()=>{(bh(s)??yh(s))?.focus()};return{focus:f,value:r.get("value"),setValue(c){n({type:"SET_VALUE",value:c,isTrusted:!1})},clearValue(){n({type:"SET_VALUE",value:null,isTrusted:!1})},getRootProps(){return t.element({...Et.root.attrs,role:"radiogroup",id:en(s),"aria-labelledby":zi(s),"data-orientation":i("orientation"),"data-disabled":L(a),"aria-orientation":i("orientation"),dir:i("dir"),style:{position:"relative"}})},getLabelProps(){return t.element({...Et.label.attrs,dir:i("dir"),"data-orientation":i("orientation"),"data-disabled":L(a),id:zi(s),onClick:f})},getItemState:l,getItemProps(c){const u=l(c);return t.label({...Et.item.attrs,dir:i("dir"),id:vl(s,c.value),htmlFor:fo(s,c.value),...g(c),onPointerMove(){u.disabled||u.hovered||n({type:"SET_HOVERED",value:c.value,hovered:!0})},onPointerLeave(){u.disabled||n({type:"SET_HOVERED",value:null})},onPointerDown(p){u.disabled||(u.focused&&p.pointerType==="mouse"&&p.preventDefault(),n({type:"SET_ACTIVE",value:c.value,active:!0}))},onPointerUp(){u.disabled||n({type:"SET_ACTIVE",value:null})},onClick(){!u.disabled&&fn()&&hh(s,c.value)?.focus()}})},getItemTextProps(c){return t.element({...Et.itemText.attrs,dir:i("dir"),id:mh(s,c.value),...g(c)})},getItemControlProps(c){const u=l(c);return t.element({...Et.itemControl.attrs,dir:i("dir"),id:ph(s,c.value),"data-active":L(u.active),"aria-hidden":!0,...g(c)})},getItemHiddenInputProps(c){const u=l(c);return t.input({"data-ownedby":en(s),id:fo(s,c.value),type:"radio",name:i("name")||i("id"),form:i("form"),value:c.value,onClick(p){if(d){p.preventDefault();return}p.currentTarget.checked&&n({type:"SET_VALUE",value:c.value,isTrusted:!0})},onBlur(){n({type:"SET_FOCUSED",value:null,focused:!1})},onFocus(){n({type:"SET_FOCUSED",value:c.value,focused:!0})},onKeyDown(p){p.defaultPrevented||p.key===" "&&n({type:"SET_ACTIVE",value:c.value,active:!0})},onKeyUp(p){p.defaultPrevented||p.key===" "&&n({type:"SET_ACTIVE",value:null})},disabled:u.disabled,defaultChecked:u.checked,style:pn})},getIndicatorProps(){const c=r.get("indicatorRect");return t.element({id:yl(s),...Et.indicator.attrs,dir:i("dir"),hidden:r.get("value")==null,"data-disabled":L(a),"data-orientation":i("orientation"),style:{"--transition-property":"left, top, width, height","--left":c?.left,"--top":c?.top,"--width":c?.width,"--height":c?.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:r.get("canIndicatorTransition")?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[i("orientation")==="horizontal"?"left":"top"]:i("orientation")==="horizontal"?"var(--left)":"var(--top)"}})}}}var{not:Ch}=nt(),Ih={props({props:e}){return{orientation:"vertical",...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){e("onValueChange")?.({value:r})}})),activeValue:t(()=>({defaultValue:null})),focusedValue:t(()=>({defaultValue:null})),hoveredValue:t(()=>({defaultValue:null})),indicatorRect:t(()=>({defaultValue:{}})),canIndicatorTransition:t(()=>({defaultValue:!1})),fieldsetDisabled:t(()=>({defaultValue:!1})),ssr:t(()=>({defaultValue:!0}))}},refs(){return{indicatorCleanup:null}},computed:{isDisabled:({prop:e,context:t})=>!!e("disabled")||t.get("fieldsetDisabled")},entry:["syncIndicatorRect","syncSsr"],exit:["cleanupObserver"],effects:["trackFormControlState","trackFocusVisible"],watch({track:e,action:t,context:r}){e([()=>r.get("value")],()=>{t(["setIndicatorTransition","syncIndicatorRect","syncInputElements"])})},on:{SET_VALUE:[{guard:Ch("isTrusted"),actions:["setValue","dispatchChangeEvent"]},{actions:["setValue"]}],SET_HOVERED:{actions:["setHovered"]},SET_ACTIVE:{actions:["setActive"]},SET_FOCUSED:{actions:["setFocused"]}},states:{idle:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackFormControlState({context:e,scope:t}){return gn(Cn(t),{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},trackFocusVisible({scope:e}){return vn({root:e.getRootNode?.()})}},actions:{setValue({context:e,event:t}){e.set("value",t.value)},setHovered({context:e,event:t}){e.set("hoveredValue",t.value)},setActive({context:e,event:t}){e.set("activeValue",t.value)},setFocused({context:e,event:t}){e.set("focusedValue",t.value)},syncInputElements({context:e,scope:t}){Xi(t).forEach(n=>{n.checked=n.value===e.get("value")})},setIndicatorTransition({context:e}){e.set("canIndicatorTransition",Qt(e.get("value")))},cleanupObserver({refs:e}){e.get("indicatorCleanup")?.()},syncSsr({context:e}){e.set("ssr",!1)},syncIndicatorRect({context:e,scope:t,refs:r}){if(r.get("indicatorCleanup")?.(),!vh(t))return;const n=e.get("value"),o=Eh(t,n);if(n==null||!o){e.set("canIndicatorTransition",!1),e.set("indicatorRect",{});return}const i=xs([o],{measure(s){return Ph(s)},onEntry({rects:s}){e.set("indicatorRect",Oh(s[0]))}});r.set("indicatorCleanup",i)},dispatchChangeEvent({context:e,scope:t}){Xi(t).forEach(n=>{const o=n.value===e.get("value");o!==n.checked&&So(n,{checked:o})})}}}};_()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]);_()(["value","disabled","invalid"]);const Rh=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(Ih,o);return Th(i,Le)},bl=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["defaultValue","disabled","form","id","ids","name","onValueChange","orientation","readOnly","value"]),o=Rh(r),i=R(o.getRootProps(),n);return b.jsx(dl,{value:o,children:b.jsx(N.div,{...i,ref:t})})});bl.displayName="RadioGroupRoot";const El=y.forwardRef((e,t)=>{const[{value:r},n]=Y()(e,["value"]),o=R(r.getRootProps(),n);return b.jsx(dl,{value:r,children:b.jsx(N.div,{...o,ref:t})})});El.displayName="RadioGroupRootProvider";var Pl=W("rating-group").parts("root","label","item","control");Pl.build();_()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]);_()(["index"]);const Ol=Yo.rename("segment-group");Ol.build();const[Tl,fe]=U({name:"SelectContext",hookName:"useSelectContext",providerName:"<SelectProvider />"}),Cl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getClearTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});Cl.displayName="SelectClearTrigger";const Il=y.forwardRef((e,t)=>{const r=fe(),n=de(),o=R(r.getContentProps(),n.getPresenceProps(),e);return n.unmounted?null:b.jsx(N.div,{...o,ref:De(n.ref,t)})});Il.displayName="SelectContent";const Rl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getControlProps(),e);return b.jsx(N.div,{...n,ref:t})});Rl.displayName="SelectControl";const Sl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getHiddenSelectProps(),e),o=r.value.length===0,i=Se();return b.jsxs(N.select,{"aria-describedby":i?.ariaDescribedby,...n,ref:t,children:[o&&b.jsx("option",{value:""}),r.collection.items.map((s,a)=>b.jsx("option",{value:r.collection.getItemValue(s)??"",disabled:r.collection.getItemDisabled(s),children:r.collection.stringifyItem(s)},a))]})});Sl.displayName="SelectHiddenSelect";const wl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getIndicatorProps(),e);return b.jsx(N.div,{...n,ref:t})});wl.displayName="SelectIndicator";const[Sh,gy]=U({name:"SelectItemContext",hookName:"useSelectItemContext",providerName:"<SelectItemProvider />"}),[wh,xl]=U({name:"SelectItemPropsContext",hookName:"useSelectItemPropsContext",providerName:"<SelectItemPropsProvider />"}),kl=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["item","persistFocus"]),o=fe(),i=R(o.getItemProps(r),n),s=o.getItemState(r);return b.jsx(wh,{value:r,children:b.jsx(Sh,{value:s,children:b.jsx(N.div,{...i,ref:t})})})});kl.displayName="SelectItem";const[xh,kh]=U({name:"SelectItemGroupPropsContext",hookName:"useSelectItemGroupPropsContext",providerName:"<SelectItemGroupPropsProvider />"}),Nl=y.forwardRef((e,t)=>{const r=y.useId(),[n,o]=Y()(e,["id"]),i={id:r,...n},s=fe(),a=R(s.getItemGroupProps(i),o);return b.jsx(xh,{value:i,children:b.jsx(N.div,{...a,ref:t})})});Nl.displayName="SelectItemGroup";const Al=y.forwardRef((e,t)=>{const r=fe(),n=kh(),o=R(r.getItemGroupLabelProps({htmlFor:n.id}),e);return b.jsx(N.div,{...o,ref:t})});Al.displayName="SelectItemGroupLabel";const Ll=y.forwardRef((e,t)=>{const r=fe(),n=xl(),o=R(r.getItemIndicatorProps(n),e);return b.jsx(N.div,{...o,ref:t})});Ll.displayName="SelectItemIndicator";const Dl=y.forwardRef((e,t)=>{const r=fe(),n=xl(),o=R(r.getItemTextProps(n),e);return b.jsx(N.span,{...o,ref:t})});Dl.displayName="SelectItemText";const Fl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getLabelProps(),e);return b.jsx(N.label,{...n,ref:t})});Fl.displayName="SelectLabel";const Ml=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getPositionerProps(),e);return de().unmounted?null:b.jsx(N.div,{...n,ref:t})});Ml.displayName="SelectPositioner";var _l=W("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),ue=_l.build(),Vl=e=>new Uo(e);Vl.empty=()=>new Uo({items:[]});var Nh=e=>e.ids?.root??`select:${e.id}`,go=e=>e.ids?.content??`select:${e.id}:content`,po=e=>e.ids?.trigger??`select:${e.id}:trigger`,$l=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,Dr=e=>e.ids?.label??`select:${e.id}:label`,Ah=e=>e.ids?.control??`select:${e.id}:control`,mo=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,ho=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,Gl=e=>e.ids?.positioner??`select:${e.id}:positioner`,Lh=(e,t)=>e.ids?.itemGroup?.(t)??`select:${e.id}:optgroup:${t}`,Ji=(e,t)=>e.ids?.itemGroupLabel?.(t)??`select:${e.id}:optgroup-label:${t}`,Bn=e=>e.getById(ho(e)),Ut=e=>e.getById(go(e)),lt=e=>e.getById(po(e)),Dh=e=>e.getById($l(e)),Zi=e=>e.getById(Gl(e)),Fh=(e,t)=>e.getById(mo(e,t));function Mh(e,t){const{context:r,prop:n,scope:o,state:i,computed:s,send:a}=e,d=n("disabled")||r.get("fieldsetDisabled"),l=n("invalid"),g=n("readOnly"),f=n("composite"),c=n("collection"),u=i.hasTag("open"),p=i.matches("focused"),m=r.get("highlightedValue"),T=r.get("highlightedItem"),E=r.get("selectedItems"),C=r.get("currentPlacement"),P=s("isTypingAhead"),h=s("isInteractive"),v=m?mo(o,m):void 0;function S(O){const x=c.getItemDisabled(O.item),A=c.getItemValue(O.item);return Ls(A,()=>`[zag-js] No value found for item ${JSON.stringify(O.item)}`),{value:A,disabled:!!(d||x),highlighted:m===A,selected:r.get("value").includes(A)}}const I=pr({...n("positioning"),placement:C});return{open:u,focused:p,empty:r.get("value").length===0,highlightedItem:T,highlightedValue:m,selectedItems:E,hasSelectedItems:s("hasSelectedItems"),value:r.get("value"),valueAsString:r.get("valueAsString"),collection:c,multiple:!!n("multiple"),disabled:!!d,reposition(O={}){a({type:"POSITIONING.SET",options:O})},focus(){lt(o)?.focus({preventScroll:!0})},setOpen(O){i.hasTag("open")!==O&&a({type:O?"OPEN":"CLOSE"})},selectValue(O){a({type:"ITEM.SELECT",value:O})},setValue(O){a({type:"VALUE.SET",value:O})},selectAll(){a({type:"VALUE.SET",value:c.getValues()})},highlightValue(O){a({type:"HIGHLIGHTED_VALUE.SET",value:O})},clearValue(O){a(O?{type:"ITEM.CLEAR",value:O}:{type:"VALUE.CLEAR"})},getItemState:S,getRootProps(){return t.element({...ue.root.attrs,dir:n("dir"),id:Nh(o),"data-invalid":L(l),"data-readonly":L(g)})},getLabelProps(){return t.label({dir:n("dir"),id:Dr(o),...ue.label.attrs,"data-disabled":L(d),"data-invalid":L(l),"data-readonly":L(g),htmlFor:ho(o),onClick(O){O.defaultPrevented||d||lt(o)?.focus({preventScroll:!0})}})},getControlProps(){return t.element({...ue.control.attrs,dir:n("dir"),id:Ah(o),"data-state":u?"open":"closed","data-focus":L(p),"data-disabled":L(d),"data-invalid":L(l)})},getValueTextProps(){return t.element({...ue.valueText.attrs,dir:n("dir"),"data-disabled":L(d),"data-invalid":L(l),"data-focus":L(p)})},getTriggerProps(){return t.button({id:po(o),disabled:d,dir:n("dir"),type:"button",role:"combobox","aria-controls":go(o),"aria-expanded":u,"aria-haspopup":"listbox","data-state":u?"open":"closed","aria-invalid":l,"aria-labelledby":Dr(o),...ue.trigger.attrs,"data-disabled":L(d),"data-invalid":L(l),"data-readonly":L(g),"data-placement":C,"data-placeholder-shown":L(!s("hasSelectedItems")),onClick(O){h&&(O.defaultPrevented||a({type:"TRIGGER.CLICK"}))},onFocus(){a({type:"TRIGGER.FOCUS"})},onBlur(){a({type:"TRIGGER.BLUR"})},onKeyDown(O){if(O.defaultPrevented||!h)return;const A={ArrowUp(){a({type:"TRIGGER.ARROW_UP"})},ArrowDown(w){a({type:w.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){a({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){a({type:"TRIGGER.ARROW_RIGHT"})},Home(){a({type:"TRIGGER.HOME"})},End(){a({type:"TRIGGER.END"})},Enter(){a({type:"TRIGGER.ENTER"})},Space(w){a(P?{type:"TRIGGER.TYPEAHEAD",key:w.key}:{type:"TRIGGER.ENTER"})}}[or(O,{dir:n("dir"),orientation:"vertical"})];if(A){A(O),O.preventDefault();return}ir.isValidEvent(O)&&(a({type:"TRIGGER.TYPEAHEAD",key:O.key}),O.preventDefault())}})},getIndicatorProps(){return t.element({...ue.indicator.attrs,dir:n("dir"),"aria-hidden":!0,"data-state":u?"open":"closed","data-disabled":L(d),"data-invalid":L(l),"data-readonly":L(g)})},getItemProps(O){const x=S(O);return t.element({id:mo(o,x.value),role:"option",...ue.item.attrs,dir:n("dir"),"data-value":x.value,"aria-selected":x.selected,"data-state":x.selected?"checked":"unchecked","data-highlighted":L(x.highlighted),"data-disabled":L(x.disabled),"aria-disabled":Oo(x.disabled),onPointerMove(A){x.disabled||A.pointerType!=="mouse"||x.value!==m&&a({type:"ITEM.POINTER_MOVE",value:x.value})},onClick(A){A.defaultPrevented||x.disabled||a({type:"ITEM.CLICK",src:"pointerup",value:x.value})},onPointerLeave(A){x.disabled||O.persistFocus||A.pointerType!=="mouse"||!e.event.previous()?.type.includes("POINTER")||a({type:"ITEM.POINTER_LEAVE"})}})},getItemTextProps(O){const x=S(O);return t.element({...ue.itemText.attrs,"data-state":x.selected?"checked":"unchecked","data-disabled":L(x.disabled),"data-highlighted":L(x.highlighted)})},getItemIndicatorProps(O){const x=S(O);return t.element({"aria-hidden":!0,...ue.itemIndicator.attrs,"data-state":x.selected?"checked":"unchecked",hidden:!x.selected})},getItemGroupLabelProps(O){const{htmlFor:x}=O;return t.element({...ue.itemGroupLabel.attrs,id:Ji(o,x),dir:n("dir"),role:"presentation"})},getItemGroupProps(O){const{id:x}=O;return t.element({...ue.itemGroup.attrs,"data-disabled":L(d),id:Lh(o,x),"aria-labelledby":Ji(o,x),role:"group",dir:n("dir")})},getClearTriggerProps(){return t.button({...ue.clearTrigger.attrs,id:$l(o),type:"button","aria-label":"Clear value","data-invalid":L(l),disabled:d,hidden:!s("hasSelectedItems"),dir:n("dir"),onClick(O){O.defaultPrevented||a({type:"CLEAR.CLICK"})}})},getHiddenSelectProps(){const O=r.get("value"),x=n("multiple")?O:O?.[0];return t.select({name:n("name"),form:n("form"),disabled:d,multiple:n("multiple"),required:n("required"),"aria-hidden":!0,id:ho(o),defaultValue:x,style:pn,tabIndex:-1,onFocus(){lt(o)?.focus({preventScroll:!0})},"aria-labelledby":Dr(o)})},getPositionerProps(){return t.element({...ue.positioner.attrs,dir:n("dir"),id:Gl(o),style:I.floating})},getContentProps(){return t.element({hidden:!u,dir:n("dir"),id:go(o),role:f?"listbox":"dialog",...ue.content.attrs,"data-state":u?"open":"closed","data-placement":C,"data-activedescendant":v,"aria-activedescendant":f?v:void 0,"aria-multiselectable":n("multiple")&&f?!0:void 0,"aria-labelledby":Dr(o),tabIndex:0,onKeyDown(O){if(!h||!Io(O))return;if(O.key==="Tab"&&!Os(O)){O.preventDefault();return}const x={ArrowUp(){a({type:"CONTENT.ARROW_UP"})},ArrowDown(){a({type:"CONTENT.ARROW_DOWN"})},Home(){a({type:"CONTENT.HOME"})},End(){a({type:"CONTENT.END"})},Enter(){a({type:"ITEM.CLICK",src:"keydown.enter"})},Space(D){P?a({type:"CONTENT.TYPEAHEAD",key:D.key}):x.Enter?.(D)}},A=x[or(O)];if(A){A(O),O.preventDefault();return}const w=ne(O);cn(w)||ir.isValidEvent(O)&&(a({type:"CONTENT.TYPEAHEAD",key:O.key}),O.preventDefault())}})},getListProps(){return t.element({...ue.list.attrs,tabIndex:0,role:f?void 0:"listbox","aria-labelledby":po(o),"aria-activedescendant":f?void 0:v,"aria-multiselectable":!f&&n("multiple")?!0:void 0})}}}var{and:Kt,not:at,or:_h}=nt(),Vh={props({props:e}){return{loopFocus:!1,closeOnSelect:!e.multiple,composite:!0,defaultValue:[],...e,collection:e.collection??Vl.empty(),positioning:{placement:"bottom-start",gutter:8,...e.positioning}}},context({prop:e,bindable:t}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:mn,onChange(r){const n=e("collection").findMany(r);return e("onValueChange")?.({value:r,items:n})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(r){e("onHighlightChange")?.({highlightedValue:r,highlightedItem:e("collection").find(r),highlightedIndex:e("collection").indexOf(r)})}})),currentPlacement:t(()=>({defaultValue:void 0})),fieldsetDisabled:t(()=>({defaultValue:!1})),highlightedItem:t(()=>({defaultValue:null})),selectedItems:t(()=>{const r=e("value")??e("defaultValue")??[];return{defaultValue:e("collection").findMany(r)}}),valueAsString:t(()=>{const r=e("value")??e("defaultValue")??[];return{defaultValue:e("collection").stringifyMany(r)}})}},refs(){return{typeahead:{...ir.defaultOptions}}},computed:{hasSelectedItems:({context:e})=>e.get("value").length>0,isTypingAhead:({refs:e})=>e.get("typeahead").keysSoFar!=="",isDisabled:({prop:e,context:t})=>!!e("disabled")||!!t.get("fieldsetDisabled"),isInteractive:({prop:e})=>!(e("disabled")||e("readOnly"))},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"idle"},entry:["syncSelectElement"],watch({context:e,prop:t,track:r,action:n}){r([()=>e.get("value").toString()],()=>{n(["syncSelectedItems","syncSelectElement","dispatchChangeEvent"])}),r([()=>t("open")],()=>{n(["toggleVisibility"])}),r([()=>e.get("highlightedValue")],()=>{n(["syncHighlightedItem"])}),r([()=>t("collection").toString()],()=>{n(["syncCollection"])})},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"CLEAR.CLICK":{actions:["clearSelectedItems","focusTriggerEl"]}},effects:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{target:"open",actions:["setInitialFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}]}},focused:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["setInitialFocus","highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["setInitialFocus","highlightComputedLastItem"]},{guard:_h("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["setInitialFocus","highlightComputedFirstItem"]},{target:"open",actions:["setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitialFocus","invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:Kt(at("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:at("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:Kt(at("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:at("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:at("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:at("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:at("multiple"),actions:["selectMatchingItem"]}}},open:{tags:["open"],exit:["scrollContentToTop"],effects:["trackDismissableElement","computePlacement","scrollToHighlightedItem"],on:{"CONTROLLED.CLOSE":{target:"focused",actions:["focusTriggerEl","clearHighlightedItem"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","focusTriggerEl","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:Kt("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","focusTriggerEl","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:Kt("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:Kt("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}},implementations:{guards:{loop:({prop:e})=>!!e("loopFocus"),multiple:({prop:e})=>!!e("multiple"),hasSelectedItems:({computed:e})=>!!e("hasSelectedItems"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,isFirstItemHighlighted:({context:e,prop:t})=>e.get("highlightedValue")===t("collection").firstValue,isLastItemHighlighted:({context:e,prop:t})=>e.get("highlightedValue")===t("collection").lastValue,closeOnSelect:({prop:e,event:t})=>!!(t.closeOnSelect??e("closeOnSelect")),isOpenControlled:({prop:e})=>e("open")!==void 0,isTriggerClickEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.CLICK",isTriggerEnterEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ENTER",isTriggerArrowUpEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_UP",isTriggerArrowDownEvent:({event:e})=>e.previousEvent?.type==="TRIGGER.ARROW_DOWN"},effects:{trackFormControlState({context:e,scope:t}){return gn(Bn(t),{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){const r=e.initial("value");e.set("value",r)}})},trackDismissableElement({scope:e,send:t,prop:r}){const n=()=>Ut(e);let o=!0;return mr(n,{defer:!0,exclude:[lt(e),Dh(e)],onFocusOutside:r("onFocusOutside"),onPointerDownOutside:r("onPointerDownOutside"),onInteractOutside(i){r("onInteractOutside")?.(i),o=!(i.detail.focusable||i.detail.contextmenu)},onDismiss(){t({type:"CLOSE",src:"interact-outside",restoreFocus:o})}})},computePlacement({context:e,prop:t,scope:r}){const n=t("positioning");return e.set("currentPlacement",n.placement),Ge(()=>lt(r),()=>Zi(r),{defer:!0,...n,onComplete(s){e.set("currentPlacement",s.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:r,event:n}){const o=s=>{const a=e.get("highlightedValue");if(a==null||n.current().type.includes("POINTER"))return;const d=Fh(r,a),l=Ut(r),g=t("scrollToIndexFn");if(g){const f=t("collection").indexOf(a);g?.({index:f,immediate:s});return}Rs(d,{rootEl:l,block:"nearest"})};return H(()=>o(!0)),ko(()=>Ut(r),{defer:!0,attributes:["data-activedescendant"],callback(){o(!1)}})}},actions:{reposition({context:e,prop:t,scope:r,event:n}){const o=()=>Zi(r);Ge(lt(r),o,{...t("positioning"),...n.options,defer:!0,listeners:!1,onComplete(i){e.set("currentPlacement",i.placement)}})},toggleVisibility({send:e,prop:t,event:r}){e({type:t("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})},highlightPreviousItem({context:e,prop:t}){const r=e.get("highlightedValue");if(r==null)return;const n=t("collection").getPreviousValue(r,1,t("loopFocus"));e.set("highlightedValue",n)},highlightNextItem({context:e,prop:t}){const r=e.get("highlightedValue");if(r==null)return;const n=t("collection").getNextValue(r,1,t("loopFocus"));e.set("highlightedValue",n)},highlightFirstItem({context:e,prop:t}){const r=t("collection").firstValue;e.set("highlightedValue",r)},highlightLastItem({context:e,prop:t}){const r=t("collection").lastValue;e.set("highlightedValue",r)},setInitialFocus({scope:e}){H(()=>{Wr({root:Ut(e)})?.focus({preventScroll:!0})})},focusTriggerEl({event:e,scope:t}){const r=e.restoreFocus??e.previousEvent?.restoreFocus;r!=null&&!r||H(()=>{lt(t)?.focus({preventScroll:!0})})},selectHighlightedItem({context:e,prop:t,event:r}){let n=r.value??e.get("highlightedValue");if(n==null)return;n=t("deselectable")&&!t("multiple")&&e.get("value").includes(n)?null:n,e.set("value",i=>n==null?[]:t("multiple")?fi(i,n):[n])},highlightComputedFirstItem({context:e,prop:t,computed:r}){const n=t("collection"),o=r("hasSelectedItems")?n.sort(e.get("value"))[0]:n.firstValue;e.set("highlightedValue",o)},highlightComputedLastItem({context:e,prop:t,computed:r}){const n=t("collection"),o=r("hasSelectedItems")?n.sort(e.get("value"))[0]:n.lastValue;e.set("highlightedValue",o)},highlightFirstSelectedItem({context:e,prop:t,computed:r}){if(!r("hasSelectedItems"))return;const n=t("collection").sort(e.get("value"))[0];e.set("highlightedValue",n)},highlightItem({context:e,event:t}){e.set("highlightedValue",t.value)},highlightMatchingItem({context:e,prop:t,event:r,refs:n}){const o=t("collection").search(r.key,{state:n.get("typeahead"),currentValue:e.get("highlightedValue")});o!=null&&e.set("highlightedValue",o)},setHighlightedItem({context:e,event:t}){e.set("highlightedValue",t.value)},clearHighlightedItem({context:e}){e.set("highlightedValue",null)},selectItem({context:e,prop:t,event:r}){const o=t("deselectable")&&!t("multiple")&&e.get("value").includes(r.value)?null:r.value;e.set("value",i=>o==null?[]:t("multiple")?fi(i,o):[o])},clearItem({context:e,event:t}){e.set("value",r=>r.filter(n=>n!==t.value))},setSelectedItems({context:e,event:t}){e.set("value",t.value)},clearSelectedItems({context:e}){e.set("value",[])},selectPreviousItem({context:e,prop:t}){const[r]=e.get("value"),n=t("collection").getPreviousValue(r);n&&e.set("value",[n])},selectNextItem({context:e,prop:t}){const[r]=e.get("value"),n=t("collection").getNextValue(r);n&&e.set("value",[n])},selectFirstItem({context:e,prop:t}){const r=t("collection").firstValue;r&&e.set("value",[r])},selectLastItem({context:e,prop:t}){const r=t("collection").lastValue;r&&e.set("value",[r])},selectMatchingItem({context:e,prop:t,event:r,refs:n}){const o=t("collection").search(r.key,{state:n.get("typeahead"),currentValue:e.get("value")[0]});o!=null&&e.set("value",[o])},scrollContentToTop({prop:e,scope:t}){e("scrollToIndexFn")?e("scrollToIndexFn")?.({index:0,immediate:!0}):Ut(t)?.scrollTo(0,0)},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},syncSelectElement({context:e,prop:t,scope:r}){const n=Bn(r);if(n){if(e.get("value").length===0&&!t("multiple")){n.selectedIndex=-1;return}for(const o of n.options)o.selected=e.get("value").includes(o.value)}},syncCollection({context:e,prop:t}){const r=t("collection"),n=r.find(e.get("highlightedValue"));n&&e.set("highlightedItem",n);const o=r.findMany(e.get("value"));e.set("selectedItems",o);const i=r.stringifyItems(o);e.set("valueAsString",i)},syncSelectedItems({context:e,prop:t}){const r=t("collection"),n=e.get("selectedItems"),i=e.get("value").map(s=>n.find(d=>r.getItemValue(d)===s)||r.find(s));e.set("selectedItems",i),e.set("valueAsString",r.stringifyItems(i))},syncHighlightedItem({context:e,prop:t}){const r=t("collection"),n=e.get("highlightedValue"),o=n?r.find(n):null;e.set("highlightedItem",o)},dispatchChangeEvent({scope:e}){queueMicrotask(()=>{const t=Bn(e);if(!t)return;const r=e.getWin(),n=new r.Event("change",{bubbles:!0,composed:!0});t.dispatchEvent(n)})}}}};_()(["closeOnSelect","collection","dir","disabled","deselectable","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","defaultOpen","open","composite","positioning","required","readOnly","scrollToIndexFn","value","defaultValue","defaultHighlightedValue"]);_()(["item","persistFocus"]);_()(["id"]);_()(["htmlFor"]);const $h=e=>{const t=y.useId(),{dir:r}=Fe(),{getRootNode:n}=Ce(),o=Se(),i={id:t,ids:{label:o?.ids.label,hiddenSelect:o?.ids.control},disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,dir:r,getRootNode:n,...e},s=Ie(Vh,i);return Mh(s,Le)},Gh=(e,t)=>{const[r,n]=Re(e),[o,i]=Y()(n,["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","disabled","form","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),s=$h(o),a=me(R({present:s.open},r)),d=R(s.getRootProps(),i);return b.jsx(Tl,{value:s,children:b.jsx(be,{value:a,children:b.jsx(N.div,{...d,ref:t})})})},jh=y.forwardRef(Gh),Bh=(e,t)=>{const[r,n]=Re(e),[{value:o},i]=Y()(n,["value"]),s=me(R({present:o.open},r)),a=R(o.getRootProps(),i);return b.jsx(Tl,{value:o,children:b.jsx(be,{value:s,children:b.jsx(N.div,{...a,ref:t})})})},Hh=y.forwardRef(Bh),jl=y.forwardRef((e,t)=>{const r=fe(),n=R(r.getTriggerProps(),e);return b.jsx(N.button,{...n,ref:t})});jl.displayName="SelectTrigger";const Bl=y.forwardRef((e,t)=>{const{children:r,placeholder:n,...o}=e,i=fe(),s=R(i.getValueTextProps(),o);return b.jsx(N.span,{...s,ref:t,children:r||i.valueAsString||n})});Bl.displayName="SelectValueText";var Hl=W("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");Hl.build();_()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]);_()(["index","name"]);const[Wl,yr]=U({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),Ul=y.forwardRef((e,t)=>{const r=yr(),n=R(r.getControlProps(),e);return b.jsx(N.span,{...n,ref:t})});Ul.displayName="SwitchControl";const Kl=y.forwardRef((e,t)=>{const r=yr(),n=R(r.getHiddenInputProps(),e),o=Se();return b.jsx(N.input,{"aria-describedby":o?.ariaDescribedby,...n,ref:t})});Kl.displayName="SwitchHiddenInput";const Yl=y.forwardRef((e,t)=>{const r=yr(),n=R(r.getLabelProps(),e);return b.jsx(N.span,{...n,ref:t})});Yl.displayName="SwitchLabel";var ql=W("switch").parts("root","label","control","thumb"),Fr=ql.build(),zl=e=>e.ids?.root??`switch:${e.id}`,Qi=e=>e.ids?.label??`switch:${e.id}:label`,Wh=e=>e.ids?.thumb??`switch:${e.id}:thumb`,Uh=e=>e.ids?.control??`switch:${e.id}:control`,vo=e=>e.ids?.hiddenInput??`switch:${e.id}:input`,Kh=e=>e.getById(zl(e)),Ct=e=>e.getById(vo(e));function Yh(e,t){const{context:r,send:n,prop:o,scope:i}=e,s=o("disabled"),a=o("readOnly"),d=!!r.get("checked"),l=!s&&r.get("focused"),g=!s&&r.get("focusVisible"),f={"data-active":L(r.get("active")),"data-focus":L(l),"data-focus-visible":L(g),"data-readonly":L(a),"data-hover":L(r.get("hovered")),"data-disabled":L(s),"data-state":d?"checked":"unchecked","data-invalid":L(o("invalid"))};return{checked:d,disabled:s,focused:l,setChecked(c){n({type:"CHECKED.SET",checked:c,isTrusted:!1})},toggleChecked(){n({type:"CHECKED.TOGGLE",checked:d,isTrusted:!1})},getRootProps(){return t.label({...Fr.root.attrs,...f,dir:o("dir"),id:zl(i),htmlFor:vo(i),onPointerMove(){s||n({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){s||n({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(c){if(s)return;ne(c)===Ct(i)&&c.stopPropagation(),fn()&&Ct(i)?.focus()}})},getLabelProps(){return t.element({...Fr.label.attrs,...f,dir:o("dir"),id:Qi(i)})},getThumbProps(){return t.element({...Fr.thumb.attrs,...f,dir:o("dir"),id:Wh(i),"aria-hidden":!0})},getControlProps(){return t.element({...Fr.control.attrs,...f,dir:o("dir"),id:Uh(i),"aria-hidden":!0})},getHiddenInputProps(){return t.input({id:vo(i),type:"checkbox",required:o("required"),defaultChecked:d,disabled:s,"aria-labelledby":Qi(i),"aria-invalid":o("invalid"),name:o("name"),form:o("form"),value:o("value"),style:pn,onFocus(){const c=wt();n({type:"CONTEXT.SET",context:{focused:!0,focusVisible:c}})},onBlur(){n({type:"CONTEXT.SET",context:{focused:!1,focusVisible:!1}})},onClick(c){if(a){c.preventDefault();return}const u=c.currentTarget.checked;n({type:"CHECKED.SET",checked:u,isTrusted:!0})}})}}}var{not:es}=nt(),qh={props({props:e}){return{defaultChecked:!1,label:"switch",value:"on",...e}},initialState(){return"ready"},context({prop:e,bindable:t}){return{checked:t(()=>({defaultValue:e("defaultChecked"),value:e("checked"),onChange(r){e("onCheckedChange")?.({checked:r})}})),fieldsetDisabled:t(()=>({defaultValue:!1})),focusVisible:t(()=>({defaultValue:!1})),active:t(()=>({defaultValue:!1})),focused:t(()=>({defaultValue:!1})),hovered:t(()=>({defaultValue:!1}))}},computed:{isDisabled:({context:e,prop:t})=>t("disabled")||e.get("fieldsetDisabled")},watch({track:e,prop:t,context:r,action:n}){e([()=>t("disabled")],()=>{n(["removeFocusIfNeeded"])}),e([()=>r.get("checked")],()=>{n(["syncInputElement"])})},effects:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:es("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:es("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({computed:e,scope:t,context:r}){if(!e("isDisabled"))return Ss({pointerNode:Kh(t),keyboardNode:Ct(t),isValidKey:n=>n.key===" ",onPress:()=>r.set("active",!1),onPressStart:()=>r.set("active",!0),onPressEnd:()=>r.set("active",!1)})},trackFocusVisible({computed:e,scope:t}){if(!e("isDisabled"))return vn({root:t.getRootNode()})},trackFormControlState({context:e,send:t,scope:r}){return gn(Ct(r),{onFieldsetDisabledChange(n){e.set("fieldsetDisabled",n)},onFormReset(){const n=e.initial("checked");t({type:"CHECKED.SET",checked:!!n,src:"form-reset"})}})}},actions:{setContext({context:e,event:t}){for(const r in t.context)e.set(r,t.context[r])},syncInputElement({context:e,scope:t}){const r=Ct(t);r&&Ro(r,!!e.get("checked"))},removeFocusIfNeeded({context:e,prop:t}){t("disabled")&&e.set("focused",!1)},setChecked({context:e,event:t}){e.set("checked",t.checked)},toggleChecked({context:e}){e.set("checked",!e.get("checked"))},dispatchChangeEvent({context:e,scope:t}){const r=Ct(t);So(r,{checked:e.get("checked")})}}}};_()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);const zh=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o=Se(),i={id:t,ids:{label:o?.ids.label,hiddenInput:o?.ids.control},dir:n,disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,getRootNode:r,...e},s=Ie(qh,i);return Yh(s,Le)},Xl=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),o=zh(r),i=R(o.getRootProps(),n);return b.jsx(Wl,{value:o,children:b.jsx(N.label,{...i,ref:t})})});Xl.displayName="SwitchRoot";const Jl=y.forwardRef((e,t)=>{const[{value:r},n]=Y()(e,["value"]),o=R(r.getRootProps(),n);return b.jsx(Wl,{value:r,children:b.jsx(N.label,{...o,ref:t})})});Jl.displayName="SwitchRootProvider";const Zl=y.forwardRef((e,t)=>{const r=yr(),n=R(r.getThumbProps(),e);return b.jsx(N.span,{...n,ref:t})});Zl.displayName="SwitchThumb";function Xh(e,t){const[r,n]=y.useState(e);return y.useEffect(()=>{const o=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(o)}},[e,t]),r}const[Ql,In]=U({name:"TabsContext",hookName:"useTabsContext",providerName:"<TabsProvider />"}),eu=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["value"]),o=In(),i=gc(),s=me({...i,present:Xh(o.value===e.value,0),immediate:!0}),a=R(o.getContentProps(r),s.getPresenceProps(),n);return b.jsx(be,{value:s,children:s.unmounted?null:b.jsx(N.div,{...a,ref:De(s.ref,t)})})});eu.displayName="TabContent";const tu=y.forwardRef((e,t)=>{const r=In(),n=R(r.getIndicatorProps(),e);return b.jsx(N.div,{...n,ref:t})});tu.displayName="TabIndicator";const ru=y.forwardRef((e,t)=>{const r=In(),n=R(r.getListProps(),e);return b.jsx(N.div,{...n,ref:t})});ru.displayName="TabList";const nu=y.forwardRef((e,t)=>{const[r,n]=Y()(e,["disabled","value"]),o=In(),i=R(o.getTriggerProps(r),n);return b.jsx(N.button,{...i,ref:t})});nu.displayName="TabTrigger";var Jh=W("tabs").parts("root","list","trigger","content","indicator"),Yt=Jh.build(),Zh=e=>e.ids?.root??`tabs:${e.id}`,rr=e=>e.ids?.list??`tabs:${e.id}:list`,yo=(e,t)=>e.ids?.content??`tabs:${e.id}:content-${t}`,ut=(e,t)=>e.ids?.trigger??`tabs:${e.id}:trigger-${t}`,ou=e=>e.ids?.indicator??`tabs:${e.id}:indicator`,Qh=e=>e.getById(rr(e)),ev=(e,t)=>e.getById(yo(e,t)),Br=(e,t)=>e.getById(ut(e,t)),ts=e=>e.getById(ou(e)),br=e=>{const r=`[role=tab][data-ownedby='${CSS.escape(rr(e))}']:not([disabled])`;return Ao(Qh(e),r)},tv=e=>ks(br(e)),rv=e=>Ns(br(e)),nv=(e,t)=>Nd(br(e),ut(e,t.value),t.loopFocus),ov=(e,t)=>Ad(br(e),ut(e,t.value),t.loopFocus),iu=e=>({left:e?.offsetLeft??0,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}),iv=(e,t)=>{const r=ws(br(e),ut(e,t));return su(iu(r))},su=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`});function sv(e,t){const{state:r,send:n,context:o,prop:i,scope:s}=e,a=i("translations"),d=r.matches("focused"),l=i("orientation")==="vertical",g=i("orientation")==="horizontal",f=i("composite");function c(u){return{selected:o.get("value")===u.value,focused:o.get("focusedValue")===u.value,disabled:!!u.disabled}}return{value:o.get("value"),focusedValue:o.get("focusedValue"),setValue(u){n({type:"SET_VALUE",value:u})},clearValue(){n({type:"CLEAR_VALUE"})},setIndicatorRect(u){const p=ut(s,u);n({type:"SET_INDICATOR_RECT",id:p})},syncTabIndex(){n({type:"SYNC_TAB_INDEX"})},selectNext(u){n({type:"TAB_FOCUS",value:u,src:"selectNext"}),n({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(u){n({type:"TAB_FOCUS",value:u,src:"selectPrev"}),n({type:"ARROW_PREV",src:"selectPrev"})},focus(){const u=o.get("value");u&&Br(s,u)?.focus()},getRootProps(){return t.element({...Yt.root.attrs,id:Zh(s),"data-orientation":i("orientation"),"data-focus":L(d),dir:i("dir")})},getListProps(){return t.element({...Yt.list.attrs,id:rr(s),role:"tablist",dir:i("dir"),"data-focus":L(d),"aria-orientation":i("orientation"),"data-orientation":i("orientation"),"aria-label":a?.listLabel,onKeyDown(u){if(u.defaultPrevented||!Io(u)||ys(u))return;const p={ArrowDown(){g||n({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){g||n({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){l||n({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){l||n({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){n({type:"HOME"})},End(){n({type:"END"})},Enter(){n({type:"ENTER"})}};let m=or(u,{dir:i("dir"),orientation:i("orientation")});const T=p[m];T&&(u.preventDefault(),T(u))}})},getTriggerState:c,getTriggerProps(u){const{value:p,disabled:m}=u,T=c(u);return t.button({...Yt.trigger.attrs,role:"tab",type:"button",disabled:m,dir:i("dir"),"data-orientation":i("orientation"),"data-disabled":L(m),"aria-disabled":m,"data-value":p,"aria-selected":T.selected,"data-selected":L(T.selected),"data-focus":L(T.focused),"aria-controls":T.selected?yo(s,p):void 0,"data-ownedby":rr(s),"data-ssr":L(o.get("ssr")),id:ut(s,p),tabIndex:T.selected&&f?0:-1,onFocus(){n({type:"TAB_FOCUS",value:p})},onBlur(E){E.relatedTarget?.getAttribute("role")!=="tab"&&n({type:"TAB_BLUR"})},onClick(E){E.defaultPrevented||m||(fn()&&E.currentTarget.focus(),n({type:"TAB_CLICK",value:p}))}})},getContentProps(u){const{value:p}=u,m=o.get("value")===p;return t.element({...Yt.content.attrs,dir:i("dir"),id:yo(s,p),tabIndex:f?0:-1,"aria-labelledby":ut(s,p),role:"tabpanel","data-ownedby":rr(s),"data-selected":L(m),"data-orientation":i("orientation"),hidden:!m})},getIndicatorProps(){const u=o.get("indicatorRect"),p=o.get("indicatorTransition");return t.element({id:ou(s),...Yt.indicator.attrs,dir:i("dir"),"data-orientation":i("orientation"),style:{"--transition-property":"left, right, top, bottom, width, height","--left":u.left,"--top":u.top,"--width":u.width,"--height":u.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:p?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[g?"left":"top"]:g?"var(--left)":"var(--top)"}})}}}var{not:av}=nt(),cv={props({props:e}){return{dir:"ltr",orientation:"horizontal",activationMode:"automatic",loopFocus:!0,composite:!0,navigate(t){Cs(t.node)},defaultValue:null,...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){e("onValueChange")?.({value:r})}})),focusedValue:t(()=>({defaultValue:e("value")||e("defaultValue"),sync:!0,onChange(r){e("onFocusChange")?.({focusedValue:r})}})),ssr:t(()=>({defaultValue:!0})),indicatorTransition:t(()=>({defaultValue:!1})),indicatorRect:t(()=>({defaultValue:{left:"0px",top:"0px",width:"0px",height:"0px"}}))}},watch({context:e,prop:t,track:r,action:n}){r([()=>e.get("value")],()=>{n(["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","navigateIfNeeded"])}),r([()=>t("dir"),()=>t("orientation")],()=>{n(["syncIndicatorRect"])})},on:{SET_VALUE:{actions:["setValue"]},CLEAR_VALUE:{actions:["clearValue"]},SET_INDICATOR_RECT:{actions:["setIndicatorRect"]},SYNC_TAB_INDEX:{actions:["syncTabIndex"]}},entry:["syncIndicatorRect","syncTabIndex","syncSsr"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:["setFocusedValue"]},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:["focusPrevTab"]}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:["focusNextTab"]}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:["focusFirstTab"]}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:["focusLastTab"]}],ENTER:{guard:av("selectOnFocus"),actions:["selectFocusedTab"]},TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{selectOnFocus:({prop:e})=>e("activationMode")==="automatic"},actions:{selectFocusedTab({context:e,prop:t}){H(()=>{const r=e.get("focusedValue");if(!r)return;const o=t("deselectable")&&e.get("value")===r?null:r;e.set("value",o)})},setFocusedValue({context:e,event:t,flush:r}){t.value!=null&&r(()=>{e.set("focusedValue",t.value)})},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t,prop:r}){const n=r("deselectable")&&e.get("value")===e.get("focusedValue");e.set("value",n?null:t.value)},clearValue({context:e}){e.set("value",null)},focusFirstTab({scope:e}){H(()=>{tv(e)?.focus()})},focusLastTab({scope:e}){H(()=>{rv(e)?.focus()})},focusNextTab({context:e,prop:t,scope:r,event:n}){const o=n.value??e.get("focusedValue");if(!o)return;const i=nv(r,{value:o,loopFocus:t("loopFocus")});H(()=>{t("composite")?i?.focus():i?.dataset.value!=null&&e.set("focusedValue",i.dataset.value)})},focusPrevTab({context:e,prop:t,scope:r,event:n}){const o=n.value??e.get("focusedValue");if(!o)return;const i=ov(r,{value:o,loopFocus:t("loopFocus")});H(()=>{t("composite")?i?.focus():i?.dataset.value!=null&&e.set("focusedValue",i.dataset.value)})},syncTabIndex({context:e,scope:t}){H(()=>{const r=e.get("value");if(!r)return;const n=ev(t,r);if(!n)return;xo(n).length>0?n.removeAttribute("tabindex"):n.setAttribute("tabindex","0")})},cleanupObserver({refs:e}){const t=e.get("indicatorCleanup");t&&t()},allowIndicatorTransition({context:e}){e.set("indicatorTransition",!0)},setIndicatorRect({context:e,event:t,scope:r}){const n=t.id??e.get("value");if(!ts(r))return;if(!n){e.set("indicatorTransition",!1);return}Br(r,n)&&(e.set("indicatorRect",iv(r,n)),Ts(()=>{e.set("indicatorTransition",!1)}))},syncSsr({context:e}){e.set("ssr",!1)},syncIndicatorRect({context:e,refs:t,scope:r}){const n=t.get("indicatorCleanup");n&&n();const o=e.get("value");if(!o){e.set("indicatorTransition",!1);return}const i=Br(r,o),s=ts(r);if(!i||!s)return;const a=xs([i],{measure(d){return iu(d)},onEntry({rects:d}){const[l]=d;e.set("indicatorRect",su(l))}});t.set("indicatorCleanup",a)},navigateIfNeeded({context:e,prop:t,scope:r}){const n=e.get("value");if(!n)return;const o=Br(r,n);gs(o)&&t("navigate")?.({value:n,node:o})}}}};_()(["activationMode","composite","deselectable","dir","getRootNode","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value","defaultValue"]);_()(["disabled","value"]);_()(["value"]);const lv=e=>{const t=y.useId(),{getRootNode:r}=Ce(),{dir:n}=Fe(),o={id:t,dir:n,getRootNode:r,...e},i=Ie(cv,o);return sv(i,Le)},au=y.forwardRef((e,t)=>{const[r,n]=Tn(e),[o,i]=Y()(n,["activationMode","composite","defaultValue","deselectable","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value"]),s=lv(o),a=R(s.getRootProps(),i);return b.jsx(Ql,{value:s,children:b.jsx(On,{value:r,children:b.jsx(N.div,{...a,ref:t})})})});au.displayName="TabsRoot";const cu=y.forwardRef((e,t)=>{const[r,n]=Tn(e),[{value:o},i]=Y()(n,["value"]),s=R(o.getRootProps(),i);return b.jsx(Ql,{value:o,children:b.jsx(On,{value:r,children:b.jsx(N.div,{...s,ref:t})})})});cu.displayName="TabsRootProvider";var uv=Math.ceil,dv=Math.max;function fv(e,t,r,n){for(var o=-1,i=dv(uv((t-e)/(r||1)),0),s=Array(i);i--;)s[++o]=e,e+=r;return s}function gv(e,t){return e===t||e!==e&&t!==t}var pv=typeof global=="object"&&global&&global.Object===Object&&global,mv=typeof self=="object"&&self&&self.Object===Object&&self,hv=pv||mv||Function("return this")(),tn=hv.Symbol,lu=Object.prototype,vv=lu.hasOwnProperty,yv=lu.toString,qt=tn?tn.toStringTag:void 0;function bv(e){var t=vv.call(e,qt),r=e[qt];try{e[qt]=void 0;var n=!0}catch{}var o=yv.call(e);return n&&(t?e[qt]=r:delete e[qt]),o}var Ev=Object.prototype,Pv=Ev.toString;function Ov(e){return Pv.call(e)}var Tv="[object Null]",Cv="[object Undefined]",rs=tn?tn.toStringTag:void 0;function uu(e){return e==null?e===void 0?Cv:Tv:rs&&rs in Object(e)?bv(e):Ov(e)}function rn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Iv="[object AsyncFunction]",Rv="[object Function]",Sv="[object GeneratorFunction]",wv="[object Proxy]";function xv(e){if(!rn(e))return!1;var t=uu(e);return t==Rv||t==Sv||t==Iv||t==wv}var kv=9007199254740991;function Nv(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=kv}function Av(e){return e!=null&&Nv(e.length)&&!xv(e)}var Lv=9007199254740991,Dv=/^(?:0|[1-9]\d*)$/;function Fv(e,t){var r=typeof e;return t=t??Lv,!!t&&(r=="number"||r!="symbol"&&Dv.test(e))&&e>-1&&e%1==0&&e<t}function Mv(e,t,r){if(!rn(r))return!1;var n=typeof t;return(n=="number"?Av(r)&&Fv(t,r.length):n=="string"&&t in r)?gv(r[t],e):!1}var _v=/\s/;function Vv(e){for(var t=e.length;t--&&_v.test(e.charAt(t)););return t}var $v=/^\s+/;function Gv(e){return e&&e.slice(0,Vv(e)+1).replace($v,"")}function jv(e){return e!=null&&typeof e=="object"}var Bv="[object Symbol]";function Hv(e){return typeof e=="symbol"||jv(e)&&uu(e)==Bv}var ns=NaN,Wv=/^[-+]0x[0-9a-f]+$/i,Uv=/^0b[01]+$/i,Kv=/^0o[0-7]+$/i,Yv=parseInt;function qv(e){if(typeof e=="number")return e;if(Hv(e))return ns;if(rn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=rn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Gv(e);var r=Uv.test(e);return r||Kv.test(e)?Yv(e.slice(2),r?2:8):Wv.test(e)?ns:+e}var zv=1/0,Xv=17976931348623157e292;function Hn(e){if(!e)return e===0?e:0;if(e=qv(e),e===zv||e===-1/0){var t=e<0?-1:1;return t*Xv}return e===e?e:0}function Jv(e){return function(t,r,n){return n&&typeof n!="number"&&Mv(t,r,n)&&(r=n=void 0),t=Hn(t),r===void 0?(r=t,t=0):r=Hn(r),n=n===void 0?t<r?1:-1:Hn(n),fv(t,r,n)}}var Zv=Jv(),Qv=(e,t,r,n,o,i,s,a)=>{let d=document.documentElement,l=["light","dark"];function g(u){(Array.isArray(e)?e:[e]).forEach(p=>{let m=p==="class",T=m&&i?o.map(E=>i[E]||E):o;m?(d.classList.remove(...T),d.classList.add(i&&i[u]?i[u]:u)):d.setAttribute(p,u)}),f(u)}function f(u){a&&l.includes(u)&&(d.style.colorScheme=u)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(n)g(n);else try{let u=localStorage.getItem(t)||r,p=s&&u==="system"?c():u;g(p)}catch{}},os=["light","dark"],du="(prefers-color-scheme: dark)",ey=typeof window>"u",qo=Q.createContext(void 0),ty={setTheme:e=>{},themes:[]},ry=()=>{var e;return(e=Q.useContext(qo))!=null?e:ty},ny=e=>Q.useContext(qo)?Q.createElement(Q.Fragment,null,e.children):Q.createElement(iy,{...e}),oy=["light","dark"],iy=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:n=!0,storageKey:o="theme",themes:i=oy,defaultTheme:s=r?"system":"light",attribute:a="data-theme",value:d,children:l,nonce:g,scriptProps:f})=>{let[c,u]=Q.useState(()=>ay(o,s)),[p,m]=Q.useState(()=>c==="system"?Wn():c),T=d?Object.values(d):i,E=Q.useCallback(v=>{let S=v;if(!S)return;v==="system"&&r&&(S=Wn());let I=d?d[S]:S,O=t?cy(g):null,x=document.documentElement,A=w=>{w==="class"?(x.classList.remove(...T),I&&x.classList.add(I)):w.startsWith("data-")&&(I?x.setAttribute(w,I):x.removeAttribute(w))};if(Array.isArray(a)?a.forEach(A):A(a),n){let w=os.includes(s)?s:null,D=os.includes(S)?S:w;x.style.colorScheme=D}O?.()},[g]),C=Q.useCallback(v=>{let S=typeof v=="function"?v(c):v;u(S);try{localStorage.setItem(o,S)}catch{}},[c]),P=Q.useCallback(v=>{let S=Wn(v);m(S),c==="system"&&r&&!e&&E("system")},[c,e]);Q.useEffect(()=>{let v=window.matchMedia(du);return v.addListener(P),P(v),()=>v.removeListener(P)},[P]),Q.useEffect(()=>{let v=S=>{S.key===o&&(S.newValue?u(S.newValue):C(s))};return window.addEventListener("storage",v),()=>window.removeEventListener("storage",v)},[C]),Q.useEffect(()=>{E(e??c)},[e,c]);let h=Q.useMemo(()=>({theme:c,setTheme:C,forcedTheme:e,resolvedTheme:c==="system"?p:c,themes:r?[...i,"system"]:i,systemTheme:r?p:void 0}),[c,C,e,p,r,i]);return Q.createElement(qo.Provider,{value:h},Q.createElement(sy,{forcedTheme:e,storageKey:o,attribute:a,enableSystem:r,enableColorScheme:n,defaultTheme:s,value:d,themes:i,nonce:g,scriptProps:f}),l)},sy=Q.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:o,defaultTheme:i,value:s,themes:a,nonce:d,scriptProps:l})=>{let g=JSON.stringify([r,t,i,e,a,s,n,o]).slice(1,-1);return Q.createElement("script",{...l,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${Qv.toString()})(${g})`}})}),ay=(e,t)=>{if(ey)return;let r;try{r=localStorage.getItem(e)||void 0}catch{}return r||t},cy=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Wn=e=>(e||(e=window.matchMedia(du)),e.matches?"dark":"light");exports.AvatarFallback=la;exports.AvatarImage=ua;exports.AvatarRoot=pa;exports.AvatarRootProvider=ma;exports.CheckboxControl=qa;exports.CheckboxGroup=Qa;exports.CheckboxHiddenInput=ec;exports.CheckboxLabel=tc;exports.CheckboxRoot=rc;exports.CheckboxRootProvider=nc;exports.DECLARATION=Eo;exports.DialogBackdrop=bc;exports.DialogCloseTrigger=Ec;exports.DialogContent=Pc;exports.DialogDescription=Oc;exports.DialogPositioner=Tc;exports.DialogRoot=Wm;exports.DialogRootProvider=Um;exports.DialogTitle=Nc;exports.DialogTrigger=Ac;exports.FieldErrorText=oc;exports.FieldHelperText=ic;exports.FieldInput=sc;exports.FieldLabel=ac;exports.FieldRoot=lc;exports.FieldTextarea=uc;exports.HoverCardArrow=_c;exports.HoverCardArrowTip=Vc;exports.HoverCardContent=$c;exports.HoverCardContext=Km;exports.HoverCardPositioner=Gc;exports.HoverCardRoot=Zm;exports.HoverCardRootProvider=Qm;exports.HoverCardTrigger=Uc;exports.J=ny;exports.KEYFRAMES=ss;exports.MOZ=yu;exports.MS=vu;exports.MenuArrow=va;exports.MenuArrowTip=ya;exports.MenuCheckboxItem=Pa;exports.MenuContent=Oa;exports.MenuContextTrigger=Ta;exports.MenuIndicator=Ca;exports.MenuItem=Ia;exports.MenuItemGroup=wa;exports.MenuItemGroupLabel=xa;exports.MenuItemIndicator=ka;exports.MenuItemText=Na;exports.MenuPositioner=Aa;exports.MenuRadioItem=La;exports.MenuRadioItemGroup=Da;exports.MenuRoot=em;exports.MenuRootProvider=tm;exports.MenuSeparator=Wa;exports.MenuTrigger=Ua;exports.MenuTriggerItem=Ka;exports.PopoverAnchor=zc;exports.PopoverArrow=Xc;exports.PopoverArrowTip=Jc;exports.PopoverCloseTrigger=Zc;exports.PopoverContent=Qc;exports.PopoverContext=eh;exports.PopoverDescription=el;exports.PopoverIndicator=tl;exports.PopoverPositioner=rl;exports.PopoverRoot=ch;exports.PopoverRootProvider=lh;exports.PopoverTitle=al;exports.PopoverTrigger=cl;exports.Portal=Yd;exports.RULESET=bo;exports.RadioGroupItem=fl;exports.RadioGroupItemContext=gh;exports.RadioGroupItemControl=gl;exports.RadioGroupItemHiddenInput=pl;exports.RadioGroupItemText=ml;exports.RadioGroupLabel=hl;exports.RadioGroupRoot=bl;exports.RadioGroupRootProvider=El;exports.SelectClearTrigger=Cl;exports.SelectContent=Il;exports.SelectControl=Rl;exports.SelectHiddenSelect=Sl;exports.SelectIndicator=wl;exports.SelectItem=kl;exports.SelectItemGroup=Nl;exports.SelectItemGroupLabel=Al;exports.SelectItemIndicator=Ll;exports.SelectItemText=Dl;exports.SelectLabel=Fl;exports.SelectPositioner=Ml;exports.SelectRoot=jh;exports.SelectRootProvider=Hh;exports.SelectTrigger=jl;exports.SelectValueText=Bl;exports.SwitchControl=Ul;exports.SwitchHiddenInput=Kl;exports.SwitchLabel=Yl;exports.SwitchRoot=Xl;exports.SwitchRootProvider=Jl;exports.SwitchThumb=Zl;exports.TabContent=eu;exports.TabIndicator=tu;exports.TabList=ru;exports.TabTrigger=nu;exports.TabsRoot=au;exports.TabsRootProvider=cu;exports.TooltipArrow=_s;exports.TooltipArrowTip=Vs;exports.TooltipContent=$s;exports.TooltipPositioner=Gs;exports.TooltipRoot=op;exports.TooltipRootProvider=ip;exports.TooltipTrigger=sa;exports.WEBKIT=bu;exports.alloc=us;exports.anatomy=ql;exports.anatomy$1=Hl;exports.anatomy$10=pc;exports.anatomy$11=da;exports.anatomy$12=dc;exports.anatomy$13=jc;exports.anatomy$14=Kc;exports.anatomy$15=Yc;exports.anatomy$16=ll;exports.anatomy$17=ul;exports.anatomy$18=na;exports.anatomy$2=_l;exports.anatomy$3=Pl;exports.anatomy$4=Yo;exports.anatomy$5=nl;exports.anatomy$6=_a;exports.anatomy$7=Fc;exports.anatomy$8=Lc;exports.anatomy$9=Rc;exports.charat=ke;exports.checkboxAnatomy=Ja;exports.colorPickerAnatomy=hm;exports.combine=Ru;exports.compile=Du;exports.copy=Su;exports.createAnatomy=W;exports.createListCollection=Pm;exports.dealloc=ds;exports.delimit=_r;exports.fieldAnatomy=cc;exports.fieldsetAnatomy=Dc;exports.from=nn;exports.hash=Cu;exports.indexof=cs;exports.isCssProperty=bp;exports.jsxRuntimeExports=b;exports.match=Iu;exports.middleware=_u;exports.next=Te;exports.peek=Je;exports.range=Zv;exports.reactDomExports=dr;exports.replace=Zt;exports.rulesheet=Vu;exports.segmentGroupAnatomy=Ol;exports.serialize=Kn;exports.slice=lr;exports.stringify=Mu;exports.stringify$1=Op;exports.strlen=We;exports.token=Hr;exports.useCheckboxContext=Pn;exports.useCheckboxGroup=Za;exports.useDialogContext=ot;exports.useFieldContext=Se;exports.useHoverCardContext=pt;exports.usePopoverContext=we;exports.useSelectContext=fe;exports.useSwitchContext=yr;exports.z=ry;
|
|
57
|
+
//# sourceMappingURL=vendor-D-x6W6ez.js.map
|