@optiaxiom/web-components 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/AlertContext-DhWZIaPM.js +1 -0
  2. package/dist/AlertDialogContext-DLkKVc_l.js +1 -0
  3. package/dist/AnimatePresence-vd3I8_Y-.js +1 -0
  4. package/dist/AvatarContext-CCjg4vVm.js +1 -0
  5. package/dist/Backdrop-DNdLZKMW.js +1 -0
  6. package/dist/Badge-C1D9iwUe.js +1 -0
  7. package/dist/BannerContext-D_qj30xG.js +1 -0
  8. package/dist/Box-DaxUZLp5.js +1 -0
  9. package/dist/Button-68y2HPu4.js +1 -0
  10. package/dist/Checkbox-DlTwFcsn.js +1 -0
  11. package/dist/Code-CHYI2hQM.js +1 -0
  12. package/dist/DialogContext-B-sc06nB.js +1 -0
  13. package/dist/DrawerContext-CPhz1O_0.js +1 -0
  14. package/dist/DropdownMenuContext-D1j5BLT5.js +1 -0
  15. package/dist/DropdownMenuSubContext-BJltvyt4.js +1 -0
  16. package/dist/FieldContext-BzcLDBZ1.js +1 -0
  17. package/dist/{Flex-CHAzO6y6.js → Flex-BpW4EMI7.js} +1 -1
  18. package/dist/{Heading-sq6tawfB.js → Heading-02Yg35Kd.js} +1 -1
  19. package/dist/{HoverCard-Bfxghle3.js → HoverCard-DfqVF2jK.js} +1 -1
  20. package/dist/HoverCardContent-DTJpXDOc.js +1 -0
  21. package/dist/{HoverCardContext-My_chvgO.js → HoverCardContext-B5aeXjOR.js} +1 -1
  22. package/dist/{HoverCardTrigger-DvqMLuzC.js → HoverCardTrigger-DVrimW-a.js} +1 -1
  23. package/dist/Icon-BH64IwdH.js +1 -0
  24. package/dist/IconAngleDown-DdyQPNqB.js +1 -0
  25. package/dist/IconAngleRight-CcSlqoOA.js +1 -0
  26. package/dist/{IconCircleInfoFilled-DZnZrJ39.js → IconCircleInfoFilled-DKK0rYG2.js} +1 -1
  27. package/dist/{IconEllipsis-BXV2o_ci.js → IconEllipsis-3fo-20Rm.js} +1 -1
  28. package/dist/{IconTriangleExclamationFilled-Bw_3zzBg.js → IconTriangleExclamationFilled-BC9wM3g6.js} +1 -1
  29. package/dist/{IconX-BPE4KHdJ.js → IconX-Hnm_1KBN.js} +1 -1
  30. package/dist/Input-Crb5Njsx.js +1 -0
  31. package/dist/{InputAddon-Ccc_iV2A.js → InputAddon-CYLBVUhV.js} +1 -1
  32. package/dist/InputContext-CMiVqkAS.js +1 -0
  33. package/dist/InputControl-D4WPR172.js +1 -0
  34. package/dist/InputControl.css.ts.vanilla-DUckf1rs-BdxvdI4h.js +1 -0
  35. package/dist/InputRoot-QcPymse1.js +1 -0
  36. package/dist/Link-BCh1vWrX.js +1 -0
  37. package/dist/{Listbox-BpPqvBID.js → Listbox-9zhI2Jlh.js} +1 -1
  38. package/dist/ListboxGroupContext-N0QU_Hfa.js +1 -0
  39. package/dist/ListboxItem-C74Qkdwp.js +1 -0
  40. package/dist/{ListboxItemIndicator-CGr7DAX1.js → ListboxItemIndicator-BG3wFjun.js} +1 -1
  41. package/dist/ListboxSeparator-_mhNGC6h.js +1 -0
  42. package/dist/MenuButton-CD6UsZno.js +1 -0
  43. package/dist/MenuListbox-C7zlp-o0.js +1 -0
  44. package/dist/{Paper-CM8Ig6o1.js → Paper-u1_b2CaW.js} +1 -1
  45. package/dist/PopoverContext-xEATMIZE.js +1 -0
  46. package/dist/RadioGroupContext-Pdwy2mbP.js +1 -0
  47. package/dist/Separator-vMi_Di7-.js +1 -0
  48. package/dist/SidenavContext-02eaMFC5.js +1 -0
  49. package/dist/SidenavItem-8mB7CKSi.js +1 -0
  50. package/dist/{Spinner-CajxyYlD.js → Spinner-BtXAJKyn.js} +1 -1
  51. package/dist/TableRow.css.ts.vanilla-P7xagxjh-BteSriER.js +1 -0
  52. package/dist/TabsContext-BgYdhaaS.js +1 -0
  53. package/dist/Text-DK4Vx-Fu.js +1 -0
  54. package/dist/{ThemeProvider-2XwVjia1.js → ThemeProvider-B5jpVKB6.js} +1 -1
  55. package/dist/Toast-EFMsH8I0.js +1 -0
  56. package/dist/{ToastAction-Dj5sBaMu.js → ToastAction-DykTDb5L.js} +1 -1
  57. package/dist/ToastProvider-Bmutj0MD.js +1 -0
  58. package/dist/{ToastTitle-CSkmtME2.js → ToastTitle-BqavDEYU.js} +1 -1
  59. package/dist/ToggleInputLabel-Dx28mY1B.js +1 -0
  60. package/dist/{Tooltip-Dh9xsOVn.js → Tooltip-BorYQ99k.js} +1 -1
  61. package/dist/{TooltipContent-Dze7qiiE.js → TooltipContent-LDHg3M01.js} +1 -1
  62. package/dist/TooltipContext-BtmP3fI9.js +1 -0
  63. package/dist/{TooltipRoot-BUG6FAUq.js → TooltipRoot-dSBaEkRh.js} +1 -1
  64. package/dist/{TooltipTrigger-DCEo0tb9.js → TooltipTrigger-7_1SHXUP.js} +1 -1
  65. package/dist/Transition-BrTQdSal.js +1 -0
  66. package/dist/components/Alert.js +1 -1
  67. package/dist/components/AlertDescription.js +1 -1
  68. package/dist/components/AlertDialog.js +1 -1
  69. package/dist/components/AlertDialogAction.js +1 -1
  70. package/dist/components/AlertDialogBody.js +1 -0
  71. package/dist/components/AlertDialogCancel.js +1 -1
  72. package/dist/components/AlertDialogContent.js +1 -1
  73. package/dist/components/AlertDialogFooter.js +1 -1
  74. package/dist/components/AlertDialogTitle.js +1 -1
  75. package/dist/components/AlertDialogTrigger.js +1 -1
  76. package/dist/components/AlertTitle.js +1 -1
  77. package/dist/components/AnimatePresence.js +1 -1
  78. package/dist/components/Avatar.js +1 -1
  79. package/dist/components/AvatarGroup.js +1 -1
  80. package/dist/components/AxiomProvider.js +1 -1
  81. package/dist/components/Badge.js +1 -1
  82. package/dist/components/Banner.js +1 -1
  83. package/dist/components/BannerDescription.js +1 -1
  84. package/dist/components/BannerTitle.js +1 -1
  85. package/dist/components/Box.js +1 -1
  86. package/dist/components/Button.js +1 -1
  87. package/dist/components/ButtonGroup.js +1 -1
  88. package/dist/components/Checkbox.js +1 -1
  89. package/dist/components/Code.js +1 -1
  90. package/dist/components/Dialog.js +1 -1
  91. package/dist/components/DialogActions.js +1 -0
  92. package/dist/components/DialogBody.js +1 -1
  93. package/dist/components/DialogClose.js +1 -1
  94. package/dist/components/DialogContent.js +1 -1
  95. package/dist/components/DialogDescription.js +1 -1
  96. package/dist/components/DialogFooter.js +1 -1
  97. package/dist/components/DialogHeader.js +1 -0
  98. package/dist/components/DialogTitle.js +1 -1
  99. package/dist/components/DialogTrigger.js +1 -1
  100. package/dist/components/Disclosure.js +1 -1
  101. package/dist/components/DisclosureContent.js +1 -1
  102. package/dist/components/DisclosureTrigger.js +1 -1
  103. package/dist/components/Drawer.js +1 -1
  104. package/dist/components/DrawerActions.js +1 -0
  105. package/dist/components/DrawerBody.js +1 -1
  106. package/dist/components/DrawerClose.js +1 -0
  107. package/dist/components/DrawerContent.js +1 -0
  108. package/dist/components/DrawerDescription.js +1 -0
  109. package/dist/components/DrawerFooter.js +1 -1
  110. package/dist/components/DrawerHeader.js +1 -0
  111. package/dist/components/DrawerTitle.js +1 -1
  112. package/dist/components/DrawerTrigger.js +1 -0
  113. package/dist/components/DropdownMenu.js +1 -1
  114. package/dist/components/DropdownMenuContent.js +1 -1
  115. package/dist/components/DropdownMenuGroup.js +1 -1
  116. package/dist/components/DropdownMenuItem.js +1 -1
  117. package/dist/components/DropdownMenuLabel.js +1 -1
  118. package/dist/components/DropdownMenuSeparator.js +1 -1
  119. package/dist/components/DropdownMenuSub.js +1 -1
  120. package/dist/components/DropdownMenuSubContent.js +1 -1
  121. package/dist/components/DropdownMenuTrigger.js +1 -1
  122. package/dist/components/Field.js +1 -1
  123. package/dist/components/Flex.js +1 -1
  124. package/dist/components/Grid.js +1 -1
  125. package/dist/components/Heading.js +1 -1
  126. package/dist/components/HoverCard.js +1 -1
  127. package/dist/components/HoverCardContent.js +1 -1
  128. package/dist/components/HoverCardTrigger.js +1 -1
  129. package/dist/components/Indicator.js +1 -1
  130. package/dist/components/Input.js +1 -1
  131. package/dist/components/InputAddon.js +1 -1
  132. package/dist/components/InputControl.js +1 -1
  133. package/dist/components/InputRoot.js +1 -1
  134. package/dist/components/Kbd.js +1 -1
  135. package/dist/components/Link.js +1 -1
  136. package/dist/components/Listbox.js +1 -1
  137. package/dist/components/ListboxCheckboxItem.js +1 -1
  138. package/dist/components/ListboxEmpty.js +1 -1
  139. package/dist/components/ListboxFooter.js +1 -1
  140. package/dist/components/ListboxGroup.js +1 -1
  141. package/dist/components/ListboxItem.js +1 -1
  142. package/dist/components/ListboxItemIndicator.js +1 -1
  143. package/dist/components/ListboxLabel.js +1 -1
  144. package/dist/components/ListboxRadioItem.js +1 -1
  145. package/dist/components/ListboxScrollArea.js +1 -1
  146. package/dist/components/ListboxSeparator.js +1 -1
  147. package/dist/components/MenuButton.js +1 -1
  148. package/dist/components/Pagination.js +1 -1
  149. package/dist/components/Paper.js +1 -1
  150. package/dist/components/Popover.js +1 -1
  151. package/dist/components/PopoverAnchor.js +1 -1
  152. package/dist/components/PopoverContent.js +1 -1
  153. package/dist/components/PopoverTrigger.js +1 -1
  154. package/dist/components/Progress.js +1 -1
  155. package/dist/components/Radio.js +1 -1
  156. package/dist/components/RadioGroup.js +1 -1
  157. package/dist/components/SearchInput.js +1 -1
  158. package/dist/components/SegmentedControl.js +1 -1
  159. package/dist/components/SegmentedControlItem.js +1 -1
  160. package/dist/components/Separator.js +1 -1
  161. package/dist/components/Sidenav.js +1 -1
  162. package/dist/components/SidenavAccountItem.js +1 -1
  163. package/dist/components/SidenavBody.js +1 -0
  164. package/dist/components/SidenavFooter.js +1 -1
  165. package/dist/components/SidenavHeader.js +1 -1
  166. package/dist/components/SidenavItem.js +1 -1
  167. package/dist/components/SidenavToggle.js +1 -1
  168. package/dist/components/Skeleton.js +1 -1
  169. package/dist/components/Spinner.js +1 -1
  170. package/dist/components/Switch.js +1 -1
  171. package/dist/components/Tabs.js +1 -1
  172. package/dist/components/TabsContent.js +1 -1
  173. package/dist/components/TabsList.js +1 -1
  174. package/dist/components/TabsTrigger.js +1 -1
  175. package/dist/components/Text.js +1 -1
  176. package/dist/components/Textarea.js +1 -1
  177. package/dist/components/ThemeProvider.js +1 -1
  178. package/dist/components/Toast.js +1 -1
  179. package/dist/components/ToastAction.js +1 -1
  180. package/dist/components/ToastProvider.js +1 -1
  181. package/dist/components/ToastTitle.js +1 -1
  182. package/dist/components/ToggleButton.js +1 -1
  183. package/dist/components/Tooltip.js +1 -1
  184. package/dist/components/TooltipContent.js +1 -1
  185. package/dist/components/TooltipRoot.js +1 -1
  186. package/dist/components/TooltipTrigger.js +1 -1
  187. package/dist/components/Transition.js +1 -1
  188. package/dist/{fallbackSpan-CdG0wH8X.js → fallbackSpan-DVup-tFk.js} +1 -1
  189. package/dist/index-ABhB32ln.js +1 -0
  190. package/dist/{index-ClhqqHWC.js → index-B7d0MfEw.js} +1 -1
  191. package/dist/{index-CVBoyyBx.js → index-BP4yOa1u.js} +1 -1
  192. package/dist/{index-RSrJSLoz.js → index-BhlH29a3.js} +1 -1
  193. package/dist/{index-1iI3TOtB.js → index-Bnv9jIx8.js} +1 -1
  194. package/dist/{index-Buay2JTZ.js → index-BxBhxV94.js} +1 -1
  195. package/dist/{index-CAyglrW-.js → index-C-o5WXQN.js} +1 -1
  196. package/dist/{index-BohaoAUY.js → index-CDcP5kmt.js} +1 -1
  197. package/dist/{index-DdtgJxXU.js → index-CHGmlYMg.js} +1 -1
  198. package/dist/{index-DNRTV0EN.js → index-CZIa9wzr.js} +1 -1
  199. package/dist/{index-d_7Hs2aD.js → index-Cd_CIe_T.js} +1 -1
  200. package/dist/{index-m1kyMXV0.js → index-CqjjrFPH.js} +1 -1
  201. package/dist/{index-OK__4AGz.js → index-CrMdL8sR.js} +1 -1
  202. package/dist/{index-B2lWk2KZ.js → index-D0hSuO0T.js} +1 -1
  203. package/dist/{index-CUO4XsXW.js → index-DH1jCK6y.js} +1 -1
  204. package/dist/{index-C4wO1n7Y.js → index-DHZ_K2vK.js} +1 -1
  205. package/dist/{index-BkW4eOVe.js → index-DM2tJZgB.js} +1 -1
  206. package/dist/{index-BioyUAnl.js → index-DUOD9OhH.js} +1 -1
  207. package/dist/{index-BUIs5h6B.js → index-DfB3g1nR.js} +1 -1
  208. package/dist/{index-DGy4lgk0.js → index-DnT_atBN.js} +1 -1
  209. package/dist/{index-BOMwzs_3.js → index-Doc_Se2y.js} +1 -1
  210. package/dist/index-E-cLNQxv.js +1 -0
  211. package/dist/{index-DwPE6sO7.js → index-nLSBuWO5.js} +1 -1
  212. package/dist/{index-CkBuzFf5.js → index-psmSVTVB.js} +1 -1
  213. package/dist/{index-cfSDtW9u.js → index-sDr4W4PL.js} +1 -1
  214. package/dist/index.js +1 -1
  215. package/dist/mapping-cxkgj24R.js +1 -0
  216. package/dist/{reach-auto-id-CNVkubzR.js → reach-auto-id-BEeSZ1FP.js} +1 -1
  217. package/dist/recipeRuntime-DLB-P7Tw.js +1 -0
  218. package/dist/{register-D6Vxol1Z.js → register-BOOKBziY.js} +2 -2
  219. package/dist/{withIcon-C2Q1yo7B.js → withIcon-DMeWL4_A.js} +1 -1
  220. package/package.json +14 -6
  221. package/dist/AlertContext-BK_X6HQs.js +0 -1
  222. package/dist/AlertDialogContext-CsX253-9.js +0 -1
  223. package/dist/AnimatePresence-CemHQroa.js +0 -9
  224. package/dist/AvatarContext-EMf_0nQP.js +0 -1
  225. package/dist/Backdrop-28nu21HQ.js +0 -1
  226. package/dist/Badge-g7jQrhqT.js +0 -1
  227. package/dist/BannerContext-DWV3cAup.js +0 -1
  228. package/dist/Box-6G6yFXf5.js +0 -1
  229. package/dist/Button-CqFgGcXq.js +0 -1
  230. package/dist/Checkbox-0db4U_XL.js +0 -1
  231. package/dist/Code-CtPMgNhi.js +0 -1
  232. package/dist/DialogContext-hujI-XyH.js +0 -1
  233. package/dist/DropdownMenuContext-y57c1DGt.js +0 -1
  234. package/dist/DropdownMenuSubContext-CaTpR1FY.js +0 -1
  235. package/dist/FieldContext-BO5LFVAu.js +0 -1
  236. package/dist/HoverCardContent-BnStiI5z.js +0 -1
  237. package/dist/Icon-C2LMPzmq.js +0 -1
  238. package/dist/IconAngleDown-DtbiLfqM.js +0 -1
  239. package/dist/IconAngleRight-ByNmM98Q.js +0 -1
  240. package/dist/Input-z0zx_A_E.js +0 -1
  241. package/dist/InputContext-BsYm26aT.js +0 -1
  242. package/dist/InputControl-B07qUuTd.js +0 -1
  243. package/dist/InputControl.css.ts.vanilla-DZ_MpokI-DGwM2kAw.js +0 -1
  244. package/dist/InputRoot-CgIAFN16.js +0 -1
  245. package/dist/Link-zsFDiY97.js +0 -1
  246. package/dist/ListboxGroupContext-CFfhuZlZ.js +0 -1
  247. package/dist/ListboxItem-BVBH8GgG.js +0 -1
  248. package/dist/ListboxSeparator-CQcI5z-C.js +0 -1
  249. package/dist/MenuButton-CunYVL4M.js +0 -1
  250. package/dist/MenuListbox-ClOXIzjD.js +0 -1
  251. package/dist/PopoverContext-c2bWaHu_.js +0 -1
  252. package/dist/RadioGroupContext-XuhE1Hzo.js +0 -1
  253. package/dist/Separator-CFuO7a2Y.js +0 -1
  254. package/dist/SidenavContext-CcrvHFb8.js +0 -1
  255. package/dist/SidenavItem--0w-bkAC.js +0 -1
  256. package/dist/TableRow.css.ts.vanilla-Bkhiic0p-DIeDAfRG.js +0 -1
  257. package/dist/TabsContext-DTo9Gn2f.js +0 -1
  258. package/dist/Text-vi2sJOzS.js +0 -1
  259. package/dist/Toast-DcN1eYsw.js +0 -1
  260. package/dist/ToastProvider-DarXxANd.js +0 -1
  261. package/dist/ToggleInputLabel-CobK7_01.js +0 -1
  262. package/dist/TooltipContext-CDrBDATv.js +0 -1
  263. package/dist/Transition-qxYvD-WH.js +0 -1
  264. package/dist/components/AlertDialogDescription.js +0 -1
  265. package/dist/components/SidenavContent.js +0 -1
  266. package/dist/index-DR2DySdb.js +0 -1
  267. package/dist/index-DVJhy3iS.js +0 -1
  268. package/dist/mapping-D3YirTnK.js +0 -1
  269. package/dist/recipeRuntime-pELPRZZN.js +0 -1
@@ -1 +1 @@
1
- import{h as Y,q as yt,A as J,e as Ae,T as lt,a as Pe,y as Wt,w as at,u as j}from"./register-D6Vxol1Z.js";import{P as vt}from"./index-DNRTV0EN.js";import{u as zt}from"./index-BioyUAnl.js";import{c as Oe}from"./index-B2lWk2KZ.js";import{u as Re}from"./index-C4wO1n7Y.js";import{u as bt}from"./index-DR2DySdb.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,ft=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Se={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function At(t,e,n){return N(t,U(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Rt(t){return Pt(Z(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Rt(t),r=Ot(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Te(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Ee[e])}function Le(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Me(t,e,n,o){const i=Q(t);let r=Le(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Se[e])}function $e(t){return{top:0,right:0,bottom:0,left:0,...t}}function _t(t){return typeof t!="number"?$e(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Rt(e),c=Ot(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const ke=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:f,y:u}=Bt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},v=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.right-g.right+p.right)/y.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=_t(f),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],v=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=P?P[b]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[b]||r.floating[p]);const D=y/2-v/2,k=R/2-m[p]/2-1,T=U(u[g],k),M=U(u[x],k),$=T,C=R-m[p]-M,O=R/2-m[p]/2+D,H=At($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),Fe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),x=Z(c),b=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=h||(b||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&v.push(...Me(c,m,p,y));const R=[c,...v],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&k.push(D[g]),u){const O=De(i,s,y);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=R[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(P){const L=Z(A.placement);return L===x||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(t){return Ce.some(e=>t[e]>=0)}const He=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(s)}}}default:return{}}}}};async function We(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=Z(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const ze=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await We(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},_e=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=Z(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=At(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=At(x,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Be=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=Z(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",y=r.reference[h]-r.floating[b]+w.mainAxis,v=r.reference[h]+r.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=h==="y"?"width":"height",y=["top","left"].includes(q(i)),v=r.reference[u]-r.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ve=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=Z(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const x=m-f.top-f.bottom,b=p-f.left-f.right,y=U(m-f[w],x),v=U(p-f[g],b),P=!e.middlewareData.shift;let R=y,D=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(f.left,0),M=N(f.right,0),$=N(f.top,0),C=N(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(f.left,f.right)):R=m-2*($!==0||C!==0?$+C:N(f.top,f.bottom))}await l({...e,availableWidth:D,availableHeight:R});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ie(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ye(t){let e=K(t);for(;I(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return F(t).getComputedStyle(t)}function gt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=F(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qt(t){const e=z(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ft(n)!==r||ft(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?ft(n.width):n.width)/o,c=(r?ft(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const je=B(0);function Ut(t){const e=F(t);return!Et()||!e.visualViewport?je:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=Xe(r,n,o)?Ut(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=F(r),d=o&&W(o)?F(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),x=z(m),b=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=F(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function qe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?mt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),o=t.ownerDocument.body,i=N(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=N(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=N(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ke(t,e){const n=F(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Et();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Ge(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Kt(t,e,n){let o;if(e==="viewport")o=Ke(t,n);else if(e==="document")o=Ze(V(t));else if(W(e))o=Ge(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Je(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function Qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?mt(e)?[]:Je(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Kt(e,f,i);return a.top=N(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=N(u.left,a.left),a},Kt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tn(t){const{width:e,height:n}=qt(t);return{width:e,height:n}}function en(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=F(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ie(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||Ye(t)||n}const nn=async function(t){const e=this.getOffsetParent||Qt,n=this.getDimensions,o=await n(t.floating);return{reference:en(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function on(t){return z(t).direction==="rtl"}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:qe,getDocumentElement:V,getClippingRect:Qe,getOffsetParent:Qt,getElementRects:nn,getClientRects:Ue,getDimensions:tn,getScale:nt,isElement:W,isRTL:on};function sn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:a,top:f,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(f),p=ut(i.clientWidth-(a+u)),m=ut(i.clientHeight-(f+h)),w=ut(a),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let b=!0;function y(v){const P=v[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(y,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(t)}return s(!0),r}function cn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Tt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?sn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ln=ze,an=_e,fn=Fe,un=Ve,dn=He,te=Ne,pn=Be,hn=(t,e,n)=>{const o=new Map,i={platform:rn,...n},r={...i.platform,_c:o};return ke(t,e,{...i,platform:r})};var wt=typeof document<"u"?Pe:Wt;function xt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!xt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ee(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ne(t,e){const n=ee(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{e.current=t}),e}function mn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),x=yt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=yt(A=>{A!==R.current&&(R.current=A,g(A))},[]),y=r||p,v=s||w,P=J(null),R=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!P.current||!R.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),hn(P.current,R.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Ae(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),v&&(R.current=v),y&&v){if(T.current)return T.current(y,v,C);C()}},[y,v,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:b}),[x,b]),S=lt(()=>({reference:y,floating:v}),[y,v]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=ne(S.floating,f.x),_=ne(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,C,H,S,E])}const gn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?te({element:o.current,padding:i}).fn(n):{}:o?te({element:o,padding:i}).fn(n):{}}}},wn=(t,e)=>({...ln(t),options:[t,e]}),xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=On;var Rn=oe;function Cn(t){const[e,n]=Y(void 0);return bt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var kt="Popper",[ie,Sn]=Oe(kt),[En,re]=ie(kt),se=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(En,{scope:e,anchor:o,onAnchorChange:i,children:n})};se.displayName=kt;var ce="PopperAnchor",le=at((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=re(ce,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(vt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),ae=at((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),b=zt(e,ot=>x(ot)),[y,v]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=mn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>cn(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[wn({mainAxis:i+D,alignmentAxis:s}),l&&xn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?yn():void 0,...C}),l&&vn({...C}),bn({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:ve,height:be}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${xe}px`),ct.setProperty("--radix-popper-available-height",`${ye}px`),ct.setProperty("--radix-popper-anchor-width",`${ve}px`),ct.setProperty("--radix-popper-anchor-height",`${be}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&An({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);bt(()=>{E&&Ft?.()},[E,Ft]);const pe=A.arrow?.x,he=A.arrow?.y,me=A.arrow?.centerOffset!==0,[ge,we]=Y();return bt(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:v,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:b,style:{...m.style,animation:E?void 0:"none"}})})})});ae.displayName=Nt;var fe="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=at(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(fe,o),s=Ln[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Rn,{...i,ref:n,style:{...i.style,display:"block"}})})});ue.displayName=fe;function Mn(t){return t!==null}var $n=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=de(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function de(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Nn=le,Fn=ae,Hn=ue;export{Nn as A,Fn as C,kn as R,Hn as a,Sn as c};
1
+ import{h as Y,q as yt,A as J,e as Ae,T as lt,a as Pe,y as Wt,w as at,u as j}from"./register-BOOKBziY.js";import{P as vt}from"./index-CZIa9wzr.js";import{u as zt}from"./index-DUOD9OhH.js";import{c as Oe}from"./index-D0hSuO0T.js";import{u as Re}from"./index-DHZ_K2vK.js";import{u as bt}from"./index-E-cLNQxv.js";const Ce=["top","right","bottom","left"],U=Math.min,N=Math.max,ft=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Se={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function At(t,e,n){return N(t,U(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Rt(t){return Pt(Z(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Rt(t),r=Ot(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Te(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Ee[e])}function Le(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Me(t,e,n,o){const i=Q(t);let r=Le(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Se[e])}function $e(t){return{top:0,right:0,bottom:0,left:0,...t}}function _t(t){return typeof t!="number"?$e(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Rt(e),c=Ot(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const ke=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(h=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:f,y:u}=Bt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},v=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.right-g.right+p.right)/y.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=_t(f),h={x:n,y:o},d=Rt(i),p=Ot(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-h[d]-r.floating[p],v=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=P?P[b]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=c.floating[b]||r.floating[p]);const D=y/2-v/2,k=R/2-m[p]/2-1,T=U(u[g],k),M=U(u[x],k),$=T,C=R-m[p]-M,O=R/2-m[p]/2+D,H=At($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),Fe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),x=Z(c),b=q(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=h||(b||!m?[dt(c)]:Te(c)),P=p!=="none";!h&&P&&v.push(...Me(c,m,p,y));const R=[c,...v],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&k.push(D[g]),u){const O=De(i,s,y);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=R[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(P){const L=Z(A.placement);return L===x||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(t){return Ce.some(e=>t[e]>=0)}const He=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(s)}}}default:return{}}}}};async function We(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=Z(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const ze=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await We(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},_e=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=Z(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=At(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=At(x,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Be=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=Z(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",y=r.reference[h]-r.floating[b]+w.mainAxis,v=r.reference[h]+r.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=h==="y"?"width":"height",y=["top","left"].includes(q(i)),v=r.reference[u]-r.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ve=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=Z(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const x=m-f.top-f.bottom,b=p-f.left-f.right,y=U(m-f[w],x),v=U(p-f[g],b),P=!e.middlewareData.shift;let R=y,D=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),P&&!h){const T=N(f.left,0),M=N(f.right,0),$=N(f.top,0),C=N(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:N(f.left,f.right)):R=m-2*($!==0||C!==0?$+C:N(f.top,f.bottom))}await l({...e,availableWidth:D,availableHeight:R});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof F(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof F(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ie(t){return["table","td","th"].includes(tt(t))}function mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ye(t){let e=K(t);for(;I(e)&&!et(e);){if(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return F(t).getComputedStyle(t)}function gt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=F(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qt(t){const e=z(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ft(n)!==r||ft(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?ft(n.width):n.width)/o,c=(r?ft(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const je=B(0);function Ut(t){const e=F(t);return!Et()||!e.visualViewport?je:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=Xe(r,n,o)?Ut(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=F(r),d=o&&W(o)?F(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),x=z(m),b=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=F(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function qe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?mt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ue(t){return Array.from(t.getClientRects())}function Ze(t){const e=V(t),n=gt(t),o=t.ownerDocument.body,i=N(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=N(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=N(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ke(t,e){const n=F(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Et();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Ge(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Kt(t,e,n){let o;if(e==="viewport")o=Ke(t,n);else if(e==="document")o=Ze(V(t));else if(W(e))o=Ge(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Je(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function Qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?mt(e)?[]:Je(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Kt(e,f,i);return a.top=N(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=N(u.left,a.left),a},Kt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tn(t){const{width:e,height:n}=qt(t);return{width:e,height:n}}function en(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=F(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ie(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||Ye(t)||n}const nn=async function(t){const e=this.getOffsetParent||Qt,n=this.getDimensions,o=await n(t.floating);return{reference:en(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function on(t){return z(t).direction==="rtl"}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:qe,getDocumentElement:V,getClippingRect:Qe,getOffsetParent:Qt,getElementRects:nn,getClientRects:Ue,getDimensions:tn,getScale:nt,isElement:W,isRTL:on};function sn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:a,top:f,width:u,height:h}=t.getBoundingClientRect();if(c||e(),!u||!h)return;const d=ut(f),p=ut(i.clientWidth-(a+u)),m=ut(i.clientHeight-(f+h)),w=ut(a),x={rootMargin:-d+"px "+-p+"px "+-m+"px "+-w+"px",threshold:N(0,U(1,l))||1};let b=!0;function y(v){const P=v[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(y,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(t)}return s(!0),r}function cn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Tt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?sn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const ln=ze,an=_e,fn=Fe,un=Ve,dn=He,te=Ne,pn=Be,hn=(t,e,n)=>{const o=new Map,i={platform:rn,...n},r={...i.platform,_c:o};return ke(t,e,{...i,platform:r})};var wt=typeof document<"u"?Pe:Wt;function xt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!xt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ee(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ne(t,e){const n=ee(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{e.current=t}),e}function mn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),x=yt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=yt(A=>{A!==R.current&&(R.current=A,g(A))},[]),y=r||p,v=s||w,P=J(null),R=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!P.current||!R.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),hn(P.current,R.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Ae(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(y&&(P.current=y),v&&(R.current=v),y&&v){if(T.current)return T.current(y,v,C);C()}},[y,v,C,T,k]);const H=lt(()=>({reference:P,floating:R,setReference:x,setFloating:b}),[x,b]),S=lt(()=>({reference:y,floating:v}),[y,v]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=ne(S.floating,f.x),_=ne(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ee(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,C,H,S,E])}const gn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?te({element:o.current,padding:i}).fn(n):{}:o?te({element:o,padding:i}).fn(n):{}}}},wn=(t,e)=>({...ln(t),options:[t,e]}),xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...pn(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),Pn=(t,e)=>({...gn(t),options:[t,e]});var On="Arrow",oe=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});oe.displayName=On;var Rn=oe;function Cn(t){const[e,n]=Y(void 0);return bt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var kt="Popper",[ie,Sn]=Oe(kt),[En,re]=ie(kt),se=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(En,{scope:e,anchor:o,onAnchorChange:i,children:n})};se.displayName=kt;var ce="PopperAnchor",le=at((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=re(ce,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(vt.div,{...i,ref:c})});le.displayName=ce;var Nt="PopperContent",[Dn,Tn]=ie(Nt),ae=at((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=re(Nt,n),[g,x]=Y(null),b=zt(e,ot=>x(ot)),[y,v]=Y(null),P=Cn(y),R=P?.width??0,D=P?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter(Mn),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=mn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>cn(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[wn({mainAxis:i+D,alignmentAxis:s}),l&&xn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?yn():void 0,...C}),l&&vn({...C}),bn({...C,apply:({elements:ot,rects:Ht,availableWidth:xe,availableHeight:ye})=>{const{width:ve,height:be}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${xe}px`),ct.setProperty("--radix-popper-available-height",`${ye}px`),ct.setProperty("--radix-popper-anchor-width",`${ve}px`),ct.setProperty("--radix-popper-anchor-height",`${be}px`)}}),y&&Pn({element:y,padding:c}),$n({arrowWidth:R,arrowHeight:D}),h&&An({strategy:"referenceHidden",...C})]}),[L,_]=de(S),Ft=Re(p);bt(()=>{E&&Ft?.()},[E,Ft]);const pe=A.arrow?.x,he=A.arrow?.y,me=A.arrow?.centerOffset!==0,[ge,we]=Y();return bt(()=>{g&&we(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:L,onArrowChange:v,arrowX:pe,arrowY:he,shouldHideArrow:me,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:b,style:{...m.style,animation:E?void 0:"none"}})})})});ae.displayName=Nt;var fe="PopperArrow",Ln={top:"bottom",right:"left",bottom:"top",left:"right"},ue=at(function(e,n){const{__scopePopper:o,...i}=e,r=Tn(fe,o),s=Ln[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Rn,{...i,ref:n,style:{...i.style,display:"block"}})})});ue.displayName=fe;function Mn(t){return t!==null}var $n=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=de(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function de(t){const[e,n="center"]=t.split("-");return[e,n]}var kn=se,Nn=le,Fn=ae,Hn=ue;export{Nn as A,Fn as C,kn as R,Hn as a,Sn as c};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{m as i}from"./mapping-D3YirTnK.js";for(const[t,s]of Object.entries(i))customElements.get(t)||customElements.define(t,class extends HTMLElement{#i=!1;#t=!1;#s;#e;constructor(){super(),this.#e=import(`./components/${s}.js`).then(e=>{this.#s=e.default(this)})}connectedCallback(){this.#t||(this.style.visibility="hidden",this.#e.then(()=>{this.#t||(this.style.visibility="",this.#s?.connectedCallback(),this.#i=!0,this.classList.add("hydrated"))}))}disconnectedCallback(){if(!this.#i){this.#t=!0;return}this.#e.then(()=>{this.#s?.disconnectedCallback()})}});
1
+ import{m as i}from"./mapping-cxkgj24R.js";for(const[t,s]of Object.entries(i))customElements.get(t)||customElements.define(t,class extends HTMLElement{#i=!1;#t=!1;#s;#e;constructor(){super(),this.#e=import(`./components/${s}.js`).then(e=>{this.#s=e.default(this)})}connectedCallback(){this.#t||(this.style.visibility="hidden",this.#e.then(()=>{this.#t||(this.style.visibility="",this.#s?.connectedCallback(),this.#i=!0,this.classList.add("hydrated"))}))}disconnectedCallback(){if(!this.#i){this.#t=!0;return}this.#e.then(()=>{this.#s?.disconnectedCallback()})}});
@@ -0,0 +1 @@
1
+ var s={".":"./dist/index.js","./Alert":"./dist/components/Alert.js","./AlertDescription":"./dist/components/AlertDescription.js","./AlertDialog":"./dist/components/AlertDialog.js","./AlertDialogAction":"./dist/components/AlertDialogAction.js","./AlertDialogBody":"./dist/components/AlertDialogBody.js","./AlertDialogCancel":"./dist/components/AlertDialogCancel.js","./AlertDialogContent":"./dist/components/AlertDialogContent.js","./AlertDialogFooter":"./dist/components/AlertDialogFooter.js","./AlertDialogTitle":"./dist/components/AlertDialogTitle.js","./AlertDialogTrigger":"./dist/components/AlertDialogTrigger.js","./AlertTitle":"./dist/components/AlertTitle.js","./AnimatePresence":"./dist/components/AnimatePresence.js","./Avatar":"./dist/components/Avatar.js","./AvatarGroup":"./dist/components/AvatarGroup.js","./AxiomProvider":"./dist/components/AxiomProvider.js","./Badge":"./dist/components/Badge.js","./Banner":"./dist/components/Banner.js","./BannerDescription":"./dist/components/BannerDescription.js","./BannerTitle":"./dist/components/BannerTitle.js","./Box":"./dist/components/Box.js","./Button":"./dist/components/Button.js","./ButtonGroup":"./dist/components/ButtonGroup.js","./Checkbox":"./dist/components/Checkbox.js","./Code":"./dist/components/Code.js","./Dialog":"./dist/components/Dialog.js","./DialogActions":"./dist/components/DialogActions.js","./DialogBody":"./dist/components/DialogBody.js","./DialogClose":"./dist/components/DialogClose.js","./DialogContent":"./dist/components/DialogContent.js","./DialogDescription":"./dist/components/DialogDescription.js","./DialogFooter":"./dist/components/DialogFooter.js","./DialogHeader":"./dist/components/DialogHeader.js","./DialogTitle":"./dist/components/DialogTitle.js","./DialogTrigger":"./dist/components/DialogTrigger.js","./Disclosure":"./dist/components/Disclosure.js","./DisclosureContent":"./dist/components/DisclosureContent.js","./DisclosureTrigger":"./dist/components/DisclosureTrigger.js","./Drawer":"./dist/components/Drawer.js","./DrawerActions":"./dist/components/DrawerActions.js","./DrawerBody":"./dist/components/DrawerBody.js","./DrawerClose":"./dist/components/DrawerClose.js","./DrawerContent":"./dist/components/DrawerContent.js","./DrawerDescription":"./dist/components/DrawerDescription.js","./DrawerFooter":"./dist/components/DrawerFooter.js","./DrawerHeader":"./dist/components/DrawerHeader.js","./DrawerTitle":"./dist/components/DrawerTitle.js","./DrawerTrigger":"./dist/components/DrawerTrigger.js","./DropdownMenu":"./dist/components/DropdownMenu.js","./DropdownMenuContent":"./dist/components/DropdownMenuContent.js","./DropdownMenuGroup":"./dist/components/DropdownMenuGroup.js","./DropdownMenuItem":"./dist/components/DropdownMenuItem.js","./DropdownMenuLabel":"./dist/components/DropdownMenuLabel.js","./DropdownMenuSeparator":"./dist/components/DropdownMenuSeparator.js","./DropdownMenuSub":"./dist/components/DropdownMenuSub.js","./DropdownMenuSubContent":"./dist/components/DropdownMenuSubContent.js","./DropdownMenuSubTrigger":"./dist/components/DropdownMenuTrigger.js","./DropdownMenuTrigger":"./dist/components/DropdownMenuTrigger.js","./Field":"./dist/components/Field.js","./Flex":"./dist/components/Flex.js","./Grid":"./dist/components/Grid.js","./Heading":"./dist/components/Heading.js","./HoverCard":"./dist/components/HoverCard.js","./HoverCardContent":"./dist/components/HoverCardContent.js","./HoverCardTrigger":"./dist/components/HoverCardTrigger.js","./Indicator":"./dist/components/Indicator.js","./Input":"./dist/components/Input.js","./InputAddon":"./dist/components/InputAddon.js","./InputControl":"./dist/components/InputControl.js","./InputRoot":"./dist/components/InputRoot.js","./Kbd":"./dist/components/Kbd.js","./Link":"./dist/components/Link.js","./Listbox":"./dist/components/Listbox.js","./ListboxCheckboxItem":"./dist/components/ListboxCheckboxItem.js","./ListboxEmpty":"./dist/components/ListboxEmpty.js","./ListboxFooter":"./dist/components/ListboxFooter.js","./ListboxGroup":"./dist/components/ListboxGroup.js","./ListboxItem":"./dist/components/ListboxItem.js","./ListboxItemIndicator":"./dist/components/ListboxItemIndicator.js","./ListboxLabel":"./dist/components/ListboxLabel.js","./ListboxRadioItem":"./dist/components/ListboxRadioItem.js","./ListboxScrollArea":"./dist/components/ListboxScrollArea.js","./ListboxSeparator":"./dist/components/ListboxSeparator.js","./MenuButton":"./dist/components/MenuButton.js","./Pagination":"./dist/components/Pagination.js","./Paper":"./dist/components/Paper.js","./Popover":"./dist/components/Popover.js","./PopoverAnchor":"./dist/components/PopoverAnchor.js","./PopoverContent":"./dist/components/PopoverContent.js","./PopoverTrigger":"./dist/components/PopoverTrigger.js","./Progress":"./dist/components/Progress.js","./Radio":"./dist/components/Radio.js","./RadioGroup":"./dist/components/RadioGroup.js","./SearchInput":"./dist/components/SearchInput.js","./SegmentedControl":"./dist/components/SegmentedControl.js","./SegmentedControlItem":"./dist/components/SegmentedControlItem.js","./Separator":"./dist/components/Separator.js","./Sidenav":"./dist/components/Sidenav.js","./SidenavAccountItem":"./dist/components/SidenavAccountItem.js","./SidenavBody":"./dist/components/SidenavBody.js","./SidenavFooter":"./dist/components/SidenavFooter.js","./SidenavHeader":"./dist/components/SidenavHeader.js","./SidenavItem":"./dist/components/SidenavItem.js","./SidenavToggle":"./dist/components/SidenavToggle.js","./Skeleton":"./dist/components/Skeleton.js","./Spinner":"./dist/components/Spinner.js","./Switch":"./dist/components/Switch.js","./Tabs":"./dist/components/Tabs.js","./TabsContent":"./dist/components/TabsContent.js","./TabsList":"./dist/components/TabsList.js","./TabsTrigger":"./dist/components/TabsTrigger.js","./Text":"./dist/components/Text.js","./Textarea":"./dist/components/Textarea.js","./ThemeProvider":"./dist/components/ThemeProvider.js","./Toast":"./dist/components/Toast.js","./ToastAction":"./dist/components/ToastAction.js","./ToastProvider":"./dist/components/ToastProvider.js","./ToastTitle":"./dist/components/ToastTitle.js","./ToggleButton":"./dist/components/ToggleButton.js","./Tooltip":"./dist/components/Tooltip.js","./TooltipContent":"./dist/components/TooltipContent.js","./TooltipRoot":"./dist/components/TooltipRoot.js","./TooltipTrigger":"./dist/components/TooltipTrigger.js","./Transition":"./dist/components/Transition.js"};const n=Object.keys(s).filter(o=>o!==".").map(o=>["ax"+o.slice(2).replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),o.slice(2)]),e=Object.fromEntries(n);export{e as m};
@@ -1,4 +1,4 @@
1
- import{a as d,y as r,h as s,c}from"./register-D6Vxol1Z.js";/**
1
+ import{a as d,y as r,h as s,c}from"./register-BOOKBziY.js";/**
2
2
  * @reach/utils v0.18.0
3
3
  *
4
4
  * Copyright (c) 2018-2022, React Training LLC
@@ -0,0 +1 @@
1
+ import{i as u}from"./register-BOOKBziY.js";u("@layer optiaxiom, optiaxiom.base, optiaxiom._45e95h, optiaxiom._1mjfn1x;");const y=({base:n={},variants:r,variantsCompounded:e=[]})=>(p,f)=>{const i=p??{},c=f?[f]:[],l={};function a(o){for(const t of Array.isArray(o)?o:[o])if(typeof t=="string")c.push(t);else for(const[s,m]of Object.entries(t))l[s]=m}a(n);for(const o in r){if(i[o]===null||i[o]===void 0)continue;const t=r[o],s=typeof i[o]=="boolean"?i[o]?"true":"false":i[o];String(s)in t&&a(t[s])}for(const{style:o,variants:t}of e)x(t,i)&&a(o);return{...l,className:c.join(" ")}},x=(n,r)=>{for(const e of Object.keys(n))if(n[e]!==r[e])return!1;return!0};export{y};
@@ -1,6 +1,6 @@
1
- import{m as Ft}from"./mapping-D3YirTnK.js";var W,p,Me,T,Oe,Ae,ae,ce,se,fe,Fe,V={},Ie=[],It=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Q=Array.isArray;function w(e,t){for(var n in t)e[n]=t[n];return e}function We(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var _,o,r,u={};for(r in t)r=="key"?_=t[r]:r=="ref"?o=t[r]:u[r]=t[r];if(arguments.length>2&&(u.children=arguments.length>3?W.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)u[r]===void 0&&(u[r]=e.defaultProps[r]);return B(e,u,_,o,null)}function B(e,t,n,_,o){var r={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Me,__i:-1,__u:0};return o==null&&p.vnode!=null&&p.vnode(r),r}function Ve(){return{current:null}}function E(e){return e.children}function $(e,t){this.props=e,this.context=t}function H(e,t){if(t==null)return e.__?H(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?H(e):null}function Be(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Be(e)}}function pe(e){(!e.__d&&(e.__d=!0)&&T.push(e)&&!X.__r++||Oe!==p.debounceRendering)&&((Oe=p.debounceRendering)||Ae)(X)}function X(){var e,t,n,_,o,r,u,l;for(T.sort(ae);e=T.shift();)e.__d&&(t=T.length,_=void 0,r=(o=(n=e).__v).__e,u=[],l=[],n.__P&&((_=w({},o)).__v=o.__v+1,p.vnode&&p.vnode(_),de(n.__P,_,o,n.__n,n.__P.namespaceURI,32&o.__u?[r]:null,u,r??H(o),!!(32&o.__u),l),_.__v=o.__v,_.__.__k[_.__i]=_,Ye(u,_,l),_.__e!=r&&Be(_)),T.length>t&&T.sort(ae));X.__r=0}function je(e,t,n,_,o,r,u,l,c,a,f){var i,d,s,b,k,g=_&&_.__k||Ie,v=t.length;for(n.__d=c,Wt(n,t,g),c=n.__d,i=0;i<v;i++)(s=n.__k[i])!=null&&(d=s.__i===-1?V:g[s.__i]||V,s.__i=i,de(e,s,d,o,r,u,l,c,a,f),b=s.__e,s.ref&&d.ref!=s.ref&&(d.ref&&he(d.ref,null,s),f.push(s.ref,s.__c||b,s)),k==null&&b!=null&&(k=b),65536&s.__u||d.__k===s.__k?c=ze(s,c,e):typeof s.type=="function"&&s.__d!==void 0?c=s.__d:b&&(c=b.nextSibling),s.__d=void 0,s.__u&=-196609);n.__d=c,n.__e=k}function Wt(e,t,n){var _,o,r,u,l,c=t.length,a=n.length,f=a,i=0;for(e.__k=[],_=0;_<c;_++)(o=t[_])!=null&&typeof o!="boolean"&&typeof o!="function"?(u=_+i,(o=e.__k[_]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?B(null,o,null,null,null):Q(o)?B(E,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?B(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,r=null,(l=o.__i=Vt(o,n,u,f))!==-1&&(f--,(r=n[l])&&(r.__u|=131072)),r==null||r.__v===null?(l==-1&&i--,typeof o.type!="function"&&(o.__u|=65536)):l!==u&&(l==u-1?i--:l==u+1?i++:(l>u?i--:i++,o.__u|=65536))):o=e.__k[_]=null;if(f)for(_=0;_<a;_++)(r=n[_])!=null&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=H(r)),Ze(r,r))}function ze(e,t,n){var _,o;if(typeof e.type=="function"){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,t=ze(_[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=H(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function S(e,t){return t=t||[],e==null||typeof e=="boolean"||(Q(e)?e.some(function(n){S(n,t)}):t.push(e)),t}function Vt(e,t,n,_){var o=e.key,r=e.type,u=n-1,l=n+1,c=t[n];if(c===null||c&&o==c.key&&r===c.type&&!(131072&c.__u))return n;if(_>(c!=null&&!(131072&c.__u)?1:0))for(;u>=0||l<t.length;){if(u>=0){if((c=t[u])&&!(131072&c.__u)&&o==c.key&&r===c.type)return u;u--}if(l<t.length){if((c=t[l])&&!(131072&c.__u)&&o==c.key&&r===c.type)return l;l++}}return-1}function qe(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||It.test(t)?n:n+"px"}function ee(e,t,n,_,o){var r;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof _=="string"&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||qe(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||qe(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?_?n.u=_.u:(n.u=ce,e.addEventListener(t,r?fe:se,r)):e.removeEventListener(t,r?fe:se,r);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ge(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ce++;else if(t.t<n.u)return;return n(p.event?p.event(t):t)}}}function de(e,t,n,_,o,r,u,l,c,a){var f,i,d,s,b,k,g,v,m,F,R,Z,I,De,J,le,x=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),r=[l=t.__e=n.__e]),(f=p.__b)&&f(t);e:if(typeof x=="function")try{if(v=t.props,m="prototype"in x&&x.prototype.render,F=(f=x.contextType)&&_[f.__c],R=f?F?F.props.value:f.__:_,n.__c?g=(i=t.__c=n.__c).__=i.__E:(m?t.__c=i=new x(v,R):(t.__c=i=new $(v,R),i.constructor=x,i.render=jt),F&&F.sub(i),i.props=v,i.state||(i.state={}),i.context=R,i.__n=_,d=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&x.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=w({},i.__s)),w(i.__s,x.getDerivedStateFromProps(v,i.__s))),s=i.props,b=i.state,i.__v=t,d)m&&x.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&x.getDerivedStateFromProps==null&&v!==s&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(v,R),!i.__e&&(i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(v,i.__s,R)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(i.props=v,i.state=i.__s,i.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(K){K&&(K.__=t)}),Z=0;Z<i._sb.length;Z++)i.__h.push(i._sb[Z]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(v,i.__s,R),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(s,b,k)})}if(i.context=R,i.props=v,i.__P=e,i.__e=!1,I=p.__r,De=0,m){for(i.state=i.__s,i.__d=!1,I&&I(t),f=i.render(i.props,i.state,i.context),J=0;J<i._sb.length;J++)i.__h.push(i._sb[J]);i._sb=[]}else do i.__d=!1,I&&I(t),f=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++De<25);i.state=i.__s,i.getChildContext!=null&&(_=w(w({},_),i.getChildContext())),m&&!d&&i.getSnapshotBeforeUpdate!=null&&(k=i.getSnapshotBeforeUpdate(s,b)),je(e,Q(le=f!=null&&f.type===E&&f.key==null?f.props.children:f)?le:[le],t,n,_,o,r,u,l,c,a),i.base=t.__e,t.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(K){if(t.__v=null,c||r!=null){for(t.__u|=c?160:128;l&&l.nodeType===8&&l.nextSibling;)l=l.nextSibling;r[r.indexOf(l)]=null,t.__e=l}else t.__e=n.__e,t.__k=n.__k;p.__e(K,t,n)}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Bt(n.__e,t,n,_,o,r,u,c,a);(f=p.diffed)&&f(t)}function Ye(e,t,n){t.__d=void 0;for(var _=0;_<n.length;_++)he(n[_],n[++_],n[++_]);p.__c&&p.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(r){r.call(o)})}catch(r){p.__e(r,o.__v)}})}function Bt(e,t,n,_,o,r,u,l,c){var a,f,i,d,s,b,k,g=n.props,v=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),r!=null){for(a=0;a<r.length;a++)if((s=r[a])&&"setAttribute"in s==!!m&&(m?s.localName===m:s.nodeType===3)){e=s,r[a]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=document.createElementNS(o,m,v.is&&v),l&&(p.__m&&p.__m(t,r),l=!1),r=null}if(m===null)g===v||l&&e.data===v||(e.data=v);else{if(r=r&&W.call(e.childNodes),g=n.props||V,!l&&r!=null)for(g={},a=0;a<e.attributes.length;a++)g[(s=e.attributes[a]).name]=s.value;for(a in g)if(s=g[a],a!="children"){if(a=="dangerouslySetInnerHTML")i=s;else if(!(a in v)){if(a=="value"&&"defaultValue"in v||a=="checked"&&"defaultChecked"in v)continue;ee(e,a,null,s,o)}}for(a in v)s=v[a],a=="children"?d=s:a=="dangerouslySetInnerHTML"?f=s:a=="value"?b=s:a=="checked"?k=s:l&&typeof s!="function"||g[a]===s||ee(e,a,s,g[a],o);if(f)l||i&&(f.__html===i.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(i&&(e.innerHTML=""),je(e,Q(d)?d:[d],t,n,_,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,u,r?r[0]:n.__k&&H(n,0),l,c),r!=null)for(a=r.length;a--;)We(r[a]);l||(a="value",m==="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[a]||m==="progress"&&!b||m==="option"&&b!==g[a])&&ee(e,a,b,g[a],o),a="checked",k!==void 0&&k!==e[a]&&ee(e,a,k,g[a],o))}return e}function he(e,t,n){try{if(typeof e=="function"){var _=typeof e.__u=="function";_&&e.__u(),_&&t==null||(e.__u=e(t))}else e.current=t}catch(o){p.__e(o,n)}}function Ze(e,t,n){var _,o;if(p.unmount&&p.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||he(_,null,t)),(_=e.__c)!=null){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(r){p.__e(r,t)}_.base=_.__P=null}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&Ze(_[o],t,n||typeof e.type!="function");n||We(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function jt(e,t,n){return this.constructor(e,n)}function j(e,t,n){var _,o,r,u;p.__&&p.__(e,t),o=(_=typeof n=="function")?null:n&&n.__k||t.__k,r=[],u=[],de(t,e=(!_&&n||t).__k=C(E,null,[e]),o||V,V,t.namespaceURI,!_&&n?[n]:o?null:t.firstChild?W.call(t.childNodes):null,r,!_&&n?n:o?o.__e:t.firstChild,_,u),Ye(r,e,u)}function Je(e,t){j(e,t,Je)}function zt(e,t,n){var _,o,r,u,l=w({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)r=="key"?_=t[r]:r=="ref"?o=t[r]:l[r]=t[r]===void 0&&u!==void 0?u[r]:t[r];return arguments.length>2&&(l.children=arguments.length>3?W.call(arguments,2):n),B(e.type,l,_||e.key,o||e.ref,null)}function ve(e,t){var n={__c:t="__cC"+Fe++,__:e,Consumer:function(_,o){return _.children(o)},Provider:function(_){var o,r;return this.getChildContext||(o=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(u){this.props.value!==u.value&&o.forEach(function(l){l.__e=!0,pe(l)})},this.sub=function(u){o.add(u);var l=u.componentWillUnmount;u.componentWillUnmount=function(){o&&o.delete(u),l&&l.call(u)}}),_.children}};return n.Provider.__=n.Consumer.contextType=n}W=Ie.slice,p={__e:function(e,t,n,_){for(var o,r,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&r.getDerivedStateFromError!=null&&(o.setState(r.getDerivedStateFromError(e)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,_||{}),u=o.__d),u)return o.__E=o}catch(l){e=l}throw e}},Me=0,$.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=w({},this.state),typeof e=="function"&&(e=e(w({},n),this.props)),e&&w(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),pe(this))},$.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),pe(this))},$.prototype.render=E,T=[],Ae=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ae=function(e,t){return e.__v.__b-t.__v.__b},X.__r=0,ce=0,se=Ge(!1),fe=Ge(!0),Fe=0;var qt=0;function Gt(e,t,n,_,o,r){t||(t={});var u,l,c=t;"ref"in t&&(u=t.ref,delete t.ref);var a={type:e,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--qt,__i:-1,__u:0,__source:o,__self:r};if(typeof e=="function"&&(u=e.defaultProps))for(l in u)c[l]===void 0&&(c[l]=u[l]);return p.vnode&&p.vnode(a),a}var N,h,me,Ke,L=0,Qe=[],y=p,Xe=y.__b,et=y.__r,tt=y.diffed,nt=y.__c,_t=y.unmount,ot=y.__;function U(e,t){y.__h&&y.__h(h,e,L||t),L=0;var n=h.__H||(h.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function D(e){return L=1,z(it,e)}function z(e,t,n){var _=U(N++,2);if(_.t=e,!_.__c&&(_.__=[n?n(t):it(void 0,t),function(l){var c=_.__N?_.__N[0]:_.__[0],a=_.t(c,l);c!==a&&(_.__N=[a,_.__[1]],_.__c.setState({}))}],_.__c=h,!h.u)){var o=function(l,c,a){if(!_.__c.__H)return!0;var f=_.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!r||r.call(this,l,c,a);var i=!1;return f.forEach(function(d){if(d.__N){var s=d.__[0];d.__=d.__N,d.__N=void 0,s!==d.__[0]&&(i=!0)}}),!(!i&&_.__c.props===l)&&(!r||r.call(this,l,c,a))};h.u=!0;var r=h.shouldComponentUpdate,u=h.componentWillUpdate;h.componentWillUpdate=function(l,c,a){if(this.__e){var f=r;r=void 0,o(l,c,a),r=f}u&&u.call(this,l,c,a)},h.shouldComponentUpdate=o}return _.__N||_.__}function q(e,t){var n=U(N++,3);!y.__s&&$e(n.__H,t)&&(n.__=e,n.i=t,h.__H.__h.push(n))}function P(e,t){var n=U(N++,4);!y.__s&&$e(n.__H,t)&&(n.__=e,n.i=t,h.__h.push(n))}function te(e){return L=5,M(function(){return{current:e}},[])}function ye(e,t,n){L=6,P(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function M(e,t){var n=U(N++,7);return $e(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ne(e,t){return L=8,M(function(){return e},t)}function _e(e){var t=h.context[e.__c],n=U(N++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(h)),t.props.value):e.__}function be(e,t){y.useDebugValue&&y.useDebugValue(t?t(e):e)}function Yt(e){var t=U(N++,10),n=D();return t.__=e,h.componentDidCatch||(h.componentDidCatch=function(_,o){t.__&&t.__(_,o),n[1](_)}),[n[0],function(){n[1](void 0)}]}function ge(){var e=U(N++,11);if(!e.__){for(var t=h.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Zt(){for(var e;e=Qe.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(oe),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(t){e.__H.__h=[],y.__e(t,e.__v)}}y.__b=function(e){h=null,Xe&&Xe(e)},y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ot&&ot(e,t)},y.__r=function(e){et&&et(e),N=0;var t=(h=e.__c).__H;t&&(me===h?(t.__h=[],h.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(oe),t.__h.forEach(Ce),t.__h=[],N=0)),me=h},y.diffed=function(e){tt&&tt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Qe.push(t)!==1&&Ke===y.requestAnimationFrame||((Ke=y.requestAnimationFrame)||Jt)(Zt)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),me=h=null},y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(oe),n.__h=n.__h.filter(function(_){return!_.__||Ce(_)})}catch(_){t.some(function(o){o.__h&&(o.__h=[])}),t=[],y.__e(_,n.__v)}}),nt&&nt(e,t)},y.unmount=function(e){_t&&_t(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{oe(_)}catch(o){t=o}}),n.__H=void 0,t&&y.__e(t,n.__v))};var rt=typeof requestAnimationFrame=="function";function Jt(e){var t,n=function(){clearTimeout(_),rt&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,100);rt&&(t=requestAnimationFrame(n))}function oe(e){var t=h,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),h=t}function Ce(e){var t=h;e.__c=e.__(),h=t}function $e(e,t){return!e||e.length!==t.length||t.some(function(n,_){return n!==e[_]})}function it(e,t){return typeof t=="function"?t(e):t}function ke(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var _ in t)if(_!=="__source"&&e[_]!==t[_])return!0;return!1}function re(e,t){this.props=e,this.context=t}function ut(e,t){function n(o){var r=this.props.ref,u=r==o.ref;return!u&&r&&(r.call?r(null):r.current=null),t?!t(this.props,o)||!u:ke(this.props,o)}function _(o){return this.shouldComponentUpdate=n,C(e,o)}return _.displayName="Memo("+(e.displayName||e.name)+")",_.prototype.isReactComponent=!0,_.__f=!0,_}(re.prototype=new $).isPureReactComponent=!0,re.prototype.shouldComponentUpdate=function(e,t){return ke(this.props,e)||ke(this.state,t)};var lt=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),lt&&lt(e)};var Kt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ie(e){function t(n){if(!("ref"in n))return e(n,null);var _=n.ref;delete n.ref;var o=e(n,_);return n.ref=_,o}return t.$$typeof=Kt,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var at=function(e,t){return e==null?null:S(S(e).map(t))},Ee={map:at,forEach:at,count:function(e){return e?S(e).length:0},only:function(e){var t=S(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:S},Qt=p.__e;p.__e=function(e,t,n,_){if(e.then){for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Qt(e,t,n,_)};var ct=p.unmount;function st(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(_){typeof _.__c=="function"&&_.__c()}),e.__c.__H=null),(e=function(_,o){for(var r in o)_[r]=o[r];return _}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(_){return st(_,t,n)})),e}function ft(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(_){return ft(_,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function G(){this.__u=0,this.t=null,this.__b=null}function pt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function dt(e){var t,n,_;function o(r){if(t||(t=e()).then(function(u){n=u.default||u},function(u){_=u}),_)throw _;if(!n)throw t;return C(n,r)}return o.displayName="Lazy",o.__f=!0,o}function O(){this.u=null,this.o=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ct&&ct(e)},(G.prototype=new $).__c=function(e,t){var n=t.__c,_=this;_.t==null&&(_.t=[]),_.t.push(n);var o=pt(_.__v),r=!1,u=function(){r||(r=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(!--_.__u){if(_.state.__a){var c=_.state.__a;_.__v.__k[0]=ft(c,c.__c.__P,c.__c.__O)}var a;for(_.setState({__a:_.__b=null});a=_.t.pop();)a.forceUpdate()}};_.__u++||32&t.__u||_.setState({__a:_.__b=_.__v.__k[0]}),e.then(u,u)},G.prototype.componentWillUnmount=function(){this.t=[]},G.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),_=this.__v.__k[0].__c;this.__v.__k[0]=st(this.__b,n,_.__O=_.__P)}this.__b=null}var o=t.__a&&C(E,null,e.fallback);return o&&(o.__u&=-33),[C(E,null,t.__a?null:e.children),o]};var ht=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Xt(e){return this.getChildContext=function(){return e.context},e.children}function en(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(_){this.childNodes.push(_),t.i.appendChild(_)},insertBefore:function(_,o){this.childNodes.push(_),t.i.appendChild(_)},removeChild:function(_){this.childNodes.splice(this.childNodes.indexOf(_)>>>1,1),t.i.removeChild(_)}}),j(C(Xt,{context:t.context},e.__v),t.l)}function xe(e,t){var n=C(en,{__v:e,i:t});return n.containerInfo=t,n}(O.prototype=new $).__a=function(e){var t=this,n=pt(t.__v),_=t.o.get(e);return _[0]++,function(o){var r=function(){t.props.revealOrder?(_.push(o),ht(t,e,_)):o()};n?n(r):r()}},O.prototype.render=function(e){this.u=null,this.o=new Map;var t=S(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},O.prototype.componentDidUpdate=O.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ht(e,n,t)})};var vt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_n=/[A-Z0-9]/g,on=typeof document<"u",rn=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function we(e,t,n){return t.__k==null&&(t.textContent=""),j(e,t),typeof n=="function"&&n(),e?e.__c:null}function mt(e,t,n){return Je(e,t),typeof n=="function"&&n(),e?e.__c:null}$.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var yt=p.event;function un(){}function ln(){return this.cancelBubble}function an(){return this.defaultPrevented}p.event=function(e){return yt&&(e=yt(e)),e.persist=un,e.isPropagationStopped=ln,e.isDefaultPrevented=an,e.nativeEvent=e};var Se,cn={enumerable:!1,configurable:!0,get:function(){return this.class}},bt=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,_=t.type,o={},r=_.indexOf("-")===-1;for(var u in n){var l=n[u];if(!(u==="value"&&"defaultValue"in n&&l==null||on&&u==="children"&&_==="noscript"||u==="class"||u==="className")){var c=u.toLowerCase();u==="defaultValue"&&"value"in n&&n.value==null?u="value":u==="download"&&l===!0?l="":c==="translate"&&l==="no"?l=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?u="ondblclick":c!=="onchange"||_!=="input"&&_!=="textarea"||rn(n.type)?c==="onfocus"?u="onfocusin":c==="onblur"?u="onfocusout":nn.test(u)&&(u=c):c=u="oninput":r&&tn.test(u)?u=u.replace(_n,"-$&").toLowerCase():l===null&&(l=void 0),c==="oninput"&&o[u=c]&&(u="oninputCapture"),o[u]=l}}_=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=S(n.children).forEach(function(a){a.props.selected=o.value.indexOf(a.props.value)!=-1})),_=="select"&&o.defaultValue!=null&&(o.value=S(n.children).forEach(function(a){a.props.selected=o.multiple?o.defaultValue.indexOf(a.props.value)!=-1:o.defaultValue==a.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",cn)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=vt,bt&&bt(e)};var gt=p.__r;p.__r=function(e){gt&&gt(e),Se=e.__c};var Ct=p.diffed;p.diffed=function(e){Ct&&Ct(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Se=null};var $t={ReactCurrentDispatcher:{current:{readContext:function(e){return Se.__n[e.__c].props.value},useCallback:ne,useContext:_e,useDebugValue:be,useDeferredValue:Te,useEffect:q,useId:ge,useImperativeHandle:ye,useInsertionEffect:ue,useLayoutEffect:P,useMemo:M,useReducer:z,useRef:te,useState:D,useSyncExternalStore:He,useTransition:Ue}}},sn="18.3.1";function kt(e){return C.bind(null,e)}function A(e){return!!e&&e.$$typeof===vt}function Et(e){return A(e)&&e.type===E}function xt(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Y(e){return A(e)?zt.apply(null,arguments):e}function Ne(e){return!!e.__k&&(j(null,e),!0)}function wt(e){return e&&(e.base||e.nodeType===1&&e)||null}var St=function(e,t){return e(t)},Pe=function(e,t){return e(t)},Nt=E;function Re(e){e()}function Te(e){return e}function Ue(){return[!1,Re]}var ue=P,Pt=A;function He(e,t){var n=t(),_=D({h:{__:n,v:t}}),o=_[0].h,r=_[1];return P(function(){o.__=n,o.v=t,Le(o)&&r({h:o})},[e,n,t]),q(function(){return Le(o)&&r({h:o}),e(function(){Le(o)&&r({h:o})})},[e]),n}function Le(e){var t,n,_=e.v,o=e.__;try{var r=_();return!((t=o)===(n=r)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Rt={useState:D,useId:ge,useReducer:z,useEffect:q,useLayoutEffect:P,useInsertionEffect:ue,useTransition:Ue,useDeferredValue:Te,useSyncExternalStore:He,startTransition:Re,useRef:te,useImperativeHandle:ye,useMemo:M,useCallback:ne,useContext:_e,useDebugValue:be,version:"18.3.1",Children:Ee,render:we,hydrate:mt,unmountComponentAtNode:Ne,createPortal:xe,createElement:C,createContext:ve,createFactory:kt,cloneElement:Y,createRef:Ve,Fragment:E,isValidElement:A,isElement:Pt,isFragment:Et,isMemo:xt,findDOMNode:wt,Component:$,PureComponent:re,memo:ut,forwardRef:ie,flushSync:Pe,unstable_batchedUpdates:St,StrictMode:Nt,Suspense:G,SuspenseList:O,lazy:dt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$t},fn=Object.freeze({__proto__:null,Children:Ee,Component:$,Fragment:E,PureComponent:re,StrictMode:Nt,Suspense:G,SuspenseList:O,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$t,cloneElement:Y,createContext:ve,createElement:C,createFactory:kt,createPortal:xe,createRef:Ve,default:Rt,findDOMNode:wt,flushSync:Pe,forwardRef:ie,hydrate:mt,isElement:Pt,isFragment:Et,isMemo:xt,isValidElement:A,lazy:dt,memo:ut,render:we,startTransition:Re,unmountComponentAtNode:Ne,unstable_batchedUpdates:St,useCallback:ne,useContext:_e,useDebugValue:be,useDeferredValue:Te,useEffect:q,useErrorBoundary:Yt,useId:ge,useImperativeHandle:ye,useInsertionEffect:ue,useLayoutEffect:P,useMemo:M,useReducer:z,useRef:te,useState:D,useSyncExternalStore:He,useTransition:Ue,version:sn});const Tt=[`slot[name]::slotted(*) {
1
+ import{m as Ft}from"./mapping-cxkgj24R.js";var W,p,Me,T,Oe,Ae,le,ae,ce,se,Fe,V={},Ie=[],It=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Q=Array.isArray;function w(e,t){for(var n in t)e[n]=t[n];return e}function We(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var _,o,r,u={};for(r in t)r=="key"?_=t[r]:r=="ref"?o=t[r]:u[r]=t[r];if(arguments.length>2&&(u.children=arguments.length>3?W.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)u[r]===void 0&&(u[r]=e.defaultProps[r]);return B(e,u,_,o,null)}function B(e,t,n,_,o){var r={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Me,__i:-1,__u:0};return o==null&&p.vnode!=null&&p.vnode(r),r}function Ve(){return{current:null}}function k(e){return e.children}function E(e,t){this.props=e,this.context=t}function H(e,t){if(t==null)return e.__?H(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?H(e):null}function Be(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Be(e)}}function fe(e){(!e.__d&&(e.__d=!0)&&T.push(e)&&!X.__r++||Oe!==p.debounceRendering)&&((Oe=p.debounceRendering)||Ae)(X)}function X(){var e,t,n,_,o,r,u,l;for(T.sort(le);e=T.shift();)e.__d&&(t=T.length,_=void 0,r=(o=(n=e).__v).__e,u=[],l=[],n.__P&&((_=w({},o)).__v=o.__v+1,p.vnode&&p.vnode(_),pe(n.__P,_,o,n.__n,n.__P.namespaceURI,32&o.__u?[r]:null,u,r??H(o),!!(32&o.__u),l),_.__v=o.__v,_.__.__k[_.__i]=_,Ye(u,_,l),_.__e!=r&&Be(_)),T.length>t&&T.sort(le));X.__r=0}function je(e,t,n,_,o,r,u,l,c,a,f){var i,d,s,b,$,g=_&&_.__k||Ie,v=t.length;for(n.__d=c,Wt(n,t,g),c=n.__d,i=0;i<v;i++)(s=n.__k[i])!=null&&(d=s.__i===-1?V:g[s.__i]||V,s.__i=i,pe(e,s,d,o,r,u,l,c,a,f),b=s.__e,s.ref&&d.ref!=s.ref&&(d.ref&&de(d.ref,null,s),f.push(s.ref,s.__c||b,s)),$==null&&b!=null&&($=b),65536&s.__u||d.__k===s.__k?c=ze(s,c,e):typeof s.type=="function"&&s.__d!==void 0?c=s.__d:b&&(c=b.nextSibling),s.__d=void 0,s.__u&=-196609);n.__d=c,n.__e=$}function Wt(e,t,n){var _,o,r,u,l,c=t.length,a=n.length,f=a,i=0;for(e.__k=[],_=0;_<c;_++)(o=t[_])!=null&&typeof o!="boolean"&&typeof o!="function"?(u=_+i,(o=e.__k[_]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?B(null,o,null,null,null):Q(o)?B(k,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?B(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,r=null,(l=o.__i=Vt(o,n,u,f))!==-1&&(f--,(r=n[l])&&(r.__u|=131072)),r==null||r.__v===null?(l==-1&&i--,typeof o.type!="function"&&(o.__u|=65536)):l!==u&&(l==u-1?i--:l==u+1?i++:(l>u?i--:i++,o.__u|=65536))):o=e.__k[_]=null;if(f)for(_=0;_<a;_++)(r=n[_])!=null&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=H(r)),Ze(r,r))}function ze(e,t,n){var _,o;if(typeof e.type=="function"){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,t=ze(_[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=H(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function S(e,t){return t=t||[],e==null||typeof e=="boolean"||(Q(e)?e.some(function(n){S(n,t)}):t.push(e)),t}function Vt(e,t,n,_){var o=e.key,r=e.type,u=n-1,l=n+1,c=t[n];if(c===null||c&&o==c.key&&r===c.type&&!(131072&c.__u))return n;if(_>(c!=null&&!(131072&c.__u)?1:0))for(;u>=0||l<t.length;){if(u>=0){if((c=t[u])&&!(131072&c.__u)&&o==c.key&&r===c.type)return u;u--}if(l<t.length){if((c=t[l])&&!(131072&c.__u)&&o==c.key&&r===c.type)return l;l++}}return-1}function qe(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||It.test(t)?n:n+"px"}function ee(e,t,n,_,o){var r;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof _=="string"&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||qe(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||qe(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?_?n.u=_.u:(n.u=ae,e.addEventListener(t,r?se:ce,r)):e.removeEventListener(t,r?se:ce,r);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ge(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ae++;else if(t.t<n.u)return;return n(p.event?p.event(t):t)}}}function pe(e,t,n,_,o,r,u,l,c,a){var f,i,d,s,b,$,g,v,m,F,R,Z,I,De,J,ue,x=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),r=[l=t.__e=n.__e]),(f=p.__b)&&f(t);e:if(typeof x=="function")try{if(v=t.props,m="prototype"in x&&x.prototype.render,F=(f=x.contextType)&&_[f.__c],R=f?F?F.props.value:f.__:_,n.__c?g=(i=t.__c=n.__c).__=i.__E:(m?t.__c=i=new x(v,R):(t.__c=i=new E(v,R),i.constructor=x,i.render=jt),F&&F.sub(i),i.props=v,i.state||(i.state={}),i.context=R,i.__n=_,d=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&x.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=w({},i.__s)),w(i.__s,x.getDerivedStateFromProps(v,i.__s))),s=i.props,b=i.state,i.__v=t,d)m&&x.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&x.getDerivedStateFromProps==null&&v!==s&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(v,R),!i.__e&&(i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(v,i.__s,R)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(i.props=v,i.state=i.__s,i.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(K){K&&(K.__=t)}),Z=0;Z<i._sb.length;Z++)i.__h.push(i._sb[Z]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(v,i.__s,R),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(s,b,$)})}if(i.context=R,i.props=v,i.__P=e,i.__e=!1,I=p.__r,De=0,m){for(i.state=i.__s,i.__d=!1,I&&I(t),f=i.render(i.props,i.state,i.context),J=0;J<i._sb.length;J++)i.__h.push(i._sb[J]);i._sb=[]}else do i.__d=!1,I&&I(t),f=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++De<25);i.state=i.__s,i.getChildContext!=null&&(_=w(w({},_),i.getChildContext())),m&&!d&&i.getSnapshotBeforeUpdate!=null&&($=i.getSnapshotBeforeUpdate(s,b)),je(e,Q(ue=f!=null&&f.type===k&&f.key==null?f.props.children:f)?ue:[ue],t,n,_,o,r,u,l,c,a),i.base=t.__e,t.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(K){if(t.__v=null,c||r!=null){for(t.__u|=c?160:128;l&&l.nodeType===8&&l.nextSibling;)l=l.nextSibling;r[r.indexOf(l)]=null,t.__e=l}else t.__e=n.__e,t.__k=n.__k;p.__e(K,t,n)}else r==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Bt(n.__e,t,n,_,o,r,u,c,a);(f=p.diffed)&&f(t)}function Ye(e,t,n){t.__d=void 0;for(var _=0;_<n.length;_++)de(n[_],n[++_],n[++_]);p.__c&&p.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(r){r.call(o)})}catch(r){p.__e(r,o.__v)}})}function Bt(e,t,n,_,o,r,u,l,c){var a,f,i,d,s,b,$,g=n.props,v=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),r!=null){for(a=0;a<r.length;a++)if((s=r[a])&&"setAttribute"in s==!!m&&(m?s.localName===m:s.nodeType===3)){e=s,r[a]=null;break}}if(e==null){if(m===null)return document.createTextNode(v);e=document.createElementNS(o,m,v.is&&v),l&&(p.__m&&p.__m(t,r),l=!1),r=null}if(m===null)g===v||l&&e.data===v||(e.data=v);else{if(r=r&&W.call(e.childNodes),g=n.props||V,!l&&r!=null)for(g={},a=0;a<e.attributes.length;a++)g[(s=e.attributes[a]).name]=s.value;for(a in g)if(s=g[a],a!="children"){if(a=="dangerouslySetInnerHTML")i=s;else if(!(a in v)){if(a=="value"&&"defaultValue"in v||a=="checked"&&"defaultChecked"in v)continue;ee(e,a,null,s,o)}}for(a in v)s=v[a],a=="children"?d=s:a=="dangerouslySetInnerHTML"?f=s:a=="value"?b=s:a=="checked"?$=s:l&&typeof s!="function"||g[a]===s||ee(e,a,s,g[a],o);if(f)l||i&&(f.__html===i.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(i&&(e.innerHTML=""),je(e,Q(d)?d:[d],t,n,_,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,u,r?r[0]:n.__k&&H(n,0),l,c),r!=null)for(a=r.length;a--;)We(r[a]);l||(a="value",m==="progress"&&b==null?e.removeAttribute("value"):b!==void 0&&(b!==e[a]||m==="progress"&&!b||m==="option"&&b!==g[a])&&ee(e,a,b,g[a],o),a="checked",$!==void 0&&$!==e[a]&&ee(e,a,$,g[a],o))}return e}function de(e,t,n){try{if(typeof e=="function"){var _=typeof e.__u=="function";_&&e.__u(),_&&t==null||(e.__u=e(t))}else e.current=t}catch(o){p.__e(o,n)}}function Ze(e,t,n){var _,o;if(p.unmount&&p.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||de(_,null,t)),(_=e.__c)!=null){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(r){p.__e(r,t)}_.base=_.__P=null}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&Ze(_[o],t,n||typeof e.type!="function");n||We(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function jt(e,t,n){return this.constructor(e,n)}function j(e,t,n){var _,o,r,u;p.__&&p.__(e,t),o=(_=typeof n=="function")?null:n&&n.__k||t.__k,r=[],u=[],pe(t,e=(!_&&n||t).__k=C(k,null,[e]),o||V,V,t.namespaceURI,!_&&n?[n]:o?null:t.firstChild?W.call(t.childNodes):null,r,!_&&n?n:o?o.__e:t.firstChild,_,u),Ye(r,e,u)}function Je(e,t){j(e,t,Je)}function zt(e,t,n){var _,o,r,u,l=w({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)r=="key"?_=t[r]:r=="ref"?o=t[r]:l[r]=t[r]===void 0&&u!==void 0?u[r]:t[r];return arguments.length>2&&(l.children=arguments.length>3?W.call(arguments,2):n),B(e.type,l,_||e.key,o||e.ref,null)}function he(e,t){var n={__c:t="__cC"+Fe++,__:e,Consumer:function(_,o){return _.children(o)},Provider:function(_){var o,r;return this.getChildContext||(o=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(u){this.props.value!==u.value&&o.forEach(function(l){l.__e=!0,fe(l)})},this.sub=function(u){o.add(u);var l=u.componentWillUnmount;u.componentWillUnmount=function(){o&&o.delete(u),l&&l.call(u)}}),_.children}};return n.Provider.__=n.Consumer.contextType=n}W=Ie.slice,p={__e:function(e,t,n,_){for(var o,r,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&r.getDerivedStateFromError!=null&&(o.setState(r.getDerivedStateFromError(e)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,_||{}),u=o.__d),u)return o.__E=o}catch(l){e=l}throw e}},Me=0,E.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=w({},this.state),typeof e=="function"&&(e=e(w({},n),this.props)),e&&w(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),fe(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),fe(this))},E.prototype.render=k,T=[],Ae=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,le=function(e,t){return e.__v.__b-t.__v.__b},X.__r=0,ae=0,ce=Ge(!1),se=Ge(!0),Fe=0;var qt=0;function Gt(e,t,n,_,o,r){t||(t={});var u,l,c=t;"ref"in t&&(u=t.ref,delete t.ref);var a={type:e,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--qt,__i:-1,__u:0,__source:o,__self:r};if(typeof e=="function"&&(u=e.defaultProps))for(l in u)c[l]===void 0&&(c[l]=u[l]);return p.vnode&&p.vnode(a),a}var N,h,ve,Ke,L=0,Qe=[],y=p,Xe=y.__b,et=y.__r,tt=y.diffed,nt=y.__c,_t=y.unmount,ot=y.__;function U(e,t){y.__h&&y.__h(h,e,L||t),L=0;var n=h.__H||(h.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function D(e){return L=1,z(it,e)}function z(e,t,n){var _=U(N++,2);if(_.t=e,!_.__c&&(_.__=[n?n(t):it(void 0,t),function(l){var c=_.__N?_.__N[0]:_.__[0],a=_.t(c,l);c!==a&&(_.__N=[a,_.__[1]],_.__c.setState({}))}],_.__c=h,!h.u)){var o=function(l,c,a){if(!_.__c.__H)return!0;var f=_.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!r||r.call(this,l,c,a);var i=!1;return f.forEach(function(d){if(d.__N){var s=d.__[0];d.__=d.__N,d.__N=void 0,s!==d.__[0]&&(i=!0)}}),!(!i&&_.__c.props===l)&&(!r||r.call(this,l,c,a))};h.u=!0;var r=h.shouldComponentUpdate,u=h.componentWillUpdate;h.componentWillUpdate=function(l,c,a){if(this.__e){var f=r;r=void 0,o(l,c,a),r=f}u&&u.call(this,l,c,a)},h.shouldComponentUpdate=o}return _.__N||_.__}function q(e,t){var n=U(N++,3);!y.__s&&Ce(n.__H,t)&&(n.__=e,n.i=t,h.__H.__h.push(n))}function P(e,t){var n=U(N++,4);!y.__s&&Ce(n.__H,t)&&(n.__=e,n.i=t,h.__h.push(n))}function te(e){return L=5,M(function(){return{current:e}},[])}function me(e,t,n){L=6,P(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function M(e,t){var n=U(N++,7);return Ce(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ne(e,t){return L=8,M(function(){return e},t)}function _e(e){var t=h.context[e.__c],n=U(N++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(h)),t.props.value):e.__}function ye(e,t){y.useDebugValue&&y.useDebugValue(t?t(e):e)}function Yt(e){var t=U(N++,10),n=D();return t.__=e,h.componentDidCatch||(h.componentDidCatch=function(_,o){t.__&&t.__(_,o),n[1](_)}),[n[0],function(){n[1](void 0)}]}function be(){var e=U(N++,11);if(!e.__){for(var t=h.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Zt(){for(var e;e=Qe.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(oe),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],y.__e(t,e.__v)}}y.__b=function(e){h=null,Xe&&Xe(e)},y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ot&&ot(e,t)},y.__r=function(e){et&&et(e),N=0;var t=(h=e.__c).__H;t&&(ve===h?(t.__h=[],h.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(oe),t.__h.forEach(ge),t.__h=[],N=0)),ve=h},y.diffed=function(e){tt&&tt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Qe.push(t)!==1&&Ke===y.requestAnimationFrame||((Ke=y.requestAnimationFrame)||Jt)(Zt)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ve=h=null},y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(oe),n.__h=n.__h.filter(function(_){return!_.__||ge(_)})}catch(_){t.some(function(o){o.__h&&(o.__h=[])}),t=[],y.__e(_,n.__v)}}),nt&&nt(e,t)},y.unmount=function(e){_t&&_t(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{oe(_)}catch(o){t=o}}),n.__H=void 0,t&&y.__e(t,n.__v))};var rt=typeof requestAnimationFrame=="function";function Jt(e){var t,n=function(){clearTimeout(_),rt&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,100);rt&&(t=requestAnimationFrame(n))}function oe(e){var t=h,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),h=t}function ge(e){var t=h;e.__c=e.__(),h=t}function Ce(e,t){return!e||e.length!==t.length||t.some(function(n,_){return n!==e[_]})}function it(e,t){return typeof t=="function"?t(e):t}function $e(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var _ in t)if(_!=="__source"&&e[_]!==t[_])return!0;return!1}function re(e,t){this.props=e,this.context=t}function ut(e,t){function n(o){var r=this.props.ref,u=r==o.ref;return!u&&r&&(r.call?r(null):r.current=null),t?!t(this.props,o)||!u:$e(this.props,o)}function _(o){return this.shouldComponentUpdate=n,C(e,o)}return _.displayName="Memo("+(e.displayName||e.name)+")",_.prototype.isReactComponent=!0,_.__f=!0,_}(re.prototype=new E).isPureReactComponent=!0,re.prototype.shouldComponentUpdate=function(e,t){return $e(this.props,e)||$e(this.state,t)};var lt=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),lt&&lt(e)};var Kt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ie(e){function t(n){if(!("ref"in n))return e(n,null);var _=n.ref;delete n.ref;var o=e(n,_);return n.ref=_,o}return t.$$typeof=Kt,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var at=function(e,t){return e==null?null:S(S(e).map(t))},ke={map:at,forEach:at,count:function(e){return e?S(e).length:0},only:function(e){var t=S(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:S},Qt=p.__e;p.__e=function(e,t,n,_){if(e.then){for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Qt(e,t,n,_)};var ct=p.unmount;function st(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(_){typeof _.__c=="function"&&_.__c()}),e.__c.__H=null),(e=function(_,o){for(var r in o)_[r]=o[r];return _}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(_){return st(_,t,n)})),e}function ft(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(_){return ft(_,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function G(){this.__u=0,this.t=null,this.__b=null}function pt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function dt(e){var t,n,_;function o(r){if(t||(t=e()).then(function(u){n=u.default||u},function(u){_=u}),_)throw _;if(!n)throw t;return C(n,r)}return o.displayName="Lazy",o.__f=!0,o}function O(){this.u=null,this.o=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ct&&ct(e)},(G.prototype=new E).__c=function(e,t){var n=t.__c,_=this;_.t==null&&(_.t=[]),_.t.push(n);var o=pt(_.__v),r=!1,u=function(){r||(r=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(!--_.__u){if(_.state.__a){var c=_.state.__a;_.__v.__k[0]=ft(c,c.__c.__P,c.__c.__O)}var a;for(_.setState({__a:_.__b=null});a=_.t.pop();)a.forceUpdate()}};_.__u++||32&t.__u||_.setState({__a:_.__b=_.__v.__k[0]}),e.then(u,u)},G.prototype.componentWillUnmount=function(){this.t=[]},G.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),_=this.__v.__k[0].__c;this.__v.__k[0]=st(this.__b,n,_.__O=_.__P)}this.__b=null}var o=t.__a&&C(k,null,e.fallback);return o&&(o.__u&=-33),[C(k,null,t.__a?null:e.children),o]};var ht=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Xt(e){return this.getChildContext=function(){return e.context},e.children}function en(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(_){this.childNodes.push(_),t.i.appendChild(_)},insertBefore:function(_,o){this.childNodes.push(_),t.i.appendChild(_)},removeChild:function(_){this.childNodes.splice(this.childNodes.indexOf(_)>>>1,1),t.i.removeChild(_)}}),j(C(Xt,{context:t.context},e.__v),t.l)}function Ee(e,t){var n=C(en,{__v:e,i:t});return n.containerInfo=t,n}(O.prototype=new E).__a=function(e){var t=this,n=pt(t.__v),_=t.o.get(e);return _[0]++,function(o){var r=function(){t.props.revealOrder?(_.push(o),ht(t,e,_)):o()};n?n(r):r()}},O.prototype.render=function(e){this.u=null,this.o=new Map;var t=S(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},O.prototype.componentDidUpdate=O.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ht(e,n,t)})};var vt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_n=/[A-Z0-9]/g,on=typeof document<"u",rn=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function xe(e,t,n){return t.__k==null&&(t.textContent=""),j(e,t),typeof n=="function"&&n(),e?e.__c:null}function mt(e,t,n){return Je(e,t),typeof n=="function"&&n(),e?e.__c:null}E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var yt=p.event;function un(){}function ln(){return this.cancelBubble}function an(){return this.defaultPrevented}p.event=function(e){return yt&&(e=yt(e)),e.persist=un,e.isPropagationStopped=ln,e.isDefaultPrevented=an,e.nativeEvent=e};var we,cn={enumerable:!1,configurable:!0,get:function(){return this.class}},bt=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,_=t.type,o={},r=_.indexOf("-")===-1;for(var u in n){var l=n[u];if(!(u==="value"&&"defaultValue"in n&&l==null||on&&u==="children"&&_==="noscript"||u==="class"||u==="className")){var c=u.toLowerCase();u==="defaultValue"&&"value"in n&&n.value==null?u="value":u==="download"&&l===!0?l="":c==="translate"&&l==="no"?l=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?u="ondblclick":c!=="onchange"||_!=="input"&&_!=="textarea"||rn(n.type)?c==="onfocus"?u="onfocusin":c==="onblur"?u="onfocusout":nn.test(u)&&(u=c):c=u="oninput":r&&tn.test(u)?u=u.replace(_n,"-$&").toLowerCase():l===null&&(l=void 0),c==="oninput"&&o[u=c]&&(u="oninputCapture"),o[u]=l}}_=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=S(n.children).forEach(function(a){a.props.selected=o.value.indexOf(a.props.value)!=-1})),_=="select"&&o.defaultValue!=null&&(o.value=S(n.children).forEach(function(a){a.props.selected=o.multiple?o.defaultValue.indexOf(a.props.value)!=-1:o.defaultValue==a.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",cn)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=vt,bt&&bt(e)};var gt=p.__r;p.__r=function(e){gt&&gt(e),we=e.__c};var Ct=p.diffed;p.diffed=function(e){Ct&&Ct(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),we=null};var $t={ReactCurrentDispatcher:{current:{readContext:function(e){return we.__n[e.__c].props.value},useCallback:ne,useContext:_e,useDebugValue:ye,useDeferredValue:Re,useEffect:q,useId:be,useImperativeHandle:me,useInsertionEffect:Ue,useLayoutEffect:P,useMemo:M,useReducer:z,useRef:te,useState:D,useSyncExternalStore:He,useTransition:Te}}},sn="18.3.1";function kt(e){return C.bind(null,e)}function A(e){return!!e&&e.$$typeof===vt}function Et(e){return A(e)&&e.type===k}function xt(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Y(e){return A(e)?zt.apply(null,arguments):e}function Se(e){return!!e.__k&&(j(null,e),!0)}function wt(e){return e&&(e.base||e.nodeType===1&&e)||null}var St=function(e,t){return e(t)},Ne=function(e,t){return e(t)},Nt=k;function Pe(e){e()}function Re(e){return e}function Te(){return[!1,Pe]}var Ue=P,Pt=A;function He(e,t){var n=t(),_=D({h:{__:n,v:t}}),o=_[0].h,r=_[1];return P(function(){o.__=n,o.v=t,Le(o)&&r({h:o})},[e,n,t]),q(function(){return Le(o)&&r({h:o}),e(function(){Le(o)&&r({h:o})})},[e]),n}function Le(e){var t,n,_=e.v,o=e.__;try{var r=_();return!((t=o)===(n=r)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Rt={useState:D,useId:be,useReducer:z,useEffect:q,useLayoutEffect:P,useInsertionEffect:Ue,useTransition:Te,useDeferredValue:Re,useSyncExternalStore:He,startTransition:Pe,useRef:te,useImperativeHandle:me,useMemo:M,useCallback:ne,useContext:_e,useDebugValue:ye,version:"18.3.1",Children:ke,render:xe,hydrate:mt,unmountComponentAtNode:Se,createPortal:Ee,createElement:C,createContext:he,createFactory:kt,cloneElement:Y,createRef:Ve,Fragment:k,isValidElement:A,isElement:Pt,isFragment:Et,isMemo:xt,findDOMNode:wt,Component:E,PureComponent:re,memo:ut,forwardRef:ie,flushSync:Ne,unstable_batchedUpdates:St,StrictMode:Nt,Suspense:G,SuspenseList:O,lazy:dt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$t},fn=Object.freeze({__proto__:null,Children:ke,Component:E,Fragment:k,PureComponent:re,StrictMode:Nt,Suspense:G,SuspenseList:O,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$t,cloneElement:Y,createContext:he,createElement:C,createFactory:kt,createPortal:Ee,createRef:Ve,default:Rt,findDOMNode:wt,flushSync:Ne,forwardRef:ie,hydrate:mt,isElement:Pt,isFragment:Et,isMemo:xt,isValidElement:A,lazy:dt,memo:ut,render:xe,startTransition:Pe,unmountComponentAtNode:Se,unstable_batchedUpdates:St,useCallback:ne,useContext:_e,useDebugValue:ye,useDeferredValue:Re,useEffect:q,useErrorBoundary:Yt,useId:be,useImperativeHandle:me,useInsertionEffect:Ue,useLayoutEffect:P,useMemo:M,useReducer:z,useRef:te,useState:D,useSyncExternalStore:He,useTransition:Te,version:sn});const Tt=[`slot[name]::slotted(*) {
2
2
  display: inline-flex;
3
3
  height: 100%;
4
4
  width: 100%;
5
5
  }`],Ut=new CSSStyleSheet,Ht="ax"+crypto.getRandomValues(new Uint32Array(1))[0].toString(36);function pn(e){const t=document.createElement("style");t.appendChild(document.createTextNode(e.replaceAll(/font-family:\s?(Fira Code Variable|InterVariable+);/g,(n,_)=>`font-family: ${Ht} ${_};`).replaceAll(/url\(["']?([^"')]+)["']?\)/g,(n,_)=>`url("${import.meta.resolve("./"+_)}")`))),document.head.append(t)}function dn(e){Tt.push(e.replaceAll(/Fira Code Variable|InterVariable/g,t=>`${Ht} ${t}`)),Ut.replace(Tt.join(`
6
- `))}function hn(e){return{render:function(t){we(t,e)},unmount:function(){Ne(e)}}}const Lt="__ax_context",Dt="__ax_mount",Mt="__ax_unmount";function vn(e,t,n={}){const _=o=>{let r=null;const u=hn(o.shadowRoot?gn(o.shadowRoot):o.attachShadow({mode:"open"}));o.shadowRoot&&(o.shadowRoot.adoptedStyleSheets=[Ut]);const l=new MutationObserver(f=>{f.forEach(({attributeName:i})=>{i&&a(i,o.getAttribute(i))})}),c=(n.customEvents??[]).reduce((f,i)=>(f[i]=d=>{o.dispatchEvent(new CustomEvent("ax-"+Cn(i),{bubbles:!0,cancelable:!0,detail:d}))},f),{}),a=(f,i)=>{r&&(r=Y(r,{[At(f)]:i===null?void 0:i}),u.render(r))};return{connectedCallback:()=>{const f=s=>{r=Y(Ot(o,yn(t,s)),c),u.render(r),l.observe(o,{attributes:!0})};let i=o.parentElement,d=!!o.slot;for(;i;){if(i.nodeName.toLowerCase()in Ft){if(d){d=!1,i=i.parentElement;continue}i.addEventListener(Dt,b=>{f(b.detail.context)}),i.addEventListener(Mt,()=>{l.disconnect(),u.unmount()});const s=new CustomEvent(Lt,{cancelable:!0,detail:{context:void 0,rendered:!1}});i.dispatchEvent(s),s.detail.rendered&&f(s.detail.context);return}i=i.parentElement}f(void 0)},disconnectedCallback:()=>{l.disconnect(),r=null,u.unmount()}}};return customElements.get(e)||customElements.define(e,class extends HTMLElement{#e;constructor(){super(),this.#e=_(this)}connectedCallback(){this.#e.connectedCallback()}disconnectedCallback(){this.#e.disconnectedCallback()}}),_}const mn=e=>{let t,n=!1;return e.addEventListener(Lt,_=>{_.detail.context=t,_.detail.rendered=n}),(_,o)=>(t=o,n=!0,P(()=>(e.dispatchEvent(new CustomEvent(Dt,{cancelable:!0,detail:{context:t}})),()=>{e.dispatchEvent(new CustomEvent(Mt))}),[]),null)},yn=(e,t)=>function(n){this.getChildContext=()=>t;const _=Object.assign({},n);return delete _.context,C(e,_)},bn=e=>{const t=mn(e);return ie((n,_)=>(P(()=>(typeof _=="function"?_(e):_&&"current"in _&&(_.current=e),()=>{typeof _=="function"?_(null):_&&"current"in _&&(_.current=void 0)}),[_]),C("slot",{...n,ref:_},C(t))))};function Ot(e,t){if(!(e instanceof Element))return null;const n=!!t,_={};for(const{name:r,value:u}of e.attributes)r.startsWith("on")||r==="slot"||r==="style"||(_[At(r)]=u);const o=[];for(const r of e.childNodes)r instanceof Text&&r.data.match(/^\s+$/)||(r instanceof Element&&r.slot?_[r.slot]=C("slot",{name:r.slot,style:{display:"inline-flex"}}):o.push(r instanceof Text?r.data:Ot(r)));return C(t||e.nodeName.toLowerCase(),_,n?o.length?C(bn(e)):null:o)}const gn=e=>{const t=document.createElement("div");return t.style.display="contents",e.insertBefore(t,e.firstChild),t},At=e=>e.startsWith("aria-")||e.startsWith("data-")?e:e.replace(/-(\w)/g,(t,n)=>n.toUpperCase()),Cn=e=>e.slice(2).toLowerCase();export{te as A,ve as G,Ee as I,xe as P,ue as S,M as T,C as _,P as a,E as b,fn as c,pn as d,Pe as e,A as f,Rt as g,D as h,dn as i,$ as k,z as p,ne as q,vn as r,Y as s,Gt as u,ie as w,_e as x,q as y};
6
+ `))}function hn(e){return{render:function(t){xe(t,e)},unmount:function(){Se(e)}}}const Lt="__ax_context",Dt="__ax_mount",Mt="__ax_unmount";function vn(e,t,n={}){const _=o=>{let r=null;const u=hn(o.shadowRoot?gn(o.shadowRoot):o.attachShadow({mode:"open"}));o.shadowRoot&&(o.shadowRoot.adoptedStyleSheets=[Ut]);const l=new MutationObserver(f=>{f.forEach(({attributeName:i})=>{i&&a(i,o.getAttribute(i))})}),c=(n.customEvents??[]).reduce((f,i)=>(f[i]=d=>{o.dispatchEvent(new CustomEvent("ax-"+Cn(i),{bubbles:!0,cancelable:!0,detail:d}))},f),{}),a=(f,i)=>{r&&(r=Y(r,{[At(f)]:i===null?void 0:i}),u.render(r))};return{connectedCallback:()=>{const f=s=>{r=Y(Ot(o,yn(t,s)),c),u.render(r),l.observe(o,{attributes:!0})};let i=o.parentElement,d=!!o.slot;for(;i;){if(i.nodeName.toLowerCase()in Ft){if(d){d=!1,i=i.parentElement;continue}i.addEventListener(Dt,b=>{f(b.detail.context)}),i.addEventListener(Mt,()=>{l.disconnect(),u.unmount()});const s=new CustomEvent(Lt,{cancelable:!0,detail:{context:void 0,rendered:!1}});i.dispatchEvent(s),s.detail.rendered&&f(s.detail.context);return}i=i.parentElement}f(void 0)},disconnectedCallback:()=>{l.disconnect(),r=null,u.unmount()}}};return customElements.get(e)||customElements.define(e,class extends HTMLElement{#e;constructor(){super(),this.#e=_(this)}connectedCallback(){this.#e.connectedCallback()}disconnectedCallback(){this.#e.disconnectedCallback()}}),_}const mn=e=>{let t,n=!1;return e.addEventListener(Lt,_=>{_.detail.context=t,_.detail.rendered=n}),(_,o)=>(t=o,n=!0,P(()=>(e.dispatchEvent(new CustomEvent(Dt,{cancelable:!0,detail:{context:t}})),()=>{e.dispatchEvent(new CustomEvent(Mt))}),[]),null)},yn=(e,t)=>function(n){this.getChildContext=()=>t;const _=Object.assign({},n);return delete _.context,C(e,_)},bn=e=>{const t=mn(e);return ie((n,_)=>(P(()=>(typeof _=="function"?_(e):_&&"current"in _&&(_.current=e),()=>{typeof _=="function"?_(null):_&&"current"in _&&(_.current=void 0)}),[_]),C("slot",{...n,ref:_},C(t))))};function Ot(e,t){if(!(e instanceof Element))return null;const n=!!t,_={};for(const{name:r,value:u}of e.attributes)r.startsWith("on")||r==="slot"||r==="style"||(_[At(r)]=u);const o=[];for(const r of e.childNodes)r instanceof Text&&r.data.match(/^\s+$/)||(r instanceof Element&&r.slot?_[r.slot]=C("slot",{name:r.slot,style:{display:"inline-flex"}}):o.push(r instanceof Text?r.data:Ot(r)));return C(t||e.nodeName.toLowerCase(),_,n?o.length?C(bn(e)):null:o)}const gn=e=>{const t=document.createElement("div");return t.style.display="contents",e.insertBefore(t,e.firstChild),t},At=e=>e.startsWith("aria-")||e.startsWith("data-")?e:e.replace(/-(\w)/g,(t,n)=>n.toUpperCase()),Cn=e=>e.slice(2).toLowerCase();export{te as A,he as G,ke as I,Ee as P,M as T,C as _,P as a,k as b,fn as c,pn as d,Ne as e,A as f,Rt as g,D as h,dn as i,z as p,ne as q,vn as r,Y as s,Gt as u,ie as w,_e as x,q as y};
@@ -1 +1 @@
1
- import{w as n,u as s}from"./register-D6Vxol1Z.js";const a=({fill:o,height:i=16,name:w,viewBox:h,width:t=20},r)=>{const e=n((l,m)=>s("svg",{fill:o,height:i,ref:m,viewBox:h??`0 0 ${t} ${i}`,width:t,xmlns:"http://www.w3.org/2000/svg",...l,children:r}));return e.displayName=`@optiaxiom/react/${w}`,e};export{a as i};
1
+ import{w as n,u as s}from"./register-BOOKBziY.js";const a=({fill:o,height:i=16,name:w,viewBox:h,width:t=20},r)=>{const e=n((l,m)=>s("svg",{fill:o,height:i,ref:m,viewBox:h??`0 0 ${t} ${i}`,width:t,xmlns:"http://www.w3.org/2000/svg",...l,children:r}));return e.displayName=`@optiaxiom/react/${w}`,e};export{a as i};
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/optimizely-axiom/optiaxiom.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "0.2.1",
10
+ "version": "0.3.0",
11
11
  "files": [
12
12
  "dist/**",
13
13
  "LICENSE"
@@ -19,9 +19,9 @@
19
19
  "./AlertDescription": "./dist/components/AlertDescription.js",
20
20
  "./AlertDialog": "./dist/components/AlertDialog.js",
21
21
  "./AlertDialogAction": "./dist/components/AlertDialogAction.js",
22
+ "./AlertDialogBody": "./dist/components/AlertDialogBody.js",
22
23
  "./AlertDialogCancel": "./dist/components/AlertDialogCancel.js",
23
24
  "./AlertDialogContent": "./dist/components/AlertDialogContent.js",
24
- "./AlertDialogDescription": "./dist/components/AlertDialogDescription.js",
25
25
  "./AlertDialogFooter": "./dist/components/AlertDialogFooter.js",
26
26
  "./AlertDialogTitle": "./dist/components/AlertDialogTitle.js",
27
27
  "./AlertDialogTrigger": "./dist/components/AlertDialogTrigger.js",
@@ -40,20 +40,28 @@
40
40
  "./Checkbox": "./dist/components/Checkbox.js",
41
41
  "./Code": "./dist/components/Code.js",
42
42
  "./Dialog": "./dist/components/Dialog.js",
43
+ "./DialogActions": "./dist/components/DialogActions.js",
43
44
  "./DialogBody": "./dist/components/DialogBody.js",
44
45
  "./DialogClose": "./dist/components/DialogClose.js",
45
46
  "./DialogContent": "./dist/components/DialogContent.js",
46
47
  "./DialogDescription": "./dist/components/DialogDescription.js",
47
48
  "./DialogFooter": "./dist/components/DialogFooter.js",
49
+ "./DialogHeader": "./dist/components/DialogHeader.js",
48
50
  "./DialogTitle": "./dist/components/DialogTitle.js",
49
51
  "./DialogTrigger": "./dist/components/DialogTrigger.js",
50
52
  "./Disclosure": "./dist/components/Disclosure.js",
51
53
  "./DisclosureContent": "./dist/components/DisclosureContent.js",
52
54
  "./DisclosureTrigger": "./dist/components/DisclosureTrigger.js",
53
55
  "./Drawer": "./dist/components/Drawer.js",
56
+ "./DrawerActions": "./dist/components/DrawerActions.js",
54
57
  "./DrawerBody": "./dist/components/DrawerBody.js",
58
+ "./DrawerClose": "./dist/components/DrawerClose.js",
59
+ "./DrawerContent": "./dist/components/DrawerContent.js",
60
+ "./DrawerDescription": "./dist/components/DrawerDescription.js",
55
61
  "./DrawerFooter": "./dist/components/DrawerFooter.js",
62
+ "./DrawerHeader": "./dist/components/DrawerHeader.js",
56
63
  "./DrawerTitle": "./dist/components/DrawerTitle.js",
64
+ "./DrawerTrigger": "./dist/components/DrawerTrigger.js",
57
65
  "./DropdownMenu": "./dist/components/DropdownMenu.js",
58
66
  "./DropdownMenuContent": "./dist/components/DropdownMenuContent.js",
59
67
  "./DropdownMenuGroup": "./dist/components/DropdownMenuGroup.js",
@@ -105,7 +113,7 @@
105
113
  "./Separator": "./dist/components/Separator.js",
106
114
  "./Sidenav": "./dist/components/Sidenav.js",
107
115
  "./SidenavAccountItem": "./dist/components/SidenavAccountItem.js",
108
- "./SidenavContent": "./dist/components/SidenavContent.js",
116
+ "./SidenavBody": "./dist/components/SidenavBody.js",
109
117
  "./SidenavFooter": "./dist/components/SidenavFooter.js",
110
118
  "./SidenavHeader": "./dist/components/SidenavHeader.js",
111
119
  "./SidenavItem": "./dist/components/SidenavItem.js",
@@ -142,9 +150,9 @@
142
150
  "postcss-url": "^10.1.3",
143
151
  "preact": "^10.24.3",
144
152
  "react-docgen-typescript": "^2.2.2",
145
- "@optiaxiom/shared": "^0.0.0",
146
- "@optiaxiom/react": "^0.5.4",
147
- "@optiaxiom/globals": "^0.4.0"
153
+ "@optiaxiom/globals": "^0.4.0",
154
+ "@optiaxiom/react": "^0.7.0",
155
+ "@optiaxiom/shared": "^0.0.0"
148
156
  },
149
157
  "scripts": {
150
158
  "build": "rm -rf dist && NODE_ENV=production rollup -c",
@@ -1 +0,0 @@
1
- import{c as t}from"./index-OK__4AGz.js";const[e,r]=t("Alert");export{e,r};
@@ -1 +0,0 @@
1
- import{c as o}from"./index-OK__4AGz.js";const[t,e]=o("AlertDialog");export{t as e,e as o};
@@ -1,9 +0,0 @@
1
- import{A as P,G as R,x as A,S as T,u as g,s as U,k as j,q,T as w,y as L,I as D,f as H,a as N,h as b,b as W}from"./register-D6Vxol1Z.js";import{t as _}from"./Transition-qxYvD-WH.js";import{u as z}from"./reach-auto-id-CNVkubzR.js";function M(n){const o=P(null);return o.current===null&&(o.current=n()),o.current}const F=R({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});class J extends j{getSnapshotBeforeUpdate(o){const t=this.props.childRef.current;if(t&&o.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function K({children:n,isPresent:o}){const t=z(),r=P(null),p=P({width:0,height:0,top:0,left:0}),{nonce:m}=A(F);return T(()=>{const{width:a,height:e,top:l,left:d}=p.current;if(o||!r.current||!a||!e)return;r.current.dataset.motionPopId=t;const c=document.createElement("style");return m&&(c.nonce=m),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
2
- [data-motion-pop-id="${t}"] {
3
- position: absolute !important;
4
- width: ${a}px !important;
5
- height: ${e}px !important;
6
- top: ${l}px !important;
7
- left: ${d}px !important;
8
- }
9
- `),()=>{document.head.removeChild(c)}},[o]),g(J,{isPresent:o,childRef:r,sizeRef:p,children:U(n,{ref:r})})}const O=({children:n,initial:o,isPresent:t,onExitComplete:r,custom:p,presenceAffectsLayout:m,mode:a})=>{const e=M(Q),l=z(),d=q(i=>{e.set(i,!0);for(const x of e.values())if(!x)return;r&&r()},[e,r]),c=w(()=>({id:l,initial:o,isPresent:t,custom:p,onExitComplete:d,register:i=>(e.set(i,!1),()=>e.delete(i))}),m?[Math.random(),d]:[t,d]);return w(()=>{e.forEach((i,x)=>e.set(x,!1))},[t]),L(()=>{!t&&!e.size&&r&&r()},[t]),a==="popLayout"&&(n=g(K,{isPresent:t,children:n})),g(_.Provider,{value:c,children:n})};function Q(){return new Map}const V=R({}),$=n=>n.key||"";function S(n){const o=[];return D.forEach(n,t=>{H(t)&&o.push(t)}),o}const X=typeof window<"u",Y=X?N:L,Z=({children:n,exitBeforeEnter:o,custom:t,initial:r=!0,onExitComplete:p,presenceAffectsLayout:m=!0,mode:a="sync"})=>{const e=w(()=>S(n),[n]),l=e.map($),d=P(!0),c=P(e),i=M(()=>new Map),[x,I]=b(e),[f,E]=b(e);Y(()=>{d.current=!1,c.current=e;for(let u=0;u<f.length;u++){const s=$(f[u]);l.includes(s)?i.delete(s):i.get(s)!==!0&&i.set(s,!1)}},[f,l.length,l.join("-")]);const y=[];if(e!==x){let u=[...e];for(let s=0;s<f.length;s++){const h=f[s],v=$(h);l.includes(v)||(u.splice(s,0,h),y.push(h))}a==="wait"&&y.length&&(u=y),E(S(u)),I(e);return}const{forceRender:k}=A(V);return g(W,{children:f.map(u=>{const s=$(u),h=e===f||l.includes(s),v=()=>{if(i.has(s))i.set(s,!0);else return;let C=!0;i.forEach(B=>{B||(C=!1)}),C&&(k?.(),E(c.current),p&&p())};return g(O,{isPresent:h,initial:!d.current||r?void 0:!1,custom:h?void 0:t,presenceAffectsLayout:m,mode:a,onExitComplete:h?void 0:v,children:u},s)})})};function G({children:n}){return g(Z,{children:n})}G.displayName="@optiaxiom/react/AnimatePresence";export{G as i};
@@ -1 +0,0 @@
1
- import{G as o}from"./register-D6Vxol1Z.js";const i=o({size:void 0});export{i as o};
@@ -1 +0,0 @@
1
- import{i as p,w as e,u as t}from"./register-D6Vxol1Z.js";import{o as m}from"./Box-6G6yFXf5.js";import{y as l}from"./recipeRuntime-pELPRZZN.js";p("@layer optiaxiom._5hw727;@layer optiaxiom._5hw727{._9pba07{backdrop-filter:blur(4px);inset:0;position:fixed}}");var s=l({base:[{bg:"bg.overlay",z:"popover"},"_9pba07"]});const o=e(({className:a,...r},i)=>t(m,{ref:i,...s({},a),...r}));o.displayName="@optiaxiom/react/Backdrop";export{o};
@@ -1 +0,0 @@
1
- import{i as x,w as g,u as r}from"./register-D6Vxol1Z.js";import{a as v}from"./index-BioyUAnl.js";import{r as m}from"./Text-vi2sJOzS.js";import{y as u}from"./recipeRuntime-pELPRZZN.js";x("@layer optiaxiom._5hw727;@layer optiaxiom._5hw727{.fkwvku{--_1vaxyh4:var(--ax-colors-fg-white)}.rqtt1o{--xewuha:var(--ax-colors-bg-error);--pzjdmk:var(--ax-colors-bg-error-subtle);--_1x37lh1:var(--ax-colors-fg-error-strong)}._1kdqxlx{--xewuha:var(--ax-colors-bg-information);--pzjdmk:var(--ax-colors-bg-information-subtle);--_1x37lh1:var(--ax-colors-fg-information-strong)}.zlbwxk{--xewuha:var(--ax-colors-bg-tertiary);--_1vaxyh4:var(--ax-colors-fg-default);--pzjdmk:var(--ax-colors-bg-secondary);--_1x37lh1:var(--ax-colors-fg-secondary)}._3ilnej{--xewuha:var(--ax-colors-bg-accent);--pzjdmk:var(--ax-colors-bg-accent-subtle);--_1x37lh1:var(--ax-colors-fg-accent-strong)}._1eebru0{--xewuha:var(--ax-colors-bg-success);--pzjdmk:var(--ax-colors-bg-success-subtle);--_1x37lh1:var(--ax-colors-fg-success-strong)}.m0b1g9{--xewuha:var(--ax-colors-bg-warning);--_1vaxyh4:var(--ax-colors-fg-warning-inverse);--pzjdmk:var(--ax-colors-bg-warning-subtle);--_1x37lh1:var(--ax-colors-fg-warning-strong)}.afvqkt{background-color:var(--pzjdmk);color:var(--_1x37lh1)}._1e61mn0{background-color:var(--xewuha);color:var(--_1vaxyh4)}}");var h=u({base:[{display:"inline-flex",fontSize:"sm",fontWeight:"500",justifyContent:"center",px:"xs",py:"2",rounded:"full"},"fkwvku"],variants:{intent:{danger:"rqtt1o",information:"_1kdqxlx",neutral:"zlbwxk",primary:"_3ilnej",success:"_1eebru0",warning:"m0b1g9"},variant:{light:"afvqkt",solid:"_1e61mn0"}}});const a=g(({asChild:o,children:e,className:l,intent:n="neutral",variant:t="light",...s},i)=>{const c=o?v:"span";return r(m,{asChild:!0,role:"presentation",...h({intent:n,variant:t},l),...s,children:r(c,{ref:i,children:e})})});a.displayName="@optiaxiom/react/Badge";export{a as o};
@@ -1 +0,0 @@
1
- import{c as t}from"./index-OK__4AGz.js";const[e,n]=t("Banner");export{e as n,n as t};