@optiaxiom/web-components 0.1.0-next.6 → 0.1.0-next.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/AccordionContext-BS4tzaYj.js +1 -0
  2. package/dist/AlertDialogContext-B4Mk3IGx.js +1 -0
  3. package/dist/{AnimatePresence-BbWMIAMv.js → AnimatePresence-DzrZCSaJ.js} +1 -1
  4. package/dist/AvatarContext-7FKCZbzX.js +1 -0
  5. package/dist/Badge-DWH0EFQ9.js +1 -0
  6. package/dist/Box-B4nJyawi.js +1 -0
  7. package/dist/Button-Cdg-DuLv.js +1 -0
  8. package/dist/Code-By_B3wkS.js +1 -0
  9. package/dist/ControlBase-DMcwb7zZ.js +1 -0
  10. package/dist/DialogContext-DnQQMqU1.js +1 -0
  11. package/dist/DropdownMenuContext-D7-qHDoH.js +1 -0
  12. package/dist/FieldContext-Rwlm7Nt0.js +1 -0
  13. package/dist/Flex-0eazjKXh.js +1 -0
  14. package/dist/{Heading--mWDxECV.js → Heading-Ds_ZsQpp.js} +1 -1
  15. package/dist/{HoverCard-fmCDm9Yy.js → HoverCard-BodKmF2V.js} +1 -1
  16. package/dist/HoverCardContent-Cq9ZeVwn.js +1 -0
  17. package/dist/{HoverCardContext-Vxfxdy_t.js → HoverCardContext-WUjiNN__.js} +1 -1
  18. package/dist/{HoverCardTrigger-n4TVgXYZ.js → HoverCardTrigger-CJPoYUOo.js} +1 -1
  19. package/dist/{IconAngleDown-mMMPUE-T.js → IconAngleDown-CA3oBQCM.js} +1 -1
  20. package/dist/{IconAngleRight-B80Kbnyb.js → IconAngleRight-CMO2Bhbm.js} +1 -1
  21. package/dist/{IconTriangleExclamationFilled-Mt1Z0ryD.js → IconTriangleExclamationFilled-9S233uyT.js} +1 -1
  22. package/dist/{IconX-CeYhwlRB.js → IconX-mf-4dyiI.js} +1 -1
  23. package/dist/Input-DpmXSJk_.js +1 -0
  24. package/dist/InputBase-g-0r08j_.js +1 -0
  25. package/dist/Link-B-OlBELh.js +1 -0
  26. package/dist/PopoverContext-DMFFYbSN.js +1 -0
  27. package/dist/Separator-DlI42kqG.js +1 -0
  28. package/dist/{Spinner-CQpDu63K.js → Spinner-CdhvSjyK.js} +1 -1
  29. package/dist/TableRow.css.ts.vanilla-DMfjFOjy-CROgfxka.js +1 -0
  30. package/dist/TabsContext-CLnhrNjy.js +1 -0
  31. package/dist/Text-D_wdmUeA.js +1 -0
  32. package/dist/ToastProvider-DuWHBD5V.js +1 -0
  33. package/dist/ToastProvider.css.ts.vanilla-WsywbHOO-KuqOW2RR.js +1 -0
  34. package/dist/Tooltip-BHJ_05zX.js +1 -0
  35. package/dist/Transition-ChqOWQ9T.js +1 -0
  36. package/dist/components/Accordion.js +1 -1
  37. package/dist/components/AccordionContent.js +1 -1
  38. package/dist/components/AccordionItem.js +1 -1
  39. package/dist/components/AccordionTrigger.js +1 -1
  40. package/dist/components/Alert.js +1 -1
  41. package/dist/components/AlertDescription.js +1 -1
  42. package/dist/components/AlertDialog.js +1 -1
  43. package/dist/components/AlertDialogAction.js +1 -1
  44. package/dist/components/AlertDialogCancel.js +1 -1
  45. package/dist/components/AlertDialogContent.js +1 -1
  46. package/dist/components/AlertDialogDescription.js +1 -1
  47. package/dist/components/AlertDialogFooter.js +1 -1
  48. package/dist/components/AlertDialogTitle.js +1 -1
  49. package/dist/components/AlertDialogTrigger.js +1 -1
  50. package/dist/components/AlertTitle.js +1 -1
  51. package/dist/components/AnimatePresence.js +1 -1
  52. package/dist/components/Avatar.js +1 -1
  53. package/dist/components/AvatarGroup.js +1 -1
  54. package/dist/components/AxiomProvider.js +1 -1
  55. package/dist/components/Badge.js +1 -1
  56. package/dist/components/Box.js +1 -1
  57. package/dist/components/Button.js +1 -1
  58. package/dist/components/ButtonGroup.js +1 -1
  59. package/dist/components/Checkbox.js +1 -1
  60. package/dist/components/Code.js +1 -1
  61. package/dist/components/Dialog.js +1 -1
  62. package/dist/components/DialogBody.js +1 -1
  63. package/dist/components/DialogClose.js +1 -1
  64. package/dist/components/DialogContent.js +1 -1
  65. package/dist/components/DialogDescription.js +1 -1
  66. package/dist/components/DialogFooter.js +1 -1
  67. package/dist/components/DialogTitle.js +1 -1
  68. package/dist/components/DialogTrigger.js +1 -1
  69. package/dist/components/Drawer.js +1 -1
  70. package/dist/components/DrawerBody.js +1 -1
  71. package/dist/components/DrawerFooter.js +1 -1
  72. package/dist/components/DrawerTitle.js +1 -1
  73. package/dist/components/DropdownMenu.js +1 -1
  74. package/dist/components/DropdownMenuContent.js +1 -1
  75. package/dist/components/DropdownMenuItem.js +1 -1
  76. package/dist/components/DropdownMenuLabel.js +1 -1
  77. package/dist/components/DropdownMenuSeparator.js +1 -1
  78. package/dist/components/DropdownMenuTrigger.js +1 -1
  79. package/dist/components/Field.js +1 -1
  80. package/dist/components/Flex.js +1 -1
  81. package/dist/components/Grid.js +1 -1
  82. package/dist/components/Heading.js +1 -1
  83. package/dist/components/HoverCard.js +1 -1
  84. package/dist/components/HoverCardContent.js +1 -1
  85. package/dist/components/HoverCardTrigger.js +1 -1
  86. package/dist/components/Indicator.js +1 -1
  87. package/dist/components/Input.js +1 -1
  88. package/dist/components/Kbd.js +1 -1
  89. package/dist/components/Link.js +1 -1
  90. package/dist/components/Pagination.js +1 -1
  91. package/dist/components/Popover.js +1 -1
  92. package/dist/components/PopoverAnchor.js +1 -0
  93. package/dist/components/PopoverContent.js +1 -1
  94. package/dist/components/PopoverTrigger.js +1 -1
  95. package/dist/components/Progress.js +1 -1
  96. package/dist/components/RadioGroup.js +1 -1
  97. package/dist/components/RadioGroupItem.js +1 -1
  98. package/dist/components/SearchInput.js +1 -1
  99. package/dist/components/Separator.js +1 -1
  100. package/dist/components/Skeleton.js +1 -1
  101. package/dist/components/Spinner.js +1 -1
  102. package/dist/components/Switch.js +1 -1
  103. package/dist/components/Tabs.js +1 -1
  104. package/dist/components/TabsContent.js +1 -1
  105. package/dist/components/TabsList.js +1 -1
  106. package/dist/components/TabsTrigger.js +1 -1
  107. package/dist/components/Text.js +1 -1
  108. package/dist/components/Textarea.js +1 -1
  109. package/dist/components/ThemeProvider.js +1 -0
  110. package/dist/components/Toast.js +1 -1
  111. package/dist/components/ToastAction.js +1 -1
  112. package/dist/components/ToastProvider.js +1 -1
  113. package/dist/components/ToastTitle.js +1 -1
  114. package/dist/components/Toggle.js +1 -1
  115. package/dist/components/Tooltip.js +1 -1
  116. package/dist/components/Transition.js +1 -1
  117. package/dist/fallbackSpan-DTwZUKQ1.js +1 -0
  118. package/dist/index-7hHOaxPS.js +1 -0
  119. package/dist/{index-CW2yTo0m.js → index-Avrq4PLo.js} +1 -1
  120. package/dist/{index-T5C_7mB3.js → index-B4AYGhqc.js} +1 -1
  121. package/dist/{index-BTATElDB.js → index-B8Ln-a2K.js} +1 -1
  122. package/dist/{index-DCOcH9nN.js → index-BMUvgC0z.js} +1 -1
  123. package/dist/{index-CxCCwn9J.js → index-BMz8l7Ea.js} +1 -1
  124. package/dist/{index-DvEIspaW.js → index-BZ2epHJe.js} +1 -1
  125. package/dist/{index-DP8sFpQ4.js → index-BrASi1Fq.js} +1 -1
  126. package/dist/{index-SWiEhwHV.js → index-C4Ddh78E.js} +1 -1
  127. package/dist/{index-cYMIRQ5-.js → index-C7hI37J6.js} +1 -1
  128. package/dist/{index-CEQ_0VwD.js → index-C9mlvE8r.js} +1 -1
  129. package/dist/{index-DS329H0d.js → index-CCKmoeiz.js} +1 -1
  130. package/dist/{index-DHGBvUxh.js → index-CGi7EQ4B.js} +1 -1
  131. package/dist/{index-BCoYHCFR.js → index-CIoVhxCw.js} +1 -1
  132. package/dist/index-CoOTQzY_.js +1 -0
  133. package/dist/{index-DvcM92mD.js → index-CwEuOG-t.js} +1 -1
  134. package/dist/{index-CTs9Zxle.js → index-D3P1ZBL7.js} +1 -1
  135. package/dist/{index-BAtelL39.js → index-DU9Dnyc5.js} +1 -1
  136. package/dist/{index-sUyO5_Lv.js → index-DXPdEuVD.js} +1 -1
  137. package/dist/index-DYBIOwPk.js +1 -0
  138. package/dist/{index-DLCV57H_.js → index-Da2N7fS9.js} +1 -1
  139. package/dist/{index-DPS2LPv-.js → index-QPG9Kw_8.js} +1 -1
  140. package/dist/{index-BaU0ZfEj.js → index-RWAeIAOl.js} +1 -1
  141. package/dist/index-UWfpVAt_.js +1 -0
  142. package/dist/{index-EMW_AgdY.js → index-lPgTb1Wg.js} +1 -1
  143. package/dist/{index-CidN3WJY.js → index-sjjhrOQO.js} +1 -1
  144. package/dist/{index-BYMJBUt7.js → index-xlO69rRA.js} +1 -1
  145. package/dist/index.js +1 -1
  146. package/dist/{mapping-BmitzdW2.js → mapping-DbL9vtE_.js} +1 -1
  147. package/dist/reach-auto-id-BxdvVNVh.js +10 -0
  148. package/dist/recipeRuntime-Cz1XHbfF.js +1 -0
  149. package/dist/register-n8cQ4cVU.js +9 -0
  150. package/dist/{withIcon-f6ZAf_aa.js → withIcon-BeUikfAh.js} +1 -1
  151. package/package.json +4 -3
  152. package/dist/AccordionContext-Dr-EEVfx.js +0 -1
  153. package/dist/AlertDialogContext-DbShODuH.js +0 -1
  154. package/dist/AvatarContext-DEstsvfZ.js +0 -1
  155. package/dist/Badge-CuyBX-YF.js +0 -1
  156. package/dist/Box-qixlfMoF.js +0 -1
  157. package/dist/Button-B0OjXMva.js +0 -1
  158. package/dist/Code-DIYovBcE.js +0 -1
  159. package/dist/ControlBase-CnLrZNQe.js +0 -1
  160. package/dist/DialogContext-Ckcf573F.js +0 -1
  161. package/dist/DropdownMenuContext-Bg6P0CKM.js +0 -1
  162. package/dist/FieldContext-D9BvX-1z.js +0 -1
  163. package/dist/Flex-CFCDumVB.js +0 -1
  164. package/dist/HoverCardContent-FotpBHJS.js +0 -1
  165. package/dist/Input-DyDytTiU.js +0 -1
  166. package/dist/InputBase-BEW1ja6W.js +0 -1
  167. package/dist/Link-rKDZrNkw.js +0 -1
  168. package/dist/PopoverContext-DVvWOkdj.js +0 -1
  169. package/dist/Separator-CclQWjOT.js +0 -1
  170. package/dist/TableRow.css.ts.vanilla-4BGjgIuZ-D6mjWNCs.js +0 -1
  171. package/dist/TabsContext-X9RYzVxC.js +0 -1
  172. package/dist/Text-CqYojU6a.js +0 -1
  173. package/dist/ToastProvider.css.ts.vanilla-C2Olq0Jl-CvJ26fPj.js +0 -1
  174. package/dist/Tooltip-BEomNSZb.js +0 -1
  175. package/dist/Transition-DC3zEMA0.js +0 -1
  176. package/dist/fallbackSpan-DqKpbG6q.js +0 -1
  177. package/dist/index-BaHDhyAa.js +0 -1
  178. package/dist/index-Bm-SkoWD.js +0 -1
  179. package/dist/index-DtK30_fg.js +0 -1
  180. package/dist/reach-auto-id-sbNy7iYB.js +0 -10
  181. package/dist/recipeRuntime-ZMTVowk_.js +0 -1
  182. package/dist/register-DdihPvJa.js +0 -1
  183. package/dist/theme-css-DhvIC4NH.js +0 -1
@@ -1 +1 @@
1
- import{h as j,q as xt,A as G,m as ye,T as ct,e as ve,y as $t,k as lt,u as V}from"./register-DdihPvJa.js";import{P as yt}from"./index-BYMJBUt7.js";import{u as kt}from"./index-DvcM92mD.js";import{a as Ae}from"./index-BaU0ZfEj.js";import{u as be}from"./index-CxCCwn9J.js";import{u as Nt}from"./index-DtK30_fg.js";import{u as Pe}from"./index-BCoYHCFR.js";const Ce=["top","right","bottom","left"],B=Math.min,F=Math.max,at=Math.round,ft=Math.floor,q=t=>({x:t,y:t}),Re={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function vt(t,e,n){return F(t,B(e,n))}function I(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function J(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function bt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(Y(t))?"y":"x"}function Pt(t){return At(U(t))}function Se(t,e,n){n===void 0&&(n=!1);const o=J(t),i=Pt(t),r=bt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ut(s)),[s,ut(s)]}function Ee(t){const e=ut(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Oe[e])}function Te(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 De(t,e,n,o){const i=J(t);let r=Te(Y(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function ut(t){return t.replace(/left|right|bottom|top/g,e=>Re[e])}function Le(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ft(t){return typeof t!="number"?Le(t):{top:t,right:t,bottom:t,left:t}}function dt(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 Ht(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Pt(e),l=bt(s),c=Y(e),a=r==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[l]/2-i[l]/2;let f;switch(c){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(J(e)){case"start":f[s]-=m*(n&&a?-1:1);break;case"end":f[s]+=m*(n&&a?-1:1);break}return f}const Me=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Ht(a,o,c),m=o,f={},p=0;for(let h=0;h<l.length;h++){const{name:w,fn:g}=l[h],{x:v,y:A,data:x,reset:y}=await g({x:d,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:t,floating:e}});d=v??d,u=A??u,f={...f,[w]:{...f[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(m=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:d,y:u}=Ht(a,m,c)),h=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:f}};async function ot(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=I(e,t),p=Ft(f),w=l[m?u==="floating"?"reference":"floating":u],g=dt(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(l.floating)),boundary:a,rootBoundary:d,strategy:c})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),x=await(r.isElement==null?void 0:r.isElement(A))?await(r.getScale==null?void 0:r.getScale(A))||{x:1,y:1}:{x:1,y:1},y=dt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:A,strategy:c}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const $e=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=I(t,e)||{};if(a==null)return{};const u=Ft(d),m={x:n,y:o},f=Pt(i),p=bt(f),h=await s.getDimensions(a),w=f==="y",g=w?"top":"left",v=w?"bottom":"right",A=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[f]-m[f]-r.floating[p],y=m[f]-r.reference[f],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[A]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=l.floating[A]||r.floating[p]);const D=x/2-y/2,$=O/2-h[p]/2-1,E=B(u[g],$),L=B(u[v],$),M=E,k=O-h[p]-L,C=O/2-h[p]/2+D,T=vt(M,C,k),N=!c.arrow&&J(i)!=null&&C!==T&&r.reference[p]/2-(C<M?E:L)-h[p]/2<0,b=N?C<M?C-M:C-k:0;return{[f]:m[f]+b,data:{[f]:T,centerOffset:C-T-b,...N&&{alignmentOffset:b}},reset:N}}}),ke=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:l,platform:c,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=I(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=Y(i),v=U(l),A=Y(l)===l,x=await(c.isRTL==null?void 0:c.isRTL(a.floating)),y=m||(A||!h?[ut(l)]:Ee(l)),P=p!=="none";!m&&P&&y.push(...De(l,h,p,x));const O=[l,...y],D=await ot(e,w),$=[];let E=((o=r.flip)==null?void 0:o.overflows)||[];if(d&&$.push(D[g]),u){const C=Se(i,s,x);$.push(D[C[0]],D[C[1]])}if(E=[...E,{placement:i,overflows:$}],!$.every(C=>C<=0)){var L,M;const C=(((L=r.flip)==null?void 0:L.index)||0)+1,T=O[C];if(T)return{data:{index:C,overflows:E},reset:{placement:T}};let N=(M=E.filter(b=>b.overflows[0]<=0).sort((b,R)=>b.overflows[1]-R.overflows[1])[0])==null?void 0:M.placement;if(!N)switch(f){case"bestFit":{var k;const b=(k=E.filter(R=>{if(P){const S=U(R.placement);return S===v||S==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(S=>S>0).reduce((S,wt)=>S+wt,0)]).sort((R,S)=>R[1]-S[1])[0])==null?void 0:k[0];b&&(N=b);break}case"initialPlacement":N=l;break}if(i!==N)return{reset:{placement:N}}}return{}}}};function Wt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function _t(t){return Ce.some(e=>t[e]>=0)}const Ne=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=I(t,e);switch(o){case"referenceHidden":{const r=await ot(e,{...i,elementContext:"reference"}),s=Wt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_t(s)}}}case"escaped":{const r=await ot(e,{...i,altBoundary:!0}),s=Wt(r,n.floating);return{data:{escapedOffsets:s,escaped:_t(s)}}}default:return{}}}}};async function Fe(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=Y(n),l=J(n),c=U(n)==="y",a=["left","top"].includes(s)?-1:1,d=r&&c?-1:1,u=I(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof p=="number"&&(f=l==="end"?p*-1:p),c?{x:f*d,y:m*a}:{x:m*a,y:f*d}}const He=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:l}=e,c=await Fe(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},We=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:l={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...c}=I(t,e),a={x:n,y:o},d=await ot(e,c),u=U(Y(i)),m=At(u);let f=a[m],p=a[u];if(r){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",v=f+d[w],A=f-d[g];f=vt(v,f,A)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+d[w],A=p-d[g];p=vt(v,p,A)}const h=l.fn({...e,[m]:f,[u]:p});return{...h,data:{x:h.x-n,y:h.y-o}}}}},_e=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:l=0,mainAxis:c=!0,crossAxis:a=!0}=I(t,e),d={x:n,y:o},u=U(i),m=At(u);let f=d[m],p=d[u];const h=I(l,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const A=m==="y"?"height":"width",x=r.reference[m]-r.floating[A]+w.mainAxis,y=r.reference[m]+r.reference[A]-w.mainAxis;f<x?f=x:f>y&&(f=y)}if(a){var g,v;const A=m==="y"?"width":"height",x=["top","left"].includes(Y(i)),y=r.reference[u]-r.floating[A]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[A]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[m]:f,[u]:p}}}},Be=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...l}=I(t,e),c=await ot(e,l),a=Y(n),d=J(n),u=U(n)==="y",{width:m,height:f}=o.floating;let p,h;a==="top"||a==="bottom"?(p=a,h=d===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(h=a,p=d==="end"?"top":"bottom");const w=f-c.top-c.bottom,g=m-c.left-c.right,v=B(f-c[p],w),A=B(m-c[h],g),x=!e.middlewareData.shift;let y=v,P=A;if(u?P=d||x?B(A,g):g:y=d||x?B(v,w):w,x&&!d){const D=F(c.left,0),$=F(c.right,0),E=F(c.top,0),L=F(c.bottom,0);u?P=m-2*(D!==0||$!==0?D+$:F(c.left,c.right)):y=f-2*(E!==0||L!==0?E+L:F(c.top,c.bottom))}await s({...e,availableWidth:P,availableHeight:y});const O=await i.getDimensions(r.floating);return m!==O.width||f!==O.height?{reset:{rects:!0}}:{}}}};function Q(t){return Bt(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X(t){var e;return(e=(Bt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Bt(t){return t instanceof Node||t instanceof H(t).Node}function W(t){return t instanceof Element||t instanceof H(t).Element}function z(t){return t instanceof HTMLElement||t instanceof H(t).HTMLElement}function zt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof H(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function ze(t){return["table","td","th"].includes(Q(t))}function pt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Rt(t){const e=Ot(),n=W(t)?_(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 Ve(t){let e=Z(t);for(;z(e)&&!tt(e);){if(Rt(e))return e;if(pt(e))return null;e=Z(e)}return null}function Ot(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tt(t){return["html","body","#document"].includes(Q(t))}function _(t){return H(t).getComputedStyle(t)}function mt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||zt(t)&&t.host||X(t);return zt(e)?e.host:e}function Vt(t){const e=Z(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:z(e)&&it(e)?e:Vt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Vt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=H(i);return r?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&n?rt(s.frameElement):[]):e.concat(i,rt(i,[],n))}function It(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=z(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=at(n)!==r||at(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function St(t){return W(t)?t:t.contextElement}function et(t){const e=St(t);if(!z(e))return q(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=It(e);let s=(r?at(n.width):n.width)/o,l=(r?at(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ie=q(0);function Yt(t){const e=H(t);return!Ot()||!e.visualViewport?Ie:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ye(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==H(t)?!1:e}function K(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=St(t);let s=q(1);e&&(o?W(o)&&(s=et(o)):s=et(t));const l=Ye(r,n,o)?Yt(r):q(0);let c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){const m=H(r),f=o&&W(o)?H(o):o;let p=m,h=p.frameElement;for(;h&&o&&f!==p;){const w=et(h),g=h.getBoundingClientRect(),v=_(h),A=g.left+(h.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(h.clientTop+parseFloat(v.paddingTop))*w.y;c*=w.x,a*=w.y,d*=w.x,u*=w.y,c+=A,a+=x,p=H(h),h=p.frameElement}}return dt({width:d,height:u,x:c,y:a})}function Xe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=X(o),l=e?pt(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=q(1);const d=q(0),u=z(o);if((u||!u&&!r)&&((Q(o)!=="body"||it(s))&&(c=mt(o)),z(o))){const m=K(o);a=et(o),d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+d.x,y:n.y*a.y-c.scrollTop*a.y+d.y}}function je(t){return Array.from(t.getClientRects())}function Xt(t){return K(X(t)).left+mt(t).scrollLeft}function qe(t){const e=X(t),n=mt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Xt(t);const l=-n.scrollTop;return _(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}function Ue(t,e){const n=H(t),o=X(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;const a=Ot();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:l,y:c}}function Ze(t,e){const n=K(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=z(t)?et(t):q(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function jt(t,e,n){let o;if(e==="viewport")o=Ue(t,n);else if(e==="document")o=qe(X(t));else if(W(e))o=Ze(e,n);else{const i=Yt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return dt(o)}function qt(t,e){const n=Z(t);return n===e||!W(n)||tt(n)?!1:_(n).position==="fixed"||qt(n,e)}function Ke(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(l=>W(l)&&Q(l)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?Z(t):t;for(;W(s)&&!tt(s);){const l=_(s),c=Rt(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!c&&qt(t,s))?o=o.filter(d=>d!==s):i=l,s=Z(s)}return e.set(t,o),o}function Ge(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?pt(e)?[]:Ke(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,d)=>{const u=jt(e,d,i);return a.top=F(u.top,a.top),a.right=B(u.right,a.right),a.bottom=B(u.bottom,a.bottom),a.left=F(u.left,a.left),a},jt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Je(t){const{width:e,height:n}=It(t);return{width:e,height:n}}function Qe(t,e,n){const o=z(e),i=X(e),r=n==="fixed",s=K(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=q(0);if(o||!o&&!r)if((Q(e)!=="body"||it(i))&&(l=mt(e)),o){const u=K(e,!0,r,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else i&&(c.x=Xt(i));const a=s.left+l.scrollLeft-c.x,d=s.top+l.scrollTop-c.y;return{x:a,y:d,width:s.width,height:s.height}}function Et(t){return _(t).position==="static"}function Ut(t,e){return!z(t)||_(t).position==="fixed"?null:e?e(t):t.offsetParent}function Zt(t,e){const n=H(t);if(pt(t))return n;if(!z(t)){let i=Z(t);for(;i&&!tt(i);){if(W(i)&&!Et(i))return i;i=Z(i)}return n}let o=Ut(t,e);for(;o&&ze(o)&&Et(o);)o=Ut(o,e);return o&&tt(o)&&Et(o)&&!Rt(o)?n:o||Ve(t)||n}const tn=async function(t){const e=this.getOffsetParent||Zt,n=this.getDimensions,o=await n(t.floating);return{reference:Qe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function en(t){return _(t).direction==="rtl"}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:Xe,getDocumentElement:X,getClippingRect:Ge,getOffsetParent:Zt,getElementRects:tn,getClientRects:je,getDimensions:Je,getScale:et,isElement:W,isRTL:en};function on(t,e){let n=null,o;const i=X(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();const{left:a,top:d,width:u,height:m}=t.getBoundingClientRect();if(l||e(),!u||!m)return;const f=ft(d),p=ft(i.clientWidth-(a+u)),h=ft(i.clientHeight-(d+m)),w=ft(a),v={rootMargin:-f+"px "+-p+"px "+-h+"px "+-w+"px",threshold:F(0,B(1,c))||1};let A=!0;function x(y){const P=y[0].intersectionRatio;if(P!==c){if(!A)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(x,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(x,v)}n.observe(t)}return s(!0),r}function rn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=St(t),d=i||r?[...a?rt(a):[],...rt(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&l?on(a,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=f)==null||A.observe(e)})),n()}),a&&!c&&f.observe(a),f.observe(e));let p,h=c?K(t):null;c&&w();function w(){const g=K(t);h&&(g.x!==h.x||g.y!==h.y||g.width!==h.width||g.height!==h.height)&&n(),h=g,p=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=f)==null||g.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const sn=He,cn=We,ln=ke,an=Be,fn=Ne,Kt=$e,un=_e,dn=(t,e,n)=>{const o=new Map,i={platform:nn,...n},r={...i.platform,_c:o};return Me(t,e,{...i,platform:r})};var ht=typeof document<"u"?ve:$t;function gt(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(!gt(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)&&!gt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Gt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Jt(t,e){const n=Gt(t);return Math.round(e*n)/n}function Qt(t){const e=G(t);return ht(()=>{e.current=t}),e}function pn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:l=!0,whileElementsMounted:c,open:a}=t,[d,u]=j({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=j(o);gt(m,o)||f(o);const[p,h]=j(null),[w,g]=j(null),v=xt(b=>{b!==P.current&&(P.current=b,h(b))},[]),A=xt(b=>{b!==O.current&&(O.current=b,g(b))},[]),x=r||p,y=s||w,P=G(null),O=G(null),D=G(d),$=c!=null,E=Qt(c),L=Qt(i),M=xt(()=>{if(!P.current||!O.current)return;const b={placement:e,strategy:n,middleware:m};L.current&&(b.platform=L.current),dn(P.current,O.current,b).then(R=>{const S={...R,isPositioned:!0};k.current&&!gt(D.current,S)&&(D.current=S,ye(()=>{u(S)}))})},[m,e,n,L]);ht(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(b=>({...b,isPositioned:!1})))},[a]);const k=G(!1);ht(()=>(k.current=!0,()=>{k.current=!1}),[]),ht(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(E.current)return E.current(x,y,M);M()}},[x,y,M,E,$]);const C=ct(()=>({reference:P,floating:O,setReference:v,setFloating:A}),[v,A]),T=ct(()=>({reference:x,floating:y}),[x,y]),N=ct(()=>{const b={position:n,left:0,top:0};if(!T.floating)return b;const R=Jt(T.floating,d.x),S=Jt(T.floating,d.y);return l?{...b,transform:"translate("+R+"px, "+S+"px)",...Gt(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:S}},[n,l,T.floating,d.x,d.y]);return ct(()=>({...d,update:M,refs:C,elements:T,floatingStyles:N}),[d,M,C,T,N])}const mn=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?Kt({element:o.current,padding:i}).fn(n):{}:o?Kt({element:o,padding:i}).fn(n):{}}}},hn=(t,e)=>({...sn(t),options:[t,e]}),gn=(t,e)=>({...cn(t),options:[t,e]}),wn=(t,e)=>({...un(t),options:[t,e]}),xn=(t,e)=>({...ln(t),options:[t,e]}),yn=(t,e)=>({...an(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),An=(t,e)=>({...mn(t),options:[t,e]});var bn="Arrow",te=lt((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return V(yt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:V("polygon",{points:"0,0 30,0 15,10"})})});te.displayName=bn;var Pn=te,Tt="Popper",[ee,Cn]=Ae(Tt),[Rn,ne]=ee(Tt),oe=t=>{const{__scopePopper:e,children:n}=t,[o,i]=j(null);return V(Rn,{scope:e,anchor:o,onAnchorChange:i,children:n})};oe.displayName=Tt;var ie="PopperAnchor",re=lt((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ne(ie,n),s=G(null),l=kt(e,s);return $t(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:V(yt.div,{...i,ref:l})});re.displayName=ie;var Dt="PopperContent",[On,Sn]=ee(Dt),se=lt((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:a=[],collisionPadding:d=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:p,...h}=t,w=ne(Dt,n),[g,v]=j(null),A=kt(e,nt=>v(nt)),[x,y]=j(null),P=Pe(x),O=P?.width??0,D=P?.height??0,$=o+(r!=="center"?"-"+r:""),E=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(a)?a:[a],M=L.length>0,k={padding:E,boundary:L.filter(Tn),altBoundary:M},{refs:C,floatingStyles:T,placement:N,isPositioned:b,middlewareData:R}=pn({strategy:"fixed",placement:$,whileElementsMounted:(...nt)=>rn(...nt,{animationFrame:f==="always"}),elements:{reference:w.anchor},middleware:[hn({mainAxis:i+D,alignmentAxis:s}),c&&gn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?wn():void 0,...k}),c&&xn({...k}),yn({...k,apply:({elements:nt,rects:Mt,availableWidth:he,availableHeight:ge})=>{const{width:we,height:xe}=Mt.reference,st=nt.floating.style;st.setProperty("--radix-popper-available-width",`${he}px`),st.setProperty("--radix-popper-available-height",`${ge}px`),st.setProperty("--radix-popper-anchor-width",`${we}px`),st.setProperty("--radix-popper-anchor-height",`${xe}px`)}}),x&&An({element:x,padding:l}),Dn({arrowWidth:O,arrowHeight:D}),m&&vn({strategy:"referenceHidden",...k})]}),[S,wt]=ae(N),Lt=be(p);Nt(()=>{b&&Lt?.()},[b,Lt]);const fe=R.arrow?.x,ue=R.arrow?.y,de=R.arrow?.centerOffset!==0,[pe,me]=j();return Nt(()=>{g&&me(window.getComputedStyle(g).zIndex)},[g]),V("div",{ref:C.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:b?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,["--radix-popper-transform-origin"]:[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:V(On,{scope:n,placedSide:S,onArrowChange:y,arrowX:fe,arrowY:ue,shouldHideArrow:de,children:V(yt.div,{"data-side":S,"data-align":wt,...h,ref:A,style:{...h.style,animation:b?void 0:"none"}})})})});se.displayName=Dt;var ce="PopperArrow",En={top:"bottom",right:"left",bottom:"top",left:"right"},le=lt(function(e,n){const{__scopePopper:o,...i}=e,r=Sn(ce,o),s=En[r.placedSide];return V("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:V(Pn,{...i,ref:n,style:{...i.style,display:"block"}})})});le.displayName=ce;function Tn(t){return t!==null}var Dn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,l=s?0:t.arrowWidth,c=s?0:t.arrowHeight,[a,d]=ae(n),u={start:"0%",center:"50%",end:"100%"}[d],m=(i.arrow?.x??0)+l/2,f=(i.arrow?.y??0)+c/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-c}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+c}px`):a==="right"?(p=`${-c}px`,h=s?u:`${f}px`):a==="left"&&(p=`${o.floating.width+c}px`,h=s?u:`${f}px`),{data:{x:p,y:h}}}});function ae(t){const[e,n="center"]=t.split("-");return[e,n]}var Ln=oe,Mn=re,$n=se,kn=le;export{Mn as A,$n as C,Ln as R,kn as a,Cn as c};
1
+ import{h as j,q as xt,A as G,m as ye,T as ct,g as ve,y as $t,k as lt,u as V}from"./register-n8cQ4cVU.js";import{P as yt}from"./index-xlO69rRA.js";import{u as kt}from"./index-CwEuOG-t.js";import{a as Ae}from"./index-RWAeIAOl.js";import{u as be}from"./index-BMz8l7Ea.js";import{u as Nt}from"./index-DYBIOwPk.js";import{u as Pe}from"./index-CIoVhxCw.js";const Ce=["top","right","bottom","left"],B=Math.min,F=Math.max,at=Math.round,ft=Math.floor,q=t=>({x:t,y:t}),Re={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function vt(t,e,n){return F(t,B(e,n))}function I(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function J(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function bt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(Y(t))?"y":"x"}function Pt(t){return At(U(t))}function Se(t,e,n){n===void 0&&(n=!1);const o=J(t),i=Pt(t),r=bt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ut(s)),[s,ut(s)]}function Ee(t){const e=ut(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>Oe[e])}function Te(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 De(t,e,n,o){const i=J(t);let r=Te(Y(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(Ct)))),r}function ut(t){return t.replace(/left|right|bottom|top/g,e=>Re[e])}function Le(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ft(t){return typeof t!="number"?Le(t):{top:t,right:t,bottom:t,left:t}}function dt(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 Ht(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Pt(e),l=bt(s),c=Y(e),a=r==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[l]/2-i[l]/2;let f;switch(c){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(J(e)){case"start":f[s]-=m*(n&&a?-1:1);break;case"end":f[s]+=m*(n&&a?-1:1);break}return f}const Me=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Ht(a,o,c),m=o,f={},p=0;for(let h=0;h<l.length;h++){const{name:w,fn:g}=l[h],{x:v,y:A,data:x,reset:y}=await g({x:d,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:t,floating:e}});d=v??d,u=A??u,f={...f,[w]:{...f[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(m=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:d,y:u}=Ht(a,m,c)),h=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:f}};async function ot(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=I(e,t),p=Ft(f),w=l[m?u==="floating"?"reference":"floating":u],g=dt(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(l.floating)),boundary:a,rootBoundary:d,strategy:c})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),x=await(r.isElement==null?void 0:r.isElement(A))?await(r.getScale==null?void 0:r.getScale(A))||{x:1,y:1}:{x:1,y:1},y=dt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:A,strategy:c}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const $e=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=I(t,e)||{};if(a==null)return{};const u=Ft(d),m={x:n,y:o},f=Pt(i),p=bt(f),h=await s.getDimensions(a),w=f==="y",g=w?"top":"left",v=w?"bottom":"right",A=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[f]-m[f]-r.floating[p],y=m[f]-r.reference[f],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[A]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=l.floating[A]||r.floating[p]);const D=x/2-y/2,$=O/2-h[p]/2-1,E=B(u[g],$),L=B(u[v],$),M=E,k=O-h[p]-L,C=O/2-h[p]/2+D,T=vt(M,C,k),N=!c.arrow&&J(i)!=null&&C!==T&&r.reference[p]/2-(C<M?E:L)-h[p]/2<0,b=N?C<M?C-M:C-k:0;return{[f]:m[f]+b,data:{[f]:T,centerOffset:C-T-b,...N&&{alignmentOffset:b}},reset:N}}}),ke=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:l,platform:c,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=I(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=Y(i),v=U(l),A=Y(l)===l,x=await(c.isRTL==null?void 0:c.isRTL(a.floating)),y=m||(A||!h?[ut(l)]:Ee(l)),P=p!=="none";!m&&P&&y.push(...De(l,h,p,x));const O=[l,...y],D=await ot(e,w),$=[];let E=((o=r.flip)==null?void 0:o.overflows)||[];if(d&&$.push(D[g]),u){const C=Se(i,s,x);$.push(D[C[0]],D[C[1]])}if(E=[...E,{placement:i,overflows:$}],!$.every(C=>C<=0)){var L,M;const C=(((L=r.flip)==null?void 0:L.index)||0)+1,T=O[C];if(T)return{data:{index:C,overflows:E},reset:{placement:T}};let N=(M=E.filter(b=>b.overflows[0]<=0).sort((b,R)=>b.overflows[1]-R.overflows[1])[0])==null?void 0:M.placement;if(!N)switch(f){case"bestFit":{var k;const b=(k=E.filter(R=>{if(P){const S=U(R.placement);return S===v||S==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(S=>S>0).reduce((S,wt)=>S+wt,0)]).sort((R,S)=>R[1]-S[1])[0])==null?void 0:k[0];b&&(N=b);break}case"initialPlacement":N=l;break}if(i!==N)return{reset:{placement:N}}}return{}}}};function Wt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function _t(t){return Ce.some(e=>t[e]>=0)}const Ne=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=I(t,e);switch(o){case"referenceHidden":{const r=await ot(e,{...i,elementContext:"reference"}),s=Wt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_t(s)}}}case"escaped":{const r=await ot(e,{...i,altBoundary:!0}),s=Wt(r,n.floating);return{data:{escapedOffsets:s,escaped:_t(s)}}}default:return{}}}}};async function Fe(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=Y(n),l=J(n),c=U(n)==="y",a=["left","top"].includes(s)?-1:1,d=r&&c?-1:1,u=I(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof p=="number"&&(f=l==="end"?p*-1:p),c?{x:f*d,y:m*a}:{x:m*a,y:f*d}}const He=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:l}=e,c=await Fe(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},We=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:l={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...c}=I(t,e),a={x:n,y:o},d=await ot(e,c),u=U(Y(i)),m=At(u);let f=a[m],p=a[u];if(r){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",v=f+d[w],A=f-d[g];f=vt(v,f,A)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+d[w],A=p-d[g];p=vt(v,p,A)}const h=l.fn({...e,[m]:f,[u]:p});return{...h,data:{x:h.x-n,y:h.y-o}}}}},_e=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:l=0,mainAxis:c=!0,crossAxis:a=!0}=I(t,e),d={x:n,y:o},u=U(i),m=At(u);let f=d[m],p=d[u];const h=I(l,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const A=m==="y"?"height":"width",x=r.reference[m]-r.floating[A]+w.mainAxis,y=r.reference[m]+r.reference[A]-w.mainAxis;f<x?f=x:f>y&&(f=y)}if(a){var g,v;const A=m==="y"?"width":"height",x=["top","left"].includes(Y(i)),y=r.reference[u]-r.floating[A]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[A]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[m]:f,[u]:p}}}},Be=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...l}=I(t,e),c=await ot(e,l),a=Y(n),d=J(n),u=U(n)==="y",{width:m,height:f}=o.floating;let p,h;a==="top"||a==="bottom"?(p=a,h=d===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(h=a,p=d==="end"?"top":"bottom");const w=f-c.top-c.bottom,g=m-c.left-c.right,v=B(f-c[p],w),A=B(m-c[h],g),x=!e.middlewareData.shift;let y=v,P=A;if(u?P=d||x?B(A,g):g:y=d||x?B(v,w):w,x&&!d){const D=F(c.left,0),$=F(c.right,0),E=F(c.top,0),L=F(c.bottom,0);u?P=m-2*(D!==0||$!==0?D+$:F(c.left,c.right)):y=f-2*(E!==0||L!==0?E+L:F(c.top,c.bottom))}await s({...e,availableWidth:P,availableHeight:y});const O=await i.getDimensions(r.floating);return m!==O.width||f!==O.height?{reset:{rects:!0}}:{}}}};function Q(t){return Bt(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X(t){var e;return(e=(Bt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Bt(t){return t instanceof Node||t instanceof H(t).Node}function W(t){return t instanceof Element||t instanceof H(t).Element}function z(t){return t instanceof HTMLElement||t instanceof H(t).HTMLElement}function zt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof H(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function ze(t){return["table","td","th"].includes(Q(t))}function pt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Rt(t){const e=Ot(),n=W(t)?_(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 Ve(t){let e=Z(t);for(;z(e)&&!tt(e);){if(Rt(e))return e;if(pt(e))return null;e=Z(e)}return null}function Ot(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tt(t){return["html","body","#document"].includes(Q(t))}function _(t){return H(t).getComputedStyle(t)}function mt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||zt(t)&&t.host||X(t);return zt(e)?e.host:e}function Vt(t){const e=Z(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:z(e)&&it(e)?e:Vt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Vt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=H(i);return r?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&n?rt(s.frameElement):[]):e.concat(i,rt(i,[],n))}function It(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=z(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=at(n)!==r||at(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function St(t){return W(t)?t:t.contextElement}function et(t){const e=St(t);if(!z(e))return q(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=It(e);let s=(r?at(n.width):n.width)/o,l=(r?at(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ie=q(0);function Yt(t){const e=H(t);return!Ot()||!e.visualViewport?Ie:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ye(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==H(t)?!1:e}function K(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=St(t);let s=q(1);e&&(o?W(o)&&(s=et(o)):s=et(t));const l=Ye(r,n,o)?Yt(r):q(0);let c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){const m=H(r),f=o&&W(o)?H(o):o;let p=m,h=p.frameElement;for(;h&&o&&f!==p;){const w=et(h),g=h.getBoundingClientRect(),v=_(h),A=g.left+(h.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(h.clientTop+parseFloat(v.paddingTop))*w.y;c*=w.x,a*=w.y,d*=w.x,u*=w.y,c+=A,a+=x,p=H(h),h=p.frameElement}}return dt({width:d,height:u,x:c,y:a})}function Xe(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=X(o),l=e?pt(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=q(1);const d=q(0),u=z(o);if((u||!u&&!r)&&((Q(o)!=="body"||it(s))&&(c=mt(o)),z(o))){const m=K(o);a=et(o),d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+d.x,y:n.y*a.y-c.scrollTop*a.y+d.y}}function je(t){return Array.from(t.getClientRects())}function Xt(t){return K(X(t)).left+mt(t).scrollLeft}function qe(t){const e=X(t),n=mt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Xt(t);const l=-n.scrollTop;return _(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}function Ue(t,e){const n=H(t),o=X(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;const a=Ot();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:l,y:c}}function Ze(t,e){const n=K(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=z(t)?et(t):q(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function jt(t,e,n){let o;if(e==="viewport")o=Ue(t,n);else if(e==="document")o=qe(X(t));else if(W(e))o=Ze(e,n);else{const i=Yt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return dt(o)}function qt(t,e){const n=Z(t);return n===e||!W(n)||tt(n)?!1:_(n).position==="fixed"||qt(n,e)}function Ke(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(l=>W(l)&&Q(l)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?Z(t):t;for(;W(s)&&!tt(s);){const l=_(s),c=Rt(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!c&&qt(t,s))?o=o.filter(d=>d!==s):i=l,s=Z(s)}return e.set(t,o),o}function Ge(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?pt(e)?[]:Ke(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,d)=>{const u=jt(e,d,i);return a.top=F(u.top,a.top),a.right=B(u.right,a.right),a.bottom=B(u.bottom,a.bottom),a.left=F(u.left,a.left),a},jt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Je(t){const{width:e,height:n}=It(t);return{width:e,height:n}}function Qe(t,e,n){const o=z(e),i=X(e),r=n==="fixed",s=K(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=q(0);if(o||!o&&!r)if((Q(e)!=="body"||it(i))&&(l=mt(e)),o){const u=K(e,!0,r,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else i&&(c.x=Xt(i));const a=s.left+l.scrollLeft-c.x,d=s.top+l.scrollTop-c.y;return{x:a,y:d,width:s.width,height:s.height}}function Et(t){return _(t).position==="static"}function Ut(t,e){return!z(t)||_(t).position==="fixed"?null:e?e(t):t.offsetParent}function Zt(t,e){const n=H(t);if(pt(t))return n;if(!z(t)){let i=Z(t);for(;i&&!tt(i);){if(W(i)&&!Et(i))return i;i=Z(i)}return n}let o=Ut(t,e);for(;o&&ze(o)&&Et(o);)o=Ut(o,e);return o&&tt(o)&&Et(o)&&!Rt(o)?n:o||Ve(t)||n}const tn=async function(t){const e=this.getOffsetParent||Zt,n=this.getDimensions,o=await n(t.floating);return{reference:Qe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function en(t){return _(t).direction==="rtl"}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:Xe,getDocumentElement:X,getClippingRect:Ge,getOffsetParent:Zt,getElementRects:tn,getClientRects:je,getDimensions:Je,getScale:et,isElement:W,isRTL:en};function on(t,e){let n=null,o;const i=X(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();const{left:a,top:d,width:u,height:m}=t.getBoundingClientRect();if(l||e(),!u||!m)return;const f=ft(d),p=ft(i.clientWidth-(a+u)),h=ft(i.clientHeight-(d+m)),w=ft(a),v={rootMargin:-f+"px "+-p+"px "+-h+"px "+-w+"px",threshold:F(0,B(1,c))||1};let A=!0;function x(y){const P=y[0].intersectionRatio;if(P!==c){if(!A)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(x,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(x,v)}n.observe(t)}return s(!0),r}function rn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=St(t),d=i||r?[...a?rt(a):[],...rt(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&l?on(a,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=f)==null||A.observe(e)})),n()}),a&&!c&&f.observe(a),f.observe(e));let p,h=c?K(t):null;c&&w();function w(){const g=K(t);h&&(g.x!==h.x||g.y!==h.y||g.width!==h.width||g.height!==h.height)&&n(),h=g,p=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=f)==null||g.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const sn=He,cn=We,ln=ke,an=Be,fn=Ne,Kt=$e,un=_e,dn=(t,e,n)=>{const o=new Map,i={platform:nn,...n},r={...i.platform,_c:o};return Me(t,e,{...i,platform:r})};var ht=typeof document<"u"?ve:$t;function gt(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(!gt(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)&&!gt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Gt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Jt(t,e){const n=Gt(t);return Math.round(e*n)/n}function Qt(t){const e=G(t);return ht(()=>{e.current=t}),e}function pn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:l=!0,whileElementsMounted:c,open:a}=t,[d,u]=j({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=j(o);gt(m,o)||f(o);const[p,h]=j(null),[w,g]=j(null),v=xt(b=>{b!==P.current&&(P.current=b,h(b))},[]),A=xt(b=>{b!==O.current&&(O.current=b,g(b))},[]),x=r||p,y=s||w,P=G(null),O=G(null),D=G(d),$=c!=null,E=Qt(c),L=Qt(i),M=xt(()=>{if(!P.current||!O.current)return;const b={placement:e,strategy:n,middleware:m};L.current&&(b.platform=L.current),dn(P.current,O.current,b).then(R=>{const S={...R,isPositioned:!0};k.current&&!gt(D.current,S)&&(D.current=S,ye(()=>{u(S)}))})},[m,e,n,L]);ht(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(b=>({...b,isPositioned:!1})))},[a]);const k=G(!1);ht(()=>(k.current=!0,()=>{k.current=!1}),[]),ht(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(E.current)return E.current(x,y,M);M()}},[x,y,M,E,$]);const C=ct(()=>({reference:P,floating:O,setReference:v,setFloating:A}),[v,A]),T=ct(()=>({reference:x,floating:y}),[x,y]),N=ct(()=>{const b={position:n,left:0,top:0};if(!T.floating)return b;const R=Jt(T.floating,d.x),S=Jt(T.floating,d.y);return l?{...b,transform:"translate("+R+"px, "+S+"px)",...Gt(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:S}},[n,l,T.floating,d.x,d.y]);return ct(()=>({...d,update:M,refs:C,elements:T,floatingStyles:N}),[d,M,C,T,N])}const mn=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?Kt({element:o.current,padding:i}).fn(n):{}:o?Kt({element:o,padding:i}).fn(n):{}}}},hn=(t,e)=>({...sn(t),options:[t,e]}),gn=(t,e)=>({...cn(t),options:[t,e]}),wn=(t,e)=>({...un(t),options:[t,e]}),xn=(t,e)=>({...ln(t),options:[t,e]}),yn=(t,e)=>({...an(t),options:[t,e]}),vn=(t,e)=>({...fn(t),options:[t,e]}),An=(t,e)=>({...mn(t),options:[t,e]});var bn="Arrow",te=lt((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return V(yt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:V("polygon",{points:"0,0 30,0 15,10"})})});te.displayName=bn;var Pn=te,Tt="Popper",[ee,Cn]=Ae(Tt),[Rn,ne]=ee(Tt),oe=t=>{const{__scopePopper:e,children:n}=t,[o,i]=j(null);return V(Rn,{scope:e,anchor:o,onAnchorChange:i,children:n})};oe.displayName=Tt;var ie="PopperAnchor",re=lt((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ne(ie,n),s=G(null),l=kt(e,s);return $t(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:V(yt.div,{...i,ref:l})});re.displayName=ie;var Dt="PopperContent",[On,Sn]=ee(Dt),se=lt((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:a=[],collisionPadding:d=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:p,...h}=t,w=ne(Dt,n),[g,v]=j(null),A=kt(e,nt=>v(nt)),[x,y]=j(null),P=Pe(x),O=P?.width??0,D=P?.height??0,$=o+(r!=="center"?"-"+r:""),E=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(a)?a:[a],M=L.length>0,k={padding:E,boundary:L.filter(Tn),altBoundary:M},{refs:C,floatingStyles:T,placement:N,isPositioned:b,middlewareData:R}=pn({strategy:"fixed",placement:$,whileElementsMounted:(...nt)=>rn(...nt,{animationFrame:f==="always"}),elements:{reference:w.anchor},middleware:[hn({mainAxis:i+D,alignmentAxis:s}),c&&gn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?wn():void 0,...k}),c&&xn({...k}),yn({...k,apply:({elements:nt,rects:Mt,availableWidth:he,availableHeight:ge})=>{const{width:we,height:xe}=Mt.reference,st=nt.floating.style;st.setProperty("--radix-popper-available-width",`${he}px`),st.setProperty("--radix-popper-available-height",`${ge}px`),st.setProperty("--radix-popper-anchor-width",`${we}px`),st.setProperty("--radix-popper-anchor-height",`${xe}px`)}}),x&&An({element:x,padding:l}),Dn({arrowWidth:O,arrowHeight:D}),m&&vn({strategy:"referenceHidden",...k})]}),[S,wt]=ae(N),Lt=be(p);Nt(()=>{b&&Lt?.()},[b,Lt]);const fe=R.arrow?.x,ue=R.arrow?.y,de=R.arrow?.centerOffset!==0,[pe,me]=j();return Nt(()=>{g&&me(window.getComputedStyle(g).zIndex)},[g]),V("div",{ref:C.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:b?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,["--radix-popper-transform-origin"]:[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:V(On,{scope:n,placedSide:S,onArrowChange:y,arrowX:fe,arrowY:ue,shouldHideArrow:de,children:V(yt.div,{"data-side":S,"data-align":wt,...h,ref:A,style:{...h.style,animation:b?void 0:"none"}})})})});se.displayName=Dt;var ce="PopperArrow",En={top:"bottom",right:"left",bottom:"top",left:"right"},le=lt(function(e,n){const{__scopePopper:o,...i}=e,r=Sn(ce,o),s=En[r.placedSide];return V("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:V(Pn,{...i,ref:n,style:{...i.style,display:"block"}})})});le.displayName=ce;function Tn(t){return t!==null}var Dn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,l=s?0:t.arrowWidth,c=s?0:t.arrowHeight,[a,d]=ae(n),u={start:"0%",center:"50%",end:"100%"}[d],m=(i.arrow?.x??0)+l/2,f=(i.arrow?.y??0)+c/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-c}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+c}px`):a==="right"?(p=`${-c}px`,h=s?u:`${f}px`):a==="left"&&(p=`${o.floating.width+c}px`,h=s?u:`${f}px`),{data:{x:p,y:h}}}});function ae(t){const[e,n="center"]=t.split("-");return[e,n]}var Ln=oe,Mn=re,$n=se,kn=le;export{Mn as A,$n as C,Ln as R,kn as a,Cn as c};
@@ -1 +1 @@
1
- import{k as m,u as p,m as u}from"./register-DdihPvJa.js";import{a as d}from"./index-DvcM92mD.js";var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],v=f.reduce((t,i)=>{const r=m((o,e)=>{const{asChild:a,...n}=o,s=a?d:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(s,{...n,ref:e})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function l(t,i){t&&u(()=>t.dispatchEvent(i))}export{v as P,l as d};
1
+ import{k as m,u as p,m as u}from"./register-n8cQ4cVU.js";import{a as d}from"./index-CwEuOG-t.js";var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],v=f.reduce((t,i)=>{const r=m((o,e)=>{const{asChild:a,...n}=o,s=a?d:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(s,{...n,ref:e})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function l(t,i){t&&u(()=>t.dispatchEvent(i))}export{v as P,l as d};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{m as i}from"./mapping-BmitzdW2.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-DbL9vtE_.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 +1 @@
1
- var s={".":"./dist/index.js","./Accordion":"./dist/components/Accordion.js","./AccordionContent":"./dist/components/AccordionContent.js","./AccordionItem":"./dist/components/AccordionItem.js","./AccordionTrigger":"./dist/components/AccordionTrigger.js","./Alert":"./dist/components/Alert.js","./AlertDescription":"./dist/components/AlertDescription.js","./AlertDialog":"./dist/components/AlertDialog.js","./AlertDialogAction":"./dist/components/AlertDialogAction.js","./AlertDialogCancel":"./dist/components/AlertDialogCancel.js","./AlertDialogContent":"./dist/components/AlertDialogContent.js","./AlertDialogDescription":"./dist/components/AlertDialogDescription.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","./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","./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","./DialogTitle":"./dist/components/DialogTitle.js","./DialogTrigger":"./dist/components/DialogTrigger.js","./Drawer":"./dist/components/Drawer.js","./DrawerBody":"./dist/components/DrawerBody.js","./DrawerFooter":"./dist/components/DrawerFooter.js","./DrawerTitle":"./dist/components/DrawerTitle.js","./DropdownMenu":"./dist/components/DropdownMenu.js","./DropdownMenuContent":"./dist/components/DropdownMenuContent.js","./DropdownMenuItem":"./dist/components/DropdownMenuItem.js","./DropdownMenuLabel":"./dist/components/DropdownMenuLabel.js","./DropdownMenuSeparator":"./dist/components/DropdownMenuSeparator.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","./Kbd":"./dist/components/Kbd.js","./Link":"./dist/components/Link.js","./Pagination":"./dist/components/Pagination.js","./Popover":"./dist/components/Popover.js","./PopoverContent":"./dist/components/PopoverContent.js","./PopoverTrigger":"./dist/components/PopoverTrigger.js","./Progress":"./dist/components/Progress.js","./RadioGroup":"./dist/components/RadioGroup.js","./RadioGroupItem":"./dist/components/RadioGroupItem.js","./SearchInput":"./dist/components/SearchInput.js","./Separator":"./dist/components/Separator.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","./Toast":"./dist/components/Toast.js","./ToastAction":"./dist/components/ToastAction.js","./ToastProvider":"./dist/components/ToastProvider.js","./ToastTitle":"./dist/components/ToastTitle.js","./Toggle":"./dist/components/Toggle.js","./Tooltip":"./dist/components/Tooltip.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
+ var s={".":"./dist/index.js","./Accordion":"./dist/components/Accordion.js","./AccordionContent":"./dist/components/AccordionContent.js","./AccordionItem":"./dist/components/AccordionItem.js","./AccordionTrigger":"./dist/components/AccordionTrigger.js","./Alert":"./dist/components/Alert.js","./AlertDescription":"./dist/components/AlertDescription.js","./AlertDialog":"./dist/components/AlertDialog.js","./AlertDialogAction":"./dist/components/AlertDialogAction.js","./AlertDialogCancel":"./dist/components/AlertDialogCancel.js","./AlertDialogContent":"./dist/components/AlertDialogContent.js","./AlertDialogDescription":"./dist/components/AlertDialogDescription.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","./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","./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","./DialogTitle":"./dist/components/DialogTitle.js","./DialogTrigger":"./dist/components/DialogTrigger.js","./Drawer":"./dist/components/Drawer.js","./DrawerBody":"./dist/components/DrawerBody.js","./DrawerFooter":"./dist/components/DrawerFooter.js","./DrawerTitle":"./dist/components/DrawerTitle.js","./DropdownMenu":"./dist/components/DropdownMenu.js","./DropdownMenuContent":"./dist/components/DropdownMenuContent.js","./DropdownMenuItem":"./dist/components/DropdownMenuItem.js","./DropdownMenuLabel":"./dist/components/DropdownMenuLabel.js","./DropdownMenuSeparator":"./dist/components/DropdownMenuSeparator.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","./Kbd":"./dist/components/Kbd.js","./Link":"./dist/components/Link.js","./Pagination":"./dist/components/Pagination.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","./RadioGroup":"./dist/components/RadioGroup.js","./RadioGroupItem":"./dist/components/RadioGroupItem.js","./SearchInput":"./dist/components/SearchInput.js","./Separator":"./dist/components/Separator.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","./Toggle":"./dist/components/Toggle.js","./Tooltip":"./dist/components/Tooltip.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};
@@ -0,0 +1,10 @@
1
+ import{g as d,y as r,h as s,e as l}from"./register-n8cQ4cVU.js";/**
2
+ * @reach/utils v0.18.0
3
+ *
4
+ * Copyright (c) 2018-2022, React Training LLC
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */function c(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var m=c()?d:r,t=!1,w=0;function a(){return++w}var i=l["useId".toString()];function I(e){if(i!==void 0){let f=i();return e??f}let o=e??(t?a():null),[n,u]=s(o);return m(()=>{n===null&&u(a())},[]),r(()=>{t===!1&&(t=!0)},[]),e??n??void 0}export{I as u};
@@ -0,0 +1 @@
1
+ import{i as m}from"./register-n8cQ4cVU.js";m("@layer optiaxiom;@layer optiaxiom.base;@layer optiaxiom.f4g07h;@layer optiaxiom._1srm0cz;");const u=({base:i={},variants:n,variantsCompounded:e=[]})=>(y,c)=>{const r=y??{},f=c?[c]:[],l={};function s(o){for(const t of Array.isArray(o)?o:[o])if(typeof t=="string")f.push(t);else for(const[a,p]of Object.entries(t))l[a]=p}s(i);for(const o in n){if(r[o]===null||r[o]===void 0)continue;const t=n[o],a=typeof r[o]=="boolean"?r[o]?"true":"false":r[o];String(a)in t&&s(t[a])}for(const{style:o,variants:t}of e)b(t,r)&&s(o);return{...l,className:f.join(" ")}},b=(i,n)=>{for(const e of Object.keys(i))if(i[e]!==n[e])return!1;return!0};export{u as y};
@@ -0,0 +1,9 @@
1
+ import{m as Zr}from"./mapping-DbL9vtE_.js";var B,p,qe,D,Ve,je,fe,ve,pe,xe,Ge,q={},Ye=[],Jr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,re=Array.isArray;function E(e,r){for(var a in r)e[a]=r[a];return e}function Ze(e){var r=e.parentNode;r&&r.removeChild(e)}function y(e,r,a){var n,o,t,l={};for(t in r)t=="key"?n=r[t]:t=="ref"?o=r[t]:l[t]=r[t];if(arguments.length>2&&(l.children=arguments.length>3?B.call(arguments,2):a),typeof e=="function"&&e.defaultProps!=null)for(t in e.defaultProps)l[t]===void 0&&(l[t]=e.defaultProps[t]);return V(e,l,n,o,null)}function V(e,r,a,n,o){var t={type:e,props:r,key:a,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++qe,__i:-1,__u:0};return o==null&&p.vnode!=null&&p.vnode(t),t}function Je(){return{current:null}}function z(e){return e.children}function k(e,r){this.props=e,this.context=r}function R(e,r){if(r==null)return e.__?R(e.__,e.__i+1):null;for(var a;r<e.__k.length;r++)if((a=e.__k[r])!=null&&a.__e!=null)return a.__e;return typeof e.type=="function"?R(e):null}function Ke(e){var r,a;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,r=0;r<e.__k.length;r++)if((a=e.__k[r])!=null&&a.__e!=null){e.__e=e.__c.base=a.__e;break}return Ke(e)}}function ge(e){(!e.__d&&(e.__d=!0)&&D.push(e)&&!ae.__r++||Ve!==p.debounceRendering)&&((Ve=p.debounceRendering)||je)(ae)}function ae(){var e,r,a,n,o,t,l,c;for(D.sort(fe);e=D.shift();)e.__d&&(r=D.length,n=void 0,t=(o=(a=e).__v).__e,l=[],c=[],a.__P&&((n=E({},o)).__v=o.__v+1,p.vnode&&p.vnode(n),he(a.__P,n,o,a.__n,a.__P.namespaceURI,32&o.__u?[t]:null,l,t??R(o),!!(32&o.__u),c),n.__v=o.__v,n.__.__k[n.__i]=n,ar(l,n,c),n.__e!=t&&Ke(n)),D.length>r&&D.sort(fe));ae.__r=0}function Qe(e,r,a,n,o,t,l,c,d,_,f){var i,x,v,w,C,S=n&&n.__k||Ye,h=r.length;for(a.__d=d,Kr(a,r,S),d=a.__d,i=0;i<h;i++)(v=a.__k[i])!=null&&typeof v!="boolean"&&typeof v!="function"&&(x=v.__i===-1?q:S[v.__i]||q,v.__i=i,he(e,v,x,o,t,l,c,d,_,f),w=v.__e,v.ref&&x.ref!=v.ref&&(x.ref&&be(x.ref,null,v),f.push(v.ref,v.__c||w,v)),C==null&&w!=null&&(C=w),65536&v.__u||x.__k===v.__k?d=Xe(v,d,e):typeof v.type=="function"&&v.__d!==void 0?d=v.__d:w&&(d=w.nextSibling),v.__d=void 0,v.__u&=-196609);a.__d=d,a.__e=C}function Kr(e,r,a){var n,o,t,l,c,d=r.length,_=a.length,f=_,i=0;for(e.__k=[],n=0;n<d;n++)l=n+i,(o=e.__k[n]=(o=r[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?V(null,o,null,null,null):re(o)?V(z,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?V(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,c=Qr(o,a,l,f),o.__i=c,t=null,c!==-1&&(f--,(t=a[c])&&(t.__u|=131072)),t==null||t.__v===null?(c==-1&&i--,typeof o.type!="function"&&(o.__u|=65536)):c!==l&&(c==l-1?i--:c==l+1?i++:c>l?f>d-l?i+=c-l:i--:c<l&&(c==l-i?i-=c-l:i++),c!==n+i&&(o.__u|=65536))):(t=a[l])&&t.key==null&&t.__e&&!(131072&t.__u)&&(t.__e==e.__d&&(e.__d=R(t)),me(t,t,!1),a[l]=null,f--);if(f)for(n=0;n<_;n++)(t=a[n])!=null&&!(131072&t.__u)&&(t.__e==e.__d&&(e.__d=R(t)),me(t,t))}function Xe(e,r,a){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,r=Xe(n[o],r,a));return r}e.__e!=r&&(r&&e.type&&!a.contains(r)&&(r=R(e)),a.insertBefore(e.__e,r||null),r=e.__e);do r=r&&r.nextSibling;while(r!=null&&r.nodeType===8);return r}function F(e,r){return r=r||[],e==null||typeof e=="boolean"||(re(e)?e.some(function(a){F(a,r)}):r.push(e)),r}function Qr(e,r,a,n){var o=e.key,t=e.type,l=a-1,c=a+1,d=r[a];if(d===null||d&&o==d.key&&t===d.type&&!(131072&d.__u))return a;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;l>=0||c<r.length;){if(l>=0){if((d=r[l])&&!(131072&d.__u)&&o==d.key&&t===d.type)return l;l--}if(c<r.length){if((d=r[c])&&!(131072&d.__u)&&o==d.key&&t===d.type)return c;c++}}return-1}function er(e,r,a){r[0]==="-"?e.setProperty(r,a??""):e[r]=a==null?"":typeof a!="number"||Jr.test(r)?a:a+"px"}function ne(e,r,a,n,o){var t;e:if(r==="style")if(typeof a=="string")e.style.cssText=a;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(r in n)a&&r in a||er(e.style,r,"");if(a)for(r in a)n&&a[r]===n[r]||er(e.style,r,a[r])}else if(r[0]==="o"&&r[1]==="n")t=r!==(r=r.replace(/(PointerCapture)$|Capture$/i,"$1")),r=r.toLowerCase()in e||r==="onFocusOut"||r==="onFocusIn"?r.toLowerCase().slice(2):r.slice(2),e.l||(e.l={}),e.l[r+t]=a,a?n?a.u=n.u:(a.u=ve,e.addEventListener(r,t?xe:pe,t)):e.removeEventListener(r,t?xe:pe,t);else{if(o=="http://www.w3.org/2000/svg")r=r.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(r!="width"&&r!="height"&&r!="href"&&r!="list"&&r!="form"&&r!="tabIndex"&&r!="download"&&r!="rowSpan"&&r!="colSpan"&&r!="role"&&r!="popover"&&r in e)try{e[r]=a??"";break e}catch{}typeof a=="function"||(a==null||a===!1&&r[4]!=="-"?e.removeAttribute(r):e.setAttribute(r,r=="popover"&&a==1?"":a))}}function rr(e){return function(r){if(this.l){var a=this.l[r.type+e];if(r.t==null)r.t=ve++;else if(r.t<a.u)return;return a(p.event?p.event(r):r)}}}function he(e,r,a,n,o,t,l,c,d,_){var f,i,x,v,w,C,S,h,m,O,N,Q,W,Be,X,de,$=r.type;if(r.constructor!==void 0)return null;128&a.__u&&(d=!!(32&a.__u),t=[c=r.__e=a.__e]),(f=p.__b)&&f(r);e:if(typeof $=="function")try{if(h=r.props,m="prototype"in $&&$.prototype.render,O=(f=$.contextType)&&n[f.__c],N=f?O?O.props.value:f.__:n,a.__c?S=(i=r.__c=a.__c).__=i.__E:(m?r.__c=i=new $(h,N):(r.__c=i=new k(h,N),i.constructor=$,i.render=ea),O&&O.sub(i),i.props=h,i.state||(i.state={}),i.context=N,i.__n=n,x=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&$.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=E({},i.__s)),E(i.__s,$.getDerivedStateFromProps(h,i.__s))),v=i.props,w=i.state,i.__v=r,x)m&&$.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&$.getDerivedStateFromProps==null&&h!==v&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(h,N),!i.__e&&(i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(h,i.__s,N)===!1||r.__v===a.__v)){for(r.__v!==a.__v&&(i.props=h,i.state=i.__s,i.__d=!1),r.__e=a.__e,r.__k=a.__k,r.__k.forEach(function(ee){ee&&(ee.__=r)}),Q=0;Q<i._sb.length;Q++)i.__h.push(i._sb[Q]);i._sb=[],i.__h.length&&l.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(h,i.__s,N),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(v,w,C)})}if(i.context=N,i.props=h,i.__P=e,i.__e=!1,W=p.__r,Be=0,m){for(i.state=i.__s,i.__d=!1,W&&W(r),f=i.render(i.props,i.state,i.context),X=0;X<i._sb.length;X++)i.__h.push(i._sb[X]);i._sb=[]}else do i.__d=!1,W&&W(r),f=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++Be<25);i.state=i.__s,i.getChildContext!=null&&(n=E(E({},n),i.getChildContext())),m&&!x&&i.getSnapshotBeforeUpdate!=null&&(C=i.getSnapshotBeforeUpdate(v,w)),Qe(e,re(de=f!=null&&f.type===z&&f.key==null?f.props.children:f)?de:[de],r,a,n,o,t,l,c,d,_),i.base=r.__e,r.__u&=-161,i.__h.length&&l.push(i),S&&(i.__E=i.__=null)}catch(ee){if(r.__v=null,d||t!=null){for(r.__u|=d?160:32;c&&c.nodeType===8&&c.nextSibling;)c=c.nextSibling;t[t.indexOf(c)]=null,r.__e=c}else r.__e=a.__e,r.__k=a.__k;p.__e(ee,r,a)}else t==null&&r.__v===a.__v?(r.__k=a.__k,r.__e=a.__e):r.__e=Xr(a.__e,r,a,n,o,t,l,d,_);(f=p.diffed)&&f(r)}function ar(e,r,a){r.__d=void 0;for(var n=0;n<a.length;n++)be(a[n],a[++n],a[++n]);p.__c&&p.__c(r,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(t){t.call(o)})}catch(t){p.__e(t,o.__v)}})}function Xr(e,r,a,n,o,t,l,c,d){var _,f,i,x,v,w,C,S=a.props,h=r.props,m=r.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"),t!=null){for(_=0;_<t.length;_++)if((v=t[_])&&"setAttribute"in v==!!m&&(m?v.localName===m:v.nodeType===3)){e=v,t[_]=null;break}}if(e==null){if(m===null)return document.createTextNode(h);e=document.createElementNS(o,m,h.is&&h),t=null,c=!1}if(m===null)S===h||c&&e.data===h||(e.data=h);else{if(t=t&&B.call(e.childNodes),S=a.props||q,!c&&t!=null)for(S={},_=0;_<e.attributes.length;_++)S[(v=e.attributes[_]).name]=v.value;for(_ in S)if(v=S[_],_!="children"){if(_=="dangerouslySetInnerHTML")i=v;else if(_!=="key"&&!(_ in h)){if(_=="value"&&"defaultValue"in h||_=="checked"&&"defaultChecked"in h)continue;ne(e,_,null,v,o)}}for(_ in h)v=h[_],_=="children"?x=v:_=="dangerouslySetInnerHTML"?f=v:_=="value"?w=v:_=="checked"?C=v:_==="key"||c&&typeof v!="function"||S[_]===v||ne(e,_,v,S[_],o);if(f)c||i&&(f.__html===i.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),r.__k=[];else if(i&&(e.innerHTML=""),Qe(e,re(x)?x:[x],r,a,n,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,t,l,t?t[0]:a.__k&&R(a,0),c,d),t!=null)for(_=t.length;_--;)t[_]!=null&&Ze(t[_]);c||(_="value",w!==void 0&&(w!==e[_]||m==="progress"&&!w||m==="option"&&w!==S[_])&&ne(e,_,w,S[_],o),_="checked",C!==void 0&&C!==e[_]&&ne(e,_,C,S[_],o))}return e}function be(e,r,a){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&r==null||(e.__u=e(r))}else e.current=r}catch(o){p.__e(o,a)}}function me(e,r,a){var n,o;if(p.unmount&&p.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||be(n,null,r)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(t){p.__e(t,r)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&me(n[o],r,a||typeof e.type!="function");a||e.__e==null||Ze(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function ea(e,r,a){return this.constructor(e,a)}function j(e,r,a){var n,o,t,l;p.__&&p.__(e,r),o=(n=typeof a=="function")?null:a&&a.__k||r.__k,t=[],l=[],he(r,e=(!n&&a||r).__k=y(z,null,[e]),o||q,q,r.namespaceURI,!n&&a?[a]:o?null:r.firstChild?B.call(r.childNodes):null,t,!n&&a?a:o?o.__e:r.firstChild,n,l),ar(t,e,l)}function nr(e,r){j(e,r,nr)}function ra(e,r,a){var n,o,t,l,c=E({},e.props);for(t in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),r)t=="key"?n=r[t]:t=="ref"?o=r[t]:c[t]=r[t]===void 0&&l!==void 0?l[t]:r[t];return arguments.length>2&&(c.children=arguments.length>3?B.call(arguments,2):a),V(e.type,c,n||e.key,o||e.ref,null)}function oe(e,r){var a={__c:r="__cC"+Ge++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,t;return this.getChildContext||(o=[],(t={})[r]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&o.some(function(c){c.__e=!0,ge(c)})},this.sub=function(l){o.push(l);var c=l.componentWillUnmount;l.componentWillUnmount=function(){o&&o.splice(o.indexOf(l),1),c&&c.call(l)}}),n.children}};return a.Provider.__=a.Consumer.contextType=a}B=Ye.slice,p={__e:function(e,r,a,n){for(var o,t,l;r=r.__;)if((o=r.__c)&&!o.__)try{if((t=o.constructor)&&t.getDerivedStateFromError!=null&&(o.setState(t.getDerivedStateFromError(e)),l=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),l=o.__d),l)return o.__E=o}catch(c){e=c}throw e}},qe=0,k.prototype.setState=function(e,r){var a;a=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=E({},this.state),typeof e=="function"&&(e=e(E({},a),this.props)),e&&E(a,e),e!=null&&this.__v&&(r&&this._sb.push(r),ge(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ge(this))},k.prototype.render=z,D=[],je=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fe=function(e,r){return e.__v.__b-r.__v.__b},ae.__r=0,ve=0,pe=rr(!1),xe=rr(!0),Ge=0;var aa=0;function te(e,r,a,n,o,t){r||(r={});var l,c,d=r;if("ref"in d)for(c in d={},r)c=="ref"?l=r[c]:d[c]=r[c];var _={type:e,props:d,key:a,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--aa,__i:-1,__u:0,__source:o,__self:t};if(typeof e=="function"&&(l=e.defaultProps))for(c in l)d[c]===void 0&&(d[c]=l[c]);return p.vnode&&p.vnode(_),_}var H,g,ye,or,T=0,tr=[],b=p,lr=b.__b,ir=b.__r,sr=b.diffed,ur=b.__c,cr=b.unmount,_r=b.__;function P(e,r){b.__h&&b.__h(g,e,T||r),T=0;var a=g.__H||(g.__H={__:[],__h:[]});return e>=a.__.length&&a.__.push({}),a.__[e]}function U(e){return T=1,G(fr,e)}function G(e,r,a){var n=P(H++,2);if(n.t=e,!n.__c&&(n.__=[a?a(r):fr(void 0,r),function(c){var d=n.__N?n.__N[0]:n.__[0],_=n.t(d,c);d!==_&&(n.__N=[_,n.__[1]],n.__c.setState({}))}],n.__c=g,!g.u)){var o=function(c,d,_){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(x){return!!x.__c});if(f.every(function(x){return!x.__N}))return!t||t.call(this,c,d,_);var i=!1;return f.forEach(function(x){if(x.__N){var v=x.__[0];x.__=x.__N,x.__N=void 0,v!==x.__[0]&&(i=!0)}}),!(!i&&n.__c.props===c)&&(!t||t.call(this,c,d,_))};g.u=!0;var t=g.shouldComponentUpdate,l=g.componentWillUpdate;g.componentWillUpdate=function(c,d,_){if(this.__e){var f=t;t=void 0,o(c,d,_),t=f}l&&l.call(this,c,d,_)},g.shouldComponentUpdate=o}return n.__N||n.__}function Y(e,r){var a=P(H++,3);!b.__s&&ke(a.__H,r)&&(a.__=e,a.i=r,g.__H.__h.push(a))}function A(e,r){var a=P(H++,4);!b.__s&&ke(a.__H,r)&&(a.__=e,a.i=r,g.__h.push(a))}function le(e){return T=5,I(function(){return{current:e}},[])}function we(e,r,a){T=6,A(function(){return typeof e=="function"?(e(r()),function(){return e(null)}):e?(e.current=r(),function(){return e.current=null}):void 0},a==null?a:a.concat(e))}function I(e,r){var a=P(H++,7);return ke(a.__H,r)&&(a.__=e(),a.__H=r,a.__h=e),a.__}function ie(e,r){return T=8,I(function(){return e},r)}function Z(e){var r=g.context[e.__c],a=P(H++,9);return a.c=e,r?(a.__==null&&(a.__=!0,r.sub(g)),r.props.value):e.__}function Se(e,r){b.useDebugValue&&b.useDebugValue(r?r(e):e)}function na(e){var r=P(H++,10),a=U();return r.__=e,g.componentDidCatch||(g.componentDidCatch=function(n,o){r.__&&r.__(n,o),a[1](n)}),[a[0],function(){a[1](void 0)}]}function ze(){var e=P(H++,11);if(!e.__){for(var r=g.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;var a=r.__m||(r.__m=[0,0]);e.__="P"+a[0]+"-"+a[1]++}return e.__}function oa(){for(var e;e=tr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(r){e.__H.__h=[],b.__e(r,e.__v)}}b.__b=function(e){g=null,lr&&lr(e)},b.__=function(e,r){e&&r.__k&&r.__k.__m&&(e.__m=r.__k.__m),_r&&_r(e,r)},b.__r=function(e){ir&&ir(e),H=0;var r=(g=e.__c).__H;r&&(ye===g?(r.__h=[],g.__h=[],r.__.forEach(function(a){a.__N&&(a.__=a.__N),a.i=a.__N=void 0})):(r.__h.forEach(se),r.__h.forEach(Ce),r.__h=[],H=0)),ye=g},b.diffed=function(e){sr&&sr(e);var r=e.__c;r&&r.__H&&(r.__H.__h.length&&(tr.push(r)!==1&&or===b.requestAnimationFrame||((or=b.requestAnimationFrame)||ta)(oa)),r.__H.__.forEach(function(a){a.i&&(a.__H=a.i),a.i=void 0})),ye=g=null},b.__c=function(e,r){r.some(function(a){try{a.__h.forEach(se),a.__h=a.__h.filter(function(n){return!n.__||Ce(n)})}catch(n){r.some(function(o){o.__h&&(o.__h=[])}),r=[],b.__e(n,a.__v)}}),ur&&ur(e,r)},b.unmount=function(e){cr&&cr(e);var r,a=e.__c;a&&a.__H&&(a.__H.__.forEach(function(n){try{se(n)}catch(o){r=o}}),a.__H=void 0,r&&b.__e(r,a.__v))};var dr=typeof requestAnimationFrame=="function";function ta(e){var r,a=function(){clearTimeout(n),dr&&cancelAnimationFrame(r),setTimeout(e)},n=setTimeout(a,100);dr&&(r=requestAnimationFrame(a))}function se(e){var r=g,a=e.__c;typeof a=="function"&&(e.__c=void 0,a()),g=r}function Ce(e){var r=g;e.__c=e.__(),g=r}function ke(e,r){return!e||e.length!==r.length||r.some(function(a,n){return a!==e[n]})}function fr(e,r){return typeof r=="function"?r(e):r}function vr(e,r){for(var a in r)e[a]=r[a];return e}function $e(e,r){for(var a in e)if(a!=="__source"&&!(a in r))return!0;for(var n in r)if(n!=="__source"&&e[n]!==r[n])return!0;return!1}function ue(e,r){this.props=e,this.context=r}function pr(e,r){function a(o){var t=this.props.ref,l=t==o.ref;return!l&&t&&(t.call?t(null):t.current=null),r?!r(this.props,o)||!l:$e(this.props,o)}function n(o){return this.shouldComponentUpdate=a,y(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ue.prototype=new k).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,r){return $e(this.props,e)||$e(this.state,r)};var xr=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xr&&xr(e)};var la=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ce(e){function r(a){var n=vr({},a);return delete n.ref,e(n,a.ref||null)}return r.$$typeof=la,r.render=r,r.prototype.isReactComponent=r.__f=!0,r.displayName="ForwardRef("+(e.displayName||e.name)+")",r}var gr=function(e,r){return e==null?null:F(F(e).map(r))},Ee={map:gr,forEach:gr,count:function(e){return e?F(e).length:0},only:function(e){var r=F(e);if(r.length!==1)throw"Children.only";return r[0]},toArray:F},ia=p.__e;p.__e=function(e,r,a,n){if(e.then){for(var o,t=r;t=t.__;)if((o=t.__c)&&o.__c)return r.__e==null&&(r.__e=a.__e,r.__k=a.__k),o.__c(e,r)}ia(e,r,a,n)};var hr=p.unmount;function br(e,r,a){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=vr({},e)).__c!=null&&(e.__c.__P===a&&(e.__c.__P=r),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return br(n,r,a)})),e}function mr(e,r,a){return e&&a&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return mr(n,r,a)}),e.__c&&e.__c.__P===r&&(e.__e&&a.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=a)),e}function J(){this.__u=0,this.t=null,this.__b=null}function yr(e){var r=e.__.__c;return r&&r.__a&&r.__a(e)}function wr(e){var r,a,n;function o(t){if(r||(r=e()).then(function(l){a=l.default||l},function(l){n=l}),n)throw n;if(!a)throw r;return y(a,t)}return o.displayName="Lazy",o.__f=!0,o}function L(){this.u=null,this.o=null}p.unmount=function(e){var r=e.__c;r&&r.__R&&r.__R(),r&&32&e.__u&&(e.type=null),hr&&hr(e)},(J.prototype=new k).__c=function(e,r){var a=r.__c,n=this;n.t==null&&(n.t=[]),n.t.push(a);var o=yr(n.__v),t=!1,l=function(){t||(t=!0,a.__R=null,o?o(c):c())};a.__R=l;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=mr(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}};n.__u++||32&r.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(l,l)},J.prototype.componentWillUnmount=function(){this.t=[]},J.prototype.render=function(e,r){if(this.__b){if(this.__v.__k){var a=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=br(this.__b,a,n.__O=n.__P)}this.__b=null}var o=r.__a&&y(z,null,e.fallback);return o&&(o.__u&=-33),[y(z,null,r.__a?null:e.children),o]};var Sr=function(e,r,a){if(++a[1]===a[0]&&e.o.delete(r),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(a=e.u;a;){for(;a.length>3;)a.pop()();if(a[1]<a[0])break;e.u=a=a[2]}};function sa(e){return this.getChildContext=function(){return e.context},e.children}function ua(e){var r=this,a=e.i;r.componentWillUnmount=function(){j(null,r.l),r.l=null,r.i=null},r.i&&r.i!==a&&r.componentWillUnmount(),r.l||(r.i=a,r.l={nodeType:1,parentNode:a,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),r.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),r.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),r.i.removeChild(n)}}),j(y(sa,{context:r.context},e.__v),r.l)}function Fe(e,r){var a=y(ua,{__v:e,i:r});return a.containerInfo=r,a}(L.prototype=new k).__a=function(e){var r=this,a=yr(r.__v),n=r.o.get(e);return n[0]++,function(o){var t=function(){r.props.revealOrder?(n.push(o),Sr(r,e,n)):o()};a?a(t):t()}},L.prototype.render=function(e){this.u=null,this.o=new Map;var r=F(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&r.reverse();for(var a=r.length;a--;)this.o.set(r[a],this.u=[1,0,this.u]);return e.children},L.prototype.componentDidUpdate=L.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(r,a){Sr(e,a,r)})};var zr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ca=/^(?: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]/,_a=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,da=/[A-Z0-9]/g,fa=typeof document<"u",va=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function He(e,r,a){return r.__k==null&&(r.textContent=""),j(e,r),typeof a=="function"&&a(),e?e.__c:null}function Cr(e,r,a){return nr(e,r),typeof a=="function"&&a(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(r){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:r})}})});var kr=p.event;function pa(){}function xa(){return this.cancelBubble}function ga(){return this.defaultPrevented}p.event=function(e){return kr&&(e=kr(e)),e.persist=pa,e.isPropagationStopped=xa,e.isDefaultPrevented=ga,e.nativeEvent=e};var Ae,ha={enumerable:!1,configurable:!0,get:function(){return this.class}},$r=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(r){var a=r.props,n=r.type,o={},t=n.indexOf("-")===-1;for(var l in a){var c=a[l];if(!(l==="value"&&"defaultValue"in a&&c==null||fa&&l==="children"&&n==="noscript"||l==="class"||l==="className")){var d=l.toLowerCase();l==="defaultValue"&&"value"in a&&a.value==null?l="value":l==="download"&&c===!0?c="":d==="translate"&&c==="no"?c=!1:d[0]==="o"&&d[1]==="n"?d==="ondoubleclick"?l="ondblclick":d!=="onchange"||n!=="input"&&n!=="textarea"||va(a.type)?d==="onfocus"?l="onfocusin":d==="onblur"?l="onfocusout":_a.test(l)&&(l=d):d=l="oninput":t&&ca.test(l)?l=l.replace(da,"-$&").toLowerCase():c===null&&(c=void 0),d==="oninput"&&o[l=d]&&(l="oninputCapture"),o[l]=c}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=F(a.children).forEach(function(_){_.props.selected=o.value.indexOf(_.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=F(a.children).forEach(function(_){_.props.selected=o.multiple?o.defaultValue.indexOf(_.props.value)!=-1:o.defaultValue==_.props.value})),a.class&&!a.className?(o.class=a.class,Object.defineProperty(o,"className",ha)):(a.className&&!a.class||a.class&&a.className)&&(o.class=o.className=a.className),r.props=o}(e),e.$$typeof=zr,$r&&$r(e)};var Er=p.__r;p.__r=function(e){Er&&Er(e),Ae=e.__c};var Fr=p.diffed;p.diffed=function(e){Fr&&Fr(e);var r=e.props,a=e.__e;a!=null&&e.type==="textarea"&&"value"in r&&r.value!==a.value&&(a.value=r.value==null?"":r.value),Ae=null};var Hr={ReactCurrentDispatcher:{current:{readContext:function(e){return Ae.__n[e.__c].props.value},useCallback:ie,useContext:Z,useDebugValue:Se,useDeferredValue:Pe,useEffect:Y,useId:ze,useImperativeHandle:we,useInsertionEffect:Ue,useLayoutEffect:A,useMemo:I,useReducer:G,useRef:le,useState:U,useSyncExternalStore:_e,useTransition:Te}}},ba="17.0.2";function Ar(e){return y.bind(null,e)}function M(e){return!!e&&e.$$typeof===zr}function Nr(e){return M(e)&&e.type===z}function Dr(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function K(e){return M(e)?ra.apply(null,arguments):e}function Ne(e){return!!e.__k&&(j(null,e),!0)}function Rr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Pr=function(e,r){return e(r)},De=function(e,r){return e(r)},Tr=z;function Re(e){e()}function Pe(e){return e}function Te(){return[!1,Re]}var Ue=A,Ur=M;function _e(e,r){var a=r(),n=U({h:{__:a,v:r}}),o=n[0].h,t=n[1];return A(function(){o.__=a,o.v=r,Ie(o)&&t({h:o})},[e,a,r]),Y(function(){return Ie(o)&&t({h:o}),e(function(){Ie(o)&&t({h:o})})},[e]),a}function Ie(e){var r,a,n=e.v,o=e.__;try{var t=n();return!((r=o)===(a=t)&&(r!==0||1/r==1/a)||r!=r&&a!=a)}catch{return!0}}var Ir={useState:U,useId:ze,useReducer:G,useEffect:Y,useLayoutEffect:A,useInsertionEffect:Ue,useTransition:Te,useDeferredValue:Pe,useSyncExternalStore:_e,startTransition:Re,useRef:le,useImperativeHandle:we,useMemo:I,useCallback:ie,useContext:Z,useDebugValue:Se,version:"17.0.2",Children:Ee,render:He,hydrate:Cr,unmountComponentAtNode:Ne,createPortal:Fe,createElement:y,createContext:oe,createFactory:Ar,cloneElement:K,createRef:Je,Fragment:z,isValidElement:M,isElement:Ur,isFragment:Nr,isMemo:Dr,findDOMNode:Rr,Component:k,PureComponent:ue,memo:pr,forwardRef:ce,flushSync:De,unstable_batchedUpdates:Pr,StrictMode:Tr,Suspense:J,SuspenseList:L,lazy:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Hr},ma=Object.freeze({__proto__:null,Children:Ee,Component:k,Fragment:z,PureComponent:ue,StrictMode:Tr,Suspense:J,SuspenseList:L,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Hr,cloneElement:K,createContext:oe,createElement:y,createFactory:Ar,createPortal:Fe,createRef:Je,default:Ir,findDOMNode:Rr,flushSync:De,forwardRef:ce,hydrate:Cr,isElement:Ur,isFragment:Nr,isMemo:Dr,isValidElement:M,lazy:wr,memo:pr,render:He,startTransition:Re,unmountComponentAtNode:Ne,unstable_batchedUpdates:Pr,useCallback:ie,useContext:Z,useDebugValue:Se,useDeferredValue:Pe,useEffect:Y,useErrorBoundary:na,useId:ze,useImperativeHandle:we,useInsertionEffect:Ue,useLayoutEffect:A,useMemo:I,useReducer:G,useRef:le,useState:U,useSyncExternalStore:_e,useTransition:Te,version:ba});const Lr=[],Mr="ax"+crypto.getRandomValues(new Uint32Array(1))[0].toString(36);function ya(e){const r=document.createElement("style");r.appendChild(document.createTextNode(e.replaceAll(/font-family:\s?(Fira Code Variable|InterVariable+);/g,(a,n)=>`font-family: ${Mr} ${n};`).replaceAll(/url\(["']?([^"')]+)["']?\)/g,(a,n)=>`url("${import.meta.resolve("./"+n)}")`))),document.head.append(r)}function wa(e){const r=new CSSStyleSheet;r.replace(e.replaceAll(/Fira Code Variable|InterVariable/g,a=>`${Mr} ${a}`)),Lr.push(r)}const u=e=>`${parseFloat((parseFloat(e.slice(0,-2))/16).toFixed(3))}rem`,Sa={xs:u("2px"),sm:u("4px"),md:u("6px"),lg:u("8px"),xl:u("12px"),full:"9999px",none:"0"},za={0:"0",1:"1px",2:"2px",4:"4px"},Ca={xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",inner:"inset 0 0 6px 0 rgb(0 0 0 / 0.1);",none:"0 0 #0000"},s={current:"currentColor",transparent:"transparent",black:"#000000",white:"#FFFFFF","aqua.50":"#E5F7FB","aqua.200":"#9AE5EF","aqua.500":"#00BDD6","aqua.600":"#007A8A","blue.50":"#E7F3FE","blue.200":"#A8D5FA","blue.500":"#2094F3","blue.600":"#1668AC","blue.900":"#1C2B41","brand.50":"#F0F3FF","brand.100":"#CDD8FC","brand.200":"#B3C3FF","brand.300":"#6A8FFC","brand.400":"#2E66F7","brand.500":"#0037FF","brand.600":"#002CCC","brand.700":"#002894","brand.800":"#001666","brand.900":"#000B33","dark.50":"#d9d9d9","dark.200":"#9e9e9e","dark.500":"#707070","dark.600":"#080736","gray.50":"#f9fafb","gray.100":"#f3f4f6","gray.200":"#e5e7eb","gray.300":"#d1d5db","gray.400":"#9ca3af","gray.500":"#6b7280","gray.600":"#4b5563","gray.700":"#374151","gray.800":"#1f2937","gray.900":"#111827","green.50":"#E9F7F1","green.100":"#D1F0E1","green.200":"#A5E1C3","green.300":"#7CD2A7","green.400":"#5AC58A","green.500":"#03A65D","green.600":"#038047","green.700":"#24663E","green.800":"#17492B","green.900":"#082415","magenta.50":"#F8E7F5","magenta.200":"#E39CD6","magenta.500":"#B80597","magenta.600":"#81046A","neutral.50":"#F9FAFC","neutral.75":"#F5F6FA","neutral.100":"#E9EDF5","neutral.150":"#DADFEB","neutral.200":"#CACFDC","neutral.300":"#b8becb","neutral.500":"#868FA4","neutral.600":"#626A81","neutral.700":"#4F576E","neutral.800":"#2E3442","neutral.900":"#262B37","neutral.1000":"#1C2029","neutral.1100":"#171A23","neutral.1200":"#091E42","neutral.50/6":"#F9FAFC0F","neutral.50/32":"#F9FAFC52","neutral.1200/4":"#091E420A","neutral.1200/12":"#091E421F","neutral.1200/18":"#091E422E","neutral.1200/22":"#091E4238","neutral.1200/32":"#091E4252","orange.50":"#fff5e5","orange.200":"#ffd699","orange.500":"#ff9900","orange.600":"#a36200","purple.50":"#F1ECF8","purple.200":"#C4B1E2","purple.500":"#693AB6","purple.600":"#4A297F","purple.900":"#2B273F","red.50":"#FFF7F7","red.100":"#FCD6D6","red.200":"#F9ACAC","red.300":"#FC8B8B","red.400":"#E31818","red.500":"#CC1616","red.600":"#B21313","red.700":"#911D1D","red.800":"#601313","red.900":"#300A0A","slate.50":"#f8fafc","slate.100":"#f1f5f9","slate.200":"#e2e8f0","slate.300":"#cbd5e1","slate.400":"#94a3b8","slate.500":"#64748b","slate.600":"#475569","slate.700":"#334155","slate.800":"#1e293b","slate.900":"#0f172a","slate.950":"#020617","yellow.50":"#FFFAEA","yellow.100":"#FEF1C6","yellow.200":"#FEDF88","yellow.300":"#FFC84B","yellow.400":"#FDB022","yellow.500":"#F79008","yellow.600":"#DC6903","yellow.700":"#B54707","yellow.800":"#7A2E0D","yellow.900":"#4E1D09"},ka={...s,"bg.brand":s["brand.50"],"bg.brand.solid":s["brand.500"],"bg.brand.solid.hover":s["brand.600"],"bg.disabled":s["neutral.1200/18"],"bg.discovery":s["purple.50"],"bg.error":s["red.50"],"bg.error.solid":s["red.500"],"bg.error.solid.hover":s["red.600"],"bg.information":s["blue.50"],"bg.information.solid":s["blue.600"],"bg.input.disabled":s["neutral.1200/4"],"bg.neutral":s["neutral.75"],"bg.neutral.inverse":s["neutral.800"],"bg.neutral.inverse.hover":s["neutral.900"],"bg.neutral.solid":s["neutral.200"],"bg.neutral.solid.hover":s["neutral.300"],"bg.success":s["green.50"],"bg.success.solid":s["green.500"],"bg.success.solid.hover":s["green.600"],"bg.warning":s["yellow.50"],"bg.warning.solid":s["yellow.500"],"bg.warning.solid.hover":s["yellow.600"],"border.active":s["neutral.500"],"border.active.hover":s["neutral.600"],"border.brand":s["brand.500"],"border.default":s["neutral.200"],"border.disabled":s["neutral.75"],"border.error":s["red.500"],"border.secondary":s["neutral.150"],"border.success":s["green.500"],"border.tertiary":s["neutral.100"],"border.warning":s["yellow.500"],"fg.accent.blue":s["blue.500"],"fg.accent.magenta":s["magenta.600"],"fg.accent.purple":s["purple.600"],"fg.accent.red":s["red.500"],"fg.brand":s["brand.700"],"fg.default":s["neutral.800"],"fg.default.inverse":s.white,"fg.disabled":s["neutral.1200/32"],"fg.error":s["red.700"],"fg.information":s["blue.600"],"fg.link":s["brand.500"],"fg.link.hover":s["brand.600"],"fg.link.visited":s["purple.500"],"fg.secondary":s["neutral.700"],"fg.success":s["green.700"],"fg.tertiary":s["neutral.600"],"fg.warning":s["yellow.700"],"outline.brand":s["brand.300"],overlay:s["neutral.1200/32"],surface:s.white},$a={...s,"bg.brand":s["brand.50"],"bg.brand.solid":s["brand.500"],"bg.brand.solid.hover":s["brand.600"],"bg.disabled":s["neutral.1000"],"bg.discovery":s["purple.900"],"bg.error":s["red.50"],"bg.error.solid":s["red.500"],"bg.error.solid.hover":s["red.600"],"bg.information":s["blue.900"],"bg.information.solid":s["blue.600"],"bg.input.disabled":s["neutral.1200/4"],"bg.neutral":s["slate.800"],"bg.neutral.inverse":s["neutral.100"],"bg.neutral.inverse.hover":s["neutral.200"],"bg.neutral.solid":s["neutral.100"],"bg.neutral.solid.hover":s["neutral.800"],"bg.success":s["green.900"],"bg.success.solid":s["green.500"],"bg.success.solid.hover":s["green.600"],"bg.warning":s["yellow.50"],"bg.warning.solid":s["yellow.500"],"bg.warning.solid.hover":s["yellow.600"],"border.active":s["neutral.500"],"border.active.hover":s["neutral.600"],"border.brand":s["brand.500"],"border.default":s["gray.800"],"border.disabled":s["neutral.75"],"border.error":s["red.500"],"border.secondary":s["neutral.150"],"border.success":s["green.500"],"border.tertiary":s["neutral.900"],"border.warning":s["yellow.500"],"fg.accent.blue":s["blue.200"],"fg.accent.magenta":s["magenta.200"],"fg.accent.purple":s["purple.200"],"fg.accent.red":s["red.200"],"fg.brand":s["brand.500"],"fg.default":s["gray.100"],"fg.default.inverse":s["neutral.900"],"fg.disabled":s["neutral.500"],"fg.error":s["red.500"],"fg.information":s["blue.600"],"fg.link":s.white,"fg.link.hover":s.white,"fg.link.visited":s["purple.200"],"fg.secondary":s["slate.400"],"fg.success":s["green.200"],"fg.tertiary":s["neutral.600"],"fg.warning":s["yellow.500"],"outline.brand":s["brand.300"],overlay:s["neutral.50/32"],surface:s["gray.900"]},Ea={mono:"Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",sans:"InterVariable, system-ui, sans-serif"},Fa={xs:{fontSize:u("10px"),lineHeight:u("14px")},sm:{fontSize:u("12px"),lineHeight:u("16px")},md:{fontSize:u("14px"),lineHeight:u("20px")},lg:{fontSize:u("16px"),lineHeight:u("24px")},xl:{fontSize:u("18px"),lineHeight:u("28px")},"2xl":{fontSize:u("20px"),lineHeight:u("28px")},"3xl":{fontSize:u("24px"),lineHeight:u("32px")},"4xl":{fontSize:u("30px"),lineHeight:u("36px")},"5xl":{fontSize:u("36px"),lineHeight:u("40px")},"6xl":{fontSize:u("48px"),lineHeight:"1"},"7xl":{fontSize:u("60px"),lineHeight:"1"}},Ha={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Aa={none:"1",tight:"1.25",normal:"1.5",loose:"2"},Or={xs:u("8px"),sm:u("12px"),md:u("16px"),lg:u("24px"),xl:u("32px"),0:"0",2:u("2px"),4:u("4px"),6:u("6px"),8:u("8px"),10:u("10px"),12:u("12px"),16:u("16px"),20:u("20px"),24:u("24px"),32:u("32px"),48:u("48px"),64:u("64px"),80:u("80px")},Na={...Or,"-xs":u("-8px"),"-sm":u("-12px"),"-md":u("-16px"),"-lg":u("-24px"),"-xl":u("-32px"),"-2":u("-2px"),"-4":u("-4px"),"-6":u("-6px"),"-8":u("-8px"),"-10":u("-10px"),"-12":u("-12px"),"-16":u("-16px"),"-24":u("-24px"),"-32":u("-32px"),"-48":u("-48px"),"-64":u("-64px"),"-80":u("-80px")},Da={xs:u("320px"),sm:u("384px"),md:u("448px"),lg:u("512px"),xl:u("576px"),"2xl":u("672px"),full:"100%"},Ra={sm:u("600px"),md:u("900px"),lg:u("1200px")},Pa={xs:u("20px"),sm:u("24px"),md:u("32px"),lg:u("40px"),xl:u("48px"),"5xl":u("80px"),0:"0",1:u("1px"),2:u("2px"),4:u("4px"),6:u("6px"),8:u("8px"),12:u("12px"),16:u("16px"),20:u("20px"),24:u("24px"),32:u("32px"),40:u("40px"),48:u("48px"),56:u("56px"),64:u("64px"),80:u("80px"),96:u("96px"),112:u("112px"),128:u("128px"),144:u("144px"),160:u("160px"),176:u("176px"),192:u("192px"),208:u("208px"),224:u("224px"),240:u("240px"),256:u("256px"),288:u("288px"),320:u("320px"),384:u("384px"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666666%","1/4":"25%","2/4":"50%","3/4":"75%",auto:"auto",fit:"fit-content",full:"100%",max:"max-content",min:"min-content"},Ta={0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",auto:"auto",popover:"3000",toast:"3010"},Le={borderRadius:Sa,borderWidth:za,boxShadow:Ca,colors:ka,fontFamily:Ea,fontSize:Fa,letterSpacing:Ha,lineHeight:Aa,margins:Na,maxSize:Da,screens:Ra,size:Pa,spacing:Or,zIndex:Ta},Ua={...Le,colors:$a};function Wr(e){var r=e.match(/^var\((.*)\)$/);return r?r[1]:e}function Ia(e,r){var a=e;for(var n of r){if(!(n in a))throw new Error("Path ".concat(r.join(" -> ")," does not exist in object"));a=a[n]}return a}function Br(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n={};for(var o in e){var t=e[o],l=[...a,o];typeof t=="string"||typeof t=="number"||t==null?n[o]=r(t,l):typeof t=="object"&&!Array.isArray(t)?n[o]=Br(t,r,l):console.warn('Skipping invalid key "'.concat(l.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(t)?"Array":typeof t,'"'))}return n}function qr(e,r){var a={};if(typeof r=="object"){var n=e;Br(r,(c,d)=>{if(c!=null){var _=Ia(n,d);a[Wr(_)]=String(c)}})}else{var o=e;for(var t in o){var l=o[t];l!=null&&(a[Wr(t)]=l)}}return Object.defineProperty(a,"toString",{value:function(){return Object.keys(this).map(c=>"".concat(c,":").concat(this[c])).join(";")},writable:!1}),a}var Me={borderRadius:{xs:"var(--ax-borderRadius-xs)",sm:"var(--ax-borderRadius-sm)",md:"var(--ax-borderRadius-md)",lg:"var(--ax-borderRadius-lg)",xl:"var(--ax-borderRadius-xl)",full:"var(--ax-borderRadius-full)",none:"var(--ax-borderRadius-none)"},borderWidth:{0:"var(--ax-borderWidth-0)",1:"var(--ax-borderWidth-1)",2:"var(--ax-borderWidth-2)",4:"var(--ax-borderWidth-4)"},boxShadow:{xs:"var(--ax-boxShadow-xs)",sm:"var(--ax-boxShadow-sm)",md:"var(--ax-boxShadow-md)",lg:"var(--ax-boxShadow-lg)",xl:"var(--ax-boxShadow-xl)",inner:"var(--ax-boxShadow-inner)",none:"var(--ax-boxShadow-none)"},colors:{current:"var(--ax-colors-current)",transparent:"var(--ax-colors-transparent)",black:"var(--ax-colors-black)",white:"var(--ax-colors-white)","aqua.50":"var(--ax-colors-aqua-50)","aqua.200":"var(--ax-colors-aqua-200)","aqua.500":"var(--ax-colors-aqua-500)","aqua.600":"var(--ax-colors-aqua-600)","blue.50":"var(--ax-colors-blue-50)","blue.200":"var(--ax-colors-blue-200)","blue.500":"var(--ax-colors-blue-500)","blue.600":"var(--ax-colors-blue-600)","blue.900":"var(--ax-colors-blue-900)","brand.50":"var(--ax-colors-brand-50)","brand.100":"var(--ax-colors-brand-100)","brand.200":"var(--ax-colors-brand-200)","brand.300":"var(--ax-colors-brand-300)","brand.400":"var(--ax-colors-brand-400)","brand.500":"var(--ax-colors-brand-500)","brand.600":"var(--ax-colors-brand-600)","brand.700":"var(--ax-colors-brand-700)","brand.800":"var(--ax-colors-brand-800)","brand.900":"var(--ax-colors-brand-900)","dark.50":"var(--ax-colors-dark-50)","dark.200":"var(--ax-colors-dark-200)","dark.500":"var(--ax-colors-dark-500)","dark.600":"var(--ax-colors-dark-600)","gray.50":"var(--ax-colors-gray-50)","gray.100":"var(--ax-colors-gray-100)","gray.200":"var(--ax-colors-gray-200)","gray.300":"var(--ax-colors-gray-300)","gray.400":"var(--ax-colors-gray-400)","gray.500":"var(--ax-colors-gray-500)","gray.600":"var(--ax-colors-gray-600)","gray.700":"var(--ax-colors-gray-700)","gray.800":"var(--ax-colors-gray-800)","gray.900":"var(--ax-colors-gray-900)","green.50":"var(--ax-colors-green-50)","green.100":"var(--ax-colors-green-100)","green.200":"var(--ax-colors-green-200)","green.300":"var(--ax-colors-green-300)","green.400":"var(--ax-colors-green-400)","green.500":"var(--ax-colors-green-500)","green.600":"var(--ax-colors-green-600)","green.700":"var(--ax-colors-green-700)","green.800":"var(--ax-colors-green-800)","green.900":"var(--ax-colors-green-900)","magenta.50":"var(--ax-colors-magenta-50)","magenta.200":"var(--ax-colors-magenta-200)","magenta.500":"var(--ax-colors-magenta-500)","magenta.600":"var(--ax-colors-magenta-600)","neutral.50":"var(--ax-colors-neutral-50)","neutral.75":"var(--ax-colors-neutral-75)","neutral.100":"var(--ax-colors-neutral-100)","neutral.150":"var(--ax-colors-neutral-150)","neutral.200":"var(--ax-colors-neutral-200)","neutral.300":"var(--ax-colors-neutral-300)","neutral.500":"var(--ax-colors-neutral-500)","neutral.600":"var(--ax-colors-neutral-600)","neutral.700":"var(--ax-colors-neutral-700)","neutral.800":"var(--ax-colors-neutral-800)","neutral.900":"var(--ax-colors-neutral-900)","neutral.1000":"var(--ax-colors-neutral-1000)","neutral.1100":"var(--ax-colors-neutral-1100)","neutral.1200":"var(--ax-colors-neutral-1200)","neutral.50/6":"var(--ax-colors-neutral-50-6)","neutral.50/32":"var(--ax-colors-neutral-50-32)","neutral.1200/4":"var(--ax-colors-neutral-1200-4)","neutral.1200/12":"var(--ax-colors-neutral-1200-12)","neutral.1200/18":"var(--ax-colors-neutral-1200-18)","neutral.1200/22":"var(--ax-colors-neutral-1200-22)","neutral.1200/32":"var(--ax-colors-neutral-1200-32)","orange.50":"var(--ax-colors-orange-50)","orange.200":"var(--ax-colors-orange-200)","orange.500":"var(--ax-colors-orange-500)","orange.600":"var(--ax-colors-orange-600)","purple.50":"var(--ax-colors-purple-50)","purple.200":"var(--ax-colors-purple-200)","purple.500":"var(--ax-colors-purple-500)","purple.600":"var(--ax-colors-purple-600)","purple.900":"var(--ax-colors-purple-900)","red.50":"var(--ax-colors-red-50)","red.100":"var(--ax-colors-red-100)","red.200":"var(--ax-colors-red-200)","red.300":"var(--ax-colors-red-300)","red.400":"var(--ax-colors-red-400)","red.500":"var(--ax-colors-red-500)","red.600":"var(--ax-colors-red-600)","red.700":"var(--ax-colors-red-700)","red.800":"var(--ax-colors-red-800)","red.900":"var(--ax-colors-red-900)","slate.50":"var(--ax-colors-slate-50)","slate.100":"var(--ax-colors-slate-100)","slate.200":"var(--ax-colors-slate-200)","slate.300":"var(--ax-colors-slate-300)","slate.400":"var(--ax-colors-slate-400)","slate.500":"var(--ax-colors-slate-500)","slate.600":"var(--ax-colors-slate-600)","slate.700":"var(--ax-colors-slate-700)","slate.800":"var(--ax-colors-slate-800)","slate.900":"var(--ax-colors-slate-900)","slate.950":"var(--ax-colors-slate-950)","yellow.50":"var(--ax-colors-yellow-50)","yellow.100":"var(--ax-colors-yellow-100)","yellow.200":"var(--ax-colors-yellow-200)","yellow.300":"var(--ax-colors-yellow-300)","yellow.400":"var(--ax-colors-yellow-400)","yellow.500":"var(--ax-colors-yellow-500)","yellow.600":"var(--ax-colors-yellow-600)","yellow.700":"var(--ax-colors-yellow-700)","yellow.800":"var(--ax-colors-yellow-800)","yellow.900":"var(--ax-colors-yellow-900)","bg.brand":"var(--ax-colors-bg-brand)","bg.brand.solid":"var(--ax-colors-bg-brand-solid)","bg.brand.solid.hover":"var(--ax-colors-bg-brand-solid-hover)","bg.disabled":"var(--ax-colors-bg-disabled)","bg.discovery":"var(--ax-colors-bg-discovery)","bg.error":"var(--ax-colors-bg-error)","bg.error.solid":"var(--ax-colors-bg-error-solid)","bg.error.solid.hover":"var(--ax-colors-bg-error-solid-hover)","bg.information":"var(--ax-colors-bg-information)","bg.information.solid":"var(--ax-colors-bg-information-solid)","bg.input.disabled":"var(--ax-colors-bg-input-disabled)","bg.neutral":"var(--ax-colors-bg-neutral)","bg.neutral.inverse":"var(--ax-colors-bg-neutral-inverse)","bg.neutral.inverse.hover":"var(--ax-colors-bg-neutral-inverse-hover)","bg.neutral.solid":"var(--ax-colors-bg-neutral-solid)","bg.neutral.solid.hover":"var(--ax-colors-bg-neutral-solid-hover)","bg.success":"var(--ax-colors-bg-success)","bg.success.solid":"var(--ax-colors-bg-success-solid)","bg.success.solid.hover":"var(--ax-colors-bg-success-solid-hover)","bg.warning":"var(--ax-colors-bg-warning)","bg.warning.solid":"var(--ax-colors-bg-warning-solid)","bg.warning.solid.hover":"var(--ax-colors-bg-warning-solid-hover)","border.active":"var(--ax-colors-border-active)","border.active.hover":"var(--ax-colors-border-active-hover)","border.brand":"var(--ax-colors-border-brand)","border.default":"var(--ax-colors-border-default)","border.disabled":"var(--ax-colors-border-disabled)","border.error":"var(--ax-colors-border-error)","border.secondary":"var(--ax-colors-border-secondary)","border.success":"var(--ax-colors-border-success)","border.tertiary":"var(--ax-colors-border-tertiary)","border.warning":"var(--ax-colors-border-warning)","fg.accent.blue":"var(--ax-colors-fg-accent-blue)","fg.accent.magenta":"var(--ax-colors-fg-accent-magenta)","fg.accent.purple":"var(--ax-colors-fg-accent-purple)","fg.accent.red":"var(--ax-colors-fg-accent-red)","fg.brand":"var(--ax-colors-fg-brand)","fg.default":"var(--ax-colors-fg-default)","fg.default.inverse":"var(--ax-colors-fg-default-inverse)","fg.disabled":"var(--ax-colors-fg-disabled)","fg.error":"var(--ax-colors-fg-error)","fg.information":"var(--ax-colors-fg-information)","fg.link":"var(--ax-colors-fg-link)","fg.link.hover":"var(--ax-colors-fg-link-hover)","fg.link.visited":"var(--ax-colors-fg-link-visited)","fg.secondary":"var(--ax-colors-fg-secondary)","fg.success":"var(--ax-colors-fg-success)","fg.tertiary":"var(--ax-colors-fg-tertiary)","fg.warning":"var(--ax-colors-fg-warning)","outline.brand":"var(--ax-colors-outline-brand)",overlay:"var(--ax-colors-overlay)",surface:"var(--ax-colors-surface)"},fontFamily:{mono:"var(--ax-fontFamily-mono)",sans:"var(--ax-fontFamily-sans)"},fontSize:{xs:{fontSize:"var(--ax-fontSize-xs-fontSize)",lineHeight:"var(--ax-fontSize-xs-lineHeight)"},sm:{fontSize:"var(--ax-fontSize-sm-fontSize)",lineHeight:"var(--ax-fontSize-sm-lineHeight)"},md:{fontSize:"var(--ax-fontSize-md-fontSize)",lineHeight:"var(--ax-fontSize-md-lineHeight)"},lg:{fontSize:"var(--ax-fontSize-lg-fontSize)",lineHeight:"var(--ax-fontSize-lg-lineHeight)"},xl:{fontSize:"var(--ax-fontSize-xl-fontSize)",lineHeight:"var(--ax-fontSize-xl-lineHeight)"},"2xl":{fontSize:"var(--ax-fontSize-2xl-fontSize)",lineHeight:"var(--ax-fontSize-2xl-lineHeight)"},"3xl":{fontSize:"var(--ax-fontSize-3xl-fontSize)",lineHeight:"var(--ax-fontSize-3xl-lineHeight)"},"4xl":{fontSize:"var(--ax-fontSize-4xl-fontSize)",lineHeight:"var(--ax-fontSize-4xl-lineHeight)"},"5xl":{fontSize:"var(--ax-fontSize-5xl-fontSize)",lineHeight:"var(--ax-fontSize-5xl-lineHeight)"},"6xl":{fontSize:"var(--ax-fontSize-6xl-fontSize)",lineHeight:"var(--ax-fontSize-6xl-lineHeight)"},"7xl":{fontSize:"var(--ax-fontSize-7xl-fontSize)",lineHeight:"var(--ax-fontSize-7xl-lineHeight)"}},letterSpacing:{tighter:"var(--ax-letterSpacing-tighter)",tight:"var(--ax-letterSpacing-tight)",normal:"var(--ax-letterSpacing-normal)",wide:"var(--ax-letterSpacing-wide)",wider:"var(--ax-letterSpacing-wider)",widest:"var(--ax-letterSpacing-widest)"},lineHeight:{none:"var(--ax-lineHeight-none)",tight:"var(--ax-lineHeight-tight)",normal:"var(--ax-lineHeight-normal)",loose:"var(--ax-lineHeight-loose)"},margins:{0:"var(--ax-margins-0)",2:"var(--ax-margins-2)",4:"var(--ax-margins-4)",6:"var(--ax-margins-6)",8:"var(--ax-margins-8)",10:"var(--ax-margins-10)",12:"var(--ax-margins-12)",16:"var(--ax-margins-16)",20:"var(--ax-margins-20)",24:"var(--ax-margins-24)",32:"var(--ax-margins-32)",48:"var(--ax-margins-48)",64:"var(--ax-margins-64)",80:"var(--ax-margins-80)",xs:"var(--ax-margins-xs)",sm:"var(--ax-margins-sm)",md:"var(--ax-margins-md)",lg:"var(--ax-margins-lg)",xl:"var(--ax-margins-xl)","-xs":"var(--ax-margins--xs)","-sm":"var(--ax-margins--sm)","-md":"var(--ax-margins--md)","-lg":"var(--ax-margins--lg)","-xl":"var(--ax-margins--xl)","-2":"var(--ax-margins--2)","-4":"var(--ax-margins--4)","-6":"var(--ax-margins--6)","-8":"var(--ax-margins--8)","-10":"var(--ax-margins--10)","-12":"var(--ax-margins--12)","-16":"var(--ax-margins--16)","-24":"var(--ax-margins--24)","-32":"var(--ax-margins--32)","-48":"var(--ax-margins--48)","-64":"var(--ax-margins--64)","-80":"var(--ax-margins--80)"},maxSize:{xs:"var(--ax-maxSize-xs)",sm:"var(--ax-maxSize-sm)",md:"var(--ax-maxSize-md)",lg:"var(--ax-maxSize-lg)",xl:"var(--ax-maxSize-xl)","2xl":"var(--ax-maxSize-2xl)",full:"var(--ax-maxSize-full)"},screens:{sm:"var(--ax-screens-sm)",md:"var(--ax-screens-md)",lg:"var(--ax-screens-lg)"},size:{0:"var(--ax-size-0)",1:"var(--ax-size-1)",2:"var(--ax-size-2)",4:"var(--ax-size-4)",6:"var(--ax-size-6)",8:"var(--ax-size-8)",12:"var(--ax-size-12)",16:"var(--ax-size-16)",20:"var(--ax-size-20)",24:"var(--ax-size-24)",32:"var(--ax-size-32)",40:"var(--ax-size-40)",48:"var(--ax-size-48)",56:"var(--ax-size-56)",64:"var(--ax-size-64)",80:"var(--ax-size-80)",96:"var(--ax-size-96)",112:"var(--ax-size-112)",128:"var(--ax-size-128)",144:"var(--ax-size-144)",160:"var(--ax-size-160)",176:"var(--ax-size-176)",192:"var(--ax-size-192)",208:"var(--ax-size-208)",224:"var(--ax-size-224)",240:"var(--ax-size-240)",256:"var(--ax-size-256)",288:"var(--ax-size-288)",320:"var(--ax-size-320)",384:"var(--ax-size-384)",xs:"var(--ax-size-xs)",sm:"var(--ax-size-sm)",md:"var(--ax-size-md)",lg:"var(--ax-size-lg)",xl:"var(--ax-size-xl)","5xl":"var(--ax-size-5xl)","1/2":"var(--ax-size-1-2)","1/3":"var(--ax-size-1-3)","2/3":"var(--ax-size-2-3)","1/4":"var(--ax-size-1-4)","2/4":"var(--ax-size-2-4)","3/4":"var(--ax-size-3-4)",auto:"var(--ax-size-auto)",fit:"var(--ax-size-fit)",full:"var(--ax-size-full)",max:"var(--ax-size-max)",min:"var(--ax-size-min)"},spacing:{0:"var(--ax-spacing-0)",2:"var(--ax-spacing-2)",4:"var(--ax-spacing-4)",6:"var(--ax-spacing-6)",8:"var(--ax-spacing-8)",10:"var(--ax-spacing-10)",12:"var(--ax-spacing-12)",16:"var(--ax-spacing-16)",20:"var(--ax-spacing-20)",24:"var(--ax-spacing-24)",32:"var(--ax-spacing-32)",48:"var(--ax-spacing-48)",64:"var(--ax-spacing-64)",80:"var(--ax-spacing-80)",xs:"var(--ax-spacing-xs)",sm:"var(--ax-spacing-sm)",md:"var(--ax-spacing-md)",lg:"var(--ax-spacing-lg)",xl:"var(--ax-spacing-xl)"},zIndex:{0:"var(--ax-zIndex-0)",10:"var(--ax-zIndex-10)",20:"var(--ax-zIndex-20)",30:"var(--ax-zIndex-30)",40:"var(--ax-zIndex-40)",50:"var(--ax-zIndex-50)",auto:"var(--ax-zIndex-auto)",popover:"var(--ax-zIndex-popover)",toast:"var(--ax-zIndex-toast)"}};function Oe({children:e,selector:r=":root"}){return te(z,{children:[te("style",{children:`
2
+ ${r} {
3
+ ${qr(Me,Le)}
4
+ }
5
+ `}),te("style",{children:`
6
+ ${r===":host"?":host-context(:root.dark)":`${r}.dark`} {
7
+ ${qr(Me,Ua)}
8
+ }
9
+ `}),e]})}Oe.displayName="@optiaxiom/react/ThemeProvider";function La(e){return{render:function(r){He(r,e)},unmount:function(){Ne(e)}}}const Vr="__ax_context",jr="__ax_render",Gr=oe(null);function Ma(e,r,a={}){const n=o=>{let t=null;const l=La(o.attachShadow({mode:"open"}));o.shadowRoot&&(o.shadowRoot.adoptedStyleSheets=Lr);const c=new MutationObserver(f=>{f.forEach(({attributeName:i})=>{i&&_(i,o.getAttribute(i))})}),d=(a.customEvents??[]).reduce((f,i)=>(f[i]=x=>{o.dispatchEvent(new CustomEvent("ax-"+Va(i),{bubbles:!0,cancelable:!0,detail:x}))},f),{}),_=(f,i)=>{t&&(t=K(t,{[Yr(f)]:i===null?void 0:i}),l.render(t))};return{connectedCallback:()=>{let f=o.parentElement;for(;f;){if(f.nodeName.toLowerCase()in Zr){const v=new CustomEvent(jr,{cancelable:!0,detail:{rendered:!1}});if(f.dispatchEvent(v),!v.detail.rendered){f.queue=f.queue??[],f.queue.push(o);return}}f=f.parentElement}const i=new CustomEvent(Vr,{bubbles:!0,cancelable:!0,detail:{context:void 0}});o.dispatchEvent(i);const x=i.detail.context;t=K(We(o,Ba(o,r,x)),d),l.render(t),c.observe(o,{attributes:!0})},disconnectedCallback:()=>{c.disconnect(),t=null,l.unmount()}}};return customElements.get(e)||customElements.define(e,class extends HTMLElement{#e;constructor(){super(),this.#e=n(this)}connectedCallback(){this.#e.connectedCallback()}disconnectedCallback(){this.#e.disconnectedCallback()}}),n}const Oa=p.vnode;p.vnode=e=>{if(Oa?.(e),typeof e.type!="string"&&e.type&&"displayName"in e.type&&e.type.displayName==="Portal"&&"container"in e.props&&e.props.container===void 0){const{shadowRoot:r}=Z(Gr)??{};e.props.container=r}};const Wa=e=>{let r;e.addEventListener(Vr,n=>{n.stopPropagation(),n.detail.context=r});let a=!1;return e.addEventListener(jr,n=>{n.detail.rendered=a}),(n,o)=>(r=o,a=!0,A(()=>{if(e.queue){let t;for(;t=e.queue.shift();)"connectedCallback"in t&&typeof t.connectedCallback=="function"&&t.connectedCallback()}},[]),null)},Ba=(e,r,a)=>function(n){this.getChildContext=()=>a;const o=Object.assign({},n);return delete o.context,y(Gr.Provider,{value:e},y(Oe,{selector:":host"},y(r,o)))},qa=e=>{const r=Wa(e);return ce((a,n)=>(A(()=>(typeof n=="function"?n(e):n&&"current"in n&&(n.current=e),()=>{typeof n=="function"?n(null):n&&"current"in n&&(n.current=void 0)}),[n]),y("slot",{...a,ref:n},y(r))))};function We(e,r,a=!1){if(!(e instanceof Element))return null;const n=!!r,o={};for(const{name:l,value:c}of e.attributes)a&&l==="slot"||l.startsWith("on")||(o[Yr(l)]=c);const t=[];for(const l of e.childNodes)n&&l instanceof Element&&l.slot?o[l.slot]=y("slot",{name:l.slot},We(l,void 0,!0)):t.push(l instanceof Text?l.data:We(l));return y(r||e.nodeName.toLowerCase(),o,n?y(qa(e)):t)}const Yr=e=>e.replace(/-(\w)/g,(r,a)=>a.toUpperCase()),Va=e=>e.slice(2).toLowerCase();export{le as A,_e as C,oe as G,Ee as N,Ir as R,I as T,y as _,Oe as a,z as b,ya as c,K as d,ma as e,M as f,A as g,U as h,wa as i,Fe as j,ce as k,Me as l,De as m,Le as o,G as p,ie as q,Ma as r,te as u,Z as x,Y as y};
@@ -1 +1 @@
1
- import{k as g,u as n}from"./register-DdihPvJa.js";const s=({fill:o,height:i=16,name:r,viewBox:h,width:t=20},l)=>{const e=g((w,m)=>n("svg",{fill:o,height:i,ref:m,role:"img",viewBox:h??`0 0 ${t} ${i}`,width:t,xmlns:"http://www.w3.org/2000/svg",...w,children:l}));return e.displayName=`@optiaxiom/react/${r}`,e};export{s as c};
1
+ import{k as g,u as n}from"./register-n8cQ4cVU.js";const s=({fill:o,height:i=16,name:r,viewBox:h,width:t=20},l)=>{const e=g((w,m)=>n("svg",{fill:o,height:i,ref:m,role:"img",viewBox:h??`0 0 ${t} ${i}`,width:t,xmlns:"http://www.w3.org/2000/svg",...w,children:l}));return e.displayName=`@optiaxiom/react/${r}`,e};export{s as c};
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/optimizely-axiom/optiaxiom.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "0.1.0-next.6",
9
+ "version": "0.1.0-next.7",
10
10
  "files": [
11
11
  "dist/**",
12
12
  "LICENSE"
@@ -70,6 +70,7 @@
70
70
  "./Link": "./dist/components/Link.js",
71
71
  "./Pagination": "./dist/components/Pagination.js",
72
72
  "./Popover": "./dist/components/Popover.js",
73
+ "./PopoverAnchor": "./dist/components/PopoverAnchor.js",
73
74
  "./PopoverContent": "./dist/components/PopoverContent.js",
74
75
  "./PopoverTrigger": "./dist/components/PopoverTrigger.js",
75
76
  "./Progress": "./dist/components/Progress.js",
@@ -86,6 +87,7 @@
86
87
  "./TabsTrigger": "./dist/components/TabsTrigger.js",
87
88
  "./Text": "./dist/components/Text.js",
88
89
  "./Textarea": "./dist/components/Textarea.js",
90
+ "./ThemeProvider": "./dist/components/ThemeProvider.js",
89
91
  "./Toast": "./dist/components/Toast.js",
90
92
  "./ToastAction": "./dist/components/ToastAction.js",
91
93
  "./ToastProvider": "./dist/components/ToastProvider.js",
@@ -96,7 +98,6 @@
96
98
  },
97
99
  "devDependencies": {
98
100
  "@rollup/plugin-commonjs": "^26.0.1",
99
- "@rollup/plugin-json": "^6.1.0",
100
101
  "@rollup/plugin-node-resolve": "^15.2.3",
101
102
  "@types/node": "^20.16.5",
102
103
  "@vitest/browser": "^2.0.5",
@@ -108,7 +109,7 @@
108
109
  "preact": "^10.23.2",
109
110
  "react-docgen-typescript": "^2.2.2",
110
111
  "webdriverio": "^8.40.5",
111
- "@optiaxiom/react": "^0.1.0-next.15",
112
+ "@optiaxiom/react": "^0.1.0-next.17",
112
113
  "@optiaxiom/shared": "^0.0.0"
113
114
  },
114
115
  "scripts": {
@@ -1 +0,0 @@
1
- import{c as o}from"./index-BaU0ZfEj.js";const[t,r]=o("Accordion");export{r,t};
@@ -1 +0,0 @@
1
- import{c as o}from"./index-BaU0ZfEj.js";const[t,e]=o("AlertDialog");export{t as e,e as o};
@@ -1 +0,0 @@
1
- import{G as o}from"./register-DdihPvJa.js";const i=o({size:void 0});export{i as o};
@@ -1 +0,0 @@
1
- import{i as s,k as c,u as e}from"./register-DdihPvJa.js";import{r as n}from"./Text-CqYojU6a.js";import{y as w}from"./recipeRuntime-ZMTVowk_.js";import"./Box-qixlfMoF.js";s("@layer optiaxiom._1kfj4ga1;@layer optiaxiom._1kfj4ga1{.diw4ub4{--diw4ub3:var(--ax-colors-fg-default-inverse);padding:4px 8px}.diw4ub5{--diw4ub2:var(--ax-colors-bg-error-solid);--diw4ub0:var(--ax-colors-bg-error);--diw4ub1:var(--ax-colors-fg-error)}.diw4ub6{--diw4ub2:var(--ax-colors-bg-information-solid);--diw4ub0:var(--ax-colors-bg-information);--diw4ub1:var(--ax-colors-fg-information)}.diw4ub7{--diw4ub2:var(--ax-colors-bg-neutral-solid);--diw4ub3:var(--ax-colors-fg-default);--diw4ub0:var(--ax-colors-bg-neutral);--diw4ub1:var(--ax-colors-fg-secondary)}.diw4ub8{--diw4ub2:var(--ax-colors-bg-brand-solid);--diw4ub0:var(--ax-colors-bg-brand);--diw4ub1:var(--ax-colors-fg-brand)}.diw4ub9{--diw4ub2:var(--ax-colors-bg-success-solid);--diw4ub0:var(--ax-colors-bg-success);--diw4ub1:var(--ax-colors-fg-success)}.diw4uba{--diw4ub2:var(--ax-colors-bg-warning-solid);--diw4ub3:var(--ax-colors-fg-default);--diw4ub0:var(--ax-colors-bg-warning);--diw4ub1:var(--ax-colors-fg-warning)}.diw4ubb{background-color:var(--diw4ub0);color:var(--diw4ub1)}.diw4ubc{background-color:var(--diw4ub2);color:var(--diw4ub3)}}");var t=w({base:[{display:"inline-flex",fontSize:"sm",fontWeight:"500",justifyContent:"center",leading:"none",rounded:"full"},"diw4ub4"],variants:{colorScheme:{danger:"diw4ub5",information:"diw4ub6",neutral:"diw4ub7",primary:"diw4ub8",success:"diw4ub9",warning:"diw4uba"},variant:{light:"diw4ubb",solid:"diw4ubc"}}});const r=c(({asChild:a,children:o,className:i,colorScheme:d="neutral",variant:b="light",...l},u)=>e(n,{as:"span",asChild:a,ref:u,role:"presentation",...t({colorScheme:d,variant:b},i),...l,children:o}));r.displayName="@optiaxiom/react/Badge";export{r};