@optiaxiom/web-components 0.10.3 → 0.10.4

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.
Files changed (380) hide show
  1. package/dist/ActionsRoot-D3HGwmX0.js +1 -0
  2. package/dist/AlertDialogContext-BLLf10we.js +1 -0
  3. package/dist/AngleMenuButton-BttMTNgv.js +1 -0
  4. package/dist/Avatar-Di2s9r20.js +1 -0
  5. package/dist/AvatarContext-C0aLzKyM.js +1 -0
  6. package/dist/AvatarGroup-DgaDUZSK.js +1 -0
  7. package/dist/AvatarGroup.css.ts.vanilla-Cx5atBZp-D6fbZ5b4.js +1 -0
  8. package/dist/Backdrop-4vi19CDU.js +1 -0
  9. package/dist/Badge-zEzosPC6.js +1 -0
  10. package/dist/Box-KbhwudxO.js +1 -0
  11. package/dist/{Button-CopADjxg.js → Button-BRObsRfm.js} +1 -1
  12. package/dist/ButtonContext-CXoo6E9i.js +1 -0
  13. package/dist/ButtonGroup-DXUk9q_2.js +1 -0
  14. package/dist/ButtonRoot-D9uMmvdc.js +1 -0
  15. package/dist/Calendar-Dp1Dkca6.js +1 -0
  16. package/dist/Checkbox-DErm1lmS.js +1 -0
  17. package/dist/{Combination-ChLN84hy.js → Combination-C0hFTUie.js} +1 -1
  18. package/dist/Cover-DdeP6yWY.js +1 -0
  19. package/dist/DataTableContext-Cckx_Lc0.js +1 -0
  20. package/dist/DateRangePickerContext-t6Tfh3Qa.js +1 -0
  21. package/dist/DialogContext-UDBli-9y.js +1 -0
  22. package/dist/{Disclosure-BONV-aQf.js → Disclosure-DL_mlUOs.js} +1 -1
  23. package/dist/DisclosureContent-ZBbUoOf-.js +1 -0
  24. package/dist/{DisclosureContext-CLAdkCqC.js → DisclosureContext-Cu1BrQoU.js} +1 -1
  25. package/dist/DisclosureTrigger-g66NIIzR.js +1 -0
  26. package/dist/DropdownMenuContext-bj9D9JK0.js +1 -0
  27. package/dist/DropdownMenuNestedContext-euS8TYk1.js +1 -0
  28. package/dist/DropdownMenuSubContext-BrDYBo_s.js +1 -0
  29. package/dist/{FieldContext-CPdl4sHm.js → FieldContext-CLX3DEBL.js} +1 -1
  30. package/dist/{FieldLabel-jbWCi-Vu.js → FieldLabel-BbiTIYRm.js} +1 -1
  31. package/dist/{FilteredSlot-C84aV4Vu.js → FilteredSlot-BmJIrxpw.js} +1 -1
  32. package/dist/{Flex-BxgcCpyo.js → Flex-C_afLxlo.js} +1 -1
  33. package/dist/{Heading-BmQdj_ot.js → Heading-B7BpLaio.js} +1 -1
  34. package/dist/Icon-Dg8DnF4a.js +1 -0
  35. package/dist/IconAngleDown-DiQTZpkN.js +1 -0
  36. package/dist/{IconAngleRight-nYBLv_BJ.js → IconAngleRight-yT4UjjIa.js} +1 -1
  37. package/dist/{IconCalendar-1Z8UB8yj.js → IconCalendar-zFBIFTV2.js} +1 -1
  38. package/dist/{IconCircleInfoSolid-3iqwIk_b.js → IconCircleInfoSolid-DeIX_yeB.js} +1 -1
  39. package/dist/{IconEllipsis-62ArFL79.js → IconEllipsis-CpO2OvaB.js} +1 -1
  40. package/dist/{IconTriangleExclamationSolid-C04y6U2o.js → IconTriangleExclamationSolid-CyHyD38E.js} +1 -1
  41. package/dist/{IconX-D1CsikgA.js → IconX-hwIqrxVU.js} +1 -1
  42. package/dist/{Input-DEqzd_rp.js → Input-CHQ082gi.js} +1 -1
  43. package/dist/{InputAddon-DxSkeRxx.js → InputAddon-o6qpuhZQ.js} +1 -1
  44. package/dist/InputContext-7F97W-J2.js +1 -0
  45. package/dist/InputControl-TQb_r0GK.js +1 -0
  46. package/dist/InputControl.css.ts.vanilla-DTGYmare-D_1Xb8Nd.js +1 -0
  47. package/dist/InputRoot-C74CKFEm.js +1 -0
  48. package/dist/{Listbox-BFRZbGZb.js → Listbox-B1e2Lem8.js} +1 -1
  49. package/dist/ListboxCheckboxItem-CBTBAZHT.js +1 -0
  50. package/dist/{ListboxEmpty-CKf19IMT.js → ListboxEmpty-L82AaZTK.js} +1 -1
  51. package/dist/{ListboxFooter-P7TgEJ5Y.js → ListboxFooter-B-UYrGQE.js} +1 -1
  52. package/dist/ListboxGroup-CWxHBjGY.js +1 -0
  53. package/dist/ListboxGroupContext-BZTiw_Jc.js +1 -0
  54. package/dist/ListboxItem-MbS799EN.js +1 -0
  55. package/dist/ListboxItemIndicator-DCghuFW5.js +1 -0
  56. package/dist/{ListboxItemized-BouaAXnU.js → ListboxItemized-CZEjCGkZ.js} +1 -1
  57. package/dist/ListboxLabel-y91DUYHd.js +1 -0
  58. package/dist/{ListboxRadioItem-Tmvml9QF.js → ListboxRadioItem-jN79KnHi.js} +1 -1
  59. package/dist/ListboxSeparator-b-gAHvO6.js +1 -0
  60. package/dist/{ListboxSwitchItem-rFq5AHCU.js → ListboxSwitchItem-BNhV0G0-.js} +1 -1
  61. package/dist/ModalContext-miFViPPD.js +1 -0
  62. package/dist/{ModalLayer-DmrL4xRd.js → ModalLayer-Dv1VVmST.js} +1 -1
  63. package/dist/ModalListbox-DsU3BcMW.js +1 -0
  64. package/dist/Nav-QtBT3xG7.js +1 -0
  65. package/dist/NavAccountItem-CP3joV1Z.js +1 -0
  66. package/dist/{NavBody-Df4Wbaig.js → NavBody-QIhGBXXs.js} +1 -1
  67. package/dist/NavFooter-B5hBx9c1.js +1 -0
  68. package/dist/NavGroup-51WPHbiD.js +1 -0
  69. package/dist/{NavGroupContent-DXK8URz7.js → NavGroupContent-DCwjV_G9.js} +1 -1
  70. package/dist/NavGroupContext-Cb53zz4f.js +1 -0
  71. package/dist/NavGroupTrigger-CJvEaVIV.js +1 -0
  72. package/dist/NavHeader-BBwxjri6.js +1 -0
  73. package/dist/NavItem-CBg9pw9s.js +1 -0
  74. package/dist/{NavList-D5xKrNtD.js → NavList-DWlKN1EZ.js} +1 -1
  75. package/dist/NavSeparator-Dmo2s21x.js +1 -0
  76. package/dist/Pagination-COX7seB-.js +1 -0
  77. package/dist/{Paper-DkHJtgch.js → Paper-ByHHHqYw.js} +1 -1
  78. package/dist/{Popover-E4zDAnoN.js → Popover-BodiyxdO.js} +1 -1
  79. package/dist/{PopoverAnchor-DP2IMwpv.js → PopoverAnchor-CVo82UW2.js} +1 -1
  80. package/dist/PopoverContent-CIisbtSg.js +1 -0
  81. package/dist/PopoverContext-DtS0zfIJ.js +1 -0
  82. package/dist/{PopoverTrigger-BKlC5viF.js → PopoverTrigger-CS8SC9IT.js} +1 -1
  83. package/dist/Portal-C0Vo4BiU.js +1 -0
  84. package/dist/PortalContext-DaTMQnbo.js +1 -0
  85. package/dist/RadioGroupContext-DQDDMpW2.js +1 -0
  86. package/dist/{SegmentedControlContext-CLtJhswg.js → SegmentedControlContext-DFOqC3zK.js} +1 -1
  87. package/dist/{Select-CLKCJPFX.js → Select-CWgAndPC.js} +1 -1
  88. package/dist/SelectContent-CVqhnvuA.js +1 -0
  89. package/dist/SelectContext-DJerpQX1.js +1 -0
  90. package/dist/{SelectTrigger-CMZYFmHM.js → SelectTrigger-q1czo7-l.js} +1 -1
  91. package/dist/Separator-NVrmKW6g.js +1 -0
  92. package/dist/SidebarContext-CQ7EHdLQ.js +1 -0
  93. package/dist/Skeleton-OcUmreRV.js +1 -0
  94. package/dist/Spinner-CCXCNomo.js +1 -0
  95. package/dist/Switch-ixCi34sg.js +1 -0
  96. package/dist/Table-CCrIIYDc.js +1 -0
  97. package/dist/TableAction-BUMbnB8P.js +1 -0
  98. package/dist/TableBody-CQp50u7n.js +1 -0
  99. package/dist/TableCell-Ctea1_uS.js +1 -0
  100. package/dist/TableHeader-bZqVpF28.js +1 -0
  101. package/dist/TableHeaderCell-LPrq4Zqw.js +1 -0
  102. package/dist/TableRow-B0G_tKmo.js +1 -0
  103. package/dist/TableRow.css.ts.vanilla-DKWSCVR_-a1gzbr1k.js +1 -0
  104. package/dist/Text-BAVJhd4c.js +1 -0
  105. package/dist/{ThemeProvider-BwkbyRFw.js → ThemeProvider-HpeheiHg.js} +1 -1
  106. package/dist/Toast-r2fP2713.js +1 -0
  107. package/dist/{ToastAction-UyGYgxu1.js → ToastAction-AEjauBnk.js} +1 -1
  108. package/dist/ToastProvider-BWNKa_v0.js +1 -0
  109. package/dist/{ToastTitle-wGD5fUHR.js → ToastTitle-By9oHA4n.js} +1 -1
  110. package/dist/ToggleInputLabel-mR_XDw7y.js +1 -0
  111. package/dist/{Tooltip-C-BguHZD.js → Tooltip-D3MAszoB.js} +1 -1
  112. package/dist/TooltipContent-DOK51UEB.js +1 -0
  113. package/dist/TooltipContext-QsjIewks.js +1 -0
  114. package/dist/TooltipProvider-BR3_HGaK.js +1 -0
  115. package/dist/{TooltipRoot-CRodEgtv.js → TooltipRoot-BVRKubJ_.js} +1 -1
  116. package/dist/TooltipTrigger-CJVFZb7g.js +1 -0
  117. package/dist/Transition-BHMa10Nq.js +1 -0
  118. package/dist/{TransitionGroup--tyB9ZeA.js → TransitionGroup-BxvGkQ0V.js} +1 -1
  119. package/dist/TransitionGroupContext-C4K1yRRe.js +1 -0
  120. package/dist/VisuallyHidden-3po2JP-A.js +1 -0
  121. package/dist/components/Alert.js +1 -1
  122. package/dist/components/AlertDialog.js +1 -1
  123. package/dist/components/AlertDialogAction.js +1 -1
  124. package/dist/components/AlertDialogBody.js +1 -1
  125. package/dist/components/AlertDialogCancel.js +1 -1
  126. package/dist/components/AlertDialogContent.js +1 -1
  127. package/dist/components/AlertDialogFooter.js +1 -1
  128. package/dist/components/AlertDialogHeader.js +1 -1
  129. package/dist/components/AlertDialogTrigger.js +1 -1
  130. package/dist/components/AngleMenuButton.js +1 -1
  131. package/dist/components/Avatar.js +1 -1
  132. package/dist/components/AvatarGroup.js +1 -1
  133. package/dist/components/AxiomProvider.js +1 -1
  134. package/dist/components/Badge.js +1 -1
  135. package/dist/components/Banner.js +1 -1
  136. package/dist/components/Box.js +1 -1
  137. package/dist/components/Button.js +1 -1
  138. package/dist/components/ButtonGroup.js +1 -1
  139. package/dist/components/Checkbox.js +1 -1
  140. package/dist/components/Code.js +1 -1
  141. package/dist/components/Cover.js +1 -1
  142. package/dist/components/DataTable.js +1 -1
  143. package/dist/components/DataTableBody.js +2 -2
  144. package/dist/components/DataTableFooter.js +1 -1
  145. package/dist/components/DateInput.js +1 -1
  146. package/dist/components/DateRangePicker.js +1 -1
  147. package/dist/components/DateRangePickerContent.js +1 -1
  148. package/dist/components/DateRangePickerTrigger.js +1 -1
  149. package/dist/components/Dialog.js +1 -1
  150. package/dist/components/DialogBody.js +1 -1
  151. package/dist/components/DialogClose.js +1 -1
  152. package/dist/components/DialogContent.js +1 -1
  153. package/dist/components/DialogFooter.js +1 -1
  154. package/dist/components/DialogForm.js +1 -1
  155. package/dist/components/DialogHeader.js +1 -1
  156. package/dist/components/DialogTrigger.js +1 -1
  157. package/dist/components/Disclosure.js +1 -1
  158. package/dist/components/DisclosureContent.js +1 -1
  159. package/dist/components/DisclosureTrigger.js +1 -1
  160. package/dist/components/DropdownMenu.js +1 -1
  161. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  162. package/dist/components/DropdownMenuContent.js +1 -1
  163. package/dist/components/DropdownMenuGroup.js +1 -1
  164. package/dist/components/DropdownMenuItem.js +1 -1
  165. package/dist/components/DropdownMenuLabel.js +1 -1
  166. package/dist/components/DropdownMenuSeparator.js +1 -1
  167. package/dist/components/DropdownMenuSub.js +1 -1
  168. package/dist/components/DropdownMenuSubContent.js +1 -1
  169. package/dist/components/DropdownMenuTrigger.js +1 -1
  170. package/dist/components/EllipsisMenuButton.js +1 -1
  171. package/dist/components/Field.js +1 -1
  172. package/dist/components/FieldLabel.js +1 -1
  173. package/dist/components/Flex.js +1 -1
  174. package/dist/components/Grid.js +1 -1
  175. package/dist/components/Heading.js +1 -1
  176. package/dist/components/Indicator.js +1 -1
  177. package/dist/components/Input.js +1 -1
  178. package/dist/components/InputAddon.js +1 -1
  179. package/dist/components/InputControl.js +1 -1
  180. package/dist/components/InputRoot.js +1 -1
  181. package/dist/components/Kbd.js +1 -1
  182. package/dist/components/LabelMenuButton.js +1 -1
  183. package/dist/components/Link.js +1 -1
  184. package/dist/components/Listbox.js +1 -1
  185. package/dist/components/ListboxCheckboxItem.js +1 -1
  186. package/dist/components/ListboxEmpty.js +1 -1
  187. package/dist/components/ListboxFooter.js +1 -1
  188. package/dist/components/ListboxGroup.js +1 -1
  189. package/dist/components/ListboxItem.js +1 -1
  190. package/dist/components/ListboxItemIndicator.js +1 -1
  191. package/dist/components/ListboxItemized.js +1 -1
  192. package/dist/components/ListboxLabel.js +1 -1
  193. package/dist/components/ListboxRadioItem.js +1 -1
  194. package/dist/components/ListboxSeparator.js +1 -1
  195. package/dist/components/ListboxSwitchItem.js +1 -1
  196. package/dist/components/ModalLayer.js +1 -1
  197. package/dist/components/ModalProvider.js +1 -1
  198. package/dist/components/Nav.js +1 -1
  199. package/dist/components/NavAccountItem.js +1 -1
  200. package/dist/components/NavBody.js +1 -1
  201. package/dist/components/NavFooter.js +1 -1
  202. package/dist/components/NavGroup.d.ts +3 -2
  203. package/dist/components/NavGroup.js +1 -1
  204. package/dist/components/NavGroupContent.js +1 -1
  205. package/dist/components/NavGroupTrigger.js +1 -1
  206. package/dist/components/NavHeader.js +1 -1
  207. package/dist/components/NavItem.js +1 -1
  208. package/dist/components/NavList.js +1 -1
  209. package/dist/components/NavSeparator.js +1 -1
  210. package/dist/components/Pagination.js +1 -1
  211. package/dist/components/Paper.js +1 -1
  212. package/dist/components/Popover.js +1 -1
  213. package/dist/components/PopoverAnchor.js +1 -1
  214. package/dist/components/PopoverContent.js +1 -1
  215. package/dist/components/PopoverTrigger.js +1 -1
  216. package/dist/components/Progress.js +2 -2
  217. package/dist/components/Radio.js +1 -1
  218. package/dist/components/RadioGroup.js +1 -1
  219. package/dist/components/SearchInput.js +1 -1
  220. package/dist/components/SegmentedControl.js +1 -1
  221. package/dist/components/SegmentedControlItem.js +1 -1
  222. package/dist/components/Select.js +1 -1
  223. package/dist/components/SelectContent.js +1 -1
  224. package/dist/components/SelectTrigger.js +1 -1
  225. package/dist/components/Separator.js +1 -1
  226. package/dist/components/Sidebar.js +1 -1
  227. package/dist/components/SidebarToggle.js +1 -1
  228. package/dist/components/Skeleton.js +1 -1
  229. package/dist/components/Spinner.js +1 -1
  230. package/dist/components/SubNav.js +1 -1
  231. package/dist/components/Switch.js +1 -1
  232. package/dist/components/Table.js +1 -1
  233. package/dist/components/TableAction.js +1 -1
  234. package/dist/components/TableBody.js +1 -1
  235. package/dist/components/TableCell.js +1 -1
  236. package/dist/components/TableHeader.js +1 -1
  237. package/dist/components/TableHeaderCell.js +1 -1
  238. package/dist/components/TableRow.js +1 -1
  239. package/dist/components/Tabs.js +1 -1
  240. package/dist/components/TabsContent.js +1 -1
  241. package/dist/components/TabsList.js +1 -1
  242. package/dist/components/TabsTrigger.js +1 -1
  243. package/dist/components/Text.js +1 -1
  244. package/dist/components/Textarea.js +1 -1
  245. package/dist/components/ThemeProvider.js +1 -1
  246. package/dist/components/Toast.js +1 -1
  247. package/dist/components/ToastAction.js +1 -1
  248. package/dist/components/ToastProvider.js +1 -1
  249. package/dist/components/ToastTitle.js +1 -1
  250. package/dist/components/ToggleButton.js +1 -1
  251. package/dist/components/Tooltip.js +1 -1
  252. package/dist/components/TooltipContent.js +1 -1
  253. package/dist/components/TooltipProvider.js +1 -1
  254. package/dist/components/TooltipRoot.js +1 -1
  255. package/dist/components/TooltipTrigger.js +1 -1
  256. package/dist/components/Transition.js +1 -1
  257. package/dist/components/TransitionGroup.js +1 -1
  258. package/dist/{decorateChildren-CgfQCQHq.js → decorateChildren-Dh94ASKR.js} +1 -1
  259. package/dist/fallbackSpan-cNWzvgoM.js +1 -0
  260. package/dist/index-BBt1E70h.js +5 -0
  261. package/dist/{index-hyerWI4c.js → index-BFCyDU4Q.js} +1 -1
  262. package/dist/{index-CN23jJke.js → index-BUeSiwKX.js} +1 -1
  263. package/dist/{index-kdb6LTlL.js → index-BWPRLJg-.js} +1 -1
  264. package/dist/{index-Cuxyk__1.js → index-BabdR4qD.js} +1 -1
  265. package/dist/{index-B8Mi1ru0.js → index-Bb94qrAX.js} +1 -1
  266. package/dist/{index-XoWUgll-.js → index-BmSgjcbW.js} +1 -1
  267. package/dist/{index-DE1LRaad.js → index-C48nY0Mq.js} +1 -1
  268. package/dist/{index-DBHuLsr5.js → index-CDuDJEIF.js} +1 -1
  269. package/dist/{index-CyQ6-EUv.js → index-CGptjsxG.js} +1 -1
  270. package/dist/{index-_HSZBYZ2.js → index-CI2vLVid.js} +1 -1
  271. package/dist/{index-ByKm43-s.js → index-CKJ5e-Ly.js} +1 -1
  272. package/dist/{index-DgGPVV3u.js → index-CbR9uCwE.js} +1 -1
  273. package/dist/{index-DfI1C0CI.js → index-CeboH83Y.js} +1 -1
  274. package/dist/{index-f0jF-SQk.js → index-CfDkctZZ.js} +1 -1
  275. package/dist/{index-B-5OXVqV.js → index-CoF_i6dU.js} +1 -1
  276. package/dist/{index-_pbUDaj6.js → index-CsrPp_J7.js} +1 -1
  277. package/dist/{index-3yCeHosg.js → index-D0ABZUfm.js} +1 -1
  278. package/dist/{index-kYVN-q_P.js → index-D3i-FloW.js} +1 -1
  279. package/dist/{index-GYg7wYdo.js → index-DH4aI9a1.js} +1 -1
  280. package/dist/{index-DlrTtA-M.js → index-DIu4_C4G.js} +1 -1
  281. package/dist/index-DOKuvoya.js +1 -0
  282. package/dist/{index-qTKWF9oo.js → index-DV-dtWFU.js} +1 -1
  283. package/dist/{index-DLEcE7y5.js → index-DV0jhzsh.js} +1 -1
  284. package/dist/{index-uEcL3mb6.js → index-DjntHHkF.js} +1 -1
  285. package/dist/{index-mQGnRT7b.js → index-n6Sqy68J.js} +1 -1
  286. package/dist/index.d.ts +3 -2
  287. package/dist/index.js +1 -1
  288. package/dist/layers.css.ts.vanilla-sGpaWqx5-CO-pB0Vk.js +1 -0
  289. package/dist/{propTypes-BgDgQj7O.js → propTypes-BgI6w_Yc.js} +1 -1
  290. package/dist/{register-D6N8B6AV.js → register-_G2N7H5v.js} +1 -1
  291. package/dist/{useEffectEvent-CoA7-PTt.js → useEffectEvent-jwZdzU3U.js} +1 -1
  292. package/dist/{useFieldLabelTrigger-BhMQuypi.js → useFieldLabelTrigger-DgU84lcA.js} +1 -1
  293. package/dist/{useNestedDialogCount-DOO1hnTm.js → useNestedDialogCount-FIsy5vDD.js} +1 -1
  294. package/dist/{useObserveValue--1YXdcXi.js → useObserveValue-Bs_YzdyZ.js} +1 -1
  295. package/dist/{withIcon-BAx9SshG.js → withIcon-B6cr0_8K.js} +1 -1
  296. package/package.json +2 -2
  297. package/dist/ActionsRoot-DIfZ1KCL.js +0 -1
  298. package/dist/AlertDialogContext-DPGFqJhP.js +0 -1
  299. package/dist/AngleMenuButton-B-tj6o5b.js +0 -1
  300. package/dist/Avatar-C0wsUpJq.js +0 -1
  301. package/dist/AvatarContext-CWCv72qx.js +0 -1
  302. package/dist/AvatarGroup-Cxy-74VX.js +0 -1
  303. package/dist/AvatarGroup.css.ts.vanilla-QKro-bni-bDE3zkTP.js +0 -1
  304. package/dist/Backdrop-Cz11eEY9.js +0 -1
  305. package/dist/Badge-Ck8CijLL.js +0 -1
  306. package/dist/Box-bm7oB_w-.js +0 -1
  307. package/dist/ButtonContext-DmfU957c.js +0 -1
  308. package/dist/ButtonGroup-BespxqLs.js +0 -1
  309. package/dist/ButtonRoot-BAFQsC9I.js +0 -1
  310. package/dist/Calendar-6n6hsPFb.js +0 -1
  311. package/dist/Checkbox-I-ZDXKX9.js +0 -1
  312. package/dist/Cover-DS00qOQL.js +0 -1
  313. package/dist/DataTableContext-CmmUa1Ez.js +0 -1
  314. package/dist/DateRangePickerContext-bK66xYLz.js +0 -1
  315. package/dist/DialogContext-D41Zrgyf.js +0 -1
  316. package/dist/DisclosureContent-CO9Me4qF.js +0 -1
  317. package/dist/DisclosureTrigger-DoUixcDQ.js +0 -1
  318. package/dist/DropdownMenuContext-B90yJDzZ.js +0 -1
  319. package/dist/DropdownMenuNestedContext-C6TIdrJU.js +0 -1
  320. package/dist/DropdownMenuSubContext-CHGOX9Qv.js +0 -1
  321. package/dist/Icon-CnLE52t0.js +0 -1
  322. package/dist/IconAngleDown-DoNwcU3I.js +0 -1
  323. package/dist/InputContext-Bk2AiXJQ.js +0 -1
  324. package/dist/InputControl-CQvOX-Pb.js +0 -1
  325. package/dist/InputControl.css.ts.vanilla-BnLQthxH-nWQgdcYF.js +0 -1
  326. package/dist/InputRoot-BgyWs6MH.js +0 -1
  327. package/dist/ListboxCheckboxItem-DTgYX2VK.js +0 -1
  328. package/dist/ListboxGroup-P3D2KUoS.js +0 -1
  329. package/dist/ListboxGroupContext-CwH80oq2.js +0 -1
  330. package/dist/ListboxItem-7pk3Ovde.js +0 -1
  331. package/dist/ListboxItemIndicator-9NdPkx_D.js +0 -1
  332. package/dist/ListboxLabel-CAhbNUbX.js +0 -1
  333. package/dist/ListboxSeparator-CrOBm6Be.js +0 -1
  334. package/dist/ModalContext-C7MELOWc.js +0 -1
  335. package/dist/ModalListbox-CqefyDNj.js +0 -1
  336. package/dist/Nav-BTwRuy6Q.js +0 -1
  337. package/dist/NavAccountItem-CUeJp3CH.js +0 -1
  338. package/dist/NavFooter-DfF9Zd4v.js +0 -1
  339. package/dist/NavGroup-iR6E9mSW.js +0 -1
  340. package/dist/NavGroupContext-1-mUYwik.js +0 -1
  341. package/dist/NavGroupTrigger-BsIcNPno.js +0 -1
  342. package/dist/NavHeader-CtNjVgxp.js +0 -1
  343. package/dist/NavItem-CSNc4HJI.js +0 -1
  344. package/dist/NavSeparator-DGHWjlDt.js +0 -1
  345. package/dist/Pagination-DDi-Wojb.js +0 -1
  346. package/dist/PopoverContent-DF2qU_iA.js +0 -1
  347. package/dist/PopoverContext-C_QjV6-3.js +0 -1
  348. package/dist/Portal-BdXmuU-i.js +0 -1
  349. package/dist/PortalContext-DHHkjb9y.js +0 -1
  350. package/dist/RadioGroupContext-BTzYrvQ_.js +0 -1
  351. package/dist/SelectContent-DEqmyN9T.js +0 -1
  352. package/dist/SelectContext-F1B52zWr.js +0 -1
  353. package/dist/Separator-BMzH2BhQ.js +0 -1
  354. package/dist/SidebarContext-COI16UNd.js +0 -1
  355. package/dist/Skeleton-DOdNSM_P.js +0 -1
  356. package/dist/Spinner-DY-7yeAf.js +0 -1
  357. package/dist/Switch-DHyBmJo9.js +0 -1
  358. package/dist/Table-OEZpsvqt.js +0 -1
  359. package/dist/TableAction-D-OaqSq4.js +0 -1
  360. package/dist/TableBody-Do_UtL6J.js +0 -1
  361. package/dist/TableCell-t5IDCKhh.js +0 -1
  362. package/dist/TableHeader-B_9ZXEl1.js +0 -1
  363. package/dist/TableHeaderCell-DVDYSV8s.js +0 -1
  364. package/dist/TableRow-CV5UTnda.js +0 -1
  365. package/dist/TableRow.css.ts.vanilla-DEeo_qVc-Z3AA9euO.js +0 -1
  366. package/dist/Text-Dx-X0PRO.js +0 -1
  367. package/dist/Toast-CPvRydsA.js +0 -1
  368. package/dist/ToastProvider-Cduop-W_.js +0 -1
  369. package/dist/ToggleInputLabel-DDlShFi0.js +0 -1
  370. package/dist/TooltipContent-CBiRligA.js +0 -1
  371. package/dist/TooltipContext-LHaMjQ_f.js +0 -1
  372. package/dist/TooltipProvider-CJtCWlBF.js +0 -1
  373. package/dist/TooltipTrigger-Bv7CZkpX.js +0 -1
  374. package/dist/Transition-B5G6J_7n.js +0 -1
  375. package/dist/TransitionGroupContext-D_06iJwS.js +0 -1
  376. package/dist/VisuallyHidden-CLGCRunn.js +0 -1
  377. package/dist/fallbackSpan-BpHyMB25.js +0 -1
  378. package/dist/index-BgsAJgCB.js +0 -1
  379. package/dist/index-DbjwSr_z.js +0 -5
  380. package/dist/layers.css.ts.vanilla-DgDqM1Tx-1tCJWFKD.js +0 -1
@@ -1 +1 @@
1
- import{D as S,A as R,y as F,q as $,u as c,d as V,T as Ce,$ as xe,k as re}from"./register-D6N8B6AV.js";import{c as g}from"./index-CBrz5xtv.js";import{u as se}from"./index-uEcL3mb6.js";import{c as Re}from"./index-Cuxyk__1.js";import{a as be}from"./index-DlrTtA-M.js";import{B as ge,R as Se}from"./index-mQGnRT7b.js";import{P as Ae}from"./index-f0jF-SQk.js";import{P as Ie}from"./index-DE1LRaad.js";import{P as D,d as _e}from"./index-kdb6LTlL.js";import{u as Y}from"./index-DfI1C0CI.js";import{u as Fe}from"./index-B-5OXVqV.js";import{u as De}from"./index-BgsAJgCB.js";import{V as ae}from"./index-CN23jJke.js";var z="ToastProvider",[G,Ne,Le]=Re("Toast"),[ie,vt]=be("Toast",[Le]),[Oe,B]=ie(z),ce=t=>{const{__scopeToast:n,label:o="Notification",duration:e=5e3,swipeDirection:i="right",swipeThreshold:l=50,children:d}=t,[m,w]=V(null),[a,x]=V(0),E=R(!1),N=R(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${z}\`. Expected non-empty \`string\`.`),c(G.Provider,{scope:n,children:c(Oe,{scope:n,label:o,duration:e,swipeDirection:i,swipeThreshold:l,toastCount:a,viewport:m,onViewportChange:w,onToastAdd:$(()=>x(I=>I+1),[]),onToastRemove:$(()=>x(I=>I-1),[]),isFocusedToastEscapeKeyDownRef:E,isClosePausedRef:N,children:d})})};ce.displayName=z;var ue="ToastViewport",Me=["F8"],J="toast.viewportPause",Q="toast.viewportResume",le=S((t,n)=>{const{__scopeToast:o,hotkey:e=Me,label:i="Notifications ({hotkey})",...l}=t,d=B(ue,o),m=Ne(o),w=R(null),a=R(null),x=R(null),E=R(null),N=se(n,E,d.onViewportChange),I=e.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=d.toastCount>0;F(()=>{const s=y=>{e.length!==0&&e.every(f=>y[f]||y.code===f)&&E.current?.focus()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e]),F(()=>{const s=w.current,y=E.current;if(_&&s&&y){const p=()=>{if(!d.isClosePausedRef.current){const T=new CustomEvent(J);y.dispatchEvent(T),d.isClosePausedRef.current=!0}},f=()=>{if(d.isClosePausedRef.current){const T=new CustomEvent(Q);y.dispatchEvent(T),d.isClosePausedRef.current=!1}},h=T=>{!s.contains(T.relatedTarget)&&f()},P=()=>{s.contains((()=>{let b=document.activeElement;for(;b?.shadowRoot;)b=b.shadowRoot.activeElement;return b})())||f()};return s.addEventListener("focusin",p),s.addEventListener("focusout",h),s.addEventListener("pointermove",p),s.addEventListener("pointerleave",P),window.addEventListener("blur",p),window.addEventListener("focus",f),()=>{s.removeEventListener("focusin",p),s.removeEventListener("focusout",h),s.removeEventListener("pointermove",p),s.removeEventListener("pointerleave",P),window.removeEventListener("blur",p),window.removeEventListener("focus",f)}}},[_,d.isClosePausedRef]);const u=$(({tabbingDirection:s})=>{const p=m().map(f=>{const h=f.ref.current,P=[h,...Ge(h)];return s==="forwards"?P:P.reverse()});return(s==="forwards"?p.reverse():p).flat()},[m]);return F(()=>{const s=E.current;if(s){const y=p=>{const f=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!f){const P=(()=>{let C=document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;return C})(),T=p.shiftKey;if(p.target===s&&T){a.current?.focus();return}const L=u({tabbingDirection:T?"backwards":"forwards"}),H=L.findIndex(C=>C===P);te(L.slice(H+1))?p.preventDefault():T?a.current?.focus():x.current?.focus()}};return s.addEventListener("keydown",y),()=>s.removeEventListener("keydown",y)}},[m,u]),c(ge,{ref:w,role:"region","aria-label":i.replace("{hotkey}",I),tabIndex:-1,style:{pointerEvents:_?void 0:"none"},children:[_&&c(Z,{ref:a,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"forwards"});te(s)}}),c(G.Slot,{scope:o,children:c(D.ol,{tabIndex:-1,...l,ref:N})}),_&&c(Z,{ref:x,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"backwards"});te(s)}})]})});le.displayName=ue;var de="ToastFocusProxy",Z=S((t,n)=>{const{__scopeToast:o,onFocusFromOutsideViewport:e,...i}=t,l=B(de,o);return c(ae,{"aria-hidden":!0,tabIndex:0,...i,ref:n,style:{position:"fixed"},onFocus:d=>{const m=d.relatedTarget;!l.viewport?.contains(m)&&e()}})});Z.displayName=de;var k="Toast",Ve="toast.swipeStart",ke="toast.swipeMove",Ke="toast.swipeCancel",He="toast.swipeEnd",pe=S((t,n)=>{const{forceMount:o,open:e,defaultOpen:i,onOpenChange:l,...d}=t,[m,w]=Fe({prop:e,defaultProp:i??!0,onChange:l,caller:k});return c(Ie,{present:o||m,children:c(Xe,{open:m,...d,ref:n,onClose:()=>w(!1),onPause:Y(t.onPause),onResume:Y(t.onResume),onSwipeStart:g(t.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(t.onSwipeMove,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${E}px`)}),onSwipeCancel:g(t.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(t.onSwipeEnd,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${E}px`),w(!1)})})})});pe.displayName=k;var[We,Ue]=ie(k,{onClose(){}}),Xe=S((t,n)=>{const{__scopeToast:o,type:e="foreground",duration:i,open:l,onClose:d,onEscapeKeyDown:m,onPause:w,onResume:a,onSwipeStart:x,onSwipeMove:E,onSwipeCancel:N,onSwipeEnd:I,..._}=t,u=B(k,o),[s,y]=V(null),p=se(n,r=>y(r)),f=R(null),h=R(null),P=i||u.duration,T=R(0),b=R(P),K=R(0),{onToastAdd:L,onToastRemove:H}=u,C=Y(()=>{s?.contains((()=>{let v=document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;return v})())&&u.viewport?.focus(),d()}),W=$(r=>{!r||r===1/0||(window.clearTimeout(K.current),T.current=new Date().getTime(),K.current=window.setTimeout(C,r))},[C]);F(()=>{const r=u.viewport;if(r){const v=()=>{W(b.current),a?.()},A=()=>{const O=new Date().getTime()-T.current;b.current=b.current-O,window.clearTimeout(K.current),w?.()};return r.addEventListener(J,A),r.addEventListener(Q,v),()=>{r.removeEventListener(J,A),r.removeEventListener(Q,v)}}},[u.viewport,P,w,a,W]),F(()=>{l&&!u.isClosePausedRef.current&&W(P)},[l,P,u.isClosePausedRef,W]),F(()=>(L(),()=>H()),[L,H]);const oe=Ce(()=>s?Ee(s):null,[s]);return u.viewport?c(re,{children:[oe&&c($e,{__scopeToast:o,role:"status","aria-live":e==="foreground"?"assertive":"polite","aria-atomic":!0,children:oe}),c(We,{scope:o,onClose:C,children:xe(c(G.ItemSlot,{scope:o,children:c(Se,{asChild:!0,onEscapeKeyDown:g(m,()=>{u.isFocusedToastEscapeKeyDownRef.current||C(),u.isFocusedToastEscapeKeyDownRef.current=!1}),children:c(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":u.swipeDirection,..._,ref:p,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:g(t.onKeyDown,r=>{r.key==="Escape"&&(m?.(r.nativeEvent),r.nativeEvent.defaultPrevented||(u.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:g(t.onPointerDown,r=>{r.button===0&&(f.current={x:r.clientX,y:r.clientY})}),onPointerMove:g(t.onPointerMove,r=>{if(!f.current)return;const v=r.clientX-f.current.x,A=r.clientY-f.current.y,O=Boolean(h.current),M=["left","right"].includes(u.swipeDirection),U=["left","up"].includes(u.swipeDirection)?Math.min:Math.max,he=M?U(0,v):0,Pe=M?0:U(0,A),j=r.pointerType==="touch"?10:2,X={x:he,y:Pe},ne={originalEvent:r,delta:X};O?(h.current=X,q(ke,E,ne,{discrete:!1})):ye(X,u.swipeDirection,j)?(h.current=X,q(Ve,x,ne,{discrete:!1}),r.target.setPointerCapture(r.pointerId)):(Math.abs(v)>j||Math.abs(A)>j)&&(f.current=null)}),onPointerUp:g(t.onPointerUp,r=>{const v=h.current,A=r.target;if(A.hasPointerCapture(r.pointerId)&&A.releasePointerCapture(r.pointerId),h.current=null,f.current=null,v){const O=r.currentTarget,M={originalEvent:r,delta:v};ye(v,u.swipeDirection,u.swipeThreshold)?q(He,I,M,{discrete:!0}):q(Ke,N,M,{discrete:!0}),O.addEventListener("click",U=>U.preventDefault(),{once:!0})}})})})}),u.viewport)})]}):null}),$e=t=>{const{__scopeToast:n,children:o,...e}=t,i=B(k,n),[l,d]=V(!1),[m,w]=V(!1);return je(()=>d(!0)),F(()=>{const a=window.setTimeout(()=>w(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:c(Ae,{asChild:!0,children:c(ae,{...e,children:l&&c(re,{children:[i.label," ",o]})})})},Ye="ToastTitle",fe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});fe.displayName=Ye;var Be="ToastDescription",qe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});qe.displayName=Be;var me="ToastAction",ve=S((t,n)=>{const{altText:o,...e}=t;return o.trim()?c(Te,{altText:o,asChild:!0,children:c(ee,{...e,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${me}\`. Expected non-empty \`string\`.`),null)});ve.displayName=me;var we="ToastClose",ee=S((t,n)=>{const{__scopeToast:o,...e}=t,i=Ue(we,o);return c(Te,{asChild:!0,children:c(D.button,{type:"button",...e,ref:n,onClick:g(t.onClick,i.onClose)})})});ee.displayName=we;var Te=S((t,n)=>{const{__scopeToast:o,altText:e,...i}=t;return c(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":e||void 0,...i,ref:n})});function Ee(t){const n=[];return Array.from(t.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&n.push(e.textContent),ze(e)){const i=e.ariaHidden||e.hidden||e.style.display==="none",l=e.dataset.radixToastAnnounceExclude==="";if(!i)if(l){const d=e.dataset.radixToastAnnounceAlt;d&&n.push(d)}else n.push(...Ee(e))}}),n}function q(t,n,o,{discrete:e}){const i=o.originalEvent.currentTarget,l=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});n&&i.addEventListener(t,n,{once:!0}),e?_e(i,l):i.dispatchEvent(l)}var ye=(t,n,o=0)=>{const e=Math.abs(t.x),i=Math.abs(t.y),l=e>i;return n==="left"||n==="right"?l&&e>o:!l&&i>o};function je(t=()=>{}){const n=Y(t);De(()=>{let o=0,e=0;return o=window.requestAnimationFrame(()=>e=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(e)}},[n])}function ze(t){return t.nodeType===t.ELEMENT_NODE}function Ge(t){const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const i=e.tagName==="INPUT"&&e.type==="hidden";return e.disabled||e.hidden||i?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n}function te(t){const n=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();return t.some(o=>o===n?!0:(o.focus(),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==n))}var Je=le,Qe=pe,Ze=fe,et=ve,tt=ee;export{et as A,tt as C,Qe as R,ce as T,Je as V,Ze as a};
1
+ import{D as S,A as R,y as F,q as $,u as c,d as V,T as Ce,$ as xe,k as re}from"./register-_G2N7H5v.js";import{c as g}from"./index-CBrz5xtv.js";import{u as se}from"./index-DjntHHkF.js";import{c as Re}from"./index-BabdR4qD.js";import{a as be}from"./index-DIu4_C4G.js";import{B as ge,R as Se}from"./index-n6Sqy68J.js";import{P as Ae}from"./index-CfDkctZZ.js";import{P as Ie}from"./index-C48nY0Mq.js";import{P as D,d as _e}from"./index-BWPRLJg-.js";import{u as Y}from"./index-CeboH83Y.js";import{u as Fe}from"./index-CoF_i6dU.js";import{u as De}from"./index-DOKuvoya.js";import{V as ae}from"./index-BUeSiwKX.js";var z="ToastProvider",[G,Ne,Le]=Re("Toast"),[ie,vt]=be("Toast",[Le]),[Oe,B]=ie(z),ce=t=>{const{__scopeToast:n,label:o="Notification",duration:e=5e3,swipeDirection:i="right",swipeThreshold:l=50,children:d}=t,[m,w]=V(null),[a,x]=V(0),E=R(!1),N=R(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${z}\`. Expected non-empty \`string\`.`),c(G.Provider,{scope:n,children:c(Oe,{scope:n,label:o,duration:e,swipeDirection:i,swipeThreshold:l,toastCount:a,viewport:m,onViewportChange:w,onToastAdd:$(()=>x(I=>I+1),[]),onToastRemove:$(()=>x(I=>I-1),[]),isFocusedToastEscapeKeyDownRef:E,isClosePausedRef:N,children:d})})};ce.displayName=z;var ue="ToastViewport",Me=["F8"],J="toast.viewportPause",Q="toast.viewportResume",le=S((t,n)=>{const{__scopeToast:o,hotkey:e=Me,label:i="Notifications ({hotkey})",...l}=t,d=B(ue,o),m=Ne(o),w=R(null),a=R(null),x=R(null),E=R(null),N=se(n,E,d.onViewportChange),I=e.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=d.toastCount>0;F(()=>{const s=y=>{e.length!==0&&e.every(f=>y[f]||y.code===f)&&E.current?.focus()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e]),F(()=>{const s=w.current,y=E.current;if(_&&s&&y){const p=()=>{if(!d.isClosePausedRef.current){const T=new CustomEvent(J);y.dispatchEvent(T),d.isClosePausedRef.current=!0}},f=()=>{if(d.isClosePausedRef.current){const T=new CustomEvent(Q);y.dispatchEvent(T),d.isClosePausedRef.current=!1}},h=T=>{!s.contains(T.relatedTarget)&&f()},P=()=>{s.contains((()=>{let b=document.activeElement;for(;b?.shadowRoot;)b=b.shadowRoot.activeElement;return b})())||f()};return s.addEventListener("focusin",p),s.addEventListener("focusout",h),s.addEventListener("pointermove",p),s.addEventListener("pointerleave",P),window.addEventListener("blur",p),window.addEventListener("focus",f),()=>{s.removeEventListener("focusin",p),s.removeEventListener("focusout",h),s.removeEventListener("pointermove",p),s.removeEventListener("pointerleave",P),window.removeEventListener("blur",p),window.removeEventListener("focus",f)}}},[_,d.isClosePausedRef]);const u=$(({tabbingDirection:s})=>{const p=m().map(f=>{const h=f.ref.current,P=[h,...Ge(h)];return s==="forwards"?P:P.reverse()});return(s==="forwards"?p.reverse():p).flat()},[m]);return F(()=>{const s=E.current;if(s){const y=p=>{const f=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!f){const P=(()=>{let C=document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;return C})(),T=p.shiftKey;if(p.target===s&&T){a.current?.focus();return}const L=u({tabbingDirection:T?"backwards":"forwards"}),H=L.findIndex(C=>C===P);te(L.slice(H+1))?p.preventDefault():T?a.current?.focus():x.current?.focus()}};return s.addEventListener("keydown",y),()=>s.removeEventListener("keydown",y)}},[m,u]),c(ge,{ref:w,role:"region","aria-label":i.replace("{hotkey}",I),tabIndex:-1,style:{pointerEvents:_?void 0:"none"},children:[_&&c(Z,{ref:a,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"forwards"});te(s)}}),c(G.Slot,{scope:o,children:c(D.ol,{tabIndex:-1,...l,ref:N})}),_&&c(Z,{ref:x,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"backwards"});te(s)}})]})});le.displayName=ue;var de="ToastFocusProxy",Z=S((t,n)=>{const{__scopeToast:o,onFocusFromOutsideViewport:e,...i}=t,l=B(de,o);return c(ae,{"aria-hidden":!0,tabIndex:0,...i,ref:n,style:{position:"fixed"},onFocus:d=>{const m=d.relatedTarget;!l.viewport?.contains(m)&&e()}})});Z.displayName=de;var k="Toast",Ve="toast.swipeStart",ke="toast.swipeMove",Ke="toast.swipeCancel",He="toast.swipeEnd",pe=S((t,n)=>{const{forceMount:o,open:e,defaultOpen:i,onOpenChange:l,...d}=t,[m,w]=Fe({prop:e,defaultProp:i??!0,onChange:l,caller:k});return c(Ie,{present:o||m,children:c(Xe,{open:m,...d,ref:n,onClose:()=>w(!1),onPause:Y(t.onPause),onResume:Y(t.onResume),onSwipeStart:g(t.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(t.onSwipeMove,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${E}px`)}),onSwipeCancel:g(t.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(t.onSwipeEnd,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${E}px`),w(!1)})})})});pe.displayName=k;var[We,Ue]=ie(k,{onClose(){}}),Xe=S((t,n)=>{const{__scopeToast:o,type:e="foreground",duration:i,open:l,onClose:d,onEscapeKeyDown:m,onPause:w,onResume:a,onSwipeStart:x,onSwipeMove:E,onSwipeCancel:N,onSwipeEnd:I,..._}=t,u=B(k,o),[s,y]=V(null),p=se(n,r=>y(r)),f=R(null),h=R(null),P=i||u.duration,T=R(0),b=R(P),K=R(0),{onToastAdd:L,onToastRemove:H}=u,C=Y(()=>{s?.contains((()=>{let v=document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;return v})())&&u.viewport?.focus(),d()}),W=$(r=>{!r||r===1/0||(window.clearTimeout(K.current),T.current=new Date().getTime(),K.current=window.setTimeout(C,r))},[C]);F(()=>{const r=u.viewport;if(r){const v=()=>{W(b.current),a?.()},A=()=>{const O=new Date().getTime()-T.current;b.current=b.current-O,window.clearTimeout(K.current),w?.()};return r.addEventListener(J,A),r.addEventListener(Q,v),()=>{r.removeEventListener(J,A),r.removeEventListener(Q,v)}}},[u.viewport,P,w,a,W]),F(()=>{l&&!u.isClosePausedRef.current&&W(P)},[l,P,u.isClosePausedRef,W]),F(()=>(L(),()=>H()),[L,H]);const oe=Ce(()=>s?Ee(s):null,[s]);return u.viewport?c(re,{children:[oe&&c($e,{__scopeToast:o,role:"status","aria-live":e==="foreground"?"assertive":"polite","aria-atomic":!0,children:oe}),c(We,{scope:o,onClose:C,children:xe(c(G.ItemSlot,{scope:o,children:c(Se,{asChild:!0,onEscapeKeyDown:g(m,()=>{u.isFocusedToastEscapeKeyDownRef.current||C(),u.isFocusedToastEscapeKeyDownRef.current=!1}),children:c(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":u.swipeDirection,..._,ref:p,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:g(t.onKeyDown,r=>{r.key==="Escape"&&(m?.(r.nativeEvent),r.nativeEvent.defaultPrevented||(u.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:g(t.onPointerDown,r=>{r.button===0&&(f.current={x:r.clientX,y:r.clientY})}),onPointerMove:g(t.onPointerMove,r=>{if(!f.current)return;const v=r.clientX-f.current.x,A=r.clientY-f.current.y,O=Boolean(h.current),M=["left","right"].includes(u.swipeDirection),U=["left","up"].includes(u.swipeDirection)?Math.min:Math.max,he=M?U(0,v):0,Pe=M?0:U(0,A),j=r.pointerType==="touch"?10:2,X={x:he,y:Pe},ne={originalEvent:r,delta:X};O?(h.current=X,q(ke,E,ne,{discrete:!1})):ye(X,u.swipeDirection,j)?(h.current=X,q(Ve,x,ne,{discrete:!1}),r.target.setPointerCapture(r.pointerId)):(Math.abs(v)>j||Math.abs(A)>j)&&(f.current=null)}),onPointerUp:g(t.onPointerUp,r=>{const v=h.current,A=r.target;if(A.hasPointerCapture(r.pointerId)&&A.releasePointerCapture(r.pointerId),h.current=null,f.current=null,v){const O=r.currentTarget,M={originalEvent:r,delta:v};ye(v,u.swipeDirection,u.swipeThreshold)?q(He,I,M,{discrete:!0}):q(Ke,N,M,{discrete:!0}),O.addEventListener("click",U=>U.preventDefault(),{once:!0})}})})})}),u.viewport)})]}):null}),$e=t=>{const{__scopeToast:n,children:o,...e}=t,i=B(k,n),[l,d]=V(!1),[m,w]=V(!1);return je(()=>d(!0)),F(()=>{const a=window.setTimeout(()=>w(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:c(Ae,{asChild:!0,children:c(ae,{...e,children:l&&c(re,{children:[i.label," ",o]})})})},Ye="ToastTitle",fe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});fe.displayName=Ye;var Be="ToastDescription",qe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});qe.displayName=Be;var me="ToastAction",ve=S((t,n)=>{const{altText:o,...e}=t;return o.trim()?c(Te,{altText:o,asChild:!0,children:c(ee,{...e,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${me}\`. Expected non-empty \`string\`.`),null)});ve.displayName=me;var we="ToastClose",ee=S((t,n)=>{const{__scopeToast:o,...e}=t,i=Ue(we,o);return c(Te,{asChild:!0,children:c(D.button,{type:"button",...e,ref:n,onClick:g(t.onClick,i.onClose)})})});ee.displayName=we;var Te=S((t,n)=>{const{__scopeToast:o,altText:e,...i}=t;return c(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":e||void 0,...i,ref:n})});function Ee(t){const n=[];return Array.from(t.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&n.push(e.textContent),ze(e)){const i=e.ariaHidden||e.hidden||e.style.display==="none",l=e.dataset.radixToastAnnounceExclude==="";if(!i)if(l){const d=e.dataset.radixToastAnnounceAlt;d&&n.push(d)}else n.push(...Ee(e))}}),n}function q(t,n,o,{discrete:e}){const i=o.originalEvent.currentTarget,l=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});n&&i.addEventListener(t,n,{once:!0}),e?_e(i,l):i.dispatchEvent(l)}var ye=(t,n,o=0)=>{const e=Math.abs(t.x),i=Math.abs(t.y),l=e>i;return n==="left"||n==="right"?l&&e>o:!l&&i>o};function je(t=()=>{}){const n=Y(t);De(()=>{let o=0,e=0;return o=window.requestAnimationFrame(()=>e=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(e)}},[n])}function ze(t){return t.nodeType===t.ELEMENT_NODE}function Ge(t){const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const i=e.tagName==="INPUT"&&e.type==="hidden";return e.disabled||e.hidden||i?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n}function te(t){const n=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();return t.some(o=>o===n?!0:(o.focus(),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==n))}var Je=le,Qe=pe,Ze=fe,et=ve,tt=ee;export{et as A,tt as C,Qe as R,ce as T,Je as V,Ze as a};
@@ -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-D6N8B6AV.js";import{c as P}from"./index-CBrz5xtv.js";import{u as F,c as J}from"./index-uEcL3mb6.js";import{a as Q}from"./index-DlrTtA-M.js";import{D as Z}from"./index-mQGnRT7b.js";import{u as $}from"./index-3yCeHosg.js";import{c as j,A as ee,a as te,R as oe,C as re}from"./index-CyQ6-EUv.js";import{P as ne}from"./index-DE1LRaad.js";import{P as se}from"./index-kdb6LTlL.js";import{u as ie}from"./index-B-5OXVqV.js";import{R as ae}from"./index-CN23jJke.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};
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-_G2N7H5v.js";import{c as P}from"./index-CBrz5xtv.js";import{u as F,c as J}from"./index-DjntHHkF.js";import{a as Q}from"./index-DIu4_C4G.js";import{D as Z}from"./index-n6Sqy68J.js";import{u as $}from"./index-D0ABZUfm.js";import{c as j,A as ee,a as te,R as oe,C as re}from"./index-CGptjsxG.js";import{P as ne}from"./index-C48nY0Mq.js";import{P as se}from"./index-BWPRLJg-.js";import{u as ie}from"./index-CoF_i6dU.js";import{R as ae}from"./index-BUeSiwKX.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};
@@ -1 +1 @@
1
- import{D as i,y as _,u as c,A as P,d as H,q as R}from"./register-D6N8B6AV.js";import{c as g}from"./index-CBrz5xtv.js";import{u as x,a as K}from"./index-uEcL3mb6.js";import{a as q}from"./index-DlrTtA-M.js";import{D as U}from"./index-mQGnRT7b.js";import{o as V,u as W}from"./Combination-ChLN84hy.js";import{h as Z,F as $}from"./index-GYg7wYdo.js";import{u as j}from"./index-3yCeHosg.js";import{c as E,A as F,a as z,R as B,C as J}from"./index-CyQ6-EUv.js";import{P as Q}from"./index-DE1LRaad.js";import{P as N}from"./index-kdb6LTlL.js";import{u as X}from"./index-B-5OXVqV.js";var A="Popover",[y,Eo]=q(A,[E]),h=E(),[Y,l]=y(A),D=o=>{const{__scopePopover:a,children:t,open:n,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=h(a),v=P(null),[f,m]=H(!1),[C,u]=X({prop:n,defaultProp:e??!1,onChange:r,caller:A});return c(B,{...p,children:c(Y,{scope:a,contentId:j(),triggerRef:v,open:C,onOpenChange:u,onOpenToggle:R(()=>u(O=>!O),[u]),hasCustomAnchor:f,onCustomAnchorAdd:R(()=>m(!0),[]),onCustomAnchorRemove:R(()=>m(!1),[]),modal:s,children:t})})};D.displayName=A;var S="PopoverAnchor",b=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(S,t),r=h(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=e;return _(()=>(s(),()=>p()),[s,p]),c(F,{...r,...n,ref:a})});b.displayName=S;var w="PopoverTrigger",M=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(w,t),r=h(t),s=x(a,e.triggerRef),p=c(N.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":G(e.open),...n,ref:s,onClick:g(o.onClick,e.onOpenToggle)});return e.hasCustomAnchor?p:c(F,{asChild:!0,...r,children:p})});M.displayName=w;var oo="PopoverPortal",[Fo,eo]=y(oo,{forceMount:void 0}),d="PopoverContent",T=i((o,a)=>{const t=eo(d,o.__scopePopover),{forceMount:n=t.forceMount,...e}=o,r=l(d,o.__scopePopover);return c(Q,{present:n||r.open,children:r.modal?c(to,{...e,ref:a}):c(no,{...e,ref:a})})});T.displayName=d;var ro=K("PopoverContent.RemoveScroll"),to=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(null),e=x(a,n),r=P(!1);return _(()=>{const s=n.current;if(s)return Z(s)},[]),c(V,{as:ro,allowPinchZoom:!0,children:c(I,{...o,ref:e,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(o.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:g(o.onPointerDownOutside,s=>{const p=s.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,f=p.button===2||v;r.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:g(o.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),no=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(!1),e=P(!1);return c(I,{...o,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{o.onCloseAutoFocus?.(r),r.defaultPrevented||(n.current||t.triggerRef.current?.focus(),r.preventDefault()),n.current=!1,e.current=!1},onInteractOutside:r=>{o.onInteractOutside?.(r),r.defaultPrevented||(n.current=!0,r.detail.originalEvent.type==="pointerdown"&&(e.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&e.current&&r.preventDefault()}})}),I=i((o,a)=>{const{__scopePopover:t,trapFocus:n,onOpenAutoFocus:e,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onInteractOutside:m,...C}=o,u=l(d,t),O=h(t);return W(),c($,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(U,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>u.onOpenChange(!1),children:c(J,{"data-state":G(u.open),role:"dialog",id:u.contentId,...O,...C,ref:a,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",ao=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(k,t);return c(N.button,{type:"button",...n,ref:a,onClick:g(o.onClick,()=>e.onOpenChange(!1))})});ao.displayName=k;var so="PopoverArrow",L=i((o,a)=>{const{__scopePopover:t,...n}=o,e=h(t);return c(z,{...e,...n,ref:a})});L.displayName=so;function G(o){return o?"open":"closed"}var co=D,po=b,io=M,uo=T,lo=L;export{po as A,uo as C,co as R,io as T,lo as a};
1
+ import{D as i,y as _,u as c,A as P,d as H,q as R}from"./register-_G2N7H5v.js";import{c as g}from"./index-CBrz5xtv.js";import{u as x,a as K}from"./index-DjntHHkF.js";import{a as q}from"./index-DIu4_C4G.js";import{D as U}from"./index-n6Sqy68J.js";import{o as V,u as W}from"./Combination-C0hFTUie.js";import{h as Z,F as $}from"./index-DH4aI9a1.js";import{u as j}from"./index-D0ABZUfm.js";import{c as E,A as F,a as z,R as B,C as J}from"./index-CGptjsxG.js";import{P as Q}from"./index-C48nY0Mq.js";import{P as N}from"./index-BWPRLJg-.js";import{u as X}from"./index-CoF_i6dU.js";var A="Popover",[y,Eo]=q(A,[E]),h=E(),[Y,l]=y(A),D=o=>{const{__scopePopover:a,children:t,open:n,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=h(a),v=P(null),[f,m]=H(!1),[C,u]=X({prop:n,defaultProp:e??!1,onChange:r,caller:A});return c(B,{...p,children:c(Y,{scope:a,contentId:j(),triggerRef:v,open:C,onOpenChange:u,onOpenToggle:R(()=>u(O=>!O),[u]),hasCustomAnchor:f,onCustomAnchorAdd:R(()=>m(!0),[]),onCustomAnchorRemove:R(()=>m(!1),[]),modal:s,children:t})})};D.displayName=A;var S="PopoverAnchor",b=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(S,t),r=h(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=e;return _(()=>(s(),()=>p()),[s,p]),c(F,{...r,...n,ref:a})});b.displayName=S;var w="PopoverTrigger",M=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(w,t),r=h(t),s=x(a,e.triggerRef),p=c(N.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":G(e.open),...n,ref:s,onClick:g(o.onClick,e.onOpenToggle)});return e.hasCustomAnchor?p:c(F,{asChild:!0,...r,children:p})});M.displayName=w;var oo="PopoverPortal",[Fo,eo]=y(oo,{forceMount:void 0}),d="PopoverContent",T=i((o,a)=>{const t=eo(d,o.__scopePopover),{forceMount:n=t.forceMount,...e}=o,r=l(d,o.__scopePopover);return c(Q,{present:n||r.open,children:r.modal?c(to,{...e,ref:a}):c(no,{...e,ref:a})})});T.displayName=d;var ro=K("PopoverContent.RemoveScroll"),to=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(null),e=x(a,n),r=P(!1);return _(()=>{const s=n.current;if(s)return Z(s)},[]),c(V,{as:ro,allowPinchZoom:!0,children:c(I,{...o,ref:e,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(o.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:g(o.onPointerDownOutside,s=>{const p=s.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,f=p.button===2||v;r.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:g(o.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),no=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(!1),e=P(!1);return c(I,{...o,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{o.onCloseAutoFocus?.(r),r.defaultPrevented||(n.current||t.triggerRef.current?.focus(),r.preventDefault()),n.current=!1,e.current=!1},onInteractOutside:r=>{o.onInteractOutside?.(r),r.defaultPrevented||(n.current=!0,r.detail.originalEvent.type==="pointerdown"&&(e.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&e.current&&r.preventDefault()}})}),I=i((o,a)=>{const{__scopePopover:t,trapFocus:n,onOpenAutoFocus:e,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onInteractOutside:m,...C}=o,u=l(d,t),O=h(t);return W(),c($,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(U,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>u.onOpenChange(!1),children:c(J,{"data-state":G(u.open),role:"dialog",id:u.contentId,...O,...C,ref:a,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",ao=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(k,t);return c(N.button,{type:"button",...n,ref:a,onClick:g(o.onClick,()=>e.onOpenChange(!1))})});ao.displayName=k;var so="PopoverArrow",L=i((o,a)=>{const{__scopePopover:t,...n}=o,e=h(t);return c(z,{...e,...n,ref:a})});L.displayName=so;function G(o){return o?"open":"closed"}var co=D,po=b,io=M,uo=T,lo=L;export{po as A,uo as C,co as R,io as T,lo as a};
@@ -1 +1 @@
1
- import{A as n,y as u,T as c}from"./register-D6N8B6AV.js";function o(r){const e=n(r);return u(()=>{e.current=r}),c(()=>(...t)=>e.current?.(...t),[])}export{o as u};
1
+ import{A as n,y as u,T as c}from"./register-_G2N7H5v.js";function o(r){const e=n(r);return u(()=>{e.current=r}),c(()=>(...t)=>e.current?.(...t),[])}export{o as u};
@@ -1 +1 @@
1
- import{D as a,e}from"./register-D6N8B6AV.js";const n="Portal",r=a((o,t)=>e(o.children,{ref:t}));r.displayName=n;export{r as P};
1
+ import{D as a,e}from"./register-_G2N7H5v.js";const n="Portal",r=a((o,t)=>e(o.children,{ref:t}));r.displayName=n;export{r as P};
@@ -1 +1 @@
1
- import{A as f,y as d,q as v,d as h,b as C}from"./register-D6N8B6AV.js";import{u as g}from"./index-BgsAJgCB.js";var w=C[" useInsertionEffect ".trim().toString()]||g;function R({prop:o,defaultProp:c,onChange:t=()=>{},caller:u}){const[l,r,i]=b({defaultProp:c,onChange:t}),n=o!==void 0,a=n?o:l;{const e=f(o!==void 0);d(()=>{const s=e.current;s!==n&&console.warn(`${u} is changing from ${s?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),e.current=n},[n,u])}const m=v(e=>{if(n){const s=y(e)?e(o):e;s!==o&&i.current?.(s)}else r(e)},[n,o,r,i]);return[a,m]}function b({defaultProp:o,onChange:c}){const[t,u]=h(o),l=f(t),r=f(c);return w(()=>{r.current=c},[c]),d(()=>{l.current!==t&&(r.current?.(t),l.current=t)},[t,l]),[t,u,r]}function y(o){return typeof o=="function"}export{R as u};
1
+ import{A as f,y as d,q as v,d as h,b as C}from"./register-_G2N7H5v.js";import{u as g}from"./index-DOKuvoya.js";var w=C[" useInsertionEffect ".trim().toString()]||g;function R({prop:o,defaultProp:c,onChange:t=()=>{},caller:u}){const[l,r,i]=b({defaultProp:c,onChange:t}),n=o!==void 0,a=n?o:l;{const e=f(o!==void 0);d(()=>{const s=e.current;s!==n&&console.warn(`${u} is changing from ${s?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),e.current=n},[n,u])}const m=v(e=>{if(n){const s=y(e)?e(o):e;s!==o&&i.current?.(s)}else r(e)},[n,o,r,i]);return[a,m]}function b({defaultProp:o,onChange:c}){const[t,u]=h(o),l=f(t),r=f(c);return w(()=>{r.current=c},[c]),d(()=>{l.current!==t&&(r.current?.(t),l.current=t)},[t,l]),[t,u,r]}function y(o){return typeof o=="function"}export{R as u};
@@ -1 +1 @@
1
- import{D as f,u as m}from"./register-D6N8B6AV.js";import{c as p}from"./index-CBrz5xtv.js";import{u}from"./index-B-5OXVqV.js";import{P}from"./index-kdb6LTlL.js";var s="Toggle",a=f((e,r)=>{const{pressed:t,defaultPressed:d,onPressedChange:l,...i}=e,[o,n]=u({prop:t,onChange:l,defaultProp:d??!1,caller:s});return m(P.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:r,onClick:p(e.onClick,()=>{e.disabled||n(!o)})})});a.displayName=s;var b=a;export{b as R,a as T};
1
+ import{D as f,u as m}from"./register-_G2N7H5v.js";import{c as p}from"./index-CBrz5xtv.js";import{u}from"./index-CoF_i6dU.js";import{P}from"./index-BWPRLJg-.js";var s="Toggle",a=f((e,r)=>{const{pressed:t,defaultPressed:d,onPressedChange:l,...i}=e,[o,n]=u({prop:t,onChange:l,defaultProp:d??!1,caller:s});return m(P.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:r,onClick:p(e.onClick,()=>{e.disabled||n(!o)})})});a.displayName=s;var b=a;export{b as R,a as T};
@@ -1 +1 @@
1
- import{d as a,b as s}from"./register-D6N8B6AV.js";import{u as f}from"./index-BgsAJgCB.js";var e=s[" useId ".trim().toString()]||(()=>{}),n=0;function c(o){const[t,r]=a(e());return f(()=>{o||r(u=>u??String(n++))},[o]),o||(t?`radix-${t}`:"")}export{c as u};
1
+ import{d as a,b as s}from"./register-_G2N7H5v.js";import{u as f}from"./index-DOKuvoya.js";var e=s[" useId ".trim().toString()]||(()=>{}),n=0;function c(o){const[t,r]=a(e());return f(()=>{o||r(u=>u??String(n++))},[o]),o||(t?`radix-${t}`:"")}export{c as u};
@@ -1 +1 @@
1
- import{b as x}from"./register-D6N8B6AV.js";function E(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var s=e.default;if(typeof s=="function"){var o=function u(){return this instanceof u?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};o.prototype=s.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var a=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,a.get?a:{enumerable:!0,get:function(){return e[u]}})}),o}var p={exports:{}},v={},O=E(x),l;function w(){if(l)return v;l=1;var e=O;function s(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var o=typeof Object.is=="function"?Object.is:s,u=e.useState,a=e.useEffect,m=e.useLayoutEffect,S=e.useDebugValue;function h(t,r){var c=r(),y=u({inst:{value:c,getSnapshot:r}}),n=y[0].inst,f=y[1];return m(function(){n.value=c,n.getSnapshot=r,i(n)&&f({inst:n})},[t,c,r]),a(function(){return i(n)&&f({inst:n}),t(function(){i(n)&&f({inst:n})})},[t]),S(c),c}function i(t){var r=t.getSnapshot;t=t.value;try{var c=r();return!o(t,c)}catch{return!0}}function g(t,r){return r()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:h;return v.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b,v}var d;function j(){return d||(d=1,p.exports=w()),p.exports}var _=j();export{_ as s};
1
+ import{b as x}from"./register-_G2N7H5v.js";function E(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var s=e.default;if(typeof s=="function"){var o=function u(){return this instanceof u?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};o.prototype=s.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var a=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,a.get?a:{enumerable:!0,get:function(){return e[u]}})}),o}var p={exports:{}},v={},O=E(x),l;function w(){if(l)return v;l=1;var e=O;function s(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var o=typeof Object.is=="function"?Object.is:s,u=e.useState,a=e.useEffect,m=e.useLayoutEffect,S=e.useDebugValue;function h(t,r){var c=r(),y=u({inst:{value:c,getSnapshot:r}}),n=y[0].inst,f=y[1];return m(function(){n.value=c,n.getSnapshot=r,i(n)&&f({inst:n})},[t,c,r]),a(function(){return i(n)&&f({inst:n}),t(function(){i(n)&&f({inst:n})})},[t]),S(c),c}function i(t){var r=t.getSnapshot;t=t.value;try{var c=r();return!o(t,c)}catch{return!0}}function g(t,r){return r()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:h;return v.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b,v}var d;function j(){return d||(d=1,p.exports=w()),p.exports}var _=j();export{_ as s};
@@ -1 +1 @@
1
- import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-D6N8B6AV.js";import{u as j}from"./index-uEcL3mb6.js";import{P as z}from"./index-kdb6LTlL.js";import{u as k}from"./index-DfI1C0CI.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},G="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=j(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(J($(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=Q(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(z.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=G;function J(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function Q(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!X(t,{upTo:n}))return t}function X(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&Y(e)&&n&&e.select()}}var W=Z();function Z(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function $(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
1
+ import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-_G2N7H5v.js";import{u as j}from"./index-DjntHHkF.js";import{P as z}from"./index-BWPRLJg-.js";import{u as k}from"./index-CeboH83Y.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},G="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=j(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(J($(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=Q(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(z.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=G;function J(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function Q(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!X(t,{upTo:n}))return t}function X(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&Y(e)&&n&&e.select()}}var W=Z();function Z(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function $(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
@@ -1 +1 @@
1
- import{K as S,T as d,u as P,x as l}from"./register-D6N8B6AV.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=d(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const a=p=>{const{scope:v,children:f,...x}=p,m=v?.[t]?.[s]||n,$=d(()=>x,Object.values(x));return P(m.Provider,{value:$,children:f})};a.displayName=r+"Provider";function h(p,v){const f=v?.[t]?.[s]||n,x=l(f);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[a,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return d(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:a})=>{const p=s(r)[`__scope${a}`];return{...n,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
1
+ import{K as S,T as d,u as P,x as l}from"./register-_G2N7H5v.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=d(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const a=p=>{const{scope:v,children:f,...x}=p,m=v?.[t]?.[s]||n,$=d(()=>x,Object.values(x));return P(m.Provider,{value:$,children:f})};a.displayName=r+"Provider";function h(p,v){const f=v?.[t]?.[s]||n,x=l(f);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[a,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return d(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:a})=>{const p=s(r)[`__scope${a}`];return{...n,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
@@ -0,0 +1 @@
1
+ import{a}from"./register-_G2N7H5v.js";var o=globalThis?.document?a:()=>{};export{o as u};
@@ -1 +1 @@
1
- import{D as m,u as l,A as R,y as x}from"./register-D6N8B6AV.js";import{c as f}from"./index-CBrz5xtv.js";import{a as D}from"./index-DlrTtA-M.js";import{u as E,c as I,R as V,I as G}from"./index-DBHuLsr5.js";import{P as L}from"./index-DE1LRaad.js";import{P as p}from"./index-kdb6LTlL.js";import{u as w}from"./index-B-5OXVqV.js";import{u as $}from"./index-3yCeHosg.js";var T="Tabs",[k,Y]=D(T,[I]),h=I(),[K,g]=k(T),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=E(u),[o,d]=w({prop:t,onChange:r,defaultProp:c??"",caller:T});return l(K,{scope:s,baseId:$(),value:o,onValueChange:d,orientation:a,dir:i,activationMode:v,children:l(p.div,{dir:i,"data-orientation":a,...b,ref:n})})});C.displayName=T;var y="TabsList",A=m((e,n)=>{const{__scopeTabs:s,loop:t=!0,...r}=e,c=g(y,s),a=h(s);return l(V,{asChild:!0,...a,orientation:c.orientation,dir:c.dir,loop:t,children:l(p.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:n})})});A.displayName=y;var _="TabsTrigger",P=m((e,n)=>{const{__scopeTabs:s,value:t,disabled:r=!1,...c}=e,a=g(_,s),u=h(s),v=N(a.baseId,t),b=F(a.baseId,t),i=t===a.value;return l(G,{asChild:!0,...u,focusable:!r,active:i,children:l(p.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":b,"data-state":i?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:v,...c,ref:n,onMouseDown:f(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:f(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:f(e.onFocus,()=>{const o=a.activationMode!=="manual";!i&&!r&&o&&a.onValueChange(t)})})})});P.displayName=_;var S="TabsContent",M=m((e,n)=>{const{__scopeTabs:s,value:t,forceMount:r,children:c,...a}=e,u=g(S,s),v=N(u.baseId,t),b=F(u.baseId,t),i=t===u.value,o=R(i);return x(()=>{const d=requestAnimationFrame(()=>o.current=!1);return()=>cancelAnimationFrame(d)},[]),l(L,{present:r||i,children:({present:d})=>l(p.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":v,hidden:!d,id:b,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:o.current?"0s":void 0},children:d&&c})})});M.displayName=S;function N(e,n){return`${e}-trigger-${n}`}function F(e,n){return`${e}-content-${n}`}var B=C,q=A,z=P;export{q as L,B as R,M as T,z as a};
1
+ import{D as m,u as l,A as R,y as x}from"./register-_G2N7H5v.js";import{c as f}from"./index-CBrz5xtv.js";import{a as D}from"./index-DIu4_C4G.js";import{u as E,c as I,R as V,I as G}from"./index-CDuDJEIF.js";import{P as L}from"./index-C48nY0Mq.js";import{P as p}from"./index-BWPRLJg-.js";import{u as w}from"./index-CoF_i6dU.js";import{u as $}from"./index-D0ABZUfm.js";var T="Tabs",[k,Y]=D(T,[I]),h=I(),[K,g]=k(T),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=E(u),[o,d]=w({prop:t,onChange:r,defaultProp:c??"",caller:T});return l(K,{scope:s,baseId:$(),value:o,onValueChange:d,orientation:a,dir:i,activationMode:v,children:l(p.div,{dir:i,"data-orientation":a,...b,ref:n})})});C.displayName=T;var y="TabsList",A=m((e,n)=>{const{__scopeTabs:s,loop:t=!0,...r}=e,c=g(y,s),a=h(s);return l(V,{asChild:!0,...a,orientation:c.orientation,dir:c.dir,loop:t,children:l(p.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:n})})});A.displayName=y;var _="TabsTrigger",P=m((e,n)=>{const{__scopeTabs:s,value:t,disabled:r=!1,...c}=e,a=g(_,s),u=h(s),v=N(a.baseId,t),b=F(a.baseId,t),i=t===a.value;return l(G,{asChild:!0,...u,focusable:!r,active:i,children:l(p.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":b,"data-state":i?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:v,...c,ref:n,onMouseDown:f(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:f(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:f(e.onFocus,()=>{const o=a.activationMode!=="manual";!i&&!r&&o&&a.onValueChange(t)})})})});P.displayName=_;var S="TabsContent",M=m((e,n)=>{const{__scopeTabs:s,value:t,forceMount:r,children:c,...a}=e,u=g(S,s),v=N(u.baseId,t),b=F(u.baseId,t),i=t===u.value,o=R(i);return x(()=>{const d=requestAnimationFrame(()=>o.current=!1);return()=>cancelAnimationFrame(d)},[]),l(L,{present:r||i,children:({present:d})=>l(p.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":v,hidden:!d,id:b,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:o.current?"0s":void 0},children:d&&c})})});M.displayName=S;function N(e,n){return`${e}-trigger-${n}`}function F(e,n){return`${e}-content-${n}`}var B=C,q=A,z=P;export{q as L,B as R,M as T,z as a};
@@ -1 +1 @@
1
- import{d as A,A as C,y as E,u as c,q as S,D as f,k as vn}from"./register-D6N8B6AV.js";import{c as M}from"./index-CBrz5xtv.js";import{u as G,a as Mn,b as he}from"./index-uEcL3mb6.js";import{a as ge}from"./index-DlrTtA-M.js";import{u as Ce}from"./index-B-5OXVqV.js";import{d as hn,P as N}from"./index-kdb6LTlL.js";import{c as gn}from"./index-Cuxyk__1.js";import{c as _e,u as Cn,I as _n,R as wn}from"./index-DBHuLsr5.js";import{D as In}from"./index-mQGnRT7b.js";import{u as Sn,o as Dn}from"./Combination-ChLN84hy.js";import{h as En,F as Pn}from"./index-GYg7wYdo.js";import{u as W}from"./index-3yCeHosg.js";import{c as we,R as Ie,C as yn,A as bn,a as xn}from"./index-CyQ6-EUv.js";import{P as oe}from"./index-DE1LRaad.js";import{u as te}from"./index-DfI1C0CI.js";var re=["Enter"," "],Rn=["ArrowDown","PageUp","Home"],Se=["ArrowUp","PageDown","End"],Tn=[...Rn,...Se],An={ltr:[...re,"ArrowRight"],rtl:[...re,"ArrowLeft"]},Nn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[K,On,kn]=gn(F),[P,De]=ge(F,[kn,we,_e]),U=we(),Ee=_e(),[Pe,y]=P(F),[Ln,B]=P(F),ye=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:r,onOpenChange:a,modal:u=!0}=e,i=U(o),[p,m]=A(null),l=C(!1),s=te(a),v=Cn(r);return E(()=>{const w=()=>{l.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>l.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c(Ie,{...i,children:c(Pe,{scope:o,open:n,onOpenChange:s,content:p,onContentChange:m,children:c(Ln,{scope:o,onClose:S(()=>s(!1),[s]),isUsingKeyboardRef:l,dir:v,modal:u,children:t})})})};ye.displayName=F;var Gn="MenuAnchor",ae=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(bn,{...r,...t,ref:o})});ae.displayName=Gn;var Fn="MenuPortal",[it,be]=P(Fn,{forceMount:void 0}),I="MenuContent",[Kn,ce]=P(I),xe=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:u.modal?c(Un,{...r,ref:o}):c(Bn,{...r,ref:o})})})})}),Un=f((e,o)=>{const n=y(I,e.__scopeMenu),t=C(null),r=G(o,t);return E(()=>{const a=t.current;if(a)return En(a)},[]),c(se,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bn=f((e,o)=>{const n=y(I,e.__scopeMenu);return c(se,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$n=Mn("MenuContent.ScrollLock"),se=f((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:u,disableOutsidePointerEvents:i,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,disableOutsideScroll:h,...b}=e,O=y(I,n),x=B(I,n),cn=U(n),sn=Ee(n),pe=On(n),[un,fe]=A(null),X=C(null),dn=G(o,X,O.onContentChange),Y=C(0),H=C(""),ln=C(0),J=C(null),me=C("right"),Q=C(0),pn=h?Dn:vn,fn=h?{as:$n,allowPinchZoom:!0}:void 0,mn=d=>{const T=H.current+d,D=pe().filter(g=>!g.disabled),k=(()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})(),ee=D.find(g=>g.ref.current===k)?.textValue,ne=D.map(g=>g.textValue),ve=eo(ne,T,ee),L=D.find(g=>g.textValue===ve)?.ref.current;(function g(Me){H.current=Me,window.clearTimeout(Y.current),Me!==""&&(Y.current=window.setTimeout(()=>g(""),1e3))})(T),L&&setTimeout(()=>L.focus())};E(()=>()=>window.clearTimeout(Y.current),[]),Sn();const R=S(d=>me.current===J.current?.side&&oo(d,J.current?.area),[]);return c(Kn,{scope:n,searchRef:H,onItemEnter:S(d=>{R(d)&&d.preventDefault()},[R]),onItemLeave:S(d=>{R(d)||(X.current?.focus(),fe(null))},[R]),onTriggerLeave:S(d=>{R(d)&&d.preventDefault()},[R]),pointerGraceTimerRef:ln,onPointerGraceIntentChange:S(d=>{J.current=d},[]),children:c(pn,{...fn,children:c(Pn,{asChild:!0,trapped:r,onMountAutoFocus:M(a,d=>{d.preventDefault(),X.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:c(In,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,children:c(wn,{asChild:!0,...sn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:un,onCurrentTabStopIdChange:fe,onEntryFocus:M(p,d=>{x.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:c(yn,{role:"menu","aria-orientation":"vertical","data-state":We(O.open),"data-radix-menu-content":"",dir:x.dir,...cn,...b,ref:dn,style:{outline:"none",...b.style},onKeyDown:M(b.onKeyDown,d=>{const D=d.target.closest("[data-radix-menu-content]")===d.currentTarget,k=d.ctrlKey||d.altKey||d.metaKey,ee=d.key.length===1;D&&(d.key==="Tab"&&d.preventDefault(),!k&&ee&&mn(d.key));const ne=X.current;if(d.target!==ne||!Tn.includes(d.key))return;d.preventDefault();const L=pe().filter(g=>!g.disabled).map(g=>g.ref.current);Se.includes(d.key)&&L.reverse(),Jn(L)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(Y.current),H.current="")}),onPointerMove:M(e.onPointerMove,V(d=>{const T=d.target,D=Q.current!==d.clientX;if(d.currentTarget.contains(T)&&D){const k=d.clientX>Q.current?"right":"left";me.current=k,Q.current=d.clientX}}))})})})})})})});xe.displayName=I;var Vn="MenuGroup",ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"group",...t,ref:o})});ue.displayName=Vn;var Xn="MenuLabel",Re=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{...t,ref:o})});Re.displayName=Xn;var j="MenuItem",Te="menu.itemSelect",z=f((e,o)=>{const{disabled:n=!1,onSelect:t,...r}=e,a=C(null),u=B(j,e.__scopeMenu),i=ce(j,e.__scopeMenu),p=G(o,a),m=C(!1),l=()=>{const s=a.current;if(!n&&s){const v=new CustomEvent(Te,{bubbles:!0,cancelable:!0});s.addEventListener(Te,w=>t?.(w),{once:!0}),hn(s,v),v.defaultPrevented?m.current=!1:u.onClose()}};return c(Ae,{...r,ref:p,disabled:n,onClick:M(e.onClick,l),onPointerDown:s=>{e.onPointerDown?.(s),m.current=!0},onPointerUp:M(e.onPointerUp,s=>{m.current||s.currentTarget?.click()}),onKeyDown:M(e.onKeyDown,s=>{const v=i.searchRef.current!=="";n||v&&s.key===" "||re.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})})});z.displayName=j;var Ae=f((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:r,...a}=e,u=ce(j,n),i=Ee(n),p=C(null),m=G(o,p),[l,s]=A(!1),[v,w]=A("");return E(()=>{const h=p.current;h&&w((h.textContent??"").trim())},[a.children]),c(K.ItemSlot,{scope:n,disabled:t,textValue:r??v,children:c(_n,{asChild:!0,...i,focusable:!t,children:c(N.div,{role:"menuitem","data-highlighted":l?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:m,onPointerMove:M(e.onPointerMove,V(h=>{t?u.onItemLeave(h):(u.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,V(h=>u.onItemLeave(h))),onFocus:M(e.onFocus,()=>s(!0)),onBlur:M(e.onBlur,()=>s(!1))})})})}),Yn="MenuCheckboxItem",Ne=f((e,o)=>{const{checked:n=!1,onCheckedChange:t,...r}=e;return c(Fe,{scope:e.__scopeMenu,checked:n,children:c(z,{role:"menuitemcheckbox","aria-checked":q(n)?"mixed":n,...r,ref:o,"data-state":le(n),onSelect:M(r.onSelect,()=>t?.(q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ne.displayName=Yn;var Oe="MenuRadioGroup",[Hn,Wn]=P(Oe,{value:void 0,onValueChange:()=>{}}),ke=f((e,o)=>{const{value:n,onValueChange:t,...r}=e,a=te(t);return c(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:c(ue,{...r,ref:o})})});ke.displayName=Oe;var Le="MenuRadioItem",Ge=f((e,o)=>{const{value:n,...t}=e,r=Wn(Le,e.__scopeMenu),a=n===r.value;return c(Fe,{scope:e.__scopeMenu,checked:a,children:c(z,{role:"menuitemradio","aria-checked":a,...t,ref:o,"data-state":le(a),onSelect:M(t.onSelect,()=>r.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ge.displayName=Le;var ie="MenuItemIndicator",[Fe,jn]=P(ie,{checked:!1}),Ke=f((e,o)=>{const{__scopeMenu:n,forceMount:t,...r}=e,a=jn(ie,n);return c(oe,{present:t||q(a.checked)||a.checked===!0,children:c(N.span,{...r,ref:o,"data-state":le(a.checked)})})});Ke.displayName=ie;var zn="MenuSeparator",Ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Ue.displayName=zn;var qn="MenuArrow",Be=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(xn,{...r,...t,ref:o})});Be.displayName=qn;var de="MenuSub",[Zn,$e]=P(de),Ve=e=>{const{__scopeMenu:o,children:n,open:t=!1,onOpenChange:r}=e,a=y(de,o),u=U(o),[i,p]=A(null),[m,l]=A(null),s=te(r);return E(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),c(Ie,{...u,children:c(Pe,{scope:o,open:t,onOpenChange:s,content:m,onContentChange:l,children:c(Zn,{scope:o,contentId:W(),triggerId:W(),trigger:i,onTriggerChange:p,children:n})})})};Ve.displayName=de;var $="MenuSubTrigger",Xe=f((e,o)=>{const n=y($,e.__scopeMenu),t=B($,e.__scopeMenu),r=$e($,e.__scopeMenu),a=ce($,e.__scopeMenu),u=C(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:p}=a,m={__scopeMenu:e.__scopeMenu},l=S(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return E(()=>l,[l]),E(()=>{const s=i.current;return()=>{window.clearTimeout(s),p(null)}},[i,p]),c(ae,{asChild:!0,...m,children:c(Ae,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":We(n.open),...e,ref:he(o,r.onTriggerChange),onClick:s=>{e.onClick?.(s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,V(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(a.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))})),onPointerLeave:M(e.onPointerLeave,V(s=>{l();const v=n.content?.getBoundingClientRect();if(v){const w=n.content?.dataset.side,h=w==="right",b=h?-5:5,O=v[h?"left":"right"],x=v[h?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+b,y:s.clientY},{x:O,y:v.top},{x,y:v.top},{x,y:v.bottom},{x:O,y:v.bottom}],side:w}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,s=>{const v=a.searchRef.current!=="";e.disabled||v&&s.key===" "||An[t.dir].includes(s.key)&&(n.onOpenChange(!0),n.content?.focus(),s.preventDefault())})})})});Xe.displayName=$;var Ye="MenuSubContent",He=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu),i=$e(Ye,e.__scopeMenu),p=C(null),m=G(o,p);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:c(se,{id:i.contentId,"aria-labelledby":i.triggerId,...r,ref:m,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:l=>{u.isUsingKeyboardRef.current&&p.current?.focus(),l.preventDefault()},onCloseAutoFocus:l=>l.preventDefault(),onFocusOutside:M(e.onFocusOutside,l=>{l.target!==i.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,l=>{u.onClose(),l.preventDefault()}),onKeyDown:M(e.onKeyDown,l=>{const s=l.currentTarget.contains(l.target),v=Nn[u.dir].includes(l.key);s&&v&&(a.onOpenChange(!1),i.trigger?.focus(),l.preventDefault())})})})})})});He.displayName=Ye;function We(e){return e?"open":"closed"}function q(e){return e==="indeterminate"}function le(e){return q(e)?"indeterminate":e?"checked":"unchecked"}function Jn(e){const o=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===o||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==o))return}function Qn(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function eo(e,o,n){const r=o.length>1&&Array.from(o).every(m=>m===o[0])?o[0]:o,a=n?e.indexOf(n):-1;let u=Qn(e,Math.max(a,0));r.length===1&&(u=u.filter(m=>m!==n));const p=u.find(m=>m.toLowerCase().startsWith(r.toLowerCase()));return p!==n?p:void 0}function no(e,o){const{x:n,y:t}=e;let r=!1;for(let a=0,u=o.length-1;a<o.length;u=a++){const i=o[a],p=o[u],m=i.x,l=i.y,s=p.x,v=p.y;l>t!=v>t&&n<(s-m)*(t-l)/(v-l)+m&&(r=!r)}return r}function oo(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return no(n,o)}function V(e){return o=>o.pointerType==="mouse"?e(o):void 0}var to=ye,ro=ae,ao=xe,co=ue,so=Re,uo=z,io=Ne,lo=ke,po=Ge,fo=Ke,mo=Ue,vo=Be,Mo=Ve,ho=Xe,go=He,Z="DropdownMenu",[Co,dt]=ge(Z,[De]),_=De(),[_o,je]=Co(Z),ze=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:r,defaultOpen:a,onOpenChange:u,modal:i=!0}=e,p=_(o),m=C(null),[l,s]=Ce({prop:r,defaultProp:a??!1,onChange:u,caller:Z});return c(_o,{scope:o,triggerId:W(),triggerRef:m,contentId:W(),open:l,onOpenChange:s,onOpenToggle:S(()=>s(v=>!v),[s]),modal:i,children:c(to,{...p,open:l,onOpenChange:s,dir:t,modal:i,children:n})})};ze.displayName=Z;var qe="DropdownMenuTrigger",Ze=f((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...r}=e,a=je(qe,n),u=_(n);return c(ro,{asChild:!0,...u,children:c(N.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...r,ref:he(o,a.triggerRef),onPointerDown:M(e.onPointerDown,i=>{!t&&i.button===0&&i.ctrlKey===!1&&(a.onOpenToggle(),a.open||i.preventDefault())}),onKeyDown:M(e.onKeyDown,i=>{t||(["Enter"," "].includes(i.key)&&a.onOpenToggle(),i.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});Ze.displayName=qe;var Je="DropdownMenuContent",Qe=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=je(Je,n),a=_(n),u=C(!1);return c(ao,{id:r.contentId,"aria-labelledby":r.triggerId,...a,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,i=>{u.current||r.triggerRef.current?.focus(),u.current=!1,i.preventDefault()}),onInteractOutside:M(e.onInteractOutside,i=>{const p=i.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,l=p.button===2||m;(!r.modal||l)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qe.displayName=Je;var wo="DropdownMenuGroup",en=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(co,{...r,...t,ref:o})});en.displayName=wo;var Io="DropdownMenuLabel",nn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(so,{...r,...t,ref:o})});nn.displayName=Io;var So="DropdownMenuItem",on=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(uo,{...r,...t,ref:o})});on.displayName=So;var Do="DropdownMenuCheckboxItem",tn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(io,{...r,...t,ref:o})});tn.displayName=Do;var Eo="DropdownMenuRadioGroup",Po=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(lo,{...r,...t,ref:o})});Po.displayName=Eo;var yo="DropdownMenuRadioItem",bo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(po,{...r,...t,ref:o})});bo.displayName=yo;var xo="DropdownMenuItemIndicator",Ro=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(fo,{...r,...t,ref:o})});Ro.displayName=xo;var To="DropdownMenuSeparator",rn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(mo,{...r,...t,ref:o})});rn.displayName=To;var Ao="DropdownMenuArrow",No=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(vo,{...r,...t,ref:o})});No.displayName=Ao;var Oo=e=>{const{__scopeDropdownMenu:o,children:n,open:t,onOpenChange:r,defaultOpen:a}=e,u=_(o),[i,p]=Ce({prop:t,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return c(Mo,{...u,open:i,onOpenChange:p,children:n})},ko="DropdownMenuSubTrigger",Lo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(ho,{...r,...t,ref:o})});Lo.displayName=ko;var Go="DropdownMenuSubContent",an=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(go,{...r,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=Go;var Fo=ze,Ko=Ze,Uo=Qe,Bo=en,$o=nn,Vo=on,Xo=tn,Yo=rn,Ho=Oo,Wo=an;export{Xo as C,Bo as G,Vo as I,$o as L,Fo as R,Yo as S,Ko as T,Uo as a,Ho as b,Wo as c};
1
+ import{d as A,A as C,y as E,u as c,q as S,D as f,k as vn}from"./register-_G2N7H5v.js";import{c as M}from"./index-CBrz5xtv.js";import{u as G,a as Mn,b as he}from"./index-DjntHHkF.js";import{a as ge}from"./index-DIu4_C4G.js";import{u as Ce}from"./index-CoF_i6dU.js";import{d as hn,P as N}from"./index-BWPRLJg-.js";import{c as gn}from"./index-BabdR4qD.js";import{c as _e,u as Cn,I as _n,R as wn}from"./index-CDuDJEIF.js";import{D as In}from"./index-n6Sqy68J.js";import{u as Sn,o as Dn}from"./Combination-C0hFTUie.js";import{h as En,F as Pn}from"./index-DH4aI9a1.js";import{u as W}from"./index-D0ABZUfm.js";import{c as we,R as Ie,C as yn,A as bn,a as xn}from"./index-CGptjsxG.js";import{P as oe}from"./index-C48nY0Mq.js";import{u as te}from"./index-CeboH83Y.js";var re=["Enter"," "],Rn=["ArrowDown","PageUp","Home"],Se=["ArrowUp","PageDown","End"],Tn=[...Rn,...Se],An={ltr:[...re,"ArrowRight"],rtl:[...re,"ArrowLeft"]},Nn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[K,On,kn]=gn(F),[P,De]=ge(F,[kn,we,_e]),U=we(),Ee=_e(),[Pe,y]=P(F),[Ln,B]=P(F),ye=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:r,onOpenChange:a,modal:u=!0}=e,i=U(o),[p,m]=A(null),l=C(!1),s=te(a),v=Cn(r);return E(()=>{const w=()=>{l.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>l.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c(Ie,{...i,children:c(Pe,{scope:o,open:n,onOpenChange:s,content:p,onContentChange:m,children:c(Ln,{scope:o,onClose:S(()=>s(!1),[s]),isUsingKeyboardRef:l,dir:v,modal:u,children:t})})})};ye.displayName=F;var Gn="MenuAnchor",ae=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(bn,{...r,...t,ref:o})});ae.displayName=Gn;var Fn="MenuPortal",[it,be]=P(Fn,{forceMount:void 0}),I="MenuContent",[Kn,ce]=P(I),xe=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:u.modal?c(Un,{...r,ref:o}):c(Bn,{...r,ref:o})})})})}),Un=f((e,o)=>{const n=y(I,e.__scopeMenu),t=C(null),r=G(o,t);return E(()=>{const a=t.current;if(a)return En(a)},[]),c(se,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bn=f((e,o)=>{const n=y(I,e.__scopeMenu);return c(se,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$n=Mn("MenuContent.ScrollLock"),se=f((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:u,disableOutsidePointerEvents:i,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,disableOutsideScroll:h,...b}=e,O=y(I,n),x=B(I,n),cn=U(n),sn=Ee(n),pe=On(n),[un,fe]=A(null),X=C(null),dn=G(o,X,O.onContentChange),Y=C(0),H=C(""),ln=C(0),J=C(null),me=C("right"),Q=C(0),pn=h?Dn:vn,fn=h?{as:$n,allowPinchZoom:!0}:void 0,mn=d=>{const T=H.current+d,D=pe().filter(g=>!g.disabled),k=(()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})(),ee=D.find(g=>g.ref.current===k)?.textValue,ne=D.map(g=>g.textValue),ve=eo(ne,T,ee),L=D.find(g=>g.textValue===ve)?.ref.current;(function g(Me){H.current=Me,window.clearTimeout(Y.current),Me!==""&&(Y.current=window.setTimeout(()=>g(""),1e3))})(T),L&&setTimeout(()=>L.focus())};E(()=>()=>window.clearTimeout(Y.current),[]),Sn();const R=S(d=>me.current===J.current?.side&&oo(d,J.current?.area),[]);return c(Kn,{scope:n,searchRef:H,onItemEnter:S(d=>{R(d)&&d.preventDefault()},[R]),onItemLeave:S(d=>{R(d)||(X.current?.focus(),fe(null))},[R]),onTriggerLeave:S(d=>{R(d)&&d.preventDefault()},[R]),pointerGraceTimerRef:ln,onPointerGraceIntentChange:S(d=>{J.current=d},[]),children:c(pn,{...fn,children:c(Pn,{asChild:!0,trapped:r,onMountAutoFocus:M(a,d=>{d.preventDefault(),X.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:c(In,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,children:c(wn,{asChild:!0,...sn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:un,onCurrentTabStopIdChange:fe,onEntryFocus:M(p,d=>{x.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:c(yn,{role:"menu","aria-orientation":"vertical","data-state":We(O.open),"data-radix-menu-content":"",dir:x.dir,...cn,...b,ref:dn,style:{outline:"none",...b.style},onKeyDown:M(b.onKeyDown,d=>{const D=d.target.closest("[data-radix-menu-content]")===d.currentTarget,k=d.ctrlKey||d.altKey||d.metaKey,ee=d.key.length===1;D&&(d.key==="Tab"&&d.preventDefault(),!k&&ee&&mn(d.key));const ne=X.current;if(d.target!==ne||!Tn.includes(d.key))return;d.preventDefault();const L=pe().filter(g=>!g.disabled).map(g=>g.ref.current);Se.includes(d.key)&&L.reverse(),Jn(L)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(Y.current),H.current="")}),onPointerMove:M(e.onPointerMove,V(d=>{const T=d.target,D=Q.current!==d.clientX;if(d.currentTarget.contains(T)&&D){const k=d.clientX>Q.current?"right":"left";me.current=k,Q.current=d.clientX}}))})})})})})})});xe.displayName=I;var Vn="MenuGroup",ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"group",...t,ref:o})});ue.displayName=Vn;var Xn="MenuLabel",Re=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{...t,ref:o})});Re.displayName=Xn;var j="MenuItem",Te="menu.itemSelect",z=f((e,o)=>{const{disabled:n=!1,onSelect:t,...r}=e,a=C(null),u=B(j,e.__scopeMenu),i=ce(j,e.__scopeMenu),p=G(o,a),m=C(!1),l=()=>{const s=a.current;if(!n&&s){const v=new CustomEvent(Te,{bubbles:!0,cancelable:!0});s.addEventListener(Te,w=>t?.(w),{once:!0}),hn(s,v),v.defaultPrevented?m.current=!1:u.onClose()}};return c(Ae,{...r,ref:p,disabled:n,onClick:M(e.onClick,l),onPointerDown:s=>{e.onPointerDown?.(s),m.current=!0},onPointerUp:M(e.onPointerUp,s=>{m.current||s.currentTarget?.click()}),onKeyDown:M(e.onKeyDown,s=>{const v=i.searchRef.current!=="";n||v&&s.key===" "||re.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})})});z.displayName=j;var Ae=f((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:r,...a}=e,u=ce(j,n),i=Ee(n),p=C(null),m=G(o,p),[l,s]=A(!1),[v,w]=A("");return E(()=>{const h=p.current;h&&w((h.textContent??"").trim())},[a.children]),c(K.ItemSlot,{scope:n,disabled:t,textValue:r??v,children:c(_n,{asChild:!0,...i,focusable:!t,children:c(N.div,{role:"menuitem","data-highlighted":l?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:m,onPointerMove:M(e.onPointerMove,V(h=>{t?u.onItemLeave(h):(u.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,V(h=>u.onItemLeave(h))),onFocus:M(e.onFocus,()=>s(!0)),onBlur:M(e.onBlur,()=>s(!1))})})})}),Yn="MenuCheckboxItem",Ne=f((e,o)=>{const{checked:n=!1,onCheckedChange:t,...r}=e;return c(Fe,{scope:e.__scopeMenu,checked:n,children:c(z,{role:"menuitemcheckbox","aria-checked":q(n)?"mixed":n,...r,ref:o,"data-state":le(n),onSelect:M(r.onSelect,()=>t?.(q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ne.displayName=Yn;var Oe="MenuRadioGroup",[Hn,Wn]=P(Oe,{value:void 0,onValueChange:()=>{}}),ke=f((e,o)=>{const{value:n,onValueChange:t,...r}=e,a=te(t);return c(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:c(ue,{...r,ref:o})})});ke.displayName=Oe;var Le="MenuRadioItem",Ge=f((e,o)=>{const{value:n,...t}=e,r=Wn(Le,e.__scopeMenu),a=n===r.value;return c(Fe,{scope:e.__scopeMenu,checked:a,children:c(z,{role:"menuitemradio","aria-checked":a,...t,ref:o,"data-state":le(a),onSelect:M(t.onSelect,()=>r.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ge.displayName=Le;var ie="MenuItemIndicator",[Fe,jn]=P(ie,{checked:!1}),Ke=f((e,o)=>{const{__scopeMenu:n,forceMount:t,...r}=e,a=jn(ie,n);return c(oe,{present:t||q(a.checked)||a.checked===!0,children:c(N.span,{...r,ref:o,"data-state":le(a.checked)})})});Ke.displayName=ie;var zn="MenuSeparator",Ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Ue.displayName=zn;var qn="MenuArrow",Be=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(xn,{...r,...t,ref:o})});Be.displayName=qn;var de="MenuSub",[Zn,$e]=P(de),Ve=e=>{const{__scopeMenu:o,children:n,open:t=!1,onOpenChange:r}=e,a=y(de,o),u=U(o),[i,p]=A(null),[m,l]=A(null),s=te(r);return E(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),c(Ie,{...u,children:c(Pe,{scope:o,open:t,onOpenChange:s,content:m,onContentChange:l,children:c(Zn,{scope:o,contentId:W(),triggerId:W(),trigger:i,onTriggerChange:p,children:n})})})};Ve.displayName=de;var $="MenuSubTrigger",Xe=f((e,o)=>{const n=y($,e.__scopeMenu),t=B($,e.__scopeMenu),r=$e($,e.__scopeMenu),a=ce($,e.__scopeMenu),u=C(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:p}=a,m={__scopeMenu:e.__scopeMenu},l=S(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return E(()=>l,[l]),E(()=>{const s=i.current;return()=>{window.clearTimeout(s),p(null)}},[i,p]),c(ae,{asChild:!0,...m,children:c(Ae,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":We(n.open),...e,ref:he(o,r.onTriggerChange),onClick:s=>{e.onClick?.(s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,V(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(a.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))})),onPointerLeave:M(e.onPointerLeave,V(s=>{l();const v=n.content?.getBoundingClientRect();if(v){const w=n.content?.dataset.side,h=w==="right",b=h?-5:5,O=v[h?"left":"right"],x=v[h?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+b,y:s.clientY},{x:O,y:v.top},{x,y:v.top},{x,y:v.bottom},{x:O,y:v.bottom}],side:w}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,s=>{const v=a.searchRef.current!=="";e.disabled||v&&s.key===" "||An[t.dir].includes(s.key)&&(n.onOpenChange(!0),n.content?.focus(),s.preventDefault())})})})});Xe.displayName=$;var Ye="MenuSubContent",He=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu),i=$e(Ye,e.__scopeMenu),p=C(null),m=G(o,p);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:c(se,{id:i.contentId,"aria-labelledby":i.triggerId,...r,ref:m,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:l=>{u.isUsingKeyboardRef.current&&p.current?.focus(),l.preventDefault()},onCloseAutoFocus:l=>l.preventDefault(),onFocusOutside:M(e.onFocusOutside,l=>{l.target!==i.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,l=>{u.onClose(),l.preventDefault()}),onKeyDown:M(e.onKeyDown,l=>{const s=l.currentTarget.contains(l.target),v=Nn[u.dir].includes(l.key);s&&v&&(a.onOpenChange(!1),i.trigger?.focus(),l.preventDefault())})})})})})});He.displayName=Ye;function We(e){return e?"open":"closed"}function q(e){return e==="indeterminate"}function le(e){return q(e)?"indeterminate":e?"checked":"unchecked"}function Jn(e){const o=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===o||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==o))return}function Qn(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function eo(e,o,n){const r=o.length>1&&Array.from(o).every(m=>m===o[0])?o[0]:o,a=n?e.indexOf(n):-1;let u=Qn(e,Math.max(a,0));r.length===1&&(u=u.filter(m=>m!==n));const p=u.find(m=>m.toLowerCase().startsWith(r.toLowerCase()));return p!==n?p:void 0}function no(e,o){const{x:n,y:t}=e;let r=!1;for(let a=0,u=o.length-1;a<o.length;u=a++){const i=o[a],p=o[u],m=i.x,l=i.y,s=p.x,v=p.y;l>t!=v>t&&n<(s-m)*(t-l)/(v-l)+m&&(r=!r)}return r}function oo(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return no(n,o)}function V(e){return o=>o.pointerType==="mouse"?e(o):void 0}var to=ye,ro=ae,ao=xe,co=ue,so=Re,uo=z,io=Ne,lo=ke,po=Ge,fo=Ke,mo=Ue,vo=Be,Mo=Ve,ho=Xe,go=He,Z="DropdownMenu",[Co,dt]=ge(Z,[De]),_=De(),[_o,je]=Co(Z),ze=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:r,defaultOpen:a,onOpenChange:u,modal:i=!0}=e,p=_(o),m=C(null),[l,s]=Ce({prop:r,defaultProp:a??!1,onChange:u,caller:Z});return c(_o,{scope:o,triggerId:W(),triggerRef:m,contentId:W(),open:l,onOpenChange:s,onOpenToggle:S(()=>s(v=>!v),[s]),modal:i,children:c(to,{...p,open:l,onOpenChange:s,dir:t,modal:i,children:n})})};ze.displayName=Z;var qe="DropdownMenuTrigger",Ze=f((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...r}=e,a=je(qe,n),u=_(n);return c(ro,{asChild:!0,...u,children:c(N.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...r,ref:he(o,a.triggerRef),onPointerDown:M(e.onPointerDown,i=>{!t&&i.button===0&&i.ctrlKey===!1&&(a.onOpenToggle(),a.open||i.preventDefault())}),onKeyDown:M(e.onKeyDown,i=>{t||(["Enter"," "].includes(i.key)&&a.onOpenToggle(),i.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});Ze.displayName=qe;var Je="DropdownMenuContent",Qe=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=je(Je,n),a=_(n),u=C(!1);return c(ao,{id:r.contentId,"aria-labelledby":r.triggerId,...a,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,i=>{u.current||r.triggerRef.current?.focus(),u.current=!1,i.preventDefault()}),onInteractOutside:M(e.onInteractOutside,i=>{const p=i.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,l=p.button===2||m;(!r.modal||l)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qe.displayName=Je;var wo="DropdownMenuGroup",en=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(co,{...r,...t,ref:o})});en.displayName=wo;var Io="DropdownMenuLabel",nn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(so,{...r,...t,ref:o})});nn.displayName=Io;var So="DropdownMenuItem",on=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(uo,{...r,...t,ref:o})});on.displayName=So;var Do="DropdownMenuCheckboxItem",tn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(io,{...r,...t,ref:o})});tn.displayName=Do;var Eo="DropdownMenuRadioGroup",Po=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(lo,{...r,...t,ref:o})});Po.displayName=Eo;var yo="DropdownMenuRadioItem",bo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(po,{...r,...t,ref:o})});bo.displayName=yo;var xo="DropdownMenuItemIndicator",Ro=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(fo,{...r,...t,ref:o})});Ro.displayName=xo;var To="DropdownMenuSeparator",rn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(mo,{...r,...t,ref:o})});rn.displayName=To;var Ao="DropdownMenuArrow",No=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(vo,{...r,...t,ref:o})});No.displayName=Ao;var Oo=e=>{const{__scopeDropdownMenu:o,children:n,open:t,onOpenChange:r,defaultOpen:a}=e,u=_(o),[i,p]=Ce({prop:t,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return c(Mo,{...u,open:i,onOpenChange:p,children:n})},ko="DropdownMenuSubTrigger",Lo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(ho,{...r,...t,ref:o})});Lo.displayName=ko;var Go="DropdownMenuSubContent",an=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(go,{...r,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=Go;var Fo=ze,Ko=Ze,Uo=Qe,Bo=en,$o=nn,Vo=on,Xo=tn,Yo=rn,Ho=Oo,Wo=an;export{Xo as C,Bo as G,Vo as I,$o as L,Fo as R,Yo as S,Ko as T,Uo as a,Ho as b,Wo as c};
@@ -1 +1 @@
1
- import{q as C,D as S,O as u,p as a,u as f,e as g,k as b}from"./register-D6N8B6AV.js";function m(n,t){if(typeof n=="function")return n(t);n!=null&&(n.current=t)}function y(...n){return t=>{let r=!1;const o=n.map(e=>{const l=m(e,t);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():m(n[e],null)}}}}function I(...n){return C(y(...n),n)}function O(n){const t=h(n),r=S((o,e)=>{const{children:l,...i}=o,s=u.toArray(l),p=s.find(E);if(p){const c=p.props.children,_=s.map(d=>d===p?u.count(c)>1?u.only(null):a(c)?c.props.children:null:d);return f(t,{...i,ref:e,children:a(c)?g(c,void 0,_):null})}return f(t,{...i,ref:e,children:l})});return r.displayName=`${n}.Slot`,r}function h(n){const t=S((r,o)=>{const{children:e,...l}=r;if(a(e)){const i=P(e),s=N(l,e.props);return e.type!==b&&(s.ref=o?y(o,i):i),g(e,s)}return u.count(e)>1?u.only(null):null});return t.displayName=`${n}.SlotClone`,t}var R=Symbol("radix.slottable");function x(n){const t=({children:r})=>f(b,{children:r});return t.displayName=`${n}.Slottable`,t.__radixId=R,t}function E(n){return a(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===R}function N(n,t){const r={...t};for(const o in t){const e=n[o],l=t[o];/^on[A-Z]/.test(o)?e&&l?r[o]=(...s)=>{l(...s),e(...s)}:e&&(r[o]=e):o==="style"?r[o]={...e,...l}:o==="className"&&(r[o]=[e,l].filter(Boolean).join(" "))}return{...n,...r}}function P(n){let t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?n.ref:(t=Object.getOwnPropertyDescriptor(n,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?n.props.ref:n.props.ref||n.ref)}export{O as a,y as b,x as c,I as u};
1
+ import{q as C,D as S,O as u,p as a,u as f,e as g,k as b}from"./register-_G2N7H5v.js";function m(n,t){if(typeof n=="function")return n(t);n!=null&&(n.current=t)}function y(...n){return t=>{let r=!1;const o=n.map(e=>{const l=m(e,t);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():m(n[e],null)}}}}function I(...n){return C(y(...n),n)}function O(n){const t=h(n),r=S((o,e)=>{const{children:l,...i}=o,s=u.toArray(l),p=s.find(E);if(p){const c=p.props.children,_=s.map(d=>d===p?u.count(c)>1?u.only(null):a(c)?c.props.children:null:d);return f(t,{...i,ref:e,children:a(c)?g(c,void 0,_):null})}return f(t,{...i,ref:e,children:l})});return r.displayName=`${n}.Slot`,r}function h(n){const t=S((r,o)=>{const{children:e,...l}=r;if(a(e)){const i=P(e),s=N(l,e.props);return e.type!==b&&(s.ref=o?y(o,i):i),g(e,s)}return u.count(e)>1?u.only(null):null});return t.displayName=`${n}.SlotClone`,t}var R=Symbol("radix.slottable");function x(n){const t=({children:r})=>f(b,{children:r});return t.displayName=`${n}.Slottable`,t.__radixId=R,t}function E(n){return a(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===R}function N(n,t){const r={...t};for(const o in t){const e=n[o],l=t[o];/^on[A-Z]/.test(o)?e&&l?r[o]=(...s)=>{l(...s),e(...s)}:e&&(r[o]=e):o==="style"?r[o]={...e,...l}:o==="className"&&(r[o]=[e,l].filter(Boolean).join(" "))}return{...n,...r}}function P(n){let t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?n.ref:(t=Object.getOwnPropertyDescriptor(n,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?n.props.ref:n.props.ref||n.ref)}export{O as a,y as b,x as c,I as u};
@@ -1 +1 @@
1
- import{y as l,D as g,x as B,K as X,d as T,u as R,A as y}from"./register-D6N8B6AV.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as Y}from"./index-kdb6LTlL.js";import{u as I}from"./index-uEcL3mb6.js";import{u as m}from"./index-DfI1C0CI.js";function j(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var q="DismissableLayer",b="dismissableLayer.update",G="dismissableLayer.pointerDownOutside",J="dismissableLayer.focusOutside",A,W=X({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:d,...f}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[K]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),z=P.indexOf(K),O=c?P.indexOf(c):-1,H=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=z,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),v?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),v?.(r),r.defaultPrevented||d?.())},u);return j(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...f,ref:U,style:{pointerEvents:H?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=q;var Q="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=Q;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let f=function(){N(G,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=f,e.addEventListener("click",n.current,{once:!0})):f()}else e.removeEventListener("click",n.current);i.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(J,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?Y(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
1
+ import{y as l,D as g,x as B,K as X,d as T,u as R,A as y}from"./register-_G2N7H5v.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as Y}from"./index-BWPRLJg-.js";import{u as I}from"./index-DjntHHkF.js";import{u as m}from"./index-CeboH83Y.js";function j(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var q="DismissableLayer",b="dismissableLayer.update",G="dismissableLayer.pointerDownOutside",J="dismissableLayer.focusOutside",A,W=X({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:d,...f}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[K]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),z=P.indexOf(K),O=c?P.indexOf(c):-1,H=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=z,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),v?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),v?.(r),r.defaultPrevented||d?.())},u);return j(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...f,ref:U,style:{pointerEvents:H?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=q;var Q="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=Q;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let f=function(){N(G,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=f,e.addEventListener("click",n.current,{once:!0})):f()}else e.removeEventListener("click",n.current);i.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(J,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?Y(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
package/dist/index.d.ts CHANGED
@@ -977,6 +977,7 @@ type NavGroupProps = BoxProps & {
977
977
  "default-open"?: false | true;
978
978
  "onOpenChange"?: (open: boolean) => void;
979
979
  "open"?: false | true;
980
+ "collapsible"?: false | true;
980
981
  };
981
982
  declare const NavGroupContent = "ax-nav-group-content";
982
983
 
@@ -2311,7 +2312,7 @@ declare module "@stencil/core" {
2311
2312
  declare module "@stencil/core" {
2312
2313
  namespace JSX {
2313
2314
  interface IntrinsicElements {
2314
- [NavGroup]: NavGroupProps & Omit<(JSXBase.IntrinsicElements["li"]), keyof NavGroupProps>;
2315
+ [NavGroup]: NavGroupProps & Omit<(JSXBase.IntrinsicElements["div"]), keyof NavGroupProps>;
2315
2316
  }
2316
2317
  }
2317
2318
  }
@@ -3399,7 +3400,7 @@ declare module "react" {
3399
3400
  declare module "react" {
3400
3401
  namespace JSX {
3401
3402
  interface IntrinsicElements {
3402
- [NavGroup]: NavGroupProps & Omit<(ComponentPropsWithoutRef<"li">), keyof NavGroupProps>;
3403
+ [NavGroup]: NavGroupProps & Omit<(ComponentPropsWithoutRef<"div">), keyof NavGroupProps>;
3403
3404
  }
3404
3405
  }
3405
3406
  }
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{f as e,A as Mt,a as Bt,b as ht,c as Nt,d as kt,e as Gt,g as yt,h as Ft,i as Rt,j as Ht,k as zt,l as Kt,m as jt,B as qt,n as Jt,o as Ot,p as Qt,q as Ut,C as Vt,r as Wt,s as Xt,D as Yt,t as Zt,u as _t,v as $t,w as eo,x as to,y as oo,z as so,E as no,F as ao,G as io,H as mo,I as ro,J as lo,K as co,L as uo,M as go,N as po,O as fo,P as Eo,Q as xo,R as bo,S as Po,T as To,U as Do,V as vo,W as Co,X as Lo,Y as Ao,Z as Io,_ as So,$ as wo,a0 as Mo,a1 as Bo,a2 as ho,a3 as No,a4 as ko,a5 as Go,a6 as yo,a7 as Fo,a8 as Ro,a9 as Ho,aa as zo,ab as Ko,ac as jo,ad as qo,ae as Jo,af as Oo,ag as Qo,ah as Uo,ai as Vo,aj as Wo,ak as Xo,al as Yo,am as Zo,an as _o,ao as $o,ap as es,aq as ts,ar as os,as as ss,at as ns,au as as,av as is,aw as ms,ax as rs,ay as ls,az as cs,aA as us,aB as ds,aC as gs,aD as ps,aE as fs,aF as Es,aG as xs,aH as bs,aI as Ps,aJ as Ts,aK as Ds,aL as vs,aM as Cs,aN as Ls,aO as As,aP as Is,aQ as Ss,aR as ws,aS as Ms,aT as Bs,aU as hs,aV as Ns,aW as ks,aX as Gs,aY as ys,aZ as Fs,a_ as Rs,a$ as Hs,b0 as zs,b1 as Ks,b2 as js,b3 as qs,b4 as Js,b5 as Os,b6 as Qs,b7 as Us,b8 as Vs,b9 as Ws,ba as Xs,bb as Ys,bc as Zs,bd as _s,be as $s,bf as en,bg as tn,bh as on,bi as sn}from"./propTypes-BgDgQj7O.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",Mt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",Bt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",ht));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",Nt));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",kt));const i="ax-alert-dialog-content";customElements.get(i)||customElements.define(i,e(i,"AlertDialogContent",Gt));const m="ax-alert-dialog-footer";customElements.get(m)||customElements.define(m,e(m,"AlertDialogFooter",yt));const r="ax-alert-dialog-header";customElements.get(r)||customElements.define(r,e(r,"AlertDialogHeader",Ft));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Rt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Ht));const u="ax-avatar";customElements.get(u)||customElements.define(u,e(u,"Avatar",zt));const d="ax-avatar-group";customElements.get(d)||customElements.define(d,e(d,"AvatarGroup",Kt));const g="ax-axiom-provider";customElements.get(g)||customElements.define(g,e(g,"AxiomProvider",jt));const p="ax-badge";customElements.get(p)||customElements.define(p,e(p,"Badge",qt));const f="ax-banner";customElements.get(f)||customElements.define(f,e(f,"Banner",Jt));const E="ax-box";customElements.get(E)||customElements.define(E,e(E,"Box",Ot));const x="ax-button";customElements.get(x)||customElements.define(x,e(x,"Button",Qt));const b="ax-button-group";customElements.get(b)||customElements.define(b,e(b,"ButtonGroup",Ut));const P="ax-checkbox";customElements.get(P)||customElements.define(P,e(P,"Checkbox",Vt));const T="ax-code";customElements.get(T)||customElements.define(T,e(T,"Code",Wt));const D="ax-cover";customElements.get(D)||customElements.define(D,e(D,"Cover",Xt));const v="ax-data-table";customElements.get(v)||customElements.define(v,e(v,"DataTable",Yt));const C="ax-data-table-body";customElements.get(C)||customElements.define(C,e(C,"DataTableBody",Zt));const L="ax-data-table-footer";customElements.get(L)||customElements.define(L,e(L,"DataTableFooter",_t));const A="ax-date-input";customElements.get(A)||customElements.define(A,e(A,"DateInput",$t));const I="ax-date-range-picker";customElements.get(I)||customElements.define(I,e(I,"DateRangePicker",eo));const S="ax-date-range-picker-content";customElements.get(S)||customElements.define(S,e(S,"DateRangePickerContent",to));const w="ax-date-range-picker-trigger";customElements.get(w)||customElements.define(w,e(w,"DateRangePickerTrigger",oo));const M="ax-dialog";customElements.get(M)||customElements.define(M,e(M,"Dialog",so));const B="ax-dialog-body";customElements.get(B)||customElements.define(B,e(B,"DialogBody",no));const h="ax-dialog-close";customElements.get(h)||customElements.define(h,e(h,"DialogClose",ao));const N="ax-dialog-content";customElements.get(N)||customElements.define(N,e(N,"DialogContent",io));const k="ax-dialog-footer";customElements.get(k)||customElements.define(k,e(k,"DialogFooter",mo));const G="ax-dialog-form";customElements.get(G)||customElements.define(G,e(G,"DialogForm",ro));const y="ax-dialog-header";customElements.get(y)||customElements.define(y,e(y,"DialogHeader",lo));const F="ax-dialog-trigger";customElements.get(F)||customElements.define(F,e(F,"DialogTrigger",co));const R="ax-disclosure";customElements.get(R)||customElements.define(R,e(R,"Disclosure",uo));const H="ax-disclosure-content";customElements.get(H)||customElements.define(H,e(H,"DisclosureContent",go));const z="ax-disclosure-trigger";customElements.get(z)||customElements.define(z,e(z,"DisclosureTrigger",po));const K="ax-dropdown-menu";customElements.get(K)||customElements.define(K,e(K,"DropdownMenu",fo));const j="ax-dropdown-menu-checkbox-item";customElements.get(j)||customElements.define(j,e(j,"DropdownMenuCheckboxItem",Eo));const q="ax-dropdown-menu-content";customElements.get(q)||customElements.define(q,e(q,"DropdownMenuContent",xo));const J="ax-dropdown-menu-group";customElements.get(J)||customElements.define(J,e(J,"DropdownMenuGroup",bo));const O="ax-dropdown-menu-item";customElements.get(O)||customElements.define(O,e(O,"DropdownMenuItem",Po));const Q="ax-dropdown-menu-label";customElements.get(Q)||customElements.define(Q,e(Q,"DropdownMenuLabel",To));const U="ax-dropdown-menu-separator";customElements.get(U)||customElements.define(U,e(U,"DropdownMenuSeparator",Do));const V="ax-dropdown-menu-sub";customElements.get(V)||customElements.define(V,e(V,"DropdownMenuSub",vo));const W="ax-dropdown-menu-sub-content";customElements.get(W)||customElements.define(W,e(W,"DropdownMenuSubContent",Co));const X="ax-dropdown-menu-trigger";customElements.get(X)||customElements.define(X,e(X,"DropdownMenuTrigger",Lo));const Y="ax-ellipsis-menu-button";customElements.get(Y)||customElements.define(Y,e(Y,"EllipsisMenuButton",Ao));const Z="ax-field";customElements.get(Z)||customElements.define(Z,e(Z,"Field",Io));const _="ax-field-label";customElements.get(_)||customElements.define(_,e(_,"FieldLabel",So));const $="ax-flex";customElements.get($)||customElements.define($,e($,"Flex",wo));const ee="ax-grid";customElements.get(ee)||customElements.define(ee,e(ee,"Grid",Mo));const te="ax-heading";customElements.get(te)||customElements.define(te,e(te,"Heading",Bo));const oe="ax-indicator";customElements.get(oe)||customElements.define(oe,e(oe,"Indicator",ho));const se="ax-input";customElements.get(se)||customElements.define(se,e(se,"Input",No));const ne="ax-input-addon";customElements.get(ne)||customElements.define(ne,e(ne,"InputAddon",ko));const ae="ax-input-control";customElements.get(ae)||customElements.define(ae,e(ae,"InputControl",Go));const ie="ax-input-root";customElements.get(ie)||customElements.define(ie,e(ie,"InputRoot",yo));const me="ax-kbd";customElements.get(me)||customElements.define(me,e(me,"Kbd",Fo));const re="ax-label-menu-button";customElements.get(re)||customElements.define(re,e(re,"LabelMenuButton",Ro));const le="ax-link";customElements.get(le)||customElements.define(le,e(le,"Link",Ho));const ce="ax-listbox";customElements.get(ce)||customElements.define(ce,e(ce,"Listbox",zo));const ue="ax-listbox-checkbox-item";customElements.get(ue)||customElements.define(ue,e(ue,"ListboxCheckboxItem",Ko));const de="ax-listbox-empty";customElements.get(de)||customElements.define(de,e(de,"ListboxEmpty",jo));const ge="ax-listbox-footer";customElements.get(ge)||customElements.define(ge,e(ge,"ListboxFooter",qo));const pe="ax-listbox-group";customElements.get(pe)||customElements.define(pe,e(pe,"ListboxGroup",Jo));const fe="ax-listbox-item";customElements.get(fe)||customElements.define(fe,e(fe,"ListboxItem",Oo));const Ee="ax-listbox-item-indicator";customElements.get(Ee)||customElements.define(Ee,e(Ee,"ListboxItemIndicator",Qo));const xe="ax-listbox-itemized";customElements.get(xe)||customElements.define(xe,e(xe,"ListboxItemized",Uo));const be="ax-listbox-label";customElements.get(be)||customElements.define(be,e(be,"ListboxLabel",Vo));const Pe="ax-listbox-radio-item";customElements.get(Pe)||customElements.define(Pe,e(Pe,"ListboxRadioItem",Wo));const Te="ax-listbox-separator";customElements.get(Te)||customElements.define(Te,e(Te,"ListboxSeparator",Xo));const De="ax-listbox-switch-item";customElements.get(De)||customElements.define(De,e(De,"ListboxSwitchItem",Yo));const ve="ax-modal-layer";customElements.get(ve)||customElements.define(ve,e(ve,"ModalLayer",Zo));const Ce="ax-modal-provider";customElements.get(Ce)||customElements.define(Ce,e(Ce,"ModalProvider",_o));const Le="ax-nav";customElements.get(Le)||customElements.define(Le,e(Le,"Nav",$o));const Ae="ax-nav-account-item";customElements.get(Ae)||customElements.define(Ae,e(Ae,"NavAccountItem",es));const Ie="ax-nav-body";customElements.get(Ie)||customElements.define(Ie,e(Ie,"NavBody",ts));const Se="ax-nav-footer";customElements.get(Se)||customElements.define(Se,e(Se,"NavFooter",os));const we="ax-nav-group";customElements.get(we)||customElements.define(we,e(we,"NavGroup",ss));const Me="ax-nav-group-content";customElements.get(Me)||customElements.define(Me,e(Me,"NavGroupContent",ns));const Be="ax-nav-group-trigger";customElements.get(Be)||customElements.define(Be,e(Be,"NavGroupTrigger",as));const he="ax-nav-header";customElements.get(he)||customElements.define(he,e(he,"NavHeader",is));const Ne="ax-nav-item";customElements.get(Ne)||customElements.define(Ne,e(Ne,"NavItem",ms));const ke="ax-nav-list";customElements.get(ke)||customElements.define(ke,e(ke,"NavList",rs));const Ge="ax-nav-separator";customElements.get(Ge)||customElements.define(Ge,e(Ge,"NavSeparator",ls));const ye="ax-pagination";customElements.get(ye)||customElements.define(ye,e(ye,"Pagination",cs));const Fe="ax-paper";customElements.get(Fe)||customElements.define(Fe,e(Fe,"Paper",us));const Re="ax-popover";customElements.get(Re)||customElements.define(Re,e(Re,"Popover",ds));const He="ax-popover-anchor";customElements.get(He)||customElements.define(He,e(He,"PopoverAnchor",gs));const ze="ax-popover-content";customElements.get(ze)||customElements.define(ze,e(ze,"PopoverContent",ps));const Ke="ax-popover-trigger";customElements.get(Ke)||customElements.define(Ke,e(Ke,"PopoverTrigger",fs));const je="ax-progress";customElements.get(je)||customElements.define(je,e(je,"Progress",Es));const qe="ax-radio";customElements.get(qe)||customElements.define(qe,e(qe,"Radio",xs));const Je="ax-radio-group";customElements.get(Je)||customElements.define(Je,e(Je,"RadioGroup",bs));const Oe="ax-search-input";customElements.get(Oe)||customElements.define(Oe,e(Oe,"SearchInput",Ps));const Qe="ax-segmented-control";customElements.get(Qe)||customElements.define(Qe,e(Qe,"SegmentedControl",Ts));const Ue="ax-segmented-control-item";customElements.get(Ue)||customElements.define(Ue,e(Ue,"SegmentedControlItem",Ds));const Ve="ax-select";customElements.get(Ve)||customElements.define(Ve,e(Ve,"Select",vs));const We="ax-select-content";customElements.get(We)||customElements.define(We,e(We,"SelectContent",Cs));const Xe="ax-select-trigger";customElements.get(Xe)||customElements.define(Xe,e(Xe,"SelectTrigger",Ls));const Ye="ax-separator";customElements.get(Ye)||customElements.define(Ye,e(Ye,"Separator",As));const Ze="ax-sidebar";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Sidebar",Is));const _e="ax-sidebar-toggle";customElements.get(_e)||customElements.define(_e,e(_e,"SidebarToggle",Ss));const $e="ax-skeleton";customElements.get($e)||customElements.define($e,e($e,"Skeleton",ws));const et="ax-spinner";customElements.get(et)||customElements.define(et,e(et,"Spinner",Ms));const tt="ax-sub-nav";customElements.get(tt)||customElements.define(tt,e(tt,"SubNav",Bs));const ot="ax-switch";customElements.get(ot)||customElements.define(ot,e(ot,"Switch",hs));const st="ax-table";customElements.get(st)||customElements.define(st,e(st,"Table",Ns));const nt="ax-table-action";customElements.get(nt)||customElements.define(nt,e(nt,"TableAction",ks));const at="ax-table-body";customElements.get(at)||customElements.define(at,e(at,"TableBody",Gs));const it="ax-table-cell";customElements.get(it)||customElements.define(it,e(it,"TableCell",ys));const mt="ax-table-header";customElements.get(mt)||customElements.define(mt,e(mt,"TableHeader",Fs));const rt="ax-table-header-cell";customElements.get(rt)||customElements.define(rt,e(rt,"TableHeaderCell",Rs));const lt="ax-table-row";customElements.get(lt)||customElements.define(lt,e(lt,"TableRow",Hs));const ct="ax-tabs";customElements.get(ct)||customElements.define(ct,e(ct,"Tabs",zs));const ut="ax-tabs-content";customElements.get(ut)||customElements.define(ut,e(ut,"TabsContent",Ks));const dt="ax-tabs-list";customElements.get(dt)||customElements.define(dt,e(dt,"TabsList",js));const gt="ax-tabs-trigger";customElements.get(gt)||customElements.define(gt,e(gt,"TabsTrigger",qs));const pt="ax-text";customElements.get(pt)||customElements.define(pt,e(pt,"Text",Js));const ft="ax-textarea";customElements.get(ft)||customElements.define(ft,e(ft,"Textarea",Os));const Et="ax-theme-provider";customElements.get(Et)||customElements.define(Et,e(Et,"ThemeProvider",Qs));const xt="ax-toast";customElements.get(xt)||customElements.define(xt,e(xt,"Toast",Us));const bt="ax-toast-action";customElements.get(bt)||customElements.define(bt,e(bt,"ToastAction",Vs));const Pt="ax-toast-provider";customElements.get(Pt)||customElements.define(Pt,e(Pt,"ToastProvider",Ws));const Tt="ax-toast-title";customElements.get(Tt)||customElements.define(Tt,e(Tt,"ToastTitle",Xs));const Dt="ax-toggle-button";customElements.get(Dt)||customElements.define(Dt,e(Dt,"ToggleButton",Ys));const vt="ax-tooltip";customElements.get(vt)||customElements.define(vt,e(vt,"Tooltip",Zs));const Ct="ax-tooltip-content";customElements.get(Ct)||customElements.define(Ct,e(Ct,"TooltipContent",_s));const Lt="ax-tooltip-provider";customElements.get(Lt)||customElements.define(Lt,e(Lt,"TooltipProvider",$s));const At="ax-tooltip-root";customElements.get(At)||customElements.define(At,e(At,"TooltipRoot",en));const It="ax-tooltip-trigger";customElements.get(It)||customElements.define(It,e(It,"TooltipTrigger",tn));const St="ax-transition";customElements.get(St)||customElements.define(St,e(St,"Transition",on));const wt="ax-transition-group";customElements.get(wt)||customElements.define(wt,e(wt,"TransitionGroup",sn));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,i as AlertDialogContent,m as AlertDialogFooter,r as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as Avatar,d as AvatarGroup,g as AxiomProvider,p as Badge,f as Banner,E as Box,x as Button,b as ButtonGroup,P as Checkbox,T as Code,D as Cover,v as DataTable,C as DataTableBody,L as DataTableFooter,A as DateInput,I as DateRangePicker,S as DateRangePickerContent,w as DateRangePickerTrigger,M as Dialog,B as DialogBody,h as DialogClose,N as DialogContent,k as DialogFooter,G as DialogForm,y as DialogHeader,F as DialogTrigger,R as Disclosure,H as DisclosureContent,z as DisclosureTrigger,K as DropdownMenu,j as DropdownMenuCheckboxItem,q as DropdownMenuContent,J as DropdownMenuGroup,O as DropdownMenuItem,Q as DropdownMenuLabel,U as DropdownMenuSeparator,V as DropdownMenuSub,W as DropdownMenuSubContent,X as DropdownMenuTrigger,Y as EllipsisMenuButton,Z as Field,_ as FieldLabel,$ as Flex,ee as Grid,te as Heading,oe as Indicator,se as Input,ne as InputAddon,ae as InputControl,ie as InputRoot,me as Kbd,re as LabelMenuButton,le as Link,ce as Listbox,ue as ListboxCheckboxItem,de as ListboxEmpty,ge as ListboxFooter,pe as ListboxGroup,fe as ListboxItem,Ee as ListboxItemIndicator,xe as ListboxItemized,be as ListboxLabel,Pe as ListboxRadioItem,Te as ListboxSeparator,De as ListboxSwitchItem,ve as ModalLayer,Ce as ModalProvider,Le as Nav,Ae as NavAccountItem,Ie as NavBody,Se as NavFooter,we as NavGroup,Me as NavGroupContent,Be as NavGroupTrigger,he as NavHeader,Ne as NavItem,ke as NavList,Ge as NavSeparator,ye as Pagination,Fe as Paper,Re as Popover,He as PopoverAnchor,ze as PopoverContent,Ke as PopoverTrigger,je as Progress,qe as Radio,Je as RadioGroup,Oe as SearchInput,Qe as SegmentedControl,Ue as SegmentedControlItem,Ve as Select,We as SelectContent,Xe as SelectTrigger,Ye as Separator,Ze as Sidebar,_e as SidebarToggle,$e as Skeleton,et as Spinner,tt as SubNav,ot as Switch,st as Table,nt as TableAction,at as TableBody,it as TableCell,mt as TableHeader,rt as TableHeaderCell,lt as TableRow,ct as Tabs,ut as TabsContent,dt as TabsList,gt as TabsTrigger,pt as Text,ft as Textarea,Et as ThemeProvider,xt as Toast,bt as ToastAction,Pt as ToastProvider,Tt as ToastTitle,Dt as ToggleButton,vt as Tooltip,Ct as TooltipContent,Lt as TooltipProvider,At as TooltipRoot,It as TooltipTrigger,St as Transition,wt as TransitionGroup};
1
+ import{f as e,A as Mt,a as Bt,b as ht,c as Nt,d as kt,e as Gt,g as yt,h as Ft,i as Rt,j as Ht,k as zt,l as Kt,m as jt,B as qt,n as Jt,o as Ot,p as Qt,q as Ut,C as Vt,r as Wt,s as Xt,D as Yt,t as Zt,u as _t,v as $t,w as eo,x as to,y as oo,z as so,E as no,F as ao,G as io,H as mo,I as ro,J as lo,K as co,L as uo,M as go,N as po,O as fo,P as Eo,Q as xo,R as bo,S as Po,T as To,U as Do,V as vo,W as Co,X as Lo,Y as Ao,Z as Io,_ as So,$ as wo,a0 as Mo,a1 as Bo,a2 as ho,a3 as No,a4 as ko,a5 as Go,a6 as yo,a7 as Fo,a8 as Ro,a9 as Ho,aa as zo,ab as Ko,ac as jo,ad as qo,ae as Jo,af as Oo,ag as Qo,ah as Uo,ai as Vo,aj as Wo,ak as Xo,al as Yo,am as Zo,an as _o,ao as $o,ap as es,aq as ts,ar as os,as as ss,at as ns,au as as,av as is,aw as ms,ax as rs,ay as ls,az as cs,aA as us,aB as ds,aC as gs,aD as ps,aE as fs,aF as Es,aG as xs,aH as bs,aI as Ps,aJ as Ts,aK as Ds,aL as vs,aM as Cs,aN as Ls,aO as As,aP as Is,aQ as Ss,aR as ws,aS as Ms,aT as Bs,aU as hs,aV as Ns,aW as ks,aX as Gs,aY as ys,aZ as Fs,a_ as Rs,a$ as Hs,b0 as zs,b1 as Ks,b2 as js,b3 as qs,b4 as Js,b5 as Os,b6 as Qs,b7 as Us,b8 as Vs,b9 as Ws,ba as Xs,bb as Ys,bc as Zs,bd as _s,be as $s,bf as en,bg as tn,bh as on,bi as sn}from"./propTypes-BgI6w_Yc.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",Mt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",Bt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",ht));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",Nt));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",kt));const i="ax-alert-dialog-content";customElements.get(i)||customElements.define(i,e(i,"AlertDialogContent",Gt));const m="ax-alert-dialog-footer";customElements.get(m)||customElements.define(m,e(m,"AlertDialogFooter",yt));const r="ax-alert-dialog-header";customElements.get(r)||customElements.define(r,e(r,"AlertDialogHeader",Ft));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Rt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Ht));const u="ax-avatar";customElements.get(u)||customElements.define(u,e(u,"Avatar",zt));const d="ax-avatar-group";customElements.get(d)||customElements.define(d,e(d,"AvatarGroup",Kt));const g="ax-axiom-provider";customElements.get(g)||customElements.define(g,e(g,"AxiomProvider",jt));const p="ax-badge";customElements.get(p)||customElements.define(p,e(p,"Badge",qt));const f="ax-banner";customElements.get(f)||customElements.define(f,e(f,"Banner",Jt));const E="ax-box";customElements.get(E)||customElements.define(E,e(E,"Box",Ot));const x="ax-button";customElements.get(x)||customElements.define(x,e(x,"Button",Qt));const b="ax-button-group";customElements.get(b)||customElements.define(b,e(b,"ButtonGroup",Ut));const P="ax-checkbox";customElements.get(P)||customElements.define(P,e(P,"Checkbox",Vt));const T="ax-code";customElements.get(T)||customElements.define(T,e(T,"Code",Wt));const D="ax-cover";customElements.get(D)||customElements.define(D,e(D,"Cover",Xt));const v="ax-data-table";customElements.get(v)||customElements.define(v,e(v,"DataTable",Yt));const C="ax-data-table-body";customElements.get(C)||customElements.define(C,e(C,"DataTableBody",Zt));const L="ax-data-table-footer";customElements.get(L)||customElements.define(L,e(L,"DataTableFooter",_t));const A="ax-date-input";customElements.get(A)||customElements.define(A,e(A,"DateInput",$t));const I="ax-date-range-picker";customElements.get(I)||customElements.define(I,e(I,"DateRangePicker",eo));const S="ax-date-range-picker-content";customElements.get(S)||customElements.define(S,e(S,"DateRangePickerContent",to));const w="ax-date-range-picker-trigger";customElements.get(w)||customElements.define(w,e(w,"DateRangePickerTrigger",oo));const M="ax-dialog";customElements.get(M)||customElements.define(M,e(M,"Dialog",so));const B="ax-dialog-body";customElements.get(B)||customElements.define(B,e(B,"DialogBody",no));const h="ax-dialog-close";customElements.get(h)||customElements.define(h,e(h,"DialogClose",ao));const N="ax-dialog-content";customElements.get(N)||customElements.define(N,e(N,"DialogContent",io));const k="ax-dialog-footer";customElements.get(k)||customElements.define(k,e(k,"DialogFooter",mo));const G="ax-dialog-form";customElements.get(G)||customElements.define(G,e(G,"DialogForm",ro));const y="ax-dialog-header";customElements.get(y)||customElements.define(y,e(y,"DialogHeader",lo));const F="ax-dialog-trigger";customElements.get(F)||customElements.define(F,e(F,"DialogTrigger",co));const R="ax-disclosure";customElements.get(R)||customElements.define(R,e(R,"Disclosure",uo));const H="ax-disclosure-content";customElements.get(H)||customElements.define(H,e(H,"DisclosureContent",go));const z="ax-disclosure-trigger";customElements.get(z)||customElements.define(z,e(z,"DisclosureTrigger",po));const K="ax-dropdown-menu";customElements.get(K)||customElements.define(K,e(K,"DropdownMenu",fo));const j="ax-dropdown-menu-checkbox-item";customElements.get(j)||customElements.define(j,e(j,"DropdownMenuCheckboxItem",Eo));const q="ax-dropdown-menu-content";customElements.get(q)||customElements.define(q,e(q,"DropdownMenuContent",xo));const J="ax-dropdown-menu-group";customElements.get(J)||customElements.define(J,e(J,"DropdownMenuGroup",bo));const O="ax-dropdown-menu-item";customElements.get(O)||customElements.define(O,e(O,"DropdownMenuItem",Po));const Q="ax-dropdown-menu-label";customElements.get(Q)||customElements.define(Q,e(Q,"DropdownMenuLabel",To));const U="ax-dropdown-menu-separator";customElements.get(U)||customElements.define(U,e(U,"DropdownMenuSeparator",Do));const V="ax-dropdown-menu-sub";customElements.get(V)||customElements.define(V,e(V,"DropdownMenuSub",vo));const W="ax-dropdown-menu-sub-content";customElements.get(W)||customElements.define(W,e(W,"DropdownMenuSubContent",Co));const X="ax-dropdown-menu-trigger";customElements.get(X)||customElements.define(X,e(X,"DropdownMenuTrigger",Lo));const Y="ax-ellipsis-menu-button";customElements.get(Y)||customElements.define(Y,e(Y,"EllipsisMenuButton",Ao));const Z="ax-field";customElements.get(Z)||customElements.define(Z,e(Z,"Field",Io));const _="ax-field-label";customElements.get(_)||customElements.define(_,e(_,"FieldLabel",So));const $="ax-flex";customElements.get($)||customElements.define($,e($,"Flex",wo));const ee="ax-grid";customElements.get(ee)||customElements.define(ee,e(ee,"Grid",Mo));const te="ax-heading";customElements.get(te)||customElements.define(te,e(te,"Heading",Bo));const oe="ax-indicator";customElements.get(oe)||customElements.define(oe,e(oe,"Indicator",ho));const se="ax-input";customElements.get(se)||customElements.define(se,e(se,"Input",No));const ne="ax-input-addon";customElements.get(ne)||customElements.define(ne,e(ne,"InputAddon",ko));const ae="ax-input-control";customElements.get(ae)||customElements.define(ae,e(ae,"InputControl",Go));const ie="ax-input-root";customElements.get(ie)||customElements.define(ie,e(ie,"InputRoot",yo));const me="ax-kbd";customElements.get(me)||customElements.define(me,e(me,"Kbd",Fo));const re="ax-label-menu-button";customElements.get(re)||customElements.define(re,e(re,"LabelMenuButton",Ro));const le="ax-link";customElements.get(le)||customElements.define(le,e(le,"Link",Ho));const ce="ax-listbox";customElements.get(ce)||customElements.define(ce,e(ce,"Listbox",zo));const ue="ax-listbox-checkbox-item";customElements.get(ue)||customElements.define(ue,e(ue,"ListboxCheckboxItem",Ko));const de="ax-listbox-empty";customElements.get(de)||customElements.define(de,e(de,"ListboxEmpty",jo));const ge="ax-listbox-footer";customElements.get(ge)||customElements.define(ge,e(ge,"ListboxFooter",qo));const pe="ax-listbox-group";customElements.get(pe)||customElements.define(pe,e(pe,"ListboxGroup",Jo));const fe="ax-listbox-item";customElements.get(fe)||customElements.define(fe,e(fe,"ListboxItem",Oo));const Ee="ax-listbox-item-indicator";customElements.get(Ee)||customElements.define(Ee,e(Ee,"ListboxItemIndicator",Qo));const xe="ax-listbox-itemized";customElements.get(xe)||customElements.define(xe,e(xe,"ListboxItemized",Uo));const be="ax-listbox-label";customElements.get(be)||customElements.define(be,e(be,"ListboxLabel",Vo));const Pe="ax-listbox-radio-item";customElements.get(Pe)||customElements.define(Pe,e(Pe,"ListboxRadioItem",Wo));const Te="ax-listbox-separator";customElements.get(Te)||customElements.define(Te,e(Te,"ListboxSeparator",Xo));const De="ax-listbox-switch-item";customElements.get(De)||customElements.define(De,e(De,"ListboxSwitchItem",Yo));const ve="ax-modal-layer";customElements.get(ve)||customElements.define(ve,e(ve,"ModalLayer",Zo));const Ce="ax-modal-provider";customElements.get(Ce)||customElements.define(Ce,e(Ce,"ModalProvider",_o));const Le="ax-nav";customElements.get(Le)||customElements.define(Le,e(Le,"Nav",$o));const Ae="ax-nav-account-item";customElements.get(Ae)||customElements.define(Ae,e(Ae,"NavAccountItem",es));const Ie="ax-nav-body";customElements.get(Ie)||customElements.define(Ie,e(Ie,"NavBody",ts));const Se="ax-nav-footer";customElements.get(Se)||customElements.define(Se,e(Se,"NavFooter",os));const we="ax-nav-group";customElements.get(we)||customElements.define(we,e(we,"NavGroup",ss));const Me="ax-nav-group-content";customElements.get(Me)||customElements.define(Me,e(Me,"NavGroupContent",ns));const Be="ax-nav-group-trigger";customElements.get(Be)||customElements.define(Be,e(Be,"NavGroupTrigger",as));const he="ax-nav-header";customElements.get(he)||customElements.define(he,e(he,"NavHeader",is));const Ne="ax-nav-item";customElements.get(Ne)||customElements.define(Ne,e(Ne,"NavItem",ms));const ke="ax-nav-list";customElements.get(ke)||customElements.define(ke,e(ke,"NavList",rs));const Ge="ax-nav-separator";customElements.get(Ge)||customElements.define(Ge,e(Ge,"NavSeparator",ls));const ye="ax-pagination";customElements.get(ye)||customElements.define(ye,e(ye,"Pagination",cs));const Fe="ax-paper";customElements.get(Fe)||customElements.define(Fe,e(Fe,"Paper",us));const Re="ax-popover";customElements.get(Re)||customElements.define(Re,e(Re,"Popover",ds));const He="ax-popover-anchor";customElements.get(He)||customElements.define(He,e(He,"PopoverAnchor",gs));const ze="ax-popover-content";customElements.get(ze)||customElements.define(ze,e(ze,"PopoverContent",ps));const Ke="ax-popover-trigger";customElements.get(Ke)||customElements.define(Ke,e(Ke,"PopoverTrigger",fs));const je="ax-progress";customElements.get(je)||customElements.define(je,e(je,"Progress",Es));const qe="ax-radio";customElements.get(qe)||customElements.define(qe,e(qe,"Radio",xs));const Je="ax-radio-group";customElements.get(Je)||customElements.define(Je,e(Je,"RadioGroup",bs));const Oe="ax-search-input";customElements.get(Oe)||customElements.define(Oe,e(Oe,"SearchInput",Ps));const Qe="ax-segmented-control";customElements.get(Qe)||customElements.define(Qe,e(Qe,"SegmentedControl",Ts));const Ue="ax-segmented-control-item";customElements.get(Ue)||customElements.define(Ue,e(Ue,"SegmentedControlItem",Ds));const Ve="ax-select";customElements.get(Ve)||customElements.define(Ve,e(Ve,"Select",vs));const We="ax-select-content";customElements.get(We)||customElements.define(We,e(We,"SelectContent",Cs));const Xe="ax-select-trigger";customElements.get(Xe)||customElements.define(Xe,e(Xe,"SelectTrigger",Ls));const Ye="ax-separator";customElements.get(Ye)||customElements.define(Ye,e(Ye,"Separator",As));const Ze="ax-sidebar";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Sidebar",Is));const _e="ax-sidebar-toggle";customElements.get(_e)||customElements.define(_e,e(_e,"SidebarToggle",Ss));const $e="ax-skeleton";customElements.get($e)||customElements.define($e,e($e,"Skeleton",ws));const et="ax-spinner";customElements.get(et)||customElements.define(et,e(et,"Spinner",Ms));const tt="ax-sub-nav";customElements.get(tt)||customElements.define(tt,e(tt,"SubNav",Bs));const ot="ax-switch";customElements.get(ot)||customElements.define(ot,e(ot,"Switch",hs));const st="ax-table";customElements.get(st)||customElements.define(st,e(st,"Table",Ns));const nt="ax-table-action";customElements.get(nt)||customElements.define(nt,e(nt,"TableAction",ks));const at="ax-table-body";customElements.get(at)||customElements.define(at,e(at,"TableBody",Gs));const it="ax-table-cell";customElements.get(it)||customElements.define(it,e(it,"TableCell",ys));const mt="ax-table-header";customElements.get(mt)||customElements.define(mt,e(mt,"TableHeader",Fs));const rt="ax-table-header-cell";customElements.get(rt)||customElements.define(rt,e(rt,"TableHeaderCell",Rs));const lt="ax-table-row";customElements.get(lt)||customElements.define(lt,e(lt,"TableRow",Hs));const ct="ax-tabs";customElements.get(ct)||customElements.define(ct,e(ct,"Tabs",zs));const ut="ax-tabs-content";customElements.get(ut)||customElements.define(ut,e(ut,"TabsContent",Ks));const dt="ax-tabs-list";customElements.get(dt)||customElements.define(dt,e(dt,"TabsList",js));const gt="ax-tabs-trigger";customElements.get(gt)||customElements.define(gt,e(gt,"TabsTrigger",qs));const pt="ax-text";customElements.get(pt)||customElements.define(pt,e(pt,"Text",Js));const ft="ax-textarea";customElements.get(ft)||customElements.define(ft,e(ft,"Textarea",Os));const Et="ax-theme-provider";customElements.get(Et)||customElements.define(Et,e(Et,"ThemeProvider",Qs));const xt="ax-toast";customElements.get(xt)||customElements.define(xt,e(xt,"Toast",Us));const bt="ax-toast-action";customElements.get(bt)||customElements.define(bt,e(bt,"ToastAction",Vs));const Pt="ax-toast-provider";customElements.get(Pt)||customElements.define(Pt,e(Pt,"ToastProvider",Ws));const Tt="ax-toast-title";customElements.get(Tt)||customElements.define(Tt,e(Tt,"ToastTitle",Xs));const Dt="ax-toggle-button";customElements.get(Dt)||customElements.define(Dt,e(Dt,"ToggleButton",Ys));const vt="ax-tooltip";customElements.get(vt)||customElements.define(vt,e(vt,"Tooltip",Zs));const Ct="ax-tooltip-content";customElements.get(Ct)||customElements.define(Ct,e(Ct,"TooltipContent",_s));const Lt="ax-tooltip-provider";customElements.get(Lt)||customElements.define(Lt,e(Lt,"TooltipProvider",$s));const At="ax-tooltip-root";customElements.get(At)||customElements.define(At,e(At,"TooltipRoot",en));const It="ax-tooltip-trigger";customElements.get(It)||customElements.define(It,e(It,"TooltipTrigger",tn));const St="ax-transition";customElements.get(St)||customElements.define(St,e(St,"Transition",on));const wt="ax-transition-group";customElements.get(wt)||customElements.define(wt,e(wt,"TransitionGroup",sn));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,i as AlertDialogContent,m as AlertDialogFooter,r as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as Avatar,d as AvatarGroup,g as AxiomProvider,p as Badge,f as Banner,E as Box,x as Button,b as ButtonGroup,P as Checkbox,T as Code,D as Cover,v as DataTable,C as DataTableBody,L as DataTableFooter,A as DateInput,I as DateRangePicker,S as DateRangePickerContent,w as DateRangePickerTrigger,M as Dialog,B as DialogBody,h as DialogClose,N as DialogContent,k as DialogFooter,G as DialogForm,y as DialogHeader,F as DialogTrigger,R as Disclosure,H as DisclosureContent,z as DisclosureTrigger,K as DropdownMenu,j as DropdownMenuCheckboxItem,q as DropdownMenuContent,J as DropdownMenuGroup,O as DropdownMenuItem,Q as DropdownMenuLabel,U as DropdownMenuSeparator,V as DropdownMenuSub,W as DropdownMenuSubContent,X as DropdownMenuTrigger,Y as EllipsisMenuButton,Z as Field,_ as FieldLabel,$ as Flex,ee as Grid,te as Heading,oe as Indicator,se as Input,ne as InputAddon,ae as InputControl,ie as InputRoot,me as Kbd,re as LabelMenuButton,le as Link,ce as Listbox,ue as ListboxCheckboxItem,de as ListboxEmpty,ge as ListboxFooter,pe as ListboxGroup,fe as ListboxItem,Ee as ListboxItemIndicator,xe as ListboxItemized,be as ListboxLabel,Pe as ListboxRadioItem,Te as ListboxSeparator,De as ListboxSwitchItem,ve as ModalLayer,Ce as ModalProvider,Le as Nav,Ae as NavAccountItem,Ie as NavBody,Se as NavFooter,we as NavGroup,Me as NavGroupContent,Be as NavGroupTrigger,he as NavHeader,Ne as NavItem,ke as NavList,Ge as NavSeparator,ye as Pagination,Fe as Paper,Re as Popover,He as PopoverAnchor,ze as PopoverContent,Ke as PopoverTrigger,je as Progress,qe as Radio,Je as RadioGroup,Oe as SearchInput,Qe as SegmentedControl,Ue as SegmentedControlItem,Ve as Select,We as SelectContent,Xe as SelectTrigger,Ye as Separator,Ze as Sidebar,_e as SidebarToggle,$e as Skeleton,et as Spinner,tt as SubNav,ot as Switch,st as Table,nt as TableAction,at as TableBody,it as TableCell,mt as TableHeader,rt as TableHeaderCell,lt as TableRow,ct as Tabs,ut as TabsContent,dt as TabsList,gt as TabsTrigger,pt as Text,ft as Textarea,Et as ThemeProvider,xt as Toast,bt as ToastAction,Pt as ToastProvider,Tt as ToastTitle,Dt as ToggleButton,vt as Tooltip,Ct as TooltipContent,Lt as TooltipProvider,At as TooltipRoot,It as TooltipTrigger,St as Transition,wt as TransitionGroup};
@@ -0,0 +1 @@
1
+ import{i as o}from"./register-_G2N7H5v.js";o("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._1jqkdoc, optiaxiom._12h7ywj;");