@optiaxiom/web-components 0.10.11 → 0.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionsRoot-BJkYY5yb.js +1 -0
- package/dist/AlertDialogContext-BTuMQHx5.js +1 -0
- package/dist/AngleMenuButton-CMbX1bw_.js +1 -0
- package/dist/Avatar-df_YjFA7.js +1 -0
- package/dist/AvatarContext-C4vowPUp.js +1 -0
- package/dist/AvatarGroup-Cdk62rY4.js +1 -0
- package/dist/Backdrop-2zsBjcth.js +1 -0
- package/dist/Badge-iNYnyzyy.js +1 -0
- package/dist/Box-DssJT3bI.js +1 -0
- package/dist/{Button-CpDWWP29.js → Button-BsZmPkex.js} +1 -1
- package/dist/ButtonContext-C_-B9-Uk.js +1 -0
- package/dist/ButtonGroup-CaW4ejpo.js +1 -0
- package/dist/ButtonRoot-Dqej1e_j.js +1 -0
- package/dist/{Calendar-DReXWJdC.js → Calendar-D-Gcpiy_.js} +1 -1
- package/dist/Checkbox-BQsCdQTf.js +1 -0
- package/dist/{Combination-Ds58mYK0.js → Combination-D7deWWWl.js} +1 -1
- package/dist/Cover-O8wYQeu1.js +1 -0
- package/dist/{DataTableAction-DbJHfTa9.js → DataTableAction-D1PqC7Tb.js} +1 -1
- package/dist/DataTableContext-BcOmJyis.js +1 -0
- package/dist/{DataTableRowContext-0QFM0LbA.js → DataTableRowContext-Cjw4M9sw.js} +1 -1
- package/dist/DateRangePickerContext-Beu3-mLV.js +1 -0
- package/dist/DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js +1 -0
- package/dist/DialogContext-DA6S4j9A.js +1 -0
- package/dist/{Disclosure-DsOe89RN.js → Disclosure-D_QArNf6.js} +1 -1
- package/dist/DisclosureContent-DiHkK7UF.js +1 -0
- package/dist/{DisclosureContext-CY36bfwp.js → DisclosureContext-EtIDm2VI.js} +1 -1
- package/dist/DisclosureTrigger-CoqAHyuG.js +1 -0
- package/dist/DropdownMenuContext-sjTkZf5y.js +1 -0
- package/dist/DropdownMenuNestedContext-BceyPQTc.js +1 -0
- package/dist/DropdownMenuSubContext-BlmGDYxa.js +1 -0
- package/dist/{FieldContext-BN-ndB0i.js → FieldContext-Cd1KHsKY.js} +1 -1
- package/dist/{FieldLabel-Cutli69H.js → FieldLabel-zCiryc2S.js} +1 -1
- package/dist/{FilteredSlot-BBsvXQ4l.js → FilteredSlot-DldCK9fd.js} +1 -1
- package/dist/{Flex-BBPkQI3X.js → Flex-CZMvxbSj.js} +1 -1
- package/dist/{FocusBookmarkRestore-B5OFHYzh.js → FocusBookmarkRestore-D0TQFMjN.js} +1 -1
- package/dist/{Heading-CSS03Edq.js → Heading-DHheIdOp.js} +1 -1
- package/dist/Icon-yn12ZmVl.js +1 -0
- package/dist/IconAngleDown-CjH_gOYg.js +1 -0
- package/dist/{IconAngleRight-eZ9vKB8J.js → IconAngleRight-1B3ZejDg.js} +1 -1
- package/dist/{IconCalendar-D4DrlQ0e.js → IconCalendar-ByuHxVhk.js} +1 -1
- package/dist/{IconCircleInfoSolid-Dfgv_JAR.js → IconCircleInfoSolid-at2R3gS_.js} +1 -1
- package/dist/{IconEllipsis-BSuSHk4D.js → IconEllipsis-BPzgbAQ9.js} +1 -1
- package/dist/{IconOpal-BI8-zMI4.js → IconOpal-BJr_czXR.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-DkS_EPkn.js → IconTriangleExclamationSolid-XbwTeyMt.js} +1 -1
- package/dist/{IconX-DDH8OIBG.js → IconX-BYCtGHxB.js} +1 -1
- package/dist/{Input-DBblNXRj.js → Input-Dkhmv_Yb.js} +1 -1
- package/dist/{InputAddon-0zS5vzFT.js → InputAddon-B_7dovAD.js} +1 -1
- package/dist/InputContext-CDJbgPML.js +1 -0
- package/dist/InputControl-DgDm4c3C.js +1 -0
- package/dist/InputControl.css.ts.vanilla-C9_LVZhG-CxQVLz9p.js +1 -0
- package/dist/InputRoot-CgxOtRZg.js +1 -0
- package/dist/{Listbox-BO6bgNv9.js → Listbox-CGKK_Gga.js} +1 -1
- package/dist/{ListboxCheckboxItem-CFLfmFpB.js → ListboxCheckboxItem-BOJS2hVZ.js} +1 -1
- package/dist/ListboxCheckboxItem-css-xYUMk-KA.js +1 -0
- package/dist/{ListboxEmpty-TbdWJEvE.js → ListboxEmpty-BNMBkocc.js} +1 -1
- package/dist/ListboxGroup-5SRcdrJj.js +1 -0
- package/dist/ListboxGroupContext-CyM0sU4h.js +1 -0
- package/dist/ListboxItem-DlAi0xNi.js +1 -0
- package/dist/ListboxItemIndicator-CLao-D_6.js +1 -0
- package/dist/ListboxItemized-DB9mOalU.js +1 -0
- package/dist/ListboxLabel-CG862eFW.js +1 -0
- package/dist/{ListboxRadioItem-pato1cXK.js → ListboxRadioItem-ya07CVva.js} +1 -1
- package/dist/ListboxSeparator-DcbMdU3B.js +1 -0
- package/dist/{ListboxSwitchItem-BTnxpvsW.js → ListboxSwitchItem-7iAtYOF_.js} +1 -1
- package/dist/ModalContext-B7iQlmn6.js +1 -0
- package/dist/{ModalLayer-uawsSdF5.js → ModalLayer-qO3ZL3c5.js} +1 -1
- package/dist/ModalListbox-m6Ygs4p-.js +9 -0
- package/dist/Nav-CIWi3gSA.js +1 -0
- package/dist/NavAccountItem-DIkM9vND.js +1 -0
- package/dist/{NavBody-ClrI9VZr.js → NavBody-B1ltIG1N.js} +1 -1
- package/dist/NavFooter-CLeO_7kG.js +1 -0
- package/dist/{NavGroup-CQdwirKO.js → NavGroup-K1GLNPwz.js} +1 -1
- package/dist/{NavGroupContent-jzgvNist.js → NavGroupContent-0HW05_FE.js} +1 -1
- package/dist/{NavGroupContext-CyuGOPor.js → NavGroupContext-BOq4HoHF.js} +1 -1
- package/dist/NavGroupTrigger-SVLP-lia.js +1 -0
- package/dist/NavHeader-hrWenJ71.js +1 -0
- package/dist/NavItem-BQPrtt_K.js +1 -0
- package/dist/{NavList-DJrqqKLM.js → NavList-B3VFnheq.js} +1 -1
- package/dist/NavSeparator-Uvqgoyjj.js +1 -0
- package/dist/Pagination-DZFYtKL8.js +1 -0
- package/dist/{Paper-BvEcwDYZ.js → Paper-CxkfnCP-.js} +1 -1
- package/dist/{Popover-D597kxzz.js → Popover-BIJbDmf4.js} +1 -1
- package/dist/{PopoverAnchor-BI21cHsx.js → PopoverAnchor-Btiy9ZXO.js} +1 -1
- package/dist/{PopoverContent-CieMsaYq.js → PopoverContent-CjsLgflf.js} +1 -1
- package/dist/PopoverContext-C4w8tqcO.js +1 -0
- package/dist/{PopoverTrigger-OG56E8lO.js → PopoverTrigger-CCQJA7pv.js} +1 -1
- package/dist/Portal-CF3f9-xr.js +1 -0
- package/dist/PortalContext-CXvH04qK.js +1 -0
- package/dist/RadioGroupContext-ak8sW9YI.js +1 -0
- package/dist/{SegmentedControlContext-C0BDmXRR.js → SegmentedControlContext-B0yyb6Ou.js} +1 -1
- package/dist/{Select-CmR_aYqW.js → Select-DTmlVpvS.js} +1 -1
- package/dist/SelectContent-BSnUEntv.js +1 -0
- package/dist/SelectContext-Bt_I6Meg.js +1 -0
- package/dist/{SelectTrigger-6ubuwVot.js → SelectTrigger-xbzTuYlt.js} +1 -1
- package/dist/Separator-DQoBV4V2.js +1 -0
- package/dist/SidebarContext-Ck7fRaTJ.js +1 -0
- package/dist/Skeleton-CTCo6llQ.js +1 -0
- package/dist/Spinner-C9GqMaIw.js +1 -0
- package/dist/Switch-BAy0Xri4.js +1 -0
- package/dist/Table-BkmJfDye.js +1 -0
- package/dist/TableAction-DDPMlEDO.js +1 -0
- package/dist/TableBody-CJqeLjkM.js +1 -0
- package/dist/TableCell-DPEyVyHw.js +1 -0
- package/dist/TableHeader-S9r71HOm.js +1 -0
- package/dist/TableHeaderCell-CyM1igv5.js +1 -0
- package/dist/TableRow-XBPOuLZf.js +1 -0
- package/dist/TableRow.css.ts.vanilla-DtHSZb8O-ClkY-P3u.js +1 -0
- package/dist/Text-Dy0ltCdi.js +1 -0
- package/dist/{ThemeProvider-Dnr2DOEO.js → ThemeProvider-RkLJ4qxJ.js} +1 -1
- package/dist/Toast-CADVHBZZ.js +1 -0
- package/dist/{ToastAction-C7YZJyrh.js → ToastAction-B-okJs-x.js} +1 -1
- package/dist/ToastProvider-B0ej31pR.js +1 -0
- package/dist/{ToastTitle-D1iXkZ68.js → ToastTitle-DhTwpxro.js} +1 -1
- package/dist/ToggleInputLabel-DWm_ufr3.js +1 -0
- package/dist/{Tooltip-54EpEdaz.js → Tooltip-Dhb5Ojts.js} +1 -1
- package/dist/{TooltipContent-CpY-EMv7.js → TooltipContent-ukMiyYhE.js} +1 -1
- package/dist/TooltipContext-DpboLQ4_.js +1 -0
- package/dist/TooltipProvider-avulRfh7.js +1 -0
- package/dist/{TooltipRoot-BanqzHHR.js → TooltipRoot-CxxOyn9b.js} +1 -1
- package/dist/TooltipTrigger-BWI_3e7a.js +1 -0
- package/dist/Transition-iDQCY34m.js +1 -0
- package/dist/{TransitionGroup-B4uLKGbJ.js → TransitionGroup-BHjBcFu-.js} +1 -1
- package/dist/TransitionGroupContext-iC_EwOl1.js +1 -0
- package/dist/VisuallyHidden-DwEHn4On.js +1 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.js +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.js +1 -1
- package/dist/components/Cover.js +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DataTableAction.js +1 -1
- package/dist/components/DataTableBody.js +2 -2
- package/dist/components/DataTableCheckbox.js +1 -1
- package/dist/components/DataTableFooter.js +1 -1
- package/dist/components/DataTableLabel.js +1 -1
- package/dist/components/DateInput.js +1 -1
- package/dist/components/DateRangePicker.js +1 -1
- package/dist/components/DateRangePickerContent.js +1 -1
- package/dist/components/DateRangePickerTrigger.js +1 -1
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.js +1 -1
- package/dist/components/LabelMenuButton.js +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxItemized.d.ts +1 -1
- package/dist/components/ListboxItemized.js +1 -1
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/ModalProvider.js +1 -1
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavGroup.js +1 -1
- package/dist/components/NavGroupContent.js +1 -1
- package/dist/components/NavGroupTrigger.js +1 -1
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.js +1 -1
- package/dist/components/NavSeparator.js +1 -1
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.js +3 -3
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/SelectContent.js +1 -1
- package/dist/components/SelectTrigger.js +1 -1
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/SubNav.js +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Table.js +1 -1
- package/dist/components/TableAction.js +1 -1
- package/dist/components/TableBody.js +1 -1
- package/dist/components/TableCell.js +1 -1
- package/dist/components/TableHeader.js +1 -1
- package/dist/components/TableHeaderCell.js +1 -1
- package/dist/components/TableRow.js +1 -1
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToastTitle.js +1 -1
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/{decorateChildren-BIY3guwK.js → decorateChildren-CB-Uf3id.js} +1 -1
- package/dist/fallbackSpan-Bg-Kn5s9.js +1 -0
- package/dist/{index-B_y_gc3_.js → index-1WCQYRbf.js} +1 -1
- package/dist/index-7vRV1hSq.js +1 -0
- package/dist/{index-QZ6pJcm2.js → index-B11TEA61.js} +1 -1
- package/dist/{index-DsQTlurE.js → index-B7rQ54Qw.js} +1 -1
- package/dist/{index-w7NoAr9O.js → index-BZonz9wD.js} +1 -1
- package/dist/{index-BdY93DHh.js → index-BkLk6bx7.js} +1 -1
- package/dist/{index-BdYjrPqd.js → index-Blt1mgIc.js} +1 -1
- package/dist/{index-387poJbp.js → index-Bytn8ddk.js} +1 -1
- package/dist/{index-Ds4kz4U8.js → index-C-5S_6U9.js} +1 -1
- package/dist/{index-BuGlMdY2.js → index-CDqVTrkZ.js} +1 -1
- package/dist/{index-CJd7JWDb.js → index-CGIH9GDM.js} +1 -1
- package/dist/{index-lzTZer8r.js → index-CJrUn_ra.js} +1 -1
- package/dist/{index-D9OK9F-Y.js → index-CqGXyelg.js} +1 -1
- package/dist/{index-CxXFnLSv.js → index-DG4N31-W.js} +1 -1
- package/dist/{index-CWDGpppw.js → index-DSpTI6ld.js} +1 -1
- package/dist/{index-CXBGF7AN.js → index-DtAWj3Yc.js} +1 -1
- package/dist/{index-CL-L7cCd.js → index-E01G9b76.js} +1 -1
- package/dist/{index-CJBKxY1T.js → index-Ium92U41.js} +1 -1
- package/dist/{index-Ga7W5OyH.js → index-P56sHNOt.js} +1 -1
- package/dist/{index-BnXQiNWo.js → index-Q5BAmR_w.js} +1 -1
- package/dist/{index-BaLZs94D.js → index-kltrxb4_.js} +1 -1
- package/dist/{index-D3o1Vch3.js → index-pKKFxELW.js} +1 -1
- package/dist/{index-C2-ygqL5.js → index-pObYauef.js} +1 -1
- package/dist/{index-CQKQsGzj.js → index-pdIyEdbT.js} +1 -1
- package/dist/{index-ClI1-V5i.js → index-w3wJ1ulU.js} +1 -1
- package/dist/{index-DWrnRppb.js → index-zwi7HnKi.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js +1 -0
- package/dist/{propTypes-BhxIzks3.js → propTypes-DD5HDE4s.js} +1 -1
- package/dist/{register-DYyHQpzH.js → register-CpaOu6fF.js} +1 -1
- package/dist/{useEffectEvent-C9lpiNKk.js → useEffectEvent-CKawLbHo.js} +1 -1
- package/dist/{useFieldLabelTrigger-BYeEVH4A.js → useFieldLabelTrigger-BZIirtnT.js} +1 -1
- package/dist/{useNestedDialogCount-BVnG1Ur2.js → useNestedDialogCount-BNQyZgbV.js} +1 -1
- package/dist/{useObserveValue-BJ1rckTB.js → useObserveValue-Df4LXc9L.js} +1 -1
- package/dist/{withIcon-BrAUYGk4.js → withIcon-Wc9N4FYh.js} +1 -1
- package/package.json +3 -3
- package/dist/ActionsRoot-DTj8wz3o.js +0 -1
- package/dist/AlertDialogContext-DXbbA5vf.js +0 -1
- package/dist/AngleMenuButton-B3TMTSkI.js +0 -1
- package/dist/Avatar-DKJqelwS.js +0 -1
- package/dist/AvatarContext-CtweJR62.js +0 -1
- package/dist/AvatarGroup-DerEaPOO.js +0 -1
- package/dist/Backdrop-CcprImTW.js +0 -1
- package/dist/Badge-B-GZVj4z.js +0 -1
- package/dist/Box-BuZR3ICR.js +0 -1
- package/dist/ButtonContext-BwZNs_0J.js +0 -1
- package/dist/ButtonGroup-BxMG2RbK.js +0 -1
- package/dist/ButtonRoot-BV6-gOOT.js +0 -1
- package/dist/Checkbox-CVIm_uly.js +0 -1
- package/dist/Cover-BEdMzFdl.js +0 -1
- package/dist/DataTableContext-CZKwp-cK.js +0 -1
- package/dist/DateRangePickerContext-CENocEuD.js +0 -1
- package/dist/DialogBody.css.ts.vanilla-BGYR6wW1-DaHXM1PA.js +0 -1
- package/dist/DialogContext-oVxMsSnS.js +0 -1
- package/dist/DisclosureContent-CdnpMEAq.js +0 -1
- package/dist/DisclosureTrigger-Ba5TI10e.js +0 -1
- package/dist/DropdownMenuContext-CoOA7t7o.js +0 -1
- package/dist/DropdownMenuNestedContext-7clyEDgp.js +0 -1
- package/dist/DropdownMenuSubContext-BltbTbWk.js +0 -1
- package/dist/Icon-Ds1ep8K4.js +0 -1
- package/dist/IconAngleDown-DrOZ04-1.js +0 -1
- package/dist/InputContext-B_c0_9yj.js +0 -1
- package/dist/InputControl-BZZ1tjSm.js +0 -1
- package/dist/InputControl.css.ts.vanilla-DnKJFIg5-DCfX_8FU.js +0 -1
- package/dist/InputRoot-CAWTn6t1.js +0 -1
- package/dist/ListboxCheckboxItem-css-D_OKd-ii.js +0 -1
- package/dist/ListboxGroup-s6ENwvHG.js +0 -1
- package/dist/ListboxGroupContext-BRWEJXp3.js +0 -1
- package/dist/ListboxItem-BaTd7sYA.js +0 -1
- package/dist/ListboxItemIndicator-DhLZ5D2p.js +0 -1
- package/dist/ListboxItemized-CWMN6ZVJ.js +0 -1
- package/dist/ListboxLabel-cMkgR270.js +0 -1
- package/dist/ListboxSeparator-CJ8bhbYE.js +0 -1
- package/dist/ModalContext-BU623jej.js +0 -1
- package/dist/ModalListbox-6TAp_K4v.js +0 -9
- package/dist/Nav-D06R7xIu.js +0 -1
- package/dist/NavAccountItem-CxnQkyZI.js +0 -1
- package/dist/NavFooter-BIUFU1pR.js +0 -1
- package/dist/NavGroupTrigger-C3jNCGHN.js +0 -1
- package/dist/NavHeader-DEY67TZp.js +0 -1
- package/dist/NavItem-C2EdcKsX.js +0 -1
- package/dist/NavSeparator-DMRIu34q.js +0 -1
- package/dist/Pagination-BscBMYsH.js +0 -1
- package/dist/PopoverContext-Bgq6ixlv.js +0 -1
- package/dist/Portal-LY32soAb.js +0 -1
- package/dist/PortalContext-BYww0aQo.js +0 -1
- package/dist/RadioGroupContext-BgBy0gxb.js +0 -1
- package/dist/SelectContent-DNl3V96J.js +0 -1
- package/dist/SelectContext-DDKZlAlh.js +0 -1
- package/dist/Separator-BsprjtzL.js +0 -1
- package/dist/SidebarContext-C4e5tM9x.js +0 -1
- package/dist/Skeleton-FijQC9C9.js +0 -1
- package/dist/Spinner-BUHkWA3X.js +0 -1
- package/dist/Switch-Rwltc4yE.js +0 -1
- package/dist/Table-B8MewNth.js +0 -1
- package/dist/TableAction-D3nz6GiF.js +0 -1
- package/dist/TableBody-DRaBYrKh.js +0 -1
- package/dist/TableCell-Dg9KEh7W.js +0 -1
- package/dist/TableHeader-DK-S9iaA.js +0 -1
- package/dist/TableHeaderCell-DBnpfOQp.js +0 -1
- package/dist/TableRow-g8y9gI13.js +0 -1
- package/dist/TableRow.css.ts.vanilla-CmZrog73-Dn_DeCeY.js +0 -1
- package/dist/Text-DLqJvvVB.js +0 -1
- package/dist/Toast-BHJ2BuJ5.js +0 -1
- package/dist/ToastProvider-BB0gC812.js +0 -1
- package/dist/ToggleInputLabel-DFxFIL0l.js +0 -1
- package/dist/TooltipContext-C_N-mkFp.js +0 -1
- package/dist/TooltipProvider-5IR_H58H.js +0 -1
- package/dist/TooltipTrigger-DRgDMvRP.js +0 -1
- package/dist/Transition-Hq2BPmcI.js +0 -1
- package/dist/TransitionGroupContext-CMiCUjWO.js +0 -1
- package/dist/VisuallyHidden-Dh4X_ToF.js +0 -1
- package/dist/fallbackSpan-Bder3mdc.js +0 -1
- package/dist/index-C_AgdXtK.js +0 -1
- package/dist/layers.css.ts.vanilla-C32eB9b9-BmOflHuE.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as d,u as s,r as n,c as g}from"../register-
|
|
1
|
+
import{D as d,u as s,r as n,c as g}from"../register-CpaOu6fF.js";import{aS as c}from"../propTypes-DD5HDE4s.js";import"../Nav-CIWi3gSA.js";import"../NavAccountItem-DIkM9vND.js";import"../NavBody-B1ltIG1N.js";import"../NavFooter-CLeO_7kG.js";import"../NavGroup-K1GLNPwz.js";import"../NavGroupContent-0HW05_FE.js";import"../NavGroupTrigger-SVLP-lia.js";import"../NavHeader-hrWenJ71.js";import{s as b}from"../NavItem-BQPrtt_K.js";import"../NavList-B3VFnheq.js";import"../NavSeparator-Uvqgoyjj.js";import{r as x}from"../SidebarContext-Ck7fRaTJ.js";import"../Flex-CZMvxbSj.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Avatar-df_YjFA7.js";import"../index-zwi7HnKi.js";import"../index-Ium92U41.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-pdIyEdbT.js";import"../IconOpal-BJr_czXR.js";import"../withIcon-Wc9N4FYh.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../AvatarContext-C4vowPUp.js";import"../AvatarGroup-Cdk62rY4.js";import"../IconEllipsis-BPzgbAQ9.js";import"../Text-Dy0ltCdi.js";import"../index-pObYauef.js";import"../Disclosure-D_QArNf6.js";import"../DisclosureContext-EtIDm2VI.js";import"../index-CBrz5xtv.js";import"../index-DtAWj3Yc.js";import"../index-E01G9b76.js";import"../DisclosureContent-DiHkK7UF.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../DisclosureTrigger-CoqAHyuG.js";import"../Cover-O8wYQeu1.js";import"../IconAngleRight-1B3ZejDg.js";import"../NavGroupContext-BOq4HoHF.js";import"../Icon-yn12ZmVl.js";import"../Tooltip-Dhb5Ojts.js";import"../TooltipContent-ukMiyYhE.js";import"../index-BZonz9wD.js";import"../index-Q5BAmR_w.js";import"../index-B7rQ54Qw.js";import"../index-w3wJ1ulU.js";import"../Portal-CF3f9-xr.js";import"../index-kltrxb4_.js";import"../PortalContext-CXvH04qK.js";import"../TooltipContext-DpboLQ4_.js";import"../theme-css-DX4sf6ZH.js";import"../TooltipRoot-CxxOyn9b.js";import"../TooltipTrigger-BWI_3e7a.js";import"../Button-BsZmPkex.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../Spinner-C9GqMaIw.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../FilteredSlot-DldCK9fd.js";import"../TooltipProvider-avulRfh7.js";import"../Separator-DQoBV4V2.js";import"../FieldContext-Cd1KHsKY.js";const o=d(({"aria-label":t,children:p,...m},a)=>{const{expanded:r,navId:e,onExpandedChange:l}=x("@optiaxiom/react/SidebarToggle");return s(b,{"aria-controls":e,"aria-expanded":r?"true":"false","aria-label":t||(r?"Collapse":"Expand"),onClick:()=>l(!r),ref:a,...m,children:p??"Collapse"})});o.displayName="@optiaxiom/react/SidebarToggle";const i="ax-sidebar-toggle";var f=n(i,o,c,g);export{i as SidebarToggle,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CpaOu6fF.js";import{aT as e}from"../propTypes-DD5HDE4s.js";import{e as m}from"../Skeleton-CTCo6llQ.js";import"../index-1WCQYRbf.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const o="ax-skeleton";var p=r(o,m,e,t);export{o as Skeleton,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as p}from"../register-
|
|
1
|
+
import{r as o,c as p}from"../register-CpaOu6fF.js";import{aU as i}from"../propTypes-DD5HDE4s.js";import{o as t}from"../Spinner-C9GqMaIw.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Flex-CZMvxbSj.js";const r="ax-spinner";var m=o(r,t,i,p);export{r as Spinner,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as p,D as m,u as r,r as l,c as n}from"../register-CpaOu6fF.js";import{aV as s}from"../propTypes-DD5HDE4s.js";import{r as a}from"../Flex-CZMvxbSj.js";import{t as b}from"../SidebarContext-Ck7fRaTJ.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import{y as c}from"../recipeRuntime-DkvY0ny0.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../index-zwi7HnKi.js";p("@layer optiaxiom._1m1gdh0;@layer optiaxiom._1m1gdh0{.gb7t1t{width:248px}}");var f=c({base:[{bg:"bg.default",flex:"1",gap:"0",overflow:"hidden",py:"16"},"gb7t1t"]});const o=m(({children:t,...i},d)=>r(a,{borderColor:"border.tertiary",borderR:"1",h:"full",ref:d,w:"fit",...i,children:r(a,{asChild:!0,...f(),children:r("nav",{"aria-label":"Secondary",children:r(b,{expanded:!0,navId:"",onExpandedChange:()=>{},spacing:"12",children:t})})})}));o.displayName="@optiaxiom/react/SubNav";const e="ax-sub-nav";var h=l(e,o,s,n);export{e as SubNav,h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o}from"../register-
|
|
1
|
+
import{r as t,c as o}from"../register-CpaOu6fF.js";import{aW as i}from"../propTypes-DD5HDE4s.js";import{e as m}from"../Switch-BAy0Xri4.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../ToggleInputLabel-DWm_ufr3.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../Flex-CZMvxbSj.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../VisuallyHidden-DwEHn4On.js";import"../index-w3wJ1ulU.js";import"../index-P56sHNOt.js";import"../FilteredSlot-DldCK9fd.js";import"../index-zwi7HnKi.js";const r="ax-switch";var p=t(r,m,i,o);export{r as Switch,p as default};
|
package/dist/components/Table.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CpaOu6fF.js";import{aX as a}from"../propTypes-DD5HDE4s.js";import{t as m}from"../Table-BkmJfDye.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-table";var p=o(r,m,a,t);export{r as Table,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{aY as i}from"../propTypes-DD5HDE4s.js";import{o as a}from"../TableAction-DDPMlEDO.js";import"../ActionsRoot-BJkYY5yb.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";const o="ax-table-action";var m=t(o,a,i,r);export{o as TableAction,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CpaOu6fF.js";import{aZ as a}from"../propTypes-DD5HDE4s.js";import{r as m}from"../TableBody-CJqeLjkM.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const o="ax-table-body";var p=r(o,m,a,t);export{o as TableBody,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CpaOu6fF.js";import{a_ as e}from"../propTypes-DD5HDE4s.js";import{o as l}from"../TableCell-DPEyVyHw.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../TableRow.css.ts.vanilla-DtHSZb8O-ClkY-P3u.js";const o="ax-table-cell";var a=r(o,l,e,t);export{o as TableCell,a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as a}from"../register-
|
|
1
|
+
import{r as e,c as a}from"../register-CpaOu6fF.js";import{a$ as o}from"../propTypes-DD5HDE4s.js";import{e as t}from"../TableHeader-S9r71HOm.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-table-header";var m=e(r,t,o,a);export{r as TableHeader,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as a}from"../register-
|
|
1
|
+
import{r,c as a}from"../register-CpaOu6fF.js";import{b0 as o}from"../propTypes-DD5HDE4s.js";import{t}from"../TableHeaderCell-CyM1igv5.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const e="ax-table-header-cell";var l=r(e,t,o,a);export{e as TableHeaderCell,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CpaOu6fF.js";import{b1 as m}from"../propTypes-DD5HDE4s.js";import{r as p}from"../TableRow-XBPOuLZf.js";import"../ActionsRoot-BJkYY5yb.js";import"../Box-DssJT3bI.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../TableRow.css.ts.vanilla-DtHSZb8O-ClkY-P3u.js";const o="ax-table-row";var a=r(o,p,m,t);export{o as TableRow,a as default};
|
package/dist/components/Tabs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as l,D as n,u as r,r as c,c as d}from"../register-CpaOu6fF.js";import{b2 as f}from"../propTypes-DD5HDE4s.js";import{R as x}from"../index-DG4N31-W.js";import{i as y,o as b}from"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import{y as h}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-zwi7HnKi.js";import"../index-B11TEA61.js";import"../index-Blt1mgIc.js";import"../index-1WCQYRbf.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-DtAWj3Yc.js";import"../index-E01G9b76.js";l("@layer optiaxiom._1m1gdh0;@layer optiaxiom._1m1gdh0{.rjqyrt[data-orientation=horizontal]{flex-direction:column}.rjqyrt[data-orientation=vertical]{flex-direction:row}}");var u=h({base:[{display:"flex"},"rjqyrt"]});const o=n(({children:i,className:a,...m},e)=>{const{boxProps:p,restProps:s}=y(m);return r(b,{asChild:!0,...u({},a),...p,children:r(x,{ref:e,...s,children:i})})});o.displayName="@optiaxiom/react/Tabs";const t="ax-tabs";var j=c(t,o,f,d);export{t as Tabs,j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,u as t,r as n,c as s}from"../register-
|
|
1
|
+
import{D as e,u as t,r as n,c as s}from"../register-CpaOu6fF.js";import{b3 as c}from"../propTypes-DD5HDE4s.js";import{T as l}from"../index-DG4N31-W.js";import{o as b}from"../Box-DssJT3bI.js";import"../index-CBrz5xtv.js";import"../index-zwi7HnKi.js";import"../index-B11TEA61.js";import"../index-Blt1mgIc.js";import"../index-1WCQYRbf.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-DtAWj3Yc.js";import"../index-E01G9b76.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const o=e(({children:i,value:m,...p},a)=>t(b,{asChild:!0,flex:"1",ref:a,...p,children:t(l,{value:m,children:i})}));o.displayName="@optiaxiom/react/TabsContent";const r="ax-tabs-content";var f=n(r,o,c,s);export{r as TabsContent,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as p,D as s,u as
|
|
1
|
+
import{i as p,D as s,u as o,r as l,c as d}from"../register-CpaOu6fF.js";import{b4 as n}from"../propTypes-DD5HDE4s.js";import{L as c}from"../index-DG4N31-W.js";import{o as h}from"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import{y as b}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-zwi7HnKi.js";import"../index-B11TEA61.js";import"../index-Blt1mgIc.js";import"../index-1WCQYRbf.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-DtAWj3Yc.js";import"../index-E01G9b76.js";p("@layer optiaxiom._1m1gdh0;@layer optiaxiom._1m1gdh0{._1h4mtvo[data-orientation=horizontal]{align-items:center;border-bottom-width:1px;flex-direction:row;gap:24px}._1h4mtvo[data-orientation=vertical]{border-right-width:1px;flex-direction:column;gap:8px}}");var x=b({base:[{borderColor:"border.tertiary",display:"flex"},"_1h4mtvo"]});const t=s(({children:i,className:a,...m},e)=>o(h,{asChild:!0,...x({},a),...m,children:o(c,{ref:e,children:i})}));t.displayName="@optiaxiom/react/TabsList";const r="ax-tabs-list";var f=l(r,t,n,d);export{r as TabsList,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as x,D as h,u as r,r as u,c as v}from"../register-CpaOu6fF.js";import{b5 as y}from"../propTypes-DD5HDE4s.js";import{a as _}from"../index-1WCQYRbf.js";import{a as w}from"../index-DG4N31-W.js";import{i as T,o as C}from"../Box-DssJT3bI.js";import{r as z}from"../Flex-CZMvxbSj.js";import"../isHoverSupported-CireFq72.js";import{s as P}from"../decorateChildren-CB-Uf3id.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import{y as t}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-zwi7HnKi.js";import"../index-B11TEA61.js";import"../index-Blt1mgIc.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-DtAWj3Yc.js";import"../index-E01G9b76.js";import"../index-VQRIDrjF.js";x("@layer optiaxiom._1m1gdh0;@layer optiaxiom._1m1gdh0{._13848wi{border-color:#0000;color:var(--ax-colors-fg-tertiary);text-decoration:none;-webkit-user-select:none;user-select:none}._13848wi:focus-visible{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}._13848wi[data-disabled]{color:var(--ax-colors-fg-disabled)}._13848wi[data-orientation=horizontal]{border-bottom-width:2px;margin-bottom:-1px}._13848wi[data-orientation=vertical]{border-right-width:2px;margin-right:-1px;padding-inline:10px}._13848wi[data-state=active]{border-color:var(--ax-colors-border-accent);color:var(--ax-colors-fg-default)}._13zu85i:active ._1y5bqty{background-color:var(--ax-colors-bg-secondary)}@media (hover:hover){._13848wi:hover:not([data-state=active]){border-color:var(--ax-colors-border-default);color:var(--ax-colors-fg-secondary)}}}");var S=t({base:[{flexDirection:"row",gap:"8",justifyContent:["center","flex-start"],py:"6",rounded:"sm",transition:"colors"},"_1y5bqty"]}),j=t({base:["_13zu85i",{flex:["1","initial"],fontSize:"md",fontWeight:"500",py:"4",transition:"colors"},"_13848wi"]});const k=_("@optiaxiom/react/TabsTrigger"),i=h(({addonAfter:e,addonBefore:s,asChild:o,children:l,className:n,value:c,...d},m)=>{const p=o?k:"button",{boxProps:g,restProps:b}=T(d);return r(C,{asChild:!0,...j({},n),...g,children:r(w,{asChild:!0,ref:m,value:c,...b,children:r(p,{children:P({asChild:o,children:l},f=>r(z,{...S(),children:[s,f,e]}))})})})});i.displayName="@optiaxiom/react/TabsTrigger";const a="ax-tabs-trigger";var q=u(a,i,y,v);export{a as TabsTrigger,q as default};
|
package/dist/components/Text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as r}from"../register-
|
|
1
|
+
import{r as o,c as r}from"../register-CpaOu6fF.js";import{b6 as m}from"../propTypes-DD5HDE4s.js";import{o as p}from"../Text-Dy0ltCdi.js";import"../index-1WCQYRbf.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const t="ax-text";var e=o(t,p,m,r);export{t as Text,e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as w,D as f,u as e,r as P,c as T}from"../register-CpaOu6fF.js";import{b7 as $}from"../propTypes-DD5HDE4s.js";import{a as _}from"../index-1WCQYRbf.js";import{i as y,o as c}from"../Box-DssJT3bI.js";import"../Input-Dkhmv_Yb.js";import{t as z}from"../InputAddon-B_7dovAD.js";import{m as j}from"../InputControl-DgDm4c3C.js";import{e as N}from"../InputRoot-CgxOtRZg.js";import"../isHoverSupported-CireFq72.js";import{m as v}from"../fallbackSpan-Bg-Kn5s9.js";import{u as A}from"../index-DtAWj3Yc.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import{y as h}from"../recipeRuntime-DkvY0ny0.js";import"../InputContext-CDJbgPML.js";import"../index-zwi7HnKi.js";import"../FieldContext-Cd1KHsKY.js";import"../InputControl.css.ts.vanilla-C9_LVZhG-CxQVLz9p.js";import"../Flex-CZMvxbSj.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../index-VQRIDrjF.js";import"../index-7vRV1hSq.js";w("@layer optiaxiom._1m1gdh0;@layer optiaxiom._1m1gdh0{._17hkfzu{max-height:calc(16px + var(--_1i2yrue)*22px)}.r4tkz6{--_1i2yrue:1}._1sei4u0{--_1i2yrue:2}._1f5svrx{--_1i2yrue:3}._1rrulcj{--_1i2yrue:4}._3ty9jn{--_1i2yrue:5}._1g69o8a{resize:vertical}._7y9n28{grid-area:1/1/2/2}.lbk852{visibility:hidden;white-space:pre-wrap}._8l0a90{resize:none}}");var R=h({base:["_7y9n28","lbk852"]}),S=h({base:["_7y9n28",{overflow:"hidden"},"_8l0a90"]}),D=h({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_17hkfzu","r4tkz6"],2:["_17hkfzu","_1sei4u0"],3:["_17hkfzu","_1f5svrx"],4:["_17hkfzu","_1rrulcj"],5:["_17hkfzu","_3ty9jn"]},resize:{auto:{},none:{},vertical:"_1g69o8a"}}});const E=_("@optiaxiom/react/TextareaAutosize"),g=f(({asChild:a,children:o,className:t,maxRows:m,onChange:n,resize:i="none",...r},s)=>{const p=a?E:"textarea",{boxProps:l,restProps:d}=y(r),[u,C]=A({caller:"@optiaxiom/react/TextareaAutosize",defaultProp:r.defaultValue,prop:r.value});return e(c,{...D({maxRows:m,resize:i}),children:[e(c,{asChild:!0,...S({},t),...l,children:e(p,{onChange:x=>{C(x.target.value),n?.(x)},ref:s,...d,children:o})}),i==="auto"&&e(c,{...R({},t),...l,children:(u??"")+" "})]})});g.displayName="@optiaxiom/react/TextareaAutosize";const B=_("@optiaxiom/react/Textarea"),b=f(({addonAfter:a,addonBefore:o,addonPointerEvents:t,asChild:m,children:n,className:i,style:r,...s},p)=>{const l=m?B:"textarea",{boxProps:d,restProps:u}=y(s);return e(N,{addonPointerEvents:t,className:i,flexDirection:"column",style:r,...d,children:[o&&e(z,{asChild:!0,children:v(o)}),e(j,{asChild:!0,p:"8",size:"lg",...u,children:e(g,{asChild:!0,children:e(l,{ref:p,rows:s.rows??3,children:n})})}),a&&e(z,{asChild:!0,children:v(a)})]})});b.displayName="@optiaxiom/react/Textarea";const k="ax-textarea";var L=P(k,b,$,T);export{k as Textarea,L as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as e}from"../register-
|
|
1
|
+
import{r as o,c as e}from"../register-CpaOu6fF.js";import{b8 as m}from"../propTypes-DD5HDE4s.js";import{l as t}from"../ThemeProvider-RkLJ4qxJ.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../PortalContext-CXvH04qK.js";import"../index-zwi7HnKi.js";import"../theme-css-DX4sf6ZH.js";import"../index-VQRIDrjF.js";const r="ax-theme-provider";var i=o(r,t,m,e);export{r as ThemeProvider,i as default};
|
package/dist/components/Toast.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{b9 as m}from"../propTypes-DD5HDE4s.js";import{m as p}from"../Toast-CADVHBZZ.js";import"../index-1WCQYRbf.js";import"../index-DSpTI6ld.js";import"../index-CBrz5xtv.js";import"../index-Blt1mgIc.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-kltrxb4_.js";import"../index-E01G9b76.js";import"../index-7vRV1hSq.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Button-BsZmPkex.js";import"../Icon-yn12ZmVl.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Flex-CZMvxbSj.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../IconCircleInfoSolid-at2R3gS_.js";import"../withIcon-Wc9N4FYh.js";import"../IconTriangleExclamationSolid-XbwTeyMt.js";import"../IconX-BYCtGHxB.js";const o="ax-toast";var i=t(o,p,m,r);export{o as Toast,i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{ba as i}from"../propTypes-DD5HDE4s.js";import{t as m}from"../ToastAction-B-okJs-x.js";import"../index-DSpTI6ld.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-Blt1mgIc.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-kltrxb4_.js";import"../index-E01G9b76.js";import"../index-7vRV1hSq.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../Button-BsZmPkex.js";import"../Icon-yn12ZmVl.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Flex-CZMvxbSj.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../Separator-DQoBV4V2.js";import"../FieldContext-Cd1KHsKY.js";const o="ax-toast-action";var p=t(o,m,i,r);export{o as ToastAction,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CpaOu6fF.js";import{bb as i}from"../propTypes-DD5HDE4s.js";import{p}from"../ToastProvider-B0ej31pR.js";import"../index-1WCQYRbf.js";import"../index-DSpTI6ld.js";import"../index-CBrz5xtv.js";import"../index-Blt1mgIc.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-kltrxb4_.js";import"../index-E01G9b76.js";import"../index-7vRV1hSq.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../index-pdIyEdbT.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Flex-CZMvxbSj.js";import"../Portal-CF3f9-xr.js";import"../PortalContext-CXvH04qK.js";import"../Toast-CADVHBZZ.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../Button-BsZmPkex.js";import"../Icon-yn12ZmVl.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../IconCircleInfoSolid-at2R3gS_.js";import"../withIcon-Wc9N4FYh.js";import"../IconTriangleExclamationSolid-XbwTeyMt.js";import"../IconX-BYCtGHxB.js";import"../ToastAction-B-okJs-x.js";import"../Separator-DQoBV4V2.js";import"../FieldContext-Cd1KHsKY.js";import"../ToastTitle-DhTwpxro.js";import"../Text-Dy0ltCdi.js";const r="ax-toast-provider";var m=o(r,p,i,t);export{r as ToastProvider,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as r}from"../register-
|
|
1
|
+
import{r as o,c as r}from"../register-CpaOu6fF.js";import{bc as i}from"../propTypes-DD5HDE4s.js";import{o as m}from"../ToastTitle-DhTwpxro.js";import"../index-DSpTI6ld.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-Blt1mgIc.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-kltrxb4_.js";import"../index-E01G9b76.js";import"../index-7vRV1hSq.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../Text-Dy0ltCdi.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";const t="ax-toast-title";var p=o(t,m,i,r);export{t as ToastTitle,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,u as o,r as a,c as n}from"../register-
|
|
1
|
+
import{D as e,u as o,r as a,c as n}from"../register-CpaOu6fF.js";import{bd as s}from"../propTypes-DD5HDE4s.js";import{R as g}from"../index-CJrUn_ra.js";import{h as l}from"../Button-BsZmPkex.js";import"../ButtonGroup-CaW4ejpo.js";import"../index-CBrz5xtv.js";import"../index-DtAWj3Yc.js";import"../index-7vRV1hSq.js";import"../index-P56sHNOt.js";import"../index-1WCQYRbf.js";import"../Icon-yn12ZmVl.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Flex-CZMvxbSj.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../index-zwi7HnKi.js";import"../TransitionGroup-BHjBcFu-.js";import"../ButtonContext-C_-B9-Uk.js";const t=e(({children:i,...m},p)=>o(l,{asChild:!0,...m,children:o(g,{ref:p,children:i})}));t.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var c=a(r,t,s,n);export{r as ToggleButton,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{be as p}from"../propTypes-DD5HDE4s.js";import{m as i}from"../Tooltip-Dhb5Ojts.js";import"../TooltipContent-ukMiyYhE.js";import"../index-BZonz9wD.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-B7rQ54Qw.js";import"../index-E01G9b76.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Portal-CF3f9-xr.js";import"../index-kltrxb4_.js";import"../PortalContext-CXvH04qK.js";import"../Text-Dy0ltCdi.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../TooltipContext-DpboLQ4_.js";import"../theme-css-DX4sf6ZH.js";import"../TooltipRoot-CxxOyn9b.js";import"../TooltipTrigger-BWI_3e7a.js";import"../Button-BsZmPkex.js";import"../Icon-yn12ZmVl.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Flex-CZMvxbSj.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../FilteredSlot-DldCK9fd.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{bf as p}from"../propTypes-DD5HDE4s.js";import{r as i}from"../TooltipContent-ukMiyYhE.js";import"../index-BZonz9wD.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-B7rQ54Qw.js";import"../index-E01G9b76.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../Portal-CF3f9-xr.js";import"../index-kltrxb4_.js";import"../PortalContext-CXvH04qK.js";import"../Text-Dy0ltCdi.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../TooltipContext-DpboLQ4_.js";import"../theme-css-DX4sf6ZH.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CpaOu6fF.js";import{bg as i}from"../propTypes-DD5HDE4s.js";import{o as p}from"../TooltipProvider-avulRfh7.js";import"../index-BZonz9wD.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-B7rQ54Qw.js";import"../index-E01G9b76.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CpaOu6fF.js";import{bh as p}from"../propTypes-DD5HDE4s.js";import{m as i}from"../TooltipRoot-CxxOyn9b.js";import"../index-BZonz9wD.js";import"../index-CBrz5xtv.js";import"../index-1WCQYRbf.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-B7rQ54Qw.js";import"../index-E01G9b76.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../TooltipContext-DpboLQ4_.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CpaOu6fF.js";import{bi as i}from"../propTypes-DD5HDE4s.js";import{t as p}from"../TooltipTrigger-BWI_3e7a.js";import"../index-1WCQYRbf.js";import"../index-BZonz9wD.js";import"../index-CBrz5xtv.js";import"../index-zwi7HnKi.js";import"../index-Q5BAmR_w.js";import"../index-P56sHNOt.js";import"../index-Ium92U41.js";import"../index-pObYauef.js";import"../index-7vRV1hSq.js";import"../index-B7rQ54Qw.js";import"../index-E01G9b76.js";import"../index-DtAWj3Yc.js";import"../index-w3wJ1ulU.js";import"../Button-BsZmPkex.js";import"../Icon-yn12ZmVl.js";import"../Box-DssJT3bI.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-CB-Uf3id.js";import"../fallbackSpan-Bg-Kn5s9.js";import"../ButtonRoot-Dqej1e_j.js";import"../DialogBody.css.ts.vanilla-BGkDreBM-C4U3uHey.js";import"../Spinner-C9GqMaIw.js";import"../Flex-CZMvxbSj.js";import"../Transition-iDQCY34m.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../TransitionGroup-BHjBcFu-.js";import"../ButtonContext-C_-B9-Uk.js";import"../ButtonGroup-CaW4ejpo.js";import"../FilteredSlot-DldCK9fd.js";import"../TooltipContext-DpboLQ4_.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CpaOu6fF.js";import{bj as i}from"../propTypes-DD5HDE4s.js";import{f as m}from"../Transition-iDQCY34m.js";import"../index-1WCQYRbf.js";import"../layers.css.ts.vanilla-Bn_VRXY4-C_Fz-xK2.js";import"../recipeRuntime-DkvY0ny0.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../index-zwi7HnKi.js";const r="ax-transition";var s=o(r,m,i,t);export{r as Transition,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CpaOu6fF.js";import{bk as i}from"../propTypes-DD5HDE4s.js";import{f as p}from"../TransitionGroup-BHjBcFu-.js";import"../index-DtAWj3Yc.js";import"../index-7vRV1hSq.js";import"../TransitionGroupContext-iC_EwOl1.js";import"../index-zwi7HnKi.js";const r="ax-transition-group";var s=o(r,p,i,t);export{r as TransitionGroup,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as n,e as r}from"./register-
|
|
1
|
+
import{m as n,e as r}from"./register-CpaOu6fF.js";const p=({asChild:t,children:s},i)=>{if(t){const e=n(s)?s:null;return e?r(e,void 0,p({...e.props,asChild:e.props.asChild||typeof e.type!="string"&&"displayName"in e.type&&typeof e.type.displayName=="string"&&e.type.displayName?.endsWith(".Slot")},i)):s}else return i(s)};export{p as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as n,m as o,k as p}from"./register-CpaOu6fF.js";const t=m=>o(m)&&m.type!==p?m:n("span",{children:m});export{t as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as C,D as S,O as a,m as f,u as p,e as m,k as g}from"./register-
|
|
1
|
+
import{q as C,D as S,O as a,m as f,u as p,e as m,k as g}from"./register-CpaOu6fF.js";function b(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function y(...t){return n=>{let r=!1;const o=t.map(e=>{const l=b(e,n);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let e=0;e<o.length;e++){const l=o[e];typeof l=="function"?l():b(t[e],null)}}}}function I(...t){return C(y(...t),t)}function O(t){const n=h(t),r=S((o,e)=>{const{children:l,...i}=o,s=a.toArray(l),c=s.find(E);if(c){const u=c.props.children,_=s.map(d=>d===c?a.count(u)>1?a.only(null):f(u)?u.props.children:null:d);return p(n,{...i,ref:e,children:f(u)?m(u,void 0,_):null})}return p(n,{...i,ref:e,children:l})});return r.displayName=`${t}.Slot`,r}function h(t){const n=S((r,o)=>{const{children:e,...l}=r;if(f(e)){const i=P(e),s=N(l,e.props);return e.type!==g&&(s.ref=o?y(o,i):i),m(e,s)}return a.count(e)>1?a.only(null):null});return n.displayName=`${t}.SlotClone`,n}var R=Symbol("radix.slottable");function x(t){const n=({children:r})=>p(g,{children:r});return n.displayName=`${t}.Slottable`,n.__radixId=R,n}function E(t){return f(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===R}function N(t,n){const r={...n};for(const o in n){const e=t[o],l=n[o];/^on[A-Z]/.test(o)?e&&l?r[o]=(...s)=>{const c=l(...s);return e(...s),c}:e&&(r[o]=e):o==="style"?r[o]={...e,...l}:o==="className"&&(r[o]=[e,l].filter(Boolean).join(" "))}return{...t,...r}}function P(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}export{O as a,y as b,x as c,I as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./register-CpaOu6fF.js";var o=globalThis?.document?a:()=>{};export{o as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as Q,K as W,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-
|
|
1
|
+
import{x as Q,K as W,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-CpaOu6fF.js";import{c as p}from"./index-CBrz5xtv.js";import{c as X}from"./index-Blt1mgIc.js";import{u as Z}from"./index-1WCQYRbf.js";import{a as $}from"./index-zwi7HnKi.js";import{u as ee}from"./index-pObYauef.js";import{P as M}from"./index-P56sHNOt.js";import{u as oe}from"./index-Ium92U41.js";import{u as te}from"./index-DtAWj3Yc.js";var re=W(void 0);function L(e){const t=Q(re);return e||t||"ltr"}var D="rovingFocusGroup.onEntryFocus",ne={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[P,U,ce]=X(I),[se,ae]=$(I,[ce]),[ie,ue]=se(I),B=_((e,t)=>d(P.Provider,{scope:e.__scopeRovingFocusGroup,children:d(P.Slot,{scope:e.__scopeRovingFocusGroup,children:d(le,{...e,ref:t})})}));B.displayName=I;var le=_((e,t)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:i=!1,dir:T,currentTabStopId:v,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:s=!1,...F}=e,b=O(null),g=Z(t,b),R=L(T),[w,r]=te({prop:v,defaultProp:h??null,onChange:S,caller:I}),[u,C]=K(!1),a=oe(m),l=U(c),A=O(!1),[V,x]=K(0);return N(()=>{const n=b.current;if(n)return n.addEventListener(D,a),()=>n.removeEventListener(D,a)},[a]),d(ie,{scope:c,orientation:o,dir:R,loop:i,currentTabStopId:w,onItemFocus:E(n=>r(n),[r]),onItemShiftTab:E(()=>C(!0),[]),onFocusableItemAdd:E(()=>x(n=>n+1),[]),onFocusableItemRemove:E(()=>x(n=>n-1),[]),children:d(M.div,{tabIndex:u||V===0?-1:0,"data-orientation":o,...F,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{A.current=!0}),onFocus:p(e.onFocus,n=>{const q=!A.current;if(n.target===n.currentTarget&&q&&!u){const G=new CustomEvent(D,ne);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const y=l().filter(f=>f.focusable),z=y.find(f=>f.active),j=y.find(f=>f.id===w),J=[z,j,...y].filter(Boolean).map(f=>f.ref.current);H(J,s)}}A.current=!1}),onBlur:p(e.onBlur,()=>C(!1))})})}),k="RovingFocusGroupItem",Y=_((e,t)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:i=!1,tabStopId:T,children:v,...h}=e,S=ee(),m=T||S,s=ue(k,c),F=s.currentTabStopId===m,b=U(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:w}=s;return N(()=>{if(o)return g(),()=>R()},[o,g,R]),d(P.ItemSlot,{scope:c,id:m,focusable:o,active:i,children:d(M.span,{tabIndex:F?0:-1,"data-orientation":s.orientation,...h,ref:t,onMouseDown:p(e.onMouseDown,r=>{o?s.onItemFocus(m):r.preventDefault()}),onFocus:p(e.onFocus,()=>s.onItemFocus(m)),onKeyDown:p(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){s.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const u=me(r,s.orientation,s.dir);if(u!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let a=b().filter(l=>l.focusable).map(l=>l.ref.current);if(u==="last")a.reverse();else if(u==="prev"||u==="next"){u==="prev"&&a.reverse();const l=a.indexOf(r.currentTarget);a=s.loop?pe(a,l+1):a.slice(l+1)}setTimeout(()=>H(a))}}),children:typeof v=="function"?v({isCurrentTabStop:F,hasTabStop:w!=null}):v})})});Y.displayName=k;var fe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function de(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function me(e,t,c){const o=de(e.key,c);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return fe[o]}function H(e,t=!1){const c=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(o===c||(o.focus({preventScroll:t}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()!==c))return}function pe(e,t){return e.map((c,o)=>e[(t+o)%e.length])}var ve=B,Ie=Y;export{Ie as I,ve as R,ae as c,L as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as Y,q as vt,A as J,a as Oe,y as Bt,T as at,E as Pe,D as ft,u as j}from"./register-DYyHQpzH.js";import{P as bt}from"./index-Ga7W5OyH.js";import{u as Vt}from"./index-B_y_gc3_.js";import{a as Re}from"./index-DWrnRppb.js";import{u as Ce}from"./index-CJBKxY1T.js";import{u as At}from"./index-C_AgdXtK.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=G(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=J(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=J(null),O=J(null),E=J(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=J(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=J(null),c=Vt(e,s);return Bt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
|
|
1
|
+
import{d as Y,q as vt,A as J,a as Oe,y as Bt,T as at,E as Pe,D as ft,u as j}from"./register-CpaOu6fF.js";import{P as bt}from"./index-P56sHNOt.js";import{u as Vt}from"./index-1WCQYRbf.js";import{a as Re}from"./index-zwi7HnKi.js";import{u as Ce}from"./index-Ium92U41.js";import{u as At}from"./index-7vRV1hSq.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=G(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=J(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=J(null),O=J(null),E=J(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=J(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=J(null),c=Vt(e,s);return Bt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as x,y as w,u as f,q as y,D as A,d as G,T as z}from"./register-
|
|
1
|
+
import{A as x,y as w,u as f,q as y,D as A,d as G,T as z}from"./register-CpaOu6fF.js";import{c as P}from"./index-CBrz5xtv.js";import{u as F,c as J}from"./index-1WCQYRbf.js";import{a as Q}from"./index-zwi7HnKi.js";import{D as Z}from"./index-Q5BAmR_w.js";import{u as $}from"./index-pObYauef.js";import{c as j,A as ee,a as te,R as oe,C as re}from"./index-B7rQ54Qw.js";import{P as ne}from"./index-E01G9b76.js";import{P as se}from"./index-P56sHNOt.js";import{u as ie}from"./index-DtAWj3Yc.js";import{R as ae}from"./index-w3wJ1ulU.js";var[O,Fe]=Q("Tooltip",[j]),L=j(),B="TooltipProvider",ce=700,M="tooltip.open",[le,H]=O(B),q=t=>{const{__scopeTooltip:o,delayDuration:e=ce,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=t,i=x(!0),d=x(!1),s=x(0);return w(()=>{const u=s.current;return()=>window.clearTimeout(u)},[]),f(le,{scope:o,isOpenDelayedRef:i,delayDuration:e,onOpen:y(()=>{window.clearTimeout(s.current),i.current=!1},[]),onClose:y(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:y(u=>{d.current=u},[]),disableHoverableContent:n,children:a})};q.displayName=B;var D="Tooltip",[ue,I]=O(D),U=t=>{const{__scopeTooltip:o,children:e,open:r,defaultOpen:n,onOpenChange:a,disableHoverableContent:i,delayDuration:d}=t,s=H(D,t.__scopeTooltip),u=L(o),[c,p]=G(null),v=$(),l=x(0),h=i??s.disableHoverableContent,m=d??s.delayDuration,T=x(!1),[C,g]=ie({prop:r,defaultProp:n??!1,onChange:k=>{k?(s.onOpen(),document.dispatchEvent(new CustomEvent(M))):s.onClose(),a?.(k)},caller:D}),E=z(()=>C?T.current?"delayed-open":"instant-open":"closed",[C]),R=y(()=>{window.clearTimeout(l.current),l.current=0,T.current=!1,g(!0)},[g]),_=y(()=>{window.clearTimeout(l.current),l.current=0,g(!1)},[g]),S=y(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>{T.current=!0,g(!0),l.current=0},m)},[m,g]);return w(()=>()=>{l.current&&(window.clearTimeout(l.current),l.current=0)},[]),f(oe,{...u,children:f(ue,{scope:o,contentId:v,open:C,stateAttribute:E,trigger:c,onTriggerChange:p,onTriggerEnter:y(()=>{s.isOpenDelayedRef.current?S():R()},[s.isOpenDelayedRef,S,R]),onTriggerLeave:y(()=>{h?_():(window.clearTimeout(l.current),l.current=0)},[_,h]),onOpen:R,onClose:_,disableHoverableContent:h,children:e})})};U.displayName=D;var N="TooltipTrigger",V=A((t,o)=>{const{__scopeTooltip:e,...r}=t,n=I(N,e),a=H(N,e),i=L(e),d=x(null),s=F(o,d,n.onTriggerChange),u=x(!1),c=x(!1),p=y(()=>u.current=!1,[]);return w(()=>()=>document.removeEventListener("pointerup",p),[p]),f(ee,{asChild:!0,...i,children:f(se.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:s,onPointerMove:P(t.onPointerMove,v=>{v.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:P(t.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:P(t.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:P(t.onFocus,()=>{u.current||n.onOpen()}),onBlur:P(t.onBlur,n.onClose),onClick:P(t.onClick,n.onClose)})})});V.displayName=N;var pe="TooltipPortal",[je,de]=O(pe,{forceMount:void 0}),b="TooltipContent",Y=A((t,o)=>{const e=de(b,t.__scopeTooltip),{forceMount:r=e.forceMount,side:n="top",...a}=t,i=I(b,t.__scopeTooltip);return f(ne,{present:r||i.open,children:i.disableHoverableContent?f(X,{side:n,...a,ref:o}):f(ve,{side:n,...a,ref:o})})}),ve=A((t,o)=>{const e=I(b,t.__scopeTooltip),r=H(b,t.__scopeTooltip),n=x(null),a=F(o,n),[i,d]=G(null),{trigger:s,onClose:u}=e,c=n.current,{onPointerInTransitChange:p}=r,v=y(()=>{d(null),p(!1)},[p]),l=y((h,m)=>{const T=h.currentTarget,C={x:h.clientX,y:h.clientY},g=me(C,T.getBoundingClientRect()),E=ye(C,g),R=ge(m.getBoundingClientRect()),_=Ce([...E,...R]);d(_),p(!0)},[p]);return w(()=>()=>v(),[v]),w(()=>{if(s&&c){const h=T=>l(T,c),m=T=>l(T,s);return s.addEventListener("pointerleave",h),c.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",m)}}},[s,c,l,v]),w(()=>{if(i){const h=m=>{const T=m.target,C={x:m.clientX,y:m.clientY},g=s?.contains(T)||c?.contains(T),E=!xe(C,i);g?v():E&&(v(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,c,i,u,v]),f(X,{...t,ref:a})}),[fe,he]=O(D,{isInside:!1}),Te=J("TooltipContent"),X=A((t,o)=>{const{__scopeTooltip:e,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:i,...d}=t,s=I(b,e),u=L(e),{onClose:c}=s;return w(()=>(document.addEventListener(M,c),()=>document.removeEventListener(M,c)),[c]),w(()=>{if(s.trigger){const p=v=>{v.target?.contains(s.trigger)&&c()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[s.trigger,c]),f(Z,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:c,children:f(re,{"data-state":s.stateAttribute,...u,...d,ref:o,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[f(Te,{children:r}),f(fe,{scope:e,isInside:!0,children:f(ae,{id:s.contentId,role:"tooltip",children:n||r})})]})})});Y.displayName=b;var K="TooltipArrow",W=A((t,o)=>{const{__scopeTooltip:e,...r}=t,n=L(e);return he(K,e).isInside?null:f(te,{...n,...r,ref:o})});W.displayName=K;function me(t,o){const e=Math.abs(o.top-t.y),r=Math.abs(o.bottom-t.y),n=Math.abs(o.right-t.x),a=Math.abs(o.left-t.x);switch(Math.min(e,r,n,a)){case a:return"left";case n:return"right";case e:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ye(t,o,e=5){const r=[];switch(o){case"top":r.push({x:t.x-e,y:t.y+e},{x:t.x+e,y:t.y+e});break;case"bottom":r.push({x:t.x-e,y:t.y-e},{x:t.x+e,y:t.y-e});break;case"left":r.push({x:t.x+e,y:t.y-e},{x:t.x+e,y:t.y+e});break;case"right":r.push({x:t.x-e,y:t.y-e},{x:t.x-e,y:t.y+e});break}return r}function ge(t){const{top:o,right:e,bottom:r,left:n}=t;return[{x:n,y:o},{x:e,y:o},{x:e,y:r},{x:n,y:r}]}function xe(t,o){const{x:e,y:r}=t;let n=!1;for(let a=0,i=o.length-1;a<o.length;i=a++){const d=o[a],s=o[i],u=d.x,c=d.y,p=s.x,v=s.y;c>r!=v>r&&e<(p-u)*(r-c)/(v-c)+u&&(n=!n)}return n}function Ce(t){const o=t.slice();return o.sort((e,r)=>e.x<r.x?-1:e.x>r.x?1:e.y<r.y?-1:e.y>r.y?1:0),we(o)}function we(t){if(t.length<=1)return t.slice();const o=[];for(let r=0;r<t.length;r++){const n=t[r];for(;o.length>=2;){const a=o[o.length-1],i=o[o.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))o.pop();else break}o.push(n)}o.pop();const e=[];for(let r=t.length-1;r>=0;r--){const n=t[r];for(;e.length>=2;){const a=e[e.length-1],i=e[e.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))e.pop();else break}e.push(n)}return e.pop(),o.length===1&&e.length===1&&o[0].x===e[0].x&&o[0].y===e[0].y?o:o.concat(e)}var Pe=q,be=U,Ee=V,Re=Y,_e=W;export{_e as A,Re as C,Pe as P,be as R,Ee as T};
|